Files
rr3-apk/decompiled/resources/assets/ad-viewer/adViewer.04f22f25.js
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

3 lines
1.0 MiB
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see adViewer.04f22f25.js.LICENSE.txt */
!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="57c39cc7-7ab2-4d1f-a060-f52e8eb03d39",t._sentryDebugIdIdentifier="sentry-dbid-57c39cc7-7ab2-4d1f-a060-f52e8eb03d39")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"64827e5b44a406d4dac6937ad7884ea5c22015a7"},function(){var t,e,r,n,o,i,a,c,u,l={27837:function(t,e,r){"use strict";r.d(e,{h:function(){return S},J:function(){return H}}),r(20462),r(74837),r(78291),r(86102),r(49922),r(3960),r(99029),r(95929),r(62141),r(1645),r(77225),r(17326),r(92075),r(6035),r(81688),r(89734),r(79730),r(40289),r(41414),r(38379),r(5229),r(67238),r(37406),r(67890);var n,o,i=r(52921),a=r(16687),c=r(92928);r(62474),function(t){t.Error="ERROR",t.Ok="OK"}(n||(n={})),function(t){t[t.Ads=0]="Ads",t[t.Analytics=1]="Analytics",t[t.Ar=2]="Ar",t[t.Banner=3]="Banner",t[t.China=4]="China",t[t.Core=5]="Core",t[t.ServicesAds=6]="ServicesAds",t[t.Store=7]="Store"}(o||(o={}));var u,l={callbackId:0,deferrers:new Map},s=(r(11397),r(53133),r(20144),r(70248)),f=r(81630),p={handleCallback:function(t,e,r){var n;null===(n=window.handleCallback)||void 0===n||n.postMessage(JSON.stringify({id:t,parameters:r,status:e}))},handleInvocation:function(t){var e;null===(e=window.handleInvocation)||void 0===e||e.postMessage(t)}},d={handleCallback:function(t,e,r){var n;null===(n=window.webviewbridge)||void 0===n||n.handleCallback(t,e,r)},handleInvocation:function(t){var e;null===(e=window.webviewbridge)||void 0===e||e.handleInvocation(t)}},h=window.handleCallback&&window.handleInvocation?p:window.webviewbridge?d:void 0,y={handleCallback:function(t,e,r){var n;null===(n=window.webkit)||void 0===n||n.messageHandlers.handleCallback.postMessage({id:t,parameters:r,status:e})},handleInvocation:function(t){var e;null===(e=window.webkit)||void 0===e||e.messageHandlers.handleInvocation.postMessage(t)}},v=window.webkit?y:void 0,m={handleCallback:function(t,e,r){window.parent.postMessage(JSON.stringify({id:t,parameters:r,status:e}),"*")},handleInvocation:function(t){window.parent.postMessage(t,"*")}};function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function b(){b=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(L([])));m&&m!==e&&r.call(m,i)&&(y=m);var w=h.prototype=p.prototype=Object.create(y);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==g(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,n(w,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),u(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function w(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function O(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===g(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var S,E=(O(u={},s.t.Android,h),O(u,s.t.Ios,v),u),x=function(){var t,e=(t=b().mark((function t(){var e,n,o;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(window.parent===window||window.Cypress){t.next=2;break}return t.abrupt("return",m);case 2:if(!(e=E[(0,f.X)()])){t.next=5;break}return t.abrupt("return",e);case 5:throw new Error("No webview bridge found");case 7:return t.next=9,r.e(155).then(r.bind(r,33155));case 9:return n=t.sent,o=n.localStorageBridge,t.abrupt("return",o);case 12:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){w(i,n,o,a,c,"next",t)}function c(t){w(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},j(t)}function P(){P=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(L([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==j(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function k(t,e){return T(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||_(t,e)||L()}function L(){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 _(t,e){if(t){if("string"==typeof t)return A(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?A(t,e):void 0}}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function T(t){if(Array.isArray(t))return t}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}!function(t){t.WebviewInvocation="webview-invocation"}(S||(S={}));var I=["COULDNT_GET_VALUE","Could not found value for key"],D=function(){var t,e=(t=P().mark((function t(e){var r,o,a,c,u;return P().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=k(e,4),o=r[0],a=r[1],c=r[2],u=r[3],"webview"!==o){t.next=5;break}i.Y.emit(S.WebviewInvocation,[a,u]),t.next=6;break;case 5:throw new Error("Unknown class ".concat(o));case 6:return t.prev=6,t.next=9,x();case 9:t.sent.handleCallback(c.toString(),n.Ok,"[]"),t.next=15;break;case 13:t.prev=13,t.t0=t.catch(6);case 15:case"end":return t.stop()}}),t,null,[[6,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),N={handleCallback:function(t){t.forEach((function(t){var e,r,o,i,a=k(t,3),u=a[0],s=a[1],f=a[2],p=l.deferrers,d=1===f.length?f[0]:f;s===n.Ok?null===(e=p.get(u))||void 0===e||e.resolve(d):(i=null!==(r=null==f?void 0:f[0])&&void 0!==r?r:"",I.some((function(t){return"".concat(i).includes(t)}))||c.Tb(new Error("NativeBridge callback error: ".concat(d))),null===(o=p.get(u))||void 0===o||o.reject(d)),p.delete(u)}))},handleEvent:function(t){var e,r=T(e=t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||_(e)||L(),n=r[0],o=r[1],c=r.slice(2);i.Y.emit((0,a.G)([n,o]),c)},handleInvocation:D};function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function Z(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,G(n.key),n)}}function F(t,e,r){return(e=G(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function G(t){var e=function(t,e){if("object"!==R(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==R(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===R(e)?e:String(e)}var M=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),F(this,"deferredPromise",void 0),F(this,"resolveExecutor",void 0),F(this,"rejectExecutor",void 0),this.deferredPromise=new Promise((function(t,r){e.resolveExecutor=t,e.rejectExecutor=r}))}var e,r;return e=t,(r=[{key:"resolve",value:function(t){this.resolveExecutor(t)}},{key:"reject",value:function(t){this.rejectExecutor(t)}},{key:"promise",get:function(){return this.deferredPromise}}])&&Z(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function U(t){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U(t)}function V(){V=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==U(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var B=function(){var t,e=(t=V().mark((function t(e,r){var n,o,i,a,c,u=arguments;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>2&&void 0!==u[2]?u[2]:[],o=l.callbackId,i=l.deferrers,a=new M,i.set(o.toString(),a),c=[e,r,n,o.toString()],l.callbackId+=1,t.next=8,x();case 8:return t.sent.handleInvocation(JSON.stringify([c])),t.abrupt("return",a.promise);case 11:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){z(i,n,o,a,c,"next",t)}function c(t){z(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function Y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}window.nativebridge=N,window.parent!==window&&window.addEventListener("message",(function(t){Object.entries(t.data).forEach((function(t){var e,r,n,o=(n=2,function(t){if(Array.isArray(t))return t}(r=t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(r,n)||function(t,e){if(t){if("string"==typeof t)return Y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(t,e):void 0}}(r,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=o[0],a=o[1];null===(e=N[i])||void 0===e||e.call(N,a)}))}));var H={invoke:B}},49114:function(t,e,r){"use strict";r.r(e),e.default={common:{aboutThisAd:"About this ad",advertisement:"Advertisement",back:"Back",buildInfo:"Build info",campaignPosition:"Ad {campaignNumber} of {campaignLength}",confirm:"Confirm",emailAddress:"Email address",experiencePersonalization:"Experience personalization",free:"Free",get:"Get",install:"Install",invalidEmailAddress:"Invalid email format. Please try again.",no:"No",personalizationSettings:"Personalization settings",price:"Price",privacySettings:"Privacy settings",report:"Report",reportAd:"Report ad",requestYourData:"Request your data",sponsored:"Sponsored",submit:"Submit",yes:"Yes"},cta:{installNow:"Install Now",learnMore:"Learn More"},numbers:{million:"m",thousand:"k"},privacy:{callToActionBanner:{message:"Unity is personalizing your ads experience in this application. {Link} to learn more about Unity and your privacy choices",tapHere:"Tap here"},captcha:{confirmMessage:"Confirmed",genericError:"Error occurred. Please try again later.",rateLimited:"Rate Limited",retryMessage:"Incorrect. Please try again.",title:"We need to verify that the user is human. Please review the following 16 images and select the one that does not fit the theme."},common:{agreeAll:"Agree to all",cancel:"Cancel",clickHere:"click here",confirmationHeader:"Are you sure?",disagreeAll:"Disagree to all",permissionsPicker:{adsDescription:"I agree to personalized experiences, advertisements, and measurement from Unity based on data collected by Unity (and its affiliates) products and services",dataLeavesTerritoryDescription:"I agree to have my personal information transferred outside of the Peoples Republic of China",externalDescription:"I also agree to personalized ads, including those using demographic and other data, from third-party advertising partners",gameExpDescription:"I agree to personalized game experience"},saveChoices:"Save my choices",showChoices:"Show my choices"},description:"This advertisement has been served by Unity Ads.\n\n The developer of this app has enabled privacy controls to create a more privacy-protective experience or to indicate that this app is directed to children under the age of 13. As a result, we deliver ads to you based only on contextual data (e.g., the game you are playing).\n\n Please review our {privacyPolicy} for a full description of our data practices. You can opt-out of Unity Ads personalized experiences and ads through your device settings.",ironSourcePrivacyPolicy:"ironSource's privacy policy",legalTextSections:{changingPrivacyChoices:{description:"You can access these options at any time by tapping the Unity Data Privacy icon when or after an ad appears.",title:"Changing your privacy choice"},changingYourPrivacyChoice:{description:"You can access these options at any time by tapping the Unity Data Privacy icon when or after an ad appears.",title:"Changing your privacy choice"},collectedInfo:{descriptionP1:"Most of the information we use for ad personalization is based on a device-level resettable advertising ID (generally Apple's Advertising Identifier or Google Advertising Identifier) and your IP address.",descriptionP2:"We would use this information alongside your app interaction data to show ads for other games we think you would enjoy. We may even determine that we will not show you an ad.",descriptionP3:"Subject to your privacy choices, your app interaction data may be associated with a unique Unity ID and retained for up to 12 months. We will also retain a record of personal data associated with your advertising ID for 30 days; however, we may keep your transaction record using your personal data for up to 180 days for billing and fraud prevention purposes.",title:"What information we collect and how we use it"},dataTransfer:{description:"Please note Unity may transfer and process your data on servers located in the United States. We have committed through internal agreements and agreements with our third-party processors to treat your data with the same protections as those afforded to you by applicable law, including, in the European Economic Area if your data is collected in that region of the world. For more information on transfers, visit Unity's {privacyPolicy}.",title:"Data transfer"},infoCollectedByAdsPartners:{descriptionP1:"Our partners may use your advertising ID and IP address to build a profile about you according to your preferences and independently collected household demographic information. Demographic information may include things like marital status or approximate income. Please visit our third parties' privacy policies to see how you can access or delete the information they have about you.",descriptionP2:"Information may also be collected from your phone, including how hard you are pressing the screen (pressure point measurement). The purpose of our partners collecting such information is to prevent fraud by assessing whether it is a real person engaging with the application (uneven pressure points), or a bot put into the marketplace by a bad actor attempting to mislead ad networks.",title:"What do our advertising partners collect"},infoCollectedByMeasurementPartners:{description:"Our partners may use your advertising ID and IP address, along with information about the advertising campaign (for example, creative and campaign names), the application in which you viewed the advertisement, and limited device information (for example, device model and operating system) in order to verify you saw the ad or otherwise attribute the installation of the advertised application to Unity. Please visit our third-party mobile measurement partner's privacy policies to see how you can access or delete the information they have about you.",title:"What do our mobile measurement partners collect"},ironSourceDataSubjectRight:{description:"Please visit {ironSourcePrivacyPolicy} to understand how our affiliate, ironSource, may collect and use your data. In order to exercise your data access and/or deletion rights in connection with data that ironSource may collect about you, please {privacyOperation}.",title:"ironSource Data Subject Rights"},ourPrivacyPolicySection:{description:"Our {privacyPolicy} explains how we manage your data, including how and where in the world we transfer data for processing, and how we work with partners who serve ads. These partners may collect information about your advertising ID from sources other than Unity to further personalize the ads you see. Please visit the privacy policies of these third parties to review the compiled data they may have.",title:"Our Privacy Policy"},thirdPartyAdPartners:{title:"View our third-party ad partners"},thirdPartyMobileMeasurementPartners:{title:"View our third-party mobile measurement partners"},unityAnalyticsAndMediation:{descriptionP1:"Unity may use additional information based on your usage of apps to personalize your experience, such as data from its Unity Analytics, Unity Levelplay mediation services services, and other products and services provided by Unity and its affiliates.",descriptionP2:"The Unity Analytics service provides tools for app developers to easily understand game performance and player behaviors, allowing Unity to collect information such as the time you spend in app, the number of gameplay sessions you've had, and whether or not you've made in-app purchases.",descriptionP3:"The Unity Levelplay service provides tools for developers to manage multiple advertising networks and the advertisements that are displayed to you, allowing Unity to collect information such as the number of advertisements you've seen in an app, and information about the ad revenues attributed to your gameplay sessions.",title:"Unity Analytics and Mediation Services"}},privacyPolicy:"Privacy Policy",screens:{aboutThisAd:{onBehalfOf:"ON BEHALF OF",paidBy:"AD PAID BY",sectionControl:{contentLi1:{content:"You can {link} to inform us in the case where you see an ad which has offensive content, or if you simply dont like the ad. This will help us identify ads which we need to review and take action on.",link:"report an ad"},contentLi2:{content:"You can {link} for this app. This will limit the data we collect which is used to deliver relevant ads to you based on the data described above.",link:"review and change your ad personalization settings"},contentLi3:{content:"You can {link}. This will delete your unique identifier and data we collect which is used to deliver ads that are relevant to you across the entire Unity Ads network.",link:"perform a “Network-wide opt-out”"},contentLi4:{content:"You can {link}",link:"submit a report under the Digital Services Act"},contentP1:"You have control over what ads you see by using the features available to you in this privacy card for all Unity Ads:",title:"Control your ad experience"},sectionWhy:{contentLi1:{content:"{header}: Such as Advertising ID, IP address, and a self-created ID unique to a specific app, and IDs unique only to apps of the same developer.",header:"Identifiers"},contentLi2:{content:"{header}: Technical information such as the devices time zone, the amount of free memory on the device, the name and version of the app to which the ad is served, etc.",header:"General technical information about your device"},contentLi3:{content:"{header}: An indication if an ad was viewed, or clicked, or if there was an install of an advertised app. Information about actions performed within an advertisers app following such an install, such as in-app purchases, and level in the game (if the advertiser chooses to provide such information)",header:"Performance information"},contentP1:"There are different parameters that determine which ad you are seeing:",contentP2:"We use the parameters mentioned above for optimizing advertising campaigns, including for limiting the number of times you view a specific campaign across our network, or the number of ads you view in a specific app.",contentP3:"For certain users, as instructed by our publishers (e.g., due to it being a child-directed app), we will not collect and use cross app identifiers, such as advertiser ID, for deciding which ad to serve.",title:"Why are you seeing this ad"}},ageGate:{description:"To ensure we offer you the best possible in-game experience, including your privacy choices and protecting your privacy, please confirm your age:",textOlder:"I'm {ageGateLimit} or older",textYounger:"I'm {underAgeGateLimit} or younger",title:"Before you get started, please verify your age"},consent:{descriptionP1:"Unity and our select third-party advertising partners collect data, including device data and mobile identifiers, to personalize your advertising experience.",descriptionP2:"We use device data to track which ads you interact with to determine what ads you are most interested in seeing, and to stop showing you ads that you are clearly not interested in. Additionally, our select third-party partners may have certain demographic data about you that they use to personalize your experience.",descriptionP3:"As part of the personalized advertising process, Unity will share with our advertisers mobile measurement partners similar ad interaction information necessary to measure the success of an ad campaign and to determine if you interacted with an ad displayed to you in a manner that results in payment to Unity and its third-party partners.",descriptionP4:"You can access these options at any time by tapping the Unity Data Privacy icon when or after an ad appears.",title:"Can the Unity cookie collect and use your data to tailor your advertising experience?"},consentChoices:{title:"Can the Unity cookie collect and use your data to tailor your advertising experience?"},experiencePersonalization:{choicesSavedMessage:"Your choices are saved successfully!",description:"You can choose to continue to have a personalized experience, or to have a generic one. This will apply to both advertising that comes from Unity directly as well as from advertising partners. Please note that if you have already performed a network-wide opt-out, Unity will continue to honor your prior privacy choice and no further opt-out election needs to be made at this time.",radioButtonTitleNo:"No, I do not want a personalized experience. This means you are choosing to Opt Out.",radioButtonTitleYes:"Yes, I agree to a personalized experience. This means you are choosing to Opt In.",title:"Experience personalization"},personalizationSettings:{choicesSavedMessage:"Privacy choices saved!",description:"Can the Unity cookie collect and use your data to tailor your advertising experience?",title:"Personalization settings"},privacyHome:{detailedHeader:"Ads allow developers to offer great apps for free. We try to show the apps and products that will be most interesting to you based on the apps you play, the device you use, and the country you are in.\n\n Most of the information we use for this personalization is based on your devices advertising ID (Apples Advertising Identifier or Google Advertising Identifier) and your IP address.\n\n Unity may use additional information based on your usage of an app to personalize your experience, such as data from its Unity Analytics and Unity Mediation services. The Unity Analytics service provides tools for app developers to easily understand game performance and player behaviors, allowing Unity to collect information such as the time you spend in app, the number of gameplay sessions youve had, and whether or not youve made in-app purchases. The Unity Mediation service provides tools for developers to manage multiple advertising networks and the advertisements that are displayed to you, allowing Unity to collect information such as the number of advertisements youve seen in an app, and information about the ad revenues attributed to your gameplay sessions.\n\n Subject to your privacy choices, your app interaction data may be associated with a unique Unity ID and retained for up to 12 months. We will also retain a record of personal data associated with your advertising ID for 30 days; however, we may keep your transaction record using your personal data for up to 180 days for billing and fraud prevention purposes.",simpleHeader:"This advertisement has been served by Unity. Unity collects information gathered through your use of apps and your interactions with advertisements in order to create an individualized and more relevant user experience and to show you ads that are more likely to interest you.",textHeaderCoppa:"This advertisement has been served by Unity Ads. The developer of this app has enabled privacy controls to create a more privacy-protective experience or to indicate that this app is directed to children under the age of 13. As a result, we deliver ads to you based only on contextual data (e.g., the game you are playing)."},routing:{title:"Ad settings"}},sections:{deleteData:{dataDisclosureNotice:"*Please note, if you already have a data disclosure request in progress, the data that you are requesting to delete for this game may be not included in that report.",deleteDataLink:"here",description:"You can delete any data Unity has about your device by clicking {deleteData}.",header:"Delete your data",optOutNotice:"By doing this, we will also opt you out of personalized ad experiences.",requestSentConfirmation:"We will process your request and your data will be deleted. Please note, for profile purposes this process will take 30 days to complete. We will also opt you out of personalized ads immediately. We may retain your data for invoicing and fraud prevention purposes for 180 days."},networkWideOptOut:{buttonOptOut:"Opt Out of Personalization Network-Wide",textDescription:"You can choose to opt out from a personalized experience across the Unity platform. This will apply to both advertising that comes from Unity directly as well as from its advertising partners. Note that this option applies across all your applications to the extent that advertisements or experiences are served by Unity.",textError:"An error occurred, please try again later.",textHeader:"Network-Wide Opt-Out",textNwoNotAvailable:"Due to the developer's enablement of privacy controls and/or your own privacy choices and device settings, Unity does not maintain a network-wide profile for you in connection with this application and therefore we cannot provide you an opt-out of network-wide personalization at this time.",textOptIn:"here",textOptInAlert:"You have chosen to Opt In to personalized experience network-wide.",textOptInDescription:"If you want to re-enable a personalized advertising experience network-wide, you can choose to opt back in by clicking {optIn}. Please note that this will re-enable a full personalized experience across all applications that use the Unity platform, subject to any app-level privacy choices you may make following this opt-in.",textOptOutAlert:"You have chosen to Opt Out from a personalized experience network-wide."},privacyPolicy:{textDescription:"Our {privacyPolicy} explains how we manage your data, including how and where in the world we transfer data for processing, and how we work with partners who serve ads. These partners may collect information about your advertising ID from sources other than Unity to further personalize the ads you see. Please visit the privacy policies of these third parties to review the compiled data they may have.",textDescriptionCoppa:"Please review our {privacyPolicy} for a full description of our data practices. You can view privacy information at any time by tapping the Unity Data Privacy icon when or after an ad appears.",textHeader:"Our Privacy Policy"}},title:"A message from Unity about your privacy",views:{buildInfo:{labelApp:"app",labelAppVersion:"appVersion",labelCampaign:"campaign",labelCreativeId:"creativeId",labelGroup:"Group",labelOsVersion:"osVersion",labelPlatform:"platform",labelSdk:"sdk",labelTimeStamp:"timestamp",labelUserAgent:"userAgent",labelWebview:"webview",labelWebviewHash:"webviewHash"},reportAd:{radioButtonDoesNotLookRight:"Ad does not look right",radioButtonDontLikeThisAd:"I don't like this ad",radioButtonNotShowing:"Ad is not showing",radioButtonOffensive:"Ad is very offensive",radioButtonOther:"Other",textDescription:"Are you facing issues with your current advertisement? You can report this ad to Unity and let us know. Reporting will close this ad, and if the ad has not completed, any rewards will be forfeited.",textDisclaimer:"Disclaimer: Reporting will close this ad, and if the ad has not completed, any rewards fill be forfeited.",textSuccessAlert:"You have successfully reported an ad. By reporting it, we will close this ad, and if the ad has not completed, any rewards fill is forfeited."},requestData:{textDescription:"It is your right to request the data that we have collected on you for this game. In order to do so, please provide us with your email address so that we can share a secure and personalized link to the data request page. We will not be using your email address for any other purpose.",textErrorAlert:"You have reached the maximum number of attempts. To request your data, please try again after 24 hours.",textSuccessAlert:"Thank you. You should receive an email with the link to request your data shortly."}}},reward:{description:"You will lose your reward",resumeButtonText:"RESUME VIDEO",rewardGranted:"Reward Granted!",skipButtonText:"CLOSE VIDEO",title:"Close Video?"}}},69292:function(t,e,r){"use strict";var n,o;r.d(e,{C:function(){return n},N:function(){return o}}),function(t){t[t.Unspecified=-1]="Unspecified",t[t.Landscape=0]="Landscape",t[t.Portrait=1]="Portrait",t[t.User=2]="User",t[t.Behind=3]="Behind",t[t.Sensor=4]="Sensor",t[t.NoSensor=5]="NoSensor",t[t.SensorLandscape=6]="SensorLandscape",t[t.SensorPortrait=7]="SensorPortrait",t[t.ReverseLandscape=8]="ReverseLandscape",t[t.ReversePortrait=9]="ReversePortrait",t[t.FullSensor=10]="FullSensor",t[t.UserLandscape=11]="UserLandscape",t[t.UserPortrait=12]="UserPortrait",t[t.FullUser=13]="FullUser",t[t.Locked=14]="Locked"}(n||(n={})),function(t){t[t.Rotation0=0]="Rotation0",t[t.Rotation90=1]="Rotation90",t[t.Rotation180=2]="Rotation180",t[t.Rotation270=3]="Rotation270"}(o||(o={}))},43213:function(t,e,r){"use strict";var n;r.d(e,{J:function(){return n}}),function(t){t.Webview="webview",t.AdViewer="ad-viewer"}(n||(n={}))},78371:function(t,e,r){"use strict";var n;r.d(e,{Um:function(){return i},ri:function(){return a},zc:function(){return n},zd:function(){return o}}),r(92075),r(6035),function(t){t.Comet="comet/campaign",t.Vast="programmatic/vast-vpaid",t.Mraid="programmatic/mraid",t.Display="programmatic/static-interstitial",t.Banner="programmatic/banner-html",t.GmaTpsc="programmatic/admob-video",t.GmaScar="programmatic/scar-admob-video",t.GmaScarDisplay="programmatic/scar-admob-display"}(n||(n={}));var o=function(t){return t.contentType===n.Comet},i=function(t){return t.contentType===n.Vast},a=function(t){return t.contentType===n.Banner}},80248:function(t,e,r){"use strict";var n,o;r.d(e,{U:function(){return n},j:function(){return o}}),function(t){t[t.Unknown=0]="Unknown",t[t.Portrait=1]="Portrait",t[t.PortraitUpsideDown=2]="PortraitUpsideDown",t[t.LandscapeRight=3]="LandscapeRight",t[t.LandscapeLeft=4]="LandscapeLeft"}(n||(n={})),function(t){t[t.Portrait=2]="Portrait",t[t.PortraitUpsideDown=4]="PortraitUpsideDown",t[t.LandscapeRight=8]="LandscapeRight",t[t.LandscapeLeft=16]="LandscapeLeft",t[t.Landscape=24]="Landscape",t[t.AllButUpsideDown=26]="AllButUpsideDown",t[t.All=30]="All"}(o||(o={}))},70248:function(t,e,r){"use strict";var n;r.d(e,{t:function(){return n}}),function(t){t.Android="android",t.Ios="ios"}(n||(n={}))},51567:function(t,e,r){"use strict";r.d(e,{H6:function(){return n.H6},ZU:function(){return n.ZU},fL:function(){return n.fL},hw:function(){return n.hw},sY:function(){return n.sY},s_:function(){return n.s_}});var n=r(83663)},83663:function(t,e,r){"use strict";var n,o,i,a,c,u,l,s;r.d(e,{GU:function(){return d},H6:function(){return n},ZU:function(){return p},fL:function(){return s},hw:function(){return f},sY:function(){return l},s_:function(){return u}}),function(t){t[t.DefinedByJavaScript=1]="DefinedByJavaScript",t[t.HtmlDisplay=2]="HtmlDisplay",t[t.NativeDisplay=3]="NativeDisplay",t[t.Video=4]="Video",t[t.Audio=5]="Audio"}(n||(n={})),function(t){t[t.DefinedByJavaScript=1]="DefinedByJavaScript",t[t.Unspecified=2]="Unspecified",t[t.Loaded=3]="Loaded",t[t.BeginToRender=4]="BeginToRender",t[t.OnePixel=5]="OnePixel",t[t.Viewable=6]="Viewable",t[t.Audioble=7]="Audioble",t[t.Other=8]="Other"}(o||(o={})),function(t){t[t.Javascript=1]="Javascript",t[t.Native=2]="Native",t[t.None=3]="None"}(i||(i={})),function(t){t.Full="Full",t.Limited="Limited"}(a||(a={})),function(t){t.Generic="Generic",t.Video="Video",t.Media="Media"}(c||(c={})),function(t){t.Click="click",t.InvitationAccept="invitationAccept"}(u||(u={})),function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll",t.Standalone="standalone"}(l||(l={})),function(t){t.Minimized="minimized",t.Collapsed="collapsed",t.Normal="normal",t.Expanded="expanded",t.FullScreen="fullScreen"}(s||(s={}));var f={creativeType:n.HtmlDisplay,impressionOwner:i.Native,impressionType:o.BeginToRender,isolateVerificationScripts:!1,mediaEventsOwner:i.None},p={creativeType:n.Video,impressionOwner:i.Javascript,impressionType:o.BeginToRender,isolateVerificationScripts:!1,mediaEventsOwner:i.Javascript},d={"1.4.9-Unity3d":"1.4.12-iab4299","1.4.12-Unity3d":"1.4.12-iab4299"}},70913:function(t,e,r){"use strict";r.d(e,{EH:function(){return p},PP:function(){return d.PP},k7:function(){return d.k7},Fp:function(){return d.Fp}}),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(79730),r(7300),r(9347),r(48298),r(74837),r(66964),r(99143),r(3960),r(99029),r(95929),r(62141);var n=r(77769),o=r(56352),i=r(1736);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var s,f=u(u({},o.r),{},{palette:{blue:{dark:"#1365c8",light:"#1297ff",main:"#167dfb"},common:{black:"#202020",white:"#FFF"},error:{light:"#FCE5E4",main:"#E5271A"},grey:{50:"#FAFAFA",100:"#F5F5F5",200:"#eeeeee",300:"#E0E0E0",400:"#BDBDBD",500:"#9E9E9E",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},primary:{light:"#2196F3",main:"#1883EF"},success:{dark:"#329909",light:"#F0FAE4",main:"#7ED321"},warning:{light:"#FCF5E7",main:"#EEC57C"}}}),p=function(t){return(0,i.tZ)(n.a,u({theme:f},t))},d=r(63164);!function(t){t.NonBehavioral="user.nonbehavioral.value",t.NonBehavioralOld="user.nonBehavioral.value",t.Pipl="pipl.optinState.value"}(s||(s={}))},63164:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e);if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{Fp:function(){return p},PP:function(){return f},k7:function(){return s}}),r(86102),r(49922),r(20462),r(3960),r(99029),r(95929),r(62141),r(1645),r(77225),r(17326),r(11397),r(53133),r(20144),r(79730),r(7300),r(9347),r(48298),r(74837),r(66964),r(99143);var u,l=(3,function(t){if(Array.isArray(t))return t}(u=(0,r(69025).p)("privacyStore")(["context"],(function(t,e){return{advertisingTrackingId:"00000000-0000-0000-0000-000000000000",ctaPermissionsWereApplied:!1,fetch:function(){throw new Error("fetch has not been initialized by the application")},isInitializing:!0,nonBehavioral:void 0,onPrivacyUpdateError:function(){throw new Error("sendPrivacyUpdate has not been initialized by the application")},openUrlCallback:function(){throw new Error("Open url callback has not been initialized by the application")},sendPrivacyUpdate:function(){throw new Error("sendPrivacyUpdate has not been initialized by the application")},updateContext:function(r){var n=i(i({},e().context),r);t({context:n})}}})))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next,0;!(u=(n=i.call(r)).done)&&(c.push(n.value),3!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(u)||function(t,e){if(t){if("string"==typeof t)return c(t,3);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(t,3):void 0}}(u)||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.")}()),s=l[0],f=l[1],p=l[2]},56352:function(t,e,r){"use strict";r.d(e,{f:function(){return l},r:function(){return u}}),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(79730),r(7300),r(9347),r(48298),r(74837),r(66964),r(99143),r(3960),r(99029),r(95929),r(62141);var n=r(77769),o=(r(19349),r(1736));function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={mixins:{absoluteFullscreen:{bottom:0,left:0,position:"absolute",right:0,top:0}},palette:{blue:{dark:"#1365c8",light:"#1297ff",main:"#167dfb"},common:{black:"#202020",white:"#FFF"},error:{light:"#FCE5E4",main:"#E5271A"},grey:{50:"#FAFAFA",100:"#F5F5F5",200:"#eeeeee",300:"#E0E0E0",400:"#BDBDBD",500:"#9E9E9E",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},primary:{light:"#2196F3",main:"#1883EF"},success:{dark:"#329909",light:"#F0FAE4",main:"#7ED321"},warning:{light:"#FCF5E7",main:"#EEC57C"}},shape:{borderRadius:8},spacing:(8,function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.map((function(t){return"number"==typeof t?"".concat(8*t,"px"):t})).join(" ")}),transitions:{duration:{standard:200}}},l=function(t){return(0,o.tZ)(n.a,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({theme:u},t))}},82400:function(t,e,r){"use strict";r.d(e,{pM:function(){return l},NR:function(){return u},ah:function(){return n},wE:function(){return o},YB:function(){return i},uL:function(){return a},lO:function(){return c},ap:function(){return v}}),r(99029),r(20462),r(55511),r(95929),r(62141),r(92075),r(74837),r(7300);var n,o,i,a,c,u,l,s=r(52921),f="tracking-event",p=["adContentEnded","adContentFirstQuartile","adContentLoaded","adContentMidPoint","adContentStalled","adContentStart","adContentThirdQuartile"],d={},h=new Set,y=function(t,e){var r;if(!(p.includes(t)&&h.has(t)||"adContentSkip"===t&&h.has("adContentEnded")))return h.add(t),d[t]=(null!==(r=d[t])&&void 0!==r?r:0)+1,s.Y.emit(t,e,f)},v={counts:d,emit:y,emitDiagnostic:function(t,e,r){return y("reportDiagnostic",{diagnosticEvent:t,tags:e,value:r})},on:function(t,e){return s.Y.on(t,e,f)},resetCampaignEvents:function(){return h.clear()},resetCounts:function(){return Object.keys(d).forEach((function(t){return delete d[t]}))}};!function(t){t.InitStart="initStart",t.InitComplete="initComplete",t.RenderSuccess="renderSuccess",t.MediaParsed="mediaParsed"}(n||(n={})),function(t){t.UnsupportedContentType="unsupportedContentType",t.RenderingError="renderingError",t.LoadError="loadError"}(o||(o={})),function(t){t.InitDeveloperFlagsComplete="initDeveloperFlagsComplete",t.NativeCacheCheckMiss="nativeCacheCheckMiss",t.DeveloperConsentUpdateLatency="developerConsentUpdateLatency",t.BlockingDeveloperConsentUpdate="blockingDeveloperConsentUpdate"}(i||(i={})),function(t){t.BannerImpressionCountError="bannerImpressionCountError",t.MarkCampaignAsShownError="markCampaignAsShownError",t.SessionTokenError="sessionTokenError"}(a||(a={})),function(t){t.FocusForeground="focusForeground",t.FocusBackground="focusBackground"}(c||(c={})),function(t){t.AdRefreshOnShow="adRefreshOnShow",t.AdRefreshOnLoad="adRefreshOnLoad",t.AdRefreshOnAdViewerFinished="adRefreshOnAdViewerFinished"}(u||(u={})),function(t){t.BroadcastError="broadcastError",t.RefreshAdDataError="refreshAdDataError",t.MissingTrackingTokenError="missingTrackingTokenError",t.UpdateTrackingTokenError="updateTrackingTokenError",t.AuctionParseError="auctionParseError",t.NoPlacementId="noPlacementId"}(l||(l={}))},27968:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){var e="function"==typeof Map?new Map:void 0;return c=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return u(t,arguments,f(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,t)},c(t)}function u(t,e,r){return u=l()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&s(o,r.prototype),o},u.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e);if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===n(e)?e:String(e)}r.d(e,{z:function(){return h},Z:function(){return P}}),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(79730),r(37406),r(67238),r(51216),r(81688),r(69223),r(99029),r(62474),r(95929),r(62141),r(3960);var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(u,t);var e,r,n,c=(e=u,r=l(),function(){var t,n=f(e);if(r){var o=f(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function u(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o(this,u),(e=c.call(this,t)).fatal=r,p(a(e),"name","ParserError"),e}return n=u,Object.defineProperty(n,"prototype",{writable:!1}),n}(c(Error));function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(e&&("object"===y(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return g(t)}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t){var e="function"==typeof Map?new Map:void 0;return b=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return w(t,arguments,E(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),S(n,t)},b(t)}function w(t,e,r){return w=O()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&S(o,r.prototype),o},w.apply(null,arguments)}function O(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function S(t,e){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},S(t,e)}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},E(t)}function x(t,e,r){return(e=j(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function j(t){var e=function(t,e){if("object"!==y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===y(e)?e:String(e)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&S(t,e)}(i,t);var e,r,n,o=(e=i,r=O(),function(){var t,n=E(e);if(r){var o=E(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return m(this,t)});function i(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return v(this,i),(e=o.call(this,t)).isKnownError=r,x(g(e),"name","WebviewError"),e}return n=i,Object.defineProperty(n,"prototype",{writable:!1}),n}(b(Error))},57277:function(t,e,r){"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(e&&("object"===n(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return a(t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t){var e="function"==typeof Map?new Map:void 0;return c=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return u(t,arguments,f(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,t)},c(t)}function u(t,e,r){return u=l()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&s(o,r.prototype),o},u.apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function p(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e);if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===n(e)?e:String(e)}r.d(e,{x:function(){return h}}),r(47977),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(79730),r(37406),r(67238),r(51216),r(81688),r(69223),r(99029),r(62474),r(95929),r(62141),r(3960);var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(u,t);var e,r,n,c=(e=u,r=l(),function(){var t,n=f(e);if(r){var o=f(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return i(this,t)});function u(){var t;o(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return p(a(t=c.call.apply(c,[this].concat(r))),"name","VpaidError"),t}return n=u,Object.defineProperty(n,"prototype",{writable:!1}),n}(c(Error))},52921:function(t,e,r){"use strict";r.d(e,{Y:function(){return o}}),r(47977);var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return"webview:".concat(e,":").concat(t)},o={emit:function(t,e,r){var o=n(t,r);return window.dispatchEvent(new CustomEvent(o,{detail:e}))},on:function(t,e,r){var o=n(t,r),i=function(t){return e(t.detail)};return window.addEventListener(o,i,{passive:!0}),function(){window.removeEventListener(o,i)}}}},15901:function(t,e,r){"use strict";r.d(e,{k:function(){return o}});var n=r(43213),o=function(){return n.J.AdViewer}},16687:function(t,e,r){"use strict";r.d(e,{G:function(){return n}}),r(24987),r(20462),r(47977),r(81688);var n=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",";return t.reduce((function(t,r){return r||0===r?t?"".concat(t).concat(e).concat(r.toString()):r.toString():t}),"")}},79111:function(t,e,r){"use strict";r.d(e,{H:function(){return n.H}});var n=r(60410)},60410:function(t,e,r){"use strict";r.d(e,{H:function(){return n}}),r(99029),r(62474),r(20462),r(95929),r(62141);var n=function(t,e){var r=new Map;return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var a=JSON.stringify(o);if(r.has(a))return r.get(a);var c=t.apply(void 0,o);return r.set(a,c),e&&setTimeout((function(){return r.delete(a)}),e),c}}},10028:function(t,e,r){"use strict";r.d(e,{v:function(){return h}}),r(79730),r(3960),r(99029),r(95929),r(62141),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144);var n,o,i,a=r(69292),c=r(25054),u=r(71918);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function s(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==l(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===l(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f=(s(n={},c.i.Portrait,a.C.Portrait),s(n,c.i.Landscape,a.C.Landscape),n),p=(s(o={},a.N.Rotation0,a.C.Portrait),s(o,a.N.Rotation90,a.C.Landscape),s(o,a.N.Rotation180,a.C.ReversePortrait),s(o,a.N.Rotation270,a.C.ReverseLandscape),o),d=(s(i={},a.C.Portrait,!0),s(i,a.C.ReversePortrait,!0),s(i,a.C.Landscape,!0),s(i,a.C.ReverseLandscape,!0),i),h=function(t,e,r){if(e===c.i.None)return r?a.C.FullSensor:a.C.Locked;if(!r)return f[e];var n=t.requestedOrientation;if(d[n])return n;var o=(0,u.a)(t);return p[o]}},71918:function(t,e,r){"use strict";r.d(e,{a:function(){return o}});var n=r(69292),o=function(t){var e=t.rotation,r=t.width,o=t.height;return e===n.N.Rotation0?r>o?n.N.Rotation90:n.N.Rotation0:e===n.N.Rotation90?r<o?n.N.Rotation180:n.N.Rotation90:e===n.N.Rotation180?r>o?n.N.Rotation270:n.N.Rotation180:e===n.N.Rotation270?r<o?n.N.Rotation180:n.N.Rotation270:e}},97595:function(t,e,r){"use strict";r.d(e,{v:function(){return l}}),r(79730),r(3960),r(99029),r(95929),r(62141),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144);var n,o=r(80248),i=r(25054);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=(c(n={},o.U.LandscapeLeft,o.j.LandscapeLeft),c(n,o.U.LandscapeRight,o.j.LandscapeRight),c(n,o.U.Portrait,o.j.Portrait),c(n,o.U.PortraitUpsideDown,o.j.PortraitUpsideDown),n),l=function(t,e,r){var n=t.statusBarOrientation,a=t.supportedOrientations;return r&&e!==i.i.None&&n!==o.U.Unknown?u[n]:a}},69081:function(t,e,r){"use strict";r.d(e,{T:function(){return o}});var n=r(25054),o=function(t,e){return t>e?n.i.Landscape:n.i.Portrait}},72320:function(t,e,r){"use strict";r.d(e,{i5:function(){return i.i},v0:function(){return n.v},v8:function(){return o.v}});var n=r(10028),o=r(97595),i=(r(69081),r(25054))},25054:function(t,e,r){"use strict";var n;r.d(e,{i:function(){return n}}),function(t){t.Landscape="landscape",t.Portrait="portrait",t.None="none"}(n||(n={}))},81630:function(t,e,r){"use strict";r.d(e,{X:function(){return o}}),r(17326),r(25445),r(99029),r(20462),r(95929),r(62141),r(36927);var n=r(70248),o=(0,r(79111).H)((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,e=new URLSearchParams(t).get("platform");return e===n.t.Ios?n.t.Ios:n.t.Android}))},69025:function(t,e,r){"use strict";r.d(e,{p:function(){return i}}),r(20462);var n=r(43426),o=r(88449),i=function(t){return function(e,r){var i=(0,n.M)(r),a=function(){if(!i.initialized)throw new Error("Lifecycle error: ".concat(t," not initialized"))};return i.subscribe((function(t){i.initialized=e.every((function(e){return!!t[e]}))})),[i,function(){return a(),i},function(t,e){return a(),(0,o.oR)(i,t,e)}]}}},83643:function(t,e,r){"use strict";r.d(e,{tV:function(){return n},h$:function(){return o},xB:function(){return i}});var n=function(t){return decodeURIComponent(escape(atob(t)))},o=function(t){return btoa(unescape(encodeURIComponent(t)))},i=(r(17326),r(42972),function(t){var e=t.replace(/\//g,"_");return(e=e.replace(/\+/g,"-")).replace(/[=]+$/,"")})},16091:function(t,e,r){"use strict";r.d(e,{tV:function(){return n.tV},h$:function(){return n.h$},fu:function(){return o}});var n=r(83643),o=(r(17326),r(42972),function(t){return t.replace(/[A-Z]/g,(function(t){return"_".concat(t.toLowerCase())}))})},46169:function(t,e,r){"use strict";r.d(e,{Y:function(){return n}}),r(51175),r(51216);var n=function(t){var e=t.substring(t.lastIndexOf(".")+1);return-1!==e.indexOf("?")?e.substring(0,e.indexOf("?")):e}},75656:function(t,e,r){"use strict";r.d(e,{E:function(){return o},y:function(){return i}}),r(99029),r(36131),r(20462),r(39211),r(97362),r(80717),r(5883),r(82982),r(24472),r(16719),r(17416),r(58860),r(99055),r(65946),r(97993),r(50502),r(32580),r(49788),r(2752),r(75438),r(89006),r(79100),r(84939),r(73472),r(55134),r(9101);var n=r(90433),o=function(t){var e=new Uint8Array(t.length);return n.util.utf8.write(t,e,0),e},i=function(t){return n.util.utf8.read(t,0,t.length)}},85544:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{k:function(){return o}}),r(12684),r(47977),r(86102),r(49922),r(20462),r(3960),r(99029),r(95929),r(62141),r(1645),r(77225),r(17326);var o=function(t){var e,r,o=(e=t.split("."),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(e,r)||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=o[0],a=o[1],c=void 0===a?"0":a;return parseFloat("".concat(i,".").concat(c))}},74293:function(t,e,r){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r.d(e,{S3:function(){return c},TH:function(){return a},xh:function(){return u}}),r(86102),r(49922),r(20462),r(3960),r(99029),r(95929),r(62141),r(1645),r(77225),r(17326);var o,i=(3,function(t){if(Array.isArray(t))return t}(o=(0,r(69025).p)("adContextStore")(["adExperiences","campaignInfo","placement","impressionConfig","native","adUnit"],(function(){return{adExperiences:null,adUnit:null,appStartTime:Date.now(),campaignInfo:null,impressionConfig:null,isForeground:!1,native:null,placement:null}})))||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next,0;!(u=(n=i.call(r)).done)&&(c.push(n.value),3!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(o)||function(t,e){if(t){if("string"==typeof t)return n(t,3);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,3):void 0}}(o)||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=i[0],c=i[1],u=i[2]},32135:function(t,e,r){"use strict";r.d(e,{S3:function(){return n.S3},TH:function(){return n.TH},xh:function(){return n.xh}});var n=r(74293)},60577:function(t,e,r){"use strict";r.d(e,{_:function(){return n._},u:function(){return n.u}});var n=r(3320)},3320:function(t,e,r){"use strict";r.d(e,{_:function(){return l},u:function(){return u}});var n=r(43426),o=r(88296),i=r(68740),a=r(51567),c=r(82400),u=(0,n.M)((function(t,e){var r=function(){if(e().isSessionActive)try{i.z.invoke("omidImpression",!0)}catch(t){c.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error sending OM impression"})}},n=function(){if(e().isSessionActive){try{i.z.invoke("omidFinishSession")}catch(t){c.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error finishing OM session"})}t({eventHandler:{},isSessionActive:!1})}},u=function(){t({eventHandler:{finish:function(){return n()},impression:function(){return r()}}})};return{emitEvent:function(t){var r=e().eventHandler[t];r&&r()},eventHandler:{},initialize:function(r){var n=e(),i=n.sessionFilePath,c=n.serviceFilePath;if(i&&c){var l=(0,o.QM)(c);if(document.head.appendChild(l),r===a.H6.Video){var s=(0,o.QM)(i);document.head.appendChild(s)}r===a.H6.HtmlDisplay&&u(),t({creativeType:r,isInitialized:!0})}},isInitialized:!1,isSessionActive:!1,registerHtmlEventHandler:u,registerVideoEventHandler:function(e,r,o){var i=o.duration,c=o.initialVolume,u=o.isSkippable,l=o.skipOffset,s=e.AdEvents,f=e.MediaEvents,p=e.VastProperties,d=new s(r),h=new f(r),y=new p(u,l,!0,a.sY.Standalone);t({eventHandler:{click:function(){return h.adUserInteraction(a.s_.Click)},complete:function(){return h.complete()},finish:function(){n()},firstQuartile:function(){return h.firstQuartile()},impression:function(){d.impressionOccurred(),h.start(i,c)},loaded:function(){d.loaded(y),h.playerStateChange(a.fL.FullScreen)},midpoint:function(){return h.midpoint()},pause:function(){return h.pause()},resume:function(){return h.resume()},skipped:function(){return h.skipped()},thirdQuartile:function(){return h.thirdQuartile()},volumeChange:function(t){return h.volumeChange(t)}}})},sendFinishSession:n,sendImpressionEvent:r,sendStartSession:function(r){if(e().isInitialized){try{i.z.invoke("omidStartSession",r)}catch(t){c.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error starting OM session"})}t({isSessionActive:!0})}}}})),l=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=u.getState(),n=r.emitEvent,o=r.creativeType,i=r.isSessionActive,c=r.sendStartSession;if("start"===t){var l=o===a.H6.Video?a.ZU:a.hw;return c(l)}!i||e&&o===a.H6.HtmlDisplay||n(t)}},92104:function(t,e,r){"use strict";r.d(e,{Rl:function(){return l},W4:function(){return u},lk:function(){return p},u7:function(){return s},x6:function(){return f}}),r(7300),r(79730);var n=r(54409),o=n.Reader,i=n.Writer,a=n.util,c=n.roots.default||(n.roots.default={}),u=c.unity_proto=function(){var t={};return t.UnityProto=function(){function t(t){if(this.encryptedBlobs=[],t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}var e,r;return t.prototype.encryptedBlobs=a.emptyArray,t.prototype.encryptionMethod=3,t.prototype.protoName=2,t.encode=function(t,e){if(e||(e=i.create()),null!=t.encryptedBlobs&&t.encryptedBlobs.length)for(var r=0;r<t.encryptedBlobs.length;++r)e.uint32(10).bytes(t.encryptedBlobs[r]);return null!=t.protoName&&Object.hasOwnProperty.call(t,"protoName")&&e.uint32(24).int32(t.protoName),null!=t.encryptionMethod&&Object.hasOwnProperty.call(t,"encryptionMethod")&&e.uint32(32).int32(t.encryptionMethod),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.unity_proto.UnityProto;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.encryptedBlobs&&n.encryptedBlobs.length||(n.encryptedBlobs=[]),n.encryptedBlobs.push(t.bytes());break;case 4:n.encryptionMethod=t.int32();break;case 3:n.protoName=t.int32();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/unity_proto.UnityProto"},t.EncryptionMethod=(e={},(r=Object.create(e))[e[3]="UNENCRYPTED"]=3,r),t.ProtoName=function(){var t={},e=Object.create(t);return e[t[2]="UNITY_INFO"]=2,e}(),t}(),t.UnityInfo=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.field_1="",t.prototype.field_2=0,t.prototype.field_3=0,t.prototype.field_4=0,t.prototype.field_5=0,t.prototype.field_6=0,t.prototype.field_7=0,t.prototype.field_8=0,t.prototype.field_9=0,t.prototype.field_10=0,t.prototype.field_11=0,t.prototype.field_12=0,t.prototype.field_13=0,t.prototype.field_14=!1,t.prototype.field_15=0,t.prototype.field_16=0,t.prototype.field_17=0,t.prototype.field_18=0,t.prototype.field_19=0,t.prototype.field_20=0,t.prototype.field_21=0,t.prototype.field_22=0,t.prototype.field_23="",t.prototype.field_24=0,t.prototype.field_25=0,t.prototype.field_26=0,t.prototype.field_27=0,t.prototype.field_28=0,t.prototype.field_29=0,t.prototype.field_30=0,t.prototype.field_31=0,t.prototype.field_32=!1,t.prototype.field_33=0,t.prototype.field_34=0,t.prototype.field_35=0,t.prototype.field_36=0,t.prototype.field_37="",t.prototype.field_38="",t.prototype.field_39="",t.prototype.field_40=0,t.prototype.field_41="",t.prototype.field_42="",t.prototype.field_43=0,t.prototype.field_44=0,t.prototype.field_45=0,t.prototype.field_46=0,t.prototype.field_47=0,t.prototype.field_48=0,t.prototype.field_49=0,t.prototype.field_50=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.field_1&&Object.hasOwnProperty.call(t,"field_1")&&e.uint32(10).string(t.field_1),null!=t.field_2&&Object.hasOwnProperty.call(t,"field_2")&&e.uint32(16).int64(t.field_2),null!=t.field_3&&Object.hasOwnProperty.call(t,"field_3")&&e.uint32(24).int64(t.field_3),null!=t.field_4&&Object.hasOwnProperty.call(t,"field_4")&&e.uint32(32).int64(t.field_4),null!=t.field_5&&Object.hasOwnProperty.call(t,"field_5")&&e.uint32(40).int64(t.field_5),null!=t.field_6&&Object.hasOwnProperty.call(t,"field_6")&&e.uint32(48).int64(t.field_6),null!=t.field_7&&Object.hasOwnProperty.call(t,"field_7")&&e.uint32(56).int64(t.field_7),null!=t.field_8&&Object.hasOwnProperty.call(t,"field_8")&&e.uint32(64).int64(t.field_8),null!=t.field_9&&Object.hasOwnProperty.call(t,"field_9")&&e.uint32(72).int64(t.field_9),null!=t.field_10&&Object.hasOwnProperty.call(t,"field_10")&&e.uint32(80).int64(t.field_10),null!=t.field_11&&Object.hasOwnProperty.call(t,"field_11")&&e.uint32(88).int64(t.field_11),null!=t.field_12&&Object.hasOwnProperty.call(t,"field_12")&&e.uint32(96).int64(t.field_12),null!=t.field_13&&Object.hasOwnProperty.call(t,"field_13")&&e.uint32(104).int64(t.field_13),null!=t.field_14&&Object.hasOwnProperty.call(t,"field_14")&&e.uint32(112).bool(t.field_14),null!=t.field_15&&Object.hasOwnProperty.call(t,"field_15")&&e.uint32(120).int64(t.field_15),null!=t.field_16&&Object.hasOwnProperty.call(t,"field_16")&&e.uint32(128).int64(t.field_16),null!=t.field_17&&Object.hasOwnProperty.call(t,"field_17")&&e.uint32(136).int64(t.field_17),null!=t.field_18&&Object.hasOwnProperty.call(t,"field_18")&&e.uint32(144).int64(t.field_18),null!=t.field_19&&Object.hasOwnProperty.call(t,"field_19")&&e.uint32(152).int64(t.field_19),null!=t.field_20&&Object.hasOwnProperty.call(t,"field_20")&&e.uint32(160).int64(t.field_20),null!=t.field_21&&Object.hasOwnProperty.call(t,"field_21")&&e.uint32(168).int64(t.field_21),null!=t.field_22&&Object.hasOwnProperty.call(t,"field_22")&&e.uint32(176).int64(t.field_22),null!=t.field_23&&Object.hasOwnProperty.call(t,"field_23")&&e.uint32(186).string(t.field_23),null!=t.field_24&&Object.hasOwnProperty.call(t,"field_24")&&e.uint32(192).int64(t.field_24),null!=t.field_25&&Object.hasOwnProperty.call(t,"field_25")&&e.uint32(200).int64(t.field_25),null!=t.field_26&&Object.hasOwnProperty.call(t,"field_26")&&e.uint32(208).int64(t.field_26),null!=t.field_27&&Object.hasOwnProperty.call(t,"field_27")&&e.uint32(216).int64(t.field_27),null!=t.field_28&&Object.hasOwnProperty.call(t,"field_28")&&e.uint32(224).int64(t.field_28),null!=t.field_29&&Object.hasOwnProperty.call(t,"field_29")&&e.uint32(232).int64(t.field_29),null!=t.field_30&&Object.hasOwnProperty.call(t,"field_30")&&e.uint32(240).int64(t.field_30),null!=t.field_31&&Object.hasOwnProperty.call(t,"field_31")&&e.uint32(248).int64(t.field_31),null!=t.field_32&&Object.hasOwnProperty.call(t,"field_32")&&e.uint32(256).bool(t.field_32),null!=t.field_33&&Object.hasOwnProperty.call(t,"field_33")&&e.uint32(264).int64(t.field_33),null!=t.field_34&&Object.hasOwnProperty.call(t,"field_34")&&e.uint32(272).int64(t.field_34),null!=t.field_35&&Object.hasOwnProperty.call(t,"field_35")&&e.uint32(280).int64(t.field_35),null!=t.field_36&&Object.hasOwnProperty.call(t,"field_36")&&e.uint32(288).int64(t.field_36),null!=t.field_37&&Object.hasOwnProperty.call(t,"field_37")&&e.uint32(298).string(t.field_37),null!=t.field_38&&Object.hasOwnProperty.call(t,"field_38")&&e.uint32(306).string(t.field_38),null!=t.field_39&&Object.hasOwnProperty.call(t,"field_39")&&e.uint32(314).string(t.field_39),null!=t.field_40&&Object.hasOwnProperty.call(t,"field_40")&&e.uint32(320).int64(t.field_40),null!=t.field_41&&Object.hasOwnProperty.call(t,"field_41")&&e.uint32(330).string(t.field_41),null!=t.field_42&&Object.hasOwnProperty.call(t,"field_42")&&e.uint32(338).string(t.field_42),null!=t.field_43&&Object.hasOwnProperty.call(t,"field_43")&&e.uint32(344).int64(t.field_43),null!=t.field_44&&Object.hasOwnProperty.call(t,"field_44")&&e.uint32(352).int64(t.field_44),null!=t.field_45&&Object.hasOwnProperty.call(t,"field_45")&&e.uint32(360).int64(t.field_45),null!=t.field_46&&Object.hasOwnProperty.call(t,"field_46")&&e.uint32(368).int64(t.field_46),null!=t.field_47&&Object.hasOwnProperty.call(t,"field_47")&&e.uint32(376).int64(t.field_47),null!=t.field_48&&Object.hasOwnProperty.call(t,"field_48")&&e.uint32(384).int64(t.field_48),null!=t.field_49&&Object.hasOwnProperty.call(t,"field_49")&&e.uint32(392).int64(t.field_49),null!=t.field_50&&Object.hasOwnProperty.call(t,"field_50")&&e.uint32(400).int64(t.field_50),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.unity_proto.UnityInfo;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.field_1=t.string();break;case 2:n.field_2=t.int64();break;case 3:n.field_3=t.int64();break;case 4:n.field_4=t.int64();break;case 5:n.field_5=t.int64();break;case 6:n.field_6=t.int64();break;case 7:n.field_7=t.int64();break;case 8:n.field_8=t.int64();break;case 9:n.field_9=t.int64();break;case 10:n.field_10=t.int64();break;case 11:n.field_11=t.int64();break;case 12:n.field_12=t.int64();break;case 13:n.field_13=t.int64();break;case 14:n.field_14=t.bool();break;case 15:n.field_15=t.int64();break;case 16:n.field_16=t.int64();break;case 17:n.field_17=t.int64();break;case 18:n.field_18=t.int64();break;case 19:n.field_19=t.int64();break;case 20:n.field_20=t.int64();break;case 21:n.field_21=t.int64();break;case 22:n.field_22=t.int64();break;case 23:n.field_23=t.string();break;case 24:n.field_24=t.int64();break;case 25:n.field_25=t.int64();break;case 26:n.field_26=t.int64();break;case 27:n.field_27=t.int64();break;case 28:n.field_28=t.int64();break;case 29:n.field_29=t.int64();break;case 30:n.field_30=t.int64();break;case 31:n.field_31=t.int64();break;case 32:n.field_32=t.bool();break;case 33:n.field_33=t.int64();break;case 34:n.field_34=t.int64();break;case 35:n.field_35=t.int64();break;case 36:n.field_36=t.int64();break;case 37:n.field_37=t.string();break;case 38:n.field_38=t.string();break;case 39:n.field_39=t.string();break;case 40:n.field_40=t.int64();break;case 41:n.field_41=t.string();break;case 42:n.field_42=t.string();break;case 43:n.field_43=t.int64();break;case 44:n.field_44=t.int64();break;case 45:n.field_45=t.int64();break;case 46:n.field_46=t.int64();break;case 47:n.field_47=t.int64();break;case 48:n.field_48=t.int64();break;case 49:n.field_49=t.int64();break;case 50:n.field_50=t.int64();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/unity_proto.UnityInfo"},t}(),t}(),l=c.adviewer=function(){var t,e,r,n={};return n.v1=((r={}).CampaignReuseReason=(t={},(e=Object.create(t))[t[0]="CAMPAIGN_REUSE_REASON_UNSPECIFIED"]=0,e[t[1]="CAMPAIGN_REUSE_REASON_NO_FILL"]=1,e[t[2]="CAMPAIGN_REUSE_REASON_ERROR"]=2,e[t[3]="CAMPAIGN_REUSE_REASON_IMPRESSION"]=3,e[t[4]="CAMPAIGN_REUSE_REASON_RELOADED"]=4,e),r.StoreOpenData=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.destination="",t.prototype.startEvent="",t.prototype.endEvent="",t.prototype.duration=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.destination&&Object.hasOwnProperty.call(t,"destination")&&e.uint32(10).string(t.destination),null!=t.startEvent&&Object.hasOwnProperty.call(t,"startEvent")&&e.uint32(18).string(t.startEvent),null!=t.endEvent&&Object.hasOwnProperty.call(t,"endEvent")&&e.uint32(26).string(t.endEvent),null!=t.duration&&Object.hasOwnProperty.call(t,"duration")&&e.uint32(40).int32(t.duration),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.StoreOpenData;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.destination=t.string();break;case 2:n.startEvent=t.string();break;case 3:n.endEvent=t.string();break;case 5:n.duration=t.int32();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.StoreOpenData"},t}(),r.LifecycleData=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.duration=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.duration&&Object.hasOwnProperty.call(t,"duration")&&e.uint32(16).int32(t.duration),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.LifecycleData;t.pos<r;){var i=t.uint32();i>>>3==2?n.duration=t.int32():t.skipType(7&i)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.LifecycleData"},t}(),r.InstallOpportunityData=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}var e;return t.prototype.type="",t.prototype.origin=null,t.prototype.dismissible=null,Object.defineProperty(t.prototype,"_origin",{get:a.oneOfGetter(e=["origin"]),set:a.oneOfSetter(e)}),Object.defineProperty(t.prototype,"_dismissible",{get:a.oneOfGetter(e=["dismissible"]),set:a.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=i.create()),null!=t.type&&Object.hasOwnProperty.call(t,"type")&&e.uint32(10).string(t.type),null!=t.origin&&Object.hasOwnProperty.call(t,"origin")&&e.uint32(18).string(t.origin),null!=t.dismissible&&Object.hasOwnProperty.call(t,"dismissible")&&e.uint32(24).bool(t.dismissible),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.InstallOpportunityData;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.type=t.string();break;case 2:n.origin=t.string();break;case 3:n.dismissible=t.bool();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.InstallOpportunityData"},t}(),r.OperativeEventType=function(){var t={},e=Object.create(t);return e[t[0]="OPERATIVE_EVENT_TYPE_UNSPECIFIED"]=0,e[t[1]="OPERATIVE_EVENT_TYPE_VIDEO_START"]=1,e[t[2]="OPERATIVE_EVENT_TYPE_VIDEO_FIRST_QUARTILE"]=2,e[t[3]="OPERATIVE_EVENT_TYPE_VIDEO_MIDPOINT"]=3,e[t[4]="OPERATIVE_EVENT_TYPE_VIDEO_THIRD_QUARTILE"]=4,e[t[5]="OPERATIVE_EVENT_TYPE_VIDEO_END"]=5,e[t[6]="OPERATIVE_EVENT_TYPE_VIDEO_SKIP"]=6,e[t[7]="OPERATIVE_EVENT_TYPE_CLICK"]=7,e[t[8]="OPERATIVE_EVENT_TYPE_IMPRESSION"]=8,e[t[9]="OPERATIVE_EVENT_TYPE_SHOW"]=9,e[t[10]="OPERATIVE_EVENT_TYPE_LOADED"]=10,e[t[11]="OPERATIVE_EVENT_TYPE_ERROR"]=11,e[t[12]="OPERATIVE_EVENT_TYPE_STALLED"]=12,e[t[13]="OPERATIVE_EVENT_TYPE_VIDEO_END_CARD_CLICK"]=13,e[t[14]="OPERATIVE_EVENT_TYPE_VIDEO_MUTE"]=14,e[t[15]="OPERATIVE_EVENT_TYPE_VIDEO_UNMUTE"]=15,e[t[16]="OPERATIVE_EVENT_TYPE_PAUSED"]=16,e[t[17]="OPERATIVE_EVENT_TYPE_RESUME"]=17,e[t[18]="OPERATIVE_EVENT_TYPE_VIDEO_CREATIVE_VIEW"]=18,e[t[19]="OPERATIVE_EVENT_TYPE_STORE_OPEN"]=19,e[t[20]="OPERATIVE_EVENT_TYPE_BACKGROUND"]=20,e[t[21]="OPERATIVE_EVENT_TYPE_COMPLETED"]=21,e[t[22]="OPERATIVE_EVENT_TYPE_INSTALL_OPPORTUNITY"]=22,e}(),r.AdditionalData=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}var e;return t.prototype.version=0,t.prototype.clickTargetId=null,t.prototype.cached=!1,t.prototype.cachedOrientation="",t.prototype.videoOrientation="",t.prototype.campaignReuseReason=0,t.prototype.unityCreativeId="",t.prototype.webviewVersion=0,t.prototype.operativeEventType=0,t.prototype.normalizedClickPositionX=0,t.prototype.normalizedClickPositionY=0,t.prototype.storeOpenData=null,t.prototype.lifecycleData=null,t.prototype.installOpportunityData=null,t.prototype.eventSequenceNumber=0,t.prototype.videoProgressMs=0,Object.defineProperty(t.prototype,"_clickTargetId",{get:a.oneOfGetter(e=["clickTargetId"]),set:a.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=i.create()),null!=t.version&&Object.hasOwnProperty.call(t,"version")&&e.uint32(8).int32(t.version),null!=t.clickTargetId&&Object.hasOwnProperty.call(t,"clickTargetId")&&e.uint32(18).string(t.clickTargetId),null!=t.cached&&Object.hasOwnProperty.call(t,"cached")&&e.uint32(40).bool(t.cached),null!=t.cachedOrientation&&Object.hasOwnProperty.call(t,"cachedOrientation")&&e.uint32(50).string(t.cachedOrientation),null!=t.videoOrientation&&Object.hasOwnProperty.call(t,"videoOrientation")&&e.uint32(58).string(t.videoOrientation),null!=t.campaignReuseReason&&Object.hasOwnProperty.call(t,"campaignReuseReason")&&e.uint32(64).int32(t.campaignReuseReason),null!=t.unityCreativeId&&Object.hasOwnProperty.call(t,"unityCreativeId")&&e.uint32(74).string(t.unityCreativeId),null!=t.webviewVersion&&Object.hasOwnProperty.call(t,"webviewVersion")&&e.uint32(80).int64(t.webviewVersion),null!=t.operativeEventType&&Object.hasOwnProperty.call(t,"operativeEventType")&&e.uint32(88).int32(t.operativeEventType),null!=t.normalizedClickPositionX&&Object.hasOwnProperty.call(t,"normalizedClickPositionX")&&e.uint32(97).double(t.normalizedClickPositionX),null!=t.normalizedClickPositionY&&Object.hasOwnProperty.call(t,"normalizedClickPositionY")&&e.uint32(105).double(t.normalizedClickPositionY),null!=t.storeOpenData&&Object.hasOwnProperty.call(t,"storeOpenData")&&c.adviewer.v1.StoreOpenData.encode(t.storeOpenData,e.uint32(114).fork()).ldelim(),null!=t.lifecycleData&&Object.hasOwnProperty.call(t,"lifecycleData")&&c.adviewer.v1.LifecycleData.encode(t.lifecycleData,e.uint32(122).fork()).ldelim(),null!=t.eventSequenceNumber&&Object.hasOwnProperty.call(t,"eventSequenceNumber")&&e.uint32(128).int32(t.eventSequenceNumber),null!=t.videoProgressMs&&Object.hasOwnProperty.call(t,"videoProgressMs")&&e.uint32(136).int32(t.videoProgressMs),null!=t.installOpportunityData&&Object.hasOwnProperty.call(t,"installOpportunityData")&&c.adviewer.v1.InstallOpportunityData.encode(t.installOpportunityData,e.uint32(146).fork()).ldelim(),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.AdditionalData;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.version=t.int32();break;case 2:n.clickTargetId=t.string();break;case 5:n.cached=t.bool();break;case 6:n.cachedOrientation=t.string();break;case 7:n.videoOrientation=t.string();break;case 8:n.campaignReuseReason=t.int32();break;case 9:n.unityCreativeId=t.string();break;case 10:n.webviewVersion=t.int64();break;case 11:n.operativeEventType=t.int32();break;case 12:n.normalizedClickPositionX=t.double();break;case 13:n.normalizedClickPositionY=t.double();break;case 14:n.storeOpenData=c.adviewer.v1.StoreOpenData.decode(t,t.uint32());break;case 15:n.lifecycleData=c.adviewer.v1.LifecycleData.decode(t,t.uint32());break;case 18:n.installOpportunityData=c.adviewer.v1.InstallOpportunityData.decode(t,t.uint32());break;case 16:n.eventSequenceNumber=t.int32();break;case 17:n.videoProgressMs=t.int32();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.AdditionalData"},t}(),r.Banner=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.refreshRate=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.refreshRate&&Object.hasOwnProperty.call(t,"refreshRate")&&e.uint32(8).int32(t.refreshRate),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.Banner;t.pos<r;){var i=t.uint32();i>>>3==1?n.refreshRate=t.int32():t.skipType(7&i)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.Banner"},t}(),r.AdPodding=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.duration=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.duration&&Object.hasOwnProperty.call(t,"duration")&&e.uint32(8).int32(t.duration),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.AdPodding;t.pos<r;){var i=t.uint32();i>>>3==1?n.duration=t.int32():t.skipType(7&i)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.AdPodding"},t}(),r.Placement=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}var e;return t.prototype.id="",t.prototype.name="",t.prototype.allowSkip=!1,t.prototype.disableBackButton=!1,t.prototype.muteVideo=!1,t.prototype.useDeviceOrientationForVideo=!1,t.prototype.skipInSeconds=null,t.prototype.skipEndCardOnClose=!1,t.prototype.disableVideoControlsFade=!1,t.prototype.useCloseIconInsteadOfSkipIcon=!1,t.prototype.banner=null,t.prototype.adFormat="",t.prototype.closeTimerDuration=0,t.prototype.adUnitId="",Object.defineProperty(t.prototype,"_skipInSeconds",{get:a.oneOfGetter(e=["skipInSeconds"]),set:a.oneOfSetter(e)}),Object.defineProperty(t.prototype,"_banner",{get:a.oneOfGetter(e=["banner"]),set:a.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=i.create()),null!=t.id&&Object.hasOwnProperty.call(t,"id")&&e.uint32(10).string(t.id),null!=t.name&&Object.hasOwnProperty.call(t,"name")&&e.uint32(18).string(t.name),null!=t.allowSkip&&Object.hasOwnProperty.call(t,"allowSkip")&&e.uint32(32).bool(t.allowSkip),null!=t.disableBackButton&&Object.hasOwnProperty.call(t,"disableBackButton")&&e.uint32(40).bool(t.disableBackButton),null!=t.muteVideo&&Object.hasOwnProperty.call(t,"muteVideo")&&e.uint32(48).bool(t.muteVideo),null!=t.useDeviceOrientationForVideo&&Object.hasOwnProperty.call(t,"useDeviceOrientationForVideo")&&e.uint32(56).bool(t.useDeviceOrientationForVideo),null!=t.skipInSeconds&&Object.hasOwnProperty.call(t,"skipInSeconds")&&e.uint32(72).int32(t.skipInSeconds),null!=t.skipEndCardOnClose&&Object.hasOwnProperty.call(t,"skipEndCardOnClose")&&e.uint32(80).bool(t.skipEndCardOnClose),null!=t.disableVideoControlsFade&&Object.hasOwnProperty.call(t,"disableVideoControlsFade")&&e.uint32(88).bool(t.disableVideoControlsFade),null!=t.useCloseIconInsteadOfSkipIcon&&Object.hasOwnProperty.call(t,"useCloseIconInsteadOfSkipIcon")&&e.uint32(104).bool(t.useCloseIconInsteadOfSkipIcon),null!=t.banner&&Object.hasOwnProperty.call(t,"banner")&&c.adviewer.v1.Banner.encode(t.banner,e.uint32(114).fork()).ldelim(),null!=t.adFormat&&Object.hasOwnProperty.call(t,"adFormat")&&e.uint32(162).string(t.adFormat),null!=t.closeTimerDuration&&Object.hasOwnProperty.call(t,"closeTimerDuration")&&e.uint32(168).int32(t.closeTimerDuration),null!=t.adUnitId&&Object.hasOwnProperty.call(t,"adUnitId")&&e.uint32(178).string(t.adUnitId),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.Placement;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.id=t.string();break;case 2:n.name=t.string();break;case 4:n.allowSkip=t.bool();break;case 5:n.disableBackButton=t.bool();break;case 6:n.muteVideo=t.bool();break;case 7:n.useDeviceOrientationForVideo=t.bool();break;case 9:n.skipInSeconds=t.int32();break;case 10:n.skipEndCardOnClose=t.bool();break;case 11:n.disableVideoControlsFade=t.bool();break;case 13:n.useCloseIconInsteadOfSkipIcon=t.bool();break;case 14:n.banner=c.adviewer.v1.Banner.decode(t,t.uint32());break;case 20:n.adFormat=t.string();break;case 21:n.closeTimerDuration=t.int32();break;case 22:n.adUnitId=t.string();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.Placement"},t}(),r.SDKFeatureFlags=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}var e;return t.prototype.closeReplaceSkip=null,t.prototype.skipOrientationCheck=null,Object.defineProperty(t.prototype,"_closeReplaceSkip",{get:a.oneOfGetter(e=["closeReplaceSkip"]),set:a.oneOfSetter(e)}),Object.defineProperty(t.prototype,"_skipOrientationCheck",{get:a.oneOfGetter(e=["skipOrientationCheck"]),set:a.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=i.create()),null!=t.closeReplaceSkip&&Object.hasOwnProperty.call(t,"closeReplaceSkip")&&e.uint32(8).bool(t.closeReplaceSkip),null!=t.skipOrientationCheck&&Object.hasOwnProperty.call(t,"skipOrientationCheck")&&e.uint32(64).bool(t.skipOrientationCheck),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.adviewer.v1.SDKFeatureFlags;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.closeReplaceSkip=t.bool();break;case 8:n.skipOrientationCheck=t.bool();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.SDKFeatureFlags"},t}(),r.ImpressionConfiguration=function(){function t(t){if(this.experimentation={},t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.placementConfig=null,t.prototype.isSkipToAppsheetEnabled=!1,t.prototype.sdkFeatureFlags=null,t.prototype.country="",t.prototype.experimentation=a.emptyObject,t.prototype.adDataRefreshDelayMs=0,t.prototype.fullScreenCtrOptOutStore=!1,t.encode=function(t,e){if(e||(e=i.create()),null!=t.placementConfig&&Object.hasOwnProperty.call(t,"placementConfig")&&c.adviewer.v1.Placement.encode(t.placementConfig,e.uint32(10).fork()).ldelim(),null!=t.isSkipToAppsheetEnabled&&Object.hasOwnProperty.call(t,"isSkipToAppsheetEnabled")&&e.uint32(16).bool(t.isSkipToAppsheetEnabled),null!=t.sdkFeatureFlags&&Object.hasOwnProperty.call(t,"sdkFeatureFlags")&&c.adviewer.v1.SDKFeatureFlags.encode(t.sdkFeatureFlags,e.uint32(26).fork()).ldelim(),null!=t.country&&Object.hasOwnProperty.call(t,"country")&&e.uint32(34).string(t.country),null!=t.experimentation&&Object.hasOwnProperty.call(t,"experimentation"))for(var r=Object.keys(t.experimentation),n=0;n<r.length;++n)e.uint32(42).fork().uint32(10).string(r[n]).uint32(18).string(t.experimentation[r[n]]).ldelim();return null!=t.adDataRefreshDelayMs&&Object.hasOwnProperty.call(t,"adDataRefreshDelayMs")&&e.uint32(48).int32(t.adDataRefreshDelayMs),null!=t.fullScreenCtrOptOutStore&&Object.hasOwnProperty.call(t,"fullScreenCtrOptOutStore")&&e.uint32(56).bool(t.fullScreenCtrOptOutStore),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r,n,i=void 0===e?t.len:t.pos+e,u=new c.adviewer.v1.ImpressionConfiguration;t.pos<i;){var l=t.uint32();switch(l>>>3){case 1:u.placementConfig=c.adviewer.v1.Placement.decode(t,t.uint32());break;case 2:u.isSkipToAppsheetEnabled=t.bool();break;case 3:u.sdkFeatureFlags=c.adviewer.v1.SDKFeatureFlags.decode(t,t.uint32());break;case 4:u.country=t.string();break;case 5:u.experimentation===a.emptyObject&&(u.experimentation={});var s=t.uint32()+t.pos;for(r="",n="";t.pos<s;){var f=t.uint32();switch(f>>>3){case 1:r=t.string();break;case 2:n=t.string();break;default:t.skipType(7&f)}}u.experimentation[r]=n;break;case 6:u.adDataRefreshDelayMs=t.int32();break;case 7:u.fullScreenCtrOptOutStore=t.bool();break;default:t.skipType(7&l)}}return u},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/adviewer.v1.ImpressionConfiguration"},t}(),r),n}(),s=c.gatewayprotocol=function(){var t,e={};return e.v1=((t={}).AllowedPii=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.idfa=!1,t.prototype.idfv=!1,t.encode=function(t,e){return e||(e=i.create()),null!=t.idfa&&Object.hasOwnProperty.call(t,"idfa")&&e.uint32(8).bool(t.idfa),null!=t.idfv&&Object.hasOwnProperty.call(t,"idfv")&&e.uint32(16).bool(t.idfv),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.gatewayprotocol.v1.AllowedPii;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.idfa=t.bool();break;case 2:n.idfv=t.bool();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gatewayprotocol.v1.AllowedPii"},t}(),t.PrivacyUpdateRequest=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.version=0,t.prototype.content=a.newBuffer([]),t.encode=function(t,e){return e||(e=i.create()),null!=t.version&&Object.hasOwnProperty.call(t,"version")&&e.uint32(8).int32(t.version),null!=t.content&&Object.hasOwnProperty.call(t,"content")&&e.uint32(18).bytes(t.content),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.gatewayprotocol.v1.PrivacyUpdateRequest;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.version=t.int32();break;case 2:n.content=t.bytes();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gatewayprotocol.v1.PrivacyUpdateRequest"},t}(),t.PrivacyUpdateResponse=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.version=0,t.prototype.content=a.newBuffer([]),t.encode=function(t,e){return e||(e=i.create()),null!=t.version&&Object.hasOwnProperty.call(t,"version")&&e.uint32(8).int32(t.version),null!=t.content&&Object.hasOwnProperty.call(t,"content")&&e.uint32(18).bytes(t.content),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.gatewayprotocol.v1.PrivacyUpdateResponse;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.version=t.int32();break;case 2:n.content=t.bytes();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gatewayprotocol.v1.PrivacyUpdateResponse"},t}(),t),e}(),f=c.gatewayinternal=function(){var t,e={};return e.v1=((t={}).LoadedCampaignToken=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.campaignId="",t.prototype.targetGameId=0,t.prototype.startEventTimestamp=null,t.prototype.startEventSent=!1,t.prototype.viewEventSent=!1,t.encode=function(t,e){return e||(e=i.create()),null!=t.campaignId&&Object.hasOwnProperty.call(t,"campaignId")&&e.uint32(10).string(t.campaignId),null!=t.targetGameId&&Object.hasOwnProperty.call(t,"targetGameId")&&e.uint32(16).int64(t.targetGameId),null!=t.startEventTimestamp&&Object.hasOwnProperty.call(t,"startEventTimestamp")&&c.google.protobuf.Timestamp.encode(t.startEventTimestamp,e.uint32(26).fork()).ldelim(),null!=t.startEventSent&&Object.hasOwnProperty.call(t,"startEventSent")&&e.uint32(32).bool(t.startEventSent),null!=t.viewEventSent&&Object.hasOwnProperty.call(t,"viewEventSent")&&e.uint32(40).bool(t.viewEventSent),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.gatewayinternal.v1.LoadedCampaignToken;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.campaignId=t.string();break;case 2:n.targetGameId=t.int64();break;case 3:n.startEventTimestamp=c.google.protobuf.Timestamp.decode(t,t.uint32());break;case 4:n.startEventSent=t.bool();break;case 5:n.viewEventSent=t.bool();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gatewayinternal.v1.LoadedCampaignToken"},t}(),t),e}(),p=c.google=function(){var t,e={};return e.protobuf=((t={}).Timestamp=function(){function t(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)null!=t[e[r]]&&(this[e[r]]=t[e[r]])}return t.prototype.seconds=0,t.prototype.nanos=0,t.encode=function(t,e){return e||(e=i.create()),null!=t.seconds&&Object.hasOwnProperty.call(t,"seconds")&&e.uint32(8).int64(t.seconds),null!=t.nanos&&Object.hasOwnProperty.call(t,"nanos")&&e.uint32(16).int32(t.nanos),e},t.decode=function(t,e){t instanceof o||(t=o.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new c.google.protobuf.Timestamp;t.pos<r;){var i=t.uint32();switch(i>>>3){case 1:n.seconds=t.int64();break;case 2:n.nanos=t.int32();break;default:t.skipType(7&i)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/google.protobuf.Timestamp"},t}(),t),e}()},33912:function(t,e,r){"use strict";r.d(e,{Q:function(){return i}});var n=r(78371),o=r(88296),i=function(t,e){var r=(new DOMParser).parseFromString(t,"text/html");return r.head.insertBefore((0,o.E8)(),r.head.firstChild),r.head.insertBefore((0,o.Mn)(e),r.head.firstChild),e===n.zc.GmaTpsc&&r.head.insertBefore((0,o.eF)(),r.head.firstChild),r.documentElement.innerHTML}},88296:function(t,e,r){"use strict";r.d(e,{eF:function(){return n},Mn:function(){return c},E8:function(){return a},QM:function(){return u}});var n=function(){var t=document.createElement("script");return t.type="text/javascript",t.textContent="\n function getQueryParams(url) {\n var a = document.createElement('a');\n a.href = url;\n var params = {};\n if (a.search) {\n var tuples = a.search.substring(1).split(/&/);\n for (var i = 0; i < tuples.length; i++) {\n var parts = tuples[i].split(/=/);\n var key = parts[0];\n var value = parts[1];\n if (params[key]) {\n params[key].push(value);\n } else {\n params[key] = [value];\n }\n }\n }\n return params;\n }\n\n function isObjectEmpty(obj) {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n return false;\n }\n }\n return true;\n }\n\n (function () {\n var touches = [];\n window.addEventListener('pageshow', function () {\n AFMA_ReceiveMessage('onshow');\n });\n var startTouch;\n var endTouch;\n var touchStartTime;\n var upCounts = 0;\n var downCounts = 0;\n var moveCounts = 0;\n var cancelCounts = 0;\n var touchDuration;\n\n document.addEventListener('touchstart', function (e) {\n touchStartTime = Date.now();\n startTouch = e.touches[0];\n downCounts++;\n });\n\n document.addEventListener('touchend', function (e) {\n touchDuration = Date.now() - touchStartTime;\n endTouch = e.changedTouches[0];\n upCounts++;\n });\n\n document.addEventListener('touchmove', function (e) {\n moveCounts++;\n });\n\n document.addEventListener('touchcancel', function (e) {\n cancelCounts++;\n });\n\n var AFMA = function () {\n var self = this;\n this.intentCallbacks = {};\n this.intentCallbackId = 0;\n this.sentQuartiles = {};\n var clickSignalsListeners = [];\n var supposedCurrentTime = 0;\n var userSeeked = false;\n var hasSentStart = false;\n var shouldMute = false;\n\n document.addEventListener('DOMContentLoaded', function () {\n self.postMessage('tracking', {\n event: 'campaignStart',\n });\n\n var videoEl = document.querySelector('video');\n\n if (videoEl === null) {\n var errorMessage = 'Missing Video Error: No video element contained in document';\n self.postMessage('videoError', errorMessage);\n return;\n }\n\n videoEl.muted = shouldMute;\n videoEl.addEventListener('error', function () {\n var error = videoEl.error;\n self.postMessage('videoError', JSON.stringify(error));\n });\n\n videoEl.addEventListener('timeupdate', function () {\n if (!videoEl.seeking) {\n supposedCurrentTime = videoEl.currentTime;\n var quartile = Math.floor((videoEl.currentTime / videoEl.duration) * 4);\n if (quartile !== 0 && !(quartile in self.sentQuartiles)) {\n self.sentQuartiles[quartile] = true;\n var adQuartile;\n switch (quartile) {\n case 1:\n adQuartile = 'adContentFirstQuartile';\n break;\n case 2:\n adQuartile = 'adContentMidPoint';\n break;\n case 3:\n adQuartile = 'adContentThirdQuartile';\n break;\n }\n if (adQuartile) {\n self.postMessage('tracking', {\n event: adQuartile,\n });\n }\n }\n }\n });\n\n videoEl.addEventListener('stalled', function () {\n self.postMessage('videoStalled', \n JSON.stringify({\n buffered: videoEl.buffered,\n currentSrc: videoEl.currentSrc,\n currentTime: videoEl.currentTime,\n defaultPlaybackRate: videoEl.defaultPlaybackRate,\n duration: videoEl.duration,\n ended: videoEl.ended,\n error: videoEl.error,\n hidden: videoEl.hidden,\n loop: videoEl.loop,\n mediaKeys: videoEl.mediaKeys,\n mozAudioCaptured: videoEl.mozAudioCaptured,\n mozDecodedFrames: videoEl.mozDecodedFrames,\n mozFragmentEnd: videoEl.mozFragmentEnd,\n mozFrameDelay: videoEl.mozFrameDelay,\n mozHasAudio: videoEl.mozHasAudio,\n mozPaintedFrames: videoEl.mozPaintedFrames,\n mozPresentedFrames: videoEl.mozPresentedFrames,\n mozPreservesPitch: videoEl.mozPreservesPitch,\n muted: videoEl.muted,\n namespaceURI: videoEl.namespaceURI,\n networkState: videoEl.networkState,\n paused: videoEl.paused,\n playbackRate: videoEl.playbackRate,\n played: videoEl.played,\n preload: videoEl.preload,\n readyState: videoEl.readyState,\n seeking: videoEl.seeking,\n src: videoEl.src,\n volume: videoEl.volume,\n })\n )\n });\n\n videoEl.addEventListener('volumechange', function () {\n self.postMessage('volumeChanged', {\n volume: videoEl.volume,\n });\n });\n\n videoEl.addEventListener('canplay', function () {\n self.postMessage('tracking', {\n event: 'adContentLoaded',\n });\n });\n\n videoEl.addEventListener('seeking', function () {\n var delta = videoEl.currentTime - supposedCurrentTime;\n if (Math.abs(delta) > 0.01) {\n videoEl.currentTime = supposedCurrentTime;\n }\n if (!userSeeked) {\n userSeeked = true;\n self.postMessage('seeked');\n }\n });\n\n videoEl.addEventListener('playing', function () {\n if (!hasSentStart) {\n hasSentStart = true;\n self.postMessage('videoStart');\n }\n });\n });\n\n this.forceOrientation = function (orientation, override, animationDuration) {\n this.postMessage('forceOrientation', {\n orientation: orientation,\n override: override,\n animationDuration: animationDuration,\n });\n };\n\n this.click = function (url) {\n var touchInfo = self.getTouchInfo();\n this.postMessage('click', url);\n };\n\n this.getClickSignals = function (cs) {\n return null;\n };\n\n this.appendClickSignals = function (url, ss) {\n return url;\n };\n\n this.getClickSignalsAsync = function (cs) {\n return new Promise(function (resolve, reject) {\n self.requestClickSignals(resolve);\n });\n };\n\n this.appendClickSignalsAsync = function (url, ss) {\n var signalsPromise = ss ? Promise.resolve(ss) : this.getClickSignalsAsync(url);\n return signalsPromise.then(function (signalsObject) {\n var clickSignals = signalsObject.encodedClickSignals;\n var query = getQueryParams(url);\n if (!query.ms) {\n if (isObjectEmpty(query)) {\n url = url + '?ms=' + clickSignals;\n } else {\n url = url + '&ms=' + clickSignals;\n }\n }\n return url;\n });\n };\n\n this.requestClickSignals = function (resolve) {\n clickSignalsListeners.push(resolve);\n var touchInfo = this.getTouchInfo();\n this.postMessage('getClickSignals', touchInfo);\n };\n\n this.getTouchInfo = function () {\n var touchInfo = {\n counts: {\n up: upCounts,\n down: downCounts,\n move: moveCounts,\n cancel: cancelCounts,\n },\n };\n\n if (startTouch) {\n touchInfo.start = {\n x: startTouch.clientX || 0.0,\n y: startTouch.clientY || 0.0,\n };\n }\n\n if (endTouch) {\n touchInfo.end = {\n x: endTouch.clientX || 0.0,\n y: endTouch.clientY || 0.0,\n };\n (touchInfo.diameter = endTouch.radiusX * 2), (touchInfo.pressure = endTouch.force || 0.0);\n }\n\n if (touchDuration) {\n touchInfo.duration = touchDuration;\n }\n\n return touchInfo;\n };\n\n this.onReceiveClickSignals = function (signals) {\n for (var i = 0, len = clickSignalsListeners.length; i < len; i++) {\n clickSignalsListeners[i](signals);\n }\n clickSignalsListeners = [];\n };\n\n this.onReceiveMuteChange = function (isMuted) {\n var videoEl = document.querySelector('video');\n if (videoEl) {\n videoEl.muted = isMuted;\n } else {\n shouldMute = isMuted;\n }\n };\n\n this.notifyRewardedVideoStart = function () {\n // Do nothing, but leave so Admob can continue calling it\n };\n\n this.grantReward = function () {\n this.postMessage('grantReward');\n };\n\n this.close = function (notifyParent) {\n this.postMessage('close');\n };\n\n this.disableBackButton = function (disabled) {\n this.postMessage('disableBackButton', {\n disabled: disabled,\n });\n };\n\n this.openIntent = function (url, action, mimeType) {\n this.postMessage('openIntent', {\n url: url,\n action: action,\n mimeType: mimeType,\n });\n return false;\n };\n\n this.openIntentExtended = function (params) {\n return this.openIntent(params.url, params.action, params.mimeType);\n };\n\n this.openUrl = function (url) {\n this.postMessage('openUrl', url);\n };\n\n this.openDeepLinkUrl = function (url, callback, failIfUnsure, packageName) {\n this.postMessage('openUrl', url);\n callback();\n };\n\n this.openBrowser = function (url) {\n this.postMessage('openUrl', url);\n };\n\n this.openNativeApp = function (url) {\n this.postMessage('openUrl', url);\n };\n\n this.openSystemBrowser = function (url, options) {\n this.postMessage('openUrl', url);\n };\n\n this.openStoreOverlay = function (url) {\n this.postMessage('openStoreOverlay', {\n url: url,\n });\n };\n\n this.openInAppStore = function (productId, url, waitForFetch) {\n this.postMessage('openInAppStore', {\n productId: productId,\n url: url,\n });\n };\n\n this.fetchAppStoreOverlay = function (productId) {\n this.postMessage('fetchAppStoreOverlay', {\n productId: productId,\n });\n };\n\n this.canOpenUrls = function (urls, callback, timeoutCallback, timeoutMillis) {\n var canDo = {};\n \n if (urls.length) {\n for (var i = 0; i < urls.length; i++) {\n canDo[urls[i]] = true;\n }\n } else {\n canDo[urls] = true;\n }\n callback('openableURLs', canDo);\n };\n\n this.canOpenIntents = function (intents, callback, timeoutCallback, timeoutMillis) {\n var id = self.intentCallbackId++;\n self.intentCallbacks[id] = {\n callback: callback,\n timer: setTimeout(function () {\n timeoutCallback();\n delete self.intentCallbacks[id];\n }, timeoutMillis),\n };\n this.postMessage('openableIntents', {\n id: id,\n intents: intents,\n });\n };\n\n this.postMessage = function (event, data) {\n window.parent.postMessage(\n {\n type: 'afma',\n event: event,\n value: data,\n },\n '*'\n );\n };\n\n this.handleOpenableIntentResponse = function (response) {\n var callbackId = response.id;\n var resolutions = response.results;\n if (callbackId in self.intentCallbacks) {\n var callback = self.intentCallbacks[callbackId].callback;\n callback('openableIntents', resolutions);\n clearTimeout(self.intentCallbacks[callbackId].timer);\n delete self.intentCallbacks[callbackId];\n }\n };\n\n // MRAID proxy functions\n this.setOrienationProperties = function (properties) {\n window.mraid.setOrienationProperties(properties);\n };\n\n this.useCustomClose = function (uses) {};\n\n window.addEventListener('message', function (e) {\n if (e.data.type === 'afma') {\n if (e.data.event === 'back') {\n console.log('calling AFMA back function', e);\n AFMA_ReceiveMessage('onbackblocked');\n } else if (e.data.event === 'openableIntentsResponse') {\n self.handleOpenableIntentResponse(e.data.value);\n } else if (e.data.event === 'clickSignals') {\n console.log('recieved click signals', e);\n self.onReceiveClickSignals(e.data.value);\n } else if (e.data.event === 'muteChange') {\n console.log('received mute change', e);\n self.onReceiveMuteChange(e.data.value);\n }\n }\n });\n };\n \n window.unity = window.unity || {};\n window.unity.afma = new AFMA();\n })();\n",t},o=(r(47977),r(32135)),i=r(78371),a=function(){var t=document.createElement("script");return t.type="text/javascript",t.src="https://webview.unityads.unity3d.com/unity-ads-sdk-webview/mraid.0.0.4.js",t},c=function(t){var e=o.TH.getState(),r=e.native,n=e.impressionConfig,a=r,c=a.bundleId,u=a.limitAdTracking,l=a.sdkVersionName,s=n.coppaCompliant,f=t===i.zc.Banner?"inline":"interstitial",p={bundleId:c,coppaCompliant:s,limitAdTracking:u,placementType:f,sdkVersionName:l},d=document.createElement("script");return d.type="text/javascript",d.textContent="\n window.placementType = '".concat(f,"';\n window.MRAID_ENV = ").concat(JSON.stringify(p),";\n "),d},u=function(t){var e=document.createElement("script");return e.type="text/javascript",e.src=t,e}},45466:function(t,e,r){"use strict";r.d(e,{I:function(){return Ot}}),r(20462),r(89734),r(79730),r(86102),r(49922),r(3960),r(99029),r(95929),r(62141),r(40289),r(41414),r(38379),r(5229),r(67238),r(74837),r(37406),r(67890),r(1645);var n=r(82400),o=r(78371),i=(r(21852),r(51216),r(27035),r(9347),r(77225),r(17326),r(11397),r(53133),r(20144),r(7300),r(48298),r(66964),r(99143),r(33912)),a=r(5049),c=r(44609),u=r(27968),l=r(72320),s=r(32135),f=function(t){var e;if(t){var r=(s.TH.getState().impressionConfig||{}).getExperimentation,o=null==r||null===(e=r("hlsUrlsByCreativeId",!0))||void 0===e?void 0:e[t];if("string"==typeof o&&0!==o.trim().length)if(null==r?void 0:r("useVideojs")){if(window.videojs)return o;n.ap.emitDiagnostic("genericDiagnostic",{message:"HLS video requested without videojs loaded"})}else n.ap.emitDiagnostic("genericDiagnostic",{message:"HLS video requested without videojs enabled"})}},p=(r(19349),r(36576)),d=(r(38840),r(39531)),h=function(t,e){return Promise.all(t.map((function(t){return(0,d.A_)({priority:e,url:t}).then((function(e){return[t,e]})).catch((function(){return[t,void 0]}))}))).then((function(t){return Object.fromEntries(t)}))},y=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];if((0,p.K)())return h(e,100),Promise.resolve(e);var o=e.map((function(t){return new Promise((function(e,r){n.ap.emitDiagnostic("imagePreload");var o=performance.now(),i=new Image,a=setTimeout((function(){n.ap.emitDiagnostic("imagePreloadTimeout",{},2e3),e(t)}),2e3);i.onload=function(){n.ap.emitDiagnostic("imagePreloadComplete",{},performance.now()-o),clearTimeout(a),e(t)},i.onerror=function(){n.ap.emitDiagnostic("imagePreloadError",{},performance.now()-o),clearTimeout(a),r(new u.z("Failed to load image",!0))},i.src=t}))}));return Promise.all(o)};function v(t){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v(t)}function m(){m=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,i)&&(y=b);var w=h.prototype=p.prototype=Object.create(y);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==v(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,n(w,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),u(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function b(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}r(79537),r(62087),r(36927);var w=function(){var t,e=(t=m().mark((function t(e){var r,o,i,a,c,u,l;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=performance.now(),window.caches){t.next=4;break}return n.ap.emitDiagnostic("videoPreloadManualModeNotSupported"),t.abrupt("return",e);case 4:return t.next=6,window.caches.open("video-preload");case 6:return o=t.sent,t.next=9,o.match(e);case 9:if(!(i=t.sent)){t.next=17;break}return n.ap.emitDiagnostic("videoPreloadManualModeUsedCache",{},performance.now()-r),t.next=14,i.blob();case 14:a=t.sent,t.next=26;break;case 17:return t.next=19,fetch(e);case 19:return c=t.sent,n.ap.emitDiagnostic("videoPreloadManualModeUsedFetch",{},performance.now()-r),t.next=23,Promise.all([o.put(e,c.clone()),c.blob()]);case 23:u=t.sent,f=2,l=function(t){if(Array.isArray(t))return t}(s=u)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(s,f)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(s,f)||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=l[1];case 26:return t.abrupt("return",URL.createObjectURL(a));case 27:case"end":return t.stop()}var s,f}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){b(i,n,o,a,c,"next",t)}function c(t){b(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),O=r(46169),S=r(10884);function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}function x(){x=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(L([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==E(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function j(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var P=function(){var t,e=(t=x().mark((function t(e){var r,o,i,a,c,l,f,d,y,v;return x().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=s.TH.getState(),o=r.impressionConfig,i=(o||{}).getExperimentation,a=!(null==i||!i("usePreloadVideo")),c=!(null==i||!i("useCanPlayThrough")),l=(0,S.r)(),f=(0,p.K)(),d=[],!f){t.next=13;break}return t.next=10,h(e,0).then((function(){return e}));case 10:d=t.sent,t.next=20;break;case 13:if(!a){t.next=19;break}return t.next=16,Promise.all(e.map(w));case 16:d=t.sent,t.next=20;break;case 19:d=e;case 20:return y=performance.now(),n.ap.emitDiagnostic("videoPreload"),(v=document.createElement("video")).preload="auto",v.poster="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",v.playsInline=!0,v.style.cssText="transform: translate3d(0,0,0); height: 100%; width: 100%;",v.setAttribute("data-testid","video-player"),t.abrupt("return",new Promise((function(t,e){var r,o,i=setTimeout((function(){n.ap.emitDiagnostic("videoPreloadTimeout",{},1e3),t(d)}),1e3);v.onloadedmetadata=function(){n.ap.emitDiagnostic("videoPreloadMetadataComplete",{},performance.now()-y),c||(clearTimeout(i),t(d))},v.oncanplaythrough=function(){n.ap.emitDiagnostic("videoPreloadCanPlayThrough",{},performance.now()-y),c&&(clearTimeout(i),t(d))},v.onloadstart=function(){clearTimeout(i)},v.onloadeddata=function(){n.ap.emitDiagnostic("videoPreloadComplete",{},performance.now()-y)},v.onerror=function(){var t;n.ap.emitDiagnostic("videoPreloadError",{},performance.now()-y),clearTimeout(i),e(new u.z((null===(t=v.error)||void 0===t?void 0:t.message)||"Failed to load video",!0))},d.forEach((function(t){var e=document.createElement("source"),r=(0,O.Y)(t);"mp4"===r?e.type="video/mp4":"webm"===r?e.type="video/webm":"m3u8"===r&&(n.ap.emitDiagnostic("genericDiagnostic",{message:"HLS selected"}),e.type="application/x-mpegURL",v.setAttribute("data-use-hls","true")),e.src=t,v.appendChild(e)})),s.TH.setState({videoElement:v}),l&&s.TH.setState({videojsPlayer:null===(r=(o=window).videojs)||void 0===r?void 0:r.call(o,v)}),v.load()})));case 29:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){j(i,n,o,a,c,"next",t)}function c(t){j(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function k(t){return k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k(t)}function L(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){A(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function A(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==k(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===k(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function T(t,e){if(t){if("string"==typeof t)return C(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function I(){I=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==k(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function D(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function N(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){D(i,n,o,a,c,"next",t)}function c(t){D(i,n,o,a,c,"throw",t)}a(void 0)}))}}var R,Z,F=function(t){return"string"==typeof t&&t.trim().length>0},G=function(t,e,r){return r.indexOf(t)===e},M=function(t,e){var r=e===l.i5.Landscape;return F(t.endScreen)?t.endScreen:r&&F(t.endScreenLandscape)?t.endScreenLandscape:!r&&F(t.endScreenPortrait)?t.endScreenPortrait:null},U=function(t,e){var r=f(t.portraitCreativeId),n=f(t.creativeId),o={trailerDownloadable:{creativeId:t.creativeId,orientation:l.i5.Landscape,src:n||t.trailerDownloadable},trailerPortraitDownloadable:{creativeId:t.portraitCreativeId,orientation:l.i5.Portrait,src:r||t.trailerPortraitDownloadable},trailerPortraitStreaming:{creativeId:t.portraitCreativeId,orientation:l.i5.Portrait,src:r||t.trailerPortraitStreaming},trailerStreaming:{creativeId:t.creativeId,orientation:l.i5.Landscape,src:n||t.trailerStreaming}},i=["trailerDownloadable","trailerStreaming","trailerPortraitDownloadable","trailerPortraitStreaming"];e===l.i5.Portrait&&(i=["trailerPortraitDownloadable","trailerPortraitStreaming","trailerDownloadable","trailerStreaming"]);var a=i.find((function(t){return F(o[t].src)}));if(a)return o[a];throw new u.z("No valid trailer found",!0)},V=function(){var t=N(I().mark((function t(e){var r,n;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,c.b)({method:"GET",url:e});case 2:return r=t.sent,t.next=5,r.text();case 5:return n=t.sent,t.abrupt("return",(0,i.Q)(n,o.zc.Comet));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),z=function(){var t=N(I().mark((function t(e){var r,n,o;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.S.getDeviceOrientation();case 2:return r=t.sent,n=[e.gameIcon,M(e,r)].filter(F).filter(G),o=U(e,r),t.abrupt("return",Promise.all([o,P([o.src]),y.apply(void 0,(i=n,function(t){if(Array.isArray(t))return C(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||T(i)||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.")}()))]));case 6:case"end":return t.stop()}var i}),t)})));return function(e){return t.apply(this,arguments)}}(),B=function(){var t=N(I().mark((function t(e){var r,n,i,a,c,u,l,s;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0,void 0,void 0,void 0,void 0,void 0,y=(h=r=JSON.parse(e.content)).trailerStreaming,v=h.trailerPortraitStreaming,m=h.trailerDownloadable,g=h.trailerPortraitDownloadable,b=h.gameIcon,w=h.mraidUrl,(m||y||g||v)&&b||w){t.next=3;break}throw new Error("Invalid comet content");case 3:if(r.mraidUrl){t.next=11;break}return t.next=6,z(r);case 6:i=t.sent,p=2,a=function(t){if(Array.isArray(t))return t}(f=i)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(f,p)||T(f,p)||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.")}(),c=a[0],u=a[1],n=u[0]?_(_({},c),{},{src:u[0]}):void 0;case 11:if(!(s=r.endScreenUrl||r.mraidUrl)){t.next=16;break}return t.next=15,V(s);case 15:l=t.sent;case 16:return t.abrupt("return",{cachedVideoAsset:n,content:_(_({},r),{},{mraidSrcDoc:l}),contentType:o.zc.Comet,media:e,willExpireAt:(d=e.cacheTTL,d?Date.now()+1e3*d:void 0)});case 17:case"end":return t.stop()}var f,p,d,h,y,v,m,g,b,w}),t)})));return function(e){return t.apply(this,arguments)}}(),Y=function(t){var e=t.adUnitID||(n.ap.emitDiagnostic("scarNoAdUnitId"),""),r=function(t){return t||(n.ap.emitDiagnostic("scarNoQueryId"),"")}(t.queryId),i=function(t,e){if(!t)return e===o.zc.GmaScarDisplay?0:(n.ap.emitDiagnostic("scarNoVideoLength"),15e3);var r=t;return t>=1e3&&(r=1e3*Math.round(t/1e3)),function(t){t>=6e4?n.ap.emitDiagnostic("scarVideoLengthValue",{bucket:"above60s"}):n.ap.emitDiagnostic("scarVideoLengthValue",{bucket:"below".concat(5*Math.ceil(t/5e3),"s")})}(r),r}(t.videoLength,t.contentType),a=t.contentType===o.zc.GmaScar?o.zc.GmaScar:o.zc.GmaScarDisplay;return{adUnitID:e,content:t.content,contentType:a,media:t,queryId:r,videoLength:i}},H=(r(92075),r(6035),r(60577)),q=r(51567),X=/^<[\s!]*\w+([\s]*>|[\s]+[\s\S]*>)[\s\S]*<[\s]*\/[\s]*\w+[\s]*>$/,W=/^<[\s]*\w+([\s]*\/[\s]*>|[\s]+[\s\S]*>)$/,$=function(t){var e;try{e=JSON.parse(t.content).markup}catch(r){e=t.content}if(!e)throw new Error("No markup contained within media content");var r,n=[o.zc.Mraid,o.zc.Display,o.zc.GmaTpsc].includes(t.contentType)&&function(t){try{return decodeURIComponent(t)!==t}catch(t){return!1}}(e)?decodeURIComponent(e).trim():e;if(r=n.trim(),!X.test(r)&&!W.test(r))throw new Error("Invalid markup passed in the ".concat(t.contentType," response"));H.u.getState().initialize(q.H6.HtmlDisplay);var a=(0,i.Q)(n,t.contentType);return t.contentType===o.zc.GmaTpsc?{content:a,contentType:o.zc.GmaTpsc,media:t}:t.contentType===o.zc.Banner?{content:a,contentType:o.zc.Banner,media:t}:{content:a,contentType:o.zc.Mraid,media:t}},J=(r(24987),r(81688),r(23550)),Q=r(2896),K=(r(47977),r(70248)),tt=r(81630);function et(t){return et="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},et(t)}function rt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==et(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===et(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t.Idfa="idfa",t.Aaid="aaid"}(Z||(Z={}));var nt=(rt(R={},K.t.Android,Z.Aaid),rt(R,K.t.Ios,Z.Idfa),R),ot=r(70913),it=function(t){var e,r,n,o,i,a=t[0],c=a.ad,u=a.linear,l=a.companion,f=new Q.VASTTracker(null,c,u.creative),p=l?new Q.VASTTracker(null,c,l.creative,null===(e=l.variations)||void 0===e?void 0:e[0]):void 0,d=(r=(s.TH.getState().native||{}).bundleId,o=(n=H.u.getState().omidData||{}).partnerName,i=n.version,{APIFRAMEWORKS:"7",APPBUNDLE:r,IFA:ot.k7.getState().advertisingTrackingId,IFATYPE:nt[(0,tt.X)()],OMIDPARTNER:"".concat(o,"/").concat(i)});return{click:function(){return f.click(void 0,d)},companionClick:function(){return null==p?void 0:p.click(void 0,d)},companionImpression:function(){return null==p?void 0:p.trackImpression(d)},complete:function(){return f.complete(d)},impression:function(){return f.trackImpression(d)},load:function(){return f.load(d)},muted:function(){return f.setMuted(!0,d)},paused:function(){return f.setPaused(!0,d)},resume:function(){return f.setPaused(!1,d)},setDuration:function(t){return f.setDuration(t)},setProgress:function(t){return f.setProgress(t,d)},setSkipDelay:function(t){return f.setSkipDelay(t)},skip:function(){return f.skip(d)},unmuted:function(){return f.setMuted(!1,d)}}},at=r(72377),ct=r(57277);function ut(t){return ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ut(t)}function lt(){lt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ut(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function st(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function ft(t){return function(t){if(Array.isArray(t))return dt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pt(t)||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 pt(t,e){if(t){if("string"==typeof t)return dt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dt(t,e):void 0}}function dt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ht=function(t,e){return"string"==typeof t&&t.trim().length>0&&-1===e.indexOf(t)},yt=function(t){return t.reduce((function(t,e){var r=e.ad,n=e.linear,i=e.companion;if(n.contentType===o.zc.Vast){var a,c=n.mediaFile.fileURL;ht(c,t.videos)&&t.videos.push(c);var u=null===(a=n.icon)||void 0===a?void 0:a.staticResource;ht(u,t.images)&&t.images.push(u)}return null==i||i.variations.forEach((function(e){var r,n,o=null===(r=e.staticResources)||void 0===r||null===(n=r[0])||void 0===n?void 0:n.url;o&&ht(o,t.images)&&t.images.push(o)})),t.containsAdVerifications=t.containsAdVerifications||r.adVerifications.length>0,t}),{containsAdVerifications:!1,images:[],videos:[]})},vt=function(){var t,e=(t=lt().mark((function t(e){var r,i,c,u,l,s,f,p,d;return lt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(new DOMParser).parseFromString(decodeURIComponent(e.content),"text/xml"),t.next=3,Promise.all([(new Q.VASTParser).parseVAST(r),a.S.getConnectionType()]);case 3:i=t.sent,v=2,c=function(t){if(Array.isArray(t))return t}(h=i)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(h,v)||pt(h,v)||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.")}(),u=c[0],l=c[1],t.prev=7,s=(0,J.AZ)(u,l),t.next=17;break;case 11:if(t.prev=11,t.t0=t.catch(7),!(t.t0 instanceof ct.x)){t.next=16;break}throw n.ap.emitDiagnostic("vpaidCampaignReceived",{seatId:null===(f=e.seatId)||void 0===f?void 0:f.toString()}),new at.AN(at.aH.NoFill,t.t0.message,!0);case 16:throw t.t0;case 17:return p=yt(s),t.next=20,void 0,void 0,g=(m=p).videos,b=m.images,Promise.all([y.apply(void 0,ft(b)),P(g)]);case 20:return p.containsAdVerifications&&H.u.getState().initialize(q.H6.Video),d=it(s),t.abrupt("return",{content:u,contentType:o.zc.Vast,media:e,preloadedContent:s,vastTracker:d});case 23:case"end":return t.stop()}var h,v,m,g,b}),t,null,[[7,11]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){st(i,n,o,a,c,"next",t)}function c(t){st(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),mt=function(t){switch(t.contentType){case o.zc.Comet:return B;case o.zc.Vast:return vt;case o.zc.Mraid:case o.zc.Display:case o.zc.GmaTpsc:case o.zc.Banner:return $;case o.zc.GmaScar:case o.zc.GmaScarDisplay:return Y;default:throw new Error("Could not parse content: ".concat(t.contentType))}};function gt(t){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(t)}function bt(){bt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==gt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function wt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ot=function(){var t,e=(t=bt().mark((function t(e){var r,o;return bt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=mt(e),t.next=3,r(e);case 3:return o=t.sent,n.ap.emit("adViewerInitInProgress",{type:n.ah.MediaParsed}),t.abrupt("return",o);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){wt(i,n,o,a,c,"next",t)}function c(t){wt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}()},23550:function(t,e,r){"use strict";r.d(e,{AZ:function(){return p}}),r(27035),r(20462),r(1645),r(9347),r(19349);var n,o=r(78371),i=r(57277),a=(r(24987),r(92075),["video/mp4","video/webm"]);!function(t){t[t.CellMin=512e3]="CellMin",t[t.CellMax=3072e3]="CellMax",t[t.WifiMin=512e4]="WifiMin",t[t.WifiMax=1024e4]="WifiMax",t[t.SdkMax=2048e4]="SdkMax"}(n||(n={}));var c={cellular:{max:n.CellMax,min:n.CellMin},none:void 0,wifi:{max:n.WifiMax,min:n.WifiMin}},u=function(t,e){return function(r){return r>=t&&r<=e}},l=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cellular",o=null!==(e=c[r])&&void 0!==e?e:c.cellular,i=o.min,a=o.max,l=u(i,a),s=t.reduce((function(t,e){var r=t||{},o=r.fileSize,a=void 0===o?0:o,c=r.bitrate,u=void 0===c?0:c,s=e.fileSize,f=void 0===s?0:s,p=e.bitrate;return f>n.SdkMax?t:l(f)&&(f<a||!l(a))?e:l(a)?t:t?Math.abs(f-i)<Math.abs(a-i)||p<u?e:t:e}),void 0);return s},s=function(t){var e=t.creatives.find((function(t){return"companion"===t.type}));return e?{creative:e,variations:e.variations}:null},f=function(t,e){var r=t.creatives.find((function(t){return"linear"===t.type}));if(!r)return null;var n=r.icons.find((function(t){return Boolean(t.staticResource)}))||null,c=function(t){return t.reduce((function(t,e){return function(t){var e=!!t.mimeType&&a.includes(t.mimeType);return!!t.fileURL&&e}(e)?(t.video.push(e),t):function(t){return!!t.fileURL&&"VPAID"===t.apiFramework}(e)?(t.vpaid.push(e),t):(t.others.push(e),t)}),{others:[],video:[],vpaid:[]})}(r.mediaFiles),u=l(c.video,e);if(u)return{contentType:o.zc.Vast,creative:r,icon:n,mediaFile:u,mediaFiles:c.video};if(l(c.vpaid,e))throw new i.x("VPAID is not supported");return null},p=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cellular";if(!t.ads.length)throw new Error("No VastAds in VAST response");var r=t.ads.slice(0,1),n=r.map((function(t){var r=f(t,e);return r?{ad:t,companion:s(t),linear:r}:null})).filter((function(t){return null!==t}));if(0===n.length)throw new Error("Nothing to render in Vast ad");return n}},32350:function(t,e,r){"use strict";r(99029),r(20462),r(89734),r(95929),r(62141),r(81688),r(79730),r(86102),r(49922),r(3960),r(40289),r(41414),r(38379),r(5229),r(67238),r(74837),r(37406),r(67890),r(1645);var n,o=r(92928),i=r(68740),a=(r(11397),r(53133),r(20144),r(69223),r(46689)),c=r(27968);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function l(t,e){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},l(t,e)}function s(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return f(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function d(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===u(e)?e:String(e)}!function(t){t.Skipped="SKIPPED",t.Completed="COMPLETED",t.Error="ERROR"}(n||(n={}));var h,y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(i,t);var e,r,n,o=(r=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=p(r);if(n){var o=p(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return s(this,t)});function i(t,e,r){var n,a,c,u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,e,r)).code=t,a=f(n),u="ShowError",(c=d(c="name"))in a?Object.defineProperty(a,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[c]=u,n}return e=i,Object.defineProperty(e,"prototype",{writable:!1}),e}(c.Z);!function(t){t.NotInitialized="NOT_INITIALIZED",t.NotReady="NOT_READY",t.VideoPlayerError="VIDEO_PLAYER_ERROR",t.InvalidArgument="INVALID_ARGUMENT",t.NoConnection="NO_CONNECTION",t.AlreadyShowing="ALREADY_SHOWING",t.InternalError="INTERNAL_ERROR"}(h||(h={})),(0,a.Z)(a.r.Ads,"Show");var v,m=r(43426),g={hand:{actions:{back:"idle"},template:"hand_template"},idle:{actions:{hand:"hand"}}},b=(0,m.M)((function(t,e){return{fsm:g,hasConsentScreen:function(){return void 0!==e().fsm.pre},isOpen:!1,navigationStack:[],screen:g.idle}})),w=(r(92075),r(6035),r(19349),r(60923),r(7300),r(9347),r(48298),r(66964),r(99143),r(77225),r(17326),r(55511),r(65549),new Set),O=function(){return w.clear()},S=r(78371),E=function(t){var e=(0,S.zd)(t);if(e||(0,S.Um)(t)){var r=e?t.content.gameName:void 0,n=t.media.buyerId,o=n&&function(t){return["directdemandheaderbidding","direct-demand","comet"].includes(t)?"Unity Ads":t}(n);return{paidBy:o,productName:r}}},x=r(32135);!function(t){t[t.Bottom=0]="Bottom",t[t.BottomRaised=1]="BottomRaised"}(v||(v={}));var j=(0,a.Z)(a.r.Ads,"Overlay","SKOVERLAY"),P=r(70248),k=r(81630),L=function(t){if((0,k.X)()===P.t.Ios){if(t.media.skadn)return t.media.skadn;if(t.contentType===S.zc.Comet){var e=t.content.appStoreId;return e?{itunesitem:e}:void 0}}},_=(r(79537),r(72320)),A=r(69081),T=function(){return(0,A.T)(window.innerWidth,window.innerHeight)},C=r(85544),I=(0,m.M)((function(t,e){return{checkAppSheetAvailability:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=e(),n=r.isSupported,o=r.isPrepared;if(!n||!o)return!1;var i=(0,x.S3)().getState().native,a=i.osVersion,c=i.sdkVersion,u=i.deviceModel,l=(0,x.S3)().getState().placement.skipEndCardOnClose,s=T()===_.i5.Landscape,f=(0,C.k)(a),p=u.match(/iphone/i)||u.match(/ipod/i);return!(p&&s&&f<14&&c<3510||[17,17.1,17.2].includes(f)&&s&&t&&l)},isOpen:!1,isPrepared:!1,isSupported:!1,preparePromise:null}})),D=(r(27035),/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i),N=function(t){return D.test(t)};function R(t){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},R(t)}function Z(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){G(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function G(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==R(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==R(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===R(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var M,U=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.itunesitem;if(n){var o={adNetworkAttributionSignature:t.signature,adNetworkCampaignId:t.campaign?Number(t.campaign):void 0,adNetworkId:t.network,adNetworkImpressionTimestamp:t.timestamp?Number(t.timestamp):void 0,adNetworkNonceString:t.nonce,adNetworkPayloadVersion:t.version,adNetworkSourceAppStoreIdentifier:t.sourceapp?Number(t.sourceapp):0,adNetworkSourceIdentifier:t.campaign?Number(t.campaign):void 0,id:Number(n)},i=null===(e=t.fidelities)||void 0===e?void 0:e.find((function(t){return 1===t.fidelity}));if(!i)return o;var a=i.signature,c=i.timestamp,u=i.nonce;return void 0===u||N(u)||(u=void 0),F(F({},o),{},{adNetworkAttributionSignature:a,adNetworkImpressionTimestamp:c?Number(c):void 0},r?{adNetworkNonce:u}:{adNetworkNonceString:u})}},V=(0,a.Z)(a.r.Store,"AppSheet","APPSHEET"),z=r(43213),B=r(15901);function Y(t){return Y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Y(t)}function H(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Y(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Y(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var q,X=(H(M={},z.J.AdViewer,(function(t,e){return i.z.invoke("prepareAppSheet",t,e)})),H(M,z.J.Webview,(function(t,e){return V.invoke("prepareImmediate",t,e)})),M)[(0,B.k)()];function W(t){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},W(t)}function $(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==W(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===W(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var J,Q=($(q={},z.J.AdViewer,(function(t,e){return i.z.invoke("openAppSheet",t,e)})),$(q,z.J.Webview,(function(t,e){return V.invoke("presentWithTopViewControllerSupport",t,e).catch((function(t){throw Array.isArray(t)?t[0]:t}))})),q)[(0,B.k)()];function K(t){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}function tt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==K(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==K(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===K(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var et,rt=(tt(J={},z.J.AdViewer,(function(t){return t?i.z.invoke("destroyAppSheet",t):i.z.invoke("destroyAppSheet")})),tt(J,z.J.Webview,(function(t){return t?V.invoke("destroy",t):V.invoke("destroy")})),J)[(0,B.k)()];function nt(t){return nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nt(t)}function ot(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==nt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==nt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===nt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var it=(ot(et={},z.J.Webview,(function(t){return V.on("CLOSED",t)})),ot(et,z.J.AdViewer,(function(t){return i.z.on("APPSHEET_CLOSED",t)})),et)[(0,B.k)()];function at(t){return at="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},at(t)}function ct(){ct=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==at(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ut(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var lt=function(){var t,e=(t=ct().mark((function t(e){var r,n,i;return ct().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(I.getState().isSupported){t.next=2;break}return t.abrupt("return");case 2:if(r=L(e)){t.next=5;break}return t.abrupt("return");case 5:if(n=U(r)){t.next=8;break}return t.abrupt("return");case 8:return t.prev=8,i=X(n,3e4),I.setState({preparePromise:i}),t.next=13,i;case 13:I.setState({isPrepared:!0,preparePromise:null}),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(8),I.setState({isPrepared:!1,preparePromise:null}),o.Tb(t.t0);case 20:case"end":return t.stop()}}),t,null,[[8,16]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ut(i,n,o,a,c,"next",t)}function c(t){ut(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function st(t){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},st(t)}function ft(){ft=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==st(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function pt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var dt=function(){var t,e=(t=ft().mark((function t(e){var r,n;return ft().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(I.setState({isSupported:!1}),e){t.next=11;break}return t.prev=2,t.next=5,rt();case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),o.Tb(t.t0);case 10:return t.abrupt("return");case 11:if(r=L(e)){t.next=14;break}return t.abrupt("return");case 14:return n=U(r),t.prev=15,t.next=18,rt(n);case 18:t.next=23;break;case 20:t.prev=20,t.t1=t.catch(15),o.Tb(t.t1);case 23:case"end":return t.stop()}}),t,null,[[2,7],[15,20]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){pt(i,n,o,a,c,"next",t)}function c(t){pt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),ht=r(82400),yt=function(t,e){ht.ap.emit("userInteractionError",{errorMessage:t instanceof Error?t.message:"unknown",osv:e.osv?(0,C.k)(e.osv):void 0,reason:e.type,type:"campaignOpenUrlCallError",url:e.url})};function vt(t){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(t)}function mt(){mt=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==vt(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function gt(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function bt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){gt(i,n,o,a,c,"next",t)}function c(t){gt(i,n,o,a,c,"throw",t)}a(void 0)}))}}var wt,Ot=["ALREADY_PRESENTING","APPSHEET_NOT_FOUND","AppSheet View Controller present action requested when in state presenting.","AppSheet View Controller present action requested when in state initialized."],St=function(t){return Ot.includes(t)},Et=function(){var t=bt(mt().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p,d,h,y,v,m,g=arguments;return mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a=g.length>2&&void 0!==g[2]?g[2]:0,c=I.getState(),u=c.preparePromise,l=null===(n=(0,x.S3)().getState().native)||void 0===n?void 0:n.osVersion,!u){t.next=11;break}return t.prev=4,t.next=7,u;case 7:t.next=11;break;case 9:t.prev=9,t.t0=t.catch(4);case 11:if(s=I.getState(),f=s.isOpen,p=null===(o=L(e))||void 0===o?void 0:o.itunesitem,d=(0,S.zd)(e)?e.content.appleProductPageId:null===(i=e.media.dsp)||void 0===i?void 0:i.productPage,h={id:Number(p),ppid:d},!f){t.next=23;break}return t.prev=16,t.next=19,lt(e);case 19:t.next=23;break;case 21:t.prev=21,t.t1=t.catch(16);case 23:return t.prev=23,y=it(bt(mt().mark((function t(){var r;return mt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return I.setState({isOpen:!1}),t.next=3,lt(e);case 3:null===(r=y)||void 0===r||r();case 4:case"end":return t.stop()}}),t)})))),t.next=27,Q(h,r);case 27:return v=t.sent,I.setState({isOpen:v}),t.abrupt("return",f);case 32:if(t.prev=32,t.t2=t.catch(23),null===(m=y)||void 0===m||m(),!St(t.t2)){t.next=44;break}return t.next=38,rt();case 38:return t.next=40,lt(e);case 40:if(!(a<3)){t.next=44;break}return t.next=43,Et(e,r,a+1);case 43:return t.abrupt("return",t.sent);case 44:throw I.setState({isOpen:!1,isPrepared:!1}),yt(t.t2,{attempt:a,osv:l,type:"openAppSheet"}),t.t2;case 47:case"end":return t.stop()}}),t,null,[[4,9],[16,21],[23,32]])})));return function(e,r){return t.apply(this,arguments)}}();function xt(t){return xt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xt(t)}function jt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==xt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==xt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===xt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Pt=(jt(wt={},v.Bottom,"100"),jt(wt,v.BottomRaised,"150"),wt),kt=[9e3,9541],Lt=function(t,e,r){var n,o=r.clickableVideoPublisherOptOut,i=r.skOverlayPublisherOptOut,a=r.skipToAppSheetPublisherOptOut,c=r.sdkVersion,u=r.osVersion,l=t.media,s=l.dsp,f=l.seatId,p=function(t,e){var r,n,o=null==t?void 0:t.adText;if(o&&(r=e,n=o,Array.isArray(r)&&void 0!==n&&r.includes(n)))return o}(s,e("ctaAdTextAllowList")),d=function(t,e){return!e&&!!(null==t?void 0:t.clickableVideo)}(s,o),h=function(t){var e,r=t.dspConfig,n=t.skOverlayPublisherOptOut,o=t.sdkVersion,i=t.osVersion,a=t.campaign;if((0,k.X)()===P.t.Ios){var c=L(a),u=null==c?void 0:c.itunesitem;if(c&&u&&!(o<4100)){var l=(0,C.k)(i);if(!(l<14||[17,17.1,17.2].includes(l)||n)){if((0,S.zd)(a))return{dismissible:!1,position:v.Bottom,videoDelay:2e3};if(null==r||null===(e=r.skadn)||void 0===e?void 0:e.skOverlay){var s,f=null===(s=r.skadn)||void 0===s?void 0:s.skOverlayConfig;return{dismissible:(null==f?void 0:f.dismissable)||!0,position:(null==f?void 0:f.position)||v.Bottom,videoDelay:1e3*((null==f?void 0:f.videoDelay)||5e3)}}}}}}({campaign:t,dspConfig:s,osVersion:u,sdkVersion:c,skOverlayPublisherOptOut:i}),y=null!==(n=!e("playableEndScreenCTAPublisherOptOut"))&&void 0!==n&&n,m=function(t,e,r){var n,o;return!(!I.getState().isSupported||e||(null===(n=null==t||null===(o=t.skadn)||void 0===o?void 0:o.ask)||void 0===n||!n)&&(!r||!kt.includes(r)))}(s,a,f);return{clickableVideoEnabled:d,customCtaText:p,playableEndScreenEnabled:y,skOverlayConfig:h,skipToAppSheetEnabled:m}},_t=function(t){return function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=null==t?void 0:t[e];return n?r?JSON.parse(n):n:null}},At=r(39531),Tt=(r(92065),(0,a.Z)(a.r.Store,"SKAdNetwork","SKADNETWORK"));function Ct(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function It(t){return It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},It(t)}function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(r),!0).forEach((function(e){Rt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==It(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==It(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===It(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(12684),r(47977),r(25345);var Ft,Gt=function(t){if(e=(0,x.S3)().getState().native.osVersion,r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Zt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zt(t,e):void 0}}(t,e)||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.")}()}(e.split("."),3),n=r[0],o=r[1],i=void 0===o?"0":o,a=r[2],c=void 0===a?"0":a,u=parseFloat("".concat(n,".").concat(i)),l=parseInt(c,10),u>14.5||14.5===u&&l>=1)return function(t){var e=t.media.skadn;if(e){var r=e.fidelities,n=e.itunesitem,o=null==r?void 0:r.find((function(t){return 0===t.fidelity}));if(o&&n){var i=e.sourceapp,a=e.campaign,c=e.network,u=e.version,l=o.timestamp,s=o.nonce,f=o.signature,p=Number(i),d=Number(n),h=Number(a),y=Number(l);if(![p,d,h,y].some(Number.isNaN)&&c&&s&&f&&u)return Nt(Nt({},{adImpressionIdentifier:s,adNetworkIdentifier:c,advertisedAppStoreItemIdentifier:d,signature:f,sourceAppStoreItemIdentifier:p,timestamp:y,version:u}),{},"4.0"===u?{sourceIdentifier:h}:{adCampaignIdentifier:h})}}}(t);var e,r,n,o,i,a,c,u,l};function Mt(t){return Mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(t)}function Ut(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vt,zt=(Ut(Ft={},P.t.Android,void 0),Ut(Ft,P.t.Ios,(function(t){var e=Gt(t);if(e)return function(t){var e=[];return new Promise((function(r,n){e.push(Tt.on("START_IMPRESSION_SUCCESS",(function(){return r()})),Tt.on("START_IMPRESSION_FAILED",(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ct(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ct(t,e):void 0}}(t,e)||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.")}()}(t,1)[0];return n(e)}))),Tt.invoke("startImpression",t).catch((function(t){return n(t)}))})).finally((function(){return e.map((function(t){return t()}))}))}(e)})),Ft),Bt=zt[(0,k.X)()];function Yt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}function qt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ht(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ht(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ht(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xt,Wt=(qt(Vt={},P.t.Android,void 0),qt(Vt,P.t.Ios,(function(t){var e=Gt(t);if(e)return function(t){var e=[];return new Promise((function(r,n){e.push(Tt.on("END_IMPRESSION_SUCCESS",(function(){return r()})),Tt.on("END_IMPRESSION_FAILED",(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Yt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yt(t,e):void 0}}(t,e)||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.")}()}(t,1)[0];return n(e)}))),Tt.invoke("endImpression",t).catch((function(t){return n(t)}))})).finally((function(){return e.map((function(t){return t()}))}))}(e)})),Vt),$t=Wt[(0,k.X)()];function Jt(t){return Jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jt(t)}function Qt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Jt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Jt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Jt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kt,te=(Qt(Xt={},P.t.Android,void 0),Qt(Xt,P.t.Ios,dt),Xt)[(0,k.X)()];function ee(t){return ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function re(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ee(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ee(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ee(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ne=(re(Kt={},P.t.Android,void 0),re(Kt,P.t.Ios,lt),Kt)[(0,k.X)()],oe=r(70913);function ie(t){return ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ie(t)}function ae(t){return function(t){if(Array.isArray(t))return ce(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ce(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(t,e):void 0}}(t)||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 ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ue(){ue=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ie(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function le(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function se(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){le(i,n,o,a,c,"next",t)}function c(t){le(i,n,o,a,c,"throw",t)}a(void 0)}))}}function fe(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pe(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fe(Object(r),!0).forEach((function(e){de(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function de(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ie(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ie(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r(51216),r(13828);var he,ye=function(t){var e,r=null===(e=b.getState().screen.actions)||void 0===e?void 0:e[t];return"close"===r||!r&&"back"===t?{next:"idle"}:"string"==typeof r?{next:r}:r},ve=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,e=(0,oe.PP)().getState(),r=e.disableConsentScreen,n=pe(pe({},t),{},{idle:t.idle||g.idle}),o=!r&&n.pre,i=o?n.pre:n.idle;b.setState({fsm:n,isOpen:!!i.template,screen:i})},me=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,e=b.getState(),r=e.fsm;void 0!==r.pre&&ve(t);var n=pe(pe({},t),{},{idle:t.idle||g.idle});b.setState({fsm:n})},ge=function(){var t=se(ue().mark((function t(e,r,n){var o,i,a,c,u,l;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r&&oe.k7.getState().updateContext(r),e&&me(e),a=b.getState(),c=(0,oe.PP)().getState(),u={adsPlayer:n||a.adsPlayer,ctx:pe(pe({},c.context),r),flow:(null==r?void 0:r.privacyFlow)||c.context.privacyFlow,fsm:JSON.stringify(e||a.fsm)},null!==(o=u.ctx)&&void 0!==o&&o.recordedPermissions&&(u.ctx.currentPermissions=null===(l=u.ctx)||void 0===l?void 0:l.recordedPermissions),t.next=8,null===(i=a.persistFsm)||void 0===i?void 0:i.call(a,u);case 8:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),be=function(){var t=se(ue().mark((function t(){var e,r,n,o,i,a;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=b.getState(),o=(0,oe.PP)().getState(),i={adsPlayer:n.adsPlayer,ctx:o.context,flow:o.context.privacyFlow,fsm:JSON.stringify(n.fsm)},null!==(e=i.ctx)&&void 0!==e&&e.recordedPermissions&&(i.ctx.currentPermissions=null===(a=i.ctx)||void 0===a?void 0:a.recordedPermissions),t.next=6,null===(r=n.persistFsm)||void 0===r?void 0:r.call(n,i);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),we=function(t,e){var r;return Object.keys(t).length>0&&(r=JSON.stringify(t)),(0,oe.PP)().getState().sendPrivacyUpdate({content:r,type:e,version:1})},Oe=function(){var t=se(ue().mark((function t(e){var r,n,o,i,a;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.content){t.next=9;break}if(!(r=JSON.parse(e.content)).error){t.next=6;break}return n=(0,oe.PP)().getState(),null==(o=n.onPrivacyUpdateError)||o("Privacy update response failed. ErrorCode: ".concat(r.error.code,". Error: ").concat(r.error.message)),t.abrupt("return");case 6:if(!r.body){t.next=9;break}return t.next=9,ge(null===(i=r.body)||void 0===i?void 0:i.fsm,null===(a=r.body)||void 0===a?void 0:a.context);case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Se=function(){var t=se(ue().mark((function t(e,r){var n,o,i,a,c,u;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.operationType,o=e.parameters,n){t.next=3;break}return t.abrupt("return");case 3:return i=pe(pe({},o),r),t.prev=4,t.next=7,we(i,n);case 7:a=t.sent,t.next=15;break;case 10:return t.prev=10,t.t0=t.catch(4),c=(0,oe.PP)().getState(),null==(u=c.onPrivacyUpdateError)||u("Privacy update request failed. Action: ".concat(e.operationType,", Type: ").concat(n,". Error: ").concat(t.t0)),t.abrupt("return");case 15:return t.next=17,Oe(a);case 17:case"end":return t.stop()}}),t,null,[[4,10]])})));return function(e,r){return t.apply(this,arguments)}}(),Ee=function(){var t=se(ue().mark((function t(e,r){var n,o,i;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,we(e,r);case 3:return n=t.sent,t.next=6,Oe(n);case 6:t.next=12;break;case 8:t.prev=8,t.t0=t.catch(0),o=(0,oe.PP)().getState(),null==(i=o.onPrivacyUpdateError)||i("Privacy update network action failed. Error: ".concat(t.t0,"}"));case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,r){return t.apply(this,arguments)}}(),xe=function(t){if(!t.next)return null;var e="back"===t.next?function(){var t=b.getState(),e=t.fsm,r=t.navigationStack,n=e.pre?"pre":"idle",o=r.pop()?ae(r):[],i=e[o.length?o[o.length-1]:n];return{navigationStack:null!=i&&i.template?o:[],nextScreen:i}}():function(t){var e=b.getState(),r=e.fsm,n=e.navigationStack,o=r[t];return{navigationStack:null!=o&&o.template?[].concat(ae(n),[t]):[],nextScreen:o}}(t.next),r=e.navigationStack,n=e.nextScreen;if(!n)return null;b.setState({isOpen:!!n.template,navigationStack:r,screen:n})},je=function(){var t=se(ue().mark((function t(e,r){var n;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=ye(e)){t.next=3;break}return t.abrupt("return",null);case 3:return t.next=5,Se(n,r);case 5:xe(n);case 6:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Pe=function(t){return!!ye(t)},ke=function(){var t=se(ue().mark((function t(){var e,r,n;return ue().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,oe.PP)().getState(),r=e.context,n=e.updateContext,!r.showCallToActionBanner){t.next=5;break}return n({showCallToActionBanner:!1}),t.next=5,be();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();!function(t){t[t.Public=0]="Public",t[t.Private=1]="Private"}(he||(he={}));var Le=function(t){if("boolean"==typeof t)return t;if("number"==typeof t)switch(t){case 0:return!1;case 1:return!0;default:return}if("string"==typeof t)switch(t.toLowerCase()){case"true":case"1":return!0;case"false":case"0":return!1;default:return}},_e=(0,m.M)((function(){return{}}));window.Cypress&&(window.userPrivacyStore=_e);var Ae,Te=(0,m.M)((function(){return{}})),Ce=r(63164);function Ie(t){return Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ie(t)}function De(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ne(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?De(Object(r),!0).forEach((function(e){Ze(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Re(){Re=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ie(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Ze(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ie(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ie(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ie(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Fe(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}!function(t){t.AgeGateUnderAgeLimit="privacy.agegateunderagelimit",t.AgeGateSource="privacy.agegatesource"}(Ae||(Ae={}));var Ge=function(t){var e=Ce.k7.getState().context,r=_e.getState(),n=r.ageGateUnderAgeLimit,o=r.ageGateSource,i=e,a=i.gameId,c=i.bundleId,u=i.gamePrivacyMethod,l=i.gameSessionId,s=i.platform,f=i.userPrefsExist,p=i.agreedVersion,d=i.privacyFlow;return{ageGateSource:o,ageGateUnderAgeLimit:n,agreedVersion:null!=t&&t.isInitialConsent?p:0,bundleId:c,firstRequest:!f,flow:d,gameId:a,gameSessionId:l,platform:s,privacyMethod:u}},Me=function(){var t,e=(t=Re().mark((function t(){return Re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!_e.getState().recordedPermissions){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,Ee(Ne(Ne({},Ge()),{},{permissions:{ads:!0,external:!0,gameExp:!0},userAction:"cta_banner_permissions"}),"permissions_update");case 5:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fe(i,n,o,a,c,"next",t)}function c(t){Fe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function Ue(t){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ue(t)}var Ve=["dataLeavesTerritory"];function ze(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Be(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(r),!0).forEach((function(e){Ye(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ye(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ue(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ue(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ue(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function He(){He=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ue(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function qe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Xe(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xe(t,e):void 0}}(t,e)||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 Xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function We(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function $e(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){We(i,n,o,a,c,"next",t)}function c(t){We(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Je=function(){var t=$e(He().mark((function t(e){var r,n,o,i,a,c,u,l,s,f,p,d,h,y,v,m;return He().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Promise.all([e.get("privacy.consent.value",!0),e.get("gdpr.consent.value",!0),e.get("pipl.consent.value",!0),e.get("privacy.useroveragelimit.value",!0),e.get("user.nonbehavioral.value",!0),e.get("user.nonBehavioral.value",!0)]);case 3:r=t.sent,n=qe(r,6),o=n[0],i=n[1],a=n[2],c=n[3],u=n[4],l=n[5],s=r.map(Le),f=qe(s,6),p=f[0],d=f[1],h=f[2],y=f[3],v=f[4],m=f[5],Te.setState({gdprConsent:d,nonBehavioral:v,nonBehavioralLegacy:m,piplConsent:h,privacyConsent:p,rawGdprConsent:i,rawNonBehavioral:u,rawNonBehavioralLegacy:l,rawPiplConsent:a,rawPrivacyConsent:o,rawPrivacyUserOverAgeLimit:c,userOverAgeLimit:y}),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),Te.setState({gdprConsent:void 0,nonBehavioral:void 0,nonBehavioralLegacy:void 0,piplConsent:void 0,privacyConsent:void 0,rawGdprConsent:void 0,rawNonBehavioral:void 0,rawNonBehavioralLegacy:void 0,rawPiplConsent:void 0,rawPrivacyConsent:void 0,rawPrivacyUserOverAgeLimit:void 0,userOverAgeLimit:void 0});case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}(),Qe=function(){var t=Te.getState(),e=t.gdprConsent,r=t.privacyConsent,n=t.piplConsent,o=(0,oe.PP)().getState().context.useDataLeavesTerritory,i=void 0!==r?r:e;if(void 0===i&&(!o||void 0===n))return!1;var a=_e.getState().recordedPermissions;if(void 0===a&&void 0!==i)return!0;var c=a||{},u=c.dataLeavesTerritory,l=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(c,Ve);return!(!o||void 0===n||n===u)||Object.values(l).some((function(t){return t!==i}))},Ke=function(){var t=$e(He().mark((function t(e){var r,n,o,i,a;return He().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=Te.getState(),n=r.gdprConsent,o=r.privacyConsent,i=r.piplConsent,!(0,oe.PP)().getState().context.useDataLeavesTerritory||void 0===i){t.next=5;break}return t.next=5,e(i);case 5:return a=Be(Be({},Ge()),{},{flags:{gdprConsent:n,piplConsent:i,privacyConsent:o}}),t.next=8,Ee(a,"developer_consent_update");case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),tr=function(t,e){return e?Math.round(t/e*100):0},er=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t<0||e<0?-1:r?tr(t,e):t/e},rr=r(69025),nr=r(54409),or=function(t){if(t)try{if(!nr.util.base64.test(t))return;return t}catch(t){}};function ir(t){return ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ir(t)}function ar(){ar=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ir(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function cr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ur,lr=function(){var t,e=(t=ar().mark((function t(e){return ar().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.z.invoke("setPrivacyAllowedPii",e);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){cr(i,n,o,a,c,"next",t)}function c(t){cr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),sr=r(44609),fr=(0,a.Z)(a.r.Core,"Intent"),pr=(0,a.Z)(a.r.Core,"UrlScheme");function dr(t){return dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dr(t)}function hr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==dr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yr,vr=(hr(ur={},P.t.Android,(function(t){try{return fr.invoke("launch",{action:"android.intent.action.VIEW",uri:t})}catch(r){var e=r instanceof Error?r:new Error("Unknown error");o.Tb(e,(function(e){return e.setExtra("url",t)}))}})),hr(ur,P.t.Ios,(function(t){return pr.invoke("open",t)})),ur),mr=(0,B.k)()===z.J.AdViewer?function(t){return i.z.invoke("openUrl",t)}:vr[(0,k.X)()];function gr(t){return gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gr(t)}!function(t){t.InitStarted="init_started",t.AgeGateShown="age_gate_shown",t.ConsentShown="consent_shown",t.MyChoicesShown="my_choices_shown",t.InitDone="init_done"}(yr||(yr={}));var br=function(t){return void 0===t?"{undefined}":"".concat(gr(t),":{").concat(t,"}")},wr=function(t){var e,r=Ce.k7.getState(),n=r.nonBehavioral,o=r.context,i=Te.getState(),a=i.rawPrivacyConsent,c=i.rawGdprConsent,u=i.rawPrivacyUserOverAgeLimit,l=i.rawPiplConsent,s=i.rawNonBehavioralLegacy,f=o,p=f.platform,d=f.sdkVersion,h=f.gameId,y=f.gameSessionId,v=f.gamePrivacyMethod,m=f.userPrefsExist,g=f.limitAdTracking;return e={devFlagGdprConsent:br(c),devFlagPiplConsent:br(l),devFlagPrivacyConsent:br(a),devFlagPrivacyUserOverAgeLimit:br(u),devFlagUserNonBehavioral:String(n),devFlagUserNonBehavioralLegacy:br(s),event:t,gameId:h,gameSessionId:y,legacy:!1,limitAdTracking:g,permissionsExist:m,platform:p,privacyMethod:v,sdkVersion:d},(0,oe.PP)().getState().consentStepLoggingEnabled?Ee(e,"consent_step_log"):Promise.resolve()},Or=["adsPlayer","consentStepLoggingEnabled","disableConsentScreen"];function Sr(t){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sr(t)}function Er(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function xr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Sr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Sr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jr=function(t){var e=function(t){var e,r=t.privacyFsm,n=t.nativeContext,o=t.impressionConfiguration,i=t.disableConsentScreen,a=(x.TH.getState().impressionConfig||{}).getExperimentation;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Er(Object(r),!0).forEach((function(e){xr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({adsPlayer:null==r?void 0:r.adsPlayer,agreedVersion:20221115,bundleId:n.bundleId,consentStepLoggingEnabled:(null==a?void 0:a("enablePrivacyConsentStepLogging"))||void 0,country:o.country,disableConsentScreen:i,gameId:n.gameId,gamePrivacyMethod:null==r||null===(e=r.ctx)||void 0===e?void 0:e.currentPrivacyMethod,language:n.systemLanguage,limitAdTracking:n.limitAdTracking,platform:(0,k.X)(),privacyFlow:(null==r?void 0:r.flow)||"",sdkVersion:n.sdkVersion},null==r?void 0:r.ctx)}(t),r=t.privacyFsm,n=t.getSessionTokenCallback,o=t.sendPrivacyUpdate,i=t.onPrivacyUpdateError;!function(t,e){var r=t.adsPlayer,n=t.consentStepLoggingEnabled,o=t.disableConsentScreen,i=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Or),a=e.openUrlCallback,c=e.getSessionTokenCallback,u=e.fetch,l=e.sendPrivacyUpdate,s=e.onPrivacyUpdateError;b.setState({adsPlayer:r}),Ce.k7.setState({consentStepLoggingEnabled:n,context:i,disableConsentScreen:o,fetch:u,getSessionTokenCallback:c,onPrivacyUpdateError:s,openUrlCallback:a,sendPrivacyUpdate:l})}(e,{fetch:sr.b,getSessionTokenCallback:n,onPrivacyUpdateError:i,openUrlCallback:mr,sendPrivacyUpdate:o}),ve(null!=r&&r.fsm?JSON.parse(r.fsm):void 0),wr(yr.InitStarted)},Pr=r(16091);function kr(t){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kr(t)}function Lr(){Lr=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==kr(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function _r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Ar,Tr,Cr=function(t){try{return JSON.parse((0,Pr.tV)(t))}catch(t){}},Ir=function(){var t,e=(t=Lr().mark((function t(e){var r,n;return Lr().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=JSON.stringify(e),n=(0,Pr.h$)(r),t.next=4,i.z.invoke("setPrivacyFsm",n);case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_r(i,n,o,a,c,"next",t)}function c(t){_r(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),Dr=(r(36131),r(39211),r(97362),r(80717),r(5883),r(82982),r(24472),r(16719),r(17416),r(58860),r(99055),r(65946),r(97993),r(50502),r(32580),r(49788),r(2752),r(75438),r(89006),r(79100),r(84939),r(73472),r(55134),r(9101),r(90433)),Nr=r.n(Dr),Rr=r(75656),Zr=r(92104),Fr=function(t,e){var r=new Uint8Array(Nr().util.base64.length(t));return Nr().util.base64.decode(t,r,0),e(r)};function Gr(t){return Gr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gr(t)}function Mr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Gr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Gr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ur=(Mr(Ar={},P.t.Android,(function(t){var e=function(t){var e={content:t.content,type:t.type,version:t.version},r=JSON.stringify(e);return new Zr.u7.v1.PrivacyUpdateRequest({content:(0,Rr.E)(r),version:1})}(t),r=function(t){var e=Zr.u7.v1.PrivacyUpdateRequest.encode(t).finish();return Nr().util.base64.encode(e,0,e.length)}(e);return r})),Mr(Ar,P.t.Ios,(function(t){var e=JSON.stringify(t),r=(0,Rr.E)(e);return{privacyPayload:Nr().util.base64.encode(r,0,r.length),version:1}})),Ar),Vr=(Mr(Tr={},P.t.Android,(function(t){var e=Fr(t,Zr.u7.v1.PrivacyUpdateResponse.decode);return{content:(0,Rr.y)(e.content),version:e.version}})),Mr(Tr,P.t.Ios,(function(t){var e=t;if(!e.content)return{content:"{}",version:1};var r=new Uint8Array(Nr().util.base64.length(e.content));return Nr().util.base64.decode(e.content,r,0),{content:(0,Rr.y)(r),version:e.version}})),Tr);function zr(t){return zr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zr(t)}function Br(){Br=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==zr(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Yr(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Hr,qr,Xr=function(t){var e=JSON.stringify(t),r=(0,Rr.E)(e);return{content:Nr().util.base64.encode(r,0,r.length),version:1}},Wr=function(t){var e=t;if(!e.content)return{content:"{}",version:1};var r=new Uint8Array(Nr().util.base64.length(e.content));return Nr().util.base64.decode(e.content,r,0),{content:(0,Rr.y)(r),version:e.version}},$r=function(){var t,e=(t=Br().mark((function t(e){var r,n,o,a,c,u,l;return Br().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(0,oe.PP)().getState(),n=r.context,o=r.onPrivacyUpdateError,!(n.sdkVersion<41100)){t.next=7;break}return a=Ur[(0,k.X)()](e),t.next=5,i.z.invoke("sendPrivacyUpdateRequest",a);case 5:return c=t.sent,t.abrupt("return",Vr[(0,k.X)()](c));case 7:return u=Xr(e),t.prev=8,t.next=11,i.z.invoke("sendPrivacyUpdateRequest",u);case 11:l=t.sent,t.next=18;break;case 14:throw t.prev=14,t.t0=t.catch(8),null==o||o("Privacy update invokation failed. Error: ".concat(t.t0,"}")),t.t0;case 18:return t.abrupt("return",Wr(l));case 19:case"end":return t.stop()}}),t,null,[[8,14]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Yr(i,n,o,a,c,"next",t)}function c(t){Yr(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();!function(t){t.Private="PRIVATE",t.Public="PUBLIC"}(Hr||(Hr={})),function(t){t[t.CouldNotSetValue=0]="CouldNotSetValue",t[t.CouldNotGetValue=1]="CouldNotGetValue",t[t.CouldNotWriteStorageToCache=2]="CouldNotWriteStorageToCache",t[t.CouldNotClearStorage=3]="CouldNotClearStorage",t[t.CouldNotGetStorage=4]="CouldNotGetStorage",t[t.CouldNotDeleteValue=5]="CouldNotDeleteValue"}(qr||(qr={}));var Jr=(0,a.Z)(a.r.Core,"Storage","STORAGE"),Qr={"analytics.sessionid":Hr.Private,"analytics.userid":Hr.Private,"framework.name.value":Hr.Public,"framework.version.value":Hr.Public,"mediation.name.value":Hr.Public,"mediation.ordinal.value":Hr.Public,"mediation.version.value":Hr.Public,"pipl.optinState.value":Hr.Private,"player.encryptedStore.value":Hr.Private,"player.server_id.value":Hr.Public,"unifiedconfig.data":Hr.Private,"user.clickCount":Hr.Private,"user.nonBehavioral.value":Hr.Public,"user.nonbehavioral.value":Hr.Public,"user.requestCount":Hr.Private,"user.requestToReadyTime":Hr.Private};function Kr(t){return Kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kr(t)}function tn(){tn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Kr(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function en(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function rn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){en(i,n,o,a,c,"next",t)}function c(t){en(i,n,o,a,c,"throw",t)}a(void 0)}))}}var nn=function(){var t=rn(tn().mark((function t(e){var r,n,o,i=arguments;return tn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:Hr.Private,t.prev=1,t.next=4,Jr.invoke("get",r,e);case 4:return n=t.sent,o=1===n.length?n[0]:n,t.abrupt("return",o);case 9:t.prev=9,t.t0=t.catch(1);case 11:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}(),on=function(){var t=rn(tn().mark((function t(e,r,n){var o,i=arguments;return tn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=i.length>3&&void 0!==i[3]?i[3]:Hr.Private,t.prev=1,t.next=4,Jr.invoke("set",o,e,r);case 4:if(!n){t.next=7;break}return t.next=7,Jr.invoke("write",o);case 7:return t.abrupt("return",!0);case 10:return t.prev=10,t.t0=t.catch(1),t.abrupt("return",!1);case 13:case"end":return t.stop()}}),t,null,[[1,10]])})));return function(e,r,n){return t.apply(this,arguments)}}(),an={readKey:nn,writeKey:on},cn=function(t){return nn(t,Qr[t])},un=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return on(t,e,r,Qr[t])};function ln(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var sn={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return an.readKey(t,e?Hr.Public:Hr.Private)},onSet:function(t){Jr.on("SET",(function(e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ln(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ln(t,e):void 0}}(t,e)||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.")}()}(e,2),n=r[0],o=r[1];t(n===Hr.Public?he.Public:he.Private,o)}))},set:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return an.writeKey(t,e,!0,r?Hr.Public:Hr.Private)}};function fn(t){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fn(t)}function pn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pn(Object(r),!0).forEach((function(e){hn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==fn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==fn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===fn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yn(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vn(){vn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==fn(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function mn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function gn(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){mn(i,n,o,a,c,"next",t)}function c(t){mn(i,n,o,a,c,"throw",t)}a(void 0)}))}}var bn,wn=(0,rr.p)("adViewerStore"),On=function(){var t=gn(vn().mark((function t(){return vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.z.invoke("clicked");case 3:t.next=8;break;case 5:t.prev=5,t.t0=t.catch(0),ht.ap.emitDiagnostic("genericDiagnostic",{type:"nativeClickError"});case 8:case"end":return t.stop()}}),t,null,[[0,5]])})));return function(){return t.apply(this,arguments)}}(),Sn=function(t){ht.ap.emit("privacyError",{errorMessage:t,type:"privacyUpdateError"})},En=wn(["impressionConfiguration","campaigns","auction","nativeContext","eventStatuses"],(function(t,e){var r=[],a=!1;"ad-viewer"===(0,B.k)()&&(ht.ap.on("campaignStart",(function(){r[e().campaignIndex]="started"})),ht.ap.on("adContentSkip",(function(){"completed"!==r[e().campaignIndex]&&(r[e().campaignIndex]="skipped")})),ht.ap.on("adContentEnded",(function(){r[e().campaignIndex]="completed"})),ht.ap.on("adContentRewarded",(function(){r[e().campaignIndex]="completed"})),ht.ap.on("ctaClick",(function(){On()})));var c=function(t){null==ne||ne(t),null==Bt||Bt(t),Boolean(b.getState().hasConsentScreen())&&i.z.invoke("cancelShowTimeout")},u=function(){var t=gn(vn().mark((function t(){var r,n,c;return vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!a){t.next=2;break}return t.abrupt("return");case 2:if(r=e(),n=r.campaignIndex,c=r.campaigns){t.next=5;break}throw new Error("Lifecycle Error: Ad Viewer start");case 5:return t.prev=5,t.next=8,i.z.invoke("started");case 8:if(ht.ap.emit("adContentStart",{campaign:c[n]}),a=!0,!(0,S.ri)(c[n])){t.next=12;break}return t.abrupt("return");case 12:return t.next=14,i.z.invoke("broadcastEvent",{eventType:"AD_REFRESH"}).catch((function(){ht.ap.emit("adRefreshError",{errorMessage:ht.pM.BroadcastError,type:ht.NR.AdRefreshOnShow})}));case 14:setTimeout(gn(vn().mark((function t(){return vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ht.ap.emit("adRefreshInProgress",{type:ht.NR.AdRefreshOnShow}),t.next=3,i.z.invoke("refreshAdData").catch((function(){ht.ap.emit("adRefreshError",{errorMessage:ht.pM.RefreshAdDataError,type:ht.NR.AdRefreshOnShow})}));case 3:case"end":return t.stop()}}),t)}))),100),t.next=20;break;case 17:t.prev=17,t.t0=t.catch(5),o.Tb(t.t0);case 20:case"end":return t.stop()}}),t,null,[[5,17]])})));return function(){return t.apply(this,arguments)}}(),l=function(){var r=gn(vn().mark((function r(n){var a,l,s,f,p,d,v,m,g,w,O,j,P,k,L,_,A,T,C,I,D,N;return vn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(a=e(),l=a.campaigns,s=a.impressionConfiguration,f=a.auction,p=a.adDataRefreshRequest,d=a.nativeContext,v=a.onCampaignError,m=n.connectionType,g=n.orientation,w=n.isMuted,O=n.volume,j=n.adIdentificationOverlay,l&&s&&!(l.length<=0)&&f&&d){r.next=4;break}throw new y(h.NotReady,"Placement not loaded",!0);case 4:return(0,S.ri)(l[0])?i.z.invoke("incrementBannerImpressionCount").catch((function(){ht.ap.emit("adViewerShowError",{type:ht.uL.BannerImpressionCountError})})):i.z.invoke("markCampaignStateAsShown").catch((function(){ht.ap.emit("adViewerShowError",{type:ht.uL.MarkCampaignAsShownError})})),P=n.privacyFsm?Cr(n.privacyFsm):void 0,k=function(){var t=gn(vn().mark((function t(){return vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.z.invoke("getSessionToken");case 3:return t.abrupt("return",t.sent);case 6:t.prev=6,t.t0=t.catch(0),ht.ap.emit("adViewerShowError",{type:ht.uL.SessionTokenError});case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(){return t.apply(this,arguments)}}(),L=(0,S.ri)(null==l?void 0:l[0]),jr({disableConsentScreen:L,getSessionTokenCallback:k,impressionConfiguration:s,nativeContext:d,onPrivacyUpdateError:Sn,privacyFsm:P,sendPrivacyUpdate:$r}),r.next=11,Je(sn);case 11:if(!Qe()){r.next=20;break}if(_=function(){var t=gn(vn().mark((function t(){var e;return vn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=performance.now(),t.next=3,Ke((function(t){return lr({idfa:t,idfv:t})}));case 3:ht.ap.emit("adViewerShowInProgress",{latency:performance.now()-e,type:ht.YB.DeveloperConsentUpdateLatency});case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),!b.getState().hasConsentScreen()){r.next=19;break}return ht.ap.emit("adViewerShowInProgress",{type:ht.YB.BlockingDeveloperConsentUpdate}),r.next=17,_();case 17:r.next=20;break;case 19:_();case 20:return oe.k7.setState({adBuyerInfo:E(l[0]),isInitializing:!1}),(0,S.zd)(l[0])&&(A=(0,S.zd)(l[0])?void 0!==l[0].willExpireAt&&Date.now()>l[0].willExpireAt:void 0,ht.ap.emitDiagnostic("genericDiagnostic",{data:JSON.stringify({isCampaignExpired:A}),type:"isCampaignExpired"})),ht.ap.emit("adViewerShowInProgress",{type:ht.YB.InitDeveloperFlagsComplete}),T=p?"reuse_during_reload":void 0,C=e().invalidationReason,r.next=27,(0,At.S3)().then((function(t){t>0&&ht.ap.emit("adViewerShowInProgress",{type:ht.YB.NativeCacheCheckMiss})})).catch((function(t){o.Tb(t)}));case 27:t({adDataRefreshRequest:void 0,campaignIndex:0,invalidationReason:C||T,isShowing:!0,operativeEventCounters:{},showOptions:n}),I=_t(null==s?void 0:s.experimentation),D=Lt(l[0],I,{clickableVideoPublisherOptOut:s.fullScreenCtrOptOutStore,osVersion:d.osVersion,sdkVersion:d.sdkVersion,skOverlayPublisherOptOut:I("skOverlayPublisherOptOut")||!1,skipToAppSheetPublisherOptOut:!s.isSkipToAppsheetEnabled}),N=x.TH.getState().adIdentificationOverlay,x.TH.setState({adExperiences:D,adIdentificationOverlay:N&&(0,S.ri)(l[0])?N:or(j),campaignInfo:{campaign:l[0],campaignIndex:0,campaigns:l,connectionType:m,initialMuteStatus:w,initialVolume:O&&d.maxVolume?er(O,d.maxVolume):-1,onAdContentFailedToStart:v,onAdContentStart:u,onCampaignStart:c,orientation:g}}),ht.ap.emit("placementStart",{});case 33:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),s=function(){var a=gn(vn().mark((function a(){var c,u,l,s,f,p,d;return vn().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(c=e(),u=c.campaignIndex,l=c.campaigns,(s=null==l?void 0:l[u])&&(null==te||te(s),null==$t||$t(s)),f=u+1,p=null==l?void 0:l[f],ke(),p){a.next=21;break}return ht.ap.emit("placementComplete",{}),d=r.some((function(t){return"completed"===t}))?n.Completed:n.Skipped,t({finishState:d}),O(),a.prev=11,a.next=14,i.z.invoke("completed",d);case 14:a.next=19;break;case 16:a.prev=16,a.t0=a.catch(11),o.Tb(a.t0);case 19:a.next=23;break;case 21:t({campaignIndex:f}),x.TH.setState((function(t){if(!t.campaignInfo)throw new Error("Lifecycle Error: onCampaignError (no_campaign_info)");return{campaignInfo:dn(dn({},t.campaignInfo),{},{campaign:l[f],campaignIndex:f})}}));case 23:case"end":return a.stop()}}),a,null,[[11,16]])})));return function(){return a.apply(this,arguments)}}(),f=function(){var r=gn(vn().mark((function r(a){var c,u,l,s,f;return vn().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(c=e(),u=c.campaignIndex,l=c.campaigns,(s=null==l?void 0:l[u])&&(null==te||te(s),null==$t||$t(s)),f=u+1,null==l||!l[f]){r.next=10;break}t({campaignIndex:f}),x.TH.setState((function(t){if(!t.campaignInfo)throw new Error("Lifecycle Error: onCampaignError (no_campaign_info)");return{campaignInfo:dn(dn({},t.campaignInfo),{},{campaign:l[f],campaignIndex:f})}})),r.next=15;break;case 10:return ht.ap.emit("campaignError",{message:a.message}),t({finishState:n.Error}),O(),r.next=15,i.z.invoke("failed",{code:11,message:a.message}).catch((function(t){o.Tb(t)}));case 15:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}();return{campaignIndex:-1,campaigns:[],eventStatuses:[],isShowing:!1,onAdContentStart:u,onCampaignError:f,onCampaignFinish:s,onCampaignStart:c,operativeEventCounters:{},show:l,showOptions:null}})),xn=(3,function(t){if(Array.isArray(t))return t}(bn=En)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{for(i=(r=r.call(t)).next,0;!(u=(n=i.call(r)).done)&&(c.push(n.value),3!==c.length);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(bn)||function(t,e){if(t){if("string"==typeof t)return yn(t,3);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yn(t,3):void 0}}(bn)||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.")}()),jn=xn[0],Pn=xn[1],kn=(xn[2],function(t){if(t)return(0,S.zd)(t)?"mraid"===t.content.endScreenType?"performance(v+p)":t.content.mraidUrl?"performance(p)":"performance(v)":t.contentType===S.zc.Vast?"VAST":t.contentType===S.zc.Mraid?"mraid":t.contentType===S.zc.GmaScar||t.contentType===S.zc.GmaScarDisplay?"AdMobScar":void 0});function Ln(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function _n(t){return _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_n(t)}function An(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?An(Object(r),!0).forEach((function(e){Cn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):An(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Cn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==_n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==_n(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===_n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r(24987),r(78291);var In=function(t,e,r){var n,o,a=jn.getState(),c=a.impressionConfiguration,u=a.campaigns,l=a.campaignIndex,s=null!=u&&u[l]?null==u?void 0:u[l]:null==u?void 0:u[0],f={adFormat:null!==(n=null==c||null===(o=c.placementConfig)||void 0===o?void 0:o.adFormat)&&void 0!==n?n:void 0,campaignType:kn(s),contentType:null==s?void 0:s.contentType,wv:"v1.33.2-ad-viewer"};if(s&&(0,S.Um)(s)){var p,d,h,y=x.TH.getState().adExperiences,v=null===(p=s.content.ads)||void 0===p||null===(d=p.map((function(t){var e;return null===(e=t.system)||void 0===e?void 0:e.value})))||void 0===d?void 0:d.join(","),m=JSON.stringify(null===(h=s.media)||void 0===h?void 0:h.dsp),g={adExperiences:y?JSON.stringify(y):void 0,adSystem:v,dspConfig:m};Object.assign(f,g)}var b,w=(b=Tn(Tn({},f),e),Object.entries(b).reduce((function(t,e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ln(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ln(t,e):void 0}}(t,e)||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.")}()}(e,2),n=r[0],o=r[1];return void 0!==o&&(t[(0,Pr.fu)(n)]=o),t}),{})),O="ad_viewer_".concat((0,Pr.fu)(t));void 0===r?i.z.invoke("sendDiagnosticEvent",O,w):i.z.invoke("sendDiagnosticEvent",O,w,r)},Dn=function(){var t,e,r;return null!==(t=window.PerformanceObserver)&&void 0!==t&&null!==(e=t.supportedEntryTypes)&&void 0!==e&&e.includes("resource")?(x.TH.subscribe((function(t){t.impressionConfig&&!t.impressionConfig.getExperimentation("usePerformanceObserver")||r||(r=new PerformanceObserver((function(t){for(var e=0,r=t.getEntries();e<r.length;e++){var n=r[e];In("resourceTiming",{initiatorType:n.initiatorType,isFromCache:(0===n.transferSize).toString()},n.duration)}}))).observe({buffered:!0,entryTypes:["resource"]})})),function(){var t;return null===(t=r)||void 0===t?void 0:t.disconnect()}):function(){}},Nn=r(37578);function Rn(t){return Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Rn(t)}function Zn(){Zn=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Rn(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Fn(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Gn=function(){var t,e=(t=Zn().mark((function t(e,r){var n,o;return Zn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Nn.Gd().startTransaction({name:e}),Nn.Gd().configureScope((function(t){t.setSpan(n)})),t.prev=2,t.next=5,r();case 5:return o=t.sent,n.setStatus("ok"),t.abrupt("return",o);case 10:throw t.prev=10,t.t0=t.catch(2),n.setStatus("error"),t.t0;case 14:return t.prev=14,n.finish(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[2,10,14,17]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fn(i,n,o,a,c,"next",t)}function c(t){Fn(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),Mn=r(15608),Un=(0,Mn.Z)(Mn.r.Core,"Connectivity","CONNECTIVITY"),Vn=r(18391),zn=r(24312),Bn=r(65070);function Yn(t){return Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yn(t)}function Hn(t,e){if(e&&("object"===Yn(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return qn(t)}function qn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xn(t){var e="function"==typeof Map?new Map:void 0;return Xn=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return Wn(t,arguments,Qn(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Jn(n,t)},Xn(t)}function Wn(t,e,r){return Wn=$n()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&Jn(o,r.prototype),o},Wn.apply(null,arguments)}function $n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Jn(t,e){return Jn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Jn(t,e)}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Qn(t)}function Kn(t){var e=function(t,e){if("object"!==Yn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Yn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Yn(e)?e:String(e)}r(62474);var to=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Jn(t,e)}(i,t);var e,r,n,o=(e=i,r=$n(),function(){var t,n=Qn(e);if(r){var o=Qn(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return Hn(this,t)});function i(t,e,r){var n,a,c,u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),(n=o.call(this,t)).nativeRequest=e,n.nativeResponse=r,a=qn(n),u="RequestError",(c=Kn(c="name"))in a?Object.defineProperty(a,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):a[c]=u,n}return n=i,Object.defineProperty(n,"prototype",{writable:!1}),n}(Xn(Error));function eo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(42026),r(62087),r(36927),r(2870);var ro=function(t,e,r,n,o){var i=Bn.j.getState(),a=i.requests,c=i.finishRequest,u=parseInt(t,10),l={headers:o,response:r,responseCode:n,url:e},s=a.get(u);if(s){if(!function(t){return/2[0-9]{2}/.test(t.toString())}(n)){var f=s.nativeRequest;if(function(t){return/3[0-9]{2}/.test(t.toString())}(n)){var p=f.options.followRedirects,d=function(t,e){var r=t.find((function(t){return function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return eo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eo(t,e):void 0}}(t,e)||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.")}()}(t,1)[0].match(new RegExp("location","i"))}));return r?r[1]:null}(o);if(!p||!d)return c(u,"COMPLETE",l);var h=function(t,e){if(t.startsWith("/"))try{var r=new URL(e).origin;return"".concat(r).concat(t)}catch(t){}return t}(d,e);return function(t){return t.match(/^https?/i)&&!t.match(/^https:\/\/itunes\.apple\.com/i)&&!t.match(/\.apk$/i)}(h)?(f.url=d,(0,zn.W)(u,f)):c(u,"COMPLETE",l)}return function(t){return/[4-5][0-9]{2}/.test(t.toString())}(n)?c(u,"FAILED",new to("FAILED_WITH_ERROR_RESPONSE",f,l)):c(u,"FAILED",new to("FAILED_WITH_UNKNOWN_RESPONSE_CODE",f,l))}c(u,"COMPLETE",l)}};function no(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return oo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oo(t,e):void 0}}(t,e)||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 oo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var io=function(){var t=Un.on("CONNECTED",(function(){Bn.j.getState().requests.forEach((function(t,e){var r=t.nativeRequest;r.options.retryWithConnectionEvents&&r.options.retries===r.retryCount&&(0,zn.W)(e,r)}))})),e=Vn.r.on("COMPLETE",(function(t){var e=no(t,5),r=e[0],n=e[1],o=e[2],i=e[3],a=e[4];ro(r,n,o,i,a)})),r=Vn.r.on("FAILED",(function(t){var e=no(t,3),r=e[0];e[1],function(t,e){var r=Bn.j.getState(),n=r.requests,o=r.finishRequest,i=parseInt(t,10),a=n.get(i);if(a){var c=a.nativeRequest,u=c.retryCount,l=c.options,s=l.retries,f=l.retryDelay,p=l.retryWithConnectionEvents;if(u<s)return c.retryCount+=1,void setTimeout((function(){(0,zn.W)(i,c)}),f);p||o(i,"FAILED",new to(e,c))}}(r,e[2])}));return function(){t(),e(),r()}};function ao(t){return ao="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ao(t)}function co(){co=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ao(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function uo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return lo(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lo(t,e):void 0}}(t,e)||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 lo(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function so(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function fo(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){so(i,n,o,a,c,"next",t)}function c(t){so(i,n,o,a,c,"throw",t)}a(void 0)}))}}var po=function(t){Ce.k7.subscribe((function(e,r){var n,o,i,a,c,u,l,s,f,p={};"boolean"==typeof(null===(n=e.context)||void 0===n?void 0:n.ageGateUnderAgeLimit)&&e.context.ageGateUnderAgeLimit!==(null===(o=r.context)||void 0===o?void 0:o.ageGateUnderAgeLimit)&&(p.ageGateUnderAgeLimit=e.context.ageGateUnderAgeLimit),null!==(i=e.context)&&void 0!==i&&i.ageGateSource&&e.context.ageGateSource!==(null===(a=r.context)||void 0===a?void 0:a.ageGateSource)&&(p.ageGateSource=e.context.ageGateSource),null!==(c=e.context)&&void 0!==c&&c.recordedPermissions&&e.context.recordedPermissions!==(null===(u=r.context)||void 0===u?void 0:u.recordedPermissions)&&(p.recordedPermissions=e.context.recordedPermissions,p.currentPermissions=e.context.recordedPermissions),null!==(l=e.context)&&void 0!==l&&l.currentPermissions&&e.context.currentPermissions!==(null===(s=r.context)||void 0===s?void 0:s.currentPermissions)&&(p.currentPermissions=e.context.currentPermissions),_e.setState(p),null!==(f=e.context)&&void 0!==f&&f.useDataLeavesTerritory&&t.set("pipl.applies",!0)}))},ho=function(t){_e.subscribe((function(e,r){!function(t,e,r){var n;t.recordedPermissions&&t.recordedPermissions!==e.recordedPermissions&&r.set("unity.privacy.permissions",t.recordedPermissions),void 0!==(null===(n=t.recordedPermissions)||void 0===n?void 0:n.dataLeavesTerritory)&&r.set("pipl.optinState",t.recordedPermissions.dataLeavesTerritory?"OptIn":"OptOut")}(e,r,t),function(t,e,r){t.ageGateSource&&t.ageGateSource!==e.ageGateSource&&r.set("privacy.agegatesource",t.ageGateSource),"boolean"==typeof t.ageGateUnderAgeLimit&&t.ageGateUnderAgeLimit!==e.ageGateUnderAgeLimit&&r.set("privacy.agegateunderagelimit",t.ageGateUnderAgeLimit)}(e,r,t)}))},yo=function(){var t=fo(co().mark((function t(e){var r,n,o,i,a;return co().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.get("privacy.agegateunderagelimit"),e.get("privacy.agegatesource")]);case 2:r=t.sent,n=uo(r,2),o=n[0],i=n[1],a=Le(o),_e.setState({ageGateSource:i,ageGateUnderAgeLimit:a});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),vo=function(){var t=fo(co().mark((function t(e){var r;return co().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.get("unity.privacy.permissions");case 2:(r=t.sent)&&_e.setState({recordedPermissions:r});case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),mo=function(){var t=fo(co().mark((function t(e){return co().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,vo(e);case 2:return t.next=4,yo(e);case 4:po(e),ho(e);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),go=function(){var t,e,r,n;if(null!==(t=window.PerformanceObserver)&&void 0!==t&&null!==(e=t.supportedEntryTypes)&&void 0!==e&&e.includes("navigation")){var o=null===(r=window.performance)||void 0===r||null===(n=r.getEntriesByType)||void 0===n?void 0:n.call(r,"navigation");if(null!=o&&o.length){var i=o[0];if(i)return 0===i.transferSize}}};function bo(t){return bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bo(t)}function wo(){wo=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==bo(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Oo(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var So,Eo=function(){var t,e=(t=wo().mark((function t(e){return wo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.z.invoke("setPrivacyPayload",e);case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Oo(i,n,o,a,c,"next",t)}function c(t){Oo(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),xo=r(10884),jo=r(59488),Po=r(88449),ko=r(40363),Lo=r(73040);!function(t){t.EndScreenAdsLogo="end-screen-unity-ads-logo",t.EndScreenAppIcon="end-screen-app-icon",t.EndScreenAppName="end-screen-app-name",t.EndScreenAppRating="end-screen-app-rating",t.EndScreenChinaAd="end-screen-china-ad",t.EndScreenCloseButton="end-screen-close-button",t.EndScreenCreative="end-screen-creative",t.EndScreenCtaButton="end-screen-cta-button",t.EndScreenEndScreen="end-screen",t.EndScreenGdprBanner="end-screen-gdpr-banner",t.EndScreenGdprButton="end-screen-gdpr-button",t.EndScreenGdprLink="end-screen-gdpr-link",t.EndScreenInfo="end-screen-info",t.EndScreenPrivacyButton="end-screen-privacy-button",t.Playable="playable",t.PlayableSkipButton="playable-skip-button",t.PlayableEndScreenSkipButton="playable-end-screen-skip-button",t.PrivacyBuyerInfo="privacy-buyer-info",t.VideoAdCount="video-ad-count",t.VideoAppIcon="video-app-icon",t.VideoAppRating="video-app-rating",t.VideoChinaAd="video-china-ad",t.VideoCloseButton="video-close-button",t.VideoCtaButton="video-cta-button",t.VideoGdprBanner="video-gdpr-banner",t.VideoGdprButton="video-gdpr-button",t.VideoGdprLink="video-gdpr-link",t.VideoMuteButton="video-mute-button",t.VideoPlayButton="video-play-button",t.VideoPrivacyButton="video-privacy-button",t.VideoProgressBar="video-progress-bar",t.VideoSkOverlay="sk-overlay",t.VideoSkipButton="video-skip-button",t.VideoAdIdentificationOverlay="video-ad-identification-overlay",t.VideoSkipProgressBar="video-skip-progress-bar",t.VideoVideoScreen="video-overlay"}(So||(So={}));var _o=r(1736),Ao=(0,Lo.Z)("div",{target:"e1g0g3k40"})((function(t){var e=t.src;return{backgroundImage:"url('data:image/png;base64, ".concat(e,"')"),backgroundRepeat:"repeat",display:"flex",height:"100vh",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100vw",zIndex:1e3}}),""),To=function(t){var e=t.src;return(0,_o.tZ)(Ao,{src:e,"data-element-id":So.VideoAdIdentificationOverlay})},Co=r(11963),Io=r(40887);function Do(t){return Do="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Do(t)}var No=["children","className"];function Ro(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ro(Object(r),!0).forEach((function(e){Fo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ro(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fo(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Do(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Do(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Do(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Go=(0,Lo.Z)("div",{target:"e37qojm1"})({name:"d3v9zr",styles:"overflow:hidden"}),Mo=(0,Lo.Z)("div",{target:"e37qojm0"})((function(t){var e=t.theme,r=t.gapSize,n=e.spacing(r);return{"> *":{margin:"".concat(n," 0 0 ").concat(n)},alignContent:"inherit",alignItems:"inherit",display:"flex",flexDirection:"inherit",flexWrap:"inherit",justifyContent:"inherit",justifyItems:"inherit",margin:"-".concat(n," 0 0 -").concat(n),order:"inherit"}}),""),Uo=function(t){var e=t.children,r=t.className,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,No);return(0,_o.tZ)(Go,{className:r,children:(0,_o.tZ)(Mo,Zo(Zo({},n),{},{children:e}))})};function Vo(t){return Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vo(t)}var zo=["children"];function Bo(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Yo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bo(Object(r),!0).forEach((function(e){Ho(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ho(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Vo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Vo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Vo(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qo=(0,Lo.Z)("svg",{target:"e1eiiw290"})({name:"1oyk87u",styles:"display:inline-block;fill:currentColor;flex-shrink:0;height:1em;user-select:none;width:1em"}),Xo=function(t){var e=t.children,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,zo);return(0,_o.tZ)(qo,Yo(Yo({xmlns:"http://www.w3.org/2000/svg"},r),{},{children:e}))};function Wo(t){return Wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wo(t)}function $o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jo(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$o(Object(r),!0).forEach((function(e){Qo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qo(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Wo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Wo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Wo(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ko=function(t){return(0,_o.tZ)(Xo,Jo(Jo({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M 7.41 8.59 L 12 13.17 l 4.59 -4.58 L 18 10 l -6 6 l -6 -6 l 1.41 -1.41 Z"})}))};function ti(t){return ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ti(t)}function ei(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ri(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ei(Object(r),!0).forEach((function(e){ni(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ei(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ni(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ti(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ti(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var oi=function(t){return(0,_o.tZ)(Xo,ri(ri({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})}))};function ii(t){return ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ii(t)}function ai(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ci(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ai(Object(r),!0).forEach((function(e){ui(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ai(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ui(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ii(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ii(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ii(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var li=function(t){return(0,_o.tZ)(Xo,ci(ci({"aria-label":"China Ad Icon",viewBox:"0 0 123.5 60.3"},t),{},{children:(0,_o.tZ)("path",{d:"M62.5,9v7.1H14.8v12.1c0,15.6-2.6,26.9-8,34.5l-1.2,1.7l-1.2-1.7c-0.4-0.6-2-2-2.9-2.4L0,59.6l1-1.4c5.8-8.4,6.5-20.4,6.5-29.8V8.9h22.7V0.1l9,0.6l-0.3,1.7c-0.2,0.8-0.6,1.4-1.3,1.7V9H62.5z M127.2,24.9V32H66.1v-7.1h5.4C71,24.6,70.5,24.3,70,24l-1.6-0.9l1.2-1.4c3.5-4.2,7-11.8,9.2-19.9l0.4-1.5l8.2,2.3L87.1,4c-0.1,0.5-0.4,1.4-1.7,1.8c-0.4,1.3-0.9,2.7-1.4,4h8.7V0l9,0.6l-0.3,1.7c-0.2,0.8-0.6,1.4-1.3,1.7v6H122v7h-21.8v7.9H127.2z M81.1,16.9c-1.4,3-3.1,5.8-4.7,8h16.3v-8H81.1z M117.8,35.2v27.6h-7.5v-2.6H83.1v2.7h-7.4V35.2H117.8z M83.1,42.3v10.9h27.2V42.3H83.1z"})}))};function si(t){return si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},si(t)}function fi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fi(Object(r),!0).forEach((function(e){di(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function di(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==si(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==si(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===si(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hi=function(t){return(0,_o.tZ)(Xo,pi(pi({viewBox:"0 0 31.9 32"},t),{},{children:(0,_o.tZ)("path",{d:"M18.6 17.2c.7 0 1.3.5 1.4 1.1.1.4.1.8-.1 1.1-.2.3-.5.6-.9.7l-3.4.9c-.4.1-.8.5-1 .9-.2.4-.1.9.2 1.3l.4.5c.3.4.7.6 1.2.6h.2l5.1-.6c.3 0 .6-.2.8-.4L28 18c.3-.3.7-.4 1.1-.4.4 0 .8.2 1.1.5.6.6.6 1.6 0 2.2L23 27.4c-.4.4-.9.6-1.4.6H10.2c-.4 0-.8.2-1 .4l-1.8 1.9-5.5-5.5L9 18.7c.3-.3.7-.4 1.1-.5l8.5-1.1c-.2.1-.1.1 0 .1m0-1.4h-.4l-8.5 1.1c-.7.1-1.4.4-1.9.8L.4 24c-.5.4-.5 1.1-.1 1.6l.1.1 6 6c.1.2.4.3.7.3.3 0 .6-.1.8-.3l2-2.1h11.4c.9 0 1.7-.3 2.4-1l7.2-7.1c1.2-1.1 1.2-3 .1-4.2-.6-.6-1.4-.9-2.1-.9-.7 0-1.5.3-2 .8l-5.6 5.3-5.1.5-.4-.5 3.4-.9c1.6-.4 2.5-2 2.1-3.6-.3-1.4-1.4-2.2-2.7-2.2zM29.8 2l-6-1.9c-.1-.1-.2-.1-.3-.1-.1 0-.2 0-.3.1l-6 1.9c-.3.1-.4.4-.4.7v4c0 2.1.6 4 1.9 5.7 1.2 1.7 2.8 2.7 4.6 3.2h.4c1.8-.5 3.3-1.6 4.6-3.2 1.3-1.7 1.9-3.6 1.9-5.7v-4c0-.3-.1-.6-.4-.7zm-2.9 3.8l-4 4c-.1.1-.2.1-.2.1-.1 0-.2 0-.2-.1l-1.9-1.9c-.1-.1-.1-.4 0-.5L21 7c.1-.1.2-.1.2-.1.1 0 .2 0 .2.1l1.1 1.1L26 4.8c.1-.1.2-.1.2-.1.1 0 .2 0 .2.1l.5.5c.1.1.1.2.1.3s0 .1-.1.2z"})}))};function yi(t){return yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yi(t)}function vi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function mi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vi(Object(r),!0).forEach((function(e){gi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==yi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==yi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===yi(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bi=function(t){return(0,_o.tZ)(Xo,mi(mi({"aria-label":"Unity Ads Logo Icon",viewBox:"0 0 312.94 79.6"},t),{},{children:(0,_o.tZ)("path",{d:"M56.47,49.09V35.36c0-0.19-0.08-0.36-0.21-0.48c-0.06-0.06-0.14-0.1-0.22-0.13c-0.18-0.07-0.39-0.07-0.57,0.04l-14.13,8.16c-0.4,0.23-0.67,0.66-0.67,1.15v16.32c-0.01,0.5,0.58,0.83,1,0.58l11.89-6.87l11.64,6.72L34.85,78.37L4.51,60.85l11.64-6.72L28.04,61c0.43,0.26,1-0.09,0.99-0.58V44.1c0-0.46-0.24-0.9-0.66-1.15l-14.14-8.16c-0.42-0.27-1,0.08-0.99,0.57v13.73L1.6,55.81V20.77L31.94,3.25v13.44l-11.89,6.87c-0.44,0.23-0.43,0.91,0,1.15l14.14,8.16c0.39,0.23,0.9,0.24,1.33,0l14.13-8.16c0.44-0.24,0.43-0.92,0-1.15l-11.89-6.87V3.25l30.35,17.52v35.04L56.47,49.09z M106.69,44.45c0,3.53-1.97,6.05-6.1,6.05c-4.39,0-6.2-2.37-6.2-5.9V23.02h-8.92V44.3c0,8.42,5.04,13.36,15.13,13.36c10.03,0,15.03-5.04,15.03-13.36V23.02h-8.92V44.45z M145.31,40.22v16.79h-8.22V41.88c0-2.72-1.36-4.59-4.03-4.59c-2.72,0-4.54,2.27-4.54,5.45v14.27h-8.22V31.19h7.92v3.53h0.15c1.92-2.77,4.39-4.29,7.97-4.29C141.99,30.44,145.31,34.47,145.31,40.22z M149.55,20.96h8.22v6.66h-8.22V20.96z M149.55,31.19h8.22v25.82h-8.22V31.19z M172.24,31.19h4.69v6.66h-4.69v10.58c0,2.02,1.11,2.52,2.87,2.52c0.71,0,1.51-0.05,1.82-0.05v6c-0.71,0.2-2.27,0.4-4.49,0.4c-4.79,0-8.22-1.56-8.22-7.11V37.85h-3.43v-6.66h3.43v-8.17h8.02V31.19z M197.81,31.19h8.22l-8.92,26.17c-2.07,6.05-4.54,8.17-9.73,8.17h-5.34v-6.4h2.82c2.42,0,3.38-0.96,3.38-2.72c0-1.11-0.5-2.62-1.56-5.34l-7.61-19.87h8.67l3.48,10.99c0.81,2.52,1.61,5.95,1.61,5.95h0.1c0,0,0.71-3.43,1.51-5.95L197.81,31.19z M217.34,33.2c-0.17-0.4-0.41-0.75-0.71-1.05c-0.3-0.3-0.65-0.54-1.05-0.71c-0.4-0.17-0.82-0.26-1.28-0.26c-0.46,0-0.88,0.08-1.28,0.26c-0.4,0.17-0.75,0.41-1.05,0.71c-0.3,0.3-0.54,0.65-0.71,1.05c-0.17,0.4-0.26,0.82-0.26,1.28c0,0.46,0.08,0.88,0.26,1.28c0.17,0.4,0.41,0.75,0.71,1.05c0.3,0.3,0.65,0.54,1.05,0.71c0.4,0.17,0.82,0.26,1.28,0.26c0.46,0,0.88-0.08,1.28-0.26c0.4-0.17,0.75-0.41,1.05-0.71c0.3-0.3,0.54-0.65,0.71-1.05c0.17-0.4,0.25-0.82,0.25-1.28C217.6,34.03,217.51,33.6,217.34,33.2z M216.47,35.74c-0.23,0.38-0.53,0.68-0.9,0.91c-0.38,0.23-0.8,0.34-1.26,0.34c-0.46,0-0.88-0.11-1.26-0.34c-0.38-0.22-0.68-0.53-0.9-0.91c-0.23-0.38-0.34-0.8-0.34-1.26c0-0.46,0.11-0.88,0.34-1.26c0.22-0.38,0.53-0.68,0.9-0.91c0.38-0.23,0.8-0.34,1.26-0.34c0.46,0,0.88,0.11,1.26,0.34c0.38,0.22,0.68,0.53,0.9,0.91c0.22,0.38,0.34,0.8,0.34,1.26C216.81,34.95,216.7,35.36,216.47,35.74z M215.46,34.47c0.11-0.15,0.16-0.34,0.16-0.57c0-0.22-0.05-0.4-0.15-0.54c-0.1-0.14-0.23-0.25-0.37-0.32c-0.15-0.07-0.28-0.1-0.4-0.1h-1.54v3.04h0.67v-1.03h0.66l0.53,1.03h0.73l-0.62-1.18C215.25,34.71,215.37,34.6,215.46,34.47z M213.82,33.42h0.63c0.08,0,0.17,0.03,0.28,0.1c0.11,0.07,0.16,0.19,0.16,0.38c0,0.18-0.05,0.32-0.16,0.41c-0.11,0.09-0.2,0.14-0.29,0.14h-0.62V33.42z M242.5,20.46l-13.41,36.45h4.69l3.93-11.11h14.53l3.87,11.11h5l-13.46-36.45H242.5z M239.03,42.07l4.33-12.24c0.71-2.09,1.68-5.15,1.68-5.15h0.1c0,0,0.92,3.11,1.63,5.15l4.18,12.24H239.03z M281.6,34.27h-0.1c-1.68-2.5-4.54-4.33-8.26-4.33c-6.53,0-11.57,5.1-11.57,13.87c0,8.46,4.49,13.87,11.67,13.87c3.72,0,6.17-1.43,8.16-3.98h0.1v3.21h4.13V20.46h-4.13V34.27z M273.5,54.21c-5.05,0-7.6-4.38-7.6-10.35c0-5.91,2.55-10.4,7.54-10.4c5.46,0,8.41,4.28,8.41,10.4C281.86,49.82,279.36,54.21,273.5,54.21z M311.22,49.67c0,5.3-4.33,8-10.4,8c-7.24,0-11.27-3.42-11.67-9.33h4.23c0.56,4.59,3.62,5.86,7.54,5.86c4.33,0,6.12-1.89,6.12-4.33c0-2.96-2.04-3.72-6.88-4.74c-5.2-1.07-9.84-2.14-9.84-7.9c0-4.38,3.37-7.24,9.48-7.24c6.53,0,9.74,3.11,10.35,8.26h-4.23c-0.41-3.47-2.29-5-6.22-5c-3.77,0-5.3,1.68-5.3,3.77c0,2.85,2.55,3.42,7.09,4.33C306.79,42.43,311.22,43.6,311.22,49.67z"})}))};function wi(t){return wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wi(t)}function Oi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Si(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Oi(Object(r),!0).forEach((function(e){Ei(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Oi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ei(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==wi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==wi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===wi(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xi=function(t){return(0,_o.tZ)(Xo,Si(Si({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})}))};function ji(t){return ji="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ji(t)}function Pi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ki(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Pi(Object(r),!0).forEach((function(e){Li(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Li(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ji(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ji(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ji(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _i=function(t){return(0,_o.tZ)(Xo,ki(ki({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"m18.3 5.71c-.39-.39-1.02-.39-1.41 0l-4.89 4.88-4.89-4.89c-.39-.39-1.02-.39-1.41 0s-.39 1.02 0 1.41l4.89 4.89-4.89 4.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.89-4.89 4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41l-4.89-4.89 4.89-4.89c.38-.38.38-1.02 0-1.4z"})}))};function Ai(t){return Ai="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ai(t)}function Ti(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ci(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ti(Object(r),!0).forEach((function(e){Ii(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ti(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ii(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ai(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ai(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ai(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Di=function(t){return(0,_o.tZ)(Xo,Ci(Ci({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M3.63 3.63a.996.996 0 000 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34a.996.996 0 101.41-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29l-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12A4.5 4.5 0 0014 7.97v1.79l2.48 2.48c.01-.08.02-.16.02-.24z"})}))};function Ni(t){return Ni="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ni(t)}function Ri(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ri(Object(r),!0).forEach((function(e){Fi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ri(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ni(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ni(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ni(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gi=function(t){return(0,_o.tZ)(Xo,Zi(Zi({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M3 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L7 9H4c-.55 0-1 .45-1 1zm13.5 2A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 4.45v.2c0 .38.25.71.6.85C17.18 6.53 19 9.06 19 12s-1.82 5.47-4.4 6.5c-.36.14-.6.47-.6.85v.2c0 .63.63 1.07 1.21.85C18.6 19.11 21 15.84 21 12s-2.4-7.11-5.79-8.4c-.58-.23-1.21.22-1.21.85z"})}))};function Mi(t){return Mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mi(t)}function Ui(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ui(Object(r),!0).forEach((function(e){zi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ui(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mi(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bi=function(t){return(0,_o.tZ)(Xo,Vi(Vi({viewBox:"0 0 37.5 22"},t),{},{children:(0,_o.tZ)("path",{d:"M28.3,5.8v10.4h-1.4v-4.6l-8.4,4.5v-5l-9.3,5V5.8l9.3,5.1V5.8l8.4,4.6V5.8H28.3z"})}))};function Yi(t){return Yi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yi(t)}function Hi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function qi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Hi(Object(r),!0).forEach((function(e){Xi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Xi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Yi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Yi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Yi(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wi=function(t){return(0,_o.tZ)(Xo,qi(qi({viewBox:"0 0 37.5 22","aria-label":"Play Icon"},t),{},{children:(0,_o.tZ)("path",{d:"M13,5v14l11-7L13,5z"})}))};function $i(t){return $i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$i(t)}function Ji(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Qi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ji(Object(r),!0).forEach((function(e){Ki(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ji(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ki(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==$i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==$i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===$i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ta=function(t){return(0,_o.tZ)(Xo,Qi(Qi({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M0.833008 17.4998H19.1663L9.99967 1.6665L0.833008 17.4998ZM10.833 14.9998H9.16634V13.3332H10.833V14.9998ZM10.833 11.6665H9.16634V8.33317H10.833V11.6665Z"})}))};function ea(t){return ea="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ea(t)}var ra=["message","onClose","open"];function na(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function oa(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?na(Object(r),!0).forEach((function(e){ia(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):na(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ia(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ea(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ea(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ea(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function aa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ca=(0,Lo.Z)("div",{target:"e6f3cle4"})((function(t){var e=t.internalOpen;return{backgroundColor:t.theme.palette.grey[900],borderRadius:"16px",display:"flex",maxHeight:e?"100px":0,opacity:e?1:0,transform:e?"scale(1)":"scale(0.5)",transition:"opacity 0.25s, transform 0.25s, max-height 0.275s ease-in-out"}}),""),ua=(0,Lo.Z)("div",{target:"e6f3cle3"})((function(t){var e=t.theme;return{alignItems:"center",borderRight:"1px solid ".concat(e.palette.grey[800]),color:e.palette.common.white,display:"flex",flexGrow:1,fontSize:"14px",padding:e.spacing(2)}}),""),la=(0,Lo.Z)("button",{target:"e6f3cle2"})((function(t){var e=t.theme;return{"&:hover":{color:e.palette.common.white},alignItems:"center",color:e.palette.grey[400],cursor:"pointer",display:"flex",justifyContent:"center",padding:e.spacing(2.5)}}),""),sa=(0,Lo.Z)(oi,{target:"e6f3cle1"})((function(t){var e=t.theme;return{color:e.palette.success.main,fontSize:"20px",marginRight:e.spacing(2)}}),""),fa=(0,Lo.Z)(_i,{target:"e6f3cle0"})({name:"14is9qy",styles:"font-size:20px"}),pa=function(t){var e=t.message,r=t.onClose,n=t.open,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,ra),i=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return aa(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aa(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),a=i[0],c=i[1];return(0,Co.useEffect)((function(){c(n)}),[n]),(0,_o.BX)(ca,oa(oa({internalOpen:a},o),{},{children:[(0,_o.BX)(ua,{children:[(0,_o.tZ)(sa,{}),e]}),(0,_o.tZ)(la,{onClick:r,children:(0,_o.tZ)(fa,{})})]}))};function da(t){return da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},da(t)}function ha(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ya(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ha(Object(r),!0).forEach((function(e){va(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ha(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function va(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==da(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==da(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===da(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ma(t,e){if(t){if("string"==typeof t)return ga(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ga(t,e):void 0}}function ga(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ba=(0,Co.createContext)({showSnackbar:function(){}}),wa=(0,Lo.Z)("div",{target:"e1dsyifb1"})((function(t){return{bottom:0,left:0,padding:t.theme.spacing(2),pointerEvents:"none",position:"fixed",width:"100%",zIndex:9999}}),""),Oa=(0,Lo.Z)(Uo,{target:"e1dsyifb0"})({name:"eqnjzv",styles:"flex-direction:column;pointer-events:initial"}),Sa=function(t){var e=t.children,r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||ma(t,e)||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.")}()}((0,Co.useState)([]),2),n=r[0],o=r[1],i=(0,Co.useCallback)((function(t){o((function(e){return e.map((function(e){return e.id===t?ya(ya({},e),{},{open:!1}):e}))})),window.setTimeout((function(){o((function(e){return e.filter((function(e){return e.id!==t}))}))}),250)}),[]),a=(0,Co.useCallback)((function(t,e){var r=(0,Io.Z)();window.setTimeout((function(){return i(r)}),e),o((function(n){return[].concat(function(t){return function(t){if(Array.isArray(t))return ga(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ma(t)||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.")}()}(n),[{duration:e,id:r,message:t,open:!0}])}))}),[i]),c=(0,Co.useMemo)((function(){return{showSnackbar:function(t,e){return a(t,e)}}}),[a]),u=n.map((function(t){return(0,_o.tZ)(pa,{message:t.message,open:t.open,onClose:function(){return i(t.id)}},t.id)}));return(0,_o.BX)(ba.Provider,{value:c,children:[e,(0,_o.tZ)(wa,{children:(0,_o.tZ)(Oa,{gapSize:2,children:u})})]})},Ea=(r(17867),/([{][a-zA-Z]+[}])/),xa=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.split(Ea).map((function(t){if(t.match(Ea)){var r=t.slice(1,t.length-1);return(0,_o.tZ)(Co.Fragment,{children:e[r]},r)}return t}));return r};function ja(t){return ja="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ja(t)}var Pa=["message","values"];function ka(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function La(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ka(Object(r),!0).forEach((function(e){_a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ja(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ja(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ja(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Aa=(0,Lo.Z)("span",{target:"e3pmfxv0"})({name:"1l0p3iw",styles:"white-space:pre-line"}),Ta=function(t){var e=t.message,r=t.values,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Pa);return(0,_o.tZ)(Aa,La(La({},n),{},{children:xa(e,r)}))};function Ca(t){return Ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ca(t)}function Ia(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Da(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ca(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ca(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ca(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Na=function(t,e,r){return(0,_o.tZ)(Ta,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ia(Object(r),!0).forEach((function(e){Da(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ia(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({message:t,values:e},r))};function Ra(t){return Ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ra(t)}function Za(){Za=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ra(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Fa(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ga(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ma={da_DK:!0,de:!0,en:!0,es:!0,fi:!0,fr:!0,is:!0,it:!0,ja:!0,ko:!0,lt:!0,nb:!0,pt:!0,pt_BR:!0,ro:!0,ru:!0,sv:!0,tr:!0,zh_Hans:!0,zh_Hant:!0},Ua=function(t){if(/zh(_TW|_HK|_MO|_#?Hant)?(_TW|_HK|_MO|_#?Hant)+$/.exec(t))return"zh_Hant";if(/zh(((_#?Hans)?(_\D\D)?)|((_\D\D)?(_#?Hans)?))$/.exec(t))return"zh_Hans";if(Ma[t])return t;var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ga(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ga(t,e):void 0}}(t,e)||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.")}()}(t.split("_"),1)[0];return Ma[e]?e:"en"},Va=function(){var t,e=(t=Za().mark((function t(e){var n,o,i;return Za().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Ua(e),t.next=3,r(30481)("./".concat(n));case 3:return o=t.sent,i=o.default,t.abrupt("return",i);case 6:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Fa(i,n,o,a,c,"next",t)}function c(t){Fa(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),za=r(49114);function Ba(t){return Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ba(t)}function Ya(){Ya=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ba(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Ha(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function qa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Xa=function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qa(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qa(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(za.default),2),r=e[0],n=e[1];return(0,Co.useEffect)((function(){var e=function(){var e,r=(e=Ya().mark((function e(){var r,o;return Ya().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Va(t);case 3:r=e.sent,n(r),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),o=e.t0 instanceof Error?e.t0:new Error("Unknown error"),ht.ap.emitDiagnostic("loadLocaleError",{message:o.message});case 11:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Ha(i,n,o,a,c,"next",t)}function c(t){Ha(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();e()}),[t]),r},Wa=(0,Co.createContext)(null),$a=function(t){var e=t.language,r=t.children,n=Xa(e),o=(0,Co.useMemo)((function(){return{formatMessage:Na,locale:n}}),[n]);return(0,_o.tZ)(Wa.Provider,{value:o,children:r})},Ja=function(){var t=(0,Co.useContext)(Wa);if(!t)throw new Error("useLocale must be used within a LocaleContext.Provider");return t};function Qa(t){return Qa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qa(t)}var Ka=["open","hideCloseButton","onClose","closeButtonText","children"];function tc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ec(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tc(Object(r),!0).forEach((function(e){rc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Qa(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Qa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Qa(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nc=(0,Lo.Z)("div",{target:"e14yqwe43"})((function(t){var e=t.theme,r=t.open;return{backgroundColor:"rgba(0,0,0,".concat(r?.4:0,")"),bottom:0,height:"100%",position:"absolute",transition:"background-color ".concat(e.transitions.duration.standard,"ms"),visibility:r?"visible":"hidden",width:"100%",zIndex:2}}),""),oc=(0,Lo.Z)("div",{target:"e14yqwe42"})((function(t){var e=t.theme,r=t.open;return{"@media (orientation: landscape)":{margin:["0","0 constant(safe-area-inset-right) 0 constant(safe-area-inset-left)","0 env(safe-area-inset-right) 0 env(safe-area-inset-left)"],top:"3rem"},bottom:0,fontSize:"0.75rem",left:"0.75rem",opacity:r?1:0,pointerEvents:r?"initial":"none",position:"fixed",right:"0.75rem",top:"10rem",transform:r?"translateY(0%)":"translateY(100%)",transitionDuration:"".concat(e.transitions.duration.standard,"ms"),zIndex:1e3}}),""),ic=(0,Lo.Z)("div",{target:"e14yqwe41"})((function(t){var e=t.theme;return{"::-webkit-scrollbar":{width:"0.5rem"},"::-webkit-scrollbar-thumb":{backgroundColor:"lightgrey",borderRadius:e.shape.borderRadius},backgroundColor:e.palette.grey[50],borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,boxShadow:"0 0 10px 0 darkgrey",color:e.palette.common.black,height:"100%",overflowY:"auto",position:"relative"}}),""),ac=(0,Lo.Z)("button",{target:"e14yqwe40"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.black,borderRadius:"25px",boxShadow:"0 0 10px 0 ".concat(e.palette.common.black),color:e.palette.common.white,cursor:"pointer",height:"2rem",padding:"".concat(e.spacing(1)," ").concat(e.spacing(2)),position:"absolute",top:"-2.75rem"}}),""),cc=function(t){var e=t.open,r=t.hideCloseButton,n=t.onClose,o=t.closeButtonText,i=t.children,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Ka);return(0,_o.tZ)(nc,{open:e,children:(0,_o.BX)(oc,ec(ec({"aria-label":"privacy:screen",open:e},a),{},{children:[(0,_o.tZ)(ic,{children:i}),!r&&(0,_o.tZ)(ac,{"aria-label":"button:privacy-back",type:"button",onClick:n,children:o})]}))})},uc=(0,Lo.Z)("div",{target:"e1ewy2890"})({name:"oit74u",styles:'&:after{@keyframes spin{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}animation:spin 1s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;border:6px solid;border-color:#fff transparent #fff transparent;border-radius:50%;content:"";display:block;height:3.5rem;width:3.5rem;}display:inline-block;left:50%;pointer-events:none;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:1'}),lc=(0,Lo.Z)("div",{target:"eh7uymq1"})((function(t){var e=t.theme;return{borderBottom:"1px solid ".concat(e.palette.grey[300]),display:"grid",gridTemplateColumns:"118px 1fr",padding:e.spacing(1,0)}}),""),sc=(0,Lo.Z)("span",{target:"eh7uymq0"})((function(){return{":first-of-type":{fontSize:"0.4rem",fontWeight:"600",textTransform:"uppercase",whiteSpace:"nowrap"},fontSize:"0.5rem",lineHeight:"20px",overflow:"hidden",overflowWrap:"break-word"}}),""),fc=function(t){var e=t.label,r=t.value;return(0,_o.BX)(lc,{children:[(0,_o.tZ)(sc,{children:e}),(0,_o.tZ)(sc,{children:null!=r?r:"-"})]})};function pc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var dc=(0,Lo.Z)("div",{target:"etnh8fy2"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",height:"100%",padding:e.spacing(4,3)}}),""),hc=(0,Lo.Z)("span",{target:"etnh8fy1"})((function(){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:"24px"}}),""),yc=(0,Lo.Z)("div",{target:"etnh8fy0"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),vc=r(77769),mc=r(27399),gc=r.n(mc);function bc(t){return bc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bc(t)}var wc=["color","className","heightVariant","variant"];function Oc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Sc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==bc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==bc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===bc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ec=(0,Lo.Z)("button",{target:"edx48cd0"})((function(t){var e=t.theme,r=t.color;return{"&.contained":{backgroundColor:r,border:"1px solid transparent",color:e.palette.common.white},"&.narrow":{padding:"5px 15px"},"&.outlined":{backgroundColor:"transparent",border:"1px solid currentColor",color:r},"&.text":{backgroundColor:"transparent",border:"1px solid transparent",color:r},":disabled":{cursor:"default",opacity:.5},alignItems:"center",borderRadius:e.shape.borderRadius,cursor:"pointer",display:"flex",flexDirection:"row",justifyContent:"center",padding:"12px 15px"}}),""),xc=function(t){var e=t.color,r=void 0===e?"primary":e,n=t.className,o=t.heightVariant,i=t.variant,a=void 0===i?"text":i,c=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,wc),u=function(t,e){return{error:t.palette.error.main,primary:t.palette.primary.main}[e]||e}((0,vc.u)(),r),l=gc()(n,a,o);return(0,_o.tZ)(Ec,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Oc(Object(r),!0).forEach((function(e){Sc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Oc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({className:l,color:u},c))};function jc(t){return jc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jc(t)}var Pc=["href","children"];function kc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Lc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kc(Object(r),!0).forEach((function(e){_c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function _c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==jc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==jc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===jc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ac=function(t){var e=t.href,r=t.children,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Pc),o=(0,Lo.Z)("a",{target:"e10beotl0"})((function(t){return{"&:focus":{textDecoration:"underline"},"&:hover":{textDecoration:"underline"},alignItems:"center",color:t.theme.palette.primary.light,display:"inline-flex",outline:"none",textDecoration:"none"}}),"");return(0,_o.tZ)(o,Lc(Lc({onClick:function(t){t.preventDefault(),oe.k7.getState().openUrlCallback(e)},href:e},n),{},{children:r}))},Tc=(0,Lo.Z)("div",{target:"e1xh5h5h8"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",justifyContent:"center",padding:e.spacing(2,3)}}),""),Cc=(0,Lo.Z)(Tc,{target:"e1xh5h5h7"})((function(t){var e=t.theme;return{alignItems:"center",backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",padding:e.spacing(2,3,0),textAlign:"center"}}),""),Ic=(0,Lo.Z)(hi,{target:"e1xh5h5h6"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),Dc=(0,Lo.Z)(Tc,{target:"e1xh5h5h5"})((function(t){return{fontSize:"1.25rem",padding:t.theme.spacing(1,0)}}),""),Nc=(0,Lo.Z)(Tc,{target:"e1xh5h5h4"})((function(t){return{alignItems:"center",paddingBottom:t.theme.spacing(4)}}),""),Rc=(0,Lo.Z)(bi,{target:"e1xh5h5h3"})({name:"1ay415h",styles:"height:auto;width:5em"}),Zc=(0,Lo.Z)("div",{target:"e1xh5h5h2"})((function(t){return{display:"grid",gridTemplateRows:"52px",paddingBottom:t.theme.spacing(2)}}),""),Fc=(0,Lo.Z)(xc,{target:"e1xh5h5h1"})((function(t){return{backgroundColor:t.theme.palette.grey[100],width:"100%"}}),""),Gc=(0,Lo.Z)("div",{target:"e1xh5h5h0"})((function(t){return{display:"flex",padding:t.theme.spacing(1,0)}}),"");function Mc(t){return Mc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mc(t)}var Uc=["summary","expanded","autoHeight","children","onChange"];function Vc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vc(Object(r),!0).forEach((function(e){Bc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Hc=(0,Lo.Z)("div",{target:"eafm33y2"})((function(t){return{alignItems:"center",cursor:"pointer",display:"flex",fontWeight:"bold",justifyContent:"space-between",padding:t.theme.spacing(2,0)}}),""),qc=(0,Lo.Z)("div",{target:"eafm33y1"})((function(t){var e=t.theme;return{"&.collapsed":{height:0,opacity:0,overflow:"hidden"},height:t.height,opacity:1,transition:"all ".concat(e.transitions.duration.standard,"ms ease")}}),""),Xc=(0,Lo.Z)(Ko,{target:"eafm33y0"})((function(t){var e=t.theme;return{transform:t.expanded?"rotate(0deg)":"rotate(-90deg)",transition:"transform ".concat(e.transitions.duration.standard,"ms")}}),""),Wc=function(t){var e=t.summary,r=t.expanded,n=t.autoHeight,o=t.children,i=t.onChange,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Uc),c=(0,Co.useRef)(null),u=(0,Co.useRef)(null),l=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Yc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yc(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)("auto"),2),s=l[0],f=l[1],p=function(){var t,e;return f(null!==(t=null===(e=c.current)||void 0===e?void 0:e.children[0].scrollHeight)&&void 0!==t?t:"auto")};return(0,Co.useEffect)(p),(0,Co.useEffect)((function(){var t=new MutationObserver(p);return window.addEventListener("resize",p),u.current&&t.observe(u.current,{childList:!0,subtree:!0}),function(){window.removeEventListener("resize",p),t.disconnect()}}),[]),(0,_o.BX)("div",zc(zc({ref:u},a),{},{children:[(0,_o.BX)(Hc,{onClick:i,children:[e,(0,_o.tZ)(Xc,{expanded:r})]}),(0,_o.tZ)(qc,{ref:c,className:r?"expanded":"collapsed",height:n?"auto":s,children:(0,_o.tZ)("div",{children:o})})]}))};function $c(t){return $c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$c(t)}function Jc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Qc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==$c(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==$c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===$c(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var tu=function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Kc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kc(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),r=e[0],n=e[1];return(0,_o.tZ)(Wc,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Jc(Object(r),!0).forEach((function(e){Qc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({expanded:r,onChange:function(){return n(!r)}},t))};function eu(t){return eu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eu(t)}function ru(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ru(Object(r),!0).forEach((function(e){ou(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ru(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ou(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==eu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==eu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===eu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iu=function(t){return(0,_o.tZ)(Xo,nu(nu({viewBox:"0 0 24 24"},t),{},{children:(0,_o.tZ)("path",{d:"M10.0003 1.66663C5.40033 1.66663 1.66699 5.39996 1.66699 9.99996C1.66699 14.6 5.40033 18.3333 10.0003 18.3333C14.6003 18.3333 18.3337 14.6 18.3337 9.99996C18.3337 5.39996 14.6003 1.66663 10.0003 1.66663ZM10.8337 14.1666H9.16699V12.5H10.8337V14.1666ZM10.8337 10.8333H9.16699V5.83329H10.8337V10.8333Z"})}))};function au(t){return au="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},au(t)}var cu=["children","type"];function uu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uu(Object(r),!0).forEach((function(e){su(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function su(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==au(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==au(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===au(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fu=(0,Lo.Z)("div",{target:"e1xcab2j3"})([function(t){var e=t.theme,r=t.type;return"error"===r?{backgroundColor:e.palette.error.light,color:e.palette.error.main}:"warning"===r?{backgroundColor:e.palette.warning.light,color:e.palette.warning.main}:{backgroundColor:e.palette.success.light,color:e.palette.success.main}},function(t){return{borderRadius:"8px",display:"flex",fontSize:"14px",fontWeight:600,padding:t.theme.spacing(2)}}],""),pu=(0,Lo.Z)(iu,{target:"e1xcab2j2"})((function(t){return{fontSize:"0.8rem",marginRight:t.theme.spacing(1.7)}}),""),du=(0,Lo.Z)(oi,{target:"e1xcab2j1"})((function(t){return{marginRight:t.theme.spacing(2)}}),""),hu=(0,Lo.Z)(ta,{target:"e1xcab2j0"})((function(t){return{fontSize:"0.8rem",marginRight:t.theme.spacing(1.7)}}),""),yu=function(t){var e=t.type;return"warning"===e?(0,_o.tZ)(hu,{}):"error"===e?(0,_o.tZ)(pu,{}):(0,_o.tZ)(du,{})},vu=function(t){var e=t.children,r=t.type,n=void 0===r?"success":r,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,cu);return(0,_o.BX)(fu,lu(lu({type:n},o),{},{children:[(0,_o.tZ)(yu,{type:n}),e]}))};function mu(t){return mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mu(t)}var gu=["children"];function bu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bu(Object(r),!0).forEach((function(e){Ou(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ou(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==mu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==mu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===mu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Su,Eu=(0,Lo.Z)("span",{target:"eso50yn0"})((function(t){return{"&:focus":{textDecoration:"underline"},"&:hover":{textDecoration:"underline"},alignItems:"center",color:t.theme.palette.primary.light,cursor:"pointer",display:"inline-flex",outline:"none",textDecoration:"none"}}),""),xu=function(t){var e=t.children,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,gu);return(0,_o.tZ)(Eu,wu(wu({},r),{},{children:e}))};function ju(t){return ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ju(t)}function Pu(){Pu=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==ju(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ku(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}!function(t){t.AgeGateOlder="Privacy/Age_Gate/Older",t.AgeGateYounger="Privacy/Age_Gate/Younger",t.PrivacyOpened="Privacy/EndCard/Click",t.NetworkWideOptOut="Privacy/EndCard/Network_Wide_Opt_Out",t.NetworkWideOptIn="Privacy/EndCard/Network_Wide_Opt_In",t.RequestDataSubmit="Privacy/EndCard/Request_Data_Submit",t.DeleteData="Privacy/EndCard/Delete_Data",t.ConsentNetworkWideOptOut="Privacy/Consent/Network_Wide_Opt_Out",t.ConsentNetworkWideOptIn="Privacy/Consent/Network_Wide_Opt_In",t.ConsentRequestDataSubmit="Privacy/Consent/Request_Data_Submit",t.ConsentAgreeToAll="Privacy/Consent/Agree_To_All",t.ConsentDisagreeToAll="Privacy/Consent/Disagree_To_All",t.ConsentPartiallyAgreed="Privacy/Consent/Partially_Agreed",t.PersonalizationConsentChoicesSubmitted="Privacy/Personalization/ConsentChoicesSubmitted",t.ExperiencePersonalizationSubmitted="Privacy/Personalization/ExperiencePersonalizationSubmitted"}(Su||(Su={}));var Lu,_u=function(){var t,e=(t=Pu().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p,d,h;return Pu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=(0,oe.PP)(),a=i.getState().context,c=a.platform,u=a.sdkVersion,l=a.gameId,s=a.gamerToken,f=a.legalFramework,p=a.gameSessionId,t.next=4,null===(n=(o=i.getState()).getSessionTokenCallback)||void 0===n?void 0:n.call(o);case 4:return d=t.sent,h={actionId:e,gameId:l,gameSessionId:p,gamerToken:s,legalFramework:f,permissions:r,platform:c,sdkVersion:u,sessionToken:d},t.abrupt("return",Ee(h,"privacy_action_log"));case 7:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ku(i,n,o,a,c,"next",t)}function c(t){ku(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function Au(t){return Au="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Au(t)}function Tu(){Tu=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Au(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Cu(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Iu(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Cu(i,n,o,a,c,"next",t)}function c(t){Cu(i,n,o,a,c,"throw",t)}a(void 0)}))}}!function(t){t.FailedVerification="failedVerification",t.GenericError="genericError",t.MultipleFailedVerifications="multipleFailedVerifications",t.Success="success"}(Lu||(Lu={}));var Du=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;switch(t){case 400:case 403:return Lu.FailedVerification;case 429:return Lu.MultipleFailedVerifications;default:return Lu.GenericError}},Nu=function(){var t=Iu(Tu().mark((function t(e){var r,n,o,i;return Tu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={email:e},t.next=3,we(r,"captcha_init");case 3:if((n=t.sent).content){t.next=6;break}throw new Error("Invalid response");case 6:if((o=JSON.parse(n.content)).body){t.next=9;break}throw new Error("Invalid response");case 9:if(!(o.body.status<200||o.body.status>299)){t.next=11;break}throw new Error("Could not fetch captcha initialization");case 11:if(16===(null==(i=JSON.parse(o.body.body).imageURLs)?void 0:i.length)){t.next=14;break}throw new Error("Invalid response");case 14:return t.abrupt("return",i);case 15:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ru=function(){var t=Iu(Tu().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p,d;return Tu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=(0,oe.PP)().getState().context,o=n.bundleId,i=n.gameId,a=n.language,c=n.platform,u=_e.getState(),l=u.ageGateUnderAgeLimit,t.t0=l,t.next=!0===t.t0?5:!1===t.t0?7:9;break;case 5:return s="no",t.abrupt("break",11);case 7:return s="yes",t.abrupt("break",11);case 9:return s="missing",t.abrupt("break",11);case 11:return f={agreedOverAgeLimit:s,agreedVersion:20181106,answer:e,bundleId:o,email:r,gameId:i,language:a,layout:"",platform:c},t.prev=12,t.next=15,we(f,"captcha_verify");case 15:if(!(p=t.sent).content){t.next=22;break}if((d=JSON.parse(p.content)).body){t.next=20;break}return t.abrupt("return",Lu.GenericError);case 20:if(!(d.body.status<200||d.body.status>299)){t.next=22;break}return t.abrupt("return",Du(d.body.status));case 22:t.next=27;break;case 24:return t.prev=24,t.t1=t.catch(12),t.abrupt("return",Lu.GenericError);case 27:return t.abrupt("return",Lu.Success);case 28:case"end":return t.stop()}}),t,null,[[12,24]])})));return function(e,r){return t.apply(this,arguments)}}(),Zu=(0,Lo.Z)("div",{target:"en9qofi1"})((function(t){return{"@keyframes show-up":{from:{opacity:0},to:{opacity:1}},animation:"show-up 0.2s forwards",background:"rgba(255, 255, 255, 0.8)",borderRadius:t.theme.spacing(0,0,1,1),display:"flex",height:"100%",position:"absolute",top:0,width:"100%"}}),""),Fu=(0,Lo.Z)("div",{target:"en9qofi0"})((function(t){var e=t.theme;return{"@keyframes spin":{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},animation:"spin 1s ease-in infinite",border:"".concat(e.spacing(.5)," solid rgba(225, 225, 225, 0.1)"),borderRadius:"50%",borderTop:"".concat(e.spacing(.5)," solid ").concat(e.palette.grey[600]),bottom:0,height:e.spacing(5),left:0,margin:"auto",position:"absolute",right:0,top:0,width:e.spacing(5)}}),""),Gu=function(){return(0,_o.tZ)(Zu,{children:(0,_o.tZ)(Fu,{})})};function Mu(t){return Mu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mu(t)}var Uu=["src","onError"];function Vu(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Vu(Object(r),!0).forEach((function(e){Bu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Vu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bu(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yu(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Hu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hu(t,e):void 0}}(t,e)||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 Hu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var qu=(0,Lo.Z)("div",{target:"eyd737x1"})((function(t){var e=t.theme;return{alignItems:"center",display:"grid",gridGap:e.spacing(.5),gridTemplateColumns:"repeat(4, auto)",padding:e.spacing(1)}}),""),Xu=(0,Lo.Z)("img",{target:"eyd737x0"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,border:"1px solid ".concat(e.palette.grey[500]),borderRadius:e.spacing(.5),cursor:"pointer",height:"61px",overflow:"hidden",textOverflow:"ellipsis",width:"61px"}}),""),Wu=Co.forwardRef((function(t,e){var r=t.src,n=t.onError,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Uu),i=Yu((0,Co.useState)(!1),2),a=i[0],c=i[1];return(0,_o.tZ)(Xu,zu(zu({},o),{},{src:a?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAbFBMVEX/////AAD/m5v/+fn/np7/3t7/6Oj/t7f/IyP/yMj/8PD/z8//i4v/Xl7/GBj//Pz/rq7/paX/Pj7/lZX/VFT/eXn/bGz/hYX/19f/SEj/fX3/CQn/NTX/w8P/Ojr/kZH/LCz/Zmb/c3P/Tk7iumC1AAADX0lEQVRoge2Z23qqMBCFGwFFVFDwUA61qO//ji2ImEkmyYSEfbG//reELIGVWZP48fHHHwSSVRiuknklKtZRVzPKRDEbiDdzaWwYx3oejYgBojk0ggaK5MEMIlsmUPjXiEQNxpbeRY6yyM63xpes4d9hDSZy9auxwDQYC31qLGtcJPX57U+4BmOVP41PlQZjn95ErmqR3JfGSq3B2MqPRhDrRGI/Jexbp8HYtw8NpGhBfNT8s0nk7K6xNmn4KGGtWaR11TiIMza7o1QsD24aSQqn2/bFKglhLUvdOqQLmKweG6EIrp2Li4Zg343yiouNYeZu+UtwiR6nawiZC8JjCa99TRaB9hXCtgQX26kaIfyxJ3gVemJqEgsvBH4SudmblsRi5t71l0/4LHqkzBVCUOr2piTxQ5wkBfGUSUWttNdAMhesOKRL2ttqZEjmgrWwka+ntklcyHOwheFJbZNYtG/PjR9xwUbY2RjNXGAvZCsh/AwTiszl3zneJ1kkcSbZV3obCT6izMgiqpaR6xZVjRLZxpliAt5ee9UYqo2lfe4L7rtiFu8hJrG6ZWzfg27KQbQkVreM3JJWt2MkG6P73IGx0AapehAhibNSfft7GWj2Xiw321hpm47RXtoO2dxQ6u5+h6PUvQJMNkbr3sh40KHcDvcYktiw42lev3GnH6dP4pv+5nrorAPNfrhDe7Rj3PEMK01s9iV0NjbueIab0UzjidU21numY098YhjVPIqMAPcGHfrF9ES1L9LbtyeN26a55trjgycKG+tKxQTw42mD9215YBq66jsJ5GgnQ08ZZdKyJHyRjlYuYYpTRoGiN02iDGiA1FAS7MtvsdeKQ0mI2FBWlJs4wyD9toywbSLZFzx+aB4vVmO0sxWowSI21sgOsC/SnjK+EIxPWlacjcW/RnCEto3ksPb99KT3a9pi44x/spDsK8UdsQq9HuVOGw4/vK694xkaSnL1BUFEiJQnG5vnZmAFGwN4pD+lsqi+9dixGw+LOTob63pfiaJ/mCXNjgO53W/6JT1W1Y74zV9EhA7FmQOle3Cl8p3sGMd/IfKgpZUbd/rKnc6BWh1dSKhtigOFRRGeytkmsyYylu5lkc+jcC3g+f56f/gl7Fk48Jyhm2u/XtJPv/74H/kBKJ4poMdzqVUAAAAASUVORK5CYII=":r,ref:e,onError:function(t){c(!0),null==n||n(t)}}))})),$u=function(t){var e=t.imageURLs,r=t.onSelect,n=Yu((0,Co.useState)(!1),2),o=n[0],i=n[1],a=(0,Co.useRef)([]),c=function(){return i(!a.current.every((function(t){return null==t?void 0:t.complete})))};return(0,_o.BX)(_o.HY,{children:[(0,_o.tZ)(qu,{children:e.map((function(t,e){return(0,_o.tZ)(Wu,{ref:function(t){a.current[e]=t},src:t,alt:t,onClick:function(){return r(t)},onLoad:c,onError:c},t)}))}),o&&(0,_o.tZ)(Gu,{})]})};function Ju(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Qu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qu(t,e):void 0}}(t,e)||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 Qu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ku=(0,Lo.Z)("div",{target:"efrvfox5"})((function(){return{alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.35)",bottom:0,display:"flex",height:"100%",justifyContent:"center",left:0,margin:0,overflow:"hidden",position:"fixed",right:0,top:0,width:"100%",zIndex:9999}}),""),tl=(0,Lo.Z)("button",{target:"efrvfox4"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.black,borderRadius:"1rem",boxShadow:"0 0 10px 0 ".concat(e.palette.common.black),color:e.palette.common.white,cursor:"pointer",height:"2rem",padding:"".concat(e.spacing(1)," ").concat(e.spacing(2)),position:"relative",top:"-0.5rem",width:"fit-content"}}),""),el=(0,Lo.Z)("div",{target:"efrvfox3"})((function(t){return{borderRadius:t.theme.shape.borderRadius,display:"flex",flexDirection:"column",width:"275px"}}),""),rl=(0,Lo.Z)("div",{target:"efrvfox2"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,borderRadius:e.spacing(1,1,0,0),color:e.palette.common.black,fontSize:"0.6rem",fontWeight:400,padding:e.spacing(1,1,.5,1)}}),""),nl=(0,Lo.Z)("div",{target:"efrvfox1"})((function(t){var e=t.theme;return{alignItems:"center",backgroundColor:e.palette.grey[100],borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,display:"flex",flexDirection:"column",minHeight:"275px",position:"relative",width:"100%"}}),""),ol=(0,Lo.Z)("div",{target:"efrvfox0"})((function(t){var e=t.theme;return{backgroundColor:e.palette.grey[300],borderRadius:e.spacing(0,0,1,1),color:e.palette.error.main,fontSize:"0.6rem",padding:e.spacing(1),width:"100%"}}),""),il=function(t){var e=t.email,r=t.initCaptcha,n=t.onClose,o=t.onFailure,i=t.onSuccess,a=t.verifyCaptcha,c=Ja().locale,u=Ju((0,Co.useState)(!1),2),l=u[0],s=u[1],f=Ju((0,Co.useState)([]),2),p=f[0],d=f[1],h=Ju((0,Co.useState)(!1),2),y=h[0],v=h[1];return(0,Co.useEffect)((function(){s(!0),r(e).then((function(t){d(t)})).catch((function(){o(Lu.GenericError),n()})).finally((function(){s(!1)}))}),[r,e,n,o]),(0,_o.tZ)(Ku,{children:(0,_o.BX)(el,{children:[(0,_o.tZ)(tl,{type:"button",onClick:n,children:c.common.back}),(0,_o.tZ)(rl,{children:c.privacy.captcha.title}),(0,_o.tZ)(nl,{children:l?(0,_o.tZ)(Gu,{}):(0,_o.BX)(_o.HY,{children:[(0,_o.tZ)($u,{imageURLs:p,onSelect:function(t){s(!0),a(t,e).then((function(t){switch(t){case Lu.Success:i(),v(!1),n();break;case Lu.FailedVerification:v(!0);break;default:o(t),n()}})).catch((function(){return o(Lu.GenericError)})).finally((function(){s(!1)}))}}),y&&(0,_o.tZ)(ol,{children:c.privacy.captcha.retryMessage})]})})]})})};function al(t){return al="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},al(t)}function cl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ul(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==al(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==al(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===al(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ll=function(t){return(0,_o.tZ)(il,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cl(Object(r),!0).forEach((function(e){ul(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({verifyCaptcha:Ru,initCaptcha:Nu},t))};function sl(t){return sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sl(t)}function fl(){fl=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==sl(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function pl(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function dl(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){pl(i,n,o,a,c,"next",t)}function c(t){pl(i,n,o,a,c,"throw",t)}a(void 0)}))}}function hl(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yl(t,e):void 0}}(t,e)||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 yl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var vl=(0,Lo.Z)(Uo,{target:"eox4l1r1"})({name:"qdeacm",styles:"flex-direction:column"}),ml=(0,Lo.Z)(xc,{target:"eox4l1r0"})({name:"1ff36h2",styles:"flex-grow:1"}),gl=function(){var t=Ja().locale,e=hl((0,Co.useState)(!1),2),r=e[0],n=e[1],o=hl((0,Co.useState)(!1),2),i=o[0],a=o[1],c=hl((0,Co.useState)(),2),u=c[0],l=c[1],s=hl((0,Co.useState)(!1),2),f=s[0],p=s[1],d=Na(t.privacy.sections.deleteData.description,{deleteData:(0,_o.tZ)(xu,{"aria-label":"link:privacy-delete-your-data",onClick:function(){n(!0)},children:t.privacy.sections.deleteData.deleteDataLink})}),h=function(){var t=dl(fl().mark((function t(){return fl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,je("delete_data",Ge());case 2:p(!0);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),y=function(){var t=dl(fl().mark((function t(){return fl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return l(""),n(!1),_u(Su.DeleteData),t.next=5,h();case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,_o.BX)(_o.HY,{children:[r&&(0,_o.BX)(vl,{gapSize:2,children:[(0,_o.tZ)("p",{children:t.privacy.sections.deleteData.dataDisclosureNotice}),(0,_o.tZ)("p",{children:t.privacy.common.confirmationHeader}),(0,_o.BX)(Uo,{gapSize:1,children:[(0,_o.tZ)(ml,{"aria-label":"button:delete-data-no",heightVariant:"narrow",color:"inherit",onClick:function(){n(!1)},variant:"outlined",children:t.common.no}),(0,_o.tZ)(ml,{"aria-label":"button:delete-data-yes",heightVariant:"narrow",color:"error",onClick:function(){a(!0)},variant:"contained",children:t.common.yes})]}),(0,_o.tZ)("p",{children:t.privacy.sections.deleteData.optOutNotice}),i&&(0,_o.tZ)(ll,{onClose:function(){return a(!1)},onFailure:function(e){e===Lu.MultipleFailedVerifications?l(t.privacy.captcha.rateLimited):l(t.privacy.captcha.genericError)},onSuccess:y}),u&&(0,_o.tZ)(vu,{type:"error",children:u})]}),!r&&(0,_o.BX)(_o.HY,{children:[(0,_o.tZ)("p",{children:d}),f&&(0,_o.tZ)(vu,{children:t.privacy.sections.deleteData.requestSentConfirmation})]})]})},bl=function(){var t=Ja().locale;return(0,_o.tZ)(tu,{"data-test-id":"delete-data-section",summary:t.privacy.sections.deleteData.header,children:(0,_o.tZ)(gl,{})})},wl=[{link:"https://www.admazing.co/privacy",name:"Admazing"},{link:"http://www.mobgc.com/privacy_policy.html",name:"GCMOB"},{link:"https://eve.meitu.com/",name:"MeituEve"},{link:"http://www.admaxim.com/admaxim-privacy-policy/",name:"AdMaxim"},{link:"https://www.superawesome.com/privacy-hub/privacy-policy/",name:"SuperAwesome"},{link:"https://www.thetradedesk.com/us/privacy",name:"TheTradeDesk"},{link:"https://discover-tech.io/dsp-privacy-policy/",name:"DiscoverTech"},{link:"http://vlion.mobi/privacy-policy.html",name:"Advlion"},{link:"https://landvault.io/privacy-policy",name:"WAM Group Ltd. T/a Admix"},{link:"http://corp.aarki.com/privacy",name:"Aarki"},{link:"https://www.adcolony.com/gdpr/",name:"AdColony"},{link:"https://www.adikteev.com/privacy-policy-eng/",name:"Adikteev"},{link:"https://admixer.com/privacy/",name:"AdMixer"},{link:"https://admixplay.com/legal/privacy-policy",name:"Admix"},{link:"https://policies.google.com/technologies/partner-sites",name:"Google"},{link:"https://www.adtiming.com/privacy-policy.php",name:"Adtiming"},{link:"https://www.algorix.co/privacy-policy/",name:"Algorix"},{link:"https://www.appier.com/privacy-policy/",name:"Appier"},{link:"https://kayzen.io/data-privacy-policy",name:"Kayzen (fka Applift)"},{link:"https://www.xandr.com/privacy/platform-privacy-policy/",name:"Xandr"},{link:"https://bidmachine.io/privacy-policy/ ",name:"BidMachine"},{link:"https://appreciate.mobi/page.html#!/end-user-privacy-policy",name:"Appreciate"},{link:"https://apptimustech.com/privacy",name:"apptimus"},{link:"https://beeswax.com/privacy.html",name:"Beeswax"},{link:"https://www.bidease.com/privacy-policy/",name:"Bidease"},{link:"https://www.bid-matrix.com/PrivacyPolicy.html",name:"Bidmatrix"},{link:"https://docs.bidswitch.com/support/gdpr-faq.html",name:"BidSwitch"},{link:"https://www.bigabid.com/legal",name:"Bigabid"},{link:"https://www.adsbigo.com/privacy.html",name:"BigoAds"},{link:"https://www.thebrave.io/privacy-policy/",name:"Brave People LTD"},{link:"https://www.bucksense.com/developer-privacy/",name:"Bucksense"},{link:"https://www.pangleglobal.com/privacy",name:"Pangle"},{link:"http://blueseasx.com/public/static/policy/ALGOBLUESEA%20PRIVACY%20POLICY.pdf",name:"AlgoBluesea"},{link:"https://se7en.es/private-policy",name:"Se7en"},{link:"https://privacy.centro.net/",name:"Centro"},{link:"https://connekt.ai/privacy-policy/",name:"Connekt Media"},{link:"https://answers.chartboost.com/en-us/articles/200780269",name:"Chartboost"},{link:"https://clearpier.com/privacy-policy/",name:"ClearPier"},{link:"https://www.criteo.com/privacy/",name:"Crtieo LLC"},{link:"https://www.dataseat.com/privacy-policy/",name:"Dataseat Ltd"},{link:"https://hybrid.ai/privacy_policy",name:"Hybrid.Ai"},{link:"https://hyperad.tech/privacy_policy/",name:"Hyper LLC"},{link:"http://www.ignitemediatech.com/privacyPolicy.html",name:"IGNITE MEDIA"},{link:"https://www.indexexchange.com/privacy/",name:"Index Exchange"},{link:"https://www.inmobi.com/privacy-policy/",name:"InMobi"},{link:"https://jampp.com/privacy-policy/",name:"Jampp"},{link:"https://kidoz.net/privacy-policy/",name:"Kidoz"},{link:"http://lifestreet.com/privacy/",name:"Lifestreet"},{link:"https://liftoff.io/privacy-policy/",name:"Liftoff"},{link:"https://loopme.com/privacy/",name:"LoopMe"},{link:"https://www.mediamath.com/privacy-policy/",name:"MediaMath"},{link:"https://mobupps.com/presentations/Mobupps_Privacy_policy.pdf",name:"Mobupps"},{link:"https://www.mintegral.com/en/privacy/",name:"Mintegral"},{link:"http://www.molocoads.com/private-policy.html",name:"Moloco"},{link:"https://www.openx.com/legal/privacy-policy/",name:"OpenX"},{link:"https://www.opera.com/privacy",name:"Opera"},{link:"http://persona.ly/privacy_dsp",name:"Persona.ly"},{link:"https://www.pokkt.com/privacy",name:"Pokkt"},{link:"https://playdigo.com/home/privacy-policy/",name:"Playdigo, Inc"},{link:"https://pubmatic.com/legal/privacy-policy/",name:"Pubmatic"},{link:"https://risecodes.com/wp-content/uploads/2023/01/Risecodes.com-Privacy-Policy-05.01.2023.pdf",name:"Rise"},{link:"https://pubnative.net/privacy-policy/",name:"Pubnative"},{link:"https://www.pulsepoint.com/legal/platform-privacy-policy",name:"PulsePoint, Inc."},{link:"https://remerge.io/privacy-policy.html",name:"Remerge"},{link:"https://www.revx.io/privacy-policy",name:"Affle"},{link:"https://www.rhythmone.com/privacy-policy/",name:"RhythmOne"},{link:"https://www.rtbhouse.com/privacy-center/website-privacy-policy/",name:"RTBHouse"},{link:"https://rubiconproject.com/privacy-policy/",name:"Magnite"},{link:"https://smadex.com/end-user-privacy-policy",name:"Smadex"},{link:"https://snap.com/en-US/privacy/privacy-policy",name:"Snap Inc."},{link:"https://spotad.co/privacy-policy-2/",name:"Spotad"},{link:"https://www.svg.com/privacy-policy/",name:"SVG"},{link:"https://www.toponad.com/en/privacy-policy",name:"TopOn"},{link:"https://telaria.com/privacy-policy/",name:"Telaria"},{link:"https://www.tencent.com/zh-cn/privacy-policy.html",name:"Tencent"},{link:"https://uni-corn.net/en/privacy.html",name:"Unicorn"},{link:"https://taurusx.com/privacy-policy.html",name:"Webeye"},{link:"https://wildlifestudios.com/privacy-policy/",name:"Wildlife Studios"},{link:"https://www.wish.com/privacy_policy?hide_login_modal=true",name:"Wish"},{link:"http://www.wofhub.com/privacy_policy.html",name:"Wof"},{link:"https://www.xapads.com/privacy-policy/",name:"Xapads"},{link:"https://www.mopub.com/en/legal/privacy",name:"MoPub"},{link:"https://yandex.com/legal/confidential/",name:"Yandex"},{link:"https://en.yeahmobi.com/html/privacypolicy/",name:"YeahMobi"},{link:"https://youappi.com/privacy-policy/",name:"Youappi"},{link:"https://www.zmaticoo.com/zmaticoo/privacies.html",name:"Zmaticoo"}],Ol=function(){return(0,_o.tZ)(_o.HY,{children:wl.map((function(t,e){return(0,_o.BX)("span",{children:[(0,_o.tZ)(Ac,{href:t.link,children:t.name}),e===wl.length-1?"":", "]},t.link)}))})};function Sl(t){return Sl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sl(t)}var El=["children"];function xl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function jl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xl(Object(r),!0).forEach((function(e){Pl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Pl(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sl(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Sl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Sl(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kl=(0,Lo.Z)(Uo,{target:"e1tk3e10"})({name:"qdeacm",styles:"flex-direction:column"}),Ll=function(t,e){var r=Ja(),n=r.locale,o=e?"https://unity.cn/unityads-sdk":"https://unity3d.com/legal/privacy-policy";return(0,r.formatMessage)(t,{privacyPolicy:(0,_o.tZ)(Ac,{href:o,children:n.privacy.privacyPolicy})})},_l=function(t){var e=t.children,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,El);return(0,_o.tZ)(tu,jl(jl({},r),{},{children:(0,_o.BX)(kl,{gapSize:3,children:[e," "]})}))},Al=function(){var t=Ja().locale;return(0,_o.tZ)(_l,{summary:t.privacy.legalTextSections.changingYourPrivacyChoice.title,children:(0,_o.tZ)("p",{children:t.privacy.legalTextSections.changingYourPrivacyChoice.description})})},Tl=function(){var t=Ja().locale;return(0,_o.BX)(_l,{summary:t.privacy.legalTextSections.collectedInfo.title,children:[(0,_o.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP1}),(0,_o.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP2}),(0,_o.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP3})]})},Cl=function(){var t=Ja().locale;return(0,_o.tZ)(_l,{summary:t.privacy.legalTextSections.dataTransfer.title,children:(0,_o.tZ)("p",{children:Ll(t.privacy.legalTextSections.dataTransfer.description)})})},Il=function(){var t=Ja().locale;return(0,_o.BX)(_l,{summary:t.privacy.legalTextSections.unityAnalyticsAndMediation.title,children:[(0,_o.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP1}),(0,_o.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP2}),(0,_o.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP3})]})},Dl=function(){var t=Ja().locale;return(0,_o.tZ)(_l,{summary:t.privacy.legalTextSections.thirdPartyAdPartners.title,children:(0,_o.tZ)("div",{children:(0,_o.tZ)(Ol,{})})})},Nl=function(){var t=Ja(),e=t.locale,r=(0,t.formatMessage)(e.privacy.legalTextSections.ironSourceDataSubjectRight.description,{ironSourcePrivacyPolicy:(0,_o.tZ)(Ac,{href:"https://developers.is.com/ironsource-mobile/air/ironsource-mobile-privacy-policy",children:e.privacy.ironSourcePrivacyPolicy}),privacyOperation:(0,_o.tZ)(Ac,{href:"https://ironsrc.formtitan.com/Data_Subject_Request?&fld113=Unity#",children:e.privacy.common.clickHere})});return(0,_o.tZ)(_l,{summary:e.privacy.legalTextSections.ironSourceDataSubjectRight.title,children:r})},Rl=function(t){var e=Ja().locale,r=t.useChinaLink;return(0,_o.tZ)(_l,{summary:e.privacy.legalTextSections.ourPrivacyPolicySection.title,children:Ll(e.privacy.legalTextSections.ourPrivacyPolicySection.description,r)})};function Zl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Fl="message",Gl="wvRecaptcha",Ml=(0,Lo.Z)("iframe",{target:"ezzlcl90"})((function(){return{border:"none"}}),""),Ul=function(t){var e=t.setToken,r="6LfWN1QiAAAAABCG5SSkeGmquW3s1Qs81alTFHmh",n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Zl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zl(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)({height:0,width:0}),2),o=n[0],i=n[1],a=(0,Co.useMemo)((function(){return"".concat("https://webview.unityads.unity3d.com/unity-ads-captcha/index.html","?sk=").concat(r,"&src=").concat(Gl)}),[r]),c=(0,Co.useCallback)((function(t){var r=t.data;(null==r?void 0:r.source)===Gl&&(null!=r&&r.token&&e(r.token),"resize"===(null==r?void 0:r.type)&&i({height:r.height,width:r.width}))}),[e,i]);return(0,Co.useEffect)((function(){return window.addEventListener(Fl,c),function(){window.removeEventListener(Fl,c)}}),[c]),(0,_o.tZ)(Ml,{src:a,style:{height:o.height,width:o.width}})};function Vl(t){return Vl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vl(t)}function zl(){zl=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Vl(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Bl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Yl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bl(Object(r),!0).forEach((function(e){Hl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Hl(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Vl(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Vl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Vl(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ql(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Xl(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ql(i,n,o,a,c,"next",t)}function c(t){ql(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Wl(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$l(t,e):void 0}}(t,e)||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 $l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Jl=(0,Lo.Z)(xc,{target:"e1fonx344"})((function(t){var e=t.theme;return{backgroundColor:e.palette.primary.main,color:e.palette.common.white,display:"block",margin:e.spacing(1,0),width:"100%"}}),""),Ql=(0,Lo.Z)("div",{target:"e1fonx343"})((function(t){return{flexDirection:"column",padding:t.theme.spacing(1,0)}}),""),Kl=(0,Lo.Z)("span",{target:"e1fonx342"})((function(){return{fontSize:"0.5rem",fontWeight:"600",lineHeight:"20px"}}),""),ts=(0,Lo.Z)("div",{target:"e1fonx341"})((function(t){var e=t.theme;return{display:"grid",gridGap:e.spacing(1),gridTemplateColumns:"1fr 1fr",margin:e.spacing(1.5,0)}}),""),es=(0,Lo.Z)("div",{target:"e1fonx340"})((function(t){return{display:"flex",padding:t.theme.spacing(1,0)}}),""),rs=function(t){var e=t.snackbarConfirmation,r=Wl((0,Co.useState)(),2),n=r[0],o=r[1],i=(0,Co.useContext)(ba).showSnackbar,a=Wl((0,Co.useState)(null),2),c=a[0],u=a[1],l=Wl((0,Co.useState)(!1),2),s=l[0],f=l[1],p=Wl((0,Co.useState)(null),2),d=p[0],h=p[1],y=Ja(),v=y.locale,m=y.formatMessage,g=function(){var t=Xl(zl().mark((function t(e,r){return zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,je("network_wide_opt",Yl(Yl({},Ge()),{},{optin:e,recaptchaToken:r}));case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),b=function(){var t=Xl(zl().mark((function t(){return zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g(!0);case 3:e&&i(v.privacy.sections.networkWideOptOut.textOptInAlert,5e3),o("optedIn"),u(null),f(!1),_u(Su.NetworkWideOptIn),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),u(t.t0);case 13:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}(),w=function(){var t=Xl(zl().mark((function t(){return zl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g(!1,d||void 0);case 3:e&&i(v.privacy.sections.networkWideOptOut.textOptInAlert,5e3),o("optedOut"),u(null),f(!1),_u(Su.NetworkWideOptOut),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),u(t.t0);case 13:h(null);case 14:case"end":return t.stop()}}),t,null,[[0,10]])})));return function(){return t.apply(this,arguments)}}(),O=m(v.privacy.sections.networkWideOptOut.textOptInDescription,{optIn:(0,_o.tZ)(xu,{"aria-label":"link:privacy-nwo-in",onClick:b,children:v.privacy.sections.networkWideOptOut.textOptIn})});return(0,_o.BX)(_o.HY,{children:["optedIn"===n&&(0,_o.tZ)(vu,{children:v.privacy.sections.networkWideOptOut.textOptInAlert}),"optedOut"===n&&(0,_o.tZ)(vu,{children:v.privacy.sections.networkWideOptOut.textOptOutAlert}),c&&(0,_o.tZ)(vu,{type:"error",children:v.privacy.sections.networkWideOptOut.textError}),(0,_o.tZ)(es,{children:v.privacy.sections.networkWideOptOut.textDescription}),!s&&(0,_o.tZ)(Jl,{"aria-label":"button:privacy-nwo-out",disabled:"optedOut"===n,variant:"contained",onClick:function(){return f(!0)},children:v.privacy.sections.networkWideOptOut.buttonOptOut}),s&&(0,_o.BX)(Ql,{children:[(0,_o.tZ)(Kl,{children:v.privacy.common.confirmationHeader}),(0,_o.BX)(ts,{children:[(0,_o.tZ)(xc,{color:"inherit",variant:"outlined",heightVariant:"narrow",onClick:function(){return f(!1)},children:v.common.no}),(0,_o.tZ)(xc,{color:"error",variant:"contained",heightVariant:"narrow",onClick:function(){return w()},disabled:!d,children:v.common.yes})]}),(0,_o.tZ)(Ul,{setToken:h})]}),(0,_o.tZ)(es,{children:O})]})},ns=function(t){var e=t.nwoAvailable,r=t.snackbarConfirmation,n=Ja().locale;return(0,_o.BX)(tu,{"data-test-id":"network-wide-opt-section",summary:n.privacy.sections.networkWideOptOut.textHeader,autoHeight:!0,children:[e&&(0,_o.tZ)(rs,{snackbarConfirmation:r}),!e&&(0,_o.tZ)("p",{children:n.privacy.sections.networkWideOptOut.textNwoNotAvailable})]})},os=(0,Lo.Z)("div",{target:"e815oft0"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,color:e.palette.common.black,flexDirection:"column",padding:e.spacing(4,3)}}),""),is=(0,Lo.Z)("div",{target:"e1yz9tdj0"})({name:"p4q597",styles:"font-size:1.25rem"}),as=(0,Lo.Z)(Uo,{target:"ehhymmw6"})({name:"35waw2",styles:"align-items:center;flex-direction:column;text-align:center"}),cs=(0,Lo.Z)(hi,{target:"ehhymmw5"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),us=(0,Lo.Z)("div",{target:"ehhymmw4"})({name:"1ucylfr",styles:"align-items:center;display:flex;justify-content:center"}),ls=(0,Lo.Z)(bi,{target:"ehhymmw3"})({name:"1ay415h",styles:"height:auto;width:5em"}),ss=(0,Lo.Z)(Uo,{target:"ehhymmw2"})((function(t){return{color:t.theme.palette.grey[900],flexDirection:"column"}}),""),fs=(0,Lo.Z)(Uo,{target:"ehhymmw1"})({name:"qdeacm",styles:"flex-direction:column"}),ps=(0,Lo.Z)(xc,{target:"ehhymmw0"})((function(t){var e=t.theme;return{backgroundColor:"".concat(e.palette.grey[200]," !important"),flexGrow:1}}),""),ds=function(t){var e=t.conditionalComponents,r=Ja(),n=r.locale,o=r.formatMessage,i=e||{legalTextSections:["ironSourceDataSubjectRightSection","ourPrivacyPolicySection"],networkWideOpt:{enabled:!1}},a=i.privacyScreenHeader,c=i.legalTextSections,u=i.networkWideOpt,l=function(t){return null==c?void 0:c.includes(t)},s=function(t){var e;switch(t){case"simpleHeader":e="simpleHeader";break;case"detailedHeader":e="detailedHeader";break;default:return""}return n.privacy.screens.privacyHome[e]}(a);return(0,_o.BX)(_o.HY,{children:[s&&(0,_o.tZ)("p",{children:o(s)}),(0,_o.BX)(fs,{gapSize:2,children:[l("changingYourPrivacyChoiceSection")&&(0,_o.tZ)(Al,{}),l("collectedInformationSection")&&(0,_o.tZ)(Tl,{}),l("dataTransferSection")&&(0,_o.tZ)(Cl,{}),l("unityAnalyticsAndMediationSection")&&(0,_o.tZ)(Il,{}),l("thirdPartyAdPartnersSection")&&(0,_o.tZ)(Dl,{}),l("deleteDataSection")&&(0,_o.tZ)(bl,{}),u&&(0,_o.tZ)(ns,{nwoAvailable:u.enabled}),l("ironSourceDataSubjectRightSection")&&(0,_o.tZ)(Nl,{}),l("ourPrivacyPolicySection")&&(0,_o.tZ)(Rl,{useChinaLink:null==e?void 0:e.useChinaPrivacyPolicy})]})]})},hs=function(){var t=Ja().locale,e=(0,Po.oR)(b,(function(t){return t.screen})).conditionalComponents;return(0,_o.tZ)(os,{children:(0,_o.BX)(fs,{gapSize:3,children:[(0,_o.BX)(as,{gapSize:3,children:[(0,_o.tZ)(cs,{}),(0,_o.tZ)(is,{children:t.privacy.title})]}),(0,_o.BX)(ss,{gapSize:1,children:[(null==e?void 0:e.adsPersonalization)&&(0,_o.tZ)(ps,{"aria-label":"button:privacy-personalization-settings",color:"inherit",onClick:function(){return je("personalization_settings")},children:t.common.personalizationSettings}),(null==e?void 0:e.experiencePersonalization)&&(0,_o.tZ)(ps,{"aria-label":"button:privacy-experience-personalization",color:"inherit",onClick:function(){return je("experience_personalization")},children:t.common.experiencePersonalization}),(0,_o.tZ)(ps,{"aria-label":"button:privacy-request-data",color:"inherit",onClick:function(){return je("request_data")},children:t.common.requestYourData}),!(null!=e&&e.simpleScreenControls)&&(0,_o.BX)(Uo,{gapSize:1,children:[(0,_o.tZ)(ps,{"aria-label":"button:privacy-report-ad",color:"inherit",onClick:function(){return je("report_ad")},children:t.common.reportAd}),(0,_o.tZ)(ps,{"aria-label":"button:privacy-build-info",color:"inherit",onClick:function(){return je("build_info")},children:t.common.buildInfo})]})]}),(0,_o.tZ)(ds,{conditionalComponents:e}),(0,_o.tZ)(us,{children:(0,_o.tZ)(ls,{})})]})})},ys=function(){var t,e=null===(t=x.TH.getState().campaignInfo)||void 0===t?void 0:t.campaign;if(!e)throw new Error("Lifecycle error: no campaign found");return e};function vs(t){return vs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vs(t)}var ms=["checked","children","disabled","onChange"];function gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function bs(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gs(Object(r),!0).forEach((function(e){ws(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gs(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ws(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==vs(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==vs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===vs(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Os=(0,Lo.Z)("label",{target:"eadt61d1"})((function(t){var e=t.theme;return{alignItems:"center",display:"flex",justifyContent:"start",opacity:t.disabled?.5:1,padding:e.spacing(.5)}}),""),Ss=(0,Lo.Z)("input",{target:"eadt61d0"})((function(t){return{fontSize:"inherit",height:"0.9em",margin:0,marginRight:t.theme.spacing(1.5),width:"0.9em"}}),""),Es=function(t){var e=t.checked,r=t.children,n=t.disabled,o=t.onChange,i=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,ms),a=!o||Boolean(n);return(0,_o.BX)(Os,bs(bs({disabled:a},i),{},{children:[(0,_o.tZ)(Ss,{role:"radio",type:"radio",checked:e,disabled:a,onChange:o}),r]}))},xs=(0,Lo.Z)("div",{target:"e1pu6bzj0"})((function(t){var e=t.theme;return{display:"grid",gridAutoRows:e.spacing(4.5),paddingLeft:e.spacing(2)}}),""),js=function(t){var e=t.selectedReason,r=t.setSelectedReason,n=Ja().locale;return(0,_o.BX)(xs,{children:[(0,_o.tZ)(Es,{"aria-label":"radio:ad-is-not-showing",checked:"not_showing"===e,onChange:function(){return r("not_showing")},children:n.privacy.views.reportAd.radioButtonNotShowing}),(0,_o.tZ)(Es,{"aria-label":"radio:ad-is-offencive",checked:"offensive"===e,onChange:function(){return r("offensive")},children:n.privacy.views.reportAd.radioButtonOffensive}),(0,_o.tZ)(Es,{"aria-label":"radio:ad-does-not-look-right",checked:"does_not_look_right"===e,onChange:function(){return r("does_not_look_right")},children:n.privacy.views.reportAd.radioButtonDoesNotLookRight}),(0,_o.tZ)(Es,{"aria-label":"radio:ad-dont-like-this",checked:"dont_like_this_ad"===e,onChange:function(){return r("dont_like_this_ad")},children:n.privacy.views.reportAd.radioButtonDontLikeThisAd}),(0,_o.tZ)(Es,{"aria-label":"radio:ad-other",checked:"other"===e,onChange:function(){return r("other")},children:n.privacy.views.reportAd.radioButtonOther})]})};function Ps(t){return Ps="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ps(t)}function ks(){ks=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ps(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Ls(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function _s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return As(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?As(t,e):void 0}}(t,e)||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 As(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ts=(0,Lo.Z)("div",{target:"e8dbek56"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",height:"100%",padding:e.spacing(4,3)}}),""),Cs=(0,Lo.Z)("span",{target:"e8dbek55"})((function(t){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:t.theme.spacing(3)}}),""),Is=(0,Lo.Z)("div",{target:"e8dbek54"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),Ds=(0,Lo.Z)("div",{target:"e8dbek53"})((function(t){return{margin:t.theme.spacing(3,0)}}),""),Ns=(0,Lo.Z)(vu,{target:"e8dbek52"})((function(t){return{display:"flex",marginBottom:t.theme.spacing(2)}}),""),Rs=(0,Lo.Z)("div",{target:"e8dbek51"})((function(t){return{color:t.theme.palette.grey[400],fontSize:"0.6rem",fontWeight:"400"}}),""),Zs=(0,Lo.Z)(xc,{target:"e8dbek50"})((function(t){var e=t.theme;return{backgroundColor:e.palette.primary.main,color:e.palette.common.white,height:e.spacing(6),margin:e.spacing(3,0),width:"100%"}}),"");function Fs(t){return Fs="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fs(t)}var Gs=["disabled","label","onChange","value"];function Ms(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Us(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(r),!0).forEach((function(e){Vs(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ms(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vs(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Fs(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Fs(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Fs(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zs=(0,Lo.Z)("label",{target:"e8mxewd1"})((function(t){return{display:"flex",flexDirection:"column",fontSize:"12px",lineHeight:"20px",opacity:t.disabled?.5:1}}),""),Bs=(0,Lo.Z)("input",{target:"e8mxewd0"})((function(t){var e=t.hasLabel,r=t.theme;return{"&:focus-visible":{borderColor:r.palette.primary.main,outline:"2px solid ".concat(r.palette.primary.main)},borderColor:r.palette.grey[400],borderRadius:"4px",borderStyle:"solid",fontSize:"20px",marginTop:e?r.spacing(1):0,padding:r.spacing(1,1.5)}}),""),Ys=function(t){var e=t.disabled,r=t.label,n=t.onChange,o=t.value,i=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Gs),a=e||!n;return(0,_o.BX)(zs,Us(Us({disabled:a},i),{},{children:[(0,_o.tZ)("span",{children:r}),(0,_o.tZ)(Bs,{disabled:a,onChange:n,hasLabel:!!r,type:"text",value:o})]}))},Hs=(0,Lo.Z)("span",{target:"e103zq9e1"})((function(t){var e=t.theme;return{color:e.palette.error.main,fontSize:"0.6rem",lineHeight:e.spacing(3)}}),""),qs=(0,Lo.Z)(Ys,{target:"e103zq9e0"})((function(){return{"> input":{fontSize:"0.8rem"},"> span":{fontSize:"0.6rem",fontWeight:"500"}}}),""),Xs=function(t){return t.match(/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/)},Ws=function(t){var e=t.email,r=t.setEmail,n=Ja().locale,o=e.length>0&&!Xs(e);return(0,_o.BX)(_o.HY,{children:[(0,_o.tZ)(qs,{label:n.common.emailAddress,value:e,onChange:function(t){return r(t.target.value)}}),o&&(0,_o.tZ)(Hs,{children:n.common.invalidEmailAddress})]})};function $s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Js(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Js(t,e):void 0}}(t,e)||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 Js(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Qs=(0,Lo.Z)("div",{target:"e17hp9sc5"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",height:"100%",padding:e.spacing(4,3)}}),""),Ks=(0,Lo.Z)("span",{target:"e17hp9sc4"})((function(t){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:t.theme.spacing(3)}}),""),tf=(0,Lo.Z)("div",{target:"e17hp9sc3"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),ef=(0,Lo.Z)("div",{target:"e17hp9sc2"})((function(t){return{margin:t.theme.spacing(2,0)}}),""),rf=(0,Lo.Z)(vu,{target:"e17hp9sc1"})((function(t){return{display:"flex",marginBottom:t.theme.spacing(2)}}),""),nf=(0,Lo.Z)(xc,{target:"e17hp9sc0"})((function(t){var e=t.theme;return{backgroundColor:e.palette.primary.main,color:e.palette.common.white,height:e.spacing(6),margin:e.spacing(3,0),width:"100%"}}),""),of=(0,Lo.Z)("div",{target:"e1ntj4if2"})((function(t){var e=t.theme;return{"&:nth-of-type(even)":{borderTop:0,marginTop:0},borderBottom:"1px solid ".concat(e.palette.grey[300]),borderTop:"1px solid ".concat(e.palette.grey[300]),display:"grid",gridTemplateColumns:"118px 1fr",marginTop:e.spacing(2),padding:e.spacing(1,0)}}),""),af=(0,Lo.Z)("span",{target:"e1ntj4if1"})((function(){return{"&:first-of-type":{fontSize:"0.7rem",fontWeight:"600",textTransform:"uppercase",whiteSpace:"nowrap"},fontSize:"0.8rem",lineHeight:"20px",overflow:"hidden",overflowWrap:"break-word"}}),""),cf=(0,Lo.Z)(af,{target:"e1ntj4if0"})((function(t){return{color:t.theme.palette.primary.light,cursor:"pointer"}}),""),uf=function(t){var e=t.onClick,r=t.children;return e?(0,_o.tZ)(cf,{onClick:function(t){return e(t)},"data-element-id":So.PrivacyBuyerInfo,children:r}):(0,_o.tZ)(af,{children:r})},lf=function(t){var e=t.label,r=t.value,n=t.onClick;return(0,_o.BX)(of,{children:[(0,_o.tZ)(af,{children:e}),(0,_o.tZ)(uf,{onClick:n,children:null!=r?r:"-"})]})},sf=(0,Lo.Z)("div",{target:"emefxcr7"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,display:"flex",flexDirection:"column",height:"100%",padding:e.spacing(4,3)}}),""),ff=(0,Lo.Z)("span",{target:"emefxcr6"})((function(t){var e=t.theme;return{"&:nth-of-type(even)":{marginTop:e.spacing(4)},fontSize:"0.9rem",fontWeight:"600",lineHeight:e.spacing(3)}}),""),pf=(0,Lo.Z)("div",{target:"emefxcr5"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),df=(0,Lo.Z)("ul",{target:"emefxcr4"})((function(t){var e=t.theme;return{marginTop:e.spacing(3),paddingLeft:e.spacing(3)}}),""),hf=(0,Lo.Z)("li",{target:"emefxcr3"})((function(t){return{"&:first-of-type":{marginTop:0},marginTop:t.theme.spacing(3)}}),""),yf=(0,Lo.Z)("span",{target:"emefxcr2"})((function(){return{fontWeight:"600"}}),""),vf=(0,Lo.Z)("span",{target:"emefxcr1"})((function(t){return{color:t.theme.palette.primary.light,cursor:"pointer"}}),""),mf=function(t){return(0,Ja().formatMessage)(t.content,{header:(0,_o.tZ)(yf,{children:t.header})})},gf=function(t,e){return(0,Ja().formatMessage)(t.content,{link:(0,_o.tZ)(vf,{onClick:function(){return e.startsWith("http")?oe.k7.getState().openUrlCallback(e):je(e)},children:t.link})})},bf=(0,Lo.Z)("div",{target:"emefxcr0"})((function(t){return{paddingBottom:t.theme.spacing(5)}}),"");function wf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Of=function(){var t=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return wf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?wf(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),e=t[0],r=t[1];return[e,function(t){e||(r(!0),t().finally((function(){r(!1)})))}]},Sf=(0,Lo.Z)("div",{target:"e1h2aod31"})((function(){return{fontSize:"1.25rem"}}),""),Ef=(0,Lo.Z)("div",{target:"e1h2aod30"})((function(t){var e=t.theme;return{backgroundColor:e.palette.common.white,color:e.palette.common.black,flexDirection:"column",padding:e.spacing(4,3)}}),"");function xf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var jf=(0,Lo.Z)(Uo,{target:"ezjz504"})((function(t){return{"&:first-of-type":{marginBottom:0},display:"flex",flexDirection:"column",marginBottom:t.theme.spacing(2)}}),""),Pf=(0,Lo.Z)(bi,{target:"ezjz503"})({name:"1ay415h",styles:"height:auto;width:5em"}),kf=(0,Lo.Z)(hi,{target:"ezjz502"})((function(){return{height:"2.25em",width:"2.25em"}}),""),Lf=(0,Lo.Z)("div",{target:"ezjz501"})({name:"zl1inp",styles:"display:flex;justify-content:center"}),_f=(0,Lo.Z)(Uo,{target:"ezjz500"})({name:"qdeacm",styles:"flex-direction:column"}),Af=function(t){var e=t.ageGateLimit,r=t.onAgeGateOlder,n=t.onAgeGateYounger,o=Ja().locale,i=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return xf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xf(t,e):void 0}}(t,e)||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.")}()}(Of(),2),a=i[0],c=i[1],u=Na(o.privacy.screens.ageGate.textOlder,{ageGateLimit:e}),l=Na(o.privacy.screens.ageGate.textYounger,{underAgeGateLimit:e-1});return(0,_o.BX)(_f,{gapSize:3,children:[(0,_o.tZ)(Lf,{children:(0,_o.tZ)(kf,{})}),(0,_o.BX)(jf,{gapSize:2,children:[(0,_o.tZ)(Sf,{children:o.privacy.screens.ageGate.title}),(0,_o.tZ)("p",{children:o.privacy.screens.ageGate.description})]}),(0,_o.BX)(jf,{gapSize:1,children:[(0,_o.tZ)(xc,{"aria-label":"button:privacy-age-gate-older",disabled:a,variant:"outlined",onClick:function(){return c(r)},children:u}),(0,_o.tZ)(xc,{"aria-label":"button:privacy-age-gate-younger",disabled:a,variant:"outlined",onClick:function(){return c(n)},children:l})]}),(0,_o.tZ)(Lf,{children:(0,_o.tZ)(Pf,{})})]})};function Tf(t){return Tf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Tf(t)}function Cf(){Cf=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Tf(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function If(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Df(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?If(Object(r),!0).forEach((function(e){Nf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):If(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Tf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Tf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Tf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Rf(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Zf(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Rf(i,n,o,a,c,"next",t)}function c(t){Rf(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Ff={ads:!1,external:!1,gameExp:!1};function Gf(t){return Gf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gf(t)}var Mf=["id","checked","children","disabled","onChange"];function Uf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uf(Object(r),!0).forEach((function(e){zf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Gf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Gf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bf=(0,Lo.Z)("label",{target:"et9l9495"})((function(t){var e=t.theme;return{alignItems:"center",display:"flex",fontWeight:600,justifyContent:"space-between",minHeight:"1.43em",opacity:t.disabled?.5:1,padding:e.spacing(1)}}),""),Yf=(0,Lo.Z)("p",{target:"et9l9494"})((function(t){return{marginRight:t.theme.spacing(1)}}),""),Hf=(0,Lo.Z)("div",{target:"et9l9493"})({name:"1w4ogad",styles:"display:flex;height:1.43em;min-width:2.86em;padding:0.2em;position:relative;width:2.86em"}),qf=(0,Lo.Z)("span",{target:"et9l9492"})((function(t){var e=t.theme;return{backgroundColor:t.checked?e.palette.primary.light:e.palette.common.black,borderRadius:"1em",height:"100%",opacity:.5,transition:"opacity 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",width:"100%"}}),""),Xf=(0,Lo.Z)("span",{target:"et9l9491"})((function(t){var e=t.theme,r=t.checked;return{backgroundColor:r?e.palette.primary.light:e.palette.common.white,borderRadius:"100%",boxShadow:"0 0 1px rgba(0, 0, 0, 0.10), 0 1px 1px rgba(0, 0, 0, 0.25)",height:"1.43em",left:r?"1.43em":0,position:"absolute",top:0,transition:"left 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",width:"1.43em"}}),""),Wf=(0,Lo.Z)("input",{target:"et9l9490"})({name:"cd32is",styles:"height:0;margin:0;width:0"}),$f=function(t){var e=t.id,r=t.checked,n=t.children,o=t.disabled,i=t.onChange,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Mf),c=!i||Boolean(o);return(0,_o.BX)(Bf,Vf(Vf({disabled:c},a),{},{children:[(0,_o.tZ)(Yf,{children:n}),(0,_o.BX)(Hf,{children:[(0,_o.tZ)(Wf,{id:e,role:"checkbox",type:"checkbox",checked:r,disabled:c,onChange:i}),(0,_o.tZ)(qf,{checked:r}),(0,_o.tZ)(Xf,{checked:r})]})]}))};function Jf(t){return Jf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jf(t)}function Qf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Jf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Jf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Jf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tp=(0,Lo.Z)("div",{target:"e1chxk100"})((function(t){return{paddingLeft:t.theme.spacing(2)}}),""),ep=function(t){var e=t.onChange,r=t.permissions,n=t.showDataLeavesTerritory,o=Ja().locale,i=(0,Co.useMemo)((function(){return{ads:r.ads,dataLeavesTerritory:n?r.dataLeavesTerritory||!1:void 0,external:r.external,gameExp:r.gameExp}}),[r,n]),a=i.ads,c=i.external,u=i.gameExp,l=i.dataLeavesTerritory,s=function(t){var r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qf(Object(r),!0).forEach((function(e){Kf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},i);"ads"===t?Object.keys(i).filter((function(t){return"dataLeavesTerritory"!==t})).forEach((function(t){r[t]=!i.ads})):(r[t]=!r[t],"dataLeavesTerritory"!==t&&r[t]&&(r.ads=!0)),e(r)};return(0,_o.BX)("div",{children:[n&&(0,_o.tZ)($f,{id:"switch:personalization-dataLeavesTerritory",checked:l||!1,onChange:function(){return s("dataLeavesTerritory")},children:o.privacy.common.permissionsPicker.dataLeavesTerritoryDescription}),(0,_o.tZ)($f,{id:"switch:personalization-ads",checked:a,onChange:function(){return s("ads")},children:o.privacy.common.permissionsPicker.adsDescription}),(0,_o.BX)(tp,{children:[(0,_o.tZ)($f,{id:"switch:personalization-external",checked:c,onChange:function(){return s("external")},children:o.privacy.common.permissionsPicker.externalDescription}),(0,_o.tZ)($f,{id:"switch:personalization-gameExp",checked:u,onChange:function(){return s("gameExp")},children:o.privacy.common.permissionsPicker.gameExpDescription})]})]})};function rp(t){return rp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rp(t)}function np(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function op(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==rp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==rp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===rp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ip(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ap(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ap(t,e):void 0}}(t,e)||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 ap(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var cp=function(){var t=Ja().locale;return(0,_o.tZ)(_l,{summary:t.privacy.legalTextSections.changingPrivacyChoices.title,children:(0,_o.tZ)("p",{children:t.privacy.legalTextSections.changingPrivacyChoices.description})})},up=Tl,lp=Cl,sp=function(){var t=Ja().locale;return(0,_o.BX)(_l,{summary:t.privacy.legalTextSections.infoCollectedByAdsPartners.title,children:[(0,_o.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByAdsPartners.descriptionP1}),(0,_o.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByAdsPartners.descriptionP2})]})},fp=function(){var t=Ja().locale;return(0,_o.tZ)(_l,{summary:t.privacy.legalTextSections.infoCollectedByMeasurementPartners.title,children:(0,_o.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByMeasurementPartners.description})})},pp=Nl,dp=Rl,hp=Dl,yp=Il,vp=(0,Lo.Z)(Uo,{target:"e1rz6uy32"})({name:"qdeacm",styles:"flex-direction:column"}),mp=(0,Lo.Z)(Uo,{target:"e1rz6uy31"})({name:"1qemjat",styles:"flex-wrap:wrap"}),gp=(0,Lo.Z)(xc,{target:"e1rz6uy30"})({name:"ykxty2",styles:"flex-grow:1;min-width:120px"}),bp=function(t){var e=t.nwoAvailable,r=t.onAgreeAll,n=t.onSaveChoices,o=t.permissions,i=t.showDeleteData,a=t.showNwoSection,c=t.showDataLeavesTerritoryPermission,u=ip((0,Co.useState)(o),2),l=u[0],s=u[1],f=Ja().locale,p=function(){return n(l)};(0,Co.useEffect)((function(){s(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?np(Object(r),!0).forEach((function(e){op(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):np(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},o))}),[o]);var d=ip((0,Co.useState)(!1),2),h=d[0],y=d[1];(0,Co.useEffect)((function(){l.ads||l.external||l.gameExp||l.dataLeavesTerritory?y(!0):y(!1)}),[l]);var v=ip(Of(),2),m=v[0],g=v[1];return(0,_o.BX)(vp,{gapSize:2,children:[(0,_o.tZ)(Sf,{children:f.privacy.screens.consentChoices.title}),(0,_o.tZ)(ep,{permissions:l,onChange:s,showDataLeavesTerritory:c}),(0,_o.BX)("div",{children:[(0,_o.tZ)(up,{}),(0,_o.tZ)(cp,{}),(0,_o.tZ)(fp,{}),(0,_o.tZ)(sp,{}),(0,_o.tZ)(lp,{}),(0,_o.tZ)(yp,{}),(0,_o.tZ)(hp,{}),a&&(0,_o.tZ)(ns,{nwoAvailable:e,snackbarConfirmation:!0}),i&&(0,_o.tZ)(bl,{}),(0,_o.tZ)(pp,{}),(0,_o.tZ)(dp,{}),(0,_o.tZ)("hr",{})]}),(0,_o.BX)(vp,{gapSize:1.5,children:[(0,_o.tZ)(mp,{gapSize:1.5,children:(0,_o.tZ)(gp,{"aria-label":"button:privacy-agree-all",disabled:m,variant:h?"outlined":"contained",color:"primary",onClick:function(){return g(r)},children:f.privacy.common.agreeAll})}),(0,_o.tZ)(gp,{"aria-label":"button:privacy-save-my-choices",disabled:m,variant:h?"contained":"outlined",color:"primary",onClick:function(){return g(p)},children:f.privacy.common.saveChoices})]})]})};function wp(t){return wp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wp(t)}function Op(){Op=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==wp(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ep(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sp(Object(r),!0).forEach((function(e){xp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==wp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==wp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===wp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function jp(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Pp(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){jp(i,n,o,a,c,"next",t)}function c(t){jp(i,n,o,a,c,"throw",t)}a(void 0)}))}}function kp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Lp=(0,Lo.Z)(Uo,{target:"e175ufzv4"})((function(t){return{"&:first-of-type":{marginBottom:0},display:"flex",flexDirection:"column",marginBottom:t.theme.spacing(2)}}),""),_p=(0,Lo.Z)(bi,{target:"e175ufzv3"})({name:"1ay415h",styles:"height:auto;width:5em"}),Ap=(0,Lo.Z)(hi,{target:"e175ufzv2"})((function(){return{height:"2.25em",width:"2.25em"}}),""),Tp=(0,Lo.Z)("div",{target:"e175ufzv1"})({name:"zl1inp",styles:"display:flex;justify-content:center"}),Cp=(0,Lo.Z)(Uo,{target:"e175ufzv0"})({name:"qdeacm",styles:"flex-direction:column"}),Ip=function(t){var e=t.onAgreeAll,r=t.onShowChoices,n=Ja().locale,o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return kp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kp(t,e):void 0}}(t,e)||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.")}()}(Of(),2),i=o[0],a=o[1];return(0,_o.BX)(Cp,{gapSize:3,children:[(0,_o.tZ)(Tp,{children:(0,_o.tZ)(Ap,{})}),(0,_o.BX)(Lp,{gapSize:2,children:[(0,_o.tZ)(Sf,{children:n.privacy.screens.consent.title}),(0,_o.tZ)("p",{children:n.privacy.screens.consent.descriptionP1}),(0,_o.tZ)("p",{children:n.privacy.screens.consent.descriptionP2}),(0,_o.tZ)("p",{children:n.privacy.screens.consent.descriptionP3}),(0,_o.tZ)("p",{children:n.privacy.screens.consent.descriptionP4})]}),(0,_o.BX)(Lp,{gapSize:1,children:[!!e&&(0,_o.tZ)(xc,{"aria-label":"button:privacy-agree-all",disabled:i,variant:"contained",onClick:function(){return a(e)},children:n.privacy.common.agreeAll}),!!r&&(0,_o.tZ)(xc,{"aria-label":"button:privacy-show-my-choices",disabled:i,variant:"outlined",onClick:function(){return r()},children:n.privacy.common.showChoices})]}),(0,_o.tZ)(Tp,{children:(0,_o.tZ)(_p,{})})]})};function Dp(t){return Dp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dp(t)}function Np(){Np=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Dp(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Rp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rp(Object(r),!0).forEach((function(e){Fp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Dp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Dp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Dp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Gp(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Mp=(0,Lo.Z)("div",{target:"ehxndao1"})((function(t){var e=t.theme;return{display:"grid",gridAutoRows:e.spacing(6),paddingLeft:e.spacing(2)}}),""),Up=(0,Lo.Z)(Es,{target:"ehxndao0"})((function(){return{fontSize:"0.7rem",fontWeight:"600"}}),""),Vp=function(t){var e=t.experienceChoice,r=t.setExperienceChoice,n=Ja().locale;return(0,_o.BX)(Mp,{children:[(0,_o.tZ)(Up,{"aria-label":"radio:experience-personalization-yes",checked:e,onChange:function(){return r(!0)},children:n.privacy.screens.experiencePersonalization.radioButtonTitleYes}),(0,_o.tZ)(Up,{"aria-label":"radio:experience-personalization-no",checked:!e,onChange:function(){return r(!1)},children:n.privacy.screens.experiencePersonalization.radioButtonTitleNo})]})},zp=(0,Lo.Z)("span",{target:"ex85cjj0"})({name:"146s5at",styles:"font-size:1.15em;font-weight:600"});function Bp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Yp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yp(t,e):void 0}}(t,e)||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 Yp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Hp=(0,Lo.Z)(Uo,{target:"eoyk9p83"})({name:"qdeacm",styles:"flex-direction:column"}),qp=(0,Lo.Z)(xc,{target:"eoyk9p82"})({name:"1ff36h2",styles:"flex-grow:1"}),Xp=(0,Lo.Z)(Uo,{target:"eoyk9p81"})({name:"1qemjat",styles:"flex-wrap:wrap"}),Wp=(0,Lo.Z)(qp,{target:"eoyk9p80"})((function(t){var e=t.theme;return{color:"".concat(e.palette.grey[800]," !important")}}),""),$p=function(t){var e=Ja().locale,r=t.permissions,n=r.ads,o=r.gameExp,i=r.external,a=t.onCancel,c=t.onSaveChoice,u=Bp((0,Co.useState)(!1),2),l=u[0],s=u[1],f=Bp((0,Co.useState)(n),2),p=f[0],d=f[1],h=p!==n||p!==o||p!==i;(0,Co.useEffect)((function(){return s(h)}),[n,p,h]),(0,Co.useEffect)((function(){return d(n)}),[n]);var y=Bp(Of(),2),v=y[0],m=y[1],g=function(){return c(p)};return(0,_o.BX)(Hp,{"aria-label":"screen:privacy-experience-personalization",gapSize:3,children:[(0,_o.tZ)(zp,{children:e.privacy.screens.experiencePersonalization.title}),(0,_o.tZ)("p",{children:e.privacy.screens.experiencePersonalization.description}),(0,_o.tZ)(Vp,{experienceChoice:p,setExperienceChoice:d}),(0,_o.BX)(Xp,{gapSize:2,children:[(0,_o.tZ)(Wp,{"aria-label":"button:experience-personalization-cancel",disabled:v,variant:"outlined",color:"inherit",onClick:a,children:e.privacy.common.cancel}),(0,_o.tZ)(qp,{"aria-label":"button:experience-personalization-save",disabled:!l||v,variant:"contained",onClick:function(){return m(g)},children:e.privacy.common.saveChoices})]})]})};function Jp(t){return Jp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jp(t)}function Qp(){Qp=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Jp(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Kp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function td(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kp(Object(r),!0).forEach((function(e){ed(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ed(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Jp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Jp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Jp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rd(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function nd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return od(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?od(t,e):void 0}}(t,e)||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 od(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var id=(0,Lo.Z)(Uo,{target:"e1o7aqut3"})({name:"qdeacm",styles:"flex-direction:column"}),ad=(0,Lo.Z)(xc,{target:"e1o7aqut2"})({name:"1ff36h2",styles:"flex-grow:1"}),cd=(0,Lo.Z)(Uo,{target:"e1o7aqut1"})({name:"1qemjat",styles:"flex-wrap:wrap"}),ud=(0,Lo.Z)(ad,{target:"e1o7aqut0"})((function(t){var e=t.theme;return{color:"".concat(e.palette.grey[800]," !important")}}),""),ld=function(t){var e=t.permissions,r=t.onCancel,n=t.onSaveChoices,o=t.showDataLeavesTerritory,i=nd((0,Co.useState)(e),2),a=i[0],c=i[1],u=nd((0,Co.useState)(!1),2),l=u[0],s=u[1];(0,Co.useEffect)((function(){var t=JSON.stringify(a)!==JSON.stringify(e);s(t)}),[e,a]);var f=nd(Of(),2),p=f[0],d=f[1],h=function(){return n(a)},y=Ja().locale;return(0,_o.BX)(id,{"aria-label":"screen:privacy-personalization-settings",gapSize:3,children:[(0,_o.tZ)(zp,{children:y.privacy.screens.personalizationSettings.title}),(0,_o.tZ)("p",{children:y.privacy.screens.personalizationSettings.description}),(0,_o.tZ)(ep,{permissions:a,onChange:c,showDataLeavesTerritory:o}),(0,_o.BX)(cd,{gapSize:2,children:[(0,_o.tZ)(ud,{"aria-label":"button:personalization-settings-cancel",disabled:p,variant:"outlined",color:"inherit",onClick:r,children:y.privacy.common.cancel}),(0,_o.tZ)(ad,{"aria-label":"button:personalization-settings-save",disabled:!l||p,variant:"contained",onClick:function(){return d(h)},children:y.privacy.common.saveChoices})]})]})};function sd(t){return sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sd(t)}function fd(){fd=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==sd(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function pd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pd(Object(r),!0).forEach((function(e){hd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==sd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==sd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===sd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function yd(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var vd=(0,Lo.Z)(Uo,{target:"e1qxs3iv6"})({name:"35waw2",styles:"align-items:center;flex-direction:column;text-align:center"}),md=(0,Lo.Z)(hi,{target:"e1qxs3iv5"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),gd=(0,Lo.Z)("div",{target:"e1qxs3iv4"})({name:"1ucylfr",styles:"align-items:center;display:flex;justify-content:center"}),bd=(0,Lo.Z)(bi,{target:"e1qxs3iv3"})({name:"1ay415h",styles:"height:auto;width:5em"}),wd=(0,Lo.Z)(Uo,{target:"e1qxs3iv2"})((function(t){return{color:t.theme.palette.grey[900],flexDirection:"column"}}),""),Od=(0,Lo.Z)(Uo,{target:"e1qxs3iv1"})({name:"qdeacm",styles:"flex-direction:column"}),Sd=(0,Lo.Z)(xc,{target:"e1qxs3iv0"})((function(t){var e=t.theme;return{backgroundColor:"".concat(e.palette.grey[200]," !important"),flexGrow:1}}),"");function Ed(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var xd={about_this_ad:function(){var t=Ja().locale,e=oe.k7.getState().adBuyerInfo;return(0,_o.BX)(sf,{"aria-label":"screen:privacy-about-this-ad",children:[(0,_o.tZ)(ff,{children:t.privacy.screens.aboutThisAd.sectionWhy.title}),(0,_o.tZ)(pf,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP1}),(0,_o.BX)(df,{children:[(0,_o.tZ)(hf,{children:mf(t.privacy.screens.aboutThisAd.sectionWhy.contentLi1)}),(0,_o.tZ)(hf,{children:mf(t.privacy.screens.aboutThisAd.sectionWhy.contentLi2)}),(0,_o.tZ)(hf,{children:mf(t.privacy.screens.aboutThisAd.sectionWhy.contentLi3)})]}),(0,_o.tZ)(pf,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP2}),(0,_o.tZ)(pf,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP3}),(0,_o.tZ)(ff,{children:t.privacy.screens.aboutThisAd.sectionControl.title}),(0,_o.tZ)(pf,{children:t.privacy.screens.aboutThisAd.sectionControl.contentP1}),(0,_o.BX)(df,{children:[(0,_o.tZ)(hf,{children:gf(t.privacy.screens.aboutThisAd.sectionControl.contentLi1,"report_ad")}),(0,_o.tZ)(hf,{children:gf(t.privacy.screens.aboutThisAd.sectionControl.contentLi2,"personalization_settings")}),(0,_o.tZ)(hf,{children:gf(t.privacy.screens.aboutThisAd.sectionControl.contentLi3,"privacy_settings")}),(0,_o.tZ)(hf,{children:gf(t.privacy.screens.aboutThisAd.sectionControl.contentLi4,"https://unity-transparency.atlassian.net/servicedesk/customer/portal/1")})]}),e&&(0,_o.BX)(bf,{children:[e.paidBy&&(0,_o.tZ)(lf,{label:t.privacy.screens.aboutThisAd.paidBy,value:e.paidBy}),(e.productName||e.openProductInfo)&&(0,_o.tZ)(lf,{label:t.privacy.screens.aboutThisAd.onBehalfOf,value:e.productName||t.cta.learnMore,onClick:e.openProductInfo})]})]})},age_gate:function(){var t,e=(null===(t=(0,Po.oR)(b,(function(t){return t.screen})).data)||void 0===t?void 0:t.age_gate_limit)||0,r=function(){var t=Zf(Cf().mark((function t(){return Cf().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,je("age_gate_above",Df(Df({},Ge({isInitialConsent:!0})),{},{overAgeLimit:!0,source:"user"}));case 2:_u(Su.AgeGateOlder);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),n=function(){var t=Zf(Cf().mark((function t(){return Cf().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,je("age_gate_below",Df(Df({},Ge({isInitialConsent:!0})),{},{overAgeLimit:!1,source:"user"}));case 2:_u(Su.AgeGateYounger);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),o={ageGateLimit:e,onAgeGateOlder:r,onAgeGateYounger:n};return(0,Co.useEffect)((function(){wr(yr.AgeGateShown)}),[]),(0,_o.tZ)(Ef,{children:(0,_o.tZ)(Af,Df({},o))})},build_info:function(){var t,e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return pc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pc(t,e):void 0}}(t,e)||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.")}()}((0,x.xh)((function(t){var e=t.impressionConfig,r=t.campaignInfo,n=t.native;return[e.abGroup,r.campaign,n.bundleId,n.bundleVersion,n.webviewHash,n.webviewUa,n.sdkVersion,n.osVersion]}),ko.X),8),r=e[0],n=e[1],o=e[2],i=e[3],a=e[4],c=e[5],u=e[6],l=e[7],s=(0,k.X)(),f=Ja().locale;return(0,_o.BX)(dc,{"aria-label":"screen:privacy-build-info",children:[(0,_o.tZ)(hc,{children:f.common.buildInfo}),(0,_o.BX)(yc,{children:[(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelUserAgent,value:c}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelPlatform,value:s}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelCampaign,value:null==n||null===(t=n.media)||void 0===t?void 0:t.campaignId}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelOsVersion,value:l}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelGroup,value:r}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelSdk,value:u}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelWebview,value:"v1.33.2-ad-viewer"}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelWebviewHash,value:a}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelApp,value:o}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelAppVersion,value:i}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelCreativeId}),(0,_o.tZ)(fc,{label:f.privacy.views.buildInfo.labelTimeStamp,value:(new Date).toUTCString()})]})]})},consent:function(){var t=(0,oe.Fp)((function(t){return t.context})).useDataLeavesTerritory,e=function(){var e,r=(e=Np().mark((function e(){var r,n;return Np().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r={ads:!0,external:!0,gameExp:!0},!t){e.next=5;break}return r.dataLeavesTerritory=!0,e.next=5,lr({idfa:!0,idfv:!0});case 5:return n=Ge({isInitialConsent:!0}),e.next=8,je("agree_all",Zp(Zp({},n),{},{permissions:r}));case 8:_u(Su.ConsentAgreeToAll,r);case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Gp(i,n,o,a,c,"next",t)}function c(t){Gp(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}(),r={onAgreeAll:Pe("agree_all")?e:void 0,onShowChoices:Pe("show_choices")?function(){je("show_choices")}:void 0};return(0,Co.useEffect)((function(){wr(yr.ConsentShown)}),[]),(0,_o.tZ)(Ef,{children:(0,_o.tZ)(Ip,Zp({},r))})},consent_choices:function(){var t,e=(0,Po.oR)(b,(function(t){return t.screen})),r=(0,Po.oR)(_e,(function(t){return t.currentPermissions||Ff})),n=(0,oe.Fp)((function(t){return t.context})).useDataLeavesTerritory,o=function(){var t=Pp(Op().mark((function t(){var e;return Op().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e={ads:!0,external:!0,gameExp:!0},!n){t.next=5;break}return e.dataLeavesTerritory=!0,t.next=5,lr({idfa:!0,idfv:!0});case 5:return t.next=7,je("agree_all",Ep(Ep({},Ge({isInitialConsent:!0})),{},{permissions:e}));case 7:_u(Su.ConsentAgreeToAll,e);case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),i=function(t){var e=Object.values(t).filter((function(t){return null!==t}));e.every((function(t){return t}))?_u(Su.ConsentAgreeToAll,t):e.every((function(t){return!t}))?_u(Su.ConsentDisagreeToAll,t):_u(Su.ConsentPartiallyAgreed,t)},a=function(){var t=Pp(Op().mark((function t(e){var r;return Op().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n||void 0===e.dataLeavesTerritory){t.next=4;break}return r=e.dataLeavesTerritory,t.next=4,lr({idfa:r,idfv:r});case 4:return t.next=6,je("save_choices",Ep(Ep({},Ge({isInitialConsent:!0})),{},{permissions:e}));case 6:i(e);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();(0,Co.useEffect)((function(){wr(yr.MyChoicesShown)}),[]);var c=n||!1,u={nwoAvailable:!(null===(t=e.conditionalComponents)||void 0===t||!t.networkWideOpt),onAgreeAll:o,onSaveChoices:a,permissions:r,showDataLeavesTerritoryPermission:c,showDeleteData:Pe("delete_data"),showNwoSection:Pe("network_wide_opt")};return(0,_o.tZ)(Ef,{children:(0,_o.tZ)(bp,Ep({},u))})},experience_personalization:function(){var t=Ja().locale,e=(0,Co.useContext)(ba).showSnackbar,r=(0,Po.oR)(_e,(function(t){return t.currentPermissions||Ff})),n=function(){var r,n=(r=Qp().mark((function r(n){var o;return Qp().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o={ads:n,external:n,gameExp:n},_u(Su.ExperiencePersonalizationSubmitted,o),r.next=4,je("save_choices",td(td({},Ge()),{},{permissions:o}));case 4:e(t.privacy.screens.personalizationSettings.choicesSavedMessage,5e3);case 5:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){rd(i,n,o,a,c,"next",t)}function c(t){rd(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();return(0,_o.tZ)(os,{children:(0,_o.tZ)($p,{onSaveChoice:n,permissions:r,onCancel:function(){return je("back")}})})},hand_template:hs,hand_template_coppa:function(){var t=Ja(),e=t.locale,r=(0,t.formatMessage)(e.privacy.sections.privacyPolicy.textDescriptionCoppa,{privacyPolicy:(0,_o.tZ)(Ac,{href:"https://unity3d.com/legal/privacy-policy",children:e.privacy.privacyPolicy})});return(0,_o.BX)(_o.HY,{children:[(0,_o.BX)(Cc,{children:[(0,_o.tZ)(Tc,{children:(0,_o.tZ)(Ic,{})}),(0,_o.tZ)(Dc,{children:e.privacy.title})]}),(0,_o.BX)(Tc,{children:[(0,_o.tZ)(Zc,{children:(0,_o.tZ)(Fc,{"aria-label":"button:privacy-report-ad",variant:"contained",onClick:function(){return je("report_ad")},children:e.common.reportAd})}),(0,_o.tZ)(Gc,{children:e.privacy.screens.privacyHome.textHeaderCoppa}),(0,_o.tZ)(Gc,{children:r})]}),(0,_o.tZ)(Nc,{children:(0,_o.tZ)(Rc,{})})]})},personalization_settings:function(){var t=Ja().locale,e=(0,Co.useContext)(ba).showSnackbar,r=(0,Po.oR)(_e,(function(t){return t.currentPermissions||Ff})),n=(0,oe.Fp)((function(t){return t.context})).useDataLeavesTerritory,o=n||!1,i=function(){var r,o=(r=fd().mark((function r(o){var i;return fd().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(_u(Su.PersonalizationConsentChoicesSubmitted,o),!n||void 0===o.dataLeavesTerritory){r.next=5;break}return i=o.dataLeavesTerritory,r.next=5,lr({idfa:i,idfv:i});case 5:return r.next=7,je("save_choices",dd(dd({},Ge()),{},{permissions:o}));case 7:e(t.privacy.screens.personalizationSettings.choicesSavedMessage,5e3);case 8:case"end":return r.stop()}}),r)})),function(){var t=this,e=arguments;return new Promise((function(n,o){var i=r.apply(t,e);function a(t){yd(i,n,o,a,c,"next",t)}function c(t){yd(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return o.apply(this,arguments)}}();return(0,_o.tZ)(os,{children:(0,_o.tZ)(ld,{onSaveChoices:i,permissions:r,onCancel:function(){return je("back")},showDataLeavesTerritory:o})})},privacy_screen:hs,report_ad:function(){var t=_s((0,Co.useState)(null),2),e=t[0],r=t[1],n=_s((0,Co.useState)(!1),2),o=n[0],i=n[1],a=_s((0,Co.useState)(void 0),2),c=a[0],u=a[1],l=Ja().locale,s=function(){var t,e=(t=ks().mark((function t(){var e;return ks().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r(null),e=ys(),t.next=5,je("report_ad",{adReportType:c,campaignId:e.media.campaignId,creativeId:(0,S.zd)(e)?e.content.creativeId:void 0,seatId:e.media.seatId});case 5:i(!0),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),r(t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ls(i,n,o,a,c,"next",t)}function c(t){Ls(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,_o.BX)(Ts,{"aria-label":"screen:privacy-report-ad",children:[(0,_o.tZ)(Cs,{children:l.common.reportAd}),(0,_o.tZ)(Is,{children:l.privacy.views.reportAd.textDescription}),(0,_o.BX)(Ds,{children:[e&&(0,_o.tZ)(Ns,{"aria-label":"alert-error",type:"error",children:e.message}),o&&(0,_o.tZ)(Ns,{"aria-label":"alert-success",children:l.privacy.views.reportAd.textSuccessAlert}),!o&&(0,_o.tZ)(js,{selectedReason:c,setSelectedReason:u})]}),(0,_o.tZ)(Rs,{children:l.privacy.views.reportAd.textDisclaimer}),!o&&(0,_o.tZ)(Zs,{"aria-label":"button:privacy-report",variant:"contained",disabled:void 0===c,onClick:s,children:l.common.report})]})},request_data:function(){var t=$s((0,Co.useState)(null),2),e=t[0],r=t[1],n=$s((0,Co.useState)(""),2),o=n[0],i=n[1],a=$s((0,Co.useState)(!1),2),c=a[0],u=a[1],l=$s((0,Co.useState)(!1),2),s=l[0],f=l[1],p=Ja().locale;return(0,_o.BX)(Qs,{"aria-label":"screen:privacy-request-data",children:[(0,_o.tZ)(Ks,{children:p.common.requestYourData}),(0,_o.tZ)(tf,{children:p.privacy.views.requestData.textDescription}),(0,_o.BX)(ef,{children:[c&&(0,_o.tZ)(rf,{children:p.privacy.views.requestData.textSuccessAlert}),e&&(0,_o.tZ)(rf,{type:"error",children:e.message}),!c&&(0,_o.tZ)(Ws,{email:o,setEmail:i}),s&&(0,_o.tZ)(ll,{email:o,onClose:function(){f(!1)},onSuccess:function(){try{_u(Su.RequestDataSubmit),u(!0),r(null)}catch(t){r(t)}},onFailure:function(t){t===Lu.MultipleFailedVerifications?r(new Error(p.privacy.captcha.rateLimited)):r(new Error(p.privacy.captcha.genericError))}}),!c&&(0,_o.tZ)(nf,{disabled:!Xs(o),variant:"contained",onClick:function(){return f(!0)},children:p.common.submit})]})]})},routing_screen:function(){var t=Ja().locale;return(0,_o.tZ)(os,{children:(0,_o.BX)(Od,{gapSize:3,children:[(0,_o.BX)(vd,{gapSize:3,children:[(0,_o.tZ)(md,{}),(0,_o.tZ)(is,{children:t.privacy.screens.routing.title})]}),(0,_o.BX)(wd,{gapSize:1,children:[(0,_o.tZ)(Sd,{"aria-label":"button:privacy-about-this-ad",color:"inherit",onClick:function(){return je("about_this_ad")},children:t.common.aboutThisAd}),(0,_o.tZ)(Sd,{"aria-label":"button:privacy-settings",color:"inherit",onClick:function(){return je("privacy_settings")},children:t.common.privacySettings}),(0,_o.BX)(Uo,{gapSize:1,children:[(0,_o.tZ)(Sd,{"aria-label":"button:privacy-report-ad",color:"inherit",onClick:function(){return je("report_ad")},children:t.common.reportAd}),(0,_o.tZ)(Sd,{"aria-label":"button:privacy-build-info",color:"inherit",onClick:function(){return je("build_info")},children:t.common.buildInfo})]})]}),(0,_o.tZ)(gd,{children:(0,_o.tZ)(bd,{})})]})})}},jd=function(){var t=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ed(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ed(t,e):void 0}}(t,e)||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.")}()}((0,Po.oR)(b,(function(t){return[t.screen,t.isOpen]}),ko.X),2),e=t[0],r=t[1],n=(0,oe.Fp)((function(t){return t.isInitializing})),o=Ja().locale,i=(0,Co.useRef)(null);(0,Co.useEffect)((function(){e.template&&e.template}),[e]),i.current=e.template&&xd[e.template]?e.template:i.current;var a=!!i.current&&xd[i.current],c=e.hideBackButton;return n&&r?(0,_o.tZ)(uc,{}):(0,_o.tZ)(cc,{open:r,onClose:function(){return je("back")},closeButtonText:o.common.back,hideCloseButton:c,children:!!a&&(0,_o.tZ)(a,{})})},Pd=function(t){var e=t.children;return(0,_o.BX)(_o.HY,{children:[e,(0,_o.tZ)(oe.EH,{children:(0,_o.tZ)(Sa,{children:(0,_o.tZ)(jd,{})})})]})};function kd(t){return kd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kd(t)}function Ld(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==kd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==kd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===kd(o)?o:String(o)),n)}var o}function _d(t,e){return _d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_d(t,e)}function Ad(t,e){if(e&&("object"===kd(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function Td(t){return Td=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Td(t)}var Cd,Id=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_d(t,e)}(c,t);var e,r,n,i,a=(n=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Td(n);if(i){var r=Td(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return Ad(this,t)});function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=a.call(this,t)).state={error:null},e}return e=c,(r=[{key:"componentDidCatch",value:function(t,e){var r,n=this.props.onError;this.setState({error:t});var i=(null!==(r=x.TH.getState().campaignInfo)&&void 0!==r?r:{}).campaign;ht.ap.emit("renderError",{campaign:i,componentStack:null==e?void 0:e.componentStack,error:t}),console.error(t),o.Tb(t),null==n||n(t,e)}},{key:"render",value:function(){var t=this.props,e=t.children,r=t.fallback,n=void 0===r?null:r;return this.state.error?n:e}}])&&Ld(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(Co.Component);function Dd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(t){t.WillStartPresentation="WillStartPresentation",t.DidFinishPresentation="DidFinishPresentation",t.WillStartDismissal="WillStartDismissal",t.DidFinishDismissal="DidFinishDismissal",t.DidFailToLoad="DidFailToLoad"}(Cd||(Cd={}));var Nd=[["WILL_START_PRESENTATION",Cd.WillStartPresentation],["DID_FINISH_PRESENTATION",Cd.DidFinishPresentation],["WILL_START_DISMISSAL",Cd.WillStartDismissal],["DID_FINISH_DISMISSAL",Cd.DidFinishDismissal],["DID_FAIL_TO_LOAD",Cd.DidFailToLoad]],Rd=(0,m.M)((function(t,e){var r=function(e){j.invoke("hide"),t(e?{isObstructed:!0}:{isObstructed:!1,isPresenting:!1})},n=function(n,o,i){var a=e().isPresenting;!n&&a&&r(!1),i?setTimeout((function(){return t({canPresent:n,origin:o})}),250):t({canPresent:n,origin:o})};return{canPresent:!1,checkDelayStatus:function(r,n){e().isDelayComplete||r>=n&&t({canPresent:!0,isDelayComplete:!0})},hide:r,isDelayComplete:!1,isObstructed:!1,isPresenting:!1,setCanPresent:n,show:function(e){var r=(0,x.S3)().getState().campaignInfo.campaign,n=L(r);if(n){var o=n.itunesitem;if(o){var i={additional:U(n,!0),appIdentifier:o,position:e.position,userDismissible:e.dismissible};t({isObstructed:!1}),j.invoke("show",i)}}},statusChangeEventHandler:function(o){switch(o){case Cd.DidFailToLoad:n(!1),r(!1);break;case Cd.WillStartDismissal:break;case Cd.DidFinishDismissal:i=e().isObstructed,a=(0,x.S3)().getState().campaignInfo.campaign.contentType,c=(0,x.S3)().getState().impressionConfig.getExperimentation,i||t({canPresent:!1,isPresenting:!1}),a===S.zc.Comet&&c("skOverlayClickOnBgEvent");break;case Cd.WillStartPresentation:break;case Cd.DidFinishPresentation:!function(){var r,n=(0,x.S3)().getState().impressionConfig.getExperimentation,o=(0,x.S3)().getState().campaignInfo.campaign;t({isPresenting:!0}),o.contentType===S.zc.Comet&&(null!=n&&n("skOverlayClickOnBgEvent"),ht.ap.emit("installOpportunity",{dismissible:null===(r=(0,x.S3)().getState().adExperiences.skOverlayConfig)||void 0===r?void 0:r.dismissible,origin:e().origin,type:"skoverlay"}))}()}var i,a,c}}})),Zd=r(90335),Fd=r(63245);function Gd(t){return Gd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gd(t)}function Md(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ud(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Gd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Gd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vd,zd=(0,Lo.Z)("iframe",{target:"errb4yh0"})({name:"sa30jb",styles:"border:none;height:100%;width:100%"}),Bd=(0,Co.forwardRef)((function(t,e){var r=Object.assign({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t),t));return(0,_o.tZ)(zd,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Md(Object(r),!0).forEach((function(e){Ud(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Md(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({ref:e,scrolling:"no"},r))}));function Yd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(t){t.OpenUrl="openUrl"}(Vd||(Vd={}));var Hd=function(t){var e=i.z.on("ON_MUTE_CHANGE",(function(e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Yd(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yd(t,e):void 0}}(t,e)||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.")}()}(e,1)[0];return t(r)}));return function(){return e()}},qd=r(64456),Xd=r(63216);function Wd(t){return Wd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wd(t)}function $d(){$d=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Wd(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Jd(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qd(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Jd(i,n,o,a,c,"next",t)}function c(t){Jd(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Kd,th,eh,rh=r(95791);function nh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function oh(t){return oh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},oh(t)}function ih(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==oh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==oh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===oh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ah,ch,uh,lh=(ih(eh={},P.t.Android,(ih(Kd={},z.J.AdViewer,Hd),ih(Kd,z.J.Webview,(function(t){var e=setInterval(Qd($d().mark((function e(){var r;return $d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qd.q.invoke("getRingerMode");case 2:r=e.sent,t(r===Xd.N.Silent||r===Xd.N.Vibration);case 4:case"end":return e.stop()}}),e)}))),1e3);return function(){clearInterval(e)}})),Kd)),ih(eh,P.t.Ios,(ih(th={},z.J.AdViewer,Hd),ih(th,z.J.Webview,(function(t){var e=rh.b.on("MUTE_STATE_RECEIVED",(function(e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return nh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nh(t,e):void 0}}(t,e)||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.")}()}(e,1)[0];t(r)})),r=setInterval((function(){return rh.b.invoke("checkIsMuted").catch((function(){ht.ap.emitDiagnostic("checkIsMutedError")}))}),1e3);return function(){clearInterval(r),e()}})),th)),eh),sh=r(5049);function fh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ph(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ph(t,e):void 0}}(t,e)||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 ph(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function dh(t){return dh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dh(t)}function hh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==dh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yh=(hh(uh={},P.t.Android,(hh(ah={},z.J.AdViewer,(function(t){var e=(0,x.S3)().getState().native.maxVolume,r=i.z.on("ON_VOLUME_CHANGE",(function(r){var n=fh(r,1)[0];return t(n,e)}));return function(){return r()}})),hh(ah,z.J.Webview,sh.S.onVolumeChanged),ah)),hh(uh,P.t.Ios,(hh(ch={},z.J.AdViewer,(function(t){var e=(0,x.S3)().getState().native.maxVolume;setTimeout((function(){i.z.invoke("setAudioSessionActive",!0)}),1e3);var r=i.z.on("ON_VOLUME_CHANGE",(function(r){var n=fh(r,1)[0];return t(n,e)}));return function(){return r()}})),hh(ch,z.J.Webview,sh.S.onVolumeChanged),ch)),uh);function vh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var mh=function(t,e){var r=(0,x.xh)((function(t){var e,r,n=t.placement,o=t.campaignInfo,i=t.isForeground;return[n.forceMute,null==o?void 0:o.campaign.contentType,null!==(e=null==o?void 0:o.initialVolume)&&void 0!==e?e:-1,null!==(r=null==o?void 0:o.initialMuteStatus)&&void 0!==r&&r,i]}),ko.X),n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return vh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vh(t,e):void 0}}(t,e)||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.")}()}(r,5),o=n[0],i=n[1],a=n[2],c=n[3],u=n[4],l=(0,Co.useRef)(100*a),s=(0,Co.useRef)(c||o),f=(0,Po.oR)(b,(function(t){return t.isOpen})),p=u&&!f,d=i===S.zc.Banner,h=(0,Co.useCallback)((function(r){if(!d){var n=l.current>=0?l.current:null;t("audioVolumeChange",s.current?0:n)}t("stateChange","default"),t("viewableChange",!0),t("exposureChange",100,{height:window.innerHeight,width:window.innerWidth,x:0,y:0},null),t("ready"),null==e||e(r)}),[d,e,t]);return(0,Co.useEffect)((function(){if(!d){var e,r=(e=function(e,r){l.current=er(e,r,!0),s.current||t("audioVolumeChange",l.current>=0?l.current:null)},yh[(0,k.X)()][(0,B.k)()](e));return function(){return r()}}}),[d,t]),(0,Co.useEffect)((function(){if(!d){var e,r=(e=function(e){0===l.current||s.current===e||o||(s.current=e,t("audioVolumeChange",e?0:l.current))},lh[(0,k.X)()][(0,B.k)()](e));return function(){return r()}}}),[d,o,t]),(0,Co.useEffect)((function(){var e=p?100:0,r=p?{height:window.innerHeight,width:window.innerWidth,x:0,y:0}:null;t("viewableChange",p),t("exposureChange",e,r,null)}),[t,p]),{handleOnLoad:h}};function gh(t){return gh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gh(t)}var bh=["onClose","onOpen","onLoad","externalIframeRef"];function wh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Oh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==gh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==gh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===gh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Sh=function(t){var e=t.onClose,r=t.onOpen,n=t.onLoad,i=t.externalIframeRef,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,bh),c=(0,Co.useRef)(null),u=i||c,l=(0,Co.useCallback)((function(t){for(var e,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return null===(e=u.current)||void 0===e||null===(r=e.contentWindow)||void 0===r?void 0:r.postMessage({event:t,type:"mraid",value:o},"*")}),[u]),s=mh(l,n).handleOnLoad;return(0,Co.useEffect)((function(){var t,n,i,a=(n={close:t=e,open:r,orientation:function(t){var e=t.allowOrientationChange,r=t.forceOrientation;try{(0,x.S3)().getState().adUnit.setOrientation(r,e)}catch(t){o.Tb(t)}},unload:t},i=function(t){var e=t.data,r=e.event,o=e.value;if("mraid"===e.type){var i=n[r];i&&i(o)}},window.addEventListener("message",i,{passive:!0}),function(){return window.removeEventListener("message",i)});return function(){return a()}}),[e,r]),(0,_o.tZ)(Bd,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wh(Object(r),!0).forEach((function(e){Oh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({ref:u,onLoad:s,title:"Mraid Host",sandbox:"allow-scripts"},a))},Eh=function(){var t;return!!(null===(t=ys().media.dsp)||void 0===t?void 0:t.deepLinking)},xh=function(t){return null!=t&&t.match(/^(https|itms-apps|market|deeplinker):/i)?t:void 0},jh=function(t){try{var e=new URL(t).searchParams,r=e.get("primaryUrl"),n=e.get("fallbackUrl"),o=e.get("primaryTracker"),i=e.get("fallbackTracker");return{fallbackTracker:xh(i),fallbackUrl:xh(n),primaryTracker:xh(o),primaryUrl:r||void 0}}catch(t){return{}}},Ph=function(t){return Boolean(null==t?void 0:t.match(/^deeplinker:./i))};function kh(t){return kh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kh(t)}function Lh(){Lh=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==kh(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function _h(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ah(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){_h(i,n,o,a,c,"next",t)}function c(t){_h(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Th=function(){var t=Ah(Lh().mark((function t(e,r){var n,o,i,a,c,u;return Lh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=jh(e),o=n.primaryUrl,i=n.fallbackUrl,a=n.primaryTracker,c=n.fallbackTracker,u=function(){var t=Ah(Lh().mark((function t(e,n,o){return Lh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r(e);case 3:return ht.ap.emitDiagnostic(n),t.abrupt("return",!0);case 7:return t.prev=7,t.t0=t.catch(0),ht.ap.emitDiagnostic(o),t.abrupt("return",!1);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e,r,n){return t.apply(this,arguments)}}(),!o){t.next=17;break}return t.next=5,u(o,"openPrimaryUrlSuccess","openPrimaryUrlFail");case 5:if(!t.sent){t.next=17;break}if(!a){t.next=16;break}return t.prev=8,t.next=11,(0,sr.b)({method:"POST",url:a});case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(8),ht.ap.emitDiagnostic("primaryTrackerFail");case 16:return t.abrupt("return");case 17:if(!i){t.next=30;break}return t.next=20,u(i,"openFallbackUrlSuccess","openFallbackUrlFail");case 20:if(!t.sent||!c){t.next=30;break}return t.prev=22,t.next=25,(0,sr.b)({method:"POST",url:c});case 25:t.next=30;break;case 27:t.prev=27,t.t1=t.catch(22),ht.ap.emitDiagnostic("secondaryTrackerFail");case 30:case"end":return t.stop()}}),t,null,[[8,13],[22,27]])})));return function(e,r){return t.apply(this,arguments)}}();function Ch(t){return Ch="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ch(t)}function Ih(){Ih=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Ch(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Dh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dh(Object(r),!0).forEach((function(e){Rh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dh(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ch(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ch(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ch(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zh(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Fh=function(){var t,e=(t=Ih().mark((function t(e,r){return Ih().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(ht.ap.emit("userInteraction",{type:"campaignOpenUrlCall"}),t.prev=1,(0,B.k)()!==z.J.AdViewer){t.next=6;break}return t.next=5,i.z.invoke("openUrl",e,r&&{packageName:"com.android.vending"}||{});case 5:return t.abrupt("return");case 6:return t.next=8,fr.invoke("launch",Nh({action:"android.intent.action.VIEW",uri:e},r&&{packageName:"com.android.vending"}));case 8:t.next=13;break;case 10:t.prev=10,t.t0=t.catch(1),yt(t.t0,{type:"openUrl",url:e});case 13:case"end":return t.stop()}}),t,null,[[1,10]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Zh(i,n,o,a,c,"next",t)}function c(t){Zh(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function Gh(t){return Gh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gh(t)}function Mh(){Mh=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Gh(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Uh(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Vh,zh=function(t){return(0,B.k)()===z.J.AdViewer?i.z.invoke("openUrl",t):pr.invoke("open",t)},Bh=function(){var t,e=(t=Mh().mark((function t(e){var r,n,o,i;return Mh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.url,n=e.skipToAppSheetClick,ht.ap.emit("userInteraction",{type:"campaignOpenUrlCall"}),!Ph(r)||!Eh()){t.next=4;break}return t.abrupt("return",Th(r,zh).catch((function(t){throw yt(t,{type:"openDeepLink",url:r}),t})));case 4:if((o=I.getState().checkAppSheetAvailability(n))||!Boolean(n)){t.next=7;break}return t.abrupt("return");case 7:if(o){t.next=9;break}return t.abrupt("return",zh(r).catch((function(t){throw yt(t,{type:"openUrl",url:r}),t})));case 9:return i=ys(),t.prev=10,t.next=13,Et(i,!0);case 13:t.next=19;break;case 15:return t.prev=15,t.t0=t.catch(10),lt(i),t.abrupt("return",zh(r).catch((function(t){throw yt(t,{type:"openUrlAfterAppSheetFailed",url:r}),t})));case 19:case"end":return t.stop()}}),t,null,[[10,15]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Uh(i,n,o,a,c,"next",t)}function c(t){Uh(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function Yh(t){return Yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yh(t)}function Hh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Yh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Yh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Yh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qh=(Hh(Vh={},P.t.Android,(function(t){var e=t.url,r=t.usePackageName;return Ph(e)&&Eh()?Th(e,Fh):Fh(e,r)})),Hh(Vh,P.t.Ios,Bh),Vh)[(0,k.X)()],Xh=(0,Lo.Z)("div",{target:"e1cbdc7g1"})({name:"1r5gb7q",styles:"display:inline-block"}),Wh=(0,Lo.Z)(bi,{target:"e1cbdc7g0"})({name:"1yy8bfh",styles:"background-color:rgba(0, 0, 0, 0.2);border-radius:0 5px 0 0;bottom:0;height:auto;left:0;padding:3px;position:absolute;width:4em;z-index:1"}),$h={name:"a420nw",styles:"html{background-color:transparent;}"},Jh=function(t){var e=t.campaign,r=function(){ht.ap.emit("htmlLoaded",{})},n=function(t){qh({url:t}),ht.ap.emit("ctaClick",{})},o=(0,x.xh)((function(t){return t.campaignInfo.onAdContentStart}));return(0,Co.useEffect)((function(){o()}),[o]),(0,_o.BX)(_o.HY,{children:[(0,_o.tZ)(Zd.xB,{styles:$h}),(0,_o.tZ)(Sh,{onLoad:r,onOpen:n,srcDoc:e.content,style:{backgroundColor:"transparent"}}),(0,_o.tZ)(Xh,{children:(0,_o.tZ)(Wh,{})})]})},Qh=function(){var t=(0,Po.oR)(b,(function(t){return t.isOpen})),e=(0,Po.oR)(I,(function(t){return t.isOpen})),r=(0,x.xh)((function(t){return t.isForeground}));return t||e||!r};function Kh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ty(t){return ty="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ty(t)}var ey=["value"];function ry(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ny(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ry(Object(r),!0).forEach((function(e){oy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ry(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ty(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ty(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ty(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var iy=2*Math.PI*16.5,ay=(0,Lo.Z)("span",{target:"e1h3dzcw3"})({name:"1wacpor",styles:"height:2rem;position:absolute;transform:rotate(-90deg);width:2rem"}),cy=(0,Lo.Z)("circle",{target:"e1h3dzcw2"})({cx:36,cy:36,fill:"none",r:16.5,stroke:"currentColor",strokeWidth:3},""),uy=(0,Lo.Z)(cy,{target:"e1h3dzcw1"})((function(t){var e=t.value;return{strokeDasharray:iy.toFixed(3),strokeDashoffset:"".concat(((100-e)/100*iy).toFixed(3),"px"),transition:"stroke-dashoffset 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"}}),""),ly=(0,Lo.Z)(cy,{target:"e1h3dzcw0"})({name:"o9ww1u",styles:"opacity:0.5"}),sy=function(t){var e=t.value,r=void 0===e?0:e,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,ey);return(0,_o.tZ)(ay,ny(ny({role:"progressbar","aria-valuenow":Math.round(r)},n),{},{children:(0,_o.BX)("svg",{viewBox:"".concat(18," ").concat(18," ").concat(36," ").concat(36),children:[(0,_o.tZ)(ly,{}),(0,_o.tZ)(uy,{value:r})]})}))};function fy(t){return fy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fy(t)}var py=["onClick","closeTimerDurationInMs","pauseProgress","closeButtonId"];function dy(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function hy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dy(Object(r),!0).forEach((function(e){yy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dy(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==fy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==fy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===fy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vy=(0,Lo.Z)("div",{target:"esogawv1"})({name:"1c85bns",styles:"align-items:center;display:flex;justify-content:center;position:relative"}),my=(0,Lo.Z)("button",{target:"esogawv0"})((function(t){return{alignItems:"center",color:"inherit",cursor:"pointer",display:"flex",height:"100%",justifyContent:"center",opacity:t.disabled?.5:1,padding:0,width:"100%",zIndex:2}}),""),gy={close:So.VideoCloseButton,skip:So.VideoSkipButton},by={close:(0,_o.tZ)(_i,{}),skip:(0,_o.tZ)(Bi,{})},wy=function(t){var e=t.onClick,r=t.closeTimerDurationInMs,n=t.pauseProgress,o=t.closeButtonId,i=void 0===o?"close":o,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,py),c=function(t,e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Kh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kh(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(0),2),n=r[0],o=r[1];return(0,Co.useEffect)((function(){if(!(n>=t)){var r=window.setTimeout((function(){o((function(t){return e?t:t+100}))}),100);return function(){return window.clearTimeout(r)}}}),[t,n,e]),{complete:n>=t,currentTimeInMs:n}}(r,n),u=c.currentTimeInMs/r*100,l=by[i],s=gy[i];return(0,_o.BX)(vy,hy(hy({},a),{},{children:[(0,_o.tZ)(my,{"aria-label":"Close",disabled:!c.complete,onClick:e,"data-element-id":s,children:l}),!c.complete&&(0,_o.tZ)(sy,{value:u})]}))},Oy=function(t,e){return e?t:-1};function Sy(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ey=(0,Lo.Z)(wy,{target:"eirf7z20"})((function(t){return{"@media (orientation: landscape)":{right:["0.75rem","max(constant(safe-area-inset-left), 0.75rem)","max(env(safe-area-inset-left), 0.75rem)"]},"@media (orientation: portrait)":{top:["1.25rem","max(constant(safe-area-inset-top), 1.25rem)","max(env(safe-area-inset-top), 1.25rem)"]},background:"rgba(124, 124, 124, 0.3)",borderRadius:"50%",color:t.theme.palette.common.white,fontSize:"1.3rem",height:"1.75rem",pointerEvents:"initial",position:"absolute",right:"0.75rem",top:"1.25rem",width:"1.75rem",zIndex:1}}),""),xy=function(t){var e=t.closeTimerDurationInS,r=t.isEndCardOrEndScreen,n=t.onClose,o=t.onReward,i=t.onSkip,a=t.closeButtonId,c=Qh(),u=function(t,e,r,n,o){var i=(0,x.xh)((function(t){var e=t.placement;return[e.allowSkip,e.skipInSeconds]}),ko.X),a=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Sy(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Sy(t,e):void 0}}(t,e)||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,2),c=a[0],u=a[1],l=Oy(u,c),s=!e&&c,f=(0,Co.useRef)(!1);return(0,Co.useEffect)((function(){if(!e){var r=setTimeout((function(){s?f.current=!0:null==o||o()}),1e3*(s?t:.75*t));return function(){return clearTimeout(r)}}}),[t,e,s,o,l]),{closeTimerDurationInMs:1e3*(s?l:t),handleOnClick:s?function(t){return f.current?r(t):null==n?void 0:n()}:r}}(e,r,n,i,o),l=u.closeTimerDurationInMs,s=u.handleOnClick;return(0,_o.tZ)(Ey,{closeButtonId:a,closeTimerDurationInMs:l,onClick:s,pauseProgress:r&&c})},jy=(0,Zd.F4)({"0%":{transform:"translate(-50%, -15vh)"},"100%":{transform:"translate(-50%, 0)"}}),Py=(0,Lo.Z)("div",{target:"e1qqjidc0"})({alignSelf:"center",animation:"".concat(jy," 0.25s linear forwards 1s"),background:"rgba(0, 0, 0, 0.4)",borderRadius:"1em",display:"flex",fontSize:".75em",left:"50%",opacity:"0.6",padding:"0.5em 1em",position:"absolute",textAlign:"center",textTransform:"uppercase",transform:"translate(-50%, -15vh)"},"");function ky(t){return ky="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ky(t)}function Ly(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ly(Object(r),!0).forEach((function(e){Ay(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ly(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ay(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ky(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ky(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ky(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ty=(0,Lo.Z)("button",{target:"ea9ymzr1"})({name:"2294y0",styles:"color:inherit;cursor:pointer"}),Cy=(0,Lo.Z)(hi,{target:"ea9ymzr0"})({name:"6r56vi",styles:"height:1rem;width:1rem"}),Iy=function(t){return(0,_o.tZ)(Ty,_y(_y({"aria-label":"Privacy"},t),{},{children:(0,_o.tZ)(Cy,{})}))};function Dy(t){return Dy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dy(t)}var Ny=["onClick"];function Ry(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Zy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ry(Object(r),!0).forEach((function(e){Fy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ry(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Dy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Dy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Dy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gy=(0,Lo.Z)("button",{target:"e1bqc1sn2"})({name:"o5p6af",styles:"align-items:center;background-color:rgba(250, 250, 250, 0.9);border-radius:0.25rem;box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);display:flex;justify-content:center;padding:0.25rem;width:100%"}),My=(0,Lo.Z)(hi,{target:"e1bqc1sn1"})({name:"6duii0",styles:"color:black;opacity:0.3"}),Uy=(0,Lo.Z)("span",{target:"e1bqc1sn0"})({name:"rni46",styles:"font-size:0.5rem;padding:0.5rem;text-align:center;width:90%"}),Vy=function(t){var e=t.onClick,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Ny),n=Ja().locale;return(0,Co.useEffect)((function(){oe.k7.getState().ctaPermissionsWereApplied||(oe.k7.setState({ctaPermissionsWereApplied:!0}),Me())}),[]),(0,_o.BX)(Gy,Zy(Zy({onClick:e},r),{},{"aria-label":"privacy-call-to-action-banner",children:[(0,_o.tZ)(My,{}),(0,_o.tZ)(Uy,{children:Na(n.privacy.callToActionBanner.message,{Link:(0,_o.tZ)(xu,{children:n.privacy.callToActionBanner.tapHere})})})]}))},zy=function(){var t=(0,Po.oR)(oe.k7,(function(t){return t.updateContext}),ko.X),e=(x.TH.getState().impressionConfig||{}).getExperimentation;return null!=e&&e("wv2AdViewerEnabled")?function(){i.z.invoke("broadcastEvent",{eventType:"OPEN_PRIVACY"}),b.setState({isOpen:!0}),t({showCallToActionBanner:!1})}:function(){return _u(Su.PrivacyOpened),ke(),je("hand")}},By=(0,Lo.Z)(Iy,{target:"e1b4284d3"})((function(t){var e=t.theme;return{"@media (orientation: landscape)":{left:["0.75rem","max(constant(safe-area-inset-left), 0.75rem)","max(env(safe-area-inset-left), 0.75rem)"]},"@media (orientation: portrait)":{top:["1.25rem","max(constant(safe-area-inset-top), 1.25rem)","max(env(safe-area-inset-top), 1.25rem)"]},background:"rgba(124, 124, 124, 0.3)",borderRadius:".35rem",color:t.isGmaTpsc?e.palette.blue.main:e.palette.common.white,fontSize:"1.3rem",height:"1.75rem",left:"0.75rem",padding:"unset",pointerEvents:"initial",position:"absolute",top:"1.25rem",width:"1.75rem",zIndex:1}}),""),Yy=(0,Lo.Z)("div",{target:"e1b4284d2"})({name:"1ciq5w0",styles:"bottom:1.25rem;padding:0 1.25rem;pointer-events:initial;position:absolute;width:100%;z-index:1"}),Hy=(0,Lo.Z)(Vy,{target:"e1b4284d1"})({name:"1739oy8",styles:"z-index:1"}),qy=(0,Lo.Z)(Py,{target:"e1b4284d0"})({"@media (orientation: portrait)":{marginTop:["1rem","constant(safe-area-inset-top)","env(safe-area-inset-top)"]},marginTop:"1rem"},""),Xy=function(){var t=(0,Po.oR)(b,(function(t){var e;return null===(e=t.adsPlayer)||void 0===e?void 0:e.showAdNotice})),e=(0,oe.Fp)((function(t){return t.context.showCallToActionBanner})),r=zy(),n=Ja().locale,o=(0,x.xh)((function(t){return t.campaignInfo.campaign})).contentType;return(0,_o.BX)(_o.HY,{children:[t&&(0,_o.tZ)(qy,{children:n.common.advertisement}),(0,_o.tZ)(By,{isGmaTpsc:o===S.zc.GmaTpsc,onClick:r}),e&&(0,_o.tZ)(Yy,{children:(0,_o.tZ)(Hy,{onClick:r})})]})};function Wy(t){return Wy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wy(t)}function $y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$y(Object(r),!0).forEach((function(e){Qy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Wy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Wy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Wy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ky=(0,Lo.Z)("div",{target:"ewla0uj1"})((function(t){return Jy(Jy({},t.theme.mixins.absoluteFullscreen),{},{display:"flex",flexDirection:"column",pointerEvents:"none"})}),""),tv=(0,Lo.Z)("div",{target:"ewla0uj0"})({name:"1owfoye",styles:"display:flex;flex-grow:1;pointer-events:auto"}),ev=function(t){var e=t.closeTimerDurationInS,r=t.isEndCard,n=void 0!==r&&r,o=t.isEndScreen,i=void 0!==o&&o,a=t.onClose,c=t.hasPlayableEndScreen,u=t.onReward,l=t.onSkip,s=t.children,f=a&&void 0!==e;return(0,_o.BX)(Ky,{children:[(0,_o.tZ)(Xy,{}),f&&(0,_o.tZ)(xy,{closeButtonId:c?"skip":"close",closeTimerDurationInS:e,isEndCardOrEndScreen:n||i,onClose:a,onReward:u,onSkip:l}),s&&(0,_o.tZ)(tv,{children:s})]})};function rv(t){return rv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rv(t)}var nv=["onClose","onOpen","onSkip","closeTimerDurationInS","hasPlayableEndScreen","isEndCard"];function ov(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function iv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ov(Object(r),!0).forEach((function(e){av(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ov(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function av(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==rv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==rv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===rv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var cv=(0,Lo.Z)("div",{target:"eq5a6t10"})({name:"pmcd66",styles:"height:100%;overflow:hidden;width:100%"}),uv=function(t){var e=t.onClose,r=t.onOpen,n=t.onSkip,o=t.closeTimerDurationInS,i=t.hasPlayableEndScreen,a=t.isEndCard,c=void 0!==a&&a,u=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,nv);return(0,_o.BX)(cv,{children:[(0,_o.tZ)(ev,{closeTimerDurationInS:o,isEndCard:c,onClose:e,onReward:function(){ht.ap.emit("adContentThirdQuartile",{})},onSkip:n,hasPlayableEndScreen:i}),(0,_o.tZ)(Sh,iv({onClose:e,onOpen:r},u))]})};function lv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var sv=function(){var t=(0,x.xh)((function(t){return t.adExperiences.skOverlayConfig})),e=(0,Po.oR)(b,(function(t){return t.isOpen})),r=(0,Po.oR)(I,(function(t){return t.isOpen})),n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return lv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?lv(t,e):void 0}}(t,e)||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.")}()}((0,Po.oR)(Rd,(function(t){return[t.canPresent,t.statusChangeEventHandler,t.show,t.hide]}),ko.X),4),o=n[0],i=n[1],a=n[2],c=n[3];(0,Co.useEffect)((function(){if(t){var e,r,n=(e=i,r=Nd.map((function(t){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Dd(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dd(t,e):void 0}}(t,e)||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.")}()}(t,2),n=r[0],o=r[1];return j.on(n,(function(){e(o)}))})),function(){return r.forEach((function(t){return t()}))});return function(){return n()}}}),[i,t]),(0,Co.useEffect)((function(){t&&o&&(e||r?c(!0):a(t))}),[o,r,e,t,a,c])};function fv(t){return fv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fv(t)}function pv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pv(Object(r),!0).forEach((function(e){hv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hv(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==fv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==fv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===fv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yv={"@media (orientation: portrait)":{"@media (min-height: 0)":{fontSize:6.4},"@media (min-height: 250px)":{fontSize:8},"@media (min-height: 320px)":{fontSize:11.2},"@media (min-height: 380px)":{fontSize:12.8},"@media (min-height: 460px)":{fontSize:16},"@media (min-height: 560px)":{fontSize:19.2},"@media (min-height: 600px)":{fontSize:20.8},"@media (min-height: 680px)":{fontSize:24},"@media (min-height: 780px)":{fontSize:25.6},"@media (min-height: 980px)":{fontSize:28.8},"@media (min-height: 1050px)":{fontSize:35.2},"@media (min-height: 1175px)":{fontSize:40},"@media (min-height: 1375px)":{fontSize:48},"@media (min-height: 1675px)":{fontSize:56},"@media (min-height: 1975px)":{fontSize:70.4},"@media (min-height: 2275px)":{fontSize:80},"@media (min-height: 2575px)":{fontSize:96},"@media (min-height: 2875px)":{fontSize:112},"@media (min-height: 3475px)":{fontSize:128},"@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)":{fontSize:24}}},vv={"@media (orientation: landscape)":{"@media (min-width: 200px)":{fontSize:11.2},"@media (min-width: 320px)":{fontSize:12.8},"@media (min-width: 460px)":{fontSize:16},"@media (min-width: 580px)":{fontSize:19.2},"@media (min-width: 760px)":{fontSize:22.4},"@media (min-width: 960px)":{fontSize:25.6},"@media (min-width: 1160px)":{fontSize:35.2},"@media (min-width: 1460px)":{fontSize:44.8},"@media (min-width: 1760px)":{fontSize:60.8},"@media (min-width: 2260px)":{fontSize:73.6}}},mv=function(){return(0,_o.tZ)(Zd.xB,{styles:(0,Zd.iv)({html:dv(dv(dv({fontFamily:"Helvetica, sans-serif",height:"100%",width:"100%"},yv),vv),{},{color:"#fff"})},"","")})};function gv(t){return gv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gv(t)}var bv=["price","free"];function wv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ov(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wv(Object(r),!0).forEach((function(e){Sv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Sv(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==gv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==gv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===gv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ev=(0,Lo.Z)("div",{target:"eyvmfti2"})((function(t){return{"@media (orientation: landscape)":{display:t.hideInLandscape?"none":"flex",flex:"unset"},"@media (orientation: portrait)":{display:t.hideInPortrait?"none":"flex"},alignItems:"flex-start",color:t.theme.palette.common.black,display:"flex",flex:"1",flexDirection:"column",justifyContent:"center"}}),""),xv=(0,Lo.Z)("div",{target:"eyvmfti1"})({name:"jr0z0f",styles:"color:#b7b7b7;font-size:0.5rem"}),jv=(0,Lo.Z)("div",{target:"eyvmfti0"})({name:"1cabvqy",styles:"color:#333;font-size:1rem;font-weight:700;text-transform:uppercase"}),Pv=function(t){var e=t.price,r=t.free,n=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,bv);return(0,_o.BX)(Ev,Ov(Ov({},n),{},{children:[(0,_o.tZ)(xv,{children:e}),(0,_o.tZ)(jv,{children:r})]}))};function kv(t){return kv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kv(t)}function Lv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lv(Object(r),!0).forEach((function(e){Av(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Av(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==kv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==kv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===kv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tv=(0,Lo.Z)("div",{target:"e15t0hfv4"})({name:"6anbn1",styles:"@media (orientation: landscape){justify-content:center;}align-items:flex-start;display:flex;flex-direction:column"}),Cv=(0,Lo.Z)("span",{target:"e15t0hfv3"})({name:"1n9n43x",styles:"color:#7c7c7c;font-size:0.5rem;margin-left:.45rem"}),Iv=(0,Lo.Z)("div",{target:"e15t0hfv2"})({name:"92e9ck",styles:"font-size:.8rem;line-height:1;position:relative;white-space:nowrap"}),Dv=(0,Lo.Z)("div",{target:"e15t0hfv1"})((function(t){var e=t.rating;return{color:"#ff8e00",overflow:"hidden",position:"absolute",width:"".concat(e/5*100,"%"),zIndex:1}}),""),Nv=(0,Lo.Z)("div",{target:"e15t0hfv0"})({name:"9ne3uf",styles:"color:#e6e6e6;z-index:0"}),Rv=function(t){var e=t.rating,r=void 0===e?0:e,n=t.ratingCountText,o=n&&"0"!==n;return(0,_o.BX)(Tv,_v(_v({},t),{},{children:[(0,_o.BX)(Iv,{children:[(0,_o.BX)(Dv,{rating:r,children:[(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{})]}),(0,_o.BX)(Nv,{children:[(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{}),(0,_o.tZ)(xi,{})]})]}),o&&(0,_o.BX)(Cv,{children:["(",n,")"]})]}))},Zv=(0,Lo.Z)("div",{target:"ecpskfq3"})((function(t){return{"@media (orientation: landscape)":{display:t.hideInLandscape?"none":"flex",flex:3,justifyContent:"flex-end",margin:0,padding:"0",width:"100%"},"@media (orientation: portrait)":{display:t.hideInPortrait?"none":"flex",flex:1,margin:"1.2rem auto",width:"90%"},alignItems:" flex-start",display:"flex",flexDirection:"column",justifyContent:" center"}}),""),Fv=(0,Lo.Z)(Vy,{target:"ecpskfq2"})((function(t){var e=t.hideInPortrait;return{"@media (orientation: landscape)":{display:t.hideInLandscape?"none":"flex"},"@media (orientation: portrait)":{display:e?"none":"flex"},background:"transparent",boxShadow:"none",justifyContent:"flex-start",padding:"0.25rem 0"}}),""),Gv=(0,Lo.Z)("div",{target:"ecpskfq1"})({name:"1piubf6",styles:"@media (orientation: landscape){@media (max-width: 780px){margin:2em 0 2em;}align-items:flex-end;display:flex;justify-content:space-between;margin:2rem 0 1rem;width:100%;}"}),Mv=(0,Lo.Z)("div",{target:"ecpskfq0"})((function(t){return{"@media (orientation: landscape)":{fontSize:"1.25rem",marginBottom:"1.25rem"},WebkitBoxOrient:"vertical",WebkitLineClamp:"2",color:t.theme.palette.common.black,display:"-webkit-box",fontSize:"1.25rem",overflow:"hidden",textAlign:"start",textOverflow:"ellipsis"}}),""),Uv=function(t){var e=t.appName,r=t.rating,n=t.ratingCountText,o=t.showPrivacyCallToActionBanner,i=t.hideInLandscape,a=zy(),c=Ja().locale;return i?(0,_o.BX)(Zv,{hideInLandscape:!0,children:[e&&(0,_o.tZ)(Mv,{"data-element-id":So.EndScreenAppName,children:e}),(0,_o.tZ)(Gv,{children:r&&(0,_o.tZ)(Rv,{rating:r,ratingCountText:n,"data-element-id":So.EndScreenAppRating})}),o&&(0,_o.tZ)(Fv,{onClick:a,hideInLandscape:!0,"data-element-id":So.EndScreenGdprBanner})]}):(0,_o.BX)(Zv,{hideInPortrait:!0,children:[e&&(0,_o.tZ)(Mv,{"data-element-id":So.EndScreenAppName,children:e}),o&&(0,_o.tZ)(Fv,{onClick:a,hideInPortrait:!0,"data-element-id":So.EndScreenGdprBanner}),(0,_o.BX)(Gv,{children:[r&&(0,_o.tZ)(Rv,{rating:r,ratingCountText:n,"data-element-id":So.EndScreenAppRating}),(0,_o.tZ)(Pv,{hideInPortrait:!0,free:c.common.free,price:c.common.price})]})]})};function Vv(t){return Vv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vv(t)}var zv=["children","backgroundColor"];function Bv(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Yv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Bv(Object(r),!0).forEach((function(e){Hv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Bv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Hv(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Vv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Vv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Vv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qv="".concat(.65*1.4,"rem"),Xv="".concat(.8*1.4,"rem"),Wv="".concat(1.26,"rem"),$v="".concat(1.54,"rem"),Jv="".concat(1.26,"rem"),Qv=(0,Zd.F4)({"30%":{transform:"scale(1.05)"},"from, 60%, 100%":{transform:"scale(1)"}}),Kv=(0,Zd.F4)({"0%":{backgroundPosition:"30% 90%, 30% 110%, 35% 90%, 45% 90%, 50% 110%, 55% 90%, 60% 90%, 65% 110%, 70% 90%",backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"},"30%":{backgroundSize:"".concat(qv," ").concat(qv,", ").concat(Jv," ").concat(Jv,", ").concat(Xv," ").concat(Xv,", ").concat($v," ").concat($v,", ").concat(Wv," ").concat(Wv,", ").concat(qv," ").concat(qv,", ").concat(Xv," ").concat(Xv,", ").concat(qv," ").concat(qv,", ").concat(Jv," ").concat(Jv)},"60%":{backgroundPosition:"0% 70%, 9% 10%, 15% 30%, 20% -10%, 50% 20%, 60% 40%, 70% 40%, 80% 10%, 90% 20%",backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"},"100%":{backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"}}),tm=(0,Zd.F4)({"0%":{backgroundPosition:"10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%",backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"},"30%":{backgroundSize:"".concat(Xv," ").concat(Xv,", ").concat(qv," ").concat(qv,", ").concat(Jv," ").concat(Jv,",").concat(Wv," ").concat(Wv,", ").concat(Xv," ").concat(Xv,", ").concat(qv," ").concat(qv,", ").concat(Wv," ").concat(Wv)},"60%":{backgroundPosition:"0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%",backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"},"100%":{backgroundSize:"0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%"}}),em=(0,Lo.Z)("button",{target:"e18igx331"})((function(t){return{"@media (orientation: landscape)":{maxWidth:"65%"},backgroundColor:t.backgroundColor,borderRadius:"1rem",color:t.theme.palette.common.white,cursor:"pointer",flex:"1",fontSize:"1rem",height:"2.5rem",textAlign:"center",whiteSpace:"nowrap"}}),""),rm=(0,Lo.Z)(em,{target:"e18igx330"})((function(t){var e=t.backgroundColor;return{"&:after":{animationName:tm,backgroundImage:"radial-gradient(circle, ".concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, transparent 10%, ").concat(e," 15%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%)"),backgroundSize:"0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0",bottom:"-75%"},"&:before":{animationName:Kv,backgroundImage:"radial-gradient(circle, ".concat(e," 20%, transparent 20%),\n radial-gradient(circle, transparent 20%, ").concat(e," 20%, transparent 30%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, ").concat(e," 20%, transparent 20%),\n radial-gradient(circle, transparent 20%, ").concat(e," 20%, transparent 30%)"),backgroundSize:"0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0",top:"-75%"},"&:before, &:after":{animationDuration:"1.5s",animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",backgroundRepeat:"no-repeat",content:'""',display:"block",height:"100%",left:"-20%",pointerEvents:"none",position:"absolute",width:"140%",zIndex:-1},animation:"".concat(Qv," 1.5s ease-in-out infinite"),transformOrigin:"center center"}}),""),nm=function(t){var e=t.children,r=t.backgroundColor,n=void 0===r?"#167dfb":r,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,zv);return(0,_o.tZ)(rm,Yv(Yv({backgroundColor:n},o),{},{children:e}))};function om(t){return om="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},om(t)}var im=["onPrivacyClick","showChinaAdLabel","showPrivacy"];function am(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function cm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?am(Object(r),!0).forEach((function(e){um(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):am(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function um(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==om(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==om(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===om(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var lm=(0,Lo.Z)("div",{target:"e1ax2so44"})({"@media (orientation: landscape)":{padding:"calc(env(safe-area-inset-top) + .25rem) 0"},"@media (orientation: portrait)":{bottom:0,padding:[".25rem .5rem","0 .5rem const(safe-area-inset-bottom) .5rem","0 .5rem env(safe-area-inset-bottom) .5rem"],position:"absolute"},alignItems:"center",color:"#696969",display:"flex",justifyContent:"space-between",padding:"0.6rem 0.6rem 0.3rem",width:"100%"},""),sm=(0,Lo.Z)("div",{target:"e1ax2so43"})({"&:first-of-type":{justifyContent:"flex-start"},"&:last-of-type":{justifyContent:"flex-end",marginRight:["0","constant(safe-area-inset-right)","env(safe-area-inset-right)"]},display:"flex",flex:1,fontSize:"1rem",justifyContent:"center",opacity:.3},""),fm=(0,Lo.Z)(bi,{target:"e1ax2so42"})({name:"2srb4d",styles:"height:0.8em;width:auto"}),pm=(0,Lo.Z)(li,{target:"e1ax2so41"})({name:"bf4dom",styles:"height:0.65em;width:auto"}),dm=(0,Lo.Z)(Iy,{target:"e1ax2so40"})({name:"1hcx8jb",styles:"padding:0"}),hm=function(t){var e=t.onPrivacyClick,r=t.showChinaAdLabel,n=t.showPrivacy,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,im);return(0,_o.BX)(lm,cm(cm({},o),{},{children:[(0,_o.tZ)(sm,{children:n&&(0,_o.tZ)(dm,{onClick:e,"data-element-id":So.EndScreenPrivacyButton})}),(0,_o.tZ)(sm,{children:(0,_o.tZ)(fm,{"data-element-id":So.EndScreenAdsLogo})}),(0,_o.tZ)(sm,{children:r&&(0,_o.tZ)(pm,{"data-element-id":So.EndScreenChinaAd})})]}))},ym=(0,Lo.Z)("div",{target:"eto3ma56"})({name:"ig4fhg",styles:"@media (orientation: landscape){background:linear-gradient(0deg, #ffffff 30%, #f5f5f5 30%);}@media (orientation: portrait){flex-direction:column;}background-color:#fafafa;display:flex;height:100%;overflow:hidden;position:relative;width:100%"}),vm=(0,Lo.Z)("div",{target:"eto3ma55"})((function(){return{"@media (orientation: landscape)":{alignItems:"flex-start",display:"flex",justifyContent:"center",width:"calc(50% - env(safe-area-inset-top))"},"@media (orientation: portrait)":{alignItems:"center",backgroundColor:"#f5f5f5",height:"calc(80vh - env(safe-area-inset-bottom))"},display:"flex",flexDirection:"column"}}),""),mm=(0,Lo.Z)(wy,{target:"eto3ma54"})((function(t){return{"@media (orientation: landscape)":{color:"#7c7c7c",fontSize:"1.1rem",right:["0","constant(safe-area-inset-right, 0)","env(safe-area-inset-right, 0)"]},"@media (orientation: portrait)":{filter:"drop-shadow(0.03rem 0.05rem 0.18rem #7c7c7c)",fontSize:"1rem",right:"0.7rem",top:["0.7rem","calc(0.7rem + constant(safe-area-inset-top))","calc(0.7rem + env(safe-area-inset-top))"]},color:t.theme.palette.common.white,height:"2.25rem",position:"absolute",right:"0",top:"0",width:"2.25rem",zIndex:1}}),""),gm=(0,Lo.Z)("div",{target:"eto3ma53"})((function(t){return{"@media (orientation: landscape)":{margin:"0 auto",maxWidth:"15rem",padding:0,width:"50%"},"@media (orientation: portrait)":{backgroundColor:"#fafafa",flex:t.isSquareCreative?1:0},display:"flex",flexDirection:"column"}}),""),bm=(0,Lo.Z)("div",{target:"eto3ma52"})({name:"1mn1v94",styles:"@media (orientation: landscape){flex:.5;position:relative;width:100%;}"}),wm=(0,Lo.Z)("div",{target:"eto3ma51"})({name:"1bc3b26",styles:"@media (orientation: landscape){justify-content:center;margin-top:.5rem;padding:0;}@media (orientation: portrait){background-color:#fafafa;margin:1rem .8rem;}display:flex"}),Om=(0,Lo.Z)("div",{target:"eto3ma50"})({"@media (orientation: landscape)":{height:"100%",width:["0","constant(safe-area-inset-left)","env(safe-area-inset-left)"]},"@media (orientation: portrait)":{height:["0","constant(safe-area-inset-top)","env(safe-area-inset-top)"],width:"100%"},position:"absolute",zIndex:11},""),Sm=function(t){var e=t.appName,r=t.closeTimerDurationInMs,n=t.country,o=t.creative,i=t.ctaText,a=t.onClose,c=t.onCtaClick,u=t.rating,l=t.ratingCountText,s=t.showPrivacyCallToActionBanner,f=t.isSquareCreative,p="CN"===n,d=zy(),h=Ja().locale,y=Qh();return(0,_o.BX)(ym,{"data-element-id":So.EndScreenEndScreen,children:[(0,_o.tZ)(mv,{}),(0,_o.tZ)(mm,{closeTimerDurationInMs:r,onClick:a,"data-element-id":So.EndScreenCloseButton,pauseProgress:y}),(0,_o.tZ)(Om,{}),(0,_o.BX)(vm,{isSquareCreative:f,children:[o,(0,_o.tZ)(Uv,{appName:e,rating:u,ratingCountText:l,showPrivacyCallToActionBanner:s,hideInLandscape:!0})]}),(0,_o.BX)(gm,{isSquareCreative:f,children:[(0,_o.tZ)(Uv,{appName:e,rating:u,ratingCountText:l,showPrivacyCallToActionBanner:s}),(0,_o.BX)(wm,{children:[(0,_o.tZ)(Pv,{hideInLandscape:!0,free:h.common.free,price:h.common.price}),(0,_o.tZ)(nm,{onClick:c,"data-element-id":So.EndScreenCtaButton,children:i})]}),(0,_o.tZ)(bm,{children:(0,_o.tZ)(hm,{onPrivacyClick:d,showChinaAdLabel:p,showPrivacy:!0})})]})]})},Em=(0,Lo.Z)("div",{target:"e4splfw4"})((function(t){var e=t.isSquareCreative;return{"@media (orientation: landscape)":{"@media (max-aspect-ratio: 47/29)":{height:"unset"},height:e?"inherit":"100%",margin:e?".5rem":"1rem",width:e?"unset":"95%"},"@media (orientation: portrait)":{display:e?"flex":"block",height:e?"95vmin":"unset",marginTop:"calc(env(safe-area-inset-top) + .5em)",width:"95%"},alignItems:"center",borderRadius:"2.5rem",justifyContent:"center",overflow:"hidden"}}),""),xm=(0,Lo.Z)("img",{target:"e4splfw3"})({name:"zadh65",styles:"height:100%;object-fit:cover;width:100%"}),jm=(0,Lo.Z)(xm,{target:"e4splfw2"})({name:"1nsg8vt",styles:"@media (orientation: portrait){display:none;}"}),Pm=(0,Lo.Z)(xm,{target:"e4splfw1"})({name:"1d9fkkt",styles:"@media (orientation: landscape){display:none;}"}),km=(0,Lo.Z)("img",{target:"e4splfw0"})({name:"1y19pvw",styles:"@media (orientation: landscape){@media (max-aspect-ratio: 9/6){max-width:50vw;}height:100%;object-fit:cover;}height:100%;object-fit:cover;width:100%"}),Lm=function(t){var e=t.squareImageUrl,r=t.portraitImageUrl,n=t.landscapeImageUrl,o=t.onClick;return e?(0,_o.tZ)(Em,{onClick:o,"data-element-id":So.EndScreenCreative,isSquareCreative:!!e,children:(0,_o.tZ)(km,{src:e})}):(0,_o.BX)(Em,{onClick:o,"data-element-id":So.EndScreenCreative,children:[(0,_o.tZ)(Pm,{src:r}),(0,_o.tZ)(jm,{src:n})]})},_m=function(t){return(0,Co.useRef)((0,At.Vh)(t||"")).current},Am=function(t,e){return t===P.t.Ios?e.common.get:e.common.install};function Tm(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Cm=function(t){var e,r,n=t.campaign,o=t.onOpen,i=t.onFinish,a=n.content,c=a.gameName,u=a.endScreen,l=a.endScreenLandscape,s=a.endScreenPortrait,f=a.rating,p=a.ratingCount,d=_m(u),h=_m(l),y=_m(s),v=(0,x.xh)((function(t){var e=t.impressionConfig,r=t.native,n=t.placement;return[e.country,r.platform,n.closeTimerDuration]}),ko.X),m=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Tm(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tm(t,e):void 0}}(t,e)||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.")}()}(v,3),g=m[0],b=m[1],w=m[2],O=Ja().locale,S=Am(b,O),E=(0,oe.Fp)((function(t){return t.context.showCallToActionBanner}));return(0,_o.tZ)(Sm,{appName:c,closeTimerDurationInMs:1e3*(null!=w?w:0),country:g,ctaText:S,onClose:i,onCtaClick:o,creative:(0,_o.tZ)(Lm,{squareImageUrl:d,landscapeImageUrl:h,portraitImageUrl:y,onClick:o}),isSquareCreative:!!u,rating:f,ratingCountText:(e=p,r=O.numbers,!r||e<1e4?e.toString():e>=1e7?"".concat(Math.floor(e/1e6).toString()).concat(r.million.toUpperCase()):e>=1e6?"".concat((Math.floor(e/1e5)/10).toString()).concat(r.million.toUpperCase()):"".concat(Math.floor(e/1e3).toString()).concat(r.thousand.toUpperCase())),showPrivacyCallToActionBanner:E})};function Im(t){return Im="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Im(t)}function Dm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Nm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Dm(Object(r),!0).forEach((function(e){Rm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Dm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Rm(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Im(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Im(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Im(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zm(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Fm(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fm(t,e):void 0}}(t,e)||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 Fm(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Gm=(0,Lo.Z)("img",{target:"egvil0a0"})((function(t){var e=t.theme,r=t.loaded,n=t.error;return{borderRadius:"0.4rem",height:"4rem",opacity:r&&!n?1:0,transition:n?"none":"opacity ".concat(e.transitions.duration.standard,"ms"),width:"4rem"}}),""),Mm=function(t){var e=t.imageUrl,r=t.appName,n=t.onClick,o=Zm((0,Co.useState)(!1),2),i=o[0],a=o[1],c=Zm((0,Co.useState)(!1),2),u=c[0],l=c[1];return(0,_o.tZ)(Gm,Nm(Nm({},t),{},{src:e,alt:r,onLoad:function(){a(!0)},onError:function(){l(!0)},loaded:i,error:u,onClick:n}))};function Um(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Vm=(0,Lo.Z)("div",{target:"erfonuk4"})({name:"1mm33l6",styles:"align-items:center;background-color:#151515;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%"}),zm=(0,Lo.Z)("div",{target:"erfonuk3"})({name:"8koefw",styles:"@media (orientation: landscape){padding:0 max(env(safe-area-inset-left), 0.75rem) 0 max(env(safe-area-inset-left));}align-items:center;display:flex;flex:1;flex-direction:column;gap:1.5rem;justify-content:center;margin:0 auto;width:100%"}),Bm=(0,Lo.Z)(Mm,{target:"erfonuk2"})({name:"1bkvaz6",styles:"height:5rem;width:5rem"}),Ym=(0,Lo.Z)(nm,{target:"erfonuk1"})({name:"gcdfjt",styles:"flex:unset;margin-bottom:1rem;padding:.75rem;width:50%"}),Hm=(0,Lo.Z)("div",{target:"erfonuk0"})((function(){return{fontSize:"1.25rem"}}),""),qm=function(t){var e=t.campaign,r=t.onOpen,n=t.onFinish,o=e.content,i=o.gameName,a=o.gameIcon,c=_m(a),u=Ja().locale,l=(0,x.xh)((function(t){var e=t.native,r=t.impressionConfig;return[e.platform,r.country]}),ko.X),s=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Um(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Um(t,e):void 0}}(t,e)||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.")}()}(l,2),f=s[0],p="CN"===s[1],d=Am(f,u);return(0,_o.tZ)(Vm,{children:(0,_o.BX)(zm,{children:[(0,_o.tZ)(ev,{closeTimerDurationInS:2,onClose:n,isEndScreen:!0}),c&&(0,_o.tZ)(Bm,{onClick:r,appName:i,imageUrl:c,"data-element-id":So.EndScreenAppIcon}),i&&(0,_o.tZ)(Hm,{"data-element-id":So.EndScreenAppName,children:i}),(0,_o.tZ)(Ym,{onClick:r,"data-element-id":So.EndScreenCtaButton,children:d}),(0,_o.tZ)(hm,{showPrivacy:!1,showChinaAdLabel:p,style:{color:"white"}})]})})};function Xm(t){return Xm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xm(t)}var Wm=["children"];function $m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$m(Object(r),!0).forEach((function(e){Qm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qm(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Xm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Xm(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Km(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var tg=(0,Co.createContext)(null),eg=function(t){var e=t.children,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Wm),n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Km(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Km(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),o=n[0],i=n[1],a=(0,Co.useCallback)((function(){return i((function(t){return!t}))}),[]),c=(0,Co.useMemo)((function(){return Jm(Jm({},r),{},{isSkipRewardedDialogOpen:o,toggleSkipRewardedDialog:a})}),[o,r,a]);return(0,_o.tZ)(tg.Provider,{value:c,children:e})},rg=function(){var t=(0,Co.useContext)(tg);if(!t)throw new Error("useDynamicCampaignContext must be used within a DynamicCampaign.Provider");return t},ng=(0,Lo.Z)("div",{target:"ej78llb2"})((function(t){return{alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.54)",borderRadius:"0.25rem 0 0 0.25rem",display:"flex",justifyContent:"center",padding:"0.5rem",pointerEvents:"initial",transform:t.visible?"translateX(0)":["translateX(100%)","translateX(calc(100% + constant(safe-area-inset-right, 0)))","translateX(calc(100% + env(safe-area-inset-right, 0)))"],transition:"transform 300ms ease-in"}}),""),og=(0,Lo.Z)(Mm,{target:"ej78llb1"})({name:"xppkyn",styles:"height:2.5rem;margin-right:0.5rem;width:2.5rem"}),ig=(0,Lo.Z)("button",{target:"ej78llb0"})((function(t){return{backgroundColor:"#167dfb",borderRadius:"0.4rem",color:t.theme.palette.common.white,cursor:"pointer",height:"2.5rem",padding:"0 1rem"}}),""),ag=function(t){var e,r,n=t.appName,o=t.appImageUrl,i=t.showCtaButton,a=t.onCtaClick,c=(0,x.xh)((function(t){return t.adExperiences.customCtaText})),u=(e=(0,x.xh)((function(t){return t.campaignInfo.campaign})),r=Ja().locale,e.contentType===S.zc.Comet&&e.content.gameIcon||e.contentType===S.zc.Vast&&e.media.bundleId?r.cta.installNow:r.cta.learnMore);return(0,_o.BX)(ng,{visible:i,children:[o&&(0,_o.tZ)(og,{onClick:a,appName:n,imageUrl:o,"data-element-id":So.VideoAppIcon}),(0,_o.tZ)(ig,{onClick:a,"data-element-id":So.VideoCtaButton,children:c||u})]})},cg=(0,Lo.Z)("div",{target:"ekf81bc2"})({backgroundColor:"rgba(0, 0, 0, 0.541)",bottom:["0","constant(safe-area-inset-bottom, 0)","env(safe-area-inset-bottom, 0)"],height:"5px",overflow:"hidden",position:"absolute",width:"100%",zIndex:0},""),ug=(0,Lo.Z)("div",{target:"ekf81bc1"})((function(t){var e=t.theme,r=t.value;return{backgroundColor:e.palette.blue.dark,borderRadius:"0 0.25rem 0.25rem 0",bottom:0,left:0,position:"absolute",top:0,transform:"translateX(-".concat(Math.round(100-r),"%)"),transformOrigin:"left center",transition:"transform 0.4s linear",width:"100%"}}),""),lg=(0,Lo.Z)(ug,{target:"ekf81bc0"})((function(t){var e=t.theme,r=t.value;return{backgroundColor:e.palette.blue.light,transform:"translateX(-".concat(Math.round(100-r),"%)")}}),""),sg=function(t){var e=t.durationInMs,r=t.timeInMs,n=t.timeToSkipInMs,o=void 0===n?0:n,i=e?Math.round(r/e*100):0,a=Math.min(r,o),c=e?Math.round(a/e*100):0;return(0,_o.BX)(cg,{role:"progressbar","aria-valuenow":i,"aria-valuemin":0,"aria-valuemax":100,children:[(0,_o.tZ)(ug,{value:i,"data-element-id":So.VideoProgressBar}),(0,_o.tZ)(lg,{value:c,"data-element-id":So.VideoSkipProgressBar})]})};function fg(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return pg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pg(t,e):void 0}}(t,e)||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 pg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var dg=(0,Lo.Z)("div",{target:"e1n9felf0"})((function(t){return{alignItems:"center",display:"flex",flexDirection:"column",opacity:t.visible?"1":"0",transitionDuration:"".concat(500,"ms"),transitionProperty:"opacity"}}),""),hg=function(t){var e=t.open,r=t.children,n=(0,Co.useRef)(null),o=fg((0,Co.useState)(e),2),i=o[0],a=o[1],c=fg((0,Co.useState)(!1),2),u=c[0],l=c[1];return(0,Co.useEffect)((function(){if(!e){var t=setTimeout((function(){a(e)}),500);return function(){return clearTimeout(t)}}a(e)}),[e,a]),(0,Co.useEffect)((function(){n.current&&l(!!e)}),[e,i]),i?(0,_o.tZ)(dg,{ref:n,visible:u,children:r}):null},yg=(0,Lo.Z)("div",{target:"ez59ok53"})({name:"1sobr2w",styles:"align-items:center;background-color:rgba(0, 0, 0, 0.5);bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;transition-property:opacity"}),vg=(0,Lo.Z)("div",{target:"ez59ok52"})((function(t){return{backgroundColor:t.theme.palette.grey[50],borderRadius:"0.2em",boxShadow:"0.12em 0.12em 0.2em 0px #555",color:"#000",display:"flex",flexDirection:"column",margin:"1em",minHeight:"8em",minWidth:"50vw",padding:"1em"}}),""),mg=(0,Lo.Z)("div",{target:"ez59ok51"})({name:"1ih1q4a",styles:"align-items:center;display:flex;flex:1;flex-direction:column;overflow-y:scroll"}),gg=(0,Lo.Z)("div",{target:"ez59ok50"})({name:"id8odv",styles:"display:flex;font-size:0.8em;justify-content:center"}),bg=function(t){var e=t.container,r=void 0===e?window.document.body:e,n=t.open,o=t.children;return(0,Fd.createPortal)((0,_o.tZ)(hg,{open:n,children:(0,_o.tZ)(yg,{children:(0,_o.tZ)(vg,{children:o})})}),r)},wg=(0,Lo.Z)("div",{target:"e1klz1vy2"})((function(t){var e=t.theme;return{fontWeight:"bold",paddingBottom:e.spacing(3),paddingTop:e.spacing(1)}}),""),Og=(0,Lo.Z)("div",{target:"e1klz1vy1"})((function(t){var e=t.theme;return{color:e.palette.grey[600],fontSize:"0.85em",paddingBottom:e.spacing(3),textAlign:"center"}}),""),Sg=(0,Lo.Z)("div",{target:"e1klz1vy0"})({name:"1f67ojl",styles:"font-size:1.4em;font-weight:bold"}),Eg=function(t){var e=t.onSkip,r=Ja().locale,n=rg(),o=n.isSkipRewardedDialogOpen,i=n.toggleSkipRewardedDialog,a=(0,Co.useCallback)((function(t){ht.ap.emit("adContentSkip",{}),e(t,!0),i()}),[e,i]);return(0,_o.BX)(bg,{open:o,children:[(0,_o.BX)(mg,{children:[(0,_o.tZ)(Sg,{children:(0,_o.tZ)(ta,{})}),(0,_o.tZ)(wg,{children:r.reward.title}),(0,_o.tZ)(Og,{children:r.reward.description})]}),(0,_o.BX)(gg,{children:[(0,_o.tZ)(xc,{variant:"text",onClick:function(t){return a(t)},children:r.reward.skipButtonText}),(0,_o.tZ)(xc,{color:"primary",variant:"contained",onClick:i,children:r.reward.resumeButtonText})]})]})};function xg(t){return xg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xg(t)}function jg(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Pg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jg(Object(r),!0).forEach((function(e){kg(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jg(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function kg(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==xg(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==xg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===xg(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lg=(0,Lo.Z)(Bi,{target:"e1jwgjo412"})({name:"1d2bfnw",styles:"height:.85em;width:.85em"}),_g=(0,Lo.Z)(Wi,{target:"e1jwgjo411"})({name:"1d2bfnw",styles:"height:.85em;width:.85em"}),Ag=(0,Lo.Z)(_i,{target:"e1jwgjo410"})({name:"1obb4yh",styles:"height:.65em;width:.65em"}),Tg={close:(0,_o.tZ)(Ag,{}),play:(0,_o.tZ)(_g,{}),skip:(0,_o.tZ)(Lg,{})},Cg={close:So.VideoCloseButton,play:So.VideoPlayButton,skip:So.VideoSkipButton},Ig=(0,Lo.Z)("div",{target:"e1jwgjo49"})((function(t){return Pg(Pg({},t.theme.mixins.absoluteFullscreen),{},{display:"flex",flexDirection:"column",justifyContent:"space-between",padding:"1rem 0"})}),""),Dg=(0,Lo.Z)("div",{target:"e1jwgjo48"})({name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"}),Ng=(0,Lo.Z)(Dg,{target:"e1jwgjo47"})({"@media (orientation: landscape)":{padding:["0","constant(safe-area-inset-top, 0) constant(safe-area-inset-right, 0) 0 constant(safe-area-inset-left, 0)","env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0)"]},"@media (orientation: portrait)":{paddingTop:["0","constant(safe-area-inset-top)","env(safe-area-inset-top)"]},alignItems:"flex-start"},""),Rg=(0,Lo.Z)(Dg,{target:"e1jwgjo46"})({"@media (orientation: landscape)":{padding:["0","0 constant(safe-area-inset-right, 0) constant(safe-area-inset-bottom, 0) constant(safe-area-inset-left, 0)","0 env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0)"]},"@media (orientation: portrait)":{paddingBottom:["0","constant(safe-area-inset-bottom)","env(safe-area-inset-bottom)"]},alignItems:"flex-end",flexWrap:"wrap"},""),Zg=(0,Lo.Z)("div",{target:"e1jwgjo45"})((function(t){var e=t.theme,r=t.visible,n=void 0===r||r,o=t.bottomControlsTranslateInPx;return{alignItems:"center",display:"flex",opacity:n?1:0,pointerEvents:n?"initial":"none",transform:o?"translateY(-".concat(o,"px)"):"translateY(0)",transitionDuration:"".concat(e.transitions.duration.standard,"ms"),zIndex:1}}),""),Fg=(0,Lo.Z)("button",{target:"e1jwgjo44"})((function(t){var e=t.theme,r=t.visible,n=void 0===r||r;return{alignItems:"center",backgroundColor:"rgba(0, 0, 0, 0.54)",borderRadius:"0 0.25rem 0.25rem 0",color:e.palette.common.white,cursor:"pointer",display:"flex",height:"2.25rem",justifyContent:"center",opacity:n?1:0,padding:"unset",pointerEvents:n?"initial":"none",transitionDuration:"".concat(e.transitions.duration.standard,"ms"),width:"3rem"}}),""),Gg=(0,Lo.Z)(Fg,{target:"e1jwgjo43"})({name:"7juozk",styles:"border-radius:0 0.25rem 0.25rem 0;font-size:2rem"}),Mg=(0,Lo.Z)(Fg,{target:"e1jwgjo42"})({name:"16ghcsg",styles:"border-radius:0 0.25rem 0.25rem 0"}),Ug=(0,Lo.Z)(Fg,{target:"e1jwgjo41"})({name:"1imzoni",styles:"border-radius:0.25rem;height:2.25rem;margin-left:0.5rem;width:2.25rem"}),Vg=(0,Lo.Z)(Fg,{target:"e1jwgjo40"})({name:"21pa1j",styles:"border-radius:0.25rem 0 0 0.25rem;cursor:default;font-size:0.8rem;padding:0 0.5rem;width:unset"}),zg=function(t){var e=t.adNoticeText,r=t.areControlsVisible,n=t.ctaBanner,o=t.fullScreenCta,i=t.isSkipButtonEnabled,a=t.muted,c=t.onOverlayClick,u=t.onPrivacyClick,l=t.onSkipClick,s=t.privacyBanner,f=t.progressBar,p=t.skipButtonIconType,d=t.onVolumeClick,h=t.rewardedText,y=t.bottomControlsTranslateInPx,v=Tg[p],m=Cg[p];return(0,_o.BX)(Ig,{onClick:c,children:[e?(0,_o.tZ)(Py,{children:e}):void 0,(0,_o.BX)(Ng,{children:[(0,_o.tZ)(Zg,{visible:r,children:i&&(0,_o.tZ)(Gg,{"aria-label":"Skip",visible:r,onClick:l,"data-element-id":m,children:v})}),h?(0,_o.tZ)(Zg,{children:(0,_o.tZ)(Vg,{children:h})}):void 0]}),(0,_o.BX)(Rg,{children:[(0,_o.BX)(_o.HY,{children:[(0,_o.BX)(Zg,{visible:r,bottomControlsTranslateInPx:y,children:[(0,_o.tZ)(Mg,{"aria-label":a?"Muted":"Unmuted",visible:r,onClick:d,"data-element-id":So.VideoMuteButton,children:a?(0,_o.tZ)(Di,{}):(0,_o.tZ)(Gi,{})}),(0,_o.tZ)(Ug,{"aria-label":"Privacy",visible:r,onClick:u,"data-element-id":So.VideoPrivacyButton,children:(0,_o.tZ)(hi,{})})]}),n]}),s]}),o,f]})};function Bg(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Yg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yg(t,e):void 0}}(t,e)||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 Yg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Hg,qg=r(46169);function Xg(t){return Xg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xg(t)}function Wg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $g(){$g=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Xg(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Jg(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Qg(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Jg(i,n,o,a,c,"next",t)}function c(t){Jg(i,n,o,a,c,"throw",t)}a(void 0)}))}}!function(t){t[t.PlayNeverCalled=0]="PlayNeverCalled",t[t.FirstAttempt=1]="FirstAttempt",t[t.FirstAttemptSuccess=2]="FirstAttemptSuccess",t[t.FailedAfterFirstPlayErrorNotAllowed=3]="FailedAfterFirstPlayErrorNotAllowed",t[t.FailedAfterFirstPlayErrorUnknown=4]="FailedAfterFirstPlayErrorUnknown",t[t.SecondAttemptSuccess=5]="SecondAttemptSuccess"}(Hg||(Hg={}));var Kg=function(){var t=Qg($g().mark((function t(e){return $g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",null==e?void 0:e.play());case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),tb=function(t){return new Promise((function(e){window.setTimeout(e,t)}))};function eb(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var rb=(0,Lo.Z)("div",{target:"ep6zmof0"})({name:"bf7u24",styles:"-webkit-transform:translate3d(0,0,0);height:100%;width:100%"}),nb=function(t){var e=t.durationInMs,r=t.muted,n=t.onDurationChange,i=t.onEnded,a=t.onError,c=t.onPause,u=t.onPlay,l=t.onTimeUpdate,s=t.onVideoStalled,f=t.onLoadedData,p=t.setMuted,d=t.src,h=t.timeInMs,y=(0,Co.useRef)(null),v=(0,Po.oR)(x.TH,(function(t){return t.videoElement})),m=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return eb(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?eb(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),g=m[0],w=m[1],O=function(t){var e,r,n,o,i=t.durationInMs,a=t.timeInMs,c=(0,x.xh)((function(t){return t.campaignInfo.onAdContentStart})),u=(e=(0,x.xh)((function(t){return t.isForeground})),r=rg().isSkipRewardedDialogOpen,n=(0,Po.oR)(b,(function(t){return t.isOpen})),o=(0,Po.oR)(I,(function(t){return t.isOpen})),e&&!r&&!n&&!o),l=(0,Co.useRef)(),s=Bg((0,Co.useState)(a),2),f=s[0],p=s[1],d=Bg((0,Co.useState)(!1),2),h=d[0],y=d[1],v=Bg((0,Co.useState)(!1),2),m=v[0],g=v[1],w=(0,Co.useMemo)((function(){if(!(a<=0))return Math.floor(a/i*4)}),[a,i]);return(0,Co.useEffect)((function(){switch(w){case 0:c();break;case 1:ht.ap.emit("adContentFirstQuartile",{});break;case 2:ht.ap.emit("adContentMidPoint",{});break;case 3:ht.ap.emit("adContentThirdQuartile",{})}}),[w,c]),(0,Co.useEffect)((function(){if(!h&&u&&!m)return p(a),l.current=window.setTimeout((function(){if(a===f&&a>0)return y(!0),void ht.ap.emit("adContentStalled",{});a<=0&&(ht.ap.emit("adContentFailedToStart",{}),g(!0))}),5e3),function(){l.current&&(clearTimeout(l.current),l.current=void 0)}}),[a,h,f,u,m]),{canVideoPlay:u,failedToStart:m,isStalled:h}}({durationInMs:e,timeInMs:h}),S=O.isStalled,E=O.canVideoPlay,j=(0,Po.oR)(b,(function(t){return t.isOpen})),P=function(t){var e=t.src,r=t.containerRef,n=t.onVideoStalled,i=t.onError,a=t.pause,c=t.onPause,u=t.onTimeUpdate,l=t.onDurationChange,s=t.onEnded,f=t.onPlay,p=t.onLoadedData,d=t.muted,h=t.setMuted,y=(0,Co.useRef)(Hg.PlayNeverCalled),v=(0,Co.useRef)(),m=(0,Co.useRef)(),g=(0,Co.useRef)(!1),b=(0,Po.oR)(x.TH,(function(t){return t.videoElement})),w=(0,Co.useRef)(!1),O=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Wg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wg(t,e):void 0}}(t,e)||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.")}()}((0,Co.useState)(!1),2),S=O[0],E=O[1];(0,Co.useEffect)((function(){b||ht.ap.emitDiagnostic("videoError",{message:"No video element in useVideoEventHandlers"})}),[b]);var j=(0,Co.useCallback)((function(t){var r=e.split(":")[0];ht.ap.emitDiagnostic("videoPlayerFailedToStart",{extension:(0,qg.Y)(e),msg:t,playState:y.current.toString(),srcPrefix:r,videoStarted:g.current.toString()}),n(!0)}),[n,e]),P=(0,Co.useCallback)((function(t){y.current="firstAttemptSuccess"===t?Hg.FirstAttemptSuccess:Hg.SecondAttemptSuccess,ht.ap.emitDiagnostic("videoPlayerPlay",{state:t})}),[]),k=(0,Co.useCallback)((function(t,r){t instanceof Error&&("NotAllowedError"===t.name?y.current=Hg.FailedAfterFirstPlayErrorNotAllowed:y.current=Hg.FailedAfterFirstPlayErrorUnknown),ht.ap.emitDiagnostic("videoPlayerPlay",{extension:(0,qg.Y)(e),msg:t instanceof Error?t.message:"Unknown error in play()",name:t instanceof Error?t.name:"Unknown error name in play()",state:r})}),[e]),L=(0,Co.useCallback)((function(t){h(!0);var e=Kg(t);void 0!==e&&e.then((function(){P("secondAttemptSuccess")})).catch((function(t){k(t,"secondAttemptError"),j("videoError")}))}),[h,j,k,P]),_=(0,Co.useCallback)((function(){m.current=window.setTimeout((function(){j("timeout")}),5e3),v.current=window.setTimeout((function(){E(!0)}),250),ht.ap.emitDiagnostic("videoPlayerPlay",{state:"firstAttempt"}),y.current=Hg.FirstAttempt;var t=Kg(b);if(void 0!==t)t.then((function(){P("firstAttemptSuccess")})).catch((function(t){if(k(t,"firstAttemptError"),!d)return L(b);j("cannotPlayWhileMuted")}));else{var e=window.navigator.userAgent;k(new Error("Browser, ".concat(e,", does not support play promise")),"firstAttemptError"),L(b)}}),[b,j,P,k,d,L]);(0,Co.useEffect)((function(){return!r.current||a||g.current||y.current!==Hg.PlayNeverCalled||_(),function(){window.clearTimeout(m.current)}}),[_,a,r]),(0,Co.useEffect)((function(){r.current&&(a?null==b||b.pause():g.current&&Kg(b).catch((function(){ht.ap.emitDiagnostic("videoPlayerPlay",{state:"afterPauseError"})})))}),[a,r,b]);var A=(0,Co.useCallback)((function(){var t=(null==b?void 0:b.error)||new Error("Unknown error during playback");o.Tb(t),ht.ap.emit("videoError",{message:t.message}),null==i||i(t),g.current||(window.clearTimeout(m.current),j("videoError"))}),[null==b?void 0:b.error,i,j]),T=(0,Co.useCallback)(Qg($g().mark((function t(){return $g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a||!r.current||null!=b&&b.ended||!g.current){t.next=6;break}return t.next=3,tb(100);case 3:return ht.ap.emitDiagnostic("videoPlayerPlay",{state:"afterPauseAttempt"}),Kg(b).catch((function(){ht.ap.emitDiagnostic("videoPlayerPlay",{state:"afterOnPauseError"})})),t.abrupt("return");case 6:!r.current||null!=b&&b.ended||(ht.ap.emit("adContentPaused",{}),null==c||c());case 7:case"end":return t.stop()}}),t)}))),[a,r,b,c]),C=(0,Co.useCallback)((function(t){u(1e3*t.currentTarget.currentTime)}),[u]),I=(0,Co.useCallback)((function(){E(!1),window.clearTimeout(v.current),v.current=void 0}),[]),D=(0,Co.useCallback)((function(t){g.current||(window.clearTimeout(m.current),l(1e3*t.currentTarget.duration),g.current=!0,I())}),[I,l]),N=(0,Co.useCallback)((function(t){ht.ap.emit("adContentEnded",{}),null==s||s(t)}),[s]),R=(0,Co.useCallback)((function(t){t.currentTarget.currentTime>0&&ht.ap.emit("adContentResumed",{}),null==f||f()}),[f]);return(0,Co.useEffect)((function(){!w.current&&((null==b?void 0:b.readyState)||-1)>=3&&(ht.ap.emit("adContentLoaded",{}),null==p||p(),w.current=!0)}),[p,null==b?void 0:b.readyState,w]),{handleOnEnded:N,handleOnError:A,handleOnPause:T,handleOnPlay:R,handleOnPlaying:D,handleOnTimeUpdate:C,showSpinner:S}}({containerRef:y,muted:r,onDurationChange:n,onEnded:i,onError:a,onLoadedData:f,onPause:c,onPlay:u,onTimeUpdate:l,onVideoStalled:s,pause:!E,setMuted:p,src:d}),k=P.handleOnError,L=P.handleOnEnded,_=P.handleOnPause,A=P.handleOnPlay,T=P.handleOnPlaying,C=P.handleOnTimeUpdate,D=P.showSpinner;(0,Co.useEffect)((function(){j||g||(wr(yr.InitDone),w(!0))}),[j,g]),(0,Co.useEffect)((function(){S&&s(!1)}),[S,s]),v&&(v.onseeking=function(t){var e=h/1e3;Math.abs(e-t.currentTarget.currentTime)>.01&&(t.currentTarget.currentTime=e)});var N=(0,Co.useMemo)((function(){return d.startsWith("http")?"auto":"none"}),[d]);return(0,Co.useEffect)((function(){y.current&&(v?(v.muted!==!!r&&(v.muted=!!r),v.onended!==L&&(v.onended=L),v.onerror!==k&&(v.onerror=k),v.onpause!==_&&(v.onpause=_),v.onplaying!==T&&(v.onplaying=T),v.onplay!==A&&(v.onplay=A),v.ontimeupdate!==C&&(v.ontimeupdate=C),v.preload!==N&&(v.preload=N),y.current.children.item(0)!==v&&(y.current.innerHTML="",y.current.appendChild(v))):ht.ap.emitDiagnostic("videoError",{message:"No video element in VideoPlayer"}))}),[L,k,_,A,T,C,r,N,v]),(0,_o.BX)(_o.HY,{children:[D?(0,_o.tZ)(uc,{}):null,(0,_o.tZ)(rb,{ref:y})]})};function ob(t){return ob="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ob(t)}var ib=["appImageUrl","appName","isClickableVideo","onCtaClick","onDurationChange","onSkip","onTimeUpdate","onVideoStalled","timeToSkipInMs","showSkipRewardedDialog","hasPlayableEndCard","isRewarded"];function ab(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return cb(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cb(t,e):void 0}}(t,e)||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 cb(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ub(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lb(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ub(Object(r),!0).forEach((function(e){sb(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ub(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sb(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ob(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ob(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ob(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fb=(0,Lo.Z)("div",{target:"e1dkag5b2"})({name:"uexurv",styles:"height:100%;overflow:hidden;position:relative;width:100%"}),pb=(0,Lo.Z)("div",{target:"e1dkag5b1"})((function(t){return lb({},t.theme.mixins.absoluteFullscreen)}),""),db=(0,Lo.Z)(Vy,{target:"e1dkag5b0"})({name:"g3bxmu",styles:"margin:0.5rem 0.5rem 0"}),hb=function(t){var e=t.appImageUrl,r=t.appName,n=t.isClickableVideo,o=void 0!==n&&n,i=t.onCtaClick,a=t.onDurationChange,c=t.onSkip,u=t.onTimeUpdate,l=t.onVideoStalled,s=t.timeToSkipInMs,f=t.showSkipRewardedDialog,p=t.hasPlayableEndCard,d=t.isRewarded,h=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,ib),y=ab((0,x.xh)((function(t){var e,r,n=t.placement,o=t.campaignInfo,i=t.adExperiences,a=t.impressionConfig;return[n.forceMute,n.disableVideoControlsFade,n.useCloseIconInsteadOfSkipIcon,null!==(e=o.initialMuteStatus)&&void 0!==e&&e,i.skOverlayConfig,null===(r=a.sdkFeatureFlags)||void 0===r?void 0:r.closeReplaceSkip]}),ko.X),6),v=y[0],m=y[1],g=y[2],w=y[3],O=y[4],S=y[5],E=ab((0,Co.useState)(0),2),j=E[0],P=E[1],k=ab((0,Co.useState)(0),2),L=k[0],_=k[1],A=ab((0,Co.useState)(v||w),2),T=A[0],C=A[1],I=ab((0,Co.useState)(!0),2),D=I[0],N=I[1],R=(0,Co.useRef)(),Z=(0,oe.Fp)((function(t){return t.context.showCallToActionBanner})),F=(0,Po.oR)(Rd,(function(t){return t.isPresenting})),G=ab((0,Po.oR)(b,(function(t){var e,r,n;return[null===(e=t.adsPlayer)||void 0===e?void 0:e.controlsAlwaysVisible,null===(r=t.adsPlayer)||void 0===r?void 0:r.showAdNotice,null===(n=t.adsPlayer)||void 0===n?void 0:n.showCloseIconForSkip,t.isOpen]})),3),M=G[0],U=G[1],V=G[2],z=rg().toggleSkipRewardedDialog,B=zy(),Y=Ja().locale,H=(0,Co.useMemo)((function(){return L>=31e3}),[L]),q=(0,Co.useMemo)((function(){return L>0&&L<=1e4?0:5e3}),[L]),X=(0,Co.useMemo)((function(){return H&&s<0?3e4:s}),[H,s]),W=(0,Co.useMemo)((function(){return Boolean(o||M)}),[M,o]),$=(0,Co.useMemo)((function(){return Boolean(m||o||M)}),[M,m,o]),J=X>=0&&j>=X,Q=j>=q||J,K=d&&H&&j>=3e4;(0,Co.useEffect)((function(){oe.k7.setState({adBuyerInfo:lb(lb({},oe.k7.getState().adBuyerInfo),{},{openProductInfo:function(t){return i(t)}})})})),(0,Co.useEffect)((function(){K&&(ht.ap.emit("adContentRewarded",{}),ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{}))}),[K]),(0,Co.useEffect)((function(){N(!0)}),[J,K]),(0,Co.useEffect)((function(){if(D&&!W&&!$)return R.current=window.setTimeout((function(){N(!1)}),3e3),function(){window.clearTimeout(R.current),R.current=void 0}}),[D,T,W,$]);var tt=(0,Co.useCallback)((function(t){P(t),null==u||u(t)}),[u]),et=(0,Co.useCallback)((function(t){_(t),null==a||a(t)}),[a]),rt=(0,Co.useCallback)((function(t){t.stopPropagation(),T?ht.ap.emit("adContentMuted",{}):ht.ap.emit("adContentUnmuted",{}),C(!T)}),[T]),nt=(0,Co.useCallback)((function(t){t.stopPropagation(),!f||K?(ht.ap.emit("adContentSkip",{}),c(t)):z()}),[c,K,f,z]),ot=(0,Co.useCallback)((function(t){t.stopPropagation(),B()}),[B]),it=(0,Co.useCallback)((function(){W||(window.clearTimeout(R.current),R.current=void 0,N((function(t){return!t})))}),[W]),at=(0,Co.useCallback)((function(){return g||S||V?"close":p?"play":"skip"}),[p,S,V,g]);return(0,_o.BX)(fb,{children:[(0,_o.tZ)(Eg,{onSkip:c}),(0,_o.tZ)(nb,lb({durationInMs:L,muted:T,setMuted:C,onDurationChange:et,onVideoStalled:l,onTimeUpdate:tt,timeInMs:j},h)),(0,_o.tZ)(zg,{areControlsVisible:D,bottomControlsTranslateInPx:F?Pt[O.position]:void 0,adNoticeText:U?Y.common.advertisement:void 0,isSkipButtonEnabled:J,muted:T,rewardedText:K?Y.reward.rewardGranted:void 0,skipButtonIconType:at(),ctaBanner:(0,_o.tZ)(ag,{appName:r,appImageUrl:e,onCtaClick:i,showCtaButton:o||Q&&!F}),fullScreenCta:o?(0,_o.tZ)(pb,{onClick:i,"data-element-id":So.VideoVideoScreen}):void 0,privacyBanner:Z?(0,_o.tZ)(db,{onClick:ot}):void 0,progressBar:(0,_o.tZ)(sg,{timeInMs:j,durationInMs:L,timeToSkipInMs:X}),onOverlayClick:it,onPrivacyClick:ot,onSkipClick:nt,onVolumeClick:rt})]})},yb=function(t,e){var r,n=t.trailerPortraitStreaming,o=t.trailerStreaming,i=null===(r=x.TH.getState().campaignInfo)||void 0===r?void 0:r.orientation,a=i===_.i5.Landscape,c=a?o:n;return!e||e.orientation!==i&&c?a?(jn.setState({videoOrientationAtShow:o?_.i5.Landscape:_.i5.Portrait}),o||n):(jn.setState({videoOrientationAtShow:n?_.i5.Portrait:_.i5.Landscape}),n||o):(jn.setState({videoOrientationAtShow:i}),e.src)};function vb(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var mb,gb,bb=function(t){var e=t.campaign,r=e.content,n=e.cachedVideoAsset,o=t.cometEventHandlers,i=t.hasPlayableEndCard,a=(0,x.xh)((function(t){var e=t.placement;return[e.allowSkip,e.skipInSeconds,e.adFormat]}),ko.X),c=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return vb(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vb(t,e):void 0}}(t,e)||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,3),u=c[0],l=c[1],s=c[2],f=r.gameName,p=r.gameIcon,d=_m(p),h=_m(yb(r,n));return(0,_o.tZ)(hb,{appImageUrl:d,appName:f,onVideoStalled:o.handleVideoScreenOnStalled,onCtaClick:o.handleVideoScreenOnOpen,onEnded:o.handleVideoScreenOnFinish,onSkip:o.handleVideoScreenOnSkip,showSkipRewardedDialog:"rewarded"===s&&u,src:h,hasPlayableEndCard:i,timeToSkipInMs:1e3*Oy(l,u),isRewarded:"rewarded"===s})},wb=function(t){var e=t.onOpen,r=t.onClose,n=t.closeAdAfterAppSheet;if(e(),n){Rd.getState().setCanPresent(!1);var o=it((function(){o(),r()}))}else r()},Ob=function(t){var e=t.clientX,r=t.clientY;return{normX:e/window.innerWidth,normY:r/window.innerHeight}};function Sb(t){return Sb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sb(t)}function Eb(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Sb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Sb(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xb=(Eb(mb={},So.VideoAppIcon,So.VideoAppIcon),Eb(mb,So.VideoCtaButton,So.VideoCtaButton),Eb(mb,So.VideoSkOverlay,So.VideoSkOverlay),Eb(mb,So.EndScreenAppIcon,So.EndScreenAppIcon),Eb(mb,So.EndScreenCreative,So.EndScreenCreative),Eb(mb,So.EndScreenCtaButton,So.EndScreenCtaButton),Eb(mb,So.Playable,So.Playable),Eb(mb,So.PrivacyBuyerInfo,So.PrivacyBuyerInfo),mb),jb=(Eb(gb={},So.VideoSkipButton,So.VideoSkipButton),Eb(gb,So.VideoCloseButton,So.VideoCloseButton),Eb(gb,So.VideoPlayButton,So.VideoPlayButton),gb),Pb=function t(e){if(null!=e&&e.dataset)return e.dataset.elementId?e.dataset.elementId:t(e.parentElement)},kb=function t(e){if(e){var r=Pb(e);if(r){if(xb[r])return xb[r];if(jb[r])return jb[r]}return t(e.parentElement)}},Lb=["store"];var _b,Ab={apple:function(t){var e=t.appStoreId,r=t.appleProductPageId,n="https://itunes.apple.com/app/id".concat(e);return r?"".concat(n,"?ppid=").concat(r):n},google:function(t){var e=t.appStoreId,r=t.referrer,n="https://play.google.com/store/apps/details?id=".concat(e);return r?"".concat(n,"&").concat(r):n},standalone_android:function(t){var e=t.appDownloadUrl;if(e)return decodeURIComponent(e)}};function Tb(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Cb(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cb(t,e):void 0}}(t,e)||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 Cb(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(t){t[t.VideoScreen=0]="VideoScreen",t[t.EndCard=1]="EndCard",t[t.PlayableScreen=2]="PlayableScreen",t[t.PlayableEndCard=3]="PlayableEndCard",t[t.PlayableEndScreen=4]="PlayableEndScreen"}(_b||(_b={}));var Ib=function(t,e,r,n){var o=t.content,i=o.mraidUrl,a=o.store,c=o.appDownloadUrl,u=o.appStoreId,l=o.referrer,s=o.appleProductPageId,f=Tb((0,Co.useState)(i?_b.PlayableScreen:_b.VideoScreen),2),p=f[0],d=f[1],h=(0,Co.useRef)(!1),y=(0,x.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.adExperiences,o=t.impressionConfig;return[e.adFormat,e.skipEndCardOnClose,r.onAdContentStart,r.onAdContentFailedToStart,n.skipToAppSheetEnabled,o.getExperimentation]}),ko.X),v=Tb(y,6),m=v[0],g=v[1],b=v[2],w=v[3],O=v[4],S=v[5],E=(0,Co.useMemo)((function(){return function(t){var e=t.store,r=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,Lb);return Ab[e](r)}({appDownloadUrl:c,appStoreId:u,appleProductPageId:s,referrer:l,store:a})}),[c,u,s,l,a]),j=(0,Co.useCallback)((function(t){var e=t.operativeId,r=t.normX,n=t.normY,o=t.skipToAppSheetClick,i=void 0!==o&&o;E&&(ht.ap.emit("storeClick",{normX:r,normY:n,operativeId:e}),qh({skipToAppSheetClick:i,url:E,usePackageName:"google"===a}),h.current=!0,i?ht.ap.emit("installOpportunity",{origin:e,type:"app-sheet"}):ht.ap.emit("ctaClick",{clickData:{normX:r,normY:n,operativeId:e}}))}),[a,E]),P=(0,Co.useCallback)((function(t){var e=kb(t.target),r=Ob(t),n=r.normX,o=r.normY;j({normX:n,normY:o,operativeId:e,skipToAppSheetClick:!0})}),[j]),k=(0,Co.useCallback)((function(t){if(t)return e();Rd.getState().setCanPresent(!1),d(r?_b.PlayableEndCard:_b.EndCard)}),[r,e]),L=(0,Co.useCallback)((function(t){var e=Ob(t),r=e.normX,n=e.normY,o=kb(t.target);Rd.getState().setCanPresent(!0,"video-screen",!0),"rewarded"===m&&(ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{})),j({normX:r,normY:n,operativeId:o})}),[m,j]),_=(0,Co.useCallback)((function(t){var e=Ob(t),r=e.normX,n=e.normY,o=kb(t.target);j({normX:r,normY:n,operativeId:o}),ht.ap.emit("endCardClick",{})}),[j]),A=(0,Co.useCallback)((function(){j({operativeId:So.Playable})}),[j]),T=(0,Co.useCallback)((function(t){var e=kb(t.target);if(e){var r=Ob(t),n=r.normX,o=r.normY;return j({normX:n,normY:o,operativeId:e})}}),[j]),C=(0,Co.useCallback)((function(){b()}),[b]),I=(0,Co.useCallback)((function(t){t&&!h.current?ht.ap.emit("adContentSkip",{}):(ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{}));var e=!h.current&&O;S("playableSkipToAppSheet")&&e&&j({operativeId:So.PlayableSkipButton,skipToAppSheetClick:!0}),d(_b.PlayableEndScreen),S("skOverlayForPlayableEndScreenEnabled")&&Rd.getState().setCanPresent(!0,"end-screen",e)}),[S,O,j]),D=(0,Co.useCallback)((function(t){if(!n)return e();var r=!h.current&&O;if(r){var o=Ob(t),i=o.normX,a=o.normY;j({normX:i,normY:a,operativeId:So.PlayableEndScreenSkipButton,skipToAppSheetClick:!0})}d(_b.PlayableEndScreen),S("skOverlayForVideoPlusPlayableEndScreenEnabled")&&Rd.getState().setCanPresent(!0,"end-screen",r)}),[e,n,j,O,S]),N=(0,Co.useCallback)((function(){k(!1)}),[k]),R=(0,Co.useCallback)((function(t){if(t)return w(new Error("Video failed to start"));N()}),[N,w]),Z=(0,Co.useCallback)((function(t,e){if(e)return k(!0);var o=r&&n;if(!h.current&&O&&!o)return wb({closeAdAfterAppSheet:g,onClose:function(){return k(g)},onOpen:function(){return P(t)}});k(g)}),[n,g,r,k,O,P]);return{handlers:{handlePlayableEndCardOnClose:D,handlePlayableEndScreenOnOpen:T,handlePlayableOnClose:function(){return I(!1)},handlePlayableOnLoad:C,handlePlayableOnOpen:A,handlePlayableOnSkip:function(){return I(!0)},handleVideoEndCardOnOpen:_,handleVideoScreenOnFinish:N,handleVideoScreenOnOpen:L,handleVideoScreenOnSkip:Z,handleVideoScreenOnStalled:R},screen:p}};function Db(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Nb=function(t){var e=t.campaign,r=t.onFinish,n=e.content,o=n.endScreenType,i=n.mraidSrcDoc,a=n.endScreenUrl,c=Boolean("mraid"===o&&a),u=(0,x.xh)((function(t){var e=t.placement,r=t.adExperiences;return[e.closeTimerDuration,r.playableEndScreenEnabled]})),l=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Db(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Db(t,e):void 0}}(t,e)||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.")}()}(u,2),s=l[0],f=l[1],p=Ib(e,r,c,f),d=p.handlers,h=p.screen;return sv(),h===_b.VideoScreen?(0,_o.tZ)(bb,{campaign:e,cometEventHandlers:d,hasPlayableEndCard:c}):h===_b.EndCard?(0,_o.tZ)(Cm,{campaign:e,onOpen:d.handleVideoEndCardOnOpen,onFinish:r}):h===_b.PlayableScreen?(0,_o.tZ)(uv,{onOpen:d.handlePlayableOnOpen,onClose:d.handlePlayableOnClose,onSkip:d.handlePlayableOnSkip,srcDoc:i,hasPlayableEndScreen:!0,onLoad:d.handlePlayableOnLoad,closeTimerDurationInS:30}):h===_b.PlayableEndCard?(0,_o.tZ)(uv,{onOpen:d.handlePlayableOnOpen,onClose:d.handlePlayableEndCardOnClose,srcDoc:i,closeTimerDurationInS:null!=s?s:0,isEndCard:!0,hasPlayableEndScreen:f}):h===_b.PlayableEndScreen?(0,_o.tZ)(qm,{campaign:e,onOpen:d.handlePlayableEndScreenOnOpen,onFinish:r}):null},Rb=(0,Mn.Z)(Mn.r.Ads,"GMAScar","GMA"),Zb=["INTERNAL_SHOW_ERROR","NO_AD_ERROR","INTERSTITIAL_SHOW_ERROR","REWARDED_SHOW_ERROR","AD_NOT_LOADED_ERROR"];function Fb(t){return Fb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fb(t)}function Gb(){Gb=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Fb(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Mb(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ub(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Mb(i,n,o,a,c,"next",t)}function c(t){Mb(i,n,o,a,c,"throw",t)}a(void 0)}))}}var Vb,zb=function(){var t=Ub(Gb().mark((function t(e){return Gb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,cn(e);case 3:if(t.t0=t.sent,t.t0){t.next=6;break}t.t0=0;case 6:return t.abrupt("return",t.t0);case 9:return t.prev=9,t.t1=t.catch(0),t.abrupt("return",0);case 12:case"end":return t.stop()}}),t,null,[[0,9]])})));return function(e){return t.apply(this,arguments)}}(),Bb=function(){var t=Ub(Gb().mark((function t(e){var r;return Gb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,zb(e);case 3:return r=t.sent,t.next=6,un(e,r+1,!0);case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}(),Yb={get:zb,increment:Bb},Hb=(0,a.Z)(a.r.Core,"Lifecycle","LIFECYCLE"),qb=(0,m.M)((function(t){return{incrementInitErrors:function(){t((function(t){return{initErrorCount:t.initErrorCount+1}}))},initErrorCount:0,initialized:!1}}));function Xb(t){return Xb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xb(t)}function Wb(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Xb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Xb(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $b(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Jb=(Wb(Vb={},P.t.Android,(function(t){var e=Hb.on("PAUSED",(function(e){"com.google.android.gms.ads.AdActivity"===function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return $b(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$b(t,e):void 0}}(t,e)||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.")}()}(e,1)[0]&&t()}));return e})),Wb(Vb,P.t.Ios,(function(t){return x.TH.subscribe((function(e,r){var n=e.isForeground;r.isForeground&&!n&&t()}))})),Vb),Qb=Jb[(0,k.X)()];function Kb(t){return function(t){if(Array.isArray(t))return tw(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return tw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tw(t,e):void 0}}(t)||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 tw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var ew=function(t,e,r,n){return ht.ap.emitDiagnostic("scarShowStart",{isInterstitial:r.toString()}),new Promise((function(o,i){var a,c=[],u=function(){return c.forEach((function(t){return t()}))},l=function(t){ht.ap.emitDiagnostic("scarShowError",{error:t,isInterstitial:r.toString()}),u(),i(new Error("error showing Gma ad: ".concat(t)))};c.push(Rb.on("AD_STARTED",(function(){ht.ap.emitDiagnostic("scarShowStarted",{isInterstitial:r.toString()}),n(),a()}))),(c=[].concat(Kb(c),Kb(function(t){return Zb.map((function(e){return Rb.on(e,function(e){return function(){t(e)}}(e))}))}(l)),Kb(function(t){var e=[],r=function(){Yb.increment("user.clickCount"),ht.ap.emit("ctaClick",{})};return e.push(Rb.on("AD_CLICKED",r)),e.push(Rb.on("FIRST_QUARTILE",(function(){ht.ap.emit("adContentFirstQuartile",{})}))),e.push(Rb.on("MIDPOINT",(function(){ht.ap.emit("adContentMidPoint",{})}))),e.push(Rb.on("THIRD_QUARTILE",(function(){ht.ap.emit("adContentThirdQuartile",{})}))),e.push(Rb.on("LAST_QUARTILE",(function(){ht.ap.emit("adContentEnded",{})}))),function(t){if(!t)return!0;var e=qb.getState().adapterVersion;return(0,k.X)()===P.t.Android&&2e3===e||(0,k.X)()===P.t.Ios&&800===e}(t)&&e.push(Qb(r)),e}(r)))).push(Rb.on("AD_CLOSED",(function(){ht.ap.emitDiagnostic("scarShowClosed",{isInterstitial:r.toString()}),u(),o()}))),c.push(Rb.on("AD_SKIPPED",(function(){ht.ap.emitDiagnostic("scarShowSkipped",{isInterstitial:r.toString()}),ht.ap.emit("adContentSkip",{}),u(),o()})));var s=setTimeout((function(){return l("timeout")}),3e3);a=function(){return clearTimeout(s)},c.push(a),Rb.invoke("show",t,e,r).catch((function(){l("show_api_error")}))}))};function rw(t){return rw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rw(t)}function nw(){nw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==rw(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function ow(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function iw(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return aw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?aw(t,e):void 0}}(t,e)||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 aw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var cw,uw,lw,sw=function(t){var e=t.campaign,r=t.onFinish,n=(0,x.xh)((function(t){return t.campaignInfo.onAdContentStart})),o=function(t){var e=(0,x.xh)((function(t){var e=t.placement;return[e.placementId,e.adFormat]}),ko.X),r=iw(e,2),n=r[0],o=r[1],i=t.queryId,a=iw((0,Co.useState)("starting"),2),c=a[0],u=a[1],l=iw((0,Co.useState)(),2)[1];return(0,Co.useEffect)((function(){var t=function(){var t,e=(t=nw().mark((function t(){return nw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ew(n,i,"interstitial"===o,(function(){u("started")}));case 3:u("finished"),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),l((function(){throw t.t0}));case 9:case"end":return t.stop()}}),t,null,[[0,6]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ow(i,n,o,a,c,"next",t)}function c(t){ow(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();t()}),[n,i,o,l,u]),{status:c}}(e).status;return(0,Co.useEffect)((function(){"started"!==o?"finished"===o&&r():n()}),[o,n,r]),null},fw=r(83643),pw=Zr.W4.UnityInfo,dw=Zr.W4.UnityProto,hw=function(t){var e={field_1:t.sdkVersion,field_2:t.batteryLevel||1,field_3:t.batteryStatus,field_4:t.accelerometerX,field_5:t.accelerometerY,field_6:t.accelerometerZ,field_7:t.touchXUp,field_8:t.touchYUp,field_9:t.touchXDown,field_10:t.touchYDown,field_11:t.touchDuration,field_12:t.touchPressure,field_13:t.touchDiameter,field_14:t.androidTouchObscured,field_15:t.touchToolType,field_16:t.touchSource,field_17:t.touchDeviceId,field_19:t.touchUpTotal,field_20:t.touchDownTotal,field_21:t.touchMoveTotal,field_22:t.touchCancelTotal,field_23:t.osVersion,field_24:t.cpuCount,field_27:t.timeZoneOffset,field_30:t.isRooted,field_31:t.connectionType,field_32:t.appActive,field_33:t.appUpTime,field_34:t.appStartTime,field_35:t.eventTimestamp,field_36:t.timeOnScreen,field_39:t.appVersionName,field_41:t.appIdName,field_43:t.adViewWidth,field_44:t.adViewHeight,field_45:t.adViewX,field_46:t.adViewY,field_47:t.minimumAlpha,field_48:t.screenWidth,field_49:t.screenHeight,field_50:t.deviceOrientation};"isUsbConnected"in t&&(e.field_25=t.deviceUptime,e.field_26=null==t?void 0:t.deviceElapsedRealtime,e.field_28=null==t?void 0:t.isUsbConnected,e.field_29=null==t?void 0:t.adbEnabled,e.field_37=null==t?void 0:t.apkDigest,e.field_38=null==t?void 0:t.apkDeveloperSigningCertificateHash,e.field_40=null==t?void 0:t.appVersionCode,e.field_42=t.appInstaller);try{var r={encryptedBlobs:[pw.encode(e).finish()],encryptionMethod:dw.EncryptionMethod.UNENCRYPTED,protoName:dw.ProtoName.UNITY_INFO},n=dw.encode(r).finish();return(0,fw.xB)(nr.util.base64.encode(n,0,n.length))}catch(t){return void ht.ap.emitDiagnostic("tpscProtoBufError")}};!function(t){t[t.Visible=0]="Visible",t[t.LowProfile=1]="LowProfile",t[t.HideNavigation=2]="HideNavigation",t[t.Fullscreen=4]="Fullscreen",t[t.LayoutStable=256]="LayoutStable",t[t.LayoutHideNavigation=512]="LayoutHideNavigation",t[t.LayoutFullscreen=1024]="LayoutFullscreen",t[t.Immersive=2048]="Immersive",t[t.ImmersiveSticky=4096]="ImmersiveSticky",t[t.LightStatusBar=8192]="LightStatusBar"}(cw||(cw={})),function(t){t[t.ActionDown=0]="ActionDown",t[t.ActionUp=1]="ActionUp",t[t.ActionMove=2]="ActionMove",t[t.ActionCancel=3]="ActionCancel",t[t.ActionOutside=4]="ActionOutside",t[t.ActionPointerDown=5]="ActionPointerDown",t[t.ActionPointerUp=6]="ActionPointerUp",t[t.ActionHoverMove=7]="ActionHoverMove",t[t.ActionScroll=8]="ActionScroll",t[t.ActionHoverEnter=9]="ActionHoverEnter",t[t.ActionHoverExit=10]="ActionHoverExit",t[t.ActionButtonPress=11]="ActionButtonPress",t[t.ActionButtonRelease=12]="ActionButtonRelease"}(uw||(uw={})),function(t){t[t.Back=4]="Back"}(lw||(lw={}));var yw,vw,mw=(0,a.Z)(a.r.Ads,"AdUnit","ADUNIT"),gw=r(69292),bw=r(80248),ww=r(25054);function Ow(t){return Ow="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ow(t)}function Sw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ow(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ow(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ow(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ew=(Sw(yw={},gw.C.Locked,ww.i.Portrait),Sw(yw,gw.C.Portrait,ww.i.Portrait),Sw(yw,gw.C.ReversePortrait,ww.i.Portrait),Sw(yw,gw.C.SensorPortrait,ww.i.Portrait),Sw(yw,gw.C.Landscape,ww.i.Landscape),Sw(yw,gw.C.ReverseLandscape,ww.i.Landscape),Sw(yw,gw.C.SensorLandscape,ww.i.Landscape),yw),xw=(Sw(vw={},bw.j.Portrait,ww.i.Portrait),Sw(vw,bw.j.PortraitUpsideDown,ww.i.Portrait),Sw(vw,bw.j.Landscape,ww.i.Landscape),Sw(vw,bw.j.LandscapeLeft,ww.i.Landscape),Sw(vw,bw.j.LandscapeRight,ww.i.Landscape),vw);function jw(t){return jw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jw(t)}function Pw(){Pw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==jw(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function kw(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Lw={id:0},_w=function(){var t,e=(t=Pw().mark((function t(e,r){var n,o,i,a,c,u,l=arguments;return Pw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.length>2&&void 0!==l[2]?l[2]:["webview"],o=l.length>3&&void 0!==l[3]?l[3]:[lw.Back],i=l.length>4&&void 0!==l[4]?l[4]:cw.LowProfile,a=!(l.length>5&&void 0!==l[5])||l[5],c=l.length>6&&void 0!==l[6]&&l[6],u=(0,_.v0)(e,r,!0),t.next=8,mw.invoke("open",Lw.id,n,u,o,i,a,c);case 8:Lw.id+=1;case 9:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){kw(i,n,o,a,c,"next",t)}function c(t){kw(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),Aw={clearMotionEventCapture:function(){return mw.invoke("clearMotionEventCapture")},close:function(){return mw.invoke("close")},endMotionEventCapture:function(){return mw.invoke("endMotionEventCapture")},getCurrentMotionEventCount:function(){return mw.invoke("getCurrentMotionEventCount")},getMotionEventCount:function(t){return mw.invoke("getMotionEventCount",t)},getMotionEventData:function(t){return mw.invoke("getMotionEventData",t)},getOrientation:function(t,e){var r=(0,_.v0)(t,e,!0);return Ew[r]||e},open:_w,setOrientation:function(t,e,r){return mw.invoke("setOrientation",(0,_.v0)(e.options.display,t,r))},startMotionEventCapture:function(t){return mw.invoke("startMotionEventCapture",t)}},Tw=(0,a.Z)(a.r.Ads,"AdUnit","ADUNIT"),Cw=function(){var t=x.TH.getState(),e=t.native,r=t.impressionConfig,n=e.sdkVersion,o=r.sdkFeatureFlags;return!!(n<4200&&null!=o&&o.skipOrientationCheck)};function Iw(t){return Iw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Iw(t)}function Dw(){Dw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Iw(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Nw(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var Rw,Zw=function(){var t,e=(t=Dw().mark((function t(e,r){var n,o,i,a,c,u,l=arguments;return Dw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=l.length>2&&void 0!==l[2]&&l[2],o=l.length>3&&void 0!==l[3]?l[3]:["webview"],i=!(l.length>4&&void 0!==l[4])||l[4],a=!(l.length>5&&void 0!==l[5])||l[5],c=l.length>6&&void 0!==l[6]&&l[6],u=(0,_.v8)(e,r,Cw()),t.next=8,Tw.invoke("open",o,u,i,n,c,a);case 8:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Nw(i,n,o,a,c,"next",t)}function c(t){Nw(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),Fw={clearMotionEventCapture:function(){return Promise.resolve(void 0)},close:function(){return Tw.invoke("close")},endMotionEventCapture:function(){return Promise.resolve(void 0)},getCurrentMotionEventCount:function(){return Promise.resolve(void 0)},getMotionEventCount:function(){return Promise.resolve(void 0)},getMotionEventData:function(){return Promise.resolve(void 0)},getOrientation:function(t,e){var r=(0,_.v8)(t,e,Cw());return xw[r]||e},open:Zw,setOrientation:function(t,e){return Tw.invoke("setSupportedOrientations",(0,_.v8)(e.options.display,t,Cw()))},startMotionEventCapture:function(){return Promise.resolve(void 0)}};function Gw(t){return Gw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gw(t)}function Mw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Gw(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Gw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Gw(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Uw,Vw=(Mw(Rw={},P.t.Android,Aw),Mw(Rw,P.t.Ios,Fw),Rw)[(0,k.X)()];function zw(t){return zw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zw(t)}function Bw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==zw(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==zw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===zw(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yw(){Yw=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==zw(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Hw(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qw(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qw(t,e):void 0}}(t,e)||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 qw(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xw(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ww(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Xw(i,n,o,a,c,"next",t)}function c(t){Xw(i,n,o,a,c,"throw",t)}a(void 0)}))}}var $w,Jw=function(){var t=Ww(Yw().mark((function t(){var e,r,n,o,i;return Yw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([sh.S.getScreenWidth(),sh.S.getScreenHeight(),sh.S.getScreenDensity()]);case 2:return e=t.sent,r=Hw(e,3),n=r[0],o=r[1],i=r[2],t.abrupt("return",{viewHeight:o/(i/160),viewWidth:n/(i/160)});case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Qw=function(){var t=Ww(Yw().mark((function t(){var e,r,n,o,i;return Yw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([sh.S.getScreenWidth(),sh.S.getScreenHeight(),sh.S.getScreenScale()]);case 2:return e=t.sent,r=Hw(e,3),n=r[0],o=r[1],i=r[2],t.abrupt("return",{viewHeight:o/i,viewWidth:n/i});case 8:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),Kw=(Bw(Uw={},P.t.Android,Jw),Bw(Uw,P.t.Ios,Qw),Uw);!function(t){t[t.SensorDelayFastest=0]="SensorDelayFastest",t[t.SensorDelayGame=1]="SensorDelayGame",t[t.SensorDelayNormal=3]="SensorDelayNormal",t[t.SensorDelayUi=2]="SensorDelayUi"}($w||($w={}));var tO=(0,a.Z)(a.r.Core,"SensorInfo");function eO(t){return eO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},eO(t)}function rO(){rO=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==eO(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function nO(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var oO,iO=9.80655,aO=function(){var t,e=(t=rO().mark((function t(){var e;return rO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,tO.invoke("getAccelerometerData");case 2:return e=t.sent,t.abrupt("return",{x:e.x/iO*-100,y:e.y/iO*-100,z:e.z/iO*-100});case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){nO(i,n,o,a,c,"next",t)}function c(t){nO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),cO={getAccelerometerData:aO,startAccelerometerUpdates:function(){return tO.invoke("startAccelerometerUpdates",$w.SensorDelayFastest)},stopAccelerometerUpdates:function(){return tO.invoke("stopAccelerometerUpdates")}},uO=(0,a.Z)(a.r.Core,"SensorInfo"),lO={getAccelerometerData:function(){return uO.invoke("getAccelerometerData")},startAccelerometerUpdates:function(){return uO.invoke("startAccelerometerUpdates",.01)},stopAccelerometerUpdates:function(){return uO.invoke("stopAccelerometerUpdates")}};function sO(t){return sO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sO(t)}function fO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==sO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==sO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===sO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pO=(fO(oO={},P.t.Android,cO),fO(oO,P.t.Ios,lO),oO)[(0,k.X)()];function dO(t){return dO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dO(t)}function hO(){hO=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==dO(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function yO(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var vO=function(){var t,e=(t=hO().mark((function t(e){var r,n,o;return hO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return",{});case 2:return r=e[uw.ActionDown],t.next=5,Vw.getMotionEventData((i={},a=uw.ActionDown,c=[r],(a=function(t){var e=function(t,e){if("object"!==dO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dO(e)?e:String(e)}(a))in i?Object.defineProperty(i,a,{value:c,enumerable:!0,configurable:!0,writable:!0}):i[a]=c,i));case 5:if(n=t.sent){t.next=8;break}return t.abrupt("return",{});case 8:return t.prev=8,o=n[uw.ActionDown][r],t.abrupt("return",{androidTouchObscured:o.isObscured,touchDeviceId:o.deviceId,touchSource:o.source,touchToolType:o.toolType});case 13:return t.prev=13,t.t0=t.catch(8),t.abrupt("return",{});case 16:case"end":return t.stop()}var i,a,c}),t,null,[[8,13]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){yO(i,n,o,a,c,"next",t)}function c(t){yO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function mO(t){return mO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mO(t)}function gO(){gO=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==mO(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function bO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function wO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?bO(Object(r),!0).forEach((function(e){OO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function OO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==mO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==mO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===mO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function SO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return EO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?EO(t,e):void 0}}(t,e)||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 EO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function xO(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var jO,PO=function(){var t,e=(t=gO().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p;return gO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([pO.getAccelerometerData(),Vw.getMotionEventCount([uw.ActionDown,uw.ActionUp,uw.ActionMove,uw.ActionCancel]),Kw[(0,k.X)()]()]);case 2:return c=t.sent,u=SO(c,3),l=u[0],s=u[1],f=u[2],t.next=9,vO(s);case 9:return p=t.sent,t.abrupt("return",wO({accelerometerX:l.x,accelerometerY:l.y,accelerometerZ:l.z,adViewHeight:f.viewHeight,adViewWidth:f.viewWidth,adViewX:0,adViewY:0,minimumAlpha:100,timeOnScreen:Date.now()-r,touchCancelTotal:e.counts.cancel,touchDiameter:e.diameter,touchDownTotal:e.counts.down,touchDuration:e.duration,touchMoveTotal:e.counts.move,touchPressure:e.pressure,touchUpTotal:e.counts.up,touchXDown:null===(n=e.start)||void 0===n?void 0:n.x,touchXUp:null===(o=e.end)||void 0===o?void 0:o.x,touchYDown:null===(i=e.start)||void 0===i?void 0:i.y,touchYUp:null===(a=e.end)||void 0===a?void 0:a.y},p));case 11:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){xO(i,n,o,a,c,"next",t)}function c(t){xO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function kO(t){return kO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kO(t)}function LO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==kO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==kO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===kO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _O,AO=(LO(jO={},P.t.Ios,(function(t){return t})),LO(jO,P.t.Android,(function(t){switch(t){case 1:default:return 0;case 2:return 2;case 3:case 4:return 1;case 5:return 3}})),jO)[(0,k.X)()],TO=function(t,e){return t===e?20:t>e?3:1};function CO(t){return CO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},CO(t)}function IO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==CO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==CO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===CO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var DO,NO=(IO(_O={},P.t.Ios,(function(t,e,r){var n=r||1;return[t*n,e*n]})),IO(_O,P.t.Android,(function(t,e,r){return[t,e]})),_O)[(0,k.X)()];function RO(t){return RO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},RO(t)}function ZO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==RO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==RO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===RO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function FO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(42972);var GO,MO=(ZO(DO={},P.t.Ios,(function(t,e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return FO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?FO(t,e):void 0}}(t,e)||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.")}()}(t.split(" "),1)[0];return"".concat(r.replace(/[0-9]+,[0-9]+$/,"")," ").concat(e)})),ZO(DO,P.t.Android,(function(t,e){return e})),DO)[(0,k.X)()],UO=function(t,e){return e?2:t?1:0};function VO(t){return VO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},VO(t)}function zO(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function BO(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?zO(Object(r),!0).forEach((function(e){YO(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zO(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function YO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==VO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==VO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===VO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function HO(){HO=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==VO(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function qO(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return XO(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?XO(t,e):void 0}}(t,e)||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 XO(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function WO(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function $O(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){WO(i,n,o,a,c,"next",t)}function c(t){WO(i,n,o,a,c,"throw",t)}a(void 0)}))}}var JO=function(){var t=$O(HO().mark((function t(){var e,r,n,o,i,a,c,u,l,s,f,p,d,h,y,v,m,g,b,w,O;return HO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=x.TH.getState(),r=e.native,n=e.appStartTime,o=e.isForeground,i=r,t.next=4,Promise.all([sh.S.getBatteryLevel().catch((function(){})),sh.S.getBatteryStatus().catch((function(){})),sh.S.getConnectionType().catch((function(){})),sh.S.getScreenWidth().catch((function(){})),sh.S.getScreenHeight().catch((function(){})),sh.S.getCPUCount().catch((function(){})),sh.S.isSimulator().catch((function(){})),sh.S.isRooted().catch((function(){})),sh.S.getScreenDensity().catch((function(){}))]);case 4:return a=t.sent,c=qO(a,9),u=c[0],l=c[1],s=c[2],f=c[3],p=c[4],d=c[5],h=c[6],y=c[7],v=c[8],m=f&&p?NO(f,p,v):[],g=qO(m,2),b=g[0],w=g[1],O={appActive:o,appIdName:i.bundleId,appStartTime:n/1e3,appUpTime:(Date.now()-n)/1e3,appVersionName:i.bundleVersion,batteryLevel:u&&100*u,batteryStatus:l&&AO(l),connectionType:s&&(j=s,"wifi"===j?1:"cellular"===j?0:-1),cpuCount:d,deviceOrientation:f&&p&&TO(f,p),eventTimestamp:Date.now()/1e3,isRooted:void 0!==y?UO(y,h):void 0,osVersion:MO(i.deviceModel,i.osVersion),screenHeight:w,screenWidth:b,sdkVersion:(S=(0,k.X)(),E=i.sdkVersion,"unity-".concat(S,"-v").concat(E)),timeZoneOffset:-1*(new Date).getTimezoneOffset()+1440},t.abrupt("return",O);case 18:case"end":return t.stop()}var S,E,j}),t)})));return function(){return t.apply(this,arguments)}}(),QO=function(){var t=$O(HO().mark((function t(){var e,r,n,o,i,a,c,u,l;return HO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([sh.S.getPackageInfo().catch((function(){})),sh.S.isUSBConnected().then((function(t){return t?1:0})).catch((function(){return 2})),sh.S.getUptime().catch((function(){})),sh.S.getElapsedRealtime().catch((function(){})),sh.S.getCertificateFingerprint().catch((function(){})),sh.S.getApkDigest().catch((function(){})),sh.S.isAdbEnabled().catch((function(){}))]);case 2:return e=t.sent,r=qO(e,7),n=r[0],o=r[1],i=r[2],a=r[3],c=r[4],u=r[5],l=r[6],t.t0=BO,t.t1=BO,t.t2={},t.next=16,JO();case 16:return t.t3=t.sent,t.t4=(0,t.t1)(t.t2,t.t3),t.t5={},t.t6={adbEnabled:l?1:0,apkDeveloperSigningCertificateHash:c,apkDigest:u,appInstaller:null==n?void 0:n.installer,appVersionCode:null==n?void 0:n.versionCode,deviceElapsedRealtime:a,deviceUptime:i,isUsbConnected:o},t.abrupt("return",(0,t.t0)(t.t4,t.t5,t.t6));case 21:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),KO=(YO(GO={},P.t.Android,QO),YO(GO,P.t.Ios,(function(){return JO()})),GO)[(0,k.X)()];function tS(t){return tS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tS(t)}function eS(){eS=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==tS(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function rS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rS(Object(r),!0).forEach((function(e){oS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function oS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==tS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==tS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===tS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function iS(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function aS(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){iS(i,n,o,a,c,"next",t)}function c(t){iS(i,n,o,a,c,"throw",t)}a(void 0)}))}}var cS=function(t){var e=t.close,r=t.foregroundTime,n=t.sdkVersion,o=t.sendEventToAfma,i=t.sendMuteEvent,a=t.start,c=function(){var t=aS(eS().mark((function t(e){var n,i,a;return eS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,KO();case 2:return n=t.sent,t.next=5,PO(e,r);case 5:if(i=t.sent,a=hw(nS(nS({},n),i))){t.next=10;break}return ht.ap.emitDiagnostic("failedToEncodeClickSignals"),t.abrupt("return");case 10:o("clickSignals",{encodedClickSignals:a});case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),u=function(){var t=aS(eS().mark((function t(e){var r;return eS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fr.invoke("canOpenIntents",e.intents);case 2:r=t.sent,o("openableIntentsResponse",{id:e.id,results:r});case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),l={click:function(t){return function(t){var e=navigator.userAgent||"Unknown",r=[];r.push(["User-Agent","".concat(e," (Unity ").concat(n,")")]),(0,sr.b)({headers:r,method:"GET",url:t})}(t)},close:function(){e()},getClickSignals:function(t){return c(t)},grantReward:function(){ht.ap.emit("adContentEnded",{})},openUrl:function(t){return function(t){t.includes("mobile-about")||(Yb.increment("user.clickCount"),ht.ap.emit("ctaClick",{}),qh({url:t}))}(t)},openableIntents:function(t){return u(t)},tracking:function(t){return function(t){ht.ap.emit(t,{}),"adContentLoaded"===t&&i&&o("muteChange",!0)}(t.event)},videoError:function(t){return function(t){ht.ap.emit("videoError",{message:t}),t.startsWith("Missing Video Error")&&e()}(t)},videoStart:function(){a()}},s=function(t){var e=t.data,r=e.event,n=e.value;if("afma"===e.type){var o=l[r];o&&o(n)}};return window.addEventListener("message",s,{passive:!0}),function(){return window.removeEventListener("message",s)}};function uS(t){return uS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},uS(t)}function lS(){lS=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==uS(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function sS(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function fS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var pS=function(t){var e=(0,x.xh)((function(t){var e=t.placement,r=t.isForeground;return[e.adFormat,r]}),ko.X),r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return fS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fS(t,e):void 0}}(t,e)||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.")}()}(e,2),n=r[0],o=r[1],i=(0,Co.useRef)(0),a=(0,Co.useRef)("rewarded"===n);ht.ap.on("adContentEnded",(function(){a.current=!1}));var c=(0,Co.useCallback)((function(){a.current&&ht.ap.emit("adContentSkip",{}),t()}),[t]),u=(0,Co.useCallback)((function(t){qh({url:t})}),[]);return(0,Co.useEffect)((function(){return Vw.startMotionEventCapture(1e4),i.current=Date.now(),function(){pO.stopAccelerometerUpdates(),Vw.clearMotionEventCapture(),Vw.endMotionEventCapture()}}),[]),(0,Co.useEffect)((function(){var t=function(){var t,e=(t=lS().mark((function t(){return lS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!o){t.next=6;break}return t.next=3,pO.startAccelerometerUpdates();case 3:i.current=Date.now(),t.next=8;break;case 6:return t.next=8,pO.stopAccelerometerUpdates();case 8:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){sS(i,n,o,a,c,"next",t)}function c(t){sS(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();t()}),[o]),{foregroundTime:i.current,handleOnClose:c,handleOnOpen:u}};function dS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var hS=function(t){var e=t.campaign,r=t.onFinish,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return dS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dS(t,e):void 0}}(t,e)||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.")}()}((0,x.xh)((function(t){var e=t.campaignInfo,r=t.native;return[e.onAdContentStart,r.sdkVersion]}),ko.X),2),o=n[0],i=n[1],a=pS(r),c=a.handleOnClose,u=a.handleOnOpen,l=a.foregroundTime,s=(0,Co.useRef)(null),f=(0,Co.useCallback)((function(t){for(var e,r,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];null===(e=s.current)||void 0===e||null===(r=e.contentWindow)||void 0===r||r.postMessage({event:t,type:"afma",value:o},"*")}),[s]);return(0,Co.useEffect)((function(){var t,r,n=cS({close:c,foregroundTime:l,sdkVersion:i,sendEventToAfma:f,sendMuteEvent:null!==(t=null===(r=e.media)||void 0===r?void 0:r.shouldMuteByDefault)&&void 0!==t&&t,start:o});return function(){return n()}})),(0,_o.tZ)(uv,{onClose:c,onOpen:u,srcDoc:e.content,externalIframeRef:s})};function yS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var vS=function(t){var e=t.campaign,r=t.onFinish,n=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yS(t,e):void 0}}(t,e)||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.")}()}((0,x.xh)((function(t){var e=t.campaignInfo,r=t.adExperiences;return[e.onAdContentStart,r.skOverlayConfig]}),ko.X),2),o=n[0],i=n[1],a=function(t,e){var r=(0,x.xh)((function(t){return t.placement.adFormat})),n=(0,Co.useRef)(!1);return{handleOnClose:function(){ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{}),e()},handleOnLoad:function(){"interstitial"===r&&"DISPLAY"===t.media.adType&&(ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{})),ht.ap.emit("htmlLoaded",{})},handleOnOpen:function(t){qh({url:t}),n.current=!0,ht.ap.emit("adContentThirdQuartile",{}),ht.ap.emit("adContentEnded",{}),ht.ap.emit("ctaClick",{})},handleOnSkip:function(){n.current||ht.ap.emit("adContentSkip",{}),e()}}}(e,r),c=a.handleOnClose,u=a.handleOnLoad,l=a.handleOnOpen,s=a.handleOnSkip;return(0,Co.useEffect)((function(){o()}),[o]),(0,Co.useEffect)((function(){if(i){var t=setTimeout((function(){return Rd.getState().setCanPresent(!0)}),i.videoDelay);return function(){return clearTimeout(t)}}}),[i]),sv(),(0,_o.tZ)(uv,{onClose:c,onLoad:u,onOpen:l,onSkip:s,srcDoc:e.content,closeTimerDurationInS:30})},mS=(0,Lo.Z)("div",{target:"e1pgznr74"})({name:"lxyece",styles:"@media (orientation: landscape){background:linear-gradient(0deg, #ffffff 30%, #f5f5f5 30%);}@media (orientation: portrait){flex-direction:column;}background-color:#f5f5f5;display:flex;height:100%;overflow:hidden;position:relative;width:100%"}),gS=(0,Lo.Z)(Iy,{target:"e1pgznr73"})({"@media (orientation: landscape)":{left:["0.75rem","max(constant(safe-area-inset-left), 0.75rem)","max(env(safe-area-inset-left), 0.75rem)"]},"@media (orientation: portrait)":{top:["1.25rem","max(constant(safe-area-inset-top), 1.25rem)","max(env(safe-area-inset-top), 1.25rem)"]},background:"rgba(124, 124, 124, 0.3)",borderRadius:".35rem",color:"white",fontSize:"1.3rem",height:"1.75rem",left:"0.75rem",padding:"unset",position:"absolute",top:"1.25rem",width:"1.75rem",zIndex:1},""),bS=(0,Lo.Z)(Vy,{target:"e1pgznr72"})({name:"fzdn1d",styles:"bottom:1.25rem;position:absolute;width:100%;z-index:1"}),wS=(0,Lo.Z)("div",{target:"e1pgznr71"})((function(t){var e=t.theme;return{background:e.palette.common.black,display:"flex",div:{background:e.palette.common.black,borderRadius:0},height:"100%",justifyContent:"center",position:"absolute",width:"100%"}}),""),OS=(0,Lo.Z)(wy,{target:"e1pgznr70"})((function(t){return{"@media (orientation: landscape)":{right:["0.75rem","max(constant(safe-area-inset-left), 0.75rem)","max(env(safe-area-inset-left), 0.75rem)"]},"@media (orientation: portrait)":{top:["1.25rem","max(constant(safe-area-inset-top), 1.25rem)","max(env(safe-area-inset-top), 1.25rem)"]},background:"rgba(124, 124, 124, 0.3)",borderRadius:"50%",color:t.theme.palette.common.white,fontSize:"1.3rem",height:"1.75rem",position:"absolute",right:"0.75rem",top:"1.25rem",width:"1.75rem",zIndex:1}}),""),SS=function(t){var e=t.closeTimerDurationInMs,r=t.creative,n=t.onClose,o=t.onPrivacyClick,i=t.showPrivacyCallToActionBanner,a=Qh();return(0,_o.BX)(mS,{"data-element-id":So.EndScreenEndScreen,children:[(0,_o.tZ)(OS,{closeTimerDurationInMs:e,onClick:n,"data-element-id":So.EndScreenCloseButton,pauseProgress:a}),(0,_o.tZ)(gS,{onClick:o,"data-element-id":So.EndScreenPrivacyButton}),i&&(0,_o.tZ)(bS,{onClick:o}),(0,_o.tZ)(wS,{children:r})]})},ES=r(33912),xS=(0,Lo.Z)("div",{target:"e1nxfupn3"})({name:"1p0itaj",styles:"align-items:center;background:#e6e6e6;border-radius:2.5rem;display:flex;height:100%;overflow:hidden;position:relative"}),jS=(0,Lo.Z)("img",{target:"e1nxfupn2"})({name:"120qt4t",styles:"height:100%;object-fit:contain;width:100%"}),PS=(0,Lo.Z)(jS,{target:"e1nxfupn1"})({name:"1nsg8vt",styles:"@media (orientation: portrait){display:none;}"}),kS=(0,Lo.Z)(jS,{target:"e1nxfupn0"})({name:"1d9fkkt",styles:"@media (orientation: landscape){display:none;}"}),LS=function(t){return t.height>=t.width},_S=function(t){return t.height<=t.width},AS=function(t){var e=t.variations,r=t.onClick,n=e.find(_S),o=null==n?void 0:n.staticResources[0].url,i=e.find(LS),a=null==i?void 0:i.staticResources[0].url,c=_m(a||o),u=_m(o||a);return(0,_o.BX)(xS,{onClick:r,"data-element-id":So.EndScreenCreative,children:[(0,_o.tZ)(kS,{src:c}),(0,_o.tZ)(PS,{src:u})]})};function TS(t){return TS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},TS(t)}var CS=["variations","onOpen"];function IS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function DS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?IS(Object(r),!0).forEach((function(e){NS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):IS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function NS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==TS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==TS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===TS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var RS=function(t){var e,r,n,o=t.variations,i=t.onOpen,a=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,CS);return(null===(e=o[0].htmlResources)||void 0===e?void 0:e.length)>0?(0,_o.tZ)(Sh,DS({srcDoc:(0,ES.Q)(o[0].htmlResources[0],S.zc.Vast),onOpen:i},a)):(null===(r=o[0].staticResources)||void 0===r?void 0:r.length)>0?(0,_o.tZ)(AS,DS({variations:o,onClick:i},a)):(null===(n=o[0].iframeResources)||void 0===n?void 0:n.length)>0?(0,_o.tZ)(Bd,DS(DS({},a),{},{title:o[0].id,src:o[0].iframeResources[0]})):null},ZS=(0,Lo.Z)(RS,{target:"e14v4n0w0"})({name:"13udsys",styles:"height:100%"}),FS=function(t){var e=t.companion,r=t.handleOnOpen,n=t.onFinish,o=e.variations,i=zy(),a=(0,x.xh)((function(t){return t.placement.closeTimerDuration})),c=(0,oe.Fp)((function(t){return t.context.showCallToActionBanner}));return(0,Co.useEffect)((function(){ht.ap.emit("endCardShow",{})}),[]),(0,_o.tZ)(SS,{closeTimerDurationInMs:1e3*(null!=a?a:0),onClose:n,creative:(0,_o.tZ)(ZS,{variations:o,onClose:n,onOpen:r}),onPrivacyClick:i,showPrivacyCallToActionBanner:c})},GS=r(60577),MS=r(83663);function US(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var VS=function(t,e,r){var n=(0,x.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.native;return[e.skipInSeconds,e.allowSkip,r.initialVolume,n.sdkVersionName]}),ko.X),o=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return US(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?US(t,e):void 0}}(t,e)||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.")}()}(n,4),i=o[0],a=o[1],c=o[2],u=void 0===c?-1:c,l=o[3],s=(0,Co.useRef)({duration:e,initialVolume:u>=0?u:0,isSkippable:a,skipOffset:i});(0,Co.useEffect)((function(){var e=document.querySelector("video"),n=GS.u.getState(),o=n.omidData,i=n.registerVideoEventHandler;if(t.length&&e&&o){ht.ap.emitDiagnostic("genericDiagnostic",{type:"omVideoCreateSession"});var a,c,u,f,p=(a=o.version,(f=MS.GU[a])?null===(c=window.OmidSessionClient)||void 0===c?void 0:c[f]:null===(u=window.OmidSessionClient)||void 0===u?void 0:u.default);if(p){var d=function(t,e,r,n,o){var i=t.AdSession,a=t.Context,c=t.Partner,u=t.VerificationScriptResource;try{var l=new c(o,n),s=function(t,e){return e.reduce((function(e,r){var n=r.resource;return n?(e.push(new t(n,r.vendor,r.parameters)),e):e}),[])}(u,e);return new i(new a(l,s,r))}catch(t){}}(p,t,r,l,o.partnerName);d?(ht.ap.emitDiagnostic("genericDiagnostic",{type:"omVideoCreateSessionSuccess"}),GS.u.setState({isSessionActive:!0}),i(p,d,s.current)):ht.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error creating ad session"})}else ht.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error retrieving session client"})}}),[r,l,t])};function zS(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var BS,YS=function(t){var e=t.adVerifications,r=t.linear,n=t.vastEventHandlers,o=r.mediaFile,i=r.icon,a=r.creative,c=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return zS(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zS(t,e):void 0}}(t,e)||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.")}()}((0,x.xh)((function(t){var e=t.placement,r=t.adExperiences,n=t.campaignInfo;return[e.skipInSeconds,e.allowSkip,e.adFormat,n.orientation,r.clickableVideoEnabled]}),ko.X),5),u=c[0],l=c[1],s=c[2],f=c[3],p=c[4];(0,Co.useEffect)((function(){jn.setState({videoOrientationAtShow:f})}),[f]);var d=_m(o.fileURL),h=_m(null==i?void 0:i.staticResource);return sv(),VS(e,a.duration,o.fileURL),(0,_o.tZ)(hb,{appImageUrl:h,src:d,isClickableVideo:p,showSkipRewardedDialog:"rewarded"===s&&l,onCtaClick:n.handleOnCtaClick,onDurationChange:n.handleOnDurationChange,onEnded:n.handleOnEnded,onLoadedData:n.handleOnLoadedData,onSkip:n.handleOnSkip,onTimeUpdate:n.handleOnTimeUpdate,onVideoStalled:n.handleOnStalled,appName:"",hasPlayableEndCard:!1,timeToSkipInMs:1e3*Oy(u,l),isRewarded:"rewarded"===s})},HS=r(23550);function qS(t){return qS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qS(t)}function XS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function WS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?XS(Object(r),!0).forEach((function(e){$S(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):XS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $S(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==qS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==qS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===qS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t[t.Disabled=0]="Disabled",t[t.ShowOnSkipWithoutEvents=1]="ShowOnSkipWithoutEvents",t[t.ShowOnSkipAndFinishWithoutEvents=2]="ShowOnSkipAndFinishWithoutEvents",t[t.ShowOnSkipWithEvents=3]="ShowOnSkipWithEvents",t[t.ShowOnSkipAndFinishWithEvents=4]="ShowOnSkipAndFinishWithEvents"}(BS||(BS={}));var JS,QS=function(){var t,e,r,n=null!==(t=null===(e=ys().media.dsp)||void 0===e||null===(r=e.skadn)||void 0===r?void 0:r.ask)&&void 0!==t?t:BS.Disabled;return{omitClickEventOnSkip:[BS.ShowOnSkipWithoutEvents,BS.ShowOnSkipAndFinishWithoutEvents].includes(n),openStoreKitOnFinish:[BS.ShowOnSkipAndFinishWithoutEvents,BS.ShowOnSkipAndFinishWithEvents].includes(n)}};function KS(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return tE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tE(t,e):void 0}}(t,e)||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 tE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(t){t[t.VideoScreen=0]="VideoScreen",t[t.EndCard=1]="EndCard"}(JS||(JS={}));var eE=function(t){var e,r,n=t.campaign,o=t.onFinish,i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,x.xh)((function(t){return t.campaignInfo.connectionType}));return(0,Co.useMemo)((function(){var n=(0,HS.AZ)(t.content,r)[e];if(!n)throw new Error("Lifecycle error: Invalid ad index, no vast ad found");var o=t.preloadedContent[e];if(!o)return n;var i=o.linear||n.linear;return WS(WS({},n),{},{companion:o.companion||n.companion,linear:i})}),[t,r,e])}(n),a=i.ad,c=i.linear,u=i.companion,l=c.creative,s=(u||{}).variations,f=function(t,e,r,n){var o=(0,x.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.adExperiences;return[e.allowSkip,e.skipInSeconds,e.skipEndCardOnClose,r.onAdContentFailedToStart,r.campaign.vastTracker,n.skipToAppSheetEnabled,n.skOverlayConfig]}),ko.X),i=KS(o,7),a=i[0],c=i[1],u=i[2],l=i[3],s=i[4],f=i[5],p=i[6],d=(0,Co.useRef)(!1),h=KS((0,Co.useState)(JS.VideoScreen),2),y=h[0],v=h[1],m=(0,Co.useCallback)((function(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=y===JS.EndCard?e:t;n&&(qh({skipToAppSheetClick:r,url:n}),d.current=!0)}),[e,t,y]),g=(0,Co.useCallback)((function(){m(!0);var t=QS().omitClickEventOnSkip;ht.ap.emit("ctaClick",{sendVastTrackerClick:!t})}),[m]),b=(0,Co.useCallback)((function(t){t?n():(Rd.getState().setCanPresent(!1),v(JS.EndCard))}),[n]),w=(0,Co.useCallback)((function(){y===JS.EndCard?ht.ap.emit("endCardClick",{}):ht.ap.emit("ctaClick",{sendVastTrackerClick:!0}),m()}),[m,y]),O=(0,Co.useCallback)((function(t,e){if(e)return b(!0);var n=!r||u;if(!d.current&&f)return wb({closeAdAfterAppSheet:n,onClose:function(){return b(n)},onOpen:function(){return g()}});b(n)}),[b,r,u,g,f]),S=(0,Co.useCallback)((function(){!d.current&&f&&QS().openStoreKitOnFinish&&m(),b(!r)}),[b,r,m,f]),E=(0,Co.useCallback)((function(t){if(t)return l(new Error("Video failed to start"));S()}),[S,l]),j=(0,Co.useCallback)((function(){var t=Oy(c,a);t>0&&s.setSkipDelay(t)}),[s,a,c]),P=(0,Co.useCallback)((function(t){s.setDuration(t/1e3)}),[s]),k=(0,Co.useCallback)((function(t){p&&Rd.getState().checkDelayStatus(t,p.videoDelay),s.setProgress(t/1e3)}),[p,s]);return{handlers:{handleOnCtaClick:w,handleOnDurationChange:P,handleOnEnded:S,handleOnLoadedData:j,handleOnSkip:O,handleOnStalled:E,handleOnTimeUpdate:k},screen:y}}(null===(e=l.videoClickThroughURLTemplate)||void 0===e?void 0:e.url,null==s||null===(r=s.find((function(t){return t.companionClickThroughURLTemplate})))||void 0===r?void 0:r.companionClickThroughURLTemplate,Boolean(u),o),p=f.handlers,d=f.screen;if(d===JS.VideoScreen)return(0,_o.tZ)(YS,{adVerifications:a.adVerifications,linear:c,vastEventHandlers:p});if(d===JS.EndCard&&u)return(0,_o.tZ)(FS,{companion:u,handleOnOpen:p.handleOnCtaClick,onFinish:o});throw new Error("Lifecycle error: no screen to render in vast ad")},rE=function(t){var e=t.campaign,r=t.onCampaignStart,n=t.onCampaignFinish,o=e.contentType,i=e.media;(0,Co.useEffect)((function(){r(e),o!==S.zc.GmaTpsc&&ht.ap.emit("campaignStart",{})}),[e,r,o]);var a=(0,Co.useCallback)((function(){ht.ap.emit("campaignFinish",{campaign:e}),Rd.getState().setCanPresent(!1),n()}),[e,n]);return o===S.zc.Comet?(0,_o.tZ)(Nb,{campaign:e,onFinish:a},i.campaignId):o===S.zc.Vast?(0,_o.tZ)(eE,{campaign:e,onFinish:a},i.campaignId):o===S.zc.Mraid||o===S.zc.Display?(0,_o.tZ)(vS,{campaign:e,onFinish:a},i.campaignId):o===S.zc.Banner?(0,_o.tZ)(Jh,{campaign:e},i.campaignId):o===S.zc.GmaScar||o===S.zc.GmaScarDisplay?(0,_o.tZ)(sw,{campaign:e,onFinish:a},i.campaignId):o===S.zc.GmaTpsc?(0,_o.tZ)(hS,{campaign:e,onFinish:a},i.campaignId):null},nE=r(74293);function oE(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return iE(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?iE(t,e):void 0}}(t,e)||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 iE(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var aE=function(){var t=oE((0,Po.oR)(jn,(function(t){return[t.onCampaignFinish,t.onCampaignError,t.onCampaignStart]}),ko.X),3),e=t[0],r=t[1],n=t[2],o=oE((0,Po.oR)(nE.TH,(function(t){var e;return[null===(e=t.campaignInfo)||void 0===e?void 0:e.campaign,t.adIdentificationOverlay]}),ko.X),2),i=o[0],a=o[1];return i?(0,_o.tZ)(eg,{children:(0,_o.BX)(Pd,{children:[a&&(0,_o.tZ)(To,{src:a}),(0,_o.tZ)(Id,{onError:r,children:(0,_o.tZ)(rE,{campaign:i,onCampaignStart:n,onCampaignFinish:e})})]})}):(0,_o.tZ)(Pd,{children:null})};function cE(t){return cE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cE(t)}function uE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uE(Object(r),!0).forEach((function(e){sE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sE(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cE(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==cE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===cE(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fE={"@media (orientation: portrait)":{"@media (min-height: 0)":{fontSize:6.4},"@media (min-height: 250px)":{fontSize:8},"@media (min-height: 320px)":{fontSize:11.2},"@media (min-height: 380px)":{fontSize:12.8},"@media (min-height: 460px)":{fontSize:15},"@media (min-height: 600px)":{fontSize:17.8},"@media (min-height: 980px)":{fontSize:25},"@media (min-height: 1050px)":{fontSize:30},"@media (min-height: 1175px)":{fontSize:35},"@media (min-height: 1375px)":{fontSize:40},"@media (min-height: 1675px)":{fontSize:48},"@media (min-height: 1975px)":{fontSize:56},"@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)":{fontSize:17.8}}},pE={"@media (orientation: landscape)":{"@media (min-width: 200px)":{fontSize:11.2},"@media (min-width: 320px)":{fontSize:12.8},"@media (min-width: 460px)":{fontSize:16},"@media (min-width: 760px)":{fontSize:20},"@media (min-width: 960px)":{fontSize:22.4},"@media (min-width: 1160px)":{fontSize:30},"@media (min-width: 1460px)":{fontSize:35},"@media (min-width: 1760px)":{fontSize:40}}},dE=function(){return(0,_o.tZ)(Zd.xB,{styles:(0,Zd.iv)({"#root":{height:"100%",width:"100%"},"*, *::before, *::after":{boxSizing:"border-box"},"[hidden]":{display:"none"},"b, strong":{fontWeight:"bolder"},body:{WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitTextSizeAdjust:"none",WebkitTouchCallout:"none",WebkitUserDrag:"none",WebkitUserSelect:"none",height:"100%",lineHeight:1.15,margin:0,padding:0,width:"100%"},button:{backgroundColor:"transparent",border:"none",fontFamily:"inherit",fontSize:"100%",lineHeight:1.15,margin:0,overflow:"visible",textTransform:"none"},'button, [type="button"]':{WebkitAppearance:"button"},'button::-moz-focus-inner, [type="button"]::-moz-focus-inner':{borderStyle:"none",padding:0},'button:-moz-focusring, [type="button"]:-moz-focusring':{borderStyle:"none",padding:0},"h1,h2,h3,h4,h5,h6":{fontWeight:"inherit",margin:0},html:lE(lE(lE({fontFamily:"Helvetica, sans-serif",height:"100%",width:"100%"},fE),pE),{},{backgroundColor:"#151515",color:"#fff"}),p:{margin:0}},"","")})},hE=r(56352),yE=function(){ht.ap.emit("render",{});var t=Pn().getState().nativeContext.systemLanguage;(0,jo.s)(document.getElementById("root")).render((0,_o.BX)(hE.f,{children:[(0,_o.tZ)(dE,{}),(0,_o.tZ)($a,{language:t,children:(0,_o.tZ)(aE,{})})]}))},vE=(r(40547),r(3320));function mE(t){return mE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mE(t)}function gE(){gE=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==mE(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function bE(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var wE=function(){var t,e=(t=gE().mark((function t(e){var r,n,o;return gE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,t.next=5,i.z.invoke("omidGetData");case 5:r=t.sent,n=e.serviceFilePath,o=e.sessionFilePath,vE.u.setState({omidData:r,serviceFilePath:n,sessionFilePath:o}),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),ht.ap.emitDiagnostic("openMeasurementError",{errorMessage:"Error fetching OM SDK data"});case 13:case"end":return t.stop()}}),t,null,[[2,10]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){bE(i,n,o,a,c,"next",t)}function c(t){bE(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),OE=r(45466),SE=r(72377),EE=function(t,e){var r,n,o=null===(r=t.placements)||void 0===r||null===(n=r[e])||void 0===n?void 0:n.mediaId,i=t.media;return i&&null!=o&&o.length?o.reduce((function(t,e){var r=i[e];return r&&t.push(r),t}),[]):[]};function xE(t){return xE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xE(t)}function jE(){jE=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==xE(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function PE(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var kE={"comet/campaign":!0,"programmatic/banner-html":!0,"programmatic/mraid":!0,"programmatic/static-interstitial":!0,"programmatic/vast-vpaid":!0},LE=function(){var t,e=(t=jE().mark((function t(e,r){var n,o,i,a,c,u,l=arguments;return jE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=l.length>2&&void 0!==l[2]?l[2]:kE,t.next=11;break;case 4:return o=t.sent,i=o.getLocalCampaigns,t.next=8,i();case 8:if(!(a=t.sent)){t.next=11;break}return t.abrupt("return",a);case 11:if(c=EE(e,r),(u=c.filter((function(t){var e=t.contentType,r=t.campaignId;return!!n[e]||(ht.ap.emit("adViewerInitError",{errorMessage:"Unsupported Content Type: ".concat(e,", campaignId: ").concat(r),type:ht.wE.UnsupportedContentType}),!1)}))).length){t.next=15;break}throw new SE.AN(SE.aH.NoFill,"No campaign available",!0);case 15:return t.abrupt("return",Promise.all(u.map((function(t){return(0,OE.I)(t)}))));case 16:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){PE(i,n,o,a,c,"next",t)}function c(t){PE(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function _E(t){return _E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_E(t)}var AE=["placements","placementsV2"];function TE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function CE(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==_E(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==_E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===_E(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function IE(t){var e=t.placements;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?TE(Object(r),!0).forEach((function(e){CE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):TE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({placements:t.placementsV2||e},function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(t,AE))}var DE=function(t,e){var r=t.osVersion,n=t.sdkVersion,o=e[0],i=(0,C.k)(r);if("ios"===(0,k.X)()){var a=L(o);null!=a&&a.itunesitem&&(i<6||i>=7&&i<=8.9||i>=13&&i<=13.9&&n<3510||15.7!==i&&((0,S.zd)(o)?I.setState({isSupported:!0}):I.setState({isSupported:i>=14})))}},NE=function(t,e){if((0,S.ri)(t[0]))return Promise.resolve();var r=function(t,e){var r=function(t){if((0,S.zd)(t)&&t.content&&t.content.gameId)return t.content.gameId}(t),n=new Zr.x6.v1.LoadedCampaignToken({campaignId:t.media.campaignId,startEventSent:e.startEventSent,targetGameId:r?Number(r):0,viewEventSent:e.viewEventSent});if(e.startEventTimestamp){var o=e.startEventTimestamp.getTime();n.startEventTimestamp=new Zr.lk.protobuf.Timestamp({nanos:o%1e3*1e6,seconds:o/1e3})}var i=Zr.x6.v1.LoadedCampaignToken.encode(n).finish();return nr.util.base64.encode(i,0,i.length)}(t[0],e[0]);return i.z.invoke("updateCampaignState",{data:r,dataVersion:1}).catch((function(){}))};function RE(t){return RE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},RE(t)}function ZE(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function FE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ZE(Object(r),!0).forEach((function(e){GE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ZE(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function GE(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==RE(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==RE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===RE(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ME=function(t,e,r){var n=e.isSkipToAppsheetEnabled,o=e.country,i=e.experimentation,a=e.sdkFeatureFlags,c=e.adDataRefreshDelayMs,u=e.fullScreenCtrOptOutStore,l=_t(i),s=function(t){if(null==t||!t.placementConfig)throw new Error("Lifecycle Error: extractPlacementConfig (no placement config)");var e=t.placementConfig,r=e.closeTimerDuration,n=e.allowSkip,o=e.skipInSeconds,i=e.adFormat,a=e.id,c=e.disableVideoControlsFade,u=e.skipEndCardOnClose,l=e.muteVideo,s=e.useCloseIconInsteadOfSkipIcon;if(!i||!a)throw new Error("Lifecycle Error: extractPlacementConfig (missing id or adformat)");return{adFormat:i,allowSkip:null!=n&&n,closeTimerDuration:null!=r?r:void 0,disableVideoControlsFade:null!=c&&c,id:a,muteVideo:null!=l&&l,skipEndCardOnClose:null!=u&&u,skipInSeconds:null!=o?o:0,useCloseIconInsteadOfSkipIcon:null!=s&&s}}(e);x.TH.setState({adIdentificationOverlay:or(null==r?void 0:r.adIdentificationOverlay),adUnit:{setOrientation:function(t,e){return In("genericDiagnostic",{data:JSON.stringify({allowed:e,forceOrientation:t}),type:"setOrientationCalled"}),Promise.resolve()}},impressionConfig:{adDataRefreshDelayMs:c,clickableVideoPublisherOptOut:u,coppaCompliant:!1,country:o,getExperimentation:l,isSkipToAppSheetEnabled:n,sdkFeatureFlags:a},native:FE(FE({},t),{},{platform:(0,k.X)(),webviewUa:navigator.userAgent,webviewVersion:"v1.33.2-ad-viewer"}),placement:{adFormat:s.adFormat,allowSkip:s.allowSkip,closeTimerDuration:s.closeTimerDuration,disableVideoControlsFade:s.disableVideoControlsFade,forceMute:s.muteVideo,placementId:s.id,skipEndCardOnClose:s.skipEndCardOnClose,skipInSeconds:s.skipInSeconds,useCloseIconInsteadOfSkipIcon:s.useCloseIconInsteadOfSkipIcon}})};function UE(t){return UE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},UE(t)}function VE(){VE=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==UE(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function zE(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var BE=function(){var t,e=(t=VE().mark((function t(){var e,r,n,o,a,c,u,l,s,f,p,d,h,y;return VE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.z.invoke("getAdContext");case 2:if(e=t.sent,r=e.adData,n=e.impressionConfig,o=e.nativeContext,a=e.adDataRefreshToken,c=e.openMeasurement,u=e.loadOptions,l=new Uint8Array(nr.util.base64.length(r)),nr.util.base64.decode(r,l,0),s=(0,Rr.y)(l),f=IE(JSON.parse(s)),p=Fr(n,Zr.Rl.v1.ImpressionConfiguration.decode),null!=(d=p.placementConfig)&&d.id){t.next=12;break}throw new Error("Lifecycle Error: loadAdContext placement id is undefined");case 12:return jn.setState({impressionConfiguration:p}),ME(o,p,u),wE(c),t.next=17,LE(f,d.id);case 17:h=t.sent,y=Array(h.length).fill({startEventSent:!1,viewEventSent:!1}),DE(o,h),jn.setState({adDataRefreshDelayMs:p.adDataRefreshDelayMs,adDataRefreshToken:a,auction:f,campaigns:h,eventStatuses:y,nativeContext:o}),NE(h,y);case 22:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){zE(i,n,o,a,c,"next",t)}function c(t){zE(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function YE(t){return YE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YE(t)}function HE(){HE=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==YE(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function qE(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function XE(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){qE(i,n,o,a,c,"next",t)}function c(t){qE(i,n,o,a,c,"throw",t)}a(void 0)}))}}var WE,$E=function(){var t=XE(HE().mark((function t(e){var r,n,o,a,c,u,l,s,f,p,d,h,y;return HE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n=e.adData,o=e.adDataRefreshToken,a=e.trackingToken,c=new Uint8Array(nr.util.base64.length(n)),nr.util.base64.decode(n,c,0),u=(0,Rr.y)(c),l=IE(JSON.parse(u)),s=Pn().getState(),f=s.impressionConfiguration,p=s.isShowing,d=null===(r=f.placementConfig)||void 0===r?void 0:r.id){t.next=12;break}return ht.ap.emit("adRefreshError",{errorMessage:ht.pM.NoPlacementId,type:ht.NR.AdRefreshOnLoad}),jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"}),t.abrupt("return");case 12:return t.next=14,LE(l,d);case 14:if(h=t.sent,y=Array(h.length).fill({startEventSent:!1,viewEventSent:!1}),!p){t.next=19;break}return jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_during_reload"}),t.abrupt("return");case 19:if(0!==h.length){t.next=22;break}return jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_no_fill"}),t.abrupt("return");case 22:if(NE(h,y),jn.setState({adDataRefreshRequest:void 0,adDataRefreshToken:o,auction:l,campaigns:h,eventStatuses:y,invalidationReason:"reuse_reloaded",trackingToken:a}),!a){t.next=28;break}return t.next=27,i.z.invoke("updateTrackingToken",{trackingToken:a}).catch((function(){ht.ap.emit("adRefreshError",{errorMessage:ht.pM.UpdateTrackingTokenError,type:ht.NR.AdRefreshOnLoad}),jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"})}));case 27:return t.abrupt("return",t.sent);case 28:ht.ap.emit("adRefreshError",{errorMessage:ht.pM.MissingTrackingTokenError,type:ht.NR.AdRefreshOnLoad}),jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"}),t.next=36;break;case 32:t.prev=32,t.t0=t.catch(0),ht.ap.emit("adRefreshError",{errorMessage:ht.pM.AuctionParseError,type:ht.NR.AdRefreshOnLoad}),jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"});case 36:case"end":return t.stop()}}),t,null,[[0,32]])})));return function(e){return t.apply(this,arguments)}}(),JE=function(){var t=XE(HE().mark((function t(e){var r;return HE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.z.invoke("refreshAdData",{adDataRefreshToken:e}),jn.setState({adDataRefreshRequest:r}),t.next=4,r.then((function(t){jn.getState().isShowing?jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_during_reload"}):$E(t)})).catch((function(){jn.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_no_fill"})}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),QE=(0,a.Z)(a.r.Core,"Notification","NOTIFICATION"),KE=function(t){return QE.invoke("addNotificationObserver",t,[]).catch((function(t){o.Tb(t)})),function(){QE.invoke("removeNotificationObserver",t).catch((function(t){o.Tb(t)}))}};function tx(t){return tx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tx(t)}function ex(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==tx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==tx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===tx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function rx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var nx=function(){(x.TH.getState().campaignInfo||{}).campaign&&ht.ap.emit("appBackground",{})},ox=function(){return x.TH.subscribe((function(t,e){var r=t.isForeground,n=e.isForeground;!1===r&&!1!==n&&nx()}))},ix=(ex(WE={},P.t.Ios,(function(){var t=Pn().getState().nativeContext.sdkVersion;if(!t||t<41100)return ox();var e=[QE.on("ACTION",(function(t){"UIApplicationDidEnterBackgroundNotification"===function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return rx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rx(t,e):void 0}}(t,e)||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.")}()}(t,1)[0]&&nx()})),KE("UIApplicationDidEnterBackgroundNotification")];return function(){return e.forEach((function(t){return t()}))}})),ex(WE,P.t.Android,ox),WE)[(0,k.X)()];function ax(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var cx,ux=function(){var t=i.z.on("ON_FOCUS_CHANGE",(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ax(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ax(t,e):void 0}}(t,e)||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.")}()}(t,1)[0];if(x.TH.getState().isForeground!==e){x.TH.setState({isForeground:e});var r=e?"focusGained":"focusLost";ht.ap.emit(r,{reason:"visibilityChanged"})}}));return t};function lx(t){return lx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lx(t)}function sx(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==lx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==lx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===lx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var px=(sx(cx={},P.t.Ios,(function(){var t=Pn().getState().nativeContext.sdkVersion;if(!t||t<41100)return function(){};var e=[QE.on("ACTION",(function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return fx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fx(t,e):void 0}}(t,e)||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.")}()}(t,1)[0];"UIApplicationDidBecomeActiveNotification"===e&&x.TH.setState({isAppActive:!0}),"UIApplicationWillResignActiveNotification"===e&&x.TH.setState({isAppActive:!1})})),KE("UIApplicationDidBecomeActiveNotification"),KE("UIApplicationWillResignActiveNotification")];return function(){return e.forEach((function(t){return t()}))}})),sx(cx,P.t.Android,(function(){return function(){}})),cx),dx=px[(0,k.X)()];function hx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return yx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yx(t,e):void 0}}(t,e)||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 yx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var vx=r(27837),mx=r(52921);function gx(t){return gx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gx(t)}function bx(){bx=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==gx(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function wx(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ox(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ox(t,e):void 0}}(t,e)||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 Ox(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Sx(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function Ex(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Sx(i,n,o,a,c,"next",t)}function c(t){Sx(i,n,o,a,c,"throw",t)}a(void 0)}))}}var xx=function(){var t=mx.Y.on(vx.h.WebviewInvocation,function(){var e=Ex(bx().mark((function e(r){var n,a,c,u,l;return bx().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=wx(r,2),a=n[0],c=n[1],"show"!==a){e.next=17;break}return e.prev=2,e.next=5,Gn("show",Ex(bx().mark((function t(){return bx().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ht.ap.emit("adViewerNativeShowCall",{showOptions:c}),t.next=3,jn.getState().show(c);case 3:case"end":return t.stop()}}),t)}))));case 5:e.next=16;break;case 7:return e.prev=7,e.t0=e.catch(2),u=e.t0,l=u.message,ht.ap.emit("adViewerNativeShowError",{code:10,message:l,showOptions:c}),e.next=14,i.z.invoke("failed",{code:10,message:l});case 14:console.error(e.t0),o.Tb(e.t0);case 16:t();case 17:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(t){return e.apply(this,arguments)}}());return function(){t()}},jx=[],Px=function(t){return jx.includes(t)};function kx(t){return kx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kx(t)}function Lx(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _x(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Lx(Object(r),!0).forEach((function(e){Ax(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Lx(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ax(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==kx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==kx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===kx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Tx={ic:0,it:0,lit:0,lst:0,ot:0,tst:!1,unsubscribeFromAppActiveChanges:null},Cx=(0,m.M)((function(t,e){return _x(_x({},Tx),{},{st:0,start:function(){t(_x(_x({},Tx),{},{st:performance.now()}))},onOpen:function(){var r=x.TH.subscribe((function(r,n){var o,i,a,c,u=r.isAppActive;u!==n.isAppActive&&(u?(i=(o=e()).it,a=o.lit,c=performance.now()-i,t({it:0,lit:c>a?c:a})):function(){var r=e(),n=r.ic,o=r.ot,i=r.lst,a=r.tst,c=performance.now(),u=c-o;t({ic:n+1,it:c,lst:a&&u>i?u:i,tst:!1})}())}));t({st:performance.now(),tst:!0,unsubscribeFromAppActiveChanges:r})},onComplete:function(){var r=e().unsubscribeFromAppActiveChanges;null==r||r(),t({unsubscribeFromAppActiveChanges:null})},stop:function(){var r=e().unsubscribeFromAppActiveChanges;null==r||r(),t(_x(_x({},Tx),{},{st:0,unsubscribeFromAppActiveChanges:null}))},getDuration:function(){var t=e(),r=t.st,n=function(t,e,r){for(var n=0,o=3.29,i=0,a=1/o,c=1;c<=75;c+=1)n+=c%2==0?1:0,i+=(c%2==0?1:-1)*Math.cos(c*a)/(c*c);o=16384*(o+=4*i)+225,i*=-3072;var u=t<(n=Math.round(n/7))&&e>o&&r>i,l=2*Math.round(4*Math.random());return u?l:l+1}(t.ic,t.lst,t.lit),o=performance.now()-r;return 10*Math.round(o/10)+n}})})),Ix=function(){return Cx.getState().getDuration()},Dx=r(36576);function Nx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Rx=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/i;function Zx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Fx=function(t){if(null===t||""===t)return-1;var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Zx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zx(t,e):void 0}}(t,e)||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.")}()}(t.split("v"),2)[1],r=function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Nx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Nx(t,e):void 0}}(t,e)||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.")}()}(Rx.exec(t)||[],4),r=e[1],n=e[2],o=e[3];if(void 0!==r&&void 0!==n)return{major:Number(r),minor:Number(n),patch:Number(o)}}(void 0===e?"":e);if(!r)return-1;var n=r.major,o=r.minor,i=r.patch;return(n?1e4*n+100*o+i:100*o+i)||-1},Gx={background:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_BACKGROUND,click:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_CLICK,completed:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_COMPLETED,error:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_ERROR,impression:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_IMPRESSION,install_opportunity:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_INSTALL_OPPORTUNITY,loaded:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_LOADED,paused:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_PAUSED,resume:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_RESUME,show:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_SHOW,stalled:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_STALLED,store_open:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_STORE_OPEN,video_creative_view:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_CREATIVE_VIEW,video_end:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_END,video_end_card_click:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_END_CARD_CLICK,video_first_quartile:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_FIRST_QUARTILE,video_midpoint:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_MIDPOINT,video_mute:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_MUTE,video_skip:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_SKIP,video_start:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_START,video_third_quartile:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_THIRD_QUARTILE,video_unmute:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_UNMUTE},Mx={reuse_during_reload:Zr.Rl.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_IMPRESSION,reuse_error:Zr.Rl.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_ERROR,reuse_no_fill:Zr.Rl.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_NO_FILL,reuse_reloaded:Zr.Rl.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_RELOADED},Ux=function(t){var e;return null!==(e=t&&Mx[t])&&void 0!==e?e:Zr.Rl.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_UNSPECIFIED},Vx=function(t){return(0,S.zd)(t)?function(t){if(t.cachedVideoAsset)return t.cachedVideoAsset.creativeId;var e=yb(t.content,t.cachedVideoAsset);return e===t.content.trailerPortraitStreaming?t.content.portraitCreativeId:e===t.content.trailerStreaming?t.content.creativeId:""}(t):""},zx=function(t){var e;return(0,S.zd)(t)&&(null===(e=t.cachedVideoAsset)||void 0===e?void 0:e.orientation)||""},Bx=function(t,e){var r,n=e||{},o=n.operativeId,a=n.normX,c=n.normY,u=n.storeOpenData,l=n.lifecycleData,s=n.installOpportunityData,f=jn.getState(),p=f.campaigns,d=f.videoOrientationAtShow,h=f.campaignIndex,y=f.invalidationReason,v=f.operativeEventCounters,m=null==p?void 0:p[h],g=null!==(r=v[t])&&void 0!==r?r:0;v[t]=g+1;var b=function(t,e){var r,n,o=e.campaign,i=e.deviceOrientation,a=e.invalidationReason,c=e.operativeId,u=e.normX,l=e.normY,s=e.storeOpenData,f=e.lifecycleData,p=e.installOpportunityData,d=e.eventSequenceNumber,h=function(t){return!!t&&t.contentType===S.zc.Comet&&(t.content.mraidUrl?!!t.content.mraidSrcDoc:function(t){var e=t.content,r=t.cachedVideoAsset,n=yb(e,r);return(0,Dx.K)()?(0,At.Vh)(n)!==n:(null==r?void 0:r.src)===n}(t))}(o),y=new Zr.Rl.v1.AdditionalData({cached:h,cachedOrientation:o?zx(o):"",campaignReuseReason:Ux(a),clickTargetId:c,eventSequenceNumber:d,installOpportunityData:p,lifecycleData:f,normalizedClickPositionX:u,normalizedClickPositionY:l,operativeEventType:(r=t,null!==(n=Gx[r])&&void 0!==n?n:Zr.Rl.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_UNSPECIFIED),storeOpenData:s,unityCreativeId:o?Vx(o):"",version:1,videoOrientation:i,webviewVersion:Fx("v1.33.2-ad-viewer")}),v=Zr.Rl.v1.AdditionalData.encode(y).finish();return nr.util.base64.encode(v,0,v.length)}(t,{campaign:m,deviceOrientation:d||"",eventSequenceNumber:g,installOpportunityData:s,invalidationReason:y,lifecycleData:l,normX:a,normY:c,operativeId:o,storeOpenData:u});return i.z.invoke("sendOperativeEvent",b)},Yx=function(t,e){var r=(x.TH.getState().campaignInfo||{}).campaign;r&&(0,S.zd)(r)&&Bx(t,e)},Hx=function(t,e){var r=ys();r.contentType===S.zc.Vast&&r.vastTracker[t](e)};function qx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xx(t){return Xx="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xx(t)}function Wx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function $x(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Jx(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?$x(Object(r),!0).forEach((function(e){Qx(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$x(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qx(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Xx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Xx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Kx(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var tj=function(t){var e=t.auctionInfo,r=null!=e?e:{},n=r.tracking,o=r.trackingEvent,i=r.trackingTemplates;if(!n||!o||!i)return[];var a=function(t,e){var r=Jx(Jx({},t.params),e.params);return Object.entries(r).reduce((function(t,e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Wx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wx(t,e):void 0}}(t,e)||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.")}()}(e,2),n=r[0],o=r[1];return t["{{".concat(n,"}}")]=o,t}),{})}(n,o);return o.urlIndices.map((function(t){return i[t]})).filter((function(t){return!!t})).map((function(t){return e=t,r=a,Object.entries(r).reduce((function(t,e){var r=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Kx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Kx(t,e):void 0}}(t,e)||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.")}()}(e,2),n=r[0],o=r[1];return t.replace(n,null!=o?o:"")}),e);var e,r}))},ej=function(t){var e=tj({auctionInfo:t});if(null!=e&&e.length){var r=e.map((function(e){return function(t,e){var r=new URL(t);return Object.entries(e).forEach((function(t){var e=function(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return qx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qx(t,e):void 0}}(t,e)||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.")}()}(t,2),n=e[0],o=e[1];o&&r.searchParams.append(n,o)})),r.toString()}(e,{hbMeta:null==t?void 0:t.hbMeta})}),[]);return r}};function rj(t){return rj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rj(t)}function nj(){nj=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==rj(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function oj(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var ij=function(){var t,e=(t=nj().mark((function t(e){var r,n,o;return nj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],null!==(r=navigator)&&void 0!==r&&r.userAgent&&n.push(["User-Agent",navigator.userAgent]),t.prev=2,t.next=5,(0,sr.b)({headers:n,method:"GET",options:{retryWithConnectionEvents:!0},url:e});case 5:t.next=11;break;case 7:t.prev=7,t.t0=t.catch(2),o=t.t0 instanceof Error?t.t0.message:"trackingTemplatesRequestError",In("genericDiagnostic",{data:JSON.stringify({errorMessage:o})});case 11:case"end":return t.stop()}}),t,null,[[2,7]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){oj(i,n,o,a,c,"next",t)}function c(t){oj(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),aj=function(t){var e=function(t){var e=Pn().getState(),r=e.auction,n=(e.impressionConfiguration.placementConfig||{}).id;if(n&&r)return function(t,e,r){var n,o,i=t.trackingTemplates,a=t.placements,c=null==a?void 0:a[e],u=null==c?void 0:c.tracking[0],l=null==u||null===(n=u.events)||void 0===n?void 0:n[r],s=null==c?void 0:c.mediaId[0],f=s?null===(o=t.media)||void 0===o?void 0:o[s]:void 0;return{hbMeta:null==c?void 0:c.hbMeta,media:f,tracking:u,trackingEvent:l,trackingTemplates:i}}(r,n,t)}(t),r=ej(e);if(null!=r&&r.length){var n=r.map((function(t){return ij(t)}));return Promise.all(n)}};function cj(t){return cj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},cj(t)}function uj(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function lj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?uj(Object(r),!0).forEach((function(e){sj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):uj(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==cj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===cj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fj=function(t){var e=jn.getState(),r=e.campaigns,n=e.eventStatuses,o=e.campaignIndex;if(r&&n){var i={};switch(t){case"video_start":i=lj(lj({},n[o]),{},{startEventSent:!0,startEventTimestamp:new Date});break;case"video_end":i=lj(lj({},n[o]),{},{viewEventSent:!0});break;default:return}var a=n.map((function(t,e){return e===o?lj(lj({},t),i):t}));jn.setState({eventStatuses:a}),NE(r,a)}};function pj(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return dj(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?dj(t,e):void 0}}(t,e)||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 dj(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var hj={adContentEnded:function(){fj("video_end"),Bx("video_end"),In("adContentEnded"),Hx("complete"),(0,GS._)("complete")},adContentFailedToStart:function(){In("adContentFailedToStart")},adContentFirstQuartile:function(){Bx("video_first_quartile"),In("adContentFirstQuartile"),(0,GS._)("firstQuartile")},adContentLoaded:function(){Bx("loaded"),In("adContentLoaded"),Hx("load"),(0,GS._)("loaded")},adContentMidPoint:function(){Bx("video_midpoint"),In("adContentMidPoint"),(0,GS._)("midpoint")},adContentMuted:function(){Hx("muted")},adContentPaused:function(){Bx("paused"),Hx("paused"),(0,GS._)("pause")},adContentResumed:function(){Bx("resume"),Hx("resume"),(0,GS._)("resume")},adContentRewarded:function(){In("adContentRewarded")},adContentSkip:function(){Bx("video_skip"),In("adContentSkip"),Hx("skip"),(0,GS._)("skipped")},adContentStalled:function(){Bx("stalled"),In("adContentStalled")},adContentStart:function(){fj("video_start"),Bx("video_start"),Bx("impression"),Bx("video_creative_view"),aj("start"),aj("impression"),Hx("impression"),In("adContentStart"),(0,GS._)("impression",!0)},adContentThirdQuartile:function(){Bx("video_third_quartile"),In("adContentThirdQuartile"),(0,GS._)("thirdQuartile")},adContentUnmuted:function(){Hx("unmuted")},adRefreshError:function(t){var e=t.type,r=t.errorMessage;In("adRefreshError",{errorMessage:r,type:e})},adRefreshInProgress:function(t){var e=t.type,r=t.state;In("adRefreshInProgress",{state:r,type:e})},adViewerInitError:function(t){var e=t.type,r=t.errorMessage;In("initError",{errorMessage:r,type:e})},adViewerInitInProgress:function(t){var e=t.type,r=t.isLoadedFromCache;In("initInProgress",{isLoadedFromCache:r,type:e})},adViewerNativeShowCall:function(){Bx("show"),In("nativeShowCall")},adViewerNativeShowError:function(){In("nativeShowError")},adViewerShowError:function(t){var e=t.type;In("showError",{type:e})},adViewerShowInProgress:function(t){var e=t.type,r=t.latency;In("showInProgress",{type:e},r)},appBackground:function(){Yx("background",{lifecycleData:{duration:Ix()}})},campaignError:function(t){var e=t.message;In("campaignError",{errorMessage:e})},campaignFinish:function(){In("campaignFinish"),(0,GS._)("finish")},campaignStart:function(){In("campaignStart"),(0,GS._)("start")},ctaClick:function(t){var e=t.clickData,r=t.sendVastTrackerClick;In("ctaClick"),Bx("click",e),(0,GS._)("click"),r&&Hx("click")},endCardClick:function(){Bx("video_end_card_click"),In("endCardClick"),Hx("companionClick")},endCardShow:function(){Hx("companionImpression")},focusGained:function(t){var e=t.reason;Px("focusForeground")&&In("genericDiagnostic",{data:e,type:ht.lO.FocusForeground})},focusLost:function(t){var e=t.reason;Px("focusBackground")&&In("genericDiagnostic",{data:e,type:ht.lO.FocusBackground})},htmlLoaded:function(){(0,GS._)("impression")},installOpportunity:function(t){var e,r,n,o=t.type,i=t.origin,a=t.dismissible;e={dismissible:a,origin:i,type:o},r=Object.keys(e).sort((function(t,e){return t.localeCompare(e)})),n=function(t){for(var e=5381,r=0;r<t.length;r++)e=(e<<5)+e+t.charCodeAt(r);return e>>>0}(JSON.stringify(e,r)),!w.has(n)&&(w.add(n),1)&&Bx("install_opportunity",{installOpportunityData:{dismissible:a,origin:i,type:o}})},placementComplete:function(){In("placementComplete"),Yx("completed",{lifecycleData:{duration:Ix()}}),Cx.getState().stop()},placementStart:function(){Cx.getState().start(),In("placementStart")},privacyError:function(t){var e=t.errorMessage;In("genericDiagnostic",{errorMessage:e,type:"privacyUpdateError"})},render:function(){In("initInProgress",{type:ht.ah.RenderSuccess})},renderError:function(t){In("initError",{errorMessage:t.error.message,type:ht.wE.RenderingError})},reportDiagnostic:function(t){var e=t.diagnosticEvent,r=t.tags,n=t.value;In(e,r,n)},storeClick:function(t){!function(t,e,r){Cx.getState().onOpen();var n=window.performance.now(),o=[],i=function(n,i,a){Cx.getState().onComplete(),o.forEach((function(t){return t()})),Bx("store_open",{normX:t,normY:e,operativeId:r,storeOpenData:{destination:i,duration:n,endEvent:a,startEvent:"click"}})};o.push(x.TH.subscribe((function(t,e){var r=t.isForeground,o=e.isForeground,a=I.getState().isOpen,c=Math.round(window.performance.now()-n);!r||o||a||i(c,"external","foreground")})),I.subscribe((function(t,e){var r=t.isOpen,o=e.isOpen,a=Math.round(window.performance.now()-n);!r&&o&&i(a,"dialog","appsheetclose")})))}(t.normX,t.normY,t.operativeId)},userInteraction:function(t){var e=t.type;In("userInteraction",{type:e})},userInteractionError:function(t){var e=t.type,r=t.errorMessage,n=t.reason,o=t.url;In("userInteractionError",{errorMessage:r,reason:n,type:e,url:o})},videoError:function(t){Bx("error"),In("videoError",{errorMessage:t.message})}},yj=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:hj,e=Object.entries(t).map((function(t){var e=pj(t,2),r=e[0],n=e[1];return ht.ap.on(r,n)}));return function(){return e.forEach((function(t){return t()}))}};function vj(t){return vj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vj(t)}function mj(){mj=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==vj(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function gj(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function bj(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){gj(i,n,o,a,c,"next",t)}function c(t){gj(i,n,o,a,c,"throw",t)}a(void 0)}))}}var wj=r(22226),Oj=r(6616),Sj=r(14431),Ej=r(94271),xj=function(t){var e,r,n,o;if(!t.exception||null===(e=t.exception.values)||void 0===e||!e[0])return t;var i=null===(r=t.exception.values)||void 0===r?void 0:r[0];return i.type&&null!==(n=t.contexts)&&void 0!==n&&null!==(o=n[i.type])&&void 0!==o&&o.isKnownError?null:t};!function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.tracesSampleRate,r=void 0===e?5e-4:e,n=t.sampleRate,o=void 0===n?5e-4:n,i=t.skipHandled,a=void 0!==i&&i,c=t.environment,u=void 0===c?"production":c;wj.T(),"production"===u&&Oj.S1({beforeSend:function(t){var e;return a&&"yes"===(null===(e=t.tags)||void 0===e?void 0:e.handled)?null:xj(t)},dsn:"https://7ce1b2bc84894e288547e60dc1177c12@o488710.ingest.sentry.io/6197035",environment:u,integrations:[new Sj.gE({startTransactionOnPageLoad:!1}),new Ej.S],release:"v1.33.2-ad-viewer",sampleRate:o,tracesSampleRate:r})}(),Gn("init",bj(mj().mark((function t(){var e,r,a,c,u,l,s,f,p,d,h,y,v;return mj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=yj(),ht.ap.emit("adViewerInitInProgress",{type:ht.ah.InitStart}),a=io(),c=xx(),void 0,m=i.z.on("ON_VISIBILITY_CHANGE",(function(t){var e=hx(t,1)[0];if(x.TH.getState().isForeground!==e){x.TH.setState({isForeground:e});var r=e?"focusGained":"focusLost";ht.ap.emit(r,{reason:"visibilityChanged"})}})),u=m,l=ux(),s=i.z.on("AD_REFRESH",(function(){var t,e=jn.getState(),r=e.adDataRefreshToken,n=e.adDataRefreshDelayMs,o=e.isShowing,i=e.campaigns,a=e.finishState;a?ht.ap.emit("adRefreshInProgress",{state:a,type:ht.NR.AdRefreshOnAdViewerFinished}):i&&(null===(t=i[0])||void 0===t?void 0:t.contentType)===S.zc.Banner||(o?jn.setState({adDataRefreshRequest:void 0}):r&&(ht.ap.emit("adRefreshInProgress",{state:a||"pendingCompletion",type:ht.NR.AdRefreshOnLoad}),setTimeout((function(){JE(r)}),n||100)))})),f=Dn(),p=i.z.on("CLOSE_PRIVACY",(function(){b.setState({isOpen:!1})})),d=i.z.on("ON_ACTIVITY_DESTROY",(function(){i.z.invoke("completed",n.Skipped)})),t.next=13,new Promise((function(t,e){if((0,xo.r)()){var r=document.createElement("script");r.src="https://webview.unityads.unity3d.com/videojs/8.16/video.min.js",r.onload=function(){return t()},r.onerror=function(){return e(new Error("Failed to load video plugin"))},document.head.appendChild(r)}else t()}));case 13:return t.next=15,Promise.all([BE(),mo(sn)]);case 15:return h=dx(),y=ix(),oe.k7.setState({advertisingTrackingId:"DEFAULT_IDFI",context:{},nonBehavioral:void 0,setPrivacyBlob:Eo}),b.setState({persistFsm:Ir}),yE(),t.next=22,i.z.invoke("loadComplete");case 22:return ht.ap.emit("adViewerInitInProgress",{isLoadedFromCache:null===(e=go())||void 0===e?void 0:e.toString(),type:ht.ah.InitComplete}),t.abrupt("return",(function(){c(),u(),l(),r(),s(),a(),f(),h(),y(),p(),d()}));case 26:t.prev=26,t.t0=t.catch(0),v=t.t0 instanceof Error?t.t0.message:"Unknown error",ht.ap.emit("adViewerInitError",{type:ht.wE.LoadError}),i.z.invoke("loadError",{code:0,message:v}),o.Tb(t.t0);case 32:case"end":return t.stop()}var m}),t,null,[[0,26]])}))))},68740:function(t,e,r){"use strict";r.d(e,{z:function(){return o}});var n=r(15608),o=(0,n.Z)(n.r.Ads,"AdViewer","ADVIEWER")},64456:function(t,e,r){"use strict";r.d(e,{q:function(){return o}});var n=r(46689),o=(0,n.Z)(n.r.Core,"DeviceInfo","DEVICEINFO")},95791:function(t,e,r){"use strict";r.d(e,{b:function(){return o}});var n=r(46689),o=(0,n.Z)(n.r.Core,"DeviceInfo","DEVICEINFO")},72377:function(t,e,r){"use strict";r.d(e,{AN:function(){return f},aH:function(){return s}}),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(79730),r(37406),r(67238),r(69223),r(3960),r(99029),r(95929),r(62141);var n=r(46689);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},i(t,e)}function a(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},u(t)}function l(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===o(e)?e:String(e)}var s,f=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(s,t);var e,r,n,o=(r=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=u(r);if(n){var o=u(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return a(this,t)});function s(t,e,r){var n,i,a,u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(n=o.call(this,e,r)).code=t,i=c(n),u="LoadError",(a=l(a="name"))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,n}return e=s,Object.defineProperty(e,"prototype",{writable:!1}),e}(r(27968).Z);!function(t){t.InitializeFailed="INITIALIZE_FAILED",t.InternalError="INTERNAL_ERROR",t.InvalidArgument="INVALID_ARGUMENT",t.NoFill="NO_FILL",t.Timeout="TIMEOUT"}(s||(s={})),(0,n.Z)(n.r.Ads,"Load")},18391:function(t,e,r){"use strict";r.d(e,{r:function(){return o}});var n=r(15608),o=(0,n.Z)(n.r.Core,"Request","REQUEST")},39531:function(t,e,r){"use strict";r.d(e,{A_:function(){return l},S3:function(){return f},Vh:function(){return p}}),r(7300),r(99029),r(20462),r(89734),r(95929),r(62141),r(19349),r(79730),r(86102),r(49922),r(3960),r(40289),r(41414),r(38379),r(5229),r(67238),r(74837),r(37406),r(67890),r(1645);var n=r(68740);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(){i=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function h(){}function y(){}function v(){}var m={};s(m,c,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,c)&&(m=b);var w=v.prototype=h.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function i(n,a,c,u){var l=p(t[n],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==o(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){i("next",t,c,u)}),(function(t){i("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return i("throw",t,c,u)}))}u(l.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){i(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return y.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:y,configurable:!0}),y.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),s(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),s(w,l,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function a(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function c(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function c(t){a(i,n,o,c,u,"next",t)}function u(t){a(i,n,o,c,u,"throw",t)}c(void 0)}))}}var u={},l=function(){var t=c(i().mark((function t(e){var r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.z.invoke("download",e);case 2:return r=t.sent,u[e.url]=r,t.abrupt("return",r);case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),s=function(){var t=c(i().mark((function t(e){var r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=u[e]){t.next=3;break}return t.abrupt("return",!1);case 3:return t.prev=3,t.next=6,n.z.invoke("isFileCached",r);case 6:if(t.sent){t.next=10;break}return delete u[e],t.abrupt("return",!1);case 10:t.next=15;break;case 12:return t.prev=12,t.t0=t.catch(3),t.abrupt("return",!1);case 15:return t.abrupt("return",!0);case 16:case"end":return t.stop()}}),t,null,[[3,12]])})));return function(e){return t.apply(this,arguments)}}(),f=function(){var t=c(i().mark((function t(){var e,r;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=Object.keys(u).length,t.next=3,Promise.all(Object.keys(u).map((function(t){return s(t)})));case 3:return r=Object.keys(u).length,t.abrupt("return",e-r);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),p=function(t){var e;return null!==(e=u[t])&&void 0!==e?e:t}},36576:function(t,e,r){"use strict";r.d(e,{K:function(){return a}});var n=r(32135),o=r(43213),i=r(15901),a=function(){if((0,i.k)()!==o.J.AdViewer)return!1;var t=n.TH.getState(),e=t.impressionConfig,r=(t.native||{}).sdkVersion,a=(e||{}).getExperimentation,c=null==a?void 0:a("useNativeCache");return!!(r&&r>=41e3&&c)}},63216:function(t,e,r){"use strict";r.d(e,{N:function(){return n},S:function(){return u}}),r(20462),r(89734),r(79730),r(86102),r(49922),r(3960),r(99029),r(95929),r(62141),r(40289),r(41414),r(38379),r(5229),r(67238),r(74837),r(37406),r(67890),r(1645);var n,o=r(64456);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function h(){}function y(){}function v(){}var m={};s(m,c,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,c)&&(m=b);var w=v.prototype=h.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,a,c,u){var l=p(t[n],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==i(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return o("throw",t,c,u)}))}u(l.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return y.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:y,configurable:!0}),y.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),s(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),s(w,l,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function c(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}!function(t){t[t.Silent=0]="Silent",t[t.Vibration=1]="Vibration",t[t.Sound=2]="Sound"}(n||(n={}));var u=function(){var t,e=(t=a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o.q.invoke("getRingerMode");case 2:return e=t.sent,t.abrupt("return",e===n.Silent||e===n.Vibration);case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){c(i,n,o,a,u,"next",t)}function u(t){c(i,n,o,a,u,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}()},5049:function(t,e,r){"use strict";r.d(e,{S:function(){return B}}),r(79730),r(3960),r(99029),r(95929),r(62141),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144);var n=r(70248),o=r(81630),i=(r(89734),r(92075),r(6035),r(40289),r(41414),r(38379),r(5229),r(67238),r(74837),r(37406),r(67890),r(1645),r(64456)),a=r(63216),c=r(79111),u=(r(77225),r(17326),r(72320));function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function s(){s=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function h(){}function y(){}function v(){}var m={};u(m,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,i)&&(m=b);var w=v.prototype=h.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,i,a,c){var u=p(t[n],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==l(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return y.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:y,configurable:!0}),y.displayName=u(v,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),u(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var d=function(){var t,e=(t=s().mark((function t(e){var r,n,o,i;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([e.getScreenWidth(),e.getScreenHeight()]);case 2:return r=t.sent,c=2,n=function(t){if(Array.isArray(t))return t}(a=r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(a,c)||function(t,e){if(t){if("string"==typeof t)return f(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(t,e):void 0}}(a,c)||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.")}(),o=n[0],i=n[1],t.abrupt("return",i>o?u.i5.Portrait:u.i5.Landscape);case 7:case"end":return t.stop()}var a,c}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function y(t){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},y(t)}function v(){v=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var m={};u(m,i,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,i)&&(m=b);var w=h.prototype=p.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==y(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return d.prototype=h,n(w,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),u(S.prototype,a,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),u(w,c,"Generator"),u(w,i,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=1e3,w={getAdNetworkIdsPlist:function(){return Promise.resolve(void 0)},getAdvertisingTrackingId:function(){return i.q.invoke("getAdvertisingTrackingId")},getAndroidId:function(t){return t>=4100?Promise.resolve(void 0):i.q.invoke("getAndroidId")},getApiLevel:function(){return i.q.invoke("getApiLevel")},getApkDigest:function(){return i.q.invoke("getApkDigest")},getBatteryLevel:function(){return i.q.invoke("getBatteryLevel")},getBatteryStatus:function(){return i.q.invoke("getBatteryStatus")},getCPUCount:(0,c.H)((function(){return i.q.invoke("getCPUCount")})),getCertificateFingerprint:function(){return i.q.invoke("getCertificateFingerprint")},getConnectionType:(0,c.H)((function(){return i.q.invoke("getConnectionType")}),b),getCurrentUiTheme:function(){return Promise.resolve(void 0)},getDeviceMaxVolume:(0,c.H)((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return i.q.invoke("getDeviceMaxVolume",t)})),getDeviceName:function(){return Promise.resolve(void 0)},getDeviceOrientation:function(){return d(w)},getDeviceVolume:(0,c.H)((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return i.q.invoke("getDeviceVolume",t)}),b),getElapsedRealtime:function(){return i.q.invoke("getElapsedRealtime")},getFreeMemory:(0,c.H)((function(){return i.q.invoke("getFreeMemory")}),b),getFreeSpace:(0,c.H)((function(){return i.q.invoke("getFreeSpace","INTERNAL")}),b),getHeadset:(0,c.H)((function(){return i.q.invoke("getHeadset")}),b),getIsMuted:function(){return(0,a.S)()},getLimitAdTrackingFlag:function(){return i.q.invoke("getLimitAdTrackingFlag")},getLocaleList:function(){return Promise.resolve(void 0)},getManufacturer:function(){return i.q.invoke("getManufacturer")},getModel:function(){return i.q.invoke("getModel")},getNetworkOperator:(0,c.H)((function(){return i.q.invoke("getNetworkOperator")}),b),getNetworkOperatorName:(0,c.H)((function(){return i.q.invoke("getNetworkOperatorName")}),b),getNetworkType:(0,c.H)((function(){return i.q.invoke("getNetworkType")}),b),getOpenAdvertisingTrackingId:function(){return i.q.invoke("getOpenAdvertisingTrackingId")},getOsVersion:(0,c.H)((function(){return i.q.invoke("getOsVersion")})),getPackageInfo:(0,c.H)((function(t){return t?i.q.invoke("getPackageInfo",t):i.q.invoke("getPackageInfo")})),getScreenBrightness:(0,c.H)((function(){return i.q.invoke("getScreenBrightness")})),getScreenDensity:(0,c.H)((function(){return i.q.invoke("getScreenDensity")})),getScreenHeight:function(){return i.q.invoke("getScreenHeight")},getScreenLayout:function(){return i.q.invoke("getScreenLayout")},getScreenScale:function(){return Promise.resolve(-1)},getScreenWidth:function(){return i.q.invoke("getScreenWidth")},getSkadnVersions:function(){return Promise.resolve(void 0)},getStores:function(){return"google"},getSystemBootTime:function(){return Promise.resolve(void 0)},getSystemLanguage:(0,c.H)((function(){return i.q.invoke("getSystemLanguage")})),getTimeZone:(0,c.H)((function(){return i.q.invoke("getTimeZone",!1)}),b),getTotalMemory:(0,c.H)((function(){return i.q.invoke("getTotalMemory")})),getTotalSpace:(0,c.H)((function(){return i.q.invoke("getTotalSpace","INTERNAL")})),getTrackingAuthorizationStatus:function(){return Promise.resolve(void 0)},getUniqueEventId:function(){return i.q.invoke("getUniqueEventId")},getUptime:(0,c.H)((function(){return i.q.invoke("getUptime")})),getVendorIdentifier:function(){return Promise.resolve(void 0)},isAdbEnabled:(0,c.H)((function(){return i.q.invoke("isAdbEnabled")}),b),isNetworkMetered:function(){return i.q.invoke("getNetworkMetered")},isRooted:(0,c.H)((function(){return i.q.invoke("isRooted")})),isSimulator:(0,c.H)(g(v().mark((function t(){var e;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,i.q.invoke("getFingerprint");case 2:return e=t.sent,t.abrupt("return",e.includes("generic"));case 4:case"end":return t.stop()}}),t)})))),isUSBConnected:function(){return i.q.invoke("isUSBConnected")},onVolumeChanged:function(t){i.q.invoke("registerVolumeChangeListener",3);var e=i.q.on("VOLUME_CHANGED",(function(e){var r,n,o=(n=3,function(t){if(Array.isArray(t))return t}(r=e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(r,n)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(r,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=o[0],a=o[1],c=o[2];return t(a,c,i)}));return function(){e(),i.q.invoke("unregisterVolumeChangeListener",3)}}},O=r(95791),S=r(46689),E=(0,S.Z)(S.r.Core,"TrackingManager"),x=r(82400);function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var P=r(60410),k=(r(42972),(0,S.Z)(S.r.Core,"MainBundle")),L=r(85544);function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}function A(){A=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==_(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function C(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var I=function(){var t,e=(t=A().mark((function t(){var e,r,n,o,i;return A().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=0,t.next=3,k.invoke("getDataForKey","DTSDKName").catch((function(){return[]}));case 3:return r=t.sent,c=2,n=function(t){if(Array.isArray(t))return t}(a=r)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(a,c)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?T(t,e):void 0}}(a,c)||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.")}(),"string"==typeof(o=n[1])&&(e=(0,L.k)(o.replace("iphoneos",""))),t.t0=L.k,t.next=10,O.b.invoke("getOsVersion");case 10:return t.t1=t.sent,i=(0,t.t0)(t.t1),t.abrupt("return",(u=i<e||0===e?i:e)>=16.1?["4.0","3.0","2.2","2.1","2.0","1.0"]:u>=14.6?["3.0","2.2","2.1","2.0","1.0"]:u>=14.5?["2.2","2.1","2.0","1.0"]:u>=14?["2.1","2.0","1.0"]:u>=11.3?["1.0"]:[]);case 13:case"end":return t.stop()}var a,c,u}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){C(i,n,o,a,c,"next",t)}function c(t){C(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function D(t){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D(t)}function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function R(){R=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:O(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function p(){}function d(){}function h(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(P([])));m&&m!==e&&r.call(m,i)&&(y=m);var g=h.prototype=p.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==D(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function O(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:k}}function k(){return{value:void 0,done:!0}}return d.prototype=h,n(g,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:d,configurable:!0}),d.displayName=u(h,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,u(t,c,"GeneratorFunction")),t.prototype=Object.create(g),t},t.awrap=function(t){return{__await:t}},b(w.prototype),u(w.prototype,a,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new w(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(g),u(g,c,"Generator"),u(g,i,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=P,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function Z(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function F(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Z(i,n,o,a,c,"next",t)}function c(t){Z(i,n,o,a,c,"throw",t)}a(void 0)}))}}var G,M=1e3,U={getAdNetworkIdsPlist:(0,P.H)((function(){return O.b.invoke("getAdNetworkIdsPlist")})),getAdvertisingTrackingId:function(){return O.b.invoke("getAdvertisingTrackingId")},getAndroidId:function(){return Promise.resolve(void 0)},getApiLevel:function(){return Promise.resolve(void 0)},getApkDigest:function(){return Promise.resolve("")},getBatteryLevel:function(){return O.b.invoke("getBatteryLevel")},getBatteryStatus:function(){return O.b.invoke("getBatteryStatus")},getCPUCount:(0,P.H)((function(){return O.b.invoke("getCPUCount")}),M),getCertificateFingerprint:function(){return Promise.resolve("")},getConnectionType:function(){return O.b.invoke("getConnectionType")},getCurrentUiTheme:(0,P.H)((function(){return O.b.invoke("getCurrentUITheme")}),M),getDeviceMaxVolume:(0,P.H)((function(){return O.b.invoke("getDeviceMaxVolume")})),getDeviceName:(0,P.H)((function(){return O.b.invoke("getDeviceName")})),getDeviceOrientation:function(){return d(U)},getDeviceVolume:(0,P.H)((function(){return O.b.invoke("getDeviceVolume")}),M),getElapsedRealtime:function(){return Promise.resolve(void 0)},getFreeMemory:(0,P.H)((function(){return O.b.invoke("getFreeMemory")}),M),getFreeSpace:(0,P.H)((function(){return O.b.invoke("getFreeSpace")}),M),getHeadset:(0,P.H)((function(){return O.b.invoke("getHeadset")}),M),getIsMuted:function(){return new Promise((function(t){var e=setTimeout((function(){x.ap.emitDiagnostic("iosMuteTimeoutError"),t(!0)}),2e3),r=O.b.on("MUTE_STATE_RECEIVED",(function(n){var o,i,a=(o=n,i=1,function(t){if(Array.isArray(t))return t}(o)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(o,i)||function(t,e){if(t){if("string"==typeof t)return j(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?j(t,e):void 0}}(o,i)||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.")}())[0];r(),clearTimeout(e),t(a)}));O.b.invoke("checkIsMuted").catch((function(){r(),clearTimeout(e),x.ap.emitDiagnostic("checkIsMutedError"),t(!0)}))}))},getLimitAdTrackingFlag:function(){return O.b.invoke("getLimitAdTrackingFlag")},getLocaleList:(0,P.H)((function(){return O.b.invoke("getLocaleList")})),getManufacturer:function(){return Promise.resolve("Apple")},getModel:(0,P.H)((function(){return O.b.invoke("getModel")})),getNetworkOperator:(0,P.H)(F(R().mark((function t(){var e;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O.b.invoke("getNetworkOperator");case 2:if("string"!=typeof(e=t.sent)){t.next=5;break}return t.abrupt("return",e);case 5:return t.abrupt("return","");case 6:case"end":return t.stop()}}),t)}))),M),getNetworkOperatorName:(0,P.H)(F(R().mark((function t(){var e;return R().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,O.b.invoke("getNetworkOperatorName");case 2:if("string"!=typeof(e=t.sent)){t.next=5;break}return t.abrupt("return",e);case 5:return t.abrupt("return","");case 6:case"end":return t.stop()}}),t)}))),M),getNetworkType:(0,P.H)((function(){return O.b.invoke("getNetworkType")}),M),getOpenAdvertisingTrackingId:function(){return Promise.resolve(void 0)},getOsVersion:(0,P.H)((function(){return O.b.invoke("getOsVersion")})),getPackageInfo:function(){return Promise.resolve(void 0)},getScreenBrightness:(0,P.H)((function(){return O.b.invoke("getScreenBrightness")})),getScreenDensity:function(){return Promise.resolve(-1)},getScreenHeight:function(){return O.b.invoke("getScreenHeight")},getScreenLayout:function(){return Promise.resolve(-1)},getScreenScale:function(){return O.b.invoke("getScreenScale")},getScreenWidth:function(){return O.b.invoke("getScreenWidth")},getSkadnVersions:(0,P.H)(I),getStores:function(){return"apple"},getSystemBootTime:(0,P.H)((function(){return O.b.invoke("getSystemBootTime")}),M),getSystemLanguage:(0,P.H)((function(){return O.b.invoke("getSystemLanguage")}),M),getTimeZone:(0,P.H)((function(){return O.b.invoke("getTimeZone",!1)}),M),getTotalMemory:(0,P.H)((function(){return O.b.invoke("getTotalMemory")})),getTotalSpace:(0,P.H)((function(){return O.b.invoke("getTotalSpace")})),getTrackingAuthorizationStatus:function(){return E.invoke("getTrackingAuthorizationStatus")},getUniqueEventId:function(){return O.b.invoke("getUniqueEventId")},getUptime:function(){return Promise.resolve(void 0)},getVendorIdentifier:(0,P.H)((function(){return O.b.invoke("getVendorIdentifier")}),M),isAdbEnabled:function(){return Promise.resolve(!1)},isNetworkMetered:function(){return Promise.resolve(void 0)},isRooted:(0,P.H)((function(){return O.b.invoke("isRooted")})),isSimulator:(0,P.H)((function(){return O.b.invoke("isSimulator")})),isUSBConnected:function(){return Promise.resolve(void 0)},onVolumeChanged:function(t){O.b.invoke("registerVolumeChangeListener");var e=O.b.on("VOLUME_CHANGED",(function(e){var r,n,o=(n=2,function(t){if(Array.isArray(t))return t}(r=e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(r,n)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(t,e):void 0}}(r,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=o[0],a=o[1];return t(i,a)}));return function(){e(),O.b.invoke("unregisterVolumeChangeListener")}}};function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function z(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==V(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==V(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===V(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var B=(z(G={},n.t.Android,w),z(G,n.t.Ios,U),G)[(0,o.X)()]},44609:function(t,e,r){"use strict";r.d(e,{b:function(){return d}}),r(20462),r(89734),r(11397),r(53133),r(86102),r(49922),r(20144),r(79730),r(7300),r(9347),r(48298),r(74837),r(66964),r(99143),r(3960),r(99029),r(95929),r(62141),r(40289),r(41414),r(38379),r(5229),r(67238),r(37406),r(67890),r(1645);var n=r(24312),o=r(65070);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(){a=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:E(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function h(){}function y(){}function v(){}var m={};s(m,c,(function(){return this}));var g=Object.getPrototypeOf,b=g&&g(g(L([])));b&&b!==e&&r.call(b,c)&&(m=b);var w=v.prototype=h.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function o(n,a,c,u){var l=p(t[n],t,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==i(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return o("throw",t,c,u)}))}u(l.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=x(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=p(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function L(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:_}}function _(){return{value:void 0,done:!0}}return y.prototype=v,n(w,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:y,configurable:!0}),y.displayName=s(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},O(S.prototype),s(S.prototype,u,(function(){return this})),t.AsyncIterator=S,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new S(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(w),s(w,l,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=L,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:L(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function s(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){s(i,n,o,a,c,"next",t)}function c(t){s(i,n,o,a,c,"throw",t)}a(void 0)}))}}var p={followRedirects:!1,retries:0,retryDelay:0,retryWithConnectionEvents:!1},d=function(){var t=f(a().mark((function t(e){var r,i,c,l,s,d,h,y,v,m,g,b,w;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.url,i=e.method,c=e.headers,l=void 0===c?[]:c,s=e.options,d=e.data,h=void 0===d?"":d,y=e.abortSignal,"file://"!==r.substring(0,7)){t.next=3;break}return t.abrupt("return",Promise.reject(new Error("FAILED")));case 3:return v={abortSignal:y,headers:l,method:i,options:u(u({},p),s),requestBody:h,retryCount:0,url:r},m=o.j.getState().storeRequest(v),g=m.id,b=m.promise,(0,n.W)(g,v),t.next=8,b;case 8:return w=t.sent,t.abrupt("return",u(u({},w),{},{json:function(){var t=f(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",JSON.parse(w.response));case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),text:function(){var t=f(a().mark((function t(){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",w.response);case 1:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()}));case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},24312:function(t,e,r){"use strict";r.d(e,{W:function(){return s}}),r(79730),r(3960),r(99029),r(95929),r(62141),r(20462),r(81688),r(11397),r(53133),r(86102),r(49922),r(20144);var n,o=r(70248),i=r(81630),a=r(18391);function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==c(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===c(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var l=(u(n={},o.t.Android,(function(t){var e=t.id,r=t.method,n=t.url,o=t.headers,i=t.requestBody,c=void 0===i?"":i,u=t.connectTimeout,l=void 0===u?3e4:u,s=t.readTimeout,f=void 0===s?3e4:s;"GET"===r&&a.r.invoke("get",e,n,o,l,f),"POST"===r&&a.r.invoke("post",e,n,c,o,l,f)})),u(n,o.t.Ios,(function(t){var e=t.id,r=t.method,n=t.url,o=t.headers,i=t.requestBody,c=void 0===i?"":i,u=t.connectTimeout,l=void 0===u?3e4:u;"GET"===r&&a.r.invoke("get",e,n,o,l),"POST"===r&&a.r.invoke("post",e,n,c,o,l)})),n),s=function(t,e){var r=e.options.timeout;(0,l[(0,i.X)()])({connectTimeout:r,headers:e.headers,id:t.toString(),method:e.method,readTimeout:r,requestBody:e.requestBody,url:e.url})}},65070:function(t,e,r){"use strict";r.d(e,{j:function(){return v}}),r(20462),r(89734),r(99029),r(62474),r(95929),r(62141);var n=r(43426);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return c(t)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u(t){var e="function"==typeof Map?new Map:void 0;return u=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return l(t,arguments,p(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,t)},u(t)}function l(t,e,r){return l=s()?Reflect.construct.bind():function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&f(o,r.prototype),o},l.apply(null,arguments)}function s(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function d(t,e,r){return(e=h(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===o(e)?e:String(e)}r(47977),r(11397),r(53133),r(86102),r(49922),r(20144),r(79730),r(37406),r(67238),r(51216),r(81688),r(69223),r(3960);var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(u,t);var e,r,n,o=(e=u,r=s(),function(){var t,n=p(e);if(r){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return a(this,t)});function u(){var t;i(this,u);for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return d(c(t=o.call.apply(o,[this].concat(r))),"name","AbortError"),t}return n=u,Object.defineProperty(n,"prototype",{writable:!1}),n}(u(Error)),v=(0,n.M)((function(t,e){return{callbackId:0,finishRequest:function(t,r,n){var o=e().requests,i=o.get(t);if(!i)throw new Error("Request not found for id ".concat(t));var a=i.callbacks,c=a.resolve,u=a.reject;"COMPLETE"===r?c(n):u(n),o.delete(t)},requests:new Map,storeRequest:function(r){var n=e(),o=n.callbackId,i=n.requests,a=o,c=new Promise((function(t,e){i.set(a,{callbacks:{reject:e,resolve:t},nativeRequest:r});var n=r.abortSignal;n&&n.addEventListener("abort",(function t(){i.delete(a),e(new y(n.reason||"Request aborted")),n.removeEventListener("abort",t)}))}));return t((function(t){return{callbackId:t.callbackId+1}})),{id:a,promise:c}}}}))},46689:function(t,e,r){"use strict";r.d(e,{r:function(){return n},Z:function(){return O}});var n,o,i=r(27837),a=r(52921),c=r(16687),u=(r(79730),r(3960),r(99029),r(95929),r(62141),r(11397),r(53133),r(86102),r(49922),r(20462),r(20144),r(70248)),l=r(81630);function s(t){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s(t)}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==s(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===s(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}!function(t){t[t.Core=0]="Core",t[t.Ads=1]="Ads",t[t.Analytics=2]="Analytics",t[t.Ar=3]="Ar",t[t.Banner=4]="Banner",t[t.China=5]="China",t[t.Store=6]="Store",t[t.Load=7]="Load",t[t.Show=8]="Show"}(n||(n={}));var p,d=(f(o={},n.Ads,"com.unity3d.services.ads.api."),f(o,n.Analytics,"com.unity3d.services.analytics.core.api."),f(o,n.Ar,"com.unity3d.services.ar.api."),f(o,n.Banner,"com.unity3d.services.banners.api."),f(o,n.China,"com.unity3d.services.china.api."),f(o,n.Core,"com.unity3d.services.core.api."),f(o,n.Load,"com.unity3d.services.services.ads.api."),f(o,n.Show,"com.unity3d.services.services.ads.api."),f(o,n.Store,"com.unity3d.services.store.core.api."),o);function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==h(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==h(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===h(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var v,m=(y(p={},n.Ads,"UADSApi"),y(p,n.Analytics,"UANAApi"),y(p,n.Ar,"UARApi"),y(p,n.Banner,"UADSApi"),y(p,n.China,""),y(p,n.Core,"USRVApi"),y(p,n.Load,"UADSApi"),y(p,n.Show,"UADSApi"),y(p,n.Store,"USTRApi"),p);function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function b(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===g(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var w=(b(v={},u.t.Android,d),b(v,u.t.Ios,m),v),O=function(t,e,r){var n=function(t,e,r){var n=(0,l.X)(),o=w[n];if(!o)throw new Error("Native bridge is not available on this platform: ".concat(n));return{__nativeMethodsType:void 0,eventCategory:r,path:o[t]+e}}(t,e,r);return function(t){var e=t.path,r=t.eventCategory;return{invoke:function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return i.J.invoke(e,t,n)},on:function(t,e){return a.Y.on((0,c.G)([r,t]),e)}}}(n)}},15608:function(t,e,r){"use strict";r.d(e,{Z:function(){return n.Z},r:function(){return n.r}});var n=r(46689)},11193:function(t,e,r){"use strict";r(26137),r(29722),r(6383)},10884:function(t,e,r){"use strict";r.d(e,{r:function(){return o}});var n=r(32135),o=function(){var t=(n.TH.getState().impressionConfig||{}).getExperimentation;return!!(null==t?void 0:t("useVideojs"))}},30481:function(t,e,r){var n={"./da_DK":[3327,223],"./da_DK.ts":[3327,223],"./de":[70149,913],"./de.ts":[70149,913],"./en":[49114],"./en.ts":[49114],"./es":[29044,352],"./es.ts":[29044,352],"./fi":[22352,135],"./fi.ts":[22352,135],"./fr":[34128,231],"./fr.ts":[34128,231],"./is":[30830,513],"./is.ts":[30830,513],"./it":[39535,928],"./it.ts":[39535,928],"./ja":[24218,43],"./ja.ts":[24218,43],"./ko":[47655,491],"./ko.ts":[47655,491],"./lt":[46845,564],"./lt.ts":[46845,564],"./nb":[59383,189],"./nb.ts":[59383,189],"./pt":[57108,665],"./pt.ts":[57108,665],"./pt_BR":[35369,298],"./pt_BR.ts":[35369,298],"./ro":[60502,136],"./ro.ts":[60502,136],"./ru":[77486,697],"./ru.ts":[77486,697],"./sv":[69952,15],"./sv.ts":[69952,15],"./tr":[21592,300],"./tr.ts":[21592,300],"./zh_Hans":[92393,796],"./zh_Hans.ts":[92393,796],"./zh_Hant":[54715,451],"./zh_Hant.ts":[54715,451]};function o(t){if(!r.o(n,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=n[t],o=e[0];return Promise.all(e.slice(1).map(r.e)).then((function(){return r(o)}))}o.keys=function(){return Object.keys(n)},o.id=30481,t.exports=o}},s={};function f(t){var e=s[t];if(void 0!==e)return e.exports;var r=s[t]={id:t,loaded:!1,exports:{}};return l[t].call(r.exports,r,r.exports,f),r.loaded=!0,r.exports}f.m=l,t=[],f.O=function(e,r,n,o){if(!r){var i=1/0;for(l=0;l<t.length;l++){r=t[l][0],n=t[l][1],o=t[l][2];for(var a=!0,c=0;c<r.length;c++)(!1&o||i>=o)&&Object.keys(f.O).every((function(t){return f.O[t](r[c])}))?r.splice(c--,1):(a=!1,o<i&&(i=o));if(a){t.splice(l--,1);var u=n();void 0!==u&&(e=u)}}return e}o=o||0;for(var l=t.length;l>0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[r,n,o]},f.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return f.d(e,{a:e}),e},r=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},f.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);f.r(o);var i={};e=e||[null,r({}),r([]),r(r)];for(var a=2&n&&t;"object"==typeof a&&!~e.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach((function(e){i[e]=function(){return t[e]}}));return i.default=function(){return t},f.d(o,i),o},f.d=function(t,e){for(var r in e)f.o(e,r)&&!f.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},f.f={},f.e=function(t){return Promise.all(Object.keys(f.f).reduce((function(e,r){return f.f[r](t,e),e}),[]))},f.u=function(t){return({15:"sv",43:"ja",135:"fi",136:"ro",189:"nb",223:"da_DK",231:"fr",298:"pt_BR",300:"tr",352:"es",451:"zh_Hant",491:"ko",513:"is",564:"lt",665:"pt",697:"ru",796:"zh_Hans",913:"de",928:"it"}[t]||t)+"."+{15:"f65c7946",43:"da2856fc",44:"d6febf2a",135:"ab1d161a",136:"a11b1e9c",155:"29dc65e4",189:"a951dba3",223:"beecba4a",231:"ac7f6183",245:"1749e172",298:"234caaae",300:"dc72efe1",352:"e01d126f",451:"2f67265f",491:"47c0d453",513:"fcf7904f",564:"8d70bfdb",665:"f9bb417d",697:"d059ee11",796:"bdf716cc",913:"80beaf64",928:"269ffbad"}[t]+".js"},f.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),f.hmd=function(t){return(t=Object.create(t)).children||(t.children=[]),Object.defineProperty(t,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+t.id)}}),t},f.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n={},o="unity-ads-sdk-webview:",f.l=function(t,e,r,i){if(n[t])n[t].push(e);else{var a,c;if(void 0!==r)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var s=u[l];if(s.getAttribute("src")==t||s.getAttribute("data-webpack")==o+r){a=s;break}}a||(c=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,f.nc&&a.setAttribute("nonce",f.nc),a.setAttribute("data-webpack",o+r),a.src=t),n[t]=[e];var p=function(e,r){a.onerror=a.onload=null,clearTimeout(d);var o=n[t];if(delete n[t],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((function(t){return t(r)})),e)return e(r)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),c&&document.head.appendChild(a)}},f.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},f.p="https://webview.unityads.unity3d.com/unity-ads-sdk-webview/",i=f.u,a=f.e,c={},u={},f.u=function(t){return i(t)+(c.hasOwnProperty(t)?"?"+c[t]:"")},f.e=function(t){return a(t).catch((function(e){var r=u.hasOwnProperty(t)?u[t]:3;if(r<1){var n=i(t);throw e.message="Loading chunk "+t+" failed after 3 retries.\n("+n+")",e.request=n,e}return new Promise((function(e){var n=3-r+1;setTimeout((function(){var o="cache-bust=true&retry-attempt="+n;c[t]=o,u[t]=r-1,e(f.e(t))}),1e3)}))}))},function(){var t={983:0};f.f.j=function(e,r){var n=f.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((function(r,o){n=t[e]=[r,o]}));r.push(n[2]=o);var i=f.p+f.u(e),a=new Error;f.l(i,(function(r){if(f.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}}),"chunk-"+e,e)}},f.O.j=function(e){return 0===t[e]};var e=function(e,r){var n,o,i=r[0],a=r[1],c=r[2],u=0;if(i.some((function(e){return 0!==t[e]}))){for(n in a)f.o(a,n)&&(f.m[n]=a[n]);if(c)var l=c(f)}for(e&&e(r);u<i.length;u++)o=i[u],f.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return f.O(l)},r=self.webpackChunkunity_ads_sdk_webview=self.webpackChunkunity_ads_sdk_webview||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))}(),f.O(void 0,[225],(function(){return f(11193)}));var p=f.O(void 0,[225],(function(){return f(32350)}));p=f.O(p)}();
//# sourceMappingURL=adViewer.04f22f25.js.map