brawl-stars-assets/56.250/ad-viewer/adViewer.1ea669bf.js
2024-06-25 07:49:52 +04:00

3 lines
No EOL
1 MiB
Raw Permalink 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.1ea669bf.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]="8be6d63b-6b6c-4d10-9c32-5929f4b74b4c",t._sentryDebugIdIdentifier="sentry-dbid-8be6d63b-6b6c-4d10-9c32-5929f4b74b4c")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"b559c59e7159c4c32635a895e84f35bc9da074fb"},function(){var t,e,r,n,o,i,a,c,u,l={6159:function(t,e,r){"use strict";r.d(e,{h:function(){return s},J:function(){return J}}),r(7326),r(5445),r(9029),r(462),r(5929),r(2141),r(6927);var n,o=r(9111);!function(t){t.Iframe="iframe",t.Native="native"}(n||(n={}));var i,a,c=(0,o.H)((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,e=new URLSearchParams(t).get("bridgemode");return e===n.Iframe?n.Iframe:n.Native})),u=(r(4837),r(1645),r(6102),r(9922),r(3960),r(7225),r(2921)),l=r(6687);r(2474),function(t){t.Error="ERROR",t.Ok="OK"}(i||(i={})),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"}(a||(a={}));var s,f={callbackId:0,deferrers:new Map};function p(t,e){return v(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)||d(t,e)||h()}function h(){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 d(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}}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}function v(t){if(Array.isArray(t))return t}function m(t){return m="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},m(t)}function g(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,w(n.key),n)}}function b(t,e,r){return(e=w(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function w(t){var e=function(t,e){if("object"!==m(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==m(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===m(e)?e:String(e)}!function(t){t.WebviewInvocation="webview-invocation"}(s||(s={})),r(1688),r(9734),r(1397),r(3133),r(144),r(9730);var O,S=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),b(this,"deferredPromise",void 0),b(this,"resolveExecutor",void 0),b(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}}])&&g(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),x=(r(2075),r(6035),r(289),r(1414),r(8379),r(5229),r(7238),r(7406),r(7890),r(2928)),j=r(248),E=r(1630),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)}},k={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)}},L=window.handleCallback&&window.handleInvocation?P:window.webviewbridge?k:void 0,_={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)}},A=window.webkit?_:void 0;function T(t){return T="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(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},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 E(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 h(){}function d(){}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=d.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"==T(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 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 D(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==T(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==T(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===T(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var N=(D(O={},j.t.Android,L),D(O,j.t.Ios,A),O),Z=function(){var t,e=(t=I().mark((function t(){var e,n,o;return I().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e=N[(0,E.X)()])){t.next=3;break}return t.abrupt("return",e);case 3:throw new Error("No webview bridge found");case 5:return t.next=7,r.e(155).then(r.bind(r,3155));case 7:return n=t.sent,o=n.localStorageBridge,t.abrupt("return",o);case 10: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,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 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 F(){F=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 E(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 h(){}function d(){}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=d.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"==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 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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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){return z(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)||U(t,e)||M()}function M(){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 U(t,e){if(t){if("string"==typeof t)return V(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)?V(t,e):void 0}}function V(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 z(t){if(Array.isArray(t))return t}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)}var Y=["COULDNT_GET_VALUE","Could not found value for key"],H=function(){var t,e=(t=F().mark((function t(e){var r,n,o,a,c;return F().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=R(e,4),n=r[0],o=r[1],a=r[2],c=r[3],"webview"!==n){t.next=5;break}u.Y.emit(s.WebviewInvocation,[o,c]),t.next=6;break;case 5:throw new Error("Unknown class ".concat(n));case 6:return t.prev=6,t.next=9,Z();case 9:t.sent.handleCallback(a.toString(),i.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){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)}}(),q={handleCallback:function(t){t.forEach((function(t){var e,r,n,o,a=R(t,3),c=a[0],u=a[1],l=a[2],s=f.deferrers,p=1===l.length?l[0]:l;u===i.Ok?null===(e=s.get(c))||void 0===e||e.resolve(p):(o=null!==(r=null==l?void 0:l[0])&&void 0!==r?r:"",Y.some((function(t){return"".concat(o).includes(t)}))||x.Tb(new Error("NativeBridge callback error: ".concat(p))),null===(n=s.get(c))||void 0===n||n.reject(p)),s.delete(c)}))},handleEvent:function(t){var e,r=z(e=t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(e)||U(e)||M(),n=r[0],o=r[1],i=r.slice(2);u.Y.emit((0,l.G)([n,o]),i)},handleInvocation:H};function X(t){return X="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},X(t)}function W(){W=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 E(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 h(){}function d(){}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=d.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"==X(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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,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 Q=function(){var t,e=(t=W().mark((function t(e,r){var n,o,i,a,c,u=arguments;return W().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>2&&void 0!==u[2]?u[2]:[],o=f.callbackId,i=f.deferrers,a=new S,i.set(o.toString(),a),c=[e,r,n,o.toString()],f.callbackId+=1,t.next=8,Z();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){$(i,n,o,a,c,"next",t)}function c(t){$(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();c()===n.Iframe?window.addEventListener("message",(function(t){if("ad-viewer"===t.data.type)if("callback"!==t.data.subtype)if("event"!==t.data.subtype){if("invocation"===t.data.subtype){var e=p(t.data.params,4),r=e[0],n=e[1],o=e[2],a=e[3];if("webview"!==r)throw new Error("Unknown class ".concat(r));u.Y.emit(s.WebviewInvocation,[n,a]),window.parent.postMessage({params:[o,i.Ok,[]],subtype:"callback",type:"ad-viewer"},"*")}}else{var c=v(b=t.data.params)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(b)||d(b)||h(),y=c[0],m=c[1],g=c.slice(2);u.Y.emit((0,l.G)([y,m]),g)}else t.data.params.forEach((function(t){var e,r,n=p(t,3),o=n[0],a=n[1],c=n[2],u=f.deferrers,l=1===c.length?c[0]:c;a===i.Ok?null===(e=u.get(o))||void 0===e||e.resolve(l):null===(r=u.get(o))||void 0===r||r.reject(l),u.delete(o)}));var b})):window.nativebridge=q;var K={iframe:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=f.callbackId,o=f.deferrers,i=new S;o.set(n.toString(),i),f.callbackId+=1;var a=[t,e,r,n.toString()];return window.parent.postMessage({params:a,subtype:"invocation",type:"ad-viewer"},"*"),i.promise},native:Q},J={invoke:K[c()]}},9114: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 and measurement from Unity",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 also agree to personalized experiences using data collected from associated Unity services such as Unity Analytics and Unity Mediation"},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 to show ads for other games we think you would enjoy or virtual items that may be useful to you. 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 an app to personalize your experience, such as data from its Unity Analytics and Unity Mediation services.",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 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 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 will collect device data and use 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 for games or products that you are clearly not interested in. For example, we track whether you download an app from an advertisement to determine what type of apps you like. Additionally, our select third-party partners may also have certain demographic data about you that they use to personalize your experience.",descriptionP3:"As part of the personalized advertising process, Unity will also share with our preferred 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 by Unity in a manner that results in payment for the display of the advertisement 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?"}}},9292: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={}))},8371: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(2075),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}},8349: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={}))},248: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={}))},8848:function(t,e,r){"use strict";r.d(e,{wR:function(){return n},H6:function(){return i},w7:function(){return a},s_:function(){return c},mX:function(){return p},kJ:function(){return f},fL:function(){return l},sY:function(){return u},bw:function(){return v}});var n,o,i,a,c,u,l,s="1.3.22-iab2982",f="Unity3d",p="".concat(f,"/").concat(s);!function(t){t.Full="full",t.Limited="limited"}(n||(n={})),function(t){t.Generis="generic",t.Video="video"}(o||(o={})),function(t){t.DefinedByJavaScript="definedByJavaScript",t.HtmlDisplay="htmlDisplay",t.NativeDisplay="nativeDisplay",t.Video="video",t.Audio="audio"}(i||(i={})),function(t){t.DefinedByJavaScript="definedByJavaScript",t.Unspecified="unspecified",t.Loaded="loaded",t.BeginToRender="beginToRender",t.OnePixel="onePixel",t.Viewable="viewable",t.Audioble="audible",t.Other="other"}(a||(a={})),function(t){t.Click="click",t.InvitationAccept="invataionAccept"}(c||(c={})),function(t){t.Preroll="preroll",t.Midroll="midroll",t.Postroll="postroll",t.Standalone="standalone"}(u||(u={})),function(t){t.Minimized="minimized",t.Collapsed="collapsed",t.Normal="normal",t.Expanded="expanded",t.FullScreen="fullscreen"}(l||(l={})),r(9349),r(462),r(9734),r(9029),r(5929),r(2141);var h="https://webview.unityads.unity3d.com/webview/public/omid/".concat(s),d={OMID_SESSION_CLIENT:"".concat(h,"/omid-session-client-v1.js"),OMID_VALIDATION_VERIFICATION_SCRIPT:"".concat(h,"/omid-validation-verification-script-v1.js"),OMWEB:"".concat(h,"/omweb-v1.js")},y=[d.OMWEB,d.OMID_SESSION_CLIENT].map((function(t){return{src:t}})),v=function(){var t;y.every((function(t){return!!document.querySelector('script[src="'.concat(t.src,'"]'))}))||(t=y,Promise.all(t.map((function(t){return new Promise((function(e,r){var n,o,i=document.createElement("script");i.async=!0,i.src=t.src,i.integrity=null!==(n=t.integrity)&&void 0!==n?n:"",i.crossOrigin=null!==(o=t.crossOrigin)&&void 0!==o?o:"anonymous",i.addEventListener("load",e),i.addEventListener("error",r),document.head.appendChild(i)}))}))))}},8542:function(t,e,r){"use strict";r.d(e,{a:function(){return l}}),r(9029),r(462),r(5511),r(5929),r(2141),r(2075),r(4837),r(7300);var n=r(2921),o="tracking-event",i=["adContentEnded","adContentFirstQuartile","adContentLoaded","adContentMidPoint","adContentStalled","adContentStart","adContentThirdQuartile"],a={},c=new Set,u=function(t,e){var r;if(!(i.includes(t)&&c.has(t)||"adContentSkip"===t&&c.has("adContentEnded")))return c.add(t),a[t]=(null!==(r=a[t])&&void 0!==r?r:0)+1,n.Y.emit(t,e,o)},l={counts:a,emit:u,emitDiagnostic:function(t,e,r){return u("reportDiagnostic",{diagnosticEvent:t,tags:e,value:r})},on:function(t,e){return n.Y.on(t,e,o)},resetCampaignEvents:function(){return c.clear()},resetCounts:function(){return Object.keys(a).forEach((function(t){return delete a[t]}))}}},7968: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=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"!==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 d},Z:function(){return P}}),r(1397),r(3133),r(6102),r(9922),r(462),r(144),r(9730),r(7406),r(7238),r(1216),r(1688),r(9223),r(9029),r(2474),r(5929),r(2141),r(3960);var d=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,x(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 x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}function j(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function E(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=x(e);if(r){var o=x(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,j(g(e),"name","WebviewError"),e}return n=i,Object.defineProperty(n,"prototype",{writable:!1}),n}(b(Error))},7277: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=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"!==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 d}}),r(7977),r(1397),r(3133),r(6102),r(9922),r(462),r(144),r(9730),r(7406),r(7238),r(1216),r(1688),r(9223),r(9029),r(2474),r(5929),r(2141),r(3960);var d=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))},2921:function(t,e,r){"use strict";r.d(e,{Y:function(){return o}}),r(7977);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)}}}},6687:function(t,e,r){"use strict";r.d(e,{G:function(){return n}}),r(4987),r(462),r(7977),r(1688);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}),"")}},9111:function(t,e,r){"use strict";r.d(e,{H:function(){return n.H}});var n=r(410)},410:function(t,e,r){"use strict";r.d(e,{H:function(){return n}}),r(9029),r(2474),r(462),r(5929),r(2141);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}}},28:function(t,e,r){"use strict";r.d(e,{v:function(){return d}}),r(9730),r(3960),r(9029),r(5929),r(2141),r(1397),r(3133),r(6102),r(9922),r(462),r(144);var n,o,i,a=r(9292),c=r(5054),u=r(1918);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),h=(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),d=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(h[n])return n;var o=(0,u.a)(t);return p[o]}},1918:function(t,e,r){"use strict";r.d(e,{a:function(){return o}});var n=r(9292),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}},7595:function(t,e,r){"use strict";r.d(e,{v:function(){return l}}),r(9730),r(3960),r(9029),r(5929),r(2141),r(1397),r(3133),r(6102),r(9922),r(462),r(144);var n,o=r(8349),i=r(5054);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}},9081:function(t,e,r){"use strict";r.d(e,{T:function(){return o}});var n=r(5054),o=function(t,e){return t>e?n.i.Landscape:n.i.Portrait}},2320:function(t,e,r){"use strict";r.d(e,{T8:function(){return i.T},i5:function(){return a.i},v0:function(){return n.v},v8:function(){return o.v}});var n=r(28),o=r(7595),i=r(9081),a=r(5054)},5054: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={}))},1630:function(t,e,r){"use strict";r.d(e,{X:function(){return o}}),r(7326),r(5445),r(9029),r(462),r(5929),r(2141),r(6927);var n=r(248),o=(0,r(9111).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}))},9025:function(t,e,r){"use strict";r.d(e,{p:function(){return i}}),r(462);var n=r(3426),o=r(8449),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)}]}}},5544: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(2684),r(7977),r(6102),r(9922),r(462),r(3960),r(9029),r(5929),r(2141),r(1645),r(7225),r(7326);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))}},3210:function(t,e,r){"use strict";r.d(e,{A:function(){return h}}),r(7035),r(462),r(1645),r(9347),r(9349);var n=r(8371),o=r(7277),i=r(2320),a=r(8106),c=r(3164),u=r(5995),l=r(2016),s=r(4724),f=function(t,e){var r=t.creatives.find((function(t){return"companion"===t.type}));if(!r)return null;var n=(0,s.fo)(r,e,!1);if(!n)return null;var o=(0,l.G)(n);return o?{creative:r,resource:o,variation:n}:null},p=function(t,e){var r=t.creatives.find((function(t){return"linear"===t.type}));if(!r)return null;var i=(0,c.C)(r.icons)||null,l=(0,a.e)(r.mediaFiles),s=(0,u.I)(l.video,e);if(s)return{contentType:n.zc.Vast,creative:r,icon:i,mediaFile:s,mediaFiles:l.video};if((0,u.I)(l.vpaid,e))throw new o.x("VPAID is not supported");return null},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.i5.Portrait,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cellular";if(!t.ads.length)throw new Error("No VastAds in VAST response");var n=t.ads.slice(0,1),o=n.map((function(t){var n=p(t,r);return n?{ad:t,companion:f(t,e),linear:n}:null})).filter((function(t){return null!==t}));if(0===o.length)throw new Error("Nothing to render in Vast ad");return o}},8106:function(t,e,r){"use strict";r.d(e,{e:function(){return o}}),r(4987),r(462);var n=r(2172),o=function(t){return t.reduce((function(t,e){return(0,n.W)(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:[]})}},2172:function(t,e,r){"use strict";r.d(e,{W:function(){return o}}),r(2075);var n=["video/mp4","video/webm"],o=function(t){var e=!!t.mimeType&&n.includes(t.mimeType);return!!t.fileURL&&e}},3164:function(t,e,r){"use strict";r.d(e,{C:function(){return n}}),r(7035),r(462);var n=function(t){return t.find((function(t){return Boolean(t.staticResource)}))}},5995:function(t,e,r){"use strict";var n;r.d(e,{I:function(){return a}}),r(4987),r(462),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 o={cellular:{max:n.CellMax,min:n.CellMin},none:void 0,wifi:{max:n.WifiMax,min:n.WifiMin}},i=function(t,e){return function(r){return r>=t&&r<=e}},a=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cellular",a=null!==(e=o[r])&&void 0!==e?e:o.cellular,c=a.min,u=a.max,l=i(c,u),s=t.reduce((function(t,e){var r=t||{},o=r.fileSize,i=void 0===o?0:o,a=r.bitrate,u=void 0===a?0:a,s=e.fileSize,f=void 0===s?0:s,p=e.bitrate;return f>n.SdkMax?t:l(f)&&(f<i||!l(i))?e:l(i)?t:t?Math.abs(f-c)<Math.abs(i-c)||p<u?e:t:e}),void 0);return s}},2016:function(t,e,r){"use strict";r.d(e,{G:function(){return n}});var n=function(t){var e,r,n;return(null===(e=t.htmlResources)||void 0===e?void 0:e.length)>0?{resource:t.htmlResources[0],type:"html"}:(null===(r=t.staticResources)||void 0===r?void 0:r.length)>0?{resource:t.staticResources[0],type:"static"}:(null===(n=t.iframeResources)||void 0===n?void 0:n.length)>0?{resource:t.iframeResources[0],type:"iframe"}:null}},4724:function(t,e,r){"use strict";r.d(e,{fo:function(){return c}}),r(144),r(9347),r(462),r(7035);var n=r(2320),o=r(2016),i=function(t){return!!(0,o.G)(t)},a=function(t,e){return(0,n.T8)(Number(t.width),Number(t.height))===e},c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.i5.Portrait,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=t.variations.filter(i),c=o.find((function(t){return a(t,e)}))||o[0];if(!c&&r)throw new Error("No variation found");return c}},4293: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(6102),r(9922),r(462),r(3960),r(9029),r(5929),r(2141),r(1645),r(7225),r(7326);var o,i=(3,function(t){if(Array.isArray(t))return t}(o=(0,r(9025).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]},2135: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(4293)},5903:function(t,e,r){"use strict";r.d(e,{J:function(){return a}}),r(7977);var n=r(2135),o=function(){var t=document.createElement("script");return t.type="text/javascript",t.src="https://config.unityads.unity3d.com/unity-ads-sdk-webview/mraid.0.0.3.js",t},i=function(t){var e=n.TH.getState(),r=e.native,o=e.impressionConfig,i=r,a=i.bundleId,c=i.limitAdTracking,u=i.sdkVersionName,l={bundleId:a,coppaCompliant:o.coppaCompliant,limitAdTracking:c,placementType:t,sdkVersionName:u},s=document.createElement("script");return s.type="text/javascript",s.textContent="\n window.placementType = '".concat(t,"';\n window.MRAID_ENV = ").concat(JSON.stringify(l),";\n "),s},a=function(t,e){var r=(new DOMParser).parseFromString(t,"text/html"),n=o(),a=i(e);return r.head.insertBefore(n,r.head.firstChild),r.head.insertBefore(a,r.head.firstChild),r.documentElement.innerHTML}},131:function(t,e,r){"use strict";r.d(e,{I:function(){return nt}}),r(462),r(9734),r(9730),r(6102),r(9922),r(3960),r(9029),r(5929),r(2141),r(289),r(1414),r(8379),r(5229),r(7238),r(4837),r(7406),r(7890),r(1645);var n=r(8542),o=r(8371),i=(r(1852),r(1216),r(7035),r(9347),r(7225),r(7326),r(1397),r(3133),r(144),r(7300),r(8298),r(6964),r(9143),r(5903)),a=r(5049),c=r(4609),u=r(7968),l=r(2320),s=(r(9349),function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=e.map((function(t){return new Promise((function(e,r){n.a.emitDiagnostic("imagePreload");var o=performance.now(),i=new Image,a=setTimeout((function(){n.a.emitDiagnostic("imagePreloadTimeout",{},2e3),e(t)}),2e3);i.onload=function(){n.a.emitDiagnostic("imagePreloadComplete",{},performance.now()-o),clearTimeout(a),e(t)},i.onerror=function(){n.a.emitDiagnostic("imagePreloadError",{},performance.now()-o),clearTimeout(a),r(new u.z("Failed to load image",!0))},i.src=t}))}));return Promise.all(o)}),f=r(2135);function p(t){return p="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},p(t)}function h(){h=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 d?e:d,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(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 d(){}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=d.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"==p(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 x(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=j(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 j(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,j(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 P(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 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(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 d(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,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(9537),r(2087),r(6927);var v=function(){var t,e=(t=h().mark((function t(e){var r,o,i,a,c,u,l;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=performance.now(),window.caches){t.next=4;break}return n.a.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.a.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.a.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 d(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)?d(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){y(i,n,o,a,c,"next",t)}function c(t){y(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),m=function(){for(var t=f.TH.getState().impressionConfig||{},e=t.getExperimentation,r=!(null==e||!e("usePreloadVideo")),o=!(null==e||!e("useCanPlayThrough")),i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];var l=a.map((function(t){return new Promise((function(e,i){n.a.emitDiagnostic("videoPreload");var a=performance.now(),c=document.createElement("video");c.preload="auto";var l=setTimeout((function(){n.a.emitDiagnostic("videoPreloadTimeout",{},1e3),e(void 0)}),1e3);c.onloadedmetadata=function(){n.a.emitDiagnostic("videoPreloadMetadataComplete",{},performance.now()-a),o||(clearTimeout(l),e(c.src))},c.oncanplaythrough=function(){n.a.emitDiagnostic("videoPreloadCanPlayThrough",{},performance.now()-a),o&&(clearTimeout(l),e(c.src))},c.onloadstart=function(){clearTimeout(l)},c.onload=function(){n.a.emitDiagnostic("videoPreloadComplete",{},performance.now()-a)},c.onerror=function(){var t;n.a.emitDiagnostic("videoPreloadError",{},performance.now()-a),clearTimeout(l),i(new u.z((null===(t=c.error)||void 0===t?void 0:t.message)||"Failed to load video",!0))},r?(n.a.emitDiagnostic("videoPreloadManualMode"),v(t).then((function(t){c.src=t,c.load()}))):(n.a.emitDiagnostic("videoPreloadAutoMode"),c.src=t,c.load())}))}));return Promise.all(l)};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){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 w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}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}function S(t,e){if(t){if("string"==typeof t)return x(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)?x(t,e):void 0}}function x(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 j(){j=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:S(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 h(){}function d(){}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 b=d.prototype=p.prototype=Object.create(y);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(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 S(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 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 P(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 h.prototype=d,n(b,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"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 E(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 P(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){E(i,n,o,a,c,"next",t)}function c(t){E(i,n,o,a,c,"throw",t)}a(void 0)}))}}var k=function(t){return"string"==typeof t&&t.trim().length>0},L=function(t,e,r){return r.indexOf(t)===e},_=function(t,e){var r=e===l.i5.Landscape;return k(t.endScreen)?t.endScreen:r&&k(t.endScreenLandscape)?t.endScreenLandscape:!r&&k(t.endScreenPortrait)?t.endScreenPortrait:null},A=function(t,e){var r={trailerDownloadable:{creativeId:t.creativeId,orientation:l.i5.Landscape,src:t.trailerDownloadable},trailerPortraitDownloadable:{creativeId:t.portraitCreativeId,orientation:l.i5.Portrait,src:t.trailerPortraitDownloadable},trailerPortraitStreaming:{creativeId:t.portraitCreativeId,orientation:l.i5.Portrait,src:t.trailerPortraitStreaming},trailerStreaming:{creativeId:t.creativeId,orientation:l.i5.Landscape,src:t.trailerStreaming}},n=["trailerDownloadable","trailerStreaming","trailerPortraitDownloadable","trailerPortraitStreaming"];e===l.i5.Portrait&&(n=["trailerPortraitDownloadable","trailerPortraitStreaming","trailerDownloadable","trailerStreaming"]);var o=n.find((function(t){return k(r[t].src)}));if(o)return r[o];throw new u.z("No valid trailer found",!0)},T=function(){var t=P(j().mark((function t(e){var r,n;return j().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.J)(n,"interstitial"));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var t=P(j().mark((function t(e){var r,n,o;return j().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,_(e,r)].filter(k).filter(L),o=A(e,r),t.abrupt("return",Promise.all([o,m(o.src),s.apply(void 0,(i=n,function(t){if(Array.isArray(t))return x(t)}(i)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(i)||S(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)}}(),C=function(){var t=P(j().mark((function t(e){var r,n,i,a,c,u,l,s;return j().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=(d=r=JSON.parse(e.content)).trailerStreaming,v=d.trailerPortraitStreaming,m=d.trailerDownloadable,g=d.trailerPortraitDownloadable,b=d.gameIcon,O=d.mraidUrl,(m||y||g||v)&&b||O){t.next=3;break}throw new Error("Invalid comet content");case 3:if(r.mraidUrl){t.next=11;break}return t.next=6,I(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)||S(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]?w(w({},c),{},{src:u[0]}):void 0;case 11:if(!(s=r.endScreenUrl||r.mraidUrl)){t.next=16;break}return t.next=15,T(s);case 15:l=t.sent;case 16:return t.abrupt("return",{cachedVideoAsset:n,content:w(w({},r),{},{mraidSrcDoc:l}),contentType:o.zc.Comet,media:e,willExpireAt:(h=e.cacheTTL,h?Date.now()+1e3*h:void 0)});case 17:case"end":return t.stop()}var f,p,h,d,y,v,m,g,b,O}),t)})));return function(e){return t.apply(this,arguments)}}(),D=function(t){var e=t.adUnitID||(n.a.emitDiagnostic("scarNoAdUnitId"),""),r=function(t){return t||(n.a.emitDiagnostic("scarNoQueryId"),"")}(t.queryId),i=function(t,e){if(!t)return e===o.zc.GmaScarDisplay?0:(n.a.emitDiagnostic("scarNoVideoLength"),15e3);var r=t;return t>=1e3&&(r=1e3*Math.round(t/1e3)),function(t){t>=6e4?n.a.emitDiagnostic("scarVideoLengthValue",{bucket:"above60s"}):n.a.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}},N=function(t){var e=(new DOMParser).parseFromString(t,"text/html"),r=e.createElement("script");return r.type="text/javascript",r.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",e.head.insertBefore(r,e.head.firstChild),e.documentElement.innerHTML},Z=/^<[\s!]*\w+([\s]*>|[\s]+[\s\S]*>)[\s\S]*<[\s]*\/[\s]*\w+[\s]*>$/,G=/^<[\s]*\w+([\s]*\/[\s]*>|[\s]+[\s\S]*>)$/,F=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=function(t){try{return decodeURIComponent(t)!==t}catch(t){return!1}}(e)?decodeURIComponent(e).trim():e;if(r=n.trim(),!Z.test(r)&&!G.test(r))throw new Error("Invalid markup passed in the ".concat(t.contentType," response"));var a=t.contentType===o.zc.Banner?"inline":"interstitial",c=(0,i.J)(n,a);return t.contentType===o.zc.GmaTpsc?{content:N(c),contentType:o.zc.GmaTpsc,media:t}:t.contentType===o.zc.Banner?{content:c,contentType:o.zc.Banner,media:t}:{content:c,contentType:o.zc.Mraid,media:t}},R=(r(4987),r(1688),r(2896)),M=r(4386),U=r(8848),V=r(7277),z=r(3210);function B(t){return B="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},B(t)}function Y(){Y=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 E(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 h(){}function d(){}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=d.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"==B(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 q(t){return function(t){if(Array.isArray(t))return W(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||X(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 X(t,e){if(t){if("string"==typeof t)return W(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)?W(t,e):void 0}}function W(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 $=function(t,e){return"string"==typeof t&&t.trim().length>0&&-1===e.indexOf(t)},Q=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;$(c,t.videos)&&t.videos.push(c);var u=null===(a=n.icon)||void 0===a?void 0:a.staticResource;$(u,t.images)&&t.images.push(u)}var l="static"===(null==i?void 0:i.resource.type)&&i.resource.resource.url;return $(l,t.images)&&t.images.push(l),t.containsAdVerifications=t.containsAdVerifications||r.adVerifications.length>0,t}),{containsAdVerifications:!1,images:[],videos:[]})},K=function(){var t,e=(t=Y().mark((function t(e){var r,i,c,u,l,f,p,h,d;return Y().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 R.VASTParser).parseVAST(r),a.S.getDeviceOrientation(),a.S.getConnectionType()]);case 3:i=t.sent,v=3,c=function(t){if(Array.isArray(t))return t}(y=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}}(y,v)||X(y,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],f=c[2],t.prev=8,p=(0,z.A)(u,l,f),t.next=18;break;case 12:if(t.prev=12,t.t0=t.catch(8),!(t.t0 instanceof V.x)){t.next=17;break}throw n.a.emitDiagnostic("vpaidCampaignReceived",{seatId:null===(h=e.seatId)||void 0===h?void 0:h.toString()}),new M.AN(M.aH.NoFill,t.t0.message,!0);case 17:throw t.t0;case 18:return d=Q(p),t.next=21,void 0,void 0,b=(g=d).videos,w=g.images,Promise.all([s.apply(void 0,q(w)),m.apply(void 0,q(b))]);case 21:return d.containsAdVerifications&&(0,U.bw)(),t.abrupt("return",{content:u,contentType:o.zc.Vast,media:e,preloadedContent:p});case 23:case"end":return t.stop()}var y,v,g,b,w}),t,null,[[8,12]])})),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)}))});return function(t){return e.apply(this,arguments)}}(),J=function(t){switch(t.contentType){case o.zc.Comet:return C;case o.zc.Vast:return K;case o.zc.Mraid:case o.zc.Display:case o.zc.GmaTpsc:case o.zc.Banner:return F;case o.zc.GmaScar:case o.zc.GmaScarDisplay:return D;default:throw n.a.emitDiagnostic("unknownContentType",{contentType:t.contentType}),new Error("Could not parse content: ".concat(t.contentType))}};function tt(t){return tt="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},tt(t)}function et(){et=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 E(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 h(){}function d(){}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=d.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"==tt(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 rt(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 nt=function(){var t,e=(t=et().mark((function t(e){var r,o;return et().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=J(e),t.next=4,r(e);case 4:return o=t.sent,n.a.emitDiagnostic("mediaParsed",{contentType:o.contentType}),t.abrupt("return",o);case 9:throw t.prev=9,t.t0=t.catch(0),n.a.emitDiagnostic("mediaParsedError",{contentType:e.contentType}),t.t0;case 13:case"end":return t.stop()}}),t,null,[[0,9]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){rt(i,n,o,a,c,"next",t)}function c(t){rt(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}()},9009:function(t,e,r){"use strict";r(9029),r(462),r(9734),r(5929),r(2141),r(9730),r(6102),r(9922),r(3960),r(289),r(1414),r(8379),r(5229),r(7238),r(4837),r(7406),r(7890),r(1645);var n=r(2928),o=(r(2075),r(6035),r(1688),r(1397),r(3133),r(144),r(7300),r(9347),r(8298),r(6964),r(9143),r(2135)),i=r(5608),a=(0,i.Z)(i.r.Ads,"AdViewer","ADVIEWER"),c=(r(4987),r(8291),r(7225),r(7326),function(t){return decodeURIComponent(escape(atob(t)))}),u=(r(2972),function(t){return t.replace(/[A-Z]/g,(function(t){return"_".concat(t.toLowerCase())}))});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}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){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 p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(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}var d=function(t,e,r){var n,i=o.TH.getState(),c=i.placement,s=i.campaignInfo,f=(n=p(p({},{adFormat:null==c?void 0:c.adFormat,contentType:null==s?void 0:s.campaign.contentType,wv:"v1.27.2-ad-viewer"}),e),Object.entries(n).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 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.")}()}(e,2),n=r[0],o=r[1];return void 0!==o&&(t[u(n)]=o),t}),{})),h="ad_viewer_".concat(u(t));void 0===r?a.invoke("sendDiagnosticEvent",h,f):a.invoke("sendDiagnosticEvent",h,f,r)},y=function(){var t,e,r;return null!==(t=window.PerformanceObserver)&&void 0!==t&&null!==(e=t.supportedEntryTypes)&&void 0!==e&&e.includes("resource")?(o.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];d("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(){}},v=r(7578);function m(t){return m="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},m(t)}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 k(o||[]);return n(a,"_invoke",{value:x(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 h(){}function d(){}var y={};u(y,i,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(L([])));b&&b!==e&&r.call(b,i)&&(y=b);var w=d.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"==m(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 x(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=j(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 j(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,j(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 P(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 h.prototype=d,n(w,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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 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)}var w=function(){var t,e=(t=g().mark((function t(e,r){var n,o;return g().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=v.Gd().startTransaction({name:e}),v.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){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,r){return e.apply(this,arguments)}}(),O=(0,i.Z)(i.r.Core,"Connectivity","CONNECTIVITY"),S=r(8391),x=r(4312),j=r(5070);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 P(t,e){if(e&&("object"===E(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return k(t)}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L(t){var e="function"==typeof Map?new Map:void 0;return L=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 _(t,arguments,I(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),T(n,t)},L(t)}function _(t,e,r){return _=A()?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&&T(o,r.prototype),o},_.apply(null,arguments)}function A(){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 T(t,e){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},T(t,e)}function I(t){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},I(t)}function C(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)}r(9537),r(5345),r(1216),r(9223),r(2474);var D=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&&T(t,e)}(i,t);var e,r,n,o=(e=i,r=A(),function(){var t,n=I(e);if(r){var o=I(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return P(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=k(n),u="RequestError",(c=C(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}(L(Error));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(2026),r(2087),r(6927),r(7977),r(7035),r(2870);var Z=function(t,e,r,n,o){var i=j.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,h=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 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}}(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||!h)return c(u,"COMPLETE",l);var d=function(t,e){if(t.startsWith("/"))try{var r=new URL(e).origin;return"".concat(r).concat(t)}catch(t){}return t}(h,e);return function(t){return t.match(/^https?/i)&&!t.match(/^https:\/\/itunes\.apple\.com/i)&&!t.match(/\.apk$/i)}(d)?(f.url=h,(0,x.W)(u,f)):c(u,"COMPLETE",l)}return function(t){return/[4-5][0-9]{2}/.test(t.toString())}(n)?c(u,"FAILED",new D("FAILED_WITH_ERROR_RESPONSE",f,l)):c(u,"FAILED",new D("FAILED_WITH_UNKNOWN_RESPONSE_CODE",f,l))}c(u,"COMPLETE",l)}};function G(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 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}}(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 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}var R=function(){var t=O.on("CONNECTED",(function(){j.j.getState().requests.forEach((function(t,e){var r=t.nativeRequest;r.options.retryWithConnectionEvents&&r.options.retries===r.retryCount&&(0,x.W)(e,r)}))})),e=S.r.on("COMPLETE",(function(t){var e=G(t,5),r=e[0],n=e[1],o=e[2],i=e[3],a=e[4];Z(r,n,o,i,a)})),r=S.r.on("FAILED",(function(t){var e=G(t,3),r=e[0];e[1],function(t,e){var r=j.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,x.W)(i,c)}),f);p||o(i,"FAILED",new D(e,c))}}(r,e[2])}));return function(){t(),e(),r()}},M=r(7769),U=(r(9349),r(1736));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){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 B(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 Y={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}}},H=function(t){return(0,U.tZ)(M.a,function(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){B(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}({theme:Y},t))};function q(t){return q="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},q(t)}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 W(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){$(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 $(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==q(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==q(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===q(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=W(W({},Y),{},{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"}}}),K=function(t){return(0,U.tZ)(M.a,W({theme:Q},t))},J=r(9025),tt=r(3426),et=r(7262);function rt(t){return function(t){if(Array.isArray(t))return nt(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 nt(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)?nt(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 nt(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 ot=(0,tt.M)((0,et.XR)((function(t){return{addRequest:function(e){t((function(t){return{requests:[].concat(rt(t.requests),[e])}}))},isConnected:!0,requests:[]}})));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 at(){at=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 E(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 h(){}function d(){}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=d.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"==it(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 ct(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 ut,lt=function(){var t,e=(t=at().mark((function t(){var e,r,n,o=arguments;return at().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=o.length,r=new Array(e),n=0;n<e;n++)r[n]=o[n];return t.prev=1,t.next=4,fetch.apply(void 0,r);case 4:return t.abrupt("return",t.sent);case 7:t.prev=7,t.t0=t.catch(1),ot.getState().addRequest(r);case 10:case"end":return t.stop()}}),t,null,[[1,7]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ct(i,n,o,a,c,"next",t)}function c(t){ct(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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)}function ht(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 dt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ht(Object(r),!0).forEach((function(e){yt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ht(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==st(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==st(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===st(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function vt(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.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.ConsentDeleteData="Privacy/Consent/Delete_Data",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"}(ut||(ut={}));var mt,gt,bt=(0,J.p)("privacyStore")(["context"],(function(t,e){var r=function(){var t,r=(t=ft().mark((function t(r,n){var o,i,a,c,u,l,s,f,p,h,d;return ft().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e().context,c=a.platform,u=a.sdkVersion,l=a.gameId,s=a.gamerToken,f=a.legalFramework,p=a.gameSessionId,t.next=3,null===(o=(i=e()).getSessionTokenCallback)||void 0===o?void 0:o.call(i);case 3:return h=t.sent,d={actionId:r,gameId:l,gameSessionId:p,gamerToken:s,legalFramework:f,permissions:n,platform:c,sdkVersion:u,sessionToken:h},t.abrupt("return",(y=d,void 0,v="".concat("https://publisher-config.unityads.unity3d.com","/privacy/actions/trace"),lt(v,{body:JSON.stringify(y),headers:{"Content-Type":"application/json"},method:"POST"})));case 6:case"end":return t.stop()}var y,v}),t)})),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,e){return r.apply(this,arguments)}}();return{advertisingTrackingId:"00000000-0000-0000-0000-000000000000",ctaPermissionsWereApplied:!1,fetch:function(){throw new Error("Open url callback has not been initialized by the application")},nonBehavioral:void 0,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")},trackPrivacyAction:r,updateContext:function(r){var n=dt(dt({},e().context),r);t({context:n})}}})),wt=(3,function(t){if(Array.isArray(t))return t}(mt=bt)||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}}(mt)||function(t,e){if(t){if("string"==typeof t)return vt(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)?vt(t,3):void 0}}(mt)||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.")}()),Ot=wt[0],St=wt[1],xt=wt[2];!function(t){t.NonBehavioral="user.nonbehavioral.value",t.NonBehavioralOld="user.nonBehavioral.value",t.Pipl="pipl.optinState.value"}(gt||(gt={}));var jt={hand:{actions:{back:"idle"},template:"hand_template"},idle:{actions:{hand:"hand"}}},Et=(0,tt.M)((function(){return{fsm:jt,isOpen:!1,navigationStack:[],screen:jt.idle}}));function Pt(t){return Pt="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},Pt(t)}function kt(t){return function(t){if(Array.isArray(t))return Lt(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 Lt(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)?Lt(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 Lt(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=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 E(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 h(){}function d(){}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=d.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"==Pt(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 At(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 Tt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){At(i,n,o,a,c,"next",t)}function c(t){At(i,n,o,a,c,"throw",t)}a(void 0)}))}}function It(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 Ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?It(Object(r),!0).forEach((function(e){Dt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dt(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Pt(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Pt(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nt,Zt=function(t){var e,r=null===(e=Et.getState().screen.actions)||void 0===e?void 0:e[t];return"close"===r||!r&&"back"===t?"idle":r},Gt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jt,e=Ct(Ct({},t),{},{idle:t.idle||jt.idle});Et.setState({fsm:e})},Ft=function(){var t=Tt(_t().mark((function t(e){return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.json();case 3:return t.abrupt("return",t.sent);case 6:return t.prev=6,t.t0=t.catch(0),t.abrupt("return",{});case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),Rt=function(){var t=Tt(_t().mark((function t(e,r,n){var o,i,a,c,u,l,s,f,p,h;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch("".concat("https://publisher-config.unityads.unity3d.com").concat(e),{body:JSON.stringify(n),headers:{"Content-Type":"application/json"},method:r.toUpperCase()});case 2:if(!(o=t.sent)){t.next=20;break}return t.next=6,Ft(o);case 6:if(u=t.sent,l=Et.getState(),o.ok){t.next=10;break}throw new Error("Privacy HttpAction Failed. Status: [".concat(o.status,"] Payload: ").concat(JSON.stringify(u)));case 10:return u.ctx&&Ot.getState().updateContext(u.ctx),u.fsm&&Gt(u.fsm),s=St().getState(),f={adsPlayer:u.adsPlayer||l.adsPlayer,ctx:Ct(Ct({},s.context),u.ctx),flow:(null===(i=u.ctx)||void 0===i?void 0:i.privacyFlow)||s.context.privacyFlow,fsm:JSON.stringify(u.fsm||l.fsm)},null!==(a=f.ctx)&&void 0!==a&&a.recordedPermissions&&(f.ctx.currentPermissions=null===(p=f.ctx)||void 0===p?void 0:p.recordedPermissions),t.next=17,null===(c=l.setPrivacyFsm)||void 0===c?void 0:c.call(l,f);case 17:if(!u.privacyBlob){t.next=20;break}return t.next=20,null===(h=s.setPrivacyBlob)||void 0===h?void 0:h.call(s,u.privacyBlob);case 20:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),Mt=function(){var t=Tt(_t().mark((function t(e,r){var n,o,i,a;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.endpoint,o=e.method,i=void 0===o?"post":o,a=e.parameters,n){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,Rt(n,i,Ct(Ct({},a),r));case 5:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Ut=function(){var t=Et.getState(),e=t.fsm,r=t.navigationStack,n=e.pre?"pre":"idle",o=r.pop()?kt(r):[],i=e[o.length?o[o.length-1]:n];return{navigationStack:null!=i&&i.template?o:[],nextScreen:i}},Vt=function(t){var e=Et.getState(),r=e.fsm,n=e.navigationStack,o=r[t];return{navigationStack:null!=o&&o.template?[].concat(kt(n),[t]):[],nextScreen:o}},zt=function(){var t=Tt(_t().mark((function t(e,r){var n,o,i,a,c;return _t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=Zt(e)){t.next=3;break}return t.abrupt("return",null);case 3:return o="string"==typeof n?{next:n}:n,t.next=6,Mt(o,r);case 6:if(o.next){t.next=8;break}return t.abrupt("return",null);case 8:if(i="back"===o.next?Ut():Vt(o.next),a=i.navigationStack,c=i.nextScreen){t.next=11;break}return t.abrupt("return",null);case 11:Et.setState({isOpen:!!c.template,navigationStack:a,screen:c});case 12:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),Bt=function(t){return!!Zt(t)},Yt=(0,tt.M)((function(){return{}}));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){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 Xt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qt(Object(r),!0).forEach((function(e){$t(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wt(){Wt=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 E(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 h(){}function d(){}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=d.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"==Ht(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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,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}function Qt(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 Kt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Qt(i,n,o,a,c,"next",t)}function c(t){Qt(i,n,o,a,c,"throw",t)}a(void 0)}))}}window.Cypress&&(window.userPrivacyStore=Yt),function(t){t.AgeGateUnderAgeLimit="privacy.agegateunderagelimit",t.AgeGateSource="privacy.agegatesource"}(Nt||(Nt={}));var Jt=function(){var t=Kt(Wt().mark((function t(e){var r,n,o,i,a,c,u,l,s,f,p,h,d,y,v,m,g,b;return Wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Ot.getState(),o=n.context,i=n.advertisingTrackingId,a=n.getSessionTokenCallback,c=Yt.getState(),u=c.ageGateUnderAgeLimit,l=c.ageGateSource,t.next=4,null==a?void 0:a();case 4:return s=t.sent,p=(f=o).bundleId,h=f.gamePrivacyMethod,d=f.gameSessionId,y=f.gamerToken,v=f.platform,m=f.userPrefsExist,g=f.agreedVersion,b=f.privacyFlow,t.abrupt("return",($t(r={advertisingTrackingId:i,agreedVersion:null!=e&&e.isInitialConsent?g:0,bundleId:p,firstRequest:!m,gamePrivacyMethod:h,gameSessionId:d,gamerToken:y,platform:v,privacyFlow:b,sessionToken:s},Nt.AgeGateUnderAgeLimit,u),$t(r,Nt.AgeGateSource,l),r));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),te=function(){var t=Kt(Wt().mark((function t(){var e,r,n,o,i;return Wt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=St().getState(),r=e.context.gameId,n=Yt.getState(),o=n.recordedPermissions,i=n.currentPermissions,!o){t.next=4;break}return t.abrupt("return");case 4:return t.t0=Rt,t.t1="/privacy/".concat(r,"/update/preferences"),t.t2=Xt,t.t3=Xt,t.t4={},t.next=11,Jt();case 11:return t.t5=t.sent,t.t6=(0,t.t3)(t.t4,t.t5),t.t7={},t.t8={permissions:i},t.t9=(0,t.t2)(t.t6,t.t7,t.t8),t.next=18,(0,t.t0)(t.t1,"POST",t.t9);case 18:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();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(){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 E(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 h(){}function d(){}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=d.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"==ee(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 ne(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 oe(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ne(Object(r),!0).forEach((function(e){ie(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ne(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ie(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}function ae(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 ce,ue=function(t,e){return Rt("/privacy/".concat(t,"/update/developer_consent"),"POST",e)},le=function(t){var e=Yt.getState().recordedPermissions;return!e||e.ads!==t||e.gameExp!==t||e.external!==t},se=function(){var t,e=(t=re().mark((function t(e){var r,n,o;return re().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=St().getState(),n=r.context.gameId,t.t0=oe,t.t1=oe({},e),t.next=5,Jt();case 5:t.t2=t.sent,o=(0,t.t0)(t.t1,t.t2),ue(n,o);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){ae(i,n,o,a,c,"next",t)}function c(t){ae(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();!function(t){t[t.Public=0]="Public",t[t.Private=1]="Private"}(ce||(ce={}));var fe=function(t){if("boolean"==typeof t)return t;if(t&&"string"==typeof t)switch(t.toLowerCase()){case"true":case"1":return!0;case"false":case"0":return!1;default:return}},pe=(0,tt.M)((function(){return{}}));function he(t){return he="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},he(t)}function de(){de=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 E(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 h(){}function d(){}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=d.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"==he(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 ye(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 ve(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)?ve(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 ve(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 me(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 ge(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){me(i,n,o,a,c,"next",t)}function c(t){me(i,n,o,a,c,"throw",t)}a(void 0)}))}}var be=function(){var t=ge(de().mark((function t(e){var r,n,o,i,a,c,u,l,s,f,p,h,d,y,v,m;return de().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=ye(r,6),o=n[0],i=n[1],a=n[2],c=n[3],u=n[4],l=n[5],s=r.map(fe),f=ye(s,6),p=f[0],h=f[1],d=f[2],y=f[3],v=f[4],m=f[5],pe.setState({gdprConsent:h,nonBehavioral:v,nonBehavioralLegacy:m,piplConsent:d,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),pe.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)}}(),we=function(){var t=ge(de().mark((function t(e){return de().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,be(e);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function Oe(t){return Oe="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},Oe(t)}function Se(){Se=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 E(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 h(){}function d(){}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=d.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"==Oe(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 xe(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 je(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)?je(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 je(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 Ee(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 Pe(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ee(i,n,o,a,c,"next",t)}function c(t){Ee(i,n,o,a,c,"throw",t)}a(void 0)}))}}var ke=function(t){Yt.subscribe((function(e,r){!function(t,e,r){t.recordedPermissions&&t.recordedPermissions!==e.recordedPermissions&&r.set("unity.privacy.permissions",t.recordedPermissions)}(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)}))},Le=function(){var t=Pe(Se().mark((function t(e){var r,n,o,i,a;return Se().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=xe(r,2),o=n[0],i=n[1],a=fe(o),Yt.setState({ageGateSource:i,ageGateUnderAgeLimit:a});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_e=function(){var t=Pe(Se().mark((function t(e){var r;return Se().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)&&Yt.setState({recordedPermissions:r});case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ae=function(){var t=Pe(Se().mark((function t(e){return Se().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,_e(e);case 2:return t.next=4,Le(e);case 4:Ot.subscribe((function(t,e){var r,n,o,i,a,c,u,l,s={};"boolean"==typeof(null===(r=t.context)||void 0===r?void 0:r.ageGateUnderAgeLimit)&&t.context.ageGateUnderAgeLimit!==(null===(n=e.context)||void 0===n?void 0:n.ageGateUnderAgeLimit)&&(s.ageGateUnderAgeLimit=t.context.ageGateUnderAgeLimit),null!==(o=t.context)&&void 0!==o&&o.ageGateSource&&t.context.ageGateSource!==(null===(i=e.context)||void 0===i?void 0:i.ageGateSource)&&(s.ageGateSource=t.context.ageGateSource),null!==(a=t.context)&&void 0!==a&&a.recordedPermissions&&t.context.recordedPermissions!==(null===(c=e.context)||void 0===c?void 0:c.recordedPermissions)&&(s.recordedPermissions=t.context.recordedPermissions,s.currentPermissions=t.context.recordedPermissions),null!==(u=t.context)&&void 0!==u&&u.currentPermissions&&t.context.currentPermissions!==(null===(l=e.context)||void 0===l?void 0:l.currentPermissions)&&(s.currentPermissions=t.context.currentPermissions),Yt.setState(s)})),ke(e);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Te=r(8542);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 Ce(){Ce=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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 De(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 Ne=function(){var t,e=(t=Ce().mark((function t(e){return Ce().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.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){De(i,n,o,a,c,"next",t)}function c(t){De(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function Ze(t){return Ze="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},Ze(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 E(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 h(){}function d(){}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=d.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"==Ze(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 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)}var Re,Me,Ue=function(){var t,e=(t=Ge().mark((function t(e){var r,n;return Ge().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=JSON.stringify(e),n=btoa(unescape(encodeURIComponent(r))),t.next=4,a.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){Fe(i,n,o,a,c,"next",t)}function c(t){Fe(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),Ve=r(6689);!function(t){t.Private="PRIVATE",t.Public="PUBLIC"}(Re||(Re={})),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"}(Me||(Me={}));var ze=(0,Ve.Z)(Ve.r.Core,"Storage","STORAGE"),Be={"analytics.sessionid":Re.Private,"analytics.userid":Re.Private,"framework.name.value":Re.Public,"framework.version.value":Re.Public,"mediation.name.value":Re.Public,"mediation.ordinal.value":Re.Public,"mediation.version.value":Re.Public,"pipl.optinState.value":Re.Private,"player.encryptedStore.value":Re.Private,"player.server_id.value":Re.Public,"unifiedconfig.data":Re.Private,"user.clickCount":Re.Private,"user.nonBehavioral.value":Re.Public,"user.nonbehavioral.value":Re.Public,"user.requestCount":Re.Private,"user.requestToReadyTime":Re.Private};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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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=function(){var t=Xe(He().mark((function t(e){var r,n=arguments;return He().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:Re.Private,t.prev=1,t.next=4,ze.invoke("get",r,e);case 4:return t.abrupt("return",t.sent);case 7:t.prev=7,t.t0=t.catch(1);case 9:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e){return t.apply(this,arguments)}}(),$e=function(){var t=Xe(He().mark((function t(e,r,n){var o,i=arguments;return He().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=i.length>3&&void 0!==i[3]?i[3]:Re.Private,t.prev=1,t.next=4,ze.invoke("set",o,e,r);case 4:if(!n){t.next=7;break}return t.next=7,ze.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)}}(),Qe={readKey:We,writeKey:$e},Ke=function(t){return We(t,Be[t])},Je=function(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return $e(t,e,r,Be[t])};function tr(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 er,rr={get:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Qe.readKey(t,e?Re.Public:Re.Private)},onSet:function(t){ze.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 tr(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)?tr(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===Re.Public?ce.Public:ce.Private,o)}))},set:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Qe.writeKey(t,e,!0,r?Re.Public:Re.Private)}},nr=r(9488),or=r(1963),ir=r(8449),ar=r(363),cr=r(8371),ur=function(t){var e=(0,cr.zd)(t);if(e||(0,cr.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}}};!function(t){t[t.Bottom=0]="Bottom",t[t.BottomRaised=1]="BottomRaised"}(er||(er={}));var lr,sr=(0,Ve.Z)(Ve.r.Ads,"Overlay","SKOVERLAY"),fr=r(248),pr=r(1630),hr=r(5544);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 yr(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 vr=(yr(lr={},er.Bottom,"100"),yr(lr,er.BottomRaised,"150"),lr),mr=function(t,e,r){var n=r.clickableVideoPublisherOptOut,o=r.skOverlayPublisherOptOut,i=r.sdkVersion,a=r.osVersion,c=t.media.dsp,u=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}(c,e("ctaAdTextAllowList")),l=function(t,e){return!e&&!!(null==t?void 0:t.clickableVideo)}(c,n),s=function(t,e,r,n){var o;if((0,pr.X)()===fr.t.Ios&&!(r<4100)){var i=(0,hr.k)(n);if(!(i<=14&&17!==i)&&!e&&(null==t||null===(o=t.skadn)||void 0===o?void 0:o.skOverlay)){var a,c=null===(a=t.skadn)||void 0===a?void 0:a.skOverlayConfig;return{dismissable:(null==c?void 0:c.dismissable)||!0,position:(null==c?void 0:c.position)||er.Bottom,videoDelay:1e3*((null==c?void 0:c.videoDelay)||5)}}}}(c,o,i,a);return{clickableVideoEnabled:l,customCtaText:u,skOverlayConfig:s}},gr=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}},br=function(t,e){return e?Math.round(t/e*100):0},wr=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t<0||e<0?-1:r?br(t,e):t/e},Or=r(3040),Sr=r(887);function xr(t){return xr="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},xr(t)}var jr=["children","className"];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 Pr(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){kr(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}function kr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==xr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==xr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===xr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Lr=(0,Or.Z)("div",{target:"e37qojm1"})({name:"d3v9zr",styles:"overflow:hidden"}),_r=(0,Or.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"}}),""),Ar=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,jr);return(0,U.tZ)(Lr,{className:r,children:(0,U.tZ)(_r,Pr(Pr({},n),{},{children:e}))})};function Tr(t){return Tr="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},Tr(t)}var Ir=["children"];function Cr(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 Dr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Cr(Object(r),!0).forEach((function(e){Nr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Tr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Tr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Tr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zr=(0,Or.Z)("svg",{target:"e1eiiw290"})({name:"1oyk87u",styles:"display:inline-block;fill:currentColor;flex-shrink:0;height:1em;user-select:none;width:1em"}),Gr=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,Ir);return(0,U.tZ)(Zr,Dr(Dr({xmlns:"http://www.w3.org/2000/svg"},r),{},{children:e}))};function Fr(t){return Fr="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},Fr(t)}function Rr(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 Mr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rr(Object(r),!0).forEach((function(e){Ur(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ur(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Fr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Fr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Fr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vr=function(t){return(0,U.tZ)(Gr,Mr(Mr({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 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(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 Yr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Br(Object(r),!0).forEach((function(e){Hr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Br(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Hr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==zr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==zr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===zr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qr=function(t){return(0,U.tZ)(Gr,Yr(Yr({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 Xr(t){return Xr="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},Xr(t)}function Wr(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 $r(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wr(Object(r),!0).forEach((function(e){Qr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Qr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Xr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Xr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Xr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kr=function(t){return(0,U.tZ)(Gr,$r($r({"aria-label":"China Ad Icon",viewBox:"0 0 123.5 60.3"},t),{},{children:(0,U.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 Jr(t){return Jr="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},Jr(t)}function tn(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 en(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tn(Object(r),!0).forEach((function(e){rn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Jr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Jr(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Jr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nn=function(t){return(0,U.tZ)(Gr,en(en({viewBox:"0 0 31.9 32"},t),{},{children:(0,U.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 on(t){return on="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},on(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 cn(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){un(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 un(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==on(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==on(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===on(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ln=function(t){return(0,U.tZ)(Gr,cn(cn({"aria-label":"Unity Ads Logo Icon",viewBox:"0 0 312.94 79.6"},t),{},{children:(0,U.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 sn(t){return sn="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},sn(t)}function fn(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 pn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fn(Object(r),!0).forEach((function(e){hn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fn(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"!==sn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==sn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===sn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dn=function(t){return(0,U.tZ)(Gr,pn(pn({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 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 vn(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 mn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vn(Object(r),!0).forEach((function(e){gn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gn(t,e,r){return(e=function(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)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bn=function(t){return(0,U.tZ)(Gr,mn(mn({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 wn(t){return wn="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},wn(t)}function On(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 Sn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?On(Object(r),!0).forEach((function(e){xn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):On(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function xn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==wn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==wn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===wn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jn=function(t){return(0,U.tZ)(Gr,Sn(Sn({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 En(t){return En="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},En(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 kn(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){Ln(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 Ln(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==En(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==En(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===En(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _n=function(t){return(0,U.tZ)(Gr,kn(kn({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 An(t){return An="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},An(t)}function Tn(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 In(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Tn(Object(r),!0).forEach((function(e){Cn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Tn(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"!==An(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==An(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===An(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dn=function(t){return(0,U.tZ)(Gr,In(In({viewBox:"0 0 37.5 22"},t),{},{children:(0,U.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 Nn(t){return Nn="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},Nn(t)}function Zn(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 Gn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Zn(Object(r),!0).forEach((function(e){Fn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Fn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Nn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Nn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Nn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Rn=function(t){return(0,U.tZ)(Gr,Gn(Gn({viewBox:"0 0 37.5 22","aria-label":"Play Icon"},t),{},{children:(0,U.tZ)("path",{d:"M13,5v14l11-7L13,5z"})}))};function Mn(t){return Mn="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},Mn(t)}function Un(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 Vn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Un(Object(r),!0).forEach((function(e){zn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Un(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function zn(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mn(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mn(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mn(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bn=function(t){return(0,U.tZ)(Gr,Vn(Vn({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 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)}var Hn=["message","onClose","open"];function qn(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 Xn(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?qn(Object(r),!0).forEach((function(e){Wn(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qn(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Wn(t,e,r){return(e=function(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)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,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}var Qn=(0,Or.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"}}),""),Kn=(0,Or.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)}}),""),Jn=(0,Or.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)}}),""),to=(0,Or.Z)(qr,{target:"e6f3cle1"})((function(t){var e=t.theme;return{color:e.palette.success.main,fontSize:"20px",marginRight:e.spacing(2)}}),""),eo=(0,Or.Z)(bn,{target:"e6f3cle0"})({name:"14is9qy",styles:"font-size:20px"}),ro=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,Hn),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 $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}}(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,or.useState)(!1),2),a=i[0],c=i[1];return(0,or.useEffect)((function(){c(n)}),[n]),(0,U.BX)(Qn,Xn(Xn({internalOpen:a},o),{},{children:[(0,U.BX)(Kn,{children:[(0,U.tZ)(to,{}),e]}),(0,U.tZ)(Jn,{onClick:r,children:(0,U.tZ)(eo,{})})]}))};function no(t){return no="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},no(t)}function oo(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 io(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?oo(Object(r),!0).forEach((function(e){ao(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):oo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ao(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==no(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==no(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===no(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function co(t,e){if(t){if("string"==typeof t)return uo(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)?uo(t,e):void 0}}function uo(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 lo=(0,or.createContext)({showSnackbar:function(){}}),so=(0,Or.Z)("div",{target:"e1dsyifb1"})((function(t){return{bottom:0,left:0,padding:t.theme.spacing(2),pointerEvents:"none",position:"fixed",width:"100%",zIndex:9999}}),""),fo=(0,Or.Z)(Ar,{target:"e1dsyifb0"})({name:"eqnjzv",styles:"flex-direction:column;pointer-events:initial"}),po=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)||co(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,or.useState)([]),2),n=r[0],o=r[1],i=(0,or.useCallback)((function(t){o((function(e){return e.map((function(e){return e.id===t?io(io({},e),{},{open:!1}):e}))})),window.setTimeout((function(){o((function(e){return e.filter((function(e){return e.id!==t}))}))}),250)}),[]),a=(0,or.useCallback)((function(t,e){var r=(0,Sr.Z)();window.setTimeout((function(){return i(r)}),e),o((function(n){return[].concat(function(t){return function(t){if(Array.isArray(t))return uo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||co(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,or.useMemo)((function(){return{showSnackbar:function(t,e){return a(t,e)}}}),[a]),u=n.map((function(t){return(0,U.tZ)(ro,{message:t.message,open:t.open,onClose:function(){return i(t.id)}},t.id)}));return(0,U.BX)(lo.Provider,{value:c,children:[e,(0,U.tZ)(so,{children:(0,U.tZ)(fo,{gapSize:2,children:u})})]})},ho=(r(7867),/([{][a-zA-Z]+[}])/),yo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.split(ho).map((function(t){if(t.match(ho)){var r=t.slice(1,t.length-1);return(0,U.tZ)(or.Fragment,{children:e[r]},r)}return t}));return r};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 mo=["message","values"];function go(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?go(Object(r),!0).forEach((function(e){wo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):go(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function wo(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 Oo=(0,Or.Z)("span",{target:"e3pmfxv0"})({name:"1l0p3iw",styles:"white-space:pre-line"}),So=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,mo);return(0,U.tZ)(Oo,bo(bo({},n),{},{children:yo(e,r)}))};function xo(t){return xo="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},xo(t)}function jo(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 Eo(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==xo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==xo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===xo(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=function(t,e,r){return(0,U.tZ)(So,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jo(Object(r),!0).forEach((function(e){Eo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jo(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({message:t,values:e},r))};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(){Lo=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 E(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 h(){}function d(){}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=d.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"==ko(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 _o(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 Ao(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 To={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,tr:!0,zh_Hans:!0,zh_Hant:!0},Io=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(To[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 Ao(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)?Ao(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 To[e]?e:"en"},Co=function(){var t,e=(t=Lo().mark((function t(e){var n,o,i;return Lo().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=Io(e),t.next=3,r(481)("./".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){_o(i,n,o,a,c,"next",t)}function c(t){_o(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),Do=r(9114);function No(t){return No="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},No(t)}function Zo(){Zo=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 E(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 h(){}function d(){}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=d.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"==No(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Go(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,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 Ro=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 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.")}()}((0,or.useState)(Do.default),2),r=e[0],n=e[1];return(0,or.useEffect)((function(){var e=function(){var e,r=(e=Zo().mark((function e(){var r,o;return Zo().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Co(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"),Te.a.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){Go(i,n,o,a,c,"next",t)}function c(t){Go(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();e()}),[t]),r},Mo=(0,or.createContext)(null),Uo=function(t){var e=t.language,r=t.children,n=Ro(e),o=(0,or.useMemo)((function(){return{formatMessage:Po,locale:n}}),[n]);return(0,U.tZ)(Mo.Provider,{value:o,children:r})},Vo=function(){var t=(0,or.useContext)(Mo);if(!t)throw new Error("useLocale must be used within a LocaleContext.Provider");return t};function zo(t){return zo="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},zo(t)}var Bo=["open","hideCloseButton","onClose","closeButtonText","children"];function Yo(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 Ho(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yo(Object(r),!0).forEach((function(e){qo(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yo(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"!==zo(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==zo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===zo(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xo=(0,Or.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}}),""),Wo=(0,Or.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}}),""),$o=(0,Or.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"}}),""),Qo=(0,Or.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"}}),""),Ko=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,Bo);return(0,U.tZ)(Xo,{open:e,children:(0,U.BX)(Wo,Ho(Ho({"aria-label":"privacy:screen",open:e},a),{},{children:[(0,U.tZ)($o,{children:i}),!r&&(0,U.tZ)(Qo,{"aria-label":"button:privacy-back",type:"button",onClick:n,children:o})]}))})},Jo=(0,Or.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)}}),""),ti=(0,Or.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"}}),""),ei=function(t){var e=t.label,r=t.value;return(0,U.BX)(Jo,{children:[(0,U.tZ)(ti,{children:e}),(0,U.tZ)(ti,{children:null!=r?r:"-"})]})};function ri(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 ni=(0,Or.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)}}),""),oi=(0,Or.Z)("span",{target:"etnh8fy1"})((function(){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:"24px"}}),""),ii=(0,Or.Z)("div",{target:"etnh8fy0"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),ai=r(7399),ci=r.n(ai);function ui(t){return ui="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},ui(t)}var li=["color","className","heightVariant","variant"];function si(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 fi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ui(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ui(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ui(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pi=(0,Or.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"}}),""),hi=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,li),u=function(t,e){return{error:t.palette.error.main,primary:t.palette.primary.main}[e]||e}((0,M.u)(),r),l=ci()(n,a,o);return(0,U.tZ)(pi,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?si(Object(r),!0).forEach((function(e){fi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):si(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({className:l,color:u},c))};function di(t){return di="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},di(t)}var yi=["href","children"];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"!==di(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==di(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===di(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){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,yi),o=(0,Or.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,U.tZ)(o,mi(mi({onClick:function(t){t.preventDefault(),Ot.getState().openUrlCallback(e)},href:e},n),{},{children:r}))},wi=(0,Or.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)}}),""),Oi=(0,Or.Z)(wi,{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"}}),""),Si=(0,Or.Z)(nn,{target:"e1xh5h5h6"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),xi=(0,Or.Z)(wi,{target:"e1xh5h5h5"})((function(t){return{fontSize:"1.25rem",padding:t.theme.spacing(1,0)}}),""),ji=(0,Or.Z)(wi,{target:"e1xh5h5h4"})((function(t){return{alignItems:"center",paddingBottom:t.theme.spacing(4)}}),""),Ei=(0,Or.Z)(ln,{target:"e1xh5h5h3"})({name:"1ay415h",styles:"height:auto;width:5em"}),Pi=(0,Or.Z)("div",{target:"e1xh5h5h2"})((function(t){return{display:"grid",gridTemplateRows:"52px",paddingBottom:t.theme.spacing(2)}}),""),ki=(0,Or.Z)(hi,{target:"e1xh5h5h1"})((function(t){return{backgroundColor:t.theme.palette.grey[100],width:"100%"}}),""),Li=(0,Or.Z)("div",{target:"e1xh5h5h0"})((function(t){return{display:"flex",padding:t.theme.spacing(1,0)}}),"");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)}var Ai=["summary","expanded","autoHeight","children","onChange"];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 Ii(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){Ci(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 Ci(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 Di(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 Ni=(0,Or.Z)("div",{target:"eafm33y2"})((function(t){return{alignItems:"center",cursor:"pointer",display:"flex",fontWeight:"bold",justifyContent:"space-between",padding:t.theme.spacing(2,0)}}),""),Zi=(0,Or.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")}}),""),Gi=(0,Or.Z)(Vr,{target:"eafm33y0"})((function(t){var e=t.theme;return{transform:t.expanded?"rotate(0deg)":"rotate(-90deg)",transition:"transform ".concat(e.transitions.duration.standard,"ms")}}),""),Fi=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,Ai),c=(0,or.useRef)(null),u=(0,or.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 Di(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)?Di(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,or.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,or.useEffect)(p),(0,or.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,U.BX)("div",Ii(Ii({ref:u},a),{},{children:[(0,U.BX)(Ni,{onClick:i,children:[e,(0,U.tZ)(Gi,{expanded:r})]}),(0,U.tZ)(Zi,{ref:c,className:r?"expanded":"collapsed",height:n?"auto":s,children:(0,U.tZ)("div",{children:o})})]}))};function Ri(t){return Ri="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},Ri(t)}function Mi(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 Ui(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ri(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ri(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ri(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Vi(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 zi=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 Vi(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)?Vi(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,or.useState)(!1),2),r=e[0],n=e[1];return(0,U.tZ)(Fi,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(r),!0).forEach((function(e){Ui(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({expanded:r,onChange:function(){return n(!r)}},t))};function Bi(t){return Bi="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},Bi(t)}function Yi(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 Hi(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yi(Object(r),!0).forEach((function(e){qi(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qi(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Bi(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Bi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Bi(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,U.tZ)(Gr,Hi(Hi({viewBox:"0 0 24 24"},t),{},{children:(0,U.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 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)}var $i=["children","type"];function Qi(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?Qi(Object(r),!0).forEach((function(e){Ji(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Qi(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ji(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 ta=(0,Or.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)}}],""),ea=(0,Or.Z)(Xi,{target:"e1xcab2j2"})((function(t){return{fontSize:"0.8rem",marginRight:t.theme.spacing(1.7)}}),""),ra=(0,Or.Z)(qr,{target:"e1xcab2j1"})((function(t){return{marginRight:t.theme.spacing(2)}}),""),na=(0,Or.Z)(Bn,{target:"e1xcab2j0"})((function(t){return{fontSize:"0.8rem",marginRight:t.theme.spacing(1.7)}}),""),oa=function(t){var e=t.type;return"warning"===e?(0,U.tZ)(na,{}):"error"===e?(0,U.tZ)(ea,{}):(0,U.tZ)(ra,{})},ia=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,$i);return(0,U.BX)(ta,Ki(Ki({type:n},o),{},{children:[(0,U.tZ)(oa,{type:n}),e]}))};function aa(t){return aa="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},aa(t)}var ca=["children"];function ua(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?ua(Object(r),!0).forEach((function(e){sa(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ua(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sa(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==aa(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==aa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===aa(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fa,pa,ha=(0,Or.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"}}),""),da=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,ca);return(0,U.tZ)(ha,la(la({},r),{},{children:e}))};function ya(t){return ya="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},ya(t)}function va(){va=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 E(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 h(){}function d(){}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=d.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"==ya(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 ma(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.FailedVerification="failedVerification",t.GenericError="genericError",t.MultipleFailedVerifications="multipleFailedVerifications",t.Success="success"}(fa||(fa={})),function(t){t[t.JsonContent=0]="JsonContent"}(pa||(pa={}));var ga=function(){var t,e=(t=va().mark((function t(e,r){var n,o,i,a,c,u,l;return va().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=St().getState(),t.t0=JSON.stringify(r),t.t1=o.context.gamerToken,t.next=5,null===(n=o.getSessionTokenCallback)||void 0===n?void 0:n.call(o);case 5:return t.t2=t.sent,t.t3=e,t.t4=pa.JsonContent,i={content:t.t0,gamerToken:t.t1,sessionToken:t.t2,type:t.t3,version:t.t4},a="".concat("https://publisher-config.unityads.unity3d.com","/privacy"),t.next=12,o.fetch({data:JSON.stringify(i),headers:[["Content-Type","application/json"]],method:"POST",url:a});case 12:return c=t.sent,t.next=15,c.json();case 15:return u=t.sent,l=JSON.parse(u.content),t.abrupt("return",l.body);case 18: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){ma(i,n,o,a,c,"next",t)}function c(t){ma(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();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 wa(){wa=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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Oa(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 Sa(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Oa(i,n,o,a,c,"next",t)}function c(t){Oa(i,n,o,a,c,"throw",t)}a(void 0)}))}}var xa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;switch(t){case 400:case 403:return fa.FailedVerification;case 429:return fa.MultipleFailedVerifications;default:return fa.GenericError}},ja=function(){var t=Sa(wa().mark((function t(e){var r,n,o;return wa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r={email:e},t.next=3,ga("captcha_init",r);case 3:if(!((n=t.sent).status<200||n.status>299)){t.next=6;break}throw new Error("Could not fetch captcha initialization");case 6:if(16===(null==(o=JSON.parse(n.body).imageURLs)?void 0:o.length)){t.next=9;break}throw new Error("Invalid response");case 9:return t.abrupt("return",o);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),Ea=function(){var t=Sa(wa().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p;return wa().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=St().getState().context,o=n.bundleId,i=n.gameId,a=n.language,c=n.platform,u=Yt.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,ga("captcha_verify",f);case 15:if(!((p=t.sent).status<200||p.status>299)){t.next=18;break}return t.abrupt("return",xa(p.status));case 18:t.next=23;break;case 20:return t.prev=20,t.t1=t.catch(12),t.abrupt("return",fa.GenericError);case 23:return t.abrupt("return",fa.Success);case 24:case"end":return t.stop()}}),t,null,[[12,20]])})));return function(e,r){return t.apply(this,arguments)}}(),Pa=(r(2065),(0,Or.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%"}}),"")),ka=(0,Or.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)}}),""),La=function(){return(0,U.tZ)(Pa,{children:(0,U.tZ)(ka,{})})};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)}var Aa=["src","onError"];function Ta(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 Ia(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ta(Object(r),!0).forEach((function(e){Ca(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ta(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ca(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}function Da(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 Na(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)?Na(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 Na(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 Za=(0,Or.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)}}),""),Ga=(0,Or.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"}}),""),Fa=or.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,Aa),i=Da((0,or.useState)(!1),2),a=i[0],c=i[1];return(0,U.tZ)(Ga,Ia(Ia({},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)}}))})),Ra=function(t){var e=t.imageURLs,r=t.onSelect,n=Da((0,or.useState)(!1),2),o=n[0],i=n[1],a=(0,or.useRef)([]),c=function(){return i(!a.current.every((function(t){return null==t?void 0:t.complete})))};return(0,U.BX)(U.HY,{children:[(0,U.tZ)(Za,{children:e.map((function(t,e){return(0,U.tZ)(Fa,{ref:function(t){a.current[e]=t},src:t,alt:t,onClick:function(){return r(t)},onLoad:c,onError:c},t)}))}),o&&(0,U.tZ)(La,{})]})};function Ma(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 Ua(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)?Ua(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 Ua(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 Va=(0,Or.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}}),""),za=(0,Or.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"}}),""),Ba=(0,Or.Z)("div",{target:"efrvfox3"})((function(t){return{borderRadius:t.theme.shape.borderRadius,display:"flex",flexDirection:"column",width:"275px"}}),""),Ya=(0,Or.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)}}),""),Ha=(0,Or.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%"}}),""),qa=(0,Or.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%"}}),""),Xa=function(t){var e=t.email,r=t.initCaptcha,n=t.onClose,o=t.onFailure,i=t.onSuccess,a=t.verifyCaptcha,c=Vo().locale,u=Ma((0,or.useState)(!1),2),l=u[0],s=u[1],f=Ma((0,or.useState)([]),2),p=f[0],h=f[1],d=Ma((0,or.useState)(!1),2),y=d[0],v=d[1];return(0,or.useEffect)((function(){s(!0),r(e).then((function(t){h(t)})).catch((function(){o(fa.GenericError),n()})).finally((function(){s(!1)}))}),[r,e,n,o]),(0,U.tZ)(Va,{children:(0,U.BX)(Ba,{children:[(0,U.tZ)(za,{type:"button",onClick:n,children:c.common.back}),(0,U.tZ)(Ya,{children:c.privacy.captcha.title}),(0,U.tZ)(Ha,{children:l?(0,U.tZ)(La,{}):(0,U.BX)(U.HY,{children:[(0,U.tZ)(Ra,{imageURLs:p,onSelect:function(t){s(!0),a(t,e).then((function(t){switch(t){case fa.Success:i(),v(!1),n();break;case fa.FailedVerification:v(!0);break;default:o(t),n()}})).catch((function(){return o(fa.GenericError)})).finally((function(){s(!1)}))}}),y&&(0,U.tZ)(qa,{children:c.privacy.captcha.retryMessage})]})})]})})};function Wa(t){return Wa="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},Wa(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 Qa(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Wa(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Wa(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Wa(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ka=function(t){return(0,U.tZ)(Xa,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){Qa(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}({verifyCaptcha:Ea,initCaptcha:ja},t))};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)}function tc(){tc=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 E(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 h(){}function d(){}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=d.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"==Ja(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 ec(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 rc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ec(Object(r),!0).forEach((function(e){nc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ec(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function nc(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}function oc(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 ic(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){oc(i,n,o,a,c,"next",t)}function c(t){oc(i,n,o,a,c,"throw",t)}a(void 0)}))}}function ac(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 cc(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)?cc(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 cc(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 uc=(0,Or.Z)(Ar,{target:"eox4l1r1"})({name:"qdeacm",styles:"flex-direction:column"}),lc=(0,Or.Z)(hi,{target:"eox4l1r0"})({name:"1ff36h2",styles:"flex-grow:1"}),sc=function(){var t=Vo().locale,e=xt((function(t){return t.trackPrivacyAction}),ar.X),r=ac((0,or.useState)(!1),2),n=r[0],o=r[1],i=ac((0,or.useState)(!1),2),a=i[0],c=i[1],u=ac((0,or.useState)(),2),l=u[0],s=u[1],f=ac((0,or.useState)(!1),2),p=f[0],h=f[1],d=Po(t.privacy.sections.deleteData.description,{deleteData:(0,U.tZ)(da,{"aria-label":"link:privacy-delete-your-data",onClick:function(){o(!0)},children:t.privacy.sections.deleteData.deleteDataLink})}),y=function(){var t=ic(tc().mark((function t(){return tc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=zt,t.t1=rc,t.t2={},t.next=5,Jt();case 5:return t.t3=t.sent,t.t4=(0,t.t1)(t.t2,t.t3),t.next=9,(0,t.t0)("delete_data",t.t4);case 9:h(!0);case 10:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),v=function(){var t=ic(tc().mark((function t(){return tc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o(!1),e(ut.DeleteData),t.next=4,y();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return(0,U.BX)(U.HY,{children:[n&&(0,U.BX)(uc,{gapSize:2,children:[(0,U.tZ)("p",{children:t.privacy.sections.deleteData.dataDisclosureNotice}),(0,U.tZ)("p",{children:t.privacy.common.confirmationHeader}),(0,U.BX)(Ar,{gapSize:1,children:[(0,U.tZ)(lc,{"aria-label":"button:delete-data-no",heightVariant:"narrow",color:"inherit",onClick:function(){o(!1)},variant:"outlined",children:t.common.no}),(0,U.tZ)(lc,{"aria-label":"button:delete-data-yes",heightVariant:"narrow",color:"error",onClick:function(){c(!0)},variant:"contained",children:t.common.yes})]}),(0,U.tZ)("p",{children:t.privacy.sections.deleteData.optOutNotice}),a&&(0,U.tZ)(Ka,{onClose:function(){return c(!1)},onFailure:function(e){e===fa.MultipleFailedVerifications?s(t.privacy.captcha.rateLimited):s(t.privacy.captcha.genericError)},onSuccess:v}),l&&(0,U.tZ)(ia,{type:"error",children:l})]}),!n&&(0,U.BX)(U.HY,{children:[(0,U.tZ)("p",{children:d}),p&&(0,U.tZ)(ia,{children:t.privacy.sections.deleteData.requestSentConfirmation})]})]})},fc=function(){var t=Vo().locale;return(0,U.tZ)(zi,{"data-test-id":"delete-data-section",summary:t.privacy.sections.deleteData.header,children:(0,U.tZ)(sc,{})})},pc=[{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://docs.bidswitch.com/support/gdpr-faq.html",name:"BidSwitch"},{link:"https://www.bigabid.com/legal",name:"Bigabid"},{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://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:"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://pubmatic.com/legal/privacy-policy/",name:"Pubmatic"},{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://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"}],hc=function(){return(0,U.tZ)(U.HY,{children:pc.map((function(t,e){return(0,U.BX)("span",{children:[(0,U.tZ)(bi,{href:t.link,children:t.name}),e===pc.length-1?"":", "]},t.link)}))})};function dc(t){return dc="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},dc(t)}var yc=["children"];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 mc(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){gc(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 gc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==dc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bc=(0,Or.Z)(Ar,{target:"e1tk3e10"})({name:"qdeacm",styles:"flex-direction:column"}),wc=function(t,e){var r=Vo(),n=r.locale,o=e?"https://unity.cn/unityads-sdk":"https://unity3d.com/legal/privacy-policy";return(0,r.formatMessage)(t,{privacyPolicy:(0,U.tZ)(bi,{href:o,children:n.privacy.privacyPolicy})})},Oc=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,yc);return(0,U.tZ)(zi,mc(mc({},r),{},{children:(0,U.BX)(bc,{gapSize:3,children:[e," "]})}))},Sc=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.changingYourPrivacyChoice.title,children:(0,U.tZ)("p",{children:t.privacy.legalTextSections.changingYourPrivacyChoice.description})})},xc=function(){var t=Vo().locale;return(0,U.BX)(Oc,{summary:t.privacy.legalTextSections.collectedInfo.title,children:[(0,U.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP1}),(0,U.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP2}),(0,U.tZ)("p",{children:t.privacy.legalTextSections.collectedInfo.descriptionP3})]})},jc=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.dataTransfer.title,children:(0,U.tZ)("p",{children:wc(t.privacy.legalTextSections.dataTransfer.description)})})},Ec=function(){var t=Vo().locale;return(0,U.BX)(Oc,{summary:t.privacy.legalTextSections.unityAnalyticsAndMediation.title,children:[(0,U.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP1}),(0,U.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP2}),(0,U.tZ)("p",{children:t.privacy.legalTextSections.unityAnalyticsAndMediation.descriptionP3})]})},Pc=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.thirdPartyMobileMeasurementPartners.title,children:(0,U.tZ)("div",{children:(0,U.tZ)(hc,{})})})},kc=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.thirdPartyAdPartners.title,children:(0,U.tZ)("div",{children:(0,U.tZ)(hc,{})})})},Lc=function(){var t=Vo(),e=t.locale,r=(0,t.formatMessage)(e.privacy.legalTextSections.ironSourceDataSubjectRight.description,{ironSourcePrivacyPolicy:(0,U.tZ)(bi,{href:"https://developers.is.com/ironsource-mobile/air/ironsource-mobile-privacy-policy",children:e.privacy.ironSourcePrivacyPolicy}),privacyOperation:(0,U.tZ)(bi,{href:"https://ironsrc.formtitan.com/Data_Subject_Request?&fld113=Unity#",children:e.privacy.common.clickHere})});return(0,U.tZ)(Oc,{summary:e.privacy.legalTextSections.ironSourceDataSubjectRight.title,children:r})},_c=function(t){var e=Vo().locale,r=t.useChinaLink;return(0,U.tZ)(Oc,{summary:e.privacy.legalTextSections.ourPrivacyPolicySection.title,children:wc(e.privacy.legalTextSections.ourPrivacyPolicySection.description,r)})};function Ac(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 Tc="message",Ic="wvRecaptcha",Cc=(0,Or.Z)("iframe",{target:"ezzlcl90"})((function(){return{border:"none"}}),""),Dc=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 Ac(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)?Ac(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,or.useState)({height:0,width:0}),2),o=n[0],i=n[1],a=(0,or.useMemo)((function(){return"".concat("https://config.unityads.unity3d.com/unity-ads-captcha/index.html","?sk=").concat(r,"&src=").concat(Ic)}),[r]),c=(0,or.useCallback)((function(t){var r=t.data;(null==r?void 0:r.source)===Ic&&(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,or.useEffect)((function(){return window.addEventListener(Tc,c),function(){window.removeEventListener(Tc,c)}}),[c]),(0,U.tZ)(Cc,{src:a,style:{height:o.height,width:o.width}})};function Nc(t){return Nc="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},Nc(t)}function Zc(){Zc=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 E(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 h(){}function d(){}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=d.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"==Nc(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Gc(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 Fc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Gc(Object(r),!0).forEach((function(e){Rc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gc(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"!==Nc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Nc(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Nc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Mc(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 Uc(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Mc(i,n,o,a,c,"next",t)}function c(t){Mc(i,n,o,a,c,"throw",t)}a(void 0)}))}}function Vc(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 zc(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)?zc(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 zc(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 Bc=(0,Or.Z)(hi,{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%"}}),""),Yc=(0,Or.Z)("div",{target:"e1fonx343"})((function(t){return{flexDirection:"column",padding:t.theme.spacing(1,0)}}),""),Hc=(0,Or.Z)("span",{target:"e1fonx342"})((function(){return{fontSize:"0.5rem",fontWeight:"600",lineHeight:"20px"}}),""),qc=(0,Or.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)}}),""),Xc=(0,Or.Z)("div",{target:"e1fonx340"})((function(t){return{display:"flex",padding:t.theme.spacing(1,0)}}),""),Wc=function(){var t=(0,ir.oR)(Ot,(function(t){return t.trackPrivacyAction}),ar.X),e=Vc((0,or.useState)(),2),r=e[0],n=e[1],o=Vc((0,or.useState)(null),2),i=o[0],a=o[1],c=Vc((0,or.useState)(!1),2),u=c[0],l=c[1],s=Vc((0,or.useState)(null),2),f=s[0],p=s[1],h=Vo(),d=h.locale,y=h.formatMessage,v=function(){var t=Uc(Zc().mark((function t(e,r){return Zc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=zt,t.t1=Fc,t.t2=Fc,t.t3={},t.next=6,Jt();case 6:return t.t4=t.sent,t.t5=(0,t.t2)(t.t3,t.t4),t.t6={},t.t7={optIn:e,recaptchaToken:r},t.t8=(0,t.t1)(t.t5,t.t6,t.t7),t.next=13,(0,t.t0)("network_wide_opt",t.t8);case 13:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),m=function(){var e=Uc(Zc().mark((function e(){return Zc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v(!0);case 3:n("optedIn"),a(null),l(!1),t(ut.NetworkWideOptIn),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),a(e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),g=function(){var e=Uc(Zc().mark((function e(){return Zc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,v(!1,f||void 0);case 3:n("optedOut"),a(null),l(!1),t(ut.NetworkWideOptOut),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),a(e.t0);case 12:p(null);case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}(),b=y(d.privacy.sections.networkWideOptOut.textOptInDescription,{optIn:(0,U.tZ)(da,{"aria-label":"link:privacy-nwo-in",onClick:m,children:d.privacy.sections.networkWideOptOut.textOptIn})});return(0,U.BX)(U.HY,{children:["optedIn"===r&&(0,U.tZ)(ia,{children:d.privacy.sections.networkWideOptOut.textOptInAlert}),"optedOut"===r&&(0,U.tZ)(ia,{children:d.privacy.sections.networkWideOptOut.textOptOutAlert}),i&&(0,U.tZ)(ia,{type:"error",children:d.privacy.sections.networkWideOptOut.textError}),(0,U.tZ)(Xc,{children:d.privacy.sections.networkWideOptOut.textDescription}),!u&&(0,U.tZ)(Bc,{"aria-label":"button:privacy-nwo-out",disabled:"optedOut"===r,variant:"contained",onClick:function(){return l(!0)},children:d.privacy.sections.networkWideOptOut.buttonOptOut}),u&&(0,U.BX)(Yc,{children:[(0,U.tZ)(Hc,{children:d.privacy.common.confirmationHeader}),(0,U.BX)(qc,{children:[(0,U.tZ)(hi,{color:"inherit",variant:"outlined",heightVariant:"narrow",onClick:function(){return l(!1)},children:d.common.no}),(0,U.tZ)(hi,{color:"error",variant:"contained",heightVariant:"narrow",onClick:function(){return g()},disabled:!f,children:d.common.yes})]}),(0,U.tZ)(Dc,{setToken:p})]}),(0,U.tZ)(Xc,{children:b})]})},$c=function(t){var e=t.nwoAvailable,r=Vo().locale;return(0,U.BX)(zi,{"data-test-id":"network-wide-opt-section",summary:r.privacy.sections.networkWideOptOut.textHeader,autoHeight:!0,children:[e&&(0,U.tZ)(Wc,{}),!e&&(0,U.tZ)("p",{children:r.privacy.sections.networkWideOptOut.textNwoNotAvailable})]})},Qc=(0,Or.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)}}),""),Kc=(0,Or.Z)("div",{target:"e1yz9tdj0"})({name:"p4q597",styles:"font-size:1.25rem"}),Jc=(0,Or.Z)(Ar,{target:"ehhymmw6"})({name:"35waw2",styles:"align-items:center;flex-direction:column;text-align:center"}),tu=(0,Or.Z)(nn,{target:"ehhymmw5"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),eu=(0,Or.Z)("div",{target:"ehhymmw4"})({name:"1ucylfr",styles:"align-items:center;display:flex;justify-content:center"}),ru=(0,Or.Z)(ln,{target:"ehhymmw3"})({name:"1ay415h",styles:"height:auto;width:5em"}),nu=(0,Or.Z)(Ar,{target:"ehhymmw2"})((function(t){return{color:t.theme.palette.grey[900],flexDirection:"column"}}),""),ou=(0,Or.Z)(Ar,{target:"ehhymmw1"})({name:"qdeacm",styles:"flex-direction:column"}),iu=(0,Or.Z)(hi,{target:"ehhymmw0"})((function(t){var e=t.theme;return{backgroundColor:"".concat(e.palette.grey[200]," !important"),flexGrow:1}}),""),au=function(t){var e=t.conditionalComponents,r=Vo(),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,U.BX)(U.HY,{children:[s&&(0,U.tZ)("p",{children:o(s)}),(0,U.BX)(ou,{gapSize:2,children:[l("changingYourPrivacyChoiceSection")&&(0,U.tZ)(Sc,{}),l("collectedInformationSection")&&(0,U.tZ)(xc,{}),l("dataTransferSection")&&(0,U.tZ)(jc,{}),l("unityAnalyticsAndMediationSection")&&(0,U.tZ)(Ec,{}),l("thirdPartyMeasurementPartnersSection")&&(0,U.tZ)(Pc,{}),l("thirdPartyAdPartnersSection")&&(0,U.tZ)(kc,{}),l("deleteDataSection")&&(0,U.tZ)(fc,{}),u&&(0,U.tZ)($c,{nwoAvailable:u.enabled}),l("ironSourceDataSubjectRightSection")&&(0,U.tZ)(Lc,{}),l("ourPrivacyPolicySection")&&(0,U.tZ)(_c,{useChinaLink:null==e?void 0:e.useChinaPrivacyPolicy})]})]})},cu=function(){var t=Vo().locale,e=(0,ir.oR)(Et,(function(t){return t.screen})).conditionalComponents;return(0,U.tZ)(Qc,{children:(0,U.BX)(ou,{gapSize:3,children:[(0,U.BX)(Jc,{gapSize:3,children:[(0,U.tZ)(tu,{}),(0,U.tZ)(Kc,{children:t.privacy.title})]}),(0,U.BX)(nu,{gapSize:1,children:[(null==e?void 0:e.adsPersonalization)&&(0,U.tZ)(iu,{"aria-label":"button:privacy-personalization-settings",color:"inherit",onClick:function(){return zt("personalization_settings")},children:t.common.personalizationSettings}),(null==e?void 0:e.experiencePersonalization)&&(0,U.tZ)(iu,{"aria-label":"button:privacy-experience-personalization",color:"inherit",onClick:function(){return zt("experience_personalization")},children:t.common.experiencePersonalization}),(0,U.tZ)(iu,{"aria-label":"button:privacy-request-data",color:"inherit",onClick:function(){return zt("request_data")},children:t.common.requestYourData}),!(null!=e&&e.simpleScreenControls)&&(0,U.BX)(Ar,{gapSize:1,children:[(0,U.tZ)(iu,{"aria-label":"button:privacy-report-ad",color:"inherit",onClick:function(){return zt("report_ad")},children:t.common.reportAd}),(0,U.tZ)(iu,{"aria-label":"button:privacy-build-info",color:"inherit",onClick:function(){return zt("build_info")},children:t.common.buildInfo})]})]}),(0,U.tZ)(au,{conditionalComponents:e}),(0,U.tZ)(eu,{children:(0,U.tZ)(ru,{})})]})})},uu=function(){var t,e=null===(t=o.TH.getState().campaignInfo)||void 0===t?void 0:t.campaign;if(!e)throw new Error("Lifecycle error: no campaign found");return e};function lu(t){return lu="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},lu(t)}var su=["checked","children","disabled","onChange"];function fu(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 pu(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fu(Object(r),!0).forEach((function(e){hu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function hu(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==lu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==lu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===lu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var du=(0,Or.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)}}),""),yu=(0,Or.Z)("input",{target:"eadt61d0"})((function(t){return{fontSize:"inherit",height:"0.9em",margin:0,marginRight:t.theme.spacing(1.5),width:"0.9em"}}),""),vu=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,su),a=!o||Boolean(n);return(0,U.BX)(du,pu(pu({disabled:a},i),{},{children:[(0,U.tZ)(yu,{role:"radio",type:"radio",checked:e,disabled:a,onChange:o}),r]}))},mu=(0,Or.Z)("div",{target:"e1pu6bzj0"})((function(t){var e=t.theme;return{display:"grid",gridAutoRows:e.spacing(4.5),paddingLeft:e.spacing(2)}}),""),gu=function(t){var e=t.selectedReason,r=t.setSelectedReason,n=Vo().locale;return(0,U.BX)(mu,{children:[(0,U.tZ)(vu,{"aria-label":"radio:ad-is-not-showing",checked:"not_showing"===e,onChange:function(){return r("not_showing")},children:n.privacy.views.reportAd.radioButtonNotShowing}),(0,U.tZ)(vu,{"aria-label":"radio:ad-is-offencive",checked:"offensive"===e,onChange:function(){return r("offensive")},children:n.privacy.views.reportAd.radioButtonOffensive}),(0,U.tZ)(vu,{"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,U.tZ)(vu,{"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,U.tZ)(vu,{"aria-label":"radio:ad-other",checked:"other"===e,onChange:function(){return r("other")},children:n.privacy.views.reportAd.radioButtonOther})]})};function bu(t){return bu="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},bu(t)}function wu(){wu=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 E(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 h(){}function d(){}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=d.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"==bu(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Ou(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 Su(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 xu(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)?xu(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 xu(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 ju=(0,Or.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)}}),""),Eu=(0,Or.Z)("span",{target:"e8dbek55"})((function(t){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:t.theme.spacing(3)}}),""),Pu=(0,Or.Z)("div",{target:"e8dbek54"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),ku=(0,Or.Z)("div",{target:"e8dbek53"})((function(t){return{margin:t.theme.spacing(3,0)}}),""),Lu=(0,Or.Z)(ia,{target:"e8dbek52"})((function(t){return{display:"flex",marginBottom:t.theme.spacing(2)}}),""),_u=(0,Or.Z)("div",{target:"e8dbek51"})((function(t){return{color:t.theme.palette.grey[400],fontSize:"0.6rem",fontWeight:"400"}}),""),Au=(0,Or.Z)(hi,{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 Tu(t){return Tu="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},Tu(t)}var Iu=["disabled","label","onChange","value"];function Cu(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 Du(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Cu(Object(r),!0).forEach((function(e){Nu(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cu(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Nu(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Tu(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Tu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Tu(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Zu=(0,Or.Z)("label",{target:"e8mxewd1"})((function(t){return{display:"flex",flexDirection:"column",fontSize:"12px",lineHeight:"20px",opacity:t.disabled?.5:1}}),""),Gu=(0,Or.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)}}),""),Fu=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,Iu),a=e||!n;return(0,U.BX)(Zu,Du(Du({disabled:a},i),{},{children:[(0,U.tZ)("span",{children:r}),(0,U.tZ)(Gu,{disabled:a,onChange:n,hasLabel:!!r,type:"text",value:o})]}))},Ru=(0,Or.Z)("span",{target:"e103zq9e1"})((function(t){var e=t.theme;return{color:e.palette.error.main,fontSize:"0.6rem",lineHeight:e.spacing(3)}}),""),Mu=(0,Or.Z)(Fu,{target:"e103zq9e0"})((function(){return{"> input":{fontSize:"0.8rem"},"> span":{fontSize:"0.6rem",fontWeight:"500"}}}),""),Uu=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])?)*$/)},Vu=function(t){var e=t.email,r=t.setEmail,n=Vo().locale,o=e.length>0&&!Uu(e);return(0,U.BX)(U.HY,{children:[(0,U.tZ)(Mu,{label:n.common.emailAddress,value:e,onChange:function(t){return r(t.target.value)}}),o&&(0,U.tZ)(Ru,{children:n.common.invalidEmailAddress})]})};function zu(t){return zu="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},zu(t)}function Bu(){Bu=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 E(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 h(){}function d(){}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=d.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"==zu(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Yu(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 Hu(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 Xu,Wu=(0,Or.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)}}),""),$u=(0,Or.Z)("span",{target:"e17hp9sc4"})((function(t){return{fontSize:"0.9rem",fontWeight:"600",lineHeight:t.theme.spacing(3)}}),""),Qu=(0,Or.Z)("div",{target:"e17hp9sc3"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),Ku=(0,Or.Z)("div",{target:"e17hp9sc2"})((function(t){return{margin:t.theme.spacing(2,0)}}),""),Ju=(0,Or.Z)(ia,{target:"e17hp9sc1"})((function(t){return{display:"flex",marginBottom:t.theme.spacing(2)}}),""),tl=(0,Or.Z)(hi,{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%"}}),"");!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.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.VideoSkipProgressBar="video-skip-progress-bar",t.VideoVideoScreen="video-overlay",t.Playable="playable",t.PrivacyBuyerInfo="privacy-buyer-info"}(Xu||(Xu={}));var el,rl=(0,Or.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)}}),""),nl=(0,Or.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"}}),""),ol=(0,Or.Z)(nl,{target:"e1ntj4if0"})((function(t){return{color:t.theme.palette.primary.light,cursor:"pointer"}}),""),il=function(t){var e=t.onClick,r=t.children;return e?(0,U.tZ)(ol,{onClick:function(t){return e(t)},"data-element-id":Xu.PrivacyBuyerInfo,children:r}):(0,U.tZ)(nl,{children:r})},al=function(t){var e=t.label,r=t.value,n=t.onClick;return(0,U.BX)(rl,{children:[(0,U.tZ)(nl,{children:e}),(0,U.tZ)(il,{onClick:n,children:null!=r?r:"-"})]})},cl=(0,Or.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)}}),""),ul=(0,Or.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)}}),""),ll=(0,Or.Z)("div",{target:"emefxcr5"})((function(t){return{marginTop:t.theme.spacing(3)}}),""),sl=(0,Or.Z)("ul",{target:"emefxcr4"})((function(t){var e=t.theme;return{marginTop:e.spacing(3),paddingLeft:e.spacing(3)}}),""),fl=(0,Or.Z)("li",{target:"emefxcr3"})((function(t){return{"&:first-of-type":{marginTop:0},marginTop:t.theme.spacing(3)}}),""),pl=(0,Or.Z)("span",{target:"emefxcr2"})((function(){return{fontWeight:"600"}}),""),hl=(0,Or.Z)("span",{target:"emefxcr1"})((function(t){return{color:t.theme.palette.primary.light,cursor:"pointer"}}),""),dl=function(t){return(0,Vo().formatMessage)(t.content,{header:(0,U.tZ)(pl,{children:t.header})})},yl=function(t,e){return(0,Vo().formatMessage)(t.content,{link:(0,U.tZ)(hl,{onClick:function(){return e.startsWith("http")?Ot.getState().openUrlCallback(e):zt(e)},children:t.link})})},vl=(0,Or.Z)("div",{target:"emefxcr0"})((function(t){return{paddingBottom:t.theme.spacing(5)}}),"");!function(t){t.InitStarted="init_started",t.AgeGateShown="age_gate_shown",t.ConsentShown="consent_shown",t.MyChoicesShown="my_choices_shown",t.InitDone="init_done"}(el||(el={}));var ml=function(t,e){if(St().getState().consentStepLoggingEnabled){var r="".concat("https://publisher-config.unityads.unity3d.com","/privacy/").concat(t,"/logging/consent_step");return lt(r,{body:JSON.stringify(e),headers:{"Content-Type":"application/json"},method:"POST"})}};function gl(){gl=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 E(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 h(){}function d(){}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=d.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"==wl(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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,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 wl(t){return wl="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},wl(t)}var Ol=function(t){return void 0===t?"{undefined}":"".concat(wl(t),":{").concat(t,"}")},Sl=function(){var t,e=(t=gl().mark((function t(e){var r,n,o,i,a,c,u,l,s,f,p,h,d,y,v,m,g,b,w,O,S,x,j;return gl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=Ot.getState(),n=r.nonBehavioral,o=r.context,i=r.getSessionTokenCallback,a=pe.getState(),c=a.rawPrivacyConsent,u=a.rawGdprConsent,l=a.rawPrivacyUserOverAgeLimit,s=a.rawPiplConsent,f=a.rawNonBehavioralLegacy,t.next=4,null==i?void 0:i();case 4:return p=t.sent,d=(h=o).platform,y=h.sdkVersion,v=h.gameId,m=h.gamerToken,g=h.legalFramework,b=h.gameSessionId,w=h.gamePrivacyMethod,O=h.userPrefsExist,S=h.coppaCompliant,x=h.limitAdTracking,j={coppa:S,devFlagGdprConsent:Ol(u),devFlagPiplConsent:Ol(s),devFlagPrivacyConsent:Ol(c),devFlagPrivacyUserOverAgeLimit:Ol(l),devFlagUserNonBehavioral:String(n),devFlagUserNonBehavioralLegacy:Ol(f),event:e,gameSessionId:b,gamerToken:m,legacy:!1,legalFramework:g,limitAdTracking:x,permissionsExist:O,platform:d,privacyMethod:w,sdkVersion:y,sessionToken:p},t.abrupt("return",ml(v,j));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){bl(i,n,o,a,c,"next",t)}function c(t){bl(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function xl(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=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 xl(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)?xl(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,or.useState)(!1),2),e=t[0],r=t[1];return[e,function(t){e||(r(!0),t().finally((function(){r(!1)})))}]},El=(0,Or.Z)("div",{target:"e1h2aod31"})((function(){return{fontSize:"1.25rem"}}),""),Pl=(0,Or.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 kl(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 Ll=(0,Or.Z)(Ar,{target:"ezjz504"})((function(t){return{"&:first-of-type":{marginBottom:0},display:"flex",flexDirection:"column",marginBottom:t.theme.spacing(2)}}),""),_l=(0,Or.Z)(ln,{target:"ezjz503"})({name:"1ay415h",styles:"height:auto;width:5em"}),Al=(0,Or.Z)(nn,{target:"ezjz502"})((function(){return{height:"2.25em",width:"2.25em"}}),""),Tl=(0,Or.Z)("div",{target:"ezjz501"})({name:"zl1inp",styles:"display:flex;justify-content:center"}),Il=(0,Or.Z)(Ar,{target:"ezjz500"})({name:"qdeacm",styles:"flex-direction:column"}),Cl=function(t){var e=t.ageGateLimit,r=t.onAgeGateOlder,n=t.onAgeGateYounger,o=Vo().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 kl(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)?kl(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.")}()}(jl(),2),a=i[0],c=i[1],u=Po(o.privacy.screens.ageGate.textOlder,{ageGateLimit:e}),l=Po(o.privacy.screens.ageGate.textYounger,{underAgeGateLimit:e-1});return(0,U.BX)(Il,{gapSize:3,children:[(0,U.tZ)(Tl,{children:(0,U.tZ)(Al,{})}),(0,U.BX)(Ll,{gapSize:2,children:[(0,U.tZ)(El,{children:o.privacy.screens.ageGate.title}),(0,U.tZ)("p",{children:o.privacy.screens.ageGate.description})]}),(0,U.BX)(Ll,{gapSize:1,children:[(0,U.tZ)(hi,{"aria-label":"button:privacy-age-gate-older",disabled:a,variant:"outlined",onClick:function(){return c(r)},children:u}),(0,U.tZ)(hi,{"aria-label":"button:privacy-age-gate-younger",disabled:a,variant:"outlined",onClick:function(){return c(n)},children:l})]}),(0,U.tZ)(Tl,{children:(0,U.tZ)(_l,{})})]})};function Dl(t){return Dl="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},Dl(t)}function Nl(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 Zl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Nl(Object(r),!0).forEach((function(e){Gl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Nl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Gl(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Dl(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Dl(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Dl(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,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 E(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 h(){}function d(){}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=d.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"==Dl(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Rl(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 Ml(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Rl(i,n,o,a,c,"next",t)}function c(t){Rl(i,n,o,a,c,"throw",t)}a(void 0)}))}}r(3828);var Ul={ads:!1,external:!1,gameExp:!1};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)}var zl=["id","checked","children","disabled","onChange"];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}var ql=(0,Or.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)}}),""),Xl=(0,Or.Z)("p",{target:"et9l9494"})((function(t){return{marginRight:t.theme.spacing(1)}}),""),Wl=(0,Or.Z)("div",{target:"et9l9493"})({name:"1w4ogad",styles:"display:flex;height:1.43em;min-width:2.86em;padding:0.2em;position:relative;width:2.86em"}),$l=(0,Or.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%"}}),""),Ql=(0,Or.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"}}),""),Kl=(0,Or.Z)("input",{target:"et9l9490"})({name:"cd32is",styles:"height:0;margin:0;width:0"}),Jl=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,zl),c=!i||Boolean(o);return(0,U.BX)(ql,Yl(Yl({disabled:c},a),{},{children:[(0,U.tZ)(Xl,{children:n}),(0,U.BX)(Wl,{children:[(0,U.tZ)(Kl,{id:e,role:"checkbox",type:"checkbox",checked:r,disabled:c,onChange:i}),(0,U.tZ)($l,{checked:r}),(0,U.tZ)(Ql,{checked:r})]})]}))};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(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 rs(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 ns=(0,Or.Z)("div",{target:"e1chxk100"})((function(t){return{paddingLeft:t.theme.spacing(2)}}),""),os=function(t){var e=t.onChange,r=t.permissions,n=t.showDataLeavesTerritory,o=Vo().locale,i=(0,or.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?es(Object(r),!0).forEach((function(e){rs(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):es(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,U.BX)("div",{children:[n&&(0,U.tZ)(Jl,{id:"switch:personalization-dataLeavesTerritory",checked:l||!1,onChange:function(){return s("dataLeavesTerritory")},children:o.privacy.common.permissionsPicker.dataLeavesTerritoryDescription}),(0,U.tZ)(Jl,{id:"switch:personalization-ads",checked:a,onChange:function(){return s("ads")},children:o.privacy.common.permissionsPicker.adsDescription}),(0,U.BX)(ns,{children:[(0,U.tZ)(Jl,{id:"switch:personalization-external",checked:c,onChange:function(){return s("external")},children:o.privacy.common.permissionsPicker.externalDescription}),(0,U.tZ)(Jl,{id:"switch:personalization-gameExp",checked:u,onChange:function(){return s("gameExp")},children:o.privacy.common.permissionsPicker.gameExpDescription})]})]})};function is(t){return is="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},is(t)}function as(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 cs(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==is(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==is(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===is(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function us(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 ls(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)?ls(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 ls(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 ss=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.changingPrivacyChoices.title,children:(0,U.tZ)("p",{children:t.privacy.legalTextSections.changingPrivacyChoices.description})})},fs=xc,ps=jc,hs=function(){var t=Vo().locale;return(0,U.BX)(Oc,{summary:t.privacy.legalTextSections.infoCollectedByAdsPartners.title,children:[(0,U.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByAdsPartners.descriptionP1}),(0,U.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByAdsPartners.descriptionP2})]})},ds=function(){var t=Vo().locale;return(0,U.tZ)(Oc,{summary:t.privacy.legalTextSections.infoCollectedByMeasurementPartners.title,children:(0,U.tZ)("p",{children:t.privacy.legalTextSections.infoCollectedByMeasurementPartners.description})})},ys=Lc,vs=_c,ms=kc,gs=Pc,bs=Ec,ws=(0,Or.Z)(Ar,{target:"e1rz6uy32"})({name:"qdeacm",styles:"flex-direction:column"}),Os=(0,Or.Z)(Ar,{target:"e1rz6uy31"})({name:"1qemjat",styles:"flex-wrap:wrap"}),Ss=(0,Or.Z)(hi,{target:"e1rz6uy30"})({name:"ykxty2",styles:"flex-grow:1;min-width:120px"}),xs=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=us((0,or.useState)(o),2),l=u[0],s=u[1],f=Vo().locale,p=function(){return n(l)};(0,or.useEffect)((function(){s(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?as(Object(r),!0).forEach((function(e){cs(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):as(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},o))}),[o]);var h=us(jl(),2),d=h[0],y=h[1];return(0,U.BX)(ws,{gapSize:2,children:[(0,U.tZ)(El,{children:f.privacy.screens.consentChoices.title}),(0,U.tZ)(os,{permissions:l,onChange:s,showDataLeavesTerritory:c}),(0,U.BX)("div",{children:[(0,U.tZ)(fs,{}),(0,U.tZ)(ss,{}),(0,U.tZ)(ds,{}),(0,U.tZ)(hs,{}),(0,U.tZ)(ps,{}),(0,U.tZ)(bs,{}),(0,U.tZ)(gs,{}),(0,U.tZ)(ms,{}),a&&(0,U.tZ)($c,{nwoAvailable:e}),i&&(0,U.tZ)(fc,{}),(0,U.tZ)(ys,{}),(0,U.tZ)(vs,{}),(0,U.tZ)("hr",{})]}),(0,U.BX)(ws,{gapSize:1.5,children:[(0,U.tZ)(Os,{gapSize:1.5,children:(0,U.tZ)(Ss,{"aria-label":"button:privacy-agree-all",disabled:d,variant:"outlined",color:"primary",onClick:function(){return y(r)},children:f.privacy.common.agreeAll})}),(0,U.tZ)(Ss,{"aria-label":"button:privacy-save-my-choices",disabled:d,variant:"outlined",color:"primary",onClick:function(){return y(p)},children:f.privacy.common.saveChoices})]})]})};function js(t){return js="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},js(t)}function Es(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 Ps(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Es(Object(r),!0).forEach((function(e){ks(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Es(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function ks(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==js(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==js(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===js(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,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 E(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 h(){}function d(){}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=d.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"==js(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 _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 As(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)}))}}function Ts(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 Is=(0,Or.Z)(Ar,{target:"e175ufzv4"})((function(t){return{"&:first-of-type":{marginBottom:0},display:"flex",flexDirection:"column",marginBottom:t.theme.spacing(2)}}),""),Cs=(0,Or.Z)(ln,{target:"e175ufzv3"})({name:"1ay415h",styles:"height:auto;width:5em"}),Ds=(0,Or.Z)(nn,{target:"e175ufzv2"})((function(){return{height:"2.25em",width:"2.25em"}}),""),Ns=(0,Or.Z)("div",{target:"e175ufzv1"})({name:"zl1inp",styles:"display:flex;justify-content:center"}),Zs=(0,Or.Z)(Ar,{target:"e175ufzv0"})({name:"qdeacm",styles:"flex-direction:column"}),Gs=function(t){var e=t.onAgreeAll,r=t.onShowChoices,n=Vo().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 Ts(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)?Ts(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.")}()}(jl(),2),i=o[0],a=o[1];return(0,U.BX)(Zs,{gapSize:3,children:[(0,U.tZ)(Ns,{children:(0,U.tZ)(Ds,{})}),(0,U.BX)(Is,{gapSize:2,children:[(0,U.tZ)(El,{children:n.privacy.screens.consent.title}),(0,U.tZ)("p",{children:n.privacy.screens.consent.descriptionP1}),(0,U.tZ)("p",{children:n.privacy.screens.consent.descriptionP2}),(0,U.tZ)("p",{children:n.privacy.screens.consent.descriptionP3}),(0,U.tZ)("p",{children:n.privacy.screens.consent.descriptionP4})]}),(0,U.BX)(Is,{gapSize:1,children:[!!e&&(0,U.tZ)(hi,{"aria-label":"button:privacy-agree-all",disabled:i,variant:"outlined",onClick:function(){return a(e)},children:n.privacy.common.agreeAll}),!!r&&(0,U.tZ)(hi,{"aria-label":"button:privacy-show-my-choices",disabled:i,variant:"outlined",onClick:function(){return r()},children:n.privacy.common.showChoices})]}),(0,U.tZ)(Ns,{children:(0,U.tZ)(Cs,{})})]})};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)}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 Ms(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){Us(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 Us(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}function Vs(){Vs=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 E(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 h(){}function d(){}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=d.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"==Fs(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 zs(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 Bs=(0,Or.Z)("div",{target:"ehxndao1"})((function(t){var e=t.theme;return{display:"grid",gridAutoRows:e.spacing(6),paddingLeft:e.spacing(2)}}),""),Ys=(0,Or.Z)(vu,{target:"ehxndao0"})((function(){return{fontSize:"0.7rem",fontWeight:"600"}}),""),Hs=function(t){var e=t.experienceChoice,r=t.setExperienceChoice,n=Vo().locale;return(0,U.BX)(Bs,{children:[(0,U.tZ)(Ys,{"aria-label":"radio:experience-personalization-yes",checked:e,onChange:function(){return r(!0)},children:n.privacy.screens.experiencePersonalization.radioButtonTitleYes}),(0,U.tZ)(Ys,{"aria-label":"radio:experience-personalization-no",checked:!e,onChange:function(){return r(!1)},children:n.privacy.screens.experiencePersonalization.radioButtonTitleNo})]})},qs=(0,Or.Z)("span",{target:"ex85cjj0"})({name:"146s5at",styles:"font-size:1.15em;font-weight:600"});function Xs(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 Ws(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)?Ws(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 Ws(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 $s=(0,Or.Z)(Ar,{target:"eoyk9p83"})({name:"qdeacm",styles:"flex-direction:column"}),Qs=(0,Or.Z)(hi,{target:"eoyk9p82"})({name:"1ff36h2",styles:"flex-grow:1"}),Ks=(0,Or.Z)(Ar,{target:"eoyk9p81"})({name:"1qemjat",styles:"flex-wrap:wrap"}),Js=(0,Or.Z)(Qs,{target:"eoyk9p80"})((function(t){var e=t.theme;return{color:"".concat(e.palette.grey[800]," !important")}}),""),tf=function(t){var e=Vo().locale,r=t.permissions,n=r.ads,o=r.gameExp,i=r.external,a=t.onCancel,c=t.onSaveChoice,u=Xs((0,or.useState)(!1),2),l=u[0],s=u[1],f=Xs((0,or.useState)(n),2),p=f[0],h=f[1],d=p!==n||p!==o||p!==i;(0,or.useEffect)((function(){return s(d)}),[n,p,d]),(0,or.useEffect)((function(){return h(n)}),[n]);var y=Xs(jl(),2),v=y[0],m=y[1],g=function(){return c(p)};return(0,U.BX)($s,{"aria-label":"screen:privacy-experience-personalization",gapSize:3,children:[(0,U.tZ)(qs,{children:e.privacy.screens.experiencePersonalization.title}),(0,U.tZ)("p",{children:e.privacy.screens.experiencePersonalization.description}),(0,U.tZ)(Hs,{experienceChoice:p,setExperienceChoice:h}),(0,U.BX)(Ks,{gapSize:2,children:[(0,U.tZ)(Js,{"aria-label":"button:experience-personalization-cancel",disabled:v,variant:"outlined",color:"inherit",onClick:a,children:e.privacy.common.cancel}),(0,U.tZ)(Qs,{"aria-label":"button:experience-personalization-save",disabled:!l||v,variant:"contained",onClick:function(){return m(g)},children:e.privacy.common.saveChoices})]})]})};function ef(t){return ef="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},ef(t)}function rf(){rf=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 E(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 h(){}function d(){}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=d.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"==ef(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 nf(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 of(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?nf(Object(r),!0).forEach((function(e){af(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function af(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ef(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ef(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ef(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function cf(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 uf(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 lf(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)?lf(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 lf(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 sf=(0,Or.Z)(Ar,{target:"e1o7aqut3"})({name:"qdeacm",styles:"flex-direction:column"}),ff=(0,Or.Z)(hi,{target:"e1o7aqut2"})({name:"1ff36h2",styles:"flex-grow:1"}),pf=(0,Or.Z)(Ar,{target:"e1o7aqut1"})({name:"1qemjat",styles:"flex-wrap:wrap"}),hf=(0,Or.Z)(ff,{target:"e1o7aqut0"})((function(t){var e=t.theme;return{color:"".concat(e.palette.grey[800]," !important")}}),""),df=function(t){var e=t.permissions,r=t.onCancel,n=t.onSaveChoices,o=t.showDataLeavesTerritory,i=uf((0,or.useState)(e),2),a=i[0],c=i[1],u=uf((0,or.useState)(!1),2),l=u[0],s=u[1];(0,or.useEffect)((function(){var t=JSON.stringify(a)!==JSON.stringify(e);s(t)}),[e,a]);var f=uf(jl(),2),p=f[0],h=f[1],d=function(){return n(a)},y=Vo().locale;return(0,U.BX)(sf,{"aria-label":"screen:privacy-personalization-settings",gapSize:3,children:[(0,U.tZ)(qs,{children:y.privacy.screens.personalizationSettings.title}),(0,U.tZ)("p",{children:y.privacy.screens.personalizationSettings.description}),(0,U.tZ)(os,{permissions:a,onChange:c,showDataLeavesTerritory:o}),(0,U.BX)(pf,{gapSize:2,children:[(0,U.tZ)(hf,{"aria-label":"button:personalization-settings-cancel",disabled:p,variant:"outlined",color:"inherit",onClick:r,children:y.privacy.common.cancel}),(0,U.tZ)(ff,{"aria-label":"button:personalization-settings-save",disabled:!l||p,variant:"contained",onClick:function(){return h(d)},children:y.privacy.common.saveChoices})]})]})};function yf(t){return yf="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},yf(t)}function vf(){vf=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 E(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 h(){}function d(){}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=d.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"==yf(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 mf(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 gf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?mf(Object(r),!0).forEach((function(e){bf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function bf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==yf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==yf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===yf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function wf(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 Of=(0,Or.Z)(Ar,{target:"e1qxs3iv6"})({name:"35waw2",styles:"align-items:center;flex-direction:column;text-align:center"}),Sf=(0,Or.Z)(nn,{target:"e1qxs3iv5"})({name:"1qwqlkz",styles:"height:2.25em;width:2.25em"}),xf=(0,Or.Z)("div",{target:"e1qxs3iv4"})({name:"1ucylfr",styles:"align-items:center;display:flex;justify-content:center"}),jf=(0,Or.Z)(ln,{target:"e1qxs3iv3"})({name:"1ay415h",styles:"height:auto;width:5em"}),Ef=(0,Or.Z)(Ar,{target:"e1qxs3iv2"})((function(t){return{color:t.theme.palette.grey[900],flexDirection:"column"}}),""),Pf=(0,Or.Z)(Ar,{target:"e1qxs3iv1"})({name:"qdeacm",styles:"flex-direction:column"}),kf=(0,Or.Z)(hi,{target:"e1qxs3iv0"})((function(t){var e=t.theme;return{backgroundColor:"".concat(e.palette.grey[200]," !important"),flexGrow:1}}),"");function Lf(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 _f,Af={about_this_ad:function(){var t=Vo().locale,e=Ot.getState().adBuyerInfo;return(0,U.BX)(cl,{"aria-label":"screen:privacy-about-this-ad",children:[(0,U.tZ)(ul,{children:t.privacy.screens.aboutThisAd.sectionWhy.title}),(0,U.tZ)(ll,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP1}),(0,U.BX)(sl,{children:[(0,U.tZ)(fl,{children:dl(t.privacy.screens.aboutThisAd.sectionWhy.contentLi1)}),(0,U.tZ)(fl,{children:dl(t.privacy.screens.aboutThisAd.sectionWhy.contentLi2)}),(0,U.tZ)(fl,{children:dl(t.privacy.screens.aboutThisAd.sectionWhy.contentLi3)})]}),(0,U.tZ)(ll,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP2}),(0,U.tZ)(ll,{children:t.privacy.screens.aboutThisAd.sectionWhy.contentP3}),(0,U.tZ)(ul,{children:t.privacy.screens.aboutThisAd.sectionControl.title}),(0,U.tZ)(ll,{children:t.privacy.screens.aboutThisAd.sectionControl.contentP1}),(0,U.BX)(sl,{children:[(0,U.tZ)(fl,{children:yl(t.privacy.screens.aboutThisAd.sectionControl.contentLi1,"report_ad")}),(0,U.tZ)(fl,{children:yl(t.privacy.screens.aboutThisAd.sectionControl.contentLi2,"personalization_settings")}),(0,U.tZ)(fl,{children:yl(t.privacy.screens.aboutThisAd.sectionControl.contentLi3,"privacy_settings")}),(0,U.tZ)(fl,{children:yl(t.privacy.screens.aboutThisAd.sectionControl.contentLi4,"https://unity-transparency.atlassian.net/servicedesk/customer/portal/1")})]}),e&&(0,U.BX)(vl,{children:[e.paidBy&&(0,U.tZ)(al,{label:t.privacy.screens.aboutThisAd.paidBy,value:e.paidBy}),(e.productName||e.openProductInfo)&&(0,U.tZ)(al,{label:t.privacy.screens.aboutThisAd.onBehalfOf,value:e.productName||t.cta.learnMore,onClick:e.openProductInfo})]})]})},age_gate:function(){var t,e=(0,ir.oR)(Et,(function(t){return t.screen})),r=xt((function(t){return t.trackPrivacyAction})),n=(null===(t=e.data)||void 0===t?void 0:t.age_gate_limit)||0,o=function(){var t=Ml(Fl().mark((function t(){return Fl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(ut.AgeGateOlder),t.t0=zt,t.next=4,Jt({isInitialConsent:!0});case 4:t.t1=t.sent,(0,t.t0)("age_gate_above",t.t1);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),i=function(){var t=Ml(Fl().mark((function t(){return Fl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(ut.AgeGateYounger),t.t0=zt,t.next=4,Jt({isInitialConsent:!0});case 4:t.t1=t.sent,(0,t.t0)("age_gate_below",t.t1);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a={ageGateLimit:n,onAgeGateOlder:o,onAgeGateYounger:i};return(0,or.useEffect)((function(){Sl(el.AgeGateShown)}),[]),(0,U.tZ)(Pl,{children:(0,U.tZ)(Cl,Zl({},a))})},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 ri(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)?ri(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,o.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]}),ar.X),8),r=e[0],n=e[1],i=e[2],a=e[3],c=e[4],u=e[5],l=e[6],s=e[7],f=(0,pr.X)(),p=Vo().locale;return(0,U.BX)(ni,{"aria-label":"screen:privacy-build-info",children:[(0,U.tZ)(oi,{children:p.common.buildInfo}),(0,U.BX)(ii,{children:[(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelUserAgent,value:u}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelPlatform,value:f}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelCampaign,value:null==n||null===(t=n.media)||void 0===t?void 0:t.campaignId}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelOsVersion,value:s}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelGroup,value:r}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelSdk,value:l}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelWebview,value:"v1.27.2-ad-viewer"}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelWebviewHash,value:c}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelApp,value:i}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelAppVersion,value:a}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelCreativeId}),(0,U.tZ)(ei,{label:p.privacy.views.buildInfo.labelTimeStamp,value:(new Date).toUTCString()})]})]})},consent:function(){var t=xt((function(t){return t.trackPrivacyAction}),ar.X),e=function(){var e,r=(e=Vs().mark((function e(){return Vs().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t(ut.ConsentAgreeToAll),e.t0=zt,e.next=4,Jt({isInitialConsent:!0});case 4:return e.t1=e.sent,e.next=7,(0,e.t0)("agree_all",e.t1);case 7: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){zs(i,n,o,a,c,"next",t)}function c(t){zs(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}(),r={onAgreeAll:Bt("agree_all")?e:void 0,onShowChoices:Bt("show_choices")?function(){zt("show_choices")}:void 0};return(0,or.useEffect)((function(){Sl(el.ConsentShown)}),[]),(0,U.tZ)(Pl,{children:(0,U.tZ)(Gs,Ms({},r))})},consent_choices:function(){var t,e=(0,ir.oR)(Et,(function(t){return t.screen})),r=xt((function(t){return t.trackPrivacyAction})),n=(0,ir.oR)(Yt,(function(t){return t.currentPermissions||Ul})),o=e.conditionalComponents,i=function(){var t=As(Ls().mark((function t(){return Ls().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(ut.ConsentAgreeToAll),t.t0=zt,t.next=4,Jt({isInitialConsent:!0});case 4:t.t1=t.sent,(0,t.t0)("agree_all",t.t1);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),a=function(){var t=As(Ls().mark((function t(e){var n;return Ls().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(n=Object.values(e).filter((function(t){return null!==t}))).every((function(t){return t}))){t.next=5;break}r(ut.ConsentAgreeToAll),t.next=18;break;case 5:if(!n.every((function(t){return!t}))){t.next=17;break}return r(ut.ConsentDisagreeToAll),t.t0=zt,t.t1=Ps,t.t2={},t.next=12,Jt();case 12:t.t3=t.sent,t.t4=(0,t.t1)(t.t2,t.t3),(0,t.t0)("disagree_all",t.t4),t.next=18;break;case 17:r(ut.ConsentPartiallyAgreed,e);case 18:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),c=function(){var t=As(Ls().mark((function t(e){return Ls().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a(e),t.t0=zt,t.t1=Ps,t.t2=Ps,t.t3={},t.next=7,Jt({isInitialConsent:!0});case 7:t.t4=t.sent,t.t5=(0,t.t2)(t.t3,t.t4),t.t6={},t.t7={permissions:e},t.t8=(0,t.t1)(t.t5,t.t6,t.t7),(0,t.t0)("save_choices",t.t8);case 13:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();(0,or.useEffect)((function(){Sl(el.MyChoicesShown)}),[]);var u=(null==o?void 0:o.useDataLeavesTerritoryPermission)||!1,l={nwoAvailable:!(null===(t=e.conditionalComponents)||void 0===t||!t.networkWideOpt),onAgreeAll:i,onSaveChoices:c,permissions:n,showDataLeavesTerritoryPermission:u,showDeleteData:Bt("delete_data"),showNwoSection:Bt("network_wide_opt")};return(0,U.tZ)(Pl,{children:(0,U.tZ)(xs,Ps({},l))})},experience_personalization:function(){var t=Vo().locale,e=(0,or.useContext)(lo).showSnackbar,r=xt((function(t){return t.trackPrivacyAction}),ar.X),n=(0,ir.oR)(Yt,(function(t){return t.currentPermissions||Ul})),o=function(){var n,o=(n=rf().mark((function n(o){return rf().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r(ut.ExperiencePersonalizationSubmitted,{ads:o,external:o,gameExp:o}),n.t0=zt,n.t1=of,n.t2=of,n.t3={},n.next=7,Jt();case 7:return n.t4=n.sent,n.t5=(0,n.t2)(n.t3,n.t4),n.t6={},n.t7={experiencePersonalization:o},n.t8=(0,n.t1)(n.t5,n.t6,n.t7),n.next=14,(0,n.t0)("save_choices",n.t8);case 14:e(t.privacy.screens.personalizationSettings.choicesSavedMessage,5e3);case 15:case"end":return n.stop()}}),n)})),function(){var t=this,e=arguments;return new Promise((function(r,o){var i=n.apply(t,e);function a(t){cf(i,r,o,a,c,"next",t)}function c(t){cf(i,r,o,a,c,"throw",t)}a(void 0)}))});return function(t){return o.apply(this,arguments)}}();return(0,U.tZ)(Qc,{children:(0,U.tZ)(tf,{onSaveChoice:o,permissions:n,onCancel:function(){return zt("back")}})})},hand_template:cu,hand_template_coppa:function(){var t=Vo(),e=t.locale,r=(0,t.formatMessage)(e.privacy.sections.privacyPolicy.textDescriptionCoppa,{privacyPolicy:(0,U.tZ)(bi,{href:"https://unity3d.com/legal/privacy-policy",children:e.privacy.privacyPolicy})});return(0,U.BX)(U.HY,{children:[(0,U.BX)(Oi,{children:[(0,U.tZ)(wi,{children:(0,U.tZ)(Si,{})}),(0,U.tZ)(xi,{children:e.privacy.title})]}),(0,U.BX)(wi,{children:[(0,U.tZ)(Pi,{children:(0,U.tZ)(ki,{"aria-label":"button:privacy-report-ad",variant:"contained",onClick:function(){return zt("report_ad")},children:e.common.reportAd})}),(0,U.tZ)(Li,{children:e.privacy.screens.privacyHome.textHeaderCoppa}),(0,U.tZ)(Li,{children:r})]}),(0,U.tZ)(ji,{children:(0,U.tZ)(Ei,{})})]})},personalization_settings:function(){var t,e=Vo().locale,r=(0,or.useContext)(lo).showSnackbar,n=xt((function(t){return t.trackPrivacyAction}),ar.X),o=(0,ir.oR)(Yt,(function(t){return t.currentPermissions||Ul})),i=(null===(t=(0,ir.oR)(Et,(function(t){return t.screen})).conditionalComponents)||void 0===t?void 0:t.useDataLeavesTerritoryPermission)||!1,a=function(){var t,o=(t=vf().mark((function t(o){return vf().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n(ut.PersonalizationConsentChoicesSubmitted,o),t.t0=zt,t.t1=gf,t.t2=gf,t.t3={},t.next=7,Jt();case 7:return t.t4=t.sent,t.t5=(0,t.t2)(t.t3,t.t4),t.t6={},t.t7={permissions:o},t.t8=(0,t.t1)(t.t5,t.t6,t.t7),t.next=14,(0,t.t0)("save_choices",t.t8);case 14:r(e.privacy.screens.personalizationSettings.choicesSavedMessage,5e3);case 15: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){wf(i,n,o,a,c,"next",t)}function c(t){wf(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return o.apply(this,arguments)}}();return(0,U.tZ)(Qc,{children:(0,U.tZ)(df,{onSaveChoices:a,permissions:o,onCancel:function(){return zt("back")},showDataLeavesTerritory:i})})},privacy_screen:cu,report_ad:function(){var t=Su((0,or.useState)(null),2),e=t[0],r=t[1],n=Su((0,or.useState)(!1),2),o=n[0],i=n[1],a=Su((0,or.useState)(void 0),2),c=a[0],u=a[1],l=Vo().locale,s=function(){var t,e=(t=wu().mark((function t(){var e;return wu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r(null),e=uu(),t.next=5,zt("report_ad",{adReportType:c,campaignId:e.media.campaignId,creativeId:(0,cr.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){Ou(i,n,o,a,c,"next",t)}function c(t){Ou(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();return(0,U.BX)(ju,{"aria-label":"screen:privacy-report-ad",children:[(0,U.tZ)(Eu,{children:l.common.reportAd}),(0,U.tZ)(Pu,{children:l.privacy.views.reportAd.textDescription}),(0,U.BX)(ku,{children:[e&&(0,U.tZ)(Lu,{"aria-label":"alert-error",type:"error",children:e.message}),o&&(0,U.tZ)(Lu,{"aria-label":"alert-success",children:l.privacy.views.reportAd.textSuccessAlert}),!o&&(0,U.tZ)(gu,{selectedReason:c,setSelectedReason:u})]}),(0,U.tZ)(_u,{children:l.privacy.views.reportAd.textDisclaimer}),!o&&(0,U.tZ)(Au,{"aria-label":"button:privacy-report",variant:"contained",disabled:void 0===c,onClick:s,children:l.common.report})]})},request_data:function(){var t=Hu((0,ir.oR)(Ot,(function(t){return[t.trackPrivacyAction]}),ar.X),1)[0],e=Hu((0,or.useState)(null),2),r=e[0],n=e[1],o=Hu((0,or.useState)(""),2),i=o[0],a=o[1],c=Hu((0,or.useState)(!1),2),u=c[0],l=c[1],s=Hu((0,or.useState)(!1),2),f=s[0],p=s[1],h=Vo().locale,d=function(){var e,r=(e=Bu().mark((function e(){return Bu().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t(ut.RequestDataSubmit),e.next=4,zt("request_data",{request_data:i});case 4:l(!0),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),n(e.t0);case 10: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){Yu(i,n,o,a,c,"next",t)}function c(t){Yu(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return r.apply(this,arguments)}}();return(0,U.BX)(Wu,{"aria-label":"screen:privacy-request-data",children:[(0,U.tZ)($u,{children:h.common.requestYourData}),(0,U.tZ)(Qu,{children:h.privacy.views.requestData.textDescription}),(0,U.BX)(Ku,{children:[u&&(0,U.tZ)(Ju,{children:h.privacy.views.requestData.textSuccessAlert}),r&&(0,U.tZ)(Ju,{type:"error",children:null==r?void 0:r.message}),!u&&(0,U.tZ)(Vu,{email:i,setEmail:a}),f&&(0,U.tZ)(Ka,{email:i,onClose:function(){p(!1)},onSuccess:d,onFailure:function(t){t===fa.MultipleFailedVerifications?n(new Error(h.privacy.captcha.rateLimited)):n(new Error(h.privacy.captcha.genericError))}}),!u&&(0,U.tZ)(tl,{disabled:!Uu(i),variant:"contained",onClick:function(){return p(!0)},children:h.common.submit})]})]})},routing_screen:function(){var t=Vo().locale;return(0,U.tZ)(Qc,{children:(0,U.BX)(Pf,{gapSize:3,children:[(0,U.BX)(Of,{gapSize:3,children:[(0,U.tZ)(Sf,{}),(0,U.tZ)(Kc,{children:t.privacy.screens.routing.title})]}),(0,U.BX)(Ef,{gapSize:1,children:[(0,U.tZ)(kf,{"aria-label":"button:privacy-about-this-ad",color:"inherit",onClick:function(){return zt("about_this_ad")},children:t.common.aboutThisAd}),(0,U.tZ)(kf,{"aria-label":"button:privacy-settings",color:"inherit",onClick:function(){return zt("privacy_settings")},children:t.common.privacySettings}),(0,U.BX)(Ar,{gapSize:1,children:[(0,U.tZ)(kf,{"aria-label":"button:privacy-report-ad",color:"inherit",onClick:function(){return zt("report_ad")},children:t.common.reportAd}),(0,U.tZ)(kf,{"aria-label":"button:privacy-build-info",color:"inherit",onClick:function(){return zt("build_info")},children:t.common.buildInfo})]})]}),(0,U.tZ)(xf,{children:(0,U.tZ)(jf,{})})]})})}},Tf=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 Lf(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)?Lf(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,ir.oR)(Et,(function(t){return[t.screen,t.isOpen]}),ar.X),2),e=t[0],r=t[1],n=Vo().locale,o=(0,or.useRef)(null);(0,or.useEffect)((function(){e.template&&e.template}),[e]),o.current=e.template&&Af[e.template]?e.template:o.current;var i=!!o.current&&Af[o.current],a=e.hideBackButton;return(0,U.tZ)(Ko,{open:r,onClose:function(){return zt("back")},closeButtonText:n.common.back,hideCloseButton:a,children:!!i&&(0,U.tZ)(i,{})})},If=function(t){var e=t.children;return(0,U.BX)(U.HY,{children:[e,(0,U.tZ)(K,{children:(0,U.tZ)(po,{children:(0,U.tZ)(Tf,{})})})]})},Cf=r(7968);function Df(t){return Df="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},Df(t)}function Nf(t,e){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Nf(t,e)}function Zf(t,e){if(e&&("object"===Df(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Gf(t)}function Gf(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ff(t){return Ff=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ff(t)}function Rf(t){var e=function(t,e){if("object"!==Df(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Df(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Df(e)?e:String(e)}!function(t){t.Skipped="SKIPPED",t.Completed="COMPLETED",t.Error="ERROR"}(_f||(_f={}));var Mf,Uf=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&&Nf(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=Ff(r);if(n){var o=Ff(this).constructor;t=Reflect.construct(e,arguments,o)}else t=e.apply(this,arguments);return Zf(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=Gf(n),u="ShowError",(c=Rf(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}(Cf.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"}(Mf||(Mf={})),(0,Ve.Z)(Ve.r.Ads,"Show");var Vf=(0,Ve.Z)(Ve.r.Store,"SKAdNetwork","SKADNETWORK");function zf(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 Bf(t){return Bf="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},Bf(t)}function Yf(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 Hf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yf(Object(r),!0).forEach((function(e){qf(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function qf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Bf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Bf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Bf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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}r(2684);var Wf,$f=function(t){if(e=(0,o.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 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.")}()}(e.split("."),3),n=r[0],i=r[1],a=void 0===i?"0":i,c=r[2],u=void 0===c?"0":c,l=parseFloat("".concat(n,".").concat(a)),s=parseInt(u,10),l>14.5||14.5===l&&s>=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),h=Number(n),d=Number(a),y=Number(l);if(![p,h,d,y].some(Number.isNaN)&&c&&s&&f&&u)return Hf(Hf({},{adImpressionIdentifier:s,adNetworkIdentifier:c,advertisedAppStoreItemIdentifier:h,signature:f,sourceAppStoreItemIdentifier:p,timestamp:y,version:u}),{},"4.0"===u?{sourceIdentifier:d}:{adCampaignIdentifier:d})}}}(t);var e,r,n,i,a,c,u,l,s};function Qf(t){return Qf="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},Qf(t)}function Kf(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Qf(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Qf(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Qf(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jf,tp=(Kf(Wf={},fr.t.Android,void 0),Kf(Wf,fr.t.Ios,(function(t){var e=$f(t);if(e)return function(t){var e=[];return new Promise((function(r,n){e.push(Vf.on("START_IMPRESSION_SUCCESS",(function(){return r()})),Vf.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 zf(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)?zf(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)}))),Vf.invoke("startImpression",t).catch((function(t){return n(t)}))})).finally((function(){return e.map((function(t){return t()}))}))}(e)})),Wf),ep=tp[(0,pr.X)()];function rp(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 np(t){return np="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},np(t)}function op(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==np(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==np(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===np(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ip=(op(Jf={},fr.t.Android,void 0),op(Jf,fr.t.Ios,(function(t){var e=$f(t);if(e)return function(t){var e=[];return new Promise((function(r,n){e.push(Vf.on("END_IMPRESSION_SUCCESS",(function(){return r()})),Vf.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 rp(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)?rp(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)}))),Vf.invoke("endImpression",t).catch((function(t){return n(t)}))})).finally((function(){return e.map((function(t){return t()}))}))}(e)})),Jf),ap=ip[(0,pr.X)()],cp=function(t){if((0,pr.X)()===fr.t.Ios){if(t.media.skadn)return t.media.skadn;if(t.contentType===cr.zc.Comet){var e=t.content.appStoreId;return e?{itunesitem:e}:void 0}}},up=(0,tt.M)((function(){return{isOpen:!1,preparePromise:null,preparedStoreId:null}})),lp=r(2320),sp=r(9081),fp=function(){return(0,sp.T)(window.innerWidth,window.innerHeight)},pp=function(t,e){var r=cp(t);if(null==r||!r.itunesitem)return!1;var n=(0,o.S3)().getState().native,i=n.osVersion,a=n.sdkVersion,c=n.deviceModel,u=(0,hr.k)(i);return!!function(t,e,r,n){var o=n.match(/iphone/i)||n.match(/ipod/i);return!(e<6||e>=7&&e<=8.9||15.7===e||e>=13&&e<=13.9&&r<3510||o&&t===lp.i5.Landscape&&!function(t,e){return t>=14&&e>=3510}(e,r))}(e?lp.i5.Portrait:fp(),u,a,c)&&((0,cr.zd)(t)?!t.content.bypassAppSheet:u>=14)},hp=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,dp=function(t){return hp.test(t)};function yp(t){return yp="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},yp(t)}function vp(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 mp(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vp(Object(r),!0).forEach((function(e){gp(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vp(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==yp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==yp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===yp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bp,wp=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||dp(u)||(u=void 0),mp(mp({},o),{},{adNetworkAttributionSignature:a,adNetworkImpressionTimestamp:c?Number(c):void 0},r?{adNetworkNonce:u}:{adNetworkNonceString:u})}},Op=(0,Ve.Z)(Ve.r.Store,"AppSheet","APPSHEET");!function(t){t.Webview="webview",t.AdViewer="ad-viewer"}(bp||(bp={}));var Sp,xp=function(){return bp.AdViewer};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 Ep(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}var Pp,kp=(Ep(Sp={},bp.AdViewer,(function(t,e){return a.invoke("prepareAppSheet",t,e)})),Ep(Sp,bp.Webview,(function(t,e){return Op.invoke("prepareImmediate",t,e)})),Sp)[xp()];function Lp(t){return Lp="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},Lp(t)}function _p(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Lp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Lp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Lp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ap,Tp=(_p(Pp={},bp.AdViewer,(function(t,e){return a.invoke("openAppSheet",t,e)})),_p(Pp,bp.Webview,(function(t,e){return Op.invoke("presentWithTopViewControllerSupport",t,e).catch((function(t){throw Array.isArray(t)?t[0]:t}))})),Pp)[xp()];function Ip(t){return Ip="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},Ip(t)}function Cp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ip(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ip(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ip(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dp,Np=(Cp(Ap={},bp.AdViewer,(function(t){return t?a.invoke("destroyAppSheet",t):a.invoke("destroyAppSheet")})),Cp(Ap,bp.Webview,(function(t){return t?Op.invoke("destroy",t):Op.invoke("destroy")})),Ap)[xp()];function Zp(t){return Zp="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},Zp(t)}function Gp(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Zp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Zp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Zp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fp,Rp=(Gp(Dp={},bp.AdViewer,(function(){return Promise.resolve(!!up.getState().preparedStoreId)})),Gp(Dp,bp.Webview,(function(){return Op.invoke("canOpen")})),Dp)[xp()];function Mp(t){return Mp="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},Mp(t)}function Up(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Mp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Mp(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Mp(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Vp=(Up(Fp={},bp.Webview,(function(t){return Op.on("CLOSED",t)})),Up(Fp,bp.AdViewer,(function(t){return a.on("APPSHEET_CLOSED",t)})),Fp)[xp()];function zp(t){return zp="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},zp(t)}function Bp(){Bp=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 E(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 h(){}function d(){}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=d.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"==zp(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Yp(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 Hp=function(){var t,e=(t=Bp().mark((function t(e){var r,o,i;return Bp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(pp(e,!0)){t.next=2;break}return t.abrupt("return");case 2:if(r=cp(e)){t.next=5;break}return t.abrupt("return");case 5:if(o=wp(r)){t.next=8;break}return t.abrupt("return");case 8:return t.prev=8,i=kp(o,3e4),up.setState({preparePromise:i}),t.next=13,i;case 13:up.setState({preparePromise:null,preparedStoreId:o.id}),t.next=20;break;case 16:t.prev=16,t.t0=t.catch(8),up.setState({preparePromise:null,preparedStoreId:null}),n.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){Yp(i,n,o,a,c,"next",t)}function c(t){Yp(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function qp(t){return qp="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},qp(t)}function Xp(){Xp=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 E(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 h(){}function d(){}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=d.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"==qp(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Wp(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=Xp().mark((function t(e){var r,o;return Xp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=10;break}return t.prev=1,t.next=4,Np();case 4:t.next=9;break;case 6:t.prev=6,t.t0=t.catch(1),n.Tb(t.t0);case 9:return t.abrupt("return");case 10:if(r=cp(e)){t.next=13;break}return t.abrupt("return");case 13:return o=wp(r),t.prev=14,t.next=17,Np(o);case 17:t.next=22;break;case 19:t.prev=19,t.t1=t.catch(14),n.Tb(t.t1);case 22:case"end":return t.stop()}}),t,null,[[1,6],[14,19]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Wp(i,n,o,a,c,"next",t)}function c(t){Wp(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function Qp(t){return Qp="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},Qp(t)}function Kp(){Kp=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 E(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 h(){}function d(){}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=d.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"==Qp(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 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 th(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)}))}}var eh,rh=["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."],nh=function(t){return rh.includes(t)},oh=function(){var t=th(Kp().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p,h,d,y,v=arguments;return Kp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=v.length>2&&void 0!==v[2]?v[2]:0,a=up.getState(),!(c=a.preparePromise)){t.next=10;break}return t.prev=3,t.next=6,c;case 6:t.next=10;break;case 8:t.prev=8,t.t0=t.catch(3);case 10:if(u=up.getState(),l=u.isOpen,s=null===(n=cp(e))||void 0===n?void 0:n.itunesitem,f=(0,cr.zd)(e)?e.content.appleProductPageId:null===(o=e.media.dsp)||void 0===o?void 0:o.productPage,p={id:Number(s),ppid:f},!l){t.next=22;break}return t.prev=15,t.next=18,Hp(e);case 18:t.next=22;break;case 20:t.prev=20,t.t1=t.catch(15);case 22:return t.prev=22,h=Vp(th(Kp().mark((function t(){var r;return Kp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return up.setState({isOpen:!1}),t.next=3,Hp(e);case 3:null===(r=h)||void 0===r||r();case 4:case"end":return t.stop()}}),t)})))),t.next=26,Tp(p,r);case 26:return d=t.sent,up.setState({isOpen:d}),t.abrupt("return",l);case 31:if(t.prev=31,t.t2=t.catch(22),null===(y=h)||void 0===y||y(),!nh(t.t2)){t.next=44;break}return t.next=37,Np();case 37:return t.next=39,Hp(e);case 39:if(up.setState({preparedStoreId:p.id}),!(i<3)){t.next=44;break}return t.next=43,oh(e,r,i+1);case 43:return t.abrupt("return",t.sent);case 44:throw up.setState({isOpen:!1,preparedStoreId:null}),t.t2;case 46:case"end":return t.stop()}}),t,null,[[3,8],[15,20],[22,31]])})));return function(e,r){return t.apply(this,arguments)}}();function ih(t){return ih="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},ih(t)}function ah(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ih(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ih(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ih(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ch,uh=(ah(eh={},fr.t.Android,void 0),ah(eh,fr.t.Ios,$p),eh)[(0,pr.X)()];function lh(t){return lh="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},lh(t)}function sh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==lh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==lh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===lh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fh,ph=(sh(ch={},fr.t.Android,void 0),sh(ch,fr.t.Ios,Hp),ch)[(0,pr.X)()],hh=r(4609),dh=(0,Ve.Z)(Ve.r.Core,"Intent"),yh=(0,Ve.Z)(Ve.r.Core,"UrlScheme");function vh(t){return vh="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},vh(t)}function mh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==vh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==vh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===vh(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gh=(mh(fh={},fr.t.Android,(function(t){try{return dh.invoke("launch",{action:"android.intent.action.VIEW",uri:t})}catch(r){var e=r instanceof Error?r:new Error("Unknown error");n.Tb(e,(function(e){return e.setExtra("url",t)}))}})),mh(fh,fr.t.Ios,(function(t){return yh.invoke("open",t)})),fh),bh=xp()===bp.AdViewer?function(t){return a.invoke("openUrl",t)}:gh[(0,pr.X)()],wh=["adsPlayer","consentStepLoggingEnabled"];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 Sh(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 xh(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 jh,Eh,Ph=function(t){var e=function(t){var e,r=t.privacyFsm,n=t.nativeContext,i=t.impressionConfiguration,a=(o.TH.getState().impressionConfig||{}).getExperimentation;return function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Sh(Object(r),!0).forEach((function(e){xh(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sh(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:i.country,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,pr.X)(),privacyFlow:(null==r?void 0:r.flow)||"",sdkVersion:n.sdkVersion},null==r?void 0:r.ctx)}(t),r=t.privacyFsm,n=t.getSessionTokenCallback,i=t.disableConsentScreen,a=t.sendPrivacyUpdate;!function(t,e){var r=t.adsPlayer,n=t.consentStepLoggingEnabled,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,wh),i=e.openUrlCallback,a=e.getSessionTokenCallback,c=e.fetch,u=e.sendPrivacyUpdate;Et.setState({adsPlayer:r}),Ot.setState({consentStepLoggingEnabled:n,context:o,fetch:c,getSessionTokenCallback:a,openUrlCallback:i,sendPrivacyUpdate:u})}(e,{fetch:hh.b,getSessionTokenCallback:n,openUrlCallback:bh,sendPrivacyUpdate:a}),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jt,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Ct(Ct({},t),{},{idle:t.idle||jt.idle}),n=r.idle;e&&r.pre&&(n=r.pre),Et.setState({fsm:r,isOpen:!!n.template,screen:n})}(null!=r&&r.fsm?JSON.parse(r.fsm):void 0,!i),Sl(el.InitStarted)},kh=(r(6131),r(9211),r(7362),r(717),r(5883),r(2982),r(4472),r(6719),r(7416),r(8860),r(9055),r(5946),r(7993),r(502),r(2580),r(9788),r(2752),r(5438),r(9006),r(9100),r(4939),r(3472),r(5134),r(9101),r(433)),Lh=r.n(kh),_h=r(4409),Ah=_h.Reader,Th=_h.Writer,Ih=_h.util,Ch=_h.roots.default||(_h.roots.default={}),Dh=Ch.eventsadditionaldata=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=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.eventsadditionaldata.v1.StoreOpenData;t.pos<r;){var o=t.uint32();switch(o>>>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&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/eventsadditionaldata.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=Th.create()),null!=t.duration&&Object.hasOwnProperty.call(t,"duration")&&e.uint32(16).int32(t.duration),e},t.decode=function(t,e){t instanceof Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.eventsadditionaldata.v1.LifecycleData;t.pos<r;){var o=t.uint32();o>>>3==2?n.duration=t.int32():t.skipType(7&o)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/eventsadditionaldata.v1.LifecycleData"},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}(),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.eventSequenceNumber=0,Object.defineProperty(t.prototype,"_clickTargetId",{get:Ih.oneOfGetter(e=["clickTargetId"]),set:Ih.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=Th.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")&&Ch.eventsadditionaldata.v1.StoreOpenData.encode(t.storeOpenData,e.uint32(114).fork()).ldelim(),null!=t.lifecycleData&&Object.hasOwnProperty.call(t,"lifecycleData")&&Ch.eventsadditionaldata.v1.LifecycleData.encode(t.lifecycleData,e.uint32(122).fork()).ldelim(),null!=t.eventSequenceNumber&&Object.hasOwnProperty.call(t,"eventSequenceNumber")&&e.uint32(128).int32(t.eventSequenceNumber),e},t.decode=function(t,e){t instanceof Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.eventsadditionaldata.v1.AdditionalData;t.pos<r;){var o=t.uint32();switch(o>>>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=Ch.eventsadditionaldata.v1.StoreOpenData.decode(t,t.uint32());break;case 15:n.lifecycleData=Ch.eventsadditionaldata.v1.LifecycleData.decode(t,t.uint32());break;case 16:n.eventSequenceNumber=t.int32();break;default:t.skipType(7&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/eventsadditionaldata.v1.AdditionalData"},t}(),r),n}(),Nh=Ch.gateway=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=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.gateway.v1.AllowedPii;t.pos<r;){var o=t.uint32();switch(o>>>3){case 1:n.idfa=t.bool();break;case 2:n.idfv=t.bool();break;default:t.skipType(7&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gateway.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=Ih.newBuffer([]),t.encode=function(t,e){return e||(e=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.gateway.v1.PrivacyUpdateRequest;t.pos<r;){var o=t.uint32();switch(o>>>3){case 1:n.version=t.int32();break;case 2:n.content=t.bytes();break;default:t.skipType(7&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gateway.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=Ih.newBuffer([]),t.encode=function(t,e){return e||(e=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.gateway.v1.PrivacyUpdateResponse;t.pos<r;){var o=t.uint32();switch(o>>>3){case 1:n.version=t.int32();break;case 2:n.content=t.bytes();break;default:t.skipType(7&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/gateway.v1.PrivacyUpdateResponse"},t}(),t),e}(),Zh=Ch.impressionconfiguration=function(){var t,e={};return e.v1=((t={}).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=Th.create()),null!=t.refreshRate&&Object.hasOwnProperty.call(t,"refreshRate")&&e.uint32(8).int32(t.refreshRate),e},t.decode=function(t,e){t instanceof Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.impressionconfiguration.v1.Banner;t.pos<r;){var o=t.uint32();o>>>3==1?n.refreshRate=t.int32():t.skipType(7&o)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/impressionconfiguration.v1.Banner"},t}(),t.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=Th.create()),null!=t.duration&&Object.hasOwnProperty.call(t,"duration")&&e.uint32(8).int32(t.duration),e},t.decode=function(t,e){t instanceof Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.impressionconfiguration.v1.AdPodding;t.pos<r;){var o=t.uint32();o>>>3==1?n.duration=t.int32():t.skipType(7&o)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/impressionconfiguration.v1.AdPodding"},t}(),t.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:Ih.oneOfGetter(e=["skipInSeconds"]),set:Ih.oneOfSetter(e)}),Object.defineProperty(t.prototype,"_banner",{get:Ih.oneOfGetter(e=["banner"]),set:Ih.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=Th.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")&&Ch.impressionconfiguration.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.impressionconfiguration.v1.Placement;t.pos<r;){var o=t.uint32();switch(o>>>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=Ch.impressionconfiguration.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&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/impressionconfiguration.v1.Placement"},t}(),t.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.skipOrientationCheck=null,Object.defineProperty(t.prototype,"_skipOrientationCheck",{get:Ih.oneOfGetter(e=["skipOrientationCheck"]),set:Ih.oneOfSetter(e)}),t.encode=function(t,e){return e||(e=Th.create()),null!=t.skipOrientationCheck&&Object.hasOwnProperty.call(t,"skipOrientationCheck")&&e.uint32(64).bool(t.skipOrientationCheck),e},t.decode=function(t,e){t instanceof Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.impressionconfiguration.v1.SDKFeatureFlags;t.pos<r;){var o=t.uint32();o>>>3==8?n.skipOrientationCheck=t.bool():t.skipType(7&o)}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/impressionconfiguration.v1.SDKFeatureFlags"},t}(),t.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=Ih.emptyObject,t.prototype.adDataRefreshDelayMs=0,t.prototype.fullScreenCtrOptOutStore=!1,t.encode=function(t,e){if(e||(e=Th.create()),null!=t.placementConfig&&Object.hasOwnProperty.call(t,"placementConfig")&&Ch.impressionconfiguration.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")&&Ch.impressionconfiguration.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 Ah||(t=Ah.create(t));for(var r,n,o=void 0===e?t.len:t.pos+e,i=new Ch.impressionconfiguration.v1.ImpressionConfiguration;t.pos<o;){var a=t.uint32();switch(a>>>3){case 1:i.placementConfig=Ch.impressionconfiguration.v1.Placement.decode(t,t.uint32());break;case 2:i.isSkipToAppsheetEnabled=t.bool();break;case 3:i.sdkFeatureFlags=Ch.impressionconfiguration.v1.SDKFeatureFlags.decode(t,t.uint32());break;case 4:i.country=t.string();break;case 5:i.experimentation===Ih.emptyObject&&(i.experimentation={});var c=t.uint32()+t.pos;for(r="",n="";t.pos<c;){var u=t.uint32();switch(u>>>3){case 1:r=t.string();break;case 2:n=t.string();break;default:t.skipType(7&u)}}i.experimentation[r]=n;break;case 6:i.adDataRefreshDelayMs=t.int32();break;case 7:i.fullScreenCtrOptOutStore=t.bool();break;default:t.skipType(7&a)}}return i},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/impressionconfiguration.v1.ImpressionConfiguration"},t}(),t),e}(),Gh=Ch.tracking=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=Th.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")&&Ch.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.tracking.v1.LoadedCampaignToken;t.pos<r;){var o=t.uint32();switch(o>>>3){case 1:n.campaignId=t.string();break;case 2:n.targetGameId=t.int64();break;case 3:n.startEventTimestamp=Ch.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&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/tracking.v1.LoadedCampaignToken"},t}(),t),e}(),Fh=Ch.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=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.google.protobuf.Timestamp;t.pos<r;){var o=t.uint32();switch(o>>>3){case 1:n.seconds=t.int64();break;case 2:n.nanos=t.int32();break;default:t.skipType(7&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/google.protobuf.Timestamp"},t}(),t),e}(),Rh=Ch.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=Ih.emptyArray,t.prototype.encryptionMethod=3,t.prototype.protoName=2,t.encode=function(t,e){if(e||(e=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.unity_proto.UnityProto;t.pos<r;){var o=t.uint32();switch(o>>>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&o)}}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=Th.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 Ah||(t=Ah.create(t));for(var r=void 0===e?t.len:t.pos+e,n=new Ch.unity_proto.UnityInfo;t.pos<r;){var o=t.uint32();switch(o>>>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&o)}}return n},t.getTypeUrl=function(t){return void 0===t&&(t="type.googleapis.com"),t+"/unity_proto.UnityInfo"},t}(),t}(),Mh=function(t,e){var r=new Uint8Array(Lh().util.base64.length(t));return Lh().util.base64.decode(t,r,0),e(r)},Uh=function(t){var e=new Uint8Array(t.length);return Lh().util.utf8.write(t,e,0),e},Vh=function(t){return Lh().util.utf8.read(t,0,t.length)};function zh(t){return zh="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},zh(t)}function Bh(){Bh=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 E(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 h(){}function d(){}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=d.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"==zh(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Yh(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 Hh(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==zh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==zh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===zh(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(jh={},fr.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 Nh.v1.PrivacyUpdateRequest({content:Uh(r),version:1})}(t),r=function(t){var e=Nh.v1.PrivacyUpdateRequest.encode(t).finish();return Lh().util.base64.encode(e,0,e.length)}(e);return r})),Hh(jh,fr.t.Ios,(function(t){var e=JSON.stringify(t),r=Uh(e);return{privacyPayload:Lh().util.base64.encode(r,0,r.length),version:1}})),jh),Xh=(Hh(Eh={},fr.t.Android,(function(t){var e=Mh(t,Nh.v1.PrivacyUpdateResponse.decode);return{content:Vh(e.content),version:e.version}})),Hh(Eh,fr.t.Ios,(function(t){var e=t;if(!e.content)return{content:"{}",version:1};var r=new Uint8Array(Lh().util.base64.length(e.content));return Lh().util.base64.decode(e.content,r,0),{content:Vh(r),version:e.version}})),Eh),Wh=function(){var t,e=(t=Bh().mark((function t(e){var r,n;return Bh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=qh[(0,pr.X)()](e),t.next=3,a.invoke("sendPrivacyUpdateRequest",r);case 3:return n=t.sent,t.abrupt("return",Xh[(0,pr.X)()](n));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){Yh(i,n,o,a,c,"next",t)}function c(t){Yh(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();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 Qh(){Qh=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 E(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 h(){}function d(){}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=d.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"==$h(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Kh(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 Jh(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Kh(i,n,o,a,c,"next",t)}function c(t){Kh(i,n,o,a,c,"throw",t)}a(void 0)}))}}function td(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 ed=(0,J.p)("adViewerStore")(["impressionConfiguration","campaigns","auction","nativeContext","eventStatuses"],(function(t,e){var r=[],o=!1;"ad-viewer"===xp()&&(Te.a.on("campaignStart",(function(){r[e().campaignIndex]="started"})),Te.a.on("adContentSkip",(function(){"completed"!==r[e().campaignIndex]&&(r[e().campaignIndex]="skipped")})),Te.a.on("adContentEnded",(function(){r[e().campaignIndex]="completed"})),Te.a.on("adContentRewarded",(function(){r[e().campaignIndex]="completed"})),Te.a.on("ctaClick",(function(){a.invoke("clicked").catch((function(t){n.Tb(t)}))})));var i=function(){var t=Jh(Qh().mark((function t(){var r,i,c;return Qh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!o){t.next=2;break}return t.abrupt("return");case 2:if(r=e(),i=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,a.invoke("started");case 8:return Te.a.emit("adContentStart",{campaign:c[i]}),t.next=11,a.invoke("broadcastEvent",{eventType:"AD_REFRESH"}).catch((function(t){Te.a.emitDiagnostic("broadcastEventError",{errorMessage:t.message})}));case 11:setTimeout(Jh(Qh().mark((function t(){var e;return Qh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((null===(e=c[i])||void 0===e?void 0:e.contentType)===cr.zc.Banner){t.next=3;break}return t.next=3,a.invoke("refreshAdData").catch((function(t){Te.a.emitDiagnostic("refreshAdDataError",{errorMessage:t.message})}));case 3:case"end":return t.stop()}}),t)}))),100),o=!0,t.next=18;break;case 15:t.prev=15,t.t0=t.catch(5),n.Tb(t.t0);case 18:case"end":return t.stop()}}),t,null,[[5,15]])})));return function(){return t.apply(this,arguments)}}(),u=function(){var o=Jh(Qh().mark((function o(){var i,c,u,l,s,f;return Qh().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(i=e(),c=i.campaignIndex,u=i.campaigns,(l=null==u?void 0:u[c])&&(null==uh||uh(l),null==ap||ap(l)),s=c+1,null==u?void 0:u[s]){o.next=19;break}return Te.a.emit("placementComplete",{}),f=r.some((function(t){return"completed"===t}))?_f.Completed:_f.Skipped,t({allowedPii:null,campaignIndex:-1,campaigns:null,eventStatuses:null,showOptions:null}),o.prev=9,o.next=12,a.invoke("completed",f);case 12:o.next=17;break;case 14:o.prev=14,o.t0=o.catch(9),n.Tb(o.t0);case 17:o.next=20;break;case 19:t({campaignIndex:s});case 20:case"end":return o.stop()}}),o,null,[[9,14]])})));return function(){return o.apply(this,arguments)}}(),l=function(){var r=Jh(Qh().mark((function r(o){var i,c,u,l,s;return Qh().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=e(),c=i.campaignIndex,u=i.campaigns,(l=null==u?void 0:u[c])&&(null==uh||uh(l),null==ap||ap(l)),s=c+1,null==u||!u[s]){r.next=9;break}t({campaignIndex:s}),r.next=13;break;case 9:return Te.a.emit("campaignError",{message:o.message}),t({campaignIndex:-1,campaigns:null,showOptions:null}),r.next=13,a.invoke("failed",{code:11,message:o.message}).catch((function(t){n.Tb(t)}));case 13:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}();return{allowedPii:null,campaignIndex:-1,campaigns:[],eventStatuses:[],isShowing:function(){var t=e(),r=t.campaignIndex,n=t.campaigns;return!(null==n||!n[r])},onAdContentStart:i,onCampaignError:l,onCampaignFinish:u,onCampaignStart:function(t){var e;null==ph||ph(t),null==ep||ep(t),Boolean(null===(e=Et.getState().fsm.pre)||void 0===e?void 0:e.template)&&a.invoke("cancelShowTimeout")},operativeEventCounters:{},show:function(r){var n=e(),o=n.campaigns,i=n.impressionConfiguration,u=n.auction,l=n.adDataRefreshRequest,s=n.nativeContext;if(!o||!i||o.length<=0||!u||!s)throw new Uf(Mf.NotReady,"Placement not loaded",!0);a.invoke("markCampaignStateAsShown").catch((function(t){Te.a.emitDiagnostic("markCampaignStateAsShownError",{errorMessage:t.message})}));var f=r.privacyFsm?function(t){try{return JSON.parse(c(t))}catch(t){}}(r.privacyFsm):void 0,p=function(){var t=Jh(Qh().mark((function t(){var e;return Qh().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,a.invoke("getSessionToken");case 3:return t.abrupt("return",t.sent);case 6:t.prev=6,t.t0=t.catch(0),e=t.t0 instanceof Error?t.t0.message:"Unknown error",Te.a.emitDiagnostic("sessionTokenError",{errorMessage:e});case 10:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(){return t.apply(this,arguments)}}(),h=(0,cr.ri)(null==o?void 0:o[0]);Ph({disableConsentScreen:h,getSessionTokenCallback:p,impressionConfiguration:i,nativeContext:s,privacyFsm:f,sendPrivacyUpdate:Wh}),rr.onSet((function(t,e){var r,n,o,i;if(t===ce.Public){var a=e,c=null===(r=a.privacy)||void 0===r||null===(n=r.consent)||void 0===n?void 0:n.value;if(c)le(u=c)&&se({"privacy.consent":u});else{var u,l=null===(o=a.gdpr)||void 0===o||null===(i=o.consent)||void 0===i?void 0:i.value;l&&function(t){le(t)&&se({"gdpr.consent":t})}(l)}}}));var d=l?"reuse_during_reload":void 0,y=e().invalidationReason;t({adDataRefreshRequest:void 0,allowedPii:r.allowedPii,campaignIndex:0,invalidationReason:y||d,operativeEventCounters:{},showOptions:r}),Te.a.emit("placementStart",{})},showOptions:null}})),rd=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{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}}(t)||function(t,e){if(t){if("string"==typeof t)return td(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)?td(t,3):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(ed),nd=rd[0],od=rd[1];function id(t){return id="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},id(t)}function ad(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"!==id(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==id(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key,"string"),"symbol"===id(o)?o:String(o)),n)}var o}function cd(t,e){return cd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},cd(t,e)}function ud(t,e){if(e&&("object"===id(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 ld(t){return ld=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ld(t)}rd[2];var sd=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&&cd(t,e)}(u,t);var e,r,i,a,c=(i=u,a=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=ld(i);if(a){var r=ld(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return ud(this,t)});function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=c.call(this,t)).state={error:null},e}return e=u,(r=[{key:"componentDidCatch",value:function(t,e){var r,i=this.props.onError;this.setState({error:t});var a=(null!==(r=o.TH.getState().campaignInfo)&&void 0!==r?r:{}).campaign;Te.a.emit("renderError",{campaign:a,componentStack:null==e?void 0:e.componentStack,error:t}),console.error(t),n.Tb(t),null==i||i(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}}])&&ad(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(or.Component),fd=r(335),pd=(r(923),r(3245));function hd(t){return hd="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},hd(t)}function dd(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 yd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==hd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==hd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===hd(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,md=(0,Or.Z)("iframe",{target:"errb4yh0"})({name:"sa30jb",styles:"border:none;height:100%;width:100%"}),gd=(0,or.forwardRef)((function(t,e){var r=Object.assign({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t),t));return(0,U.tZ)(md,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dd(Object(r),!0).forEach((function(e){yd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({ref:e,scrolling:"no"},r))}));function bd(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 wd=function(t){var e=a.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 bd(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)?bd(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()}},Od=r(4456),Sd=r(3216);function xd(t){return xd="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},xd(t)}function jd(){jd=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 E(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 h(){}function d(){}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=d.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"==xd(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Ed(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 Pd(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ed(i,n,o,a,c,"next",t)}function c(t){Ed(i,n,o,a,c,"throw",t)}a(void 0)}))}}var kd,Ld,_d,Ad=r(5791);function Td(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 Id(t){return Id="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},Id(t)}function Cd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Id(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Id(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Id(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Dd,Nd,Zd,Gd=(Cd(_d={},fr.t.Android,(Cd(kd={},bp.AdViewer,wd),Cd(kd,bp.Webview,(function(t){var e=setInterval(Pd(jd().mark((function e(){var r;return jd().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Od.q.invoke("getRingerMode");case 2:r=e.sent,t(r===Sd.N.Silent||r===Sd.N.Vibration);case 4:case"end":return e.stop()}}),e)}))),1e3);return function(){clearInterval(e)}})),kd)),Cd(_d,fr.t.Ios,(Cd(Ld={},bp.AdViewer,wd),Cd(Ld,bp.Webview,(function(t){var e=Ad.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 Td(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)?Td(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 Ad.b.invoke("checkIsMuted").catch((function(){Te.a.emitDiagnostic("checkIsMutedError")}))}),1e3);return function(){clearInterval(r),e()}})),Ld)),_d),Fd=r(5049);function Rd(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 Md(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)?Md(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 Md(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 Ud(t){return Ud="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},Ud(t)}function Vd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ud(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ud(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ud(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zd=(Vd(Zd={},fr.t.Android,(Vd(Dd={},bp.AdViewer,(function(t){var e=(0,o.S3)().getState().native.maxVolume,r=a.on("ON_VOLUME_CHANGE",(function(r){var n=Rd(r,1)[0];return t(n,e)}));return function(){return r()}})),Vd(Dd,bp.Webview,Fd.S.onVolumeChanged),Dd)),Vd(Zd,fr.t.Ios,(Vd(Nd={},bp.AdViewer,(function(t){var e=(0,o.S3)().getState().native.maxVolume;setTimeout((function(){a.invoke("setAudioSessionActive",!0)}),1e3);var r=a.on("ON_VOLUME_CHANGE",(function(r){var n=Rd(r,1)[0];return t(n,e)}));return function(){return r()}})),Vd(Nd,bp.Webview,Fd.S.onVolumeChanged),Nd)),Zd),Bd=function(t){return zd[(0,pr.X)()][xp()](t)};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}var Hd=function(t,e){var r=(0,o.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]}),ar.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 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.")}()}(r,5),i=n[0],a=n[1],c=n[2],u=n[3],l=n[4],s=(0,or.useRef)(100*c),f=(0,or.useRef)(u||i),p=(0,ir.oR)(Et,(function(t){return t.isOpen})),h=l&&!p,d=a===cr.zc.Banner,y=(0,or.useCallback)((function(r){if(!d){var n=s.current>=0?s.current:null;t("audioVolumeChange",f.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,or.useEffect)((function(){if(!d){var e=Bd((function(e,r){s.current=wr(e,r,!0),f.current||t("audioVolumeChange",s.current>=0?s.current:null)}));return function(){return e()}}}),[d,t]),(0,or.useEffect)((function(){if(!d){var e,r=(e=function(e){0===s.current||f.current===e||i||(f.current=e,t("audioVolumeChange",e?0:s.current))},Gd[(0,pr.X)()][xp()](e));return function(){return r()}}}),[d,i,t]),(0,or.useEffect)((function(){var e=h?100:0,r=h?{height:window.innerHeight,width:window.innerWidth,x:0,y:0}:null;t("viewableChange",h),t("exposureChange",e,r,null)}),[t,h]),{handleOnLoad:y}};function qd(t){return qd="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},qd(t)}var Xd=["onClose","onOpen","onLoad","externalIframeRef"];function Wd(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 $d(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==qd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==qd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===qd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qd=function(t){var e=t.onClose,r=t.onOpen,i=t.onLoad,a=t.externalIframeRef,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,Xd),u=(0,or.useRef)(null),l=a||u,s=(0,or.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=l.current)||void 0===e||null===(r=e.contentWindow)||void 0===r?void 0:r.postMessage({event:t,type:"mraid",value:o},"*")}),[l]),f=Hd(s,i).handleOnLoad;return(0,or.useEffect)((function(){var t,i,a,c=(i={close:t=e,open:r,orientation:function(t){var e=t.allowOrientationChange,r=t.forceOrientation;try{(0,o.S3)().getState().adUnit.setOrientation(r,e)}catch(t){n.Tb(t)}},unload:t},a=function(t){var e=t.data,r=e.event,n=e.value;if("mraid"===e.type){var o=i[r];o&&o(n)}},window.addEventListener("message",a,{passive:!0}),function(){return window.removeEventListener("message",a)});return function(){return c()}}),[e,r]),(0,U.tZ)(gd,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wd(Object(r),!0).forEach((function(e){$d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({ref:l,onLoad:f,title:"Mraid Host",sandbox:"allow-scripts"},c))},Kd=function(){var t;return!!(null===(t=uu().media.dsp)||void 0===t?void 0:t.deepLinking)},Jd=function(t){return null!=t&&t.match(/^(https|itms-apps|market|deeplinker):/i)?t:void 0},ty=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:Jd(i),fallbackUrl:Jd(n),primaryTracker:Jd(o),primaryUrl:r||void 0}}catch(t){return{}}},ey=function(t){return Boolean(null==t?void 0:t.match(/^deeplinker:./i))},ry=function(t,e){var r=t instanceof Error?t.message:"Unknown error";Te.a.emit("campaignOpenUrlError",{message:r}),n.Tb(t,(function(t){return t.setExtras(e)}))};function ny(t){return ny="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},ny(t)}function oy(){oy=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 E(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 h(){}function d(){}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=d.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"==ny(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 iy(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 ay(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){iy(i,n,o,a,c,"next",t)}function c(t){iy(i,n,o,a,c,"throw",t)}a(void 0)}))}}var cy=function(){var t=ay(oy().mark((function t(e,r){var n,o,i,a,c,u;return oy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=ty(e),o=n.primaryUrl,i=n.fallbackUrl,a=n.primaryTracker,c=n.fallbackTracker,u=function(){var t=ay(oy().mark((function t(e,n,o){return oy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r(e);case 3:return Te.a.emitDiagnostic(n),t.abrupt("return",!0);case 7:return t.prev=7,t.t0=t.catch(0),Te.a.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,hh.b)({method:"POST",url:a});case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(8),Te.a.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,hh.b)({method:"POST",url:c});case 25:t.next=30;break;case 27:t.prev=27,t.t1=t.catch(22),Te.a.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 uy(t){return uy="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},uy(t)}function ly(){ly=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 E(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 h(){}function d(){}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=d.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"==uy(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 sy(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 fy(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?sy(Object(r),!0).forEach((function(e){py(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sy(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function py(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==uy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==uy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===uy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hy(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 dy=function(){var t,e=(t=ly().mark((function t(e,r){return ly().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Te.a.emit("campaignOpenUrlCall",{}),t.prev=1,xp()!==bp.AdViewer){t.next=6;break}return t.next=5,a.invoke("openUrl",e,r&&{packageName:"com.android.vending"}||{});case 5:return t.abrupt("return");case 6:return t.next=8,dh.invoke("launch",fy({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),ry(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){hy(i,n,o,a,c,"next",t)}function c(t){hy(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function yy(t){return yy="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},yy(t)}function vy(){vy=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 E(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 h(){}function d(){}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=d.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"==yy(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 my(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 gy,by=function(t){return xp()===bp.AdViewer?a.invoke("openUrl",t):yh.invoke("open",t)},wy=function(){var t,e=(t=vy().mark((function t(e){var r,n,o;return vy().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(Te.a.emit("campaignOpenUrlCall",{}),!ey(e)||!Kd()){t.next=3;break}return t.abrupt("return",cy(e,by).catch((function(t){throw ry(t,{type:"openDeepLink",url:e}),t})));case 3:if(n=uu(),o=null===(r=cp(n))||void 0===r?void 0:r.itunesitem,t.t0=!o||!pp(n),t.t0){t.next=10;break}return t.next=9,Rp();case 9:t.t0=!t.sent;case 10:if(!t.t0){t.next=12;break}return t.abrupt("return",by(e).catch((function(t){throw ry(t,{type:"openUrl",url:e}),t})));case 12:return t.prev=12,t.next=15,oh(n,!0);case 15:t.next=22;break;case 17:return t.prev=17,t.t1=t.catch(12),ry(t.t1,{type:"openAppSheet"}),Hp(n),t.abrupt("return",by(e));case 22:case"end":return t.stop()}}),t,null,[[12,17]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){my(i,n,o,a,c,"next",t)}function c(t){my(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function Oy(t){return Oy="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},Oy(t)}function Sy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Oy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Oy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Oy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var xy=(Sy(gy={},fr.t.Android,(function(t,e){return ey(t)&&Kd()?cy(t,dy):dy(t,e)})),Sy(gy,fr.t.Ios,wy),gy)[(0,pr.X)()],jy=(0,Or.Z)("div",{target:"e1cbdc7g1"})({name:"1r5gb7q",styles:"display:inline-block"}),Ey=(0,Or.Z)(ln,{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"}),Py={name:"a420nw",styles:"html{background-color:transparent;}"},ky=function(t){var e=t.campaign,r=function(t){xy(t),Te.a.emit("ctaClick",{})},n=(0,o.xh)((function(t){return t.campaignInfo.onAdContentStart}));return(0,or.useEffect)((function(){n()}),[n]),(0,U.BX)(U.HY,{children:[(0,U.tZ)(fd.xB,{styles:Py}),(0,U.tZ)(Qd,{onOpen:r,srcDoc:e.content}),(0,U.tZ)(jy,{children:(0,U.tZ)(Ey,{})})]})};function Ly(t){return Ly="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},Ly(t)}var _y=["children"];function Ay(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 Ty(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ay(Object(r),!0).forEach((function(e){Iy(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ay(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Iy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ly(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ly(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ly(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Cy(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 Dy(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)?Dy(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 Dy(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 Ny,Zy=(0,or.createContext)(null),Gy=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,_y),n=Cy((0,or.useState)(!1),2),o=n[0],i=n[1],a=(0,or.useCallback)((function(){return i((function(t){return!t}))}),[]),c=Cy((0,or.useState)(!1),2),u=c[0],l=c[1],s=(0,or.useMemo)((function(){return Ty(Ty({},r),{},{isSkOverlayOpen:u,isSkipRewardedDialogOpen:o,setSkOverlayOpenState:l,toggleSkipRewardedDialog:a})}),[o,u,r,a,l]);return(0,U.tZ)(Zy.Provider,{value:s,children:e})},Fy=function(){var t=(0,or.useContext)(Zy);if(!t)throw new Error("useDynamicCampaignContext must be used within a DynamicCampaign.Provider");return t};function Ry(t){return Ry="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},Ry(t)}function My(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Ry(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Ry(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Ry(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Uy,Vy=(My(Ny={},fr.t.Android,(function(){return Promise.resolve()})),My(Ny,fr.t.Ios,(function(){return sr.invoke("hide")})),Ny);function zy(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"}(Uy||(Uy={}));var By,Yy=[["WILL_START_PRESENTATION",Uy.WillStartPresentation],["DID_FINISH_PRESENTATION",Uy.DidFinishPresentation],["WILL_START_DISMISSAL",Uy.WillStartDismissal],["DID_FINISH_DISMISSAL",Uy.DidFinishDismissal],["DID_FAIL_TO_LOAD",Uy.DidFailToLoad]];function Hy(t){return Hy="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},Hy(t)}function qy(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Hy(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Hy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Hy(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xy=(qy(By={},fr.t.Android,(function(){return Promise.resolve()})),qy(By,fr.t.Ios,(function(t){return sr.invoke("show",t)})),By);function Wy(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 $y=function(t){var e=Fy(),r=e.isSkOverlayOpen,n=e.setSkOverlayOpenState,i=(0,o.xh)((function(t){var e=t.campaignInfo,r=t.adExperiences;return[e.campaign.media.skadn,r.skOverlayConfig]}),ar.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 Wy(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)?Wy(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=(0,ir.oR)(Et,(function(t){return t.isOpen})),s=(0,ir.oR)(up,(function(t){return t.isOpen})),f=(0,or.useRef)(!1),p=(0,or.useRef)(!1),h=(0,or.useRef)(!1);(0,or.useEffect)((function(){if(u){var t,e,r=(t=function(t){switch(t){case Uy.DidFailToLoad:f.current=!0;break;case Uy.WillStartDismissal:case Uy.DidFinishDismissal:p.current||(h.current=!0),n(!1);break;case Uy.WillStartPresentation:case Uy.DidFinishPresentation:f.current=!1,n(!0)}},e=Yy.map((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 zy(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)?zy(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 sr.on(n,(function(){t(o)}))})),function(){return e.forEach((function(t){return t()}))});return function(){return r()}}}),[n,u]),(0,or.useEffect)((function(){if(c){var e,n=c.itunesitem;if(u&&n&&t&&!h.current&&!f.current)r||l||s?r&&(l||s)&&(p.current=!0,Vy[(0,pr.X)()]()):(p.current=!1,e={additional:wp(c,!0),appIdentifier:n,position:u.position,userDismissible:u.dismissable},Xy[(0,pr.X)()](e))}}),[c,s,t,l,r,u])};function Qy(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 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)}var Jy=["value"];function tv(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 ev(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?tv(Object(r),!0).forEach((function(e){rv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):tv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function rv(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 nv=2*Math.PI*16.5,ov=(0,Or.Z)("span",{target:"e1h3dzcw3"})({name:"1wacpor",styles:"height:2rem;position:absolute;transform:rotate(-90deg);width:2rem"}),iv=(0,Or.Z)("circle",{target:"e1h3dzcw2"})({cx:36,cy:36,fill:"none",r:16.5,stroke:"currentColor",strokeWidth:3},""),av=(0,Or.Z)(iv,{target:"e1h3dzcw1"})((function(t){var e=t.value;return{strokeDasharray:nv.toFixed(3),strokeDashoffset:"".concat(((100-e)/100*nv).toFixed(3),"px"),transition:"stroke-dashoffset 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"}}),""),cv=(0,Or.Z)(iv,{target:"e1h3dzcw0"})({name:"o9ww1u",styles:"opacity:0.5"}),uv=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,Jy);return(0,U.tZ)(ov,ev(ev({role:"progressbar","aria-valuenow":Math.round(r)},n),{},{children:(0,U.BX)("svg",{viewBox:"".concat(18," ").concat(18," ").concat(36," ").concat(36),children:[(0,U.tZ)(cv,{}),(0,U.tZ)(av,{value:r})]})}))};function lv(t){return lv="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},lv(t)}var sv=["onClick","closeTimerDurationInMs"];function fv(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 pv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?fv(Object(r),!0).forEach((function(e){hv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fv(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"!==lv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==lv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===lv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dv=(0,Or.Z)("div",{target:"esogawv1"})({name:"1c85bns",styles:"align-items:center;display:flex;justify-content:center;position:relative"}),yv=(0,Or.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}}),""),vv=function(t){var e,r,n,o,i=t.onClick,a=t.closeTimerDurationInMs,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,sv),u=(e=a,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 Qy(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)?Qy(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,or.useState)(0),2),n=r[0],o=r[1],(0,or.useEffect)((function(){if(!(n>=e)){var t=window.setTimeout((function(){o((function(t){return t+100}))}),100);return function(){return window.clearTimeout(t)}}}),[e,n]),{complete:n>=e,currentTimeInMs:n}),l=u.currentTimeInMs/a*100;return(0,U.BX)(dv,pv(pv({},c),{},{children:[(0,U.tZ)(yv,{"aria-label":"Close",disabled:!u.complete,onClick:i,children:(0,U.tZ)(bn,{})}),!u.complete&&(0,U.tZ)(uv,{value:l})]}))},mv=function(t,e){return e?t:-1};function gv(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 bv=(0,Or.Z)(vv,{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}}),""),wv=function(t){var e=t.closeTimerDurationInS,r=t.isEndScreen,n=t.onClose,i=t.onReward,a=function(t,e,r,n,i){var a=(0,o.xh)((function(t){var e=t.placement;return[e.allowSkip,e.skipInSeconds]}),ar.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 gv(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)?gv(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,2),u=c[0],l=c[1],s=mv(l,u),f=!e&&u,p=(0,or.useRef)(!1);return(0,or.useEffect)((function(){if(!e){var r=setTimeout((function(){f?p.current=!0:null==i||i()}),1e3*(f?t:.75*t));return function(){return clearTimeout(r)}}}),[t,e,f,i,s]),{closeTimerDurationInMs:1e3*(f?s:t),handleOnClick:f?function(){return p.current?r():null==n?void 0:n()}:r}}(e,r,n,t.onSkip,i),c=a.closeTimerDurationInMs,u=a.handleOnClick;return(0,U.tZ)(bv,{closeTimerDurationInMs:c,onClick:u})},Ov=(0,fd.F4)({"0%":{transform:"translate(-50%, -15vh)"},"100%":{transform:"translate(-50%, 0)"}}),Sv=(0,Or.Z)("div",{target:"e1qqjidc0"})({alignSelf:"center",animation:"".concat(Ov," 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 xv(t){return xv="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},xv(t)}function jv(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 Ev(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jv(Object(r),!0).forEach((function(e){Pv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Pv(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==xv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==xv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===xv(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kv=(0,Or.Z)("button",{target:"ea9ymzr1"})({name:"2294y0",styles:"color:inherit;cursor:pointer"}),Lv=(0,Or.Z)(nn,{target:"ea9ymzr0"})({name:"6r56vi",styles:"height:1rem;width:1rem"}),_v=function(t){return(0,U.tZ)(kv,Ev(Ev({"aria-label":"Privacy"},t),{},{children:(0,U.tZ)(Lv,{})}))};function Av(t){return Av="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},Av(t)}var Tv=["onClick"];function Iv(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 Cv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Iv(Object(r),!0).forEach((function(e){Dv(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Iv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Dv(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Av(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Av(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Av(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Nv=(0,Or.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%"}),Zv=(0,Or.Z)(nn,{target:"e1bqc1sn1"})({name:"6duii0",styles:"color:black;opacity:0.3"}),Gv=(0,Or.Z)("span",{target:"e1bqc1sn0"})({name:"rni46",styles:"font-size:0.5rem;padding:0.5rem;text-align:center;width:90%"}),Fv=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,Tv),n=Vo().locale;return(0,or.useEffect)((function(){Ot.getState().ctaPermissionsWereApplied||(Ot.setState({ctaPermissionsWereApplied:!0}),te())}),[]),(0,U.BX)(Nv,Cv(Cv({onClick:e},r),{},{"aria-label":"privacy-call-to-action-banner",children:[(0,U.tZ)(Zv,{}),(0,U.tZ)(Gv,{children:Po(n.privacy.callToActionBanner.message,{Link:(0,U.tZ)(da,{children:n.privacy.callToActionBanner.tapHere})})})]}))};function Rv(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 Mv=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 Rv(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)?Rv(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,ir.oR)(Ot,(function(t){return[t.trackPrivacyAction,t.updateContext]}),ar.X),2),e=t[0],r=t[1];return function(){return e(ut.PrivacyOpened),r({showCallToActionBanner:!1}),zt("hand")}},Uv=(0,Or.Z)(_v,{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}}),""),Vv=(0,Or.Z)("div",{target:"e1b4284d2"})({name:"1ciq5w0",styles:"bottom:1.25rem;padding:0 1.25rem;pointer-events:initial;position:absolute;width:100%;z-index:1"}),zv=(0,Or.Z)(Fv,{target:"e1b4284d1"})({name:"1739oy8",styles:"z-index:1"}),Bv=(0,Or.Z)(Sv,{target:"e1b4284d0"})({"@media (orientation: portrait)":{marginTop:["1rem","constant(safe-area-inset-top)","env(safe-area-inset-top)"]},marginTop:"1rem"},""),Yv=function(){var t=(0,ir.oR)(Et,(function(t){var e;return null===(e=t.adsPlayer)||void 0===e?void 0:e.showAdNotice})),e=xt((function(t){return t.context.showCallToActionBanner})),r=Mv(),n=Vo().locale,i=(0,o.xh)((function(t){return t.campaignInfo.campaign})).contentType;return(0,U.BX)(U.HY,{children:[t&&(0,U.tZ)(Bv,{children:n.common.advertisement}),(0,U.tZ)(Uv,{isGmaTpsc:i===cr.zc.GmaTpsc,onClick:r}),e&&(0,U.tZ)(Vv,{children:(0,U.tZ)(zv,{onClick:r})})]})};function Hv(t){return Hv="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},Hv(t)}function qv(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 Xv(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 Wv(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xv(Object(r),!0).forEach((function(e){$v(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xv(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $v(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Hv(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Hv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Hv(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=(0,Or.Z)("div",{target:"ewla0uj1"})((function(t){return Wv(Wv({},t.theme.mixins.absoluteFullscreen),{},{display:"flex",flexDirection:"column",pointerEvents:"none"})}),""),Kv=(0,Or.Z)("div",{target:"ewla0uj0"})({name:"1owfoye",styles:"display:flex;flex-grow:1;pointer-events:auto"}),Jv=function(t){var e=t.closeTimerDurationInS,r=t.isEndScreen,n=void 0!==r&&r,i=t.onClose,a=t.onReward,c=t.onSkip,u=t.children,l=(0,o.xh)((function(t){return t.adExperiences.skOverlayConfig})),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 qv(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)?qv(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,or.useState)(!1),2),f=s[0],p=s[1],h=i&&void 0!==e;return(0,or.useEffect)((function(){if(l){var t=setTimeout((function(){return p(!0)}),l.videoDelay);return function(){return clearTimeout(t)}}}),[l]),$y(f),(0,U.BX)(Qv,{children:[(0,U.tZ)(Yv,{}),h&&(0,U.tZ)(wv,{closeTimerDurationInS:e,isEndScreen:n,onClose:i,onReward:a,onSkip:c}),u&&(0,U.tZ)(Kv,{children:u})]})};function tm(t){return tm="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},tm(t)}var em=["onClose","onOpen","onSkip","closeTimerDurationInS","isEndScreen"];function rm(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?rm(Object(r),!0).forEach((function(e){om(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function om(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==tm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==tm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===tm(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var im=(0,Or.Z)("div",{target:"eq5a6t10"})({name:"pmcd66",styles:"height:100%;overflow:hidden;width:100%"}),am=function(t){var e=t.onClose,r=t.onOpen,n=t.onSkip,o=t.closeTimerDurationInS,i=t.isEndScreen,a=void 0!==i&&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,em);return(0,U.BX)(im,{children:[(0,U.tZ)(Jv,{closeTimerDurationInS:o,isEndScreen:a,onClose:e,onReward:function(){Te.a.emit("adContentThirdQuartile",{})},onSkip:n}),(0,U.tZ)(Qd,nm({onClose:e,onOpen:r},c))]})};function cm(t){return cm="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},cm(t)}function um(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 lm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?um(Object(r),!0).forEach((function(e){sm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):um(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function sm(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==cm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===cm(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fm={"@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}}},pm={"@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}}},hm=function(){return(0,U.tZ)(fd.xB,{styles:(0,fd.iv)({html:lm(lm(lm({fontFamily:"Helvetica, sans-serif",height:"100%",width:"100%"},fm),pm),{},{color:"#fff"})},"","")})};function dm(t){return dm="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},dm(t)}var ym=["price","free"];function vm(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 mm(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?vm(Object(r),!0).forEach((function(e){gm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function gm(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==dm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dm(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var bm=(0,Or.Z)("div",{target:"e1h867sd2"})((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"}}),""),wm=(0,Or.Z)("div",{target:"e1h867sd1"})({name:"jr0z0f",styles:"color:#b7b7b7;font-size:0.5rem"}),Om=(0,Or.Z)("div",{target:"e1h867sd0"})({name:"1cabvqy",styles:"color:#333;font-size:1rem;font-weight:700;text-transform:uppercase"}),Sm=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,ym);return(0,U.BX)(bm,mm(mm({},n),{},{children:[(0,U.tZ)(wm,{children:e}),(0,U.tZ)(Om,{children:r})]}))};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)}function jm(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 Em(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?jm(Object(r),!0).forEach((function(e){Pm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):jm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Pm(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}var km=(0,Or.Z)("div",{target:"e1seii8g4"})({name:"6anbn1",styles:"@media (orientation: landscape){justify-content:center;}align-items:flex-start;display:flex;flex-direction:column"}),Lm=(0,Or.Z)("span",{target:"e1seii8g3"})({name:"1n9n43x",styles:"color:#7c7c7c;font-size:0.5rem;margin-left:.45rem"}),_m=(0,Or.Z)("div",{target:"e1seii8g2"})({name:"92e9ck",styles:"font-size:.8rem;line-height:1;position:relative;white-space:nowrap"}),Am=(0,Or.Z)("div",{target:"e1seii8g1"})((function(t){var e=t.rating;return{color:"#ff8e00",overflow:"hidden",position:"absolute",width:"".concat(e/5*100,"%"),zIndex:1}}),""),Tm=(0,Or.Z)("div",{target:"e1seii8g0"})({name:"9ne3uf",styles:"color:#e6e6e6;z-index:0"}),Im=function(t){var e=t.rating,r=void 0===e?0:e,n=t.ratingCountText,o=n&&"0"!==n;return(0,U.BX)(km,Em(Em({},t),{},{children:[(0,U.BX)(_m,{children:[(0,U.BX)(Am,{rating:r,children:[(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{})]}),(0,U.BX)(Tm,{children:[(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{}),(0,U.tZ)(dn,{})]})]}),o&&(0,U.BX)(Lm,{children:["(",n,")"]})]}))},Cm=(0,Or.Z)("div",{target:"e1j1t2tk3"})((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"}}),""),Dm=(0,Or.Z)(Fv,{target:"e1j1t2tk2"})((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"}}),""),Nm=(0,Or.Z)("div",{target:"e1j1t2tk1"})({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%;}"}),Zm=(0,Or.Z)("div",{target:"e1j1t2tk0"})((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"}}),""),Gm=function(t){var e=t.appName,r=t.rating,n=t.ratingCountText,o=t.showPrivacyCallToActionBanner,i=t.hideInLandscape,a=Mv(),c=Vo().locale;return i?(0,U.BX)(Cm,{hideInLandscape:!0,children:[e&&(0,U.tZ)(Zm,{"data-element-id":Xu.EndScreenAppName,children:e}),(0,U.tZ)(Nm,{children:r&&(0,U.tZ)(Im,{rating:r,ratingCountText:n,"data-element-id":Xu.EndScreenAppRating})}),o&&(0,U.tZ)(Dm,{onClick:a,hideInLandscape:!0,"data-element-id":Xu.EndScreenGdprBanner})]}):(0,U.BX)(Cm,{hideInPortrait:!0,children:[e&&(0,U.tZ)(Zm,{"data-element-id":Xu.EndScreenAppName,children:e}),o&&(0,U.tZ)(Dm,{onClick:a,hideInPortrait:!0,"data-element-id":Xu.EndScreenGdprBanner}),(0,U.BX)(Nm,{children:[r&&(0,U.tZ)(Im,{rating:r,ratingCountText:n,"data-element-id":Xu.EndScreenAppRating}),(0,U.tZ)(Sm,{hideInPortrait:!0,free:c.common.free,price:c.common.price})]})]})};function Fm(t){return Fm="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},Fm(t)}var Rm=["children","backgroundColor"];function Mm(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 Um(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mm(Object(r),!0).forEach((function(e){Vm(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mm(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vm(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Fm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Fm(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Fm(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zm="".concat(.65*1.4,"rem"),Bm="".concat(.8*1.4,"rem"),Ym="".concat(1.26,"rem"),Hm="".concat(1.54,"rem"),qm="".concat(1.26,"rem"),Xm=(0,fd.F4)({"30%":{transform:"scale(1.05)"},"from, 60%, 100%":{transform:"scale(1)"}}),Wm=(0,fd.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(zm," ").concat(zm,", ").concat(qm," ").concat(qm,", ").concat(Bm," ").concat(Bm,", ").concat(Hm," ").concat(Hm,", ").concat(Ym," ").concat(Ym,", ").concat(zm," ").concat(zm,", ").concat(Bm," ").concat(Bm,", ").concat(zm," ").concat(zm,", ").concat(qm," ").concat(qm)},"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%"}}),$m=(0,fd.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(Bm," ").concat(Bm,", ").concat(zm," ").concat(zm,", ").concat(qm," ").concat(qm,",").concat(Ym," ").concat(Ym,", ").concat(Bm," ").concat(Bm,", ").concat(zm," ").concat(zm,", ").concat(Ym," ").concat(Ym)},"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%"}}),Qm=(0,Or.Z)("button",{target:"e1yj81ts1"})((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"}}),""),Km=(0,Or.Z)(Qm,{target:"e1yj81ts0"})((function(t){var e=t.backgroundColor;return{"&:after":{animationName:$m,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:Wm,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(Xm," 1.5s ease-in-out infinite"),transformOrigin:"center center"}}),""),Jm=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,Rm);return(0,U.tZ)(Km,Um(Um({backgroundColor:n},o),{},{children:e}))},tg=(0,Or.Z)("div",{target:"ear57vs4"})({"@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",display:"flex",justifyContent:"space-between",padding:"0.6rem 0.6rem 0.3rem",width:"100%"},""),eg=(0,Or.Z)("div",{target:"ear57vs3"})({"&:first-of-type":{justifyContent:"flex-start"},"&:last-of-type":{justifyContent:"flex-end",marginRight:["0","constant(safe-area-inset-right)","env(safe-area-inset-right)"]},color:"#696969",display:"flex",flex:1,fontSize:"1rem",justifyContent:"center",opacity:.3},""),rg=(0,Or.Z)(ln,{target:"ear57vs2"})({name:"2srb4d",styles:"height:0.8em;width:auto"}),ng=(0,Or.Z)(Kr,{target:"ear57vs1"})({name:"bf4dom",styles:"height:0.65em;width:auto"}),og=(0,Or.Z)(_v,{target:"ear57vs0"})({name:"1hcx8jb",styles:"padding:0"}),ig=function(t){var e=t.onPrivacyClick,r=t.showChinaAdLabel;return(0,U.BX)(tg,{children:[(0,U.tZ)(eg,{children:(0,U.tZ)(og,{onClick:e,"data-element-id":Xu.EndScreenPrivacyButton})}),(0,U.tZ)(eg,{children:(0,U.tZ)(rg,{"data-element-id":Xu.EndScreenAdsLogo})}),(0,U.tZ)(eg,{children:r&&(0,U.tZ)(ng,{"data-element-id":Xu.EndScreenChinaAd})})]})},ag=(0,Or.Z)("div",{target:"ef246yt6"})({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%"}),cg=(0,Or.Z)("div",{target:"ef246yt5"})((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"}}),""),ug=(0,Or.Z)(vv,{target:"ef246yt4"})((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}}),""),lg=(0,Or.Z)("div",{target:"ef246yt3"})((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"}}),""),sg=(0,Or.Z)("div",{target:"ef246yt2"})({name:"1mn1v94",styles:"@media (orientation: landscape){flex:.5;position:relative;width:100%;}"}),fg=(0,Or.Z)("div",{target:"ef246yt1"})({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"}),pg=(0,Or.Z)("div",{target:"ef246yt0"})({"@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},""),hg=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,h=Mv(),d=Vo().locale;return(0,U.BX)(ag,{"data-element-id":Xu.EndScreenEndScreen,children:[(0,U.tZ)(hm,{}),(0,U.tZ)(ug,{closeTimerDurationInMs:r,onClick:a,"data-element-id":Xu.EndScreenCloseButton}),(0,U.tZ)(pg,{}),(0,U.BX)(cg,{isSquareCreative:f,children:[o,(0,U.tZ)(Gm,{appName:e,rating:u,ratingCountText:l,showPrivacyCallToActionBanner:s,hideInLandscape:!0})]}),(0,U.BX)(lg,{isSquareCreative:f,children:[(0,U.tZ)(Gm,{appName:e,rating:u,ratingCountText:l,showPrivacyCallToActionBanner:s}),(0,U.BX)(fg,{children:[(0,U.tZ)(Sm,{hideInLandscape:!0,free:d.common.free,price:d.common.price}),(0,U.tZ)(Jm,{onClick:c,"data-element-id":Xu.EndScreenCtaButton,children:i})]}),(0,U.tZ)(sg,{children:(0,U.tZ)(ig,{onPrivacyClick:h,showChinaAdLabel:p})})]})]})},dg=(0,Or.Z)("div",{target:"eremgzu4"})((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"}}),""),yg=(0,Or.Z)("img",{target:"eremgzu3"})({name:"zadh65",styles:"height:100%;object-fit:cover;width:100%"}),vg=(0,Or.Z)(yg,{target:"eremgzu2"})({name:"1nsg8vt",styles:"@media (orientation: portrait){display:none;}"}),mg=(0,Or.Z)(yg,{target:"eremgzu1"})({name:"1d9fkkt",styles:"@media (orientation: landscape){display:none;}"}),gg=(0,Or.Z)("img",{target:"eremgzu0"})({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%"}),bg=function(t){var e=t.squareImageUrl,r=t.portraitImageUrl,n=t.landscapeImageUrl,o=t.onClick;return e?(0,U.tZ)(dg,{onClick:o,"data-element-id":Xu.EndScreenCreative,isSquareCreative:!!e,children:(0,U.tZ)(gg,{src:e})}):(0,U.BX)(dg,{onClick:o,"data-element-id":Xu.EndScreenCreative,children:[(0,U.tZ)(mg,{src:r}),(0,U.tZ)(vg,{src:n})]})};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}var Og=function(t){var e,r,n=t.campaign,i=t.onOpen,a=t.onFinish,c=n.content,u=c.gameName,l=c.endScreen,s=c.endScreenLandscape,f=c.endScreenPortrait,p=c.rating,h=c.ratingCount,d=(0,o.xh)((function(t){var e=t.impressionConfig,r=t.native,n=t.placement;return[e.country,r.platform,n.closeTimerDuration]}),ar.X),y=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.")}()}(d,3),v=y[0],m=y[1],g=y[2],b=Vo().locale,w=function(t,e){return t===fr.t.Ios?e.common.get:e.common.install}(m,b),O=xt((function(t){return t.context.showCallToActionBanner}));return(0,U.tZ)(hg,{appName:u,closeTimerDurationInMs:1e3*(null!=g?g:0),country:v,ctaText:w,onClose:a,onCtaClick:i,creative:(0,U.tZ)(bg,{squareImageUrl:l,landscapeImageUrl:s,portraitImageUrl:f,onClick:i}),isSquareCreative:!!l,rating:p,ratingCountText:(e=h,r=b.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:O})};function Sg(t){return Sg="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},Sg(t)}function xg(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 jg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xg(Object(r),!0).forEach((function(e){Eg(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xg(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Eg(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sg(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Sg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Sg(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Pg(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 kg(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)?kg(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 kg(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 Lg=(0,Or.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"}}),""),_g=function(t){var e=t.imageUrl,r=t.appName,n=t.onClick,o=Pg((0,or.useState)(!1),2),i=o[0],a=o[1],c=Pg((0,or.useState)(!1),2),u=c[0],l=c[1];return(0,U.tZ)(Lg,jg(jg({},t),{},{src:e,alt:r,onLoad:function(){a(!0)},onError:function(){l(!0)},loaded:i,error:u,onClick:n}))},Ag=(0,Or.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"}}),""),Tg=(0,Or.Z)(_g,{target:"ej78llb1"})({name:"xppkyn",styles:"height:2.5rem;margin-right:0.5rem;width:2.5rem"}),Ig=(0,Or.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"}}),""),Cg=function(t){var e,r,n=t.appName,i=t.appImageUrl,a=t.showCtaButton,c=t.onCtaClick,u=(0,o.xh)((function(t){return t.adExperiences.customCtaText})),l=(e=(0,o.xh)((function(t){return t.campaignInfo.campaign})),r=Vo().locale,e.contentType===cr.zc.Comet&&e.content.gameIcon||e.contentType===cr.zc.Vast&&e.media.bundleId?r.cta.installNow:r.cta.learnMore);return(0,U.BX)(Ag,{visible:a,children:[i&&(0,U.tZ)(Tg,{onClick:c,appName:n,imageUrl:i,"data-element-id":Xu.VideoAppIcon}),(0,U.tZ)(Ig,{onClick:c,"data-element-id":Xu.VideoCtaButton,children:u||l})]})},Dg=(0,Or.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},""),Ng=(0,Or.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%"}}),""),Zg=(0,Or.Z)(Ng,{target:"ekf81bc0"})((function(t){var e=t.theme,r=t.value;return{backgroundColor:e.palette.blue.light,transform:"translateX(-".concat(Math.round(100-r),"%)")}}),""),Gg=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,U.BX)(Dg,{role:"progressbar","aria-valuenow":i,"aria-valuemin":0,"aria-valuemax":100,children:[(0,U.tZ)(Ng,{value:i,"data-element-id":Xu.VideoProgressBar}),(0,U.tZ)(Zg,{value:c,"data-element-id":Xu.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 Rg(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)?Rg(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 Rg(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 Mg=(0,Or.Z)("div",{target:"e1n9felf0"})((function(t){return{alignItems:"center",display:"flex",flexDirection:"column",opacity:t.visible?"1":"0",transitionDuration:"".concat(500,"ms"),transitionProperty:"opacity"}}),""),Ug=function(t){var e=t.open,r=t.children,n=(0,or.useRef)(null),o=Fg((0,or.useState)(e),2),i=o[0],a=o[1],c=Fg((0,or.useState)(!1),2),u=c[0],l=c[1];return(0,or.useEffect)((function(){if(!e){var t=setTimeout((function(){a(e)}),500);return function(){return clearTimeout(t)}}a(e)}),[e,a]),(0,or.useEffect)((function(){n.current&&l(!!e)}),[e,i]),i?(0,U.tZ)(Mg,{ref:n,visible:u,children:r}):null},Vg=(0,Or.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"}),zg=(0,Or.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"}}),""),Bg=(0,Or.Z)("div",{target:"ez59ok51"})({name:"1ih1q4a",styles:"align-items:center;display:flex;flex:1;flex-direction:column;overflow-y:scroll"}),Yg=(0,Or.Z)("div",{target:"ez59ok50"})({name:"id8odv",styles:"display:flex;font-size:0.8em;justify-content:center"}),Hg=function(t){var e=t.container,r=void 0===e?window.document.body:e,n=t.open,o=t.children;return(0,pd.createPortal)((0,U.tZ)(Ug,{open:n,children:(0,U.tZ)(Vg,{children:(0,U.tZ)(zg,{children:o})})}),r)},qg=(0,Or.Z)("div",{target:"e1klz1vy2"})((function(t){var e=t.theme;return{fontWeight:"bold",paddingBottom:e.spacing(3),paddingTop:e.spacing(1)}}),""),Xg=(0,Or.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"}}),""),Wg=(0,Or.Z)("div",{target:"e1klz1vy0"})({name:"1f67ojl",styles:"font-size:1.4em;font-weight:bold"}),$g=function(t){var e=t.onSkip,r=Vo().locale,n=Fy(),o=n.isSkipRewardedDialogOpen,i=n.toggleSkipRewardedDialog,a=(0,or.useCallback)((function(t){Te.a.emit("adContentSkip",{}),e(t,!0),i()}),[e,i]);return(0,U.BX)(Hg,{open:o,children:[(0,U.BX)(Bg,{children:[(0,U.tZ)(Wg,{children:(0,U.tZ)(Bn,{})}),(0,U.tZ)(qg,{children:r.reward.title}),(0,U.tZ)(Xg,{children:r.reward.description})]}),(0,U.BX)(Yg,{children:[(0,U.tZ)(hi,{variant:"text",onClick:function(t){return a(t)},children:r.reward.skipButtonText}),(0,U.tZ)(hi,{color:"primary",variant:"contained",onClick:i,children:r.reward.resumeButtonText})]})]})};function Qg(t){return Qg="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},Qg(t)}function Kg(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 Jg(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Kg(Object(r),!0).forEach((function(e){tb(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Kg(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function tb(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Qg(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Qg(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Qg(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var eb=(0,Or.Z)(Dn,{target:"e1jwgjo412"})({name:"1d2bfnw",styles:"height:.85em;width:.85em"}),rb=(0,Or.Z)(Rn,{target:"e1jwgjo411"})({name:"1d2bfnw",styles:"height:.85em;width:.85em"}),nb=(0,Or.Z)(bn,{target:"e1jwgjo410"})({name:"1obb4yh",styles:"height:.65em;width:.65em"}),ob={close:(0,U.tZ)(nb,{}),play:(0,U.tZ)(rb,{}),skip:(0,U.tZ)(eb,{})},ib={close:Xu.VideoCloseButton,play:Xu.VideoPlayButton,skip:Xu.VideoSkipButton},ab=(0,Or.Z)("div",{target:"e1jwgjo49"})((function(t){return Jg(Jg({},t.theme.mixins.absoluteFullscreen),{},{display:"flex",flexDirection:"column",justifyContent:"space-between",padding:"1rem 0"})}),""),cb=(0,Or.Z)("div",{target:"e1jwgjo48"})({name:"unrh3l",styles:"display:flex;justify-content:space-between;width:100%"}),ub=(0,Or.Z)(cb,{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"},""),lb=(0,Or.Z)(cb,{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"},""),sb=(0,Or.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}}),""),fb=(0,Or.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"}}),""),pb=(0,Or.Z)(fb,{target:"e1jwgjo43"})({name:"7juozk",styles:"border-radius:0 0.25rem 0.25rem 0;font-size:2rem"}),hb=(0,Or.Z)(fb,{target:"e1jwgjo42"})({name:"16ghcsg",styles:"border-radius:0 0.25rem 0.25rem 0"}),db=(0,Or.Z)(fb,{target:"e1jwgjo41"})({name:"1imzoni",styles:"border-radius:0.25rem;height:2.25rem;margin-left:0.5rem;width:2.25rem"}),yb=(0,Or.Z)(fb,{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"}),vb=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,h=t.onVolumeClick,d=t.rewardedText,y=t.bottomControlsTranslateInPx,v=ob[p],m=ib[p];return(0,U.BX)(ab,{onClick:c,children:[e?(0,U.tZ)(Sv,{children:e}):void 0,(0,U.BX)(ub,{children:[(0,U.tZ)(sb,{visible:r,children:i&&(0,U.tZ)(pb,{"aria-label":"Skip",visible:r,onClick:l,"data-element-id":m,children:v})}),d?(0,U.tZ)(sb,{children:(0,U.tZ)(yb,{children:d})}):void 0]}),(0,U.BX)(lb,{children:[(0,U.BX)(U.HY,{children:[(0,U.BX)(sb,{visible:r,bottomControlsTranslateInPx:y,children:[(0,U.tZ)(hb,{"aria-label":a?"Muted":"Unmuted",visible:r,onClick:h,"data-element-id":Xu.VideoMuteButton,children:a?(0,U.tZ)(jn,{}):(0,U.tZ)(_n,{})}),(0,U.tZ)(db,{"aria-label":"Privacy",visible:r,onClick:u,"data-element-id":Xu.VideoPrivacyButton,children:(0,U.tZ)(nn,{})})]}),n]}),s]}),o,f]})};function mb(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 gb(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)?gb(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 gb(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 bb,wb=(0,Or.Z)("div",{target:"e58vn4i0"})({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'});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)}function Sb(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 xb(){xb=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 E(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 h(){}function d(){}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=d.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"==Ob(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 jb(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 Eb(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){jb(i,n,o,a,c,"next",t)}function c(t){jb(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"}(bb||(bb={}));var Pb=function(){var t=Eb(xb().mark((function t(e){return xb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.play());case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),kb=function(t){return new Promise((function(e){window.setTimeout(e,t)}))};function Lb(t){return Lb="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},Lb(t)}var _b=["durationInMs","muted","onDurationChange","onEnded","onError","onPause","onPlay","onTimeUpdate","onVideoStalled","setMuted","src","timeInMs"];function Ab(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 Tb(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ab(Object(r),!0).forEach((function(e){Ib(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ab(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ib(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Lb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Lb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Lb(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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}var Db=(0,Or.Z)("video",{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,i=t.onDurationChange,a=t.onEnded,c=t.onError,u=t.onPause,l=t.onPlay,s=t.onTimeUpdate,f=t.onVideoStalled,p=(t.setMuted,t.src),h=t.timeInMs,d=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,_b),y=(0,or.useRef)(null),v=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 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.")}()}((0,or.useState)(!1),2),m=v[0],g=v[1],b=function(t){var e,r,n,i,a=t.durationInMs,c=t.timeInMs,u=(0,o.xh)((function(t){return t.campaignInfo.onAdContentStart})),l=(e=(0,o.xh)((function(t){return t.isForeground})),r=Fy().isSkipRewardedDialogOpen,n=(0,ir.oR)(Et,(function(t){return t.isOpen})),i=(0,ir.oR)(up,(function(t){return t.isOpen})),e&&!r&&!n&&!i),s=(0,or.useRef)(),f=mb((0,or.useState)(c),2),p=f[0],h=f[1],d=mb((0,or.useState)(!1),2),y=d[0],v=d[1],m=mb((0,or.useState)(!1),2),g=m[0],b=m[1],w=(0,or.useMemo)((function(){if(!(c<=0))return Math.floor(c/a*4)}),[c,a]);return(0,or.useEffect)((function(){switch(w){case 0:u();break;case 1:Te.a.emit("adContentFirstQuartile",{});break;case 2:Te.a.emit("adContentMidPoint",{});break;case 3:Te.a.emit("adContentThirdQuartile",{})}}),[w,u]),(0,or.useEffect)((function(){if(!y&&l&&!g)return h(c),s.current=window.setTimeout((function(){if(c===p&&c>0)return v(!0),void Te.a.emit("adContentStalled",{});c<=0&&(Te.a.emit("adContentFailedToStart",{}),b(!0))}),5e3),function(){s.current&&(clearTimeout(s.current),s.current=void 0)}}),[c,y,p,l,g]),{canVideoPlay:l,failedToStart:g,isStalled:y}}({durationInMs:e,timeInMs:h}),w=b.isStalled,O=b.canVideoPlay,S=(0,ir.oR)(Et,(function(t){return t.isOpen})),x=function(t){var e=t.src,r=t.videoRef,o=t.onVideoStalled,i=t.onError,a=t.pause,c=t.onPause,u=t.onTimeUpdate,l=t.onDurationChange,s=t.onEnded,f=t.onPlay,p=(0,or.useRef)(bb.PlayNeverCalled),h=(0,or.useRef)(),d=(0,or.useRef)(),y=(0,or.useRef)(!1),v=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 Sb(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)?Sb(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,or.useState)(!1),2),m=v[0],g=v[1],b=(0,or.useCallback)((function(t){var r=e.split(":")[0];Te.a.emitDiagnostic("videoPlayerFailedToStart",{msg:t,playState:p.current.toString(),srcPrefix:r,videoStarted:y.current.toString()}),o(!0)}),[o,e]),w=(0,or.useCallback)(function(){var t=Eb(xb().mark((function t(r){return xb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d.current=window.setTimeout((function(){b("timeout")}),5e3),h.current=window.setTimeout((function(){g(!0)}),250),t.prev=2,Te.a.emitDiagnostic("videoPlayerPlay",{state:"firstAttempt"}),p.current=bb.FirstAttempt,t.next=7,Pb(r);case 7:p.current=bb.FirstAttemptSuccess,Te.a.emitDiagnostic("videoPlayerPlay",{state:"firstAttemptSuccess"}),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),t.t0 instanceof Error&&("NotAllowedError"===t.t0.name?p.current=bb.FailedAfterFirstPlayErrorNotAllowed:p.current=bb.FailedAfterFirstPlayErrorUnknown),Te.a.emitDiagnostic("videoPlayerPlay",{ext:(n=e,void 0,o=n.split("."),o[o.length-1]),msg:(null===t.t0||void 0===t.t0?void 0:t.t0.message)||"Unknown error in play()",name:(null===t.t0||void 0===t.t0?void 0:t.t0.name)||"Unknown error name in play()",state:"firstAttemptError"});case 15:case"end":return t.stop()}var n,o}),t,null,[[2,11]])})));return function(e){return t.apply(this,arguments)}}(),[b,e]);(0,or.useEffect)((function(){return!r.current||a||y.current||w(r.current),function(){window.clearTimeout(d.current)}}),[w,a,r]),(0,or.useEffect)((function(){r.current&&(a?r.current.pause():y.current&&Pb(r.current).catch((function(){Te.a.emitDiagnostic("videoPlayerPlay",{state:"afterPauseError"})})))}),[a,r]);var O=(0,or.useCallback)((function(){var t,e=(null===(t=r.current)||void 0===t?void 0:t.error)||new Error("Unknown error during playback");n.Tb(e),Te.a.emit("videoError",{message:e.message}),null==i||i(e),y.current||(window.clearTimeout(d.current),b("videoError"))}),[b,i,r]),S=(0,or.useCallback)(Eb(xb().mark((function t(){var e;return xb().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(a||!r.current||r.current.ended||!y.current){t.next=6;break}return t.next=3,kb(100);case 3:return Te.a.emitDiagnostic("videoPlayerPlay",{state:"afterPauseAttempt"}),Pb(r.current).catch((function(){Te.a.emitDiagnostic("videoPlayerPlay",{state:"afterOnPauseError"})})),t.abrupt("return");case 6:!r.current||null!==(e=r.current)&&void 0!==e&&e.ended||(Te.a.emit("adContentPaused",{}),null==c||c());case 7:case"end":return t.stop()}}),t)}))),[c,a,r]),x=(0,or.useCallback)((function(t){u(1e3*t.currentTarget.currentTime)}),[u]),j=(0,or.useCallback)((function(){g(!1),window.clearTimeout(h.current),h.current=void 0}),[]),E=(0,or.useCallback)((function(t){y.current||(window.clearTimeout(d.current),l(1e3*t.currentTarget.duration),y.current=!0,j())}),[j,l]),P=(0,or.useCallback)((function(t){Te.a.emit("adContentEnded",{}),null==s||s(t)}),[s]),k=(0,or.useCallback)((function(t){t.currentTarget.currentTime>0&&Te.a.emit("adContentResumed",{}),null==f||f()}),[f]);return{handleOnCanPlay:(0,or.useCallback)((function(){Te.a.emit("adContentLoaded",{})}),[]),handleOnEnded:P,handleOnError:O,handleOnPause:S,handleOnPlay:k,handleOnPlaying:E,handleOnTimeUpdate:x,showSpinner:m}}({onDurationChange:i,onEnded:a,onError:c,onPause:u,onPlay:l,onTimeUpdate:s,onVideoStalled:f,pause:!O,src:p,videoRef:y}),j=x.handleOnCanPlay,E=x.handleOnError,P=x.handleOnEnded,k=x.handleOnPause,L=x.handleOnPlay,_=x.handleOnPlaying,A=x.handleOnTimeUpdate,T=x.showSpinner;return(0,or.useEffect)((function(){S||m||(Sl(el.InitDone),g(!0))}),[S,m]),(0,or.useEffect)((function(){w&&f(!1)}),[w,f]),(0,U.BX)(U.HY,{children:[T?(0,U.tZ)(wb,{}):null,(0,U.tZ)(Db,Tb({muted:r,onCanPlay:j,onEnded:P,onError:E,onPause:k,onPlaying:_,onPlay:L,onSeeking:function(t){var e=h/1e3;Math.abs(e-t.currentTarget.currentTime)>.01&&(t.currentTarget.currentTime=e)},onTimeUpdate:A,playsInline:!0,poster:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",preload:"auto",ref:y,src:p},d))]})};function Zb(t){return Zb="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},Zb(t)}var Gb=["appImageUrl","appName","isClickableVideo","onCtaClick","onTimeUpdate","onSkip","onMute","onVideoStalled","timeToSkipInMs","onDurationChange","showSkipRewardedDialog","hasPlayableEndScreen","isRewarded"];function Fb(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 Rb(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)?Rb(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 Rb(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 Mb(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 Ub(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Mb(Object(r),!0).forEach((function(e){Vb(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mb(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Vb(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Zb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Zb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Zb(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zb=(0,Or.Z)("div",{target:"e1dkag5b2"})({name:"uexurv",styles:"height:100%;overflow:hidden;position:relative;width:100%"}),Bb=(0,Or.Z)("div",{target:"e1dkag5b1"})((function(t){return Ub({},t.theme.mixins.absoluteFullscreen)}),""),Yb=(0,Or.Z)(Fv,{target:"e1dkag5b0"})({name:"g3bxmu",styles:"margin:0.5rem 0.5rem 0"}),Hb=function(t){var e=t.appImageUrl,r=t.appName,n=t.isClickableVideo,i=void 0!==n&&n,a=t.onCtaClick,c=t.onTimeUpdate,u=t.onSkip,l=t.onMute,s=t.onVideoStalled,f=t.timeToSkipInMs,p=t.onDurationChange,h=t.showSkipRewardedDialog,d=t.hasPlayableEndScreen,y=t.isRewarded,v=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,Gb),m=Fb((0,o.xh)((function(t){var e,r=t.placement,n=t.campaignInfo,o=t.adExperiences;return[r.forceMute,r.disableVideoControlsFade,null!==(e=n.initialMuteStatus)&&void 0!==e&&e,o.skOverlayConfig]}),ar.X),4),g=m[0],b=m[1],w=m[2],O=m[3],S=Fb((0,or.useState)(0),2),x=S[0],j=S[1],E=Fb((0,or.useState)(0),2),P=E[0],k=E[1],L=Fb((0,or.useState)(g||w),2),_=L[0],A=L[1],T=Fb((0,or.useState)(!0),2),I=T[0],C=T[1],D=(0,or.useRef)(),N=xt((function(t){return t.context.showCallToActionBanner})),Z=Fb((0,ir.oR)(Et,(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),G=Z[0],F=Z[1],R=Z[2],M=Fy(),V=M.toggleSkipRewardedDialog,z=M.isSkOverlayOpen,B=Mv(),Y=Vo().locale,H=(0,or.useMemo)((function(){return P>=31e3}),[P]),q=(0,or.useMemo)((function(){return!!O&&x>=O.videoDelay}),[x,O]),X=(0,or.useMemo)((function(){return H&&f<0?3e4:f}),[H,f]),W=(0,or.useMemo)((function(){return Boolean(i||G)}),[G,i]),$=(0,or.useMemo)((function(){return Boolean(b||i||G)}),[G,b,i]),Q=X>=0&&x>=X,K=x>=5e3||Q,J=y&&H&&x>=3e4;$y(q),(0,or.useEffect)((function(){Ot.setState({adBuyerInfo:Ub(Ub({},Ot.getState().adBuyerInfo),{},{openProductInfo:function(t){return a(t)}})})})),(0,or.useEffect)((function(){J&&(Te.a.emit("adContentRewarded",{}),Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{}))}),[J]),(0,or.useEffect)((function(){C(!0)}),[Q,J]),(0,or.useEffect)((function(){if(I&&!W&&!$)return D.current=window.setTimeout((function(){C(!1)}),3e3),function(){window.clearTimeout(D.current),D.current=void 0}}),[I,_,W,$]);var tt=(0,or.useCallback)((function(t){j(t),null==c||c(t)}),[c]),et=(0,or.useCallback)((function(t){k(t),null==p||p(t)}),[p]),rt=(0,or.useCallback)((function(t){t.stopPropagation(),null==l||l(!_),A(!_)}),[_,l]),nt=(0,or.useCallback)((function(t){t.stopPropagation(),!h||J?(Te.a.emit("adContentSkip",{}),u(t)):V()}),[u,J,h,V]),ot=(0,or.useCallback)((function(t){t.stopPropagation(),B()}),[B]),it=(0,or.useCallback)((function(){W||(window.clearTimeout(D.current),D.current=void 0,C((function(t){return!t})))}),[W]),at=(0,or.useCallback)((function(){return R?"close":d?"play":"skip"}),[d,R]);return(0,U.BX)(zb,{"data-element-id":Xu.VideoVideoScreen,children:[(0,U.tZ)($g,{onSkip:u}),(0,U.tZ)(Nb,Ub({durationInMs:P,muted:_,setMuted:A,onDurationChange:et,onVideoStalled:s,onTimeUpdate:tt,timeInMs:x},v)),(0,U.tZ)(vb,{areControlsVisible:I,bottomControlsTranslateInPx:z?vr[O.position]:void 0,adNoticeText:F?Y.common.advertisement:void 0,isSkipButtonEnabled:Q,muted:_,rewardedText:J?Y.reward.rewardGranted:void 0,skipButtonIconType:at(),ctaBanner:(0,U.tZ)(Cg,{appName:r,appImageUrl:e,onCtaClick:a,showCtaButton:K&&!z}),fullScreenCta:i&&K?(0,U.tZ)(Bb,{onClick:a,"data-element-id":Xu.VideoCtaButton}):void 0,privacyBanner:N?(0,U.tZ)(Yb,{onClick:ot}):void 0,progressBar:(0,U.tZ)(Gg,{timeInMs:x,durationInMs:P,timeToSkipInMs:X}),onOverlayClick:it,onPrivacyClick:ot,onSkipClick:nt,onVolumeClick:rt})]})},qb=function(t,e){var r,n=t.trailerPortraitStreaming,i=t.trailerStreaming,a=null===(r=o.TH.getState().campaignInfo)||void 0===r?void 0:r.orientation;return e&&e.orientation===a?e.src:a===lp.i5.Landscape?i||n:n||i};function Xb(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 Wb,$b,Qb=function(t){var e=t.campaign,r=e.content,n=e.cachedVideoAsset,i=t.onOpen,a=t.onFinish,c=t.onSkip,u=t.hasPlayableEndScreen,l=t.onVideoStalled,s=(0,o.xh)((function(t){var e=t.placement;return[e.allowSkip,e.skipInSeconds,e.adFormat]}),ar.X),f=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 Xb(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)?Xb(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.")}()}(s,3),p=f[0],h=f[1],d=f[2],y=r.gameName,v=r.gameIcon;return(0,U.tZ)(Hb,{appImageUrl:v,appName:y,onVideoStalled:l,onCtaClick:i,onEnded:function(){return a()},onSkip:c,showSkipRewardedDialog:"rewarded"===d&&p,src:qb(r,n),hasPlayableEndScreen:u,timeToSkipInMs:1e3*mv(h,p),isRewarded:"rewarded"===d})},Kb=function(t){var e=t.clientX,r=t.clientY;return{normX:e/window.innerWidth,normY:r/window.innerHeight}};function Jb(t){return Jb="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},Jb(t)}function tw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Jb(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Jb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Jb(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=(tw(Wb={},Xu.VideoAppIcon,Xu.VideoAppIcon),tw(Wb,Xu.VideoCtaButton,Xu.VideoCtaButton),tw(Wb,Xu.VideoSkOverlay,Xu.VideoSkOverlay),tw(Wb,Xu.EndScreenAppIcon,Xu.EndScreenAppIcon),tw(Wb,Xu.EndScreenCreative,Xu.EndScreenCreative),tw(Wb,Xu.EndScreenCtaButton,Xu.EndScreenCtaButton),tw(Wb,Xu.Playable,Xu.Playable),tw(Wb,Xu.PrivacyBuyerInfo,Xu.PrivacyBuyerInfo),Wb),rw=(tw($b={},Xu.VideoSkipButton,Xu.VideoSkipButton),tw($b,Xu.VideoCloseButton,Xu.VideoCloseButton),tw($b,Xu.VideoPlayButton,Xu.VideoPlayButton),$b),nw=function t(e){if(null!=e&&e.dataset)return e.dataset.elementId?e.dataset.elementId:t(e.parentElement)},ow=function t(e){if(e){var r=nw(e);if(r){if(ew[r])return ew[r];if(rw[r])return rw[r]}return t(e.parentElement)}},iw=[9e3,9541],aw=function(t,e){var r,n,i;if(function(t,e){var r=(0,hr.k)(t),n=r>=17&&r<18,o=fp()===lp.i5.Landscape;return n&&o&&e}(t,e))return!1;var a=uu();if(!pp(a,!0))return!1;if(!(0,o.S3)().getState().impressionConfig.isSkipToAppSheetEnabled)return!1;if((null!==(r=null===(n=a.media.dsp)||void 0===n||null===(i=n.skadn)||void 0===i?void 0:i.ask)&&void 0!==r?r:-1)>0)return!0;var c=a.media.seatId;return!!c&&!!iw.includes(c)},cw=["store"];var uw,lw={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 sw(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 fw(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)?fw(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 fw(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.EndScreen=1]="EndScreen",t[t.PlayableScreen=2]="PlayableScreen",t[t.PlayableEndScreen=3]="PlayableEndScreen"}(uw||(uw={}));var pw=function(t,e,r){var n=t.content,i=n.mraidUrl,a=n.store,c=n.appDownloadUrl,u=n.appStoreId,l=n.referrer,s=n.appleProductPageId,f=sw((0,or.useState)(i?uw.PlayableScreen:uw.VideoScreen),2),p=f[0],h=f[1],d=(0,or.useRef)(!1),y=(0,o.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.native;return[e.adFormat,e.skipEndCardOnClose,r.onAdContentStart,r.onAdContentFailedToStart,n.osVersion]}),ar.X),v=sw(y,5),m=v[0],g=v[1],b=v[2],w=v[3],O=v[4],S=(0,or.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,cw);return lw[e](r)}({appDownloadUrl:c,appStoreId:u,appleProductPageId:s,referrer:l,store:a})}),[c,u,s,l,a]),x=(0,or.useCallback)((function(t,e,r){S&&(Te.a.emit("storeClick",{normX:e,normY:r}),xy(S,"google"===a),d.current=!0,Te.a.emit("ctaClick",{clickData:{normX:e,normY:r,operativeId:t}}))}),[a,S]),j=(0,or.useCallback)((function(t){var e=Kb(t),r=e.normX,n=e.normY,o=ow(t.target);"rewarded"===m&&(Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{})),x(o,r,n)}),[m,x]),E=(0,or.useCallback)((function(t){var e=Kb(t),r=e.normX,n=e.normY,o=ow(t.target);x(o,r,n),Te.a.emit("endCardClick",{})}),[x]),P=(0,or.useCallback)((function(){x(Xu.Playable)}),[x]),k=(0,or.useCallback)((function(){b()}),[b]),L=(0,or.useCallback)((function(){Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{}),e()}),[e]),_=(0,or.useCallback)((function(){d.current||Te.a.emit("adContentSkip",{}),e()}),[e]),A=(0,or.useCallback)((function(){h(r?uw.PlayableEndScreen:uw.EndScreen)}),[r]),T=(0,or.useCallback)((function(t){if(t)return w(new Error("Video failed to start"));A()}),[A,w]),I=(0,or.useCallback)((function(t,n){if(n||g)return e();if(!d.current&&aw(O,g)){var o=ow(t.target),i=Kb(t),a=i.normX,c=i.normY;x(o,a,c)}h(r?uw.PlayableEndScreen:uw.EndScreen)}),[g,O,r,x,e]);return{handleEndScreenOnOpen:E,handlePlayableOnClose:L,handlePlayableOnLoad:k,handlePlayableOnOpen:P,handlePlayableOnSkip:_,handleVideoScreenOnFinish:A,handleVideoScreenOnOpen:j,handleVideoScreenOnSkip:I,handleVideoScreenOnStalled:T,screen:p}},hw=function(t){var e=t.campaign,r=t.onFinish,n=e.content,i=n.endScreenType,a=n.mraidSrcDoc,c=n.endScreenUrl,u=Boolean("mraid"===i&&c),l=(0,o.xh)((function(t){return t.placement.closeTimerDuration})),s=pw(e,r,u),f=s.handleVideoScreenOnOpen,p=s.handleVideoScreenOnFinish,h=s.handleVideoScreenOnStalled,d=s.handlePlayableOnOpen,y=s.handlePlayableOnClose,v=s.handlePlayableOnLoad,m=s.handlePlayableOnSkip,g=s.handleVideoScreenOnSkip,b=s.handleEndScreenOnOpen,w=s.screen;return w===uw.PlayableScreen?(0,U.tZ)(am,{onOpen:d,onClose:y,onSkip:m,srcDoc:a,onLoad:v,closeTimerDurationInS:30}):w===uw.VideoScreen?(0,U.tZ)(Qb,{campaign:e,onOpen:f,onVideoStalled:h,onFinish:p,onSkip:g,hasPlayableEndScreen:u}):w===uw.PlayableEndScreen?(0,U.tZ)(am,{onOpen:d,onClose:r,srcDoc:a,closeTimerDurationInS:null!=l?l:0,isEndScreen:!0}):w===uw.EndScreen?(0,U.tZ)(Og,{campaign:e,onOpen:b,onFinish:r}):null},dw=(0,i.Z)(i.r.Ads,"GMAScar","GMA"),yw=["INTERNAL_SHOW_ERROR","NO_AD_ERROR","INTERSTITIAL_SHOW_ERROR","REWARDED_SHOW_ERROR","AD_NOT_LOADED_ERROR"];function vw(t){return vw="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},vw(t)}function mw(){mw=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 E(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 h(){}function d(){}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=d.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"==vw(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 gw(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 bw(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){gw(i,n,o,a,c,"next",t)}function c(t){gw(i,n,o,a,c,"throw",t)}a(void 0)}))}}var ww,Ow=function(){var t=bw(mw().mark((function t(e){return mw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ke(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)}}(),Sw=function(){var t=bw(mw().mark((function t(e){var r;return mw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Ow(e);case 3:return r=t.sent,t.next=6,Je(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)}}(),xw={get:Ow,increment:Sw},jw=(0,Ve.Z)(Ve.r.Core,"Lifecycle","LIFECYCLE"),Ew=(0,tt.M)((function(t){return{incrementInitErrors:function(){t((function(t){return{initErrorCount:t.initErrorCount+1}}))},initErrorCount:0,initialized:!1}}));function Pw(t){return Pw="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},Pw(t)}function kw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Pw(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Pw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Pw(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Lw(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 _w=(kw(ww={},fr.t.Android,(function(t){var e=jw.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 Lw(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)?Lw(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})),kw(ww,fr.t.Ios,(function(t){return o.TH.subscribe((function(e,r){var n=e.isForeground;r.isForeground&&!n&&t()}))})),ww),Aw=_w[(0,pr.X)()];function Tw(t){return function(t){if(Array.isArray(t))return Iw(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 Iw(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)?Iw(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 Iw(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=function(t,e,r,n){return Te.a.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){Te.a.emitDiagnostic("scarShowError",{error:t,isInterstitial:r.toString()}),u(),i(new Error("error showing Gma ad: ".concat(t)))};c.push(dw.on("AD_STARTED",(function(){Te.a.emitDiagnostic("scarShowStarted",{isInterstitial:r.toString()}),n(),a()}))),(c=[].concat(Tw(c),Tw(function(t){return yw.map((function(e){return dw.on(e,function(e){return function(){t(e)}}(e))}))}(l)),Tw(function(t){var e=[],r=function(){xw.increment("user.clickCount"),Te.a.emit("ctaClick",{})};return e.push(dw.on("AD_CLICKED",r)),e.push(dw.on("FIRST_QUARTILE",(function(){Te.a.emit("adContentFirstQuartile",{})}))),e.push(dw.on("MIDPOINT",(function(){Te.a.emit("adContentMidPoint",{})}))),e.push(dw.on("THIRD_QUARTILE",(function(){Te.a.emit("adContentThirdQuartile",{})}))),e.push(dw.on("LAST_QUARTILE",(function(){Te.a.emit("adContentEnded",{})}))),function(t){if(!t)return!0;var e=Ew.getState().adapterVersion;return(0,pr.X)()===fr.t.Android&&2e3===e||(0,pr.X)()===fr.t.Ios&&800===e}(t)&&e.push(Aw(r)),e}(r)))).push(dw.on("AD_CLOSED",(function(){Te.a.emitDiagnostic("scarShowClosed",{isInterstitial:r.toString()}),u(),o()}))),c.push(dw.on("AD_SKIPPED",(function(){Te.a.emitDiagnostic("scarShowSkipped",{isInterstitial:r.toString()}),Te.a.emit("adContentSkip",{}),u(),o()})));var s=setTimeout((function(){return l("timeout")}),3e3);a=function(){return clearTimeout(s)},c.push(a),dw.invoke("show",t,e,r).catch((function(){l("show_api_error")}))}))};function Dw(t){return Dw="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},Dw(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 E(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 h(){}function d(){}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=d.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"==Dw(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Zw(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 Gw(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 Fw(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)?Fw(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 Fw(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 Rw,Mw,Uw,Vw=function(t){var e=t.campaign,r=t.onFinish,n=(0,o.xh)((function(t){return t.campaignInfo.onAdContentStart})),i=function(t){var e=(0,o.xh)((function(t){var e=t.placement;return[e.placementId,e.adFormat]}),ar.X),r=Gw(e,2),n=r[0],i=r[1],a=t.queryId,c=Gw((0,or.useState)("starting"),2),u=c[0],l=c[1],s=Gw((0,or.useState)(),2)[1];return(0,or.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,Cw(n,a,"interstitial"===i,(function(){l("started")}));case 3:l("finished"),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),s((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){Zw(i,n,o,a,c,"next",t)}function c(t){Zw(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();t()}),[n,a,i,s,l]),{status:u}}(e).status;return(0,or.useEffect)((function(){"started"!==i?"finished"===i&&r():n()}),[i,n,r]),null},zw=Rh.UnityInfo,Bw=Rh.UnityProto,Yw=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:[zw.encode(e).finish()],encryptionMethod:Bw.EncryptionMethod.UNENCRYPTED,protoName:Bw.ProtoName.UNITY_INFO},n=Bw.encode(r).finish();return _h.util.base64.encode(n,0,n.length).replace(/\//g,"_").replace(/\+/g,"-").replace(/[=]+$/,"")}catch(t){return void Te.a.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"}(Rw||(Rw={})),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"}(Mw||(Mw={})),function(t){t[t.Back=4]="Back"}(Uw||(Uw={}));var Hw,qw,Xw=(0,Ve.Z)(Ve.r.Ads,"AdUnit","ADUNIT"),Ww=r(9292),$w=r(8349),Qw=r(5054);function Kw(t){return Kw="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},Kw(t)}function Jw(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Kw(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Kw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Kw(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var tO=(Jw(Hw={},Ww.C.Locked,Qw.i.Portrait),Jw(Hw,Ww.C.Portrait,Qw.i.Portrait),Jw(Hw,Ww.C.ReversePortrait,Qw.i.Portrait),Jw(Hw,Ww.C.SensorPortrait,Qw.i.Portrait),Jw(Hw,Ww.C.Landscape,Qw.i.Landscape),Jw(Hw,Ww.C.ReverseLandscape,Qw.i.Landscape),Jw(Hw,Ww.C.SensorLandscape,Qw.i.Landscape),Hw),eO=(Jw(qw={},$w.j.Portrait,Qw.i.Portrait),Jw(qw,$w.j.PortraitUpsideDown,Qw.i.Portrait),Jw(qw,$w.j.Landscape,Qw.i.Landscape),Jw(qw,$w.j.LandscapeLeft,Qw.i.Landscape),Jw(qw,$w.j.LandscapeRight,Qw.i.Landscape),qw);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 nO(){nO=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 E(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 h(){}function d(){}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=d.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"==rO(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 iO={id:0},aO=function(){var t,e=(t=nO().mark((function t(e,r){var n,o,i,a,c,u,l=arguments;return nO().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]:[Uw.Back],i=l.length>4&&void 0!==l[4]?l[4]:Rw.LowProfile,a=!(l.length>5&&void 0!==l[5])||l[5],c=l.length>6&&void 0!==l[6]&&l[6],u=(0,lp.v0)(e,r,!0),t.next=8,Xw.invoke("open",iO.id,n,u,o,i,a,c);case 8:iO.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){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,r){return e.apply(this,arguments)}}(),cO={clearMotionEventCapture:function(){return Xw.invoke("clearMotionEventCapture")},close:function(){return Xw.invoke("close")},endMotionEventCapture:function(){return Xw.invoke("endMotionEventCapture")},getCurrentMotionEventCount:function(){return Xw.invoke("getCurrentMotionEventCount")},getMotionEventCount:function(t){return Xw.invoke("getMotionEventCount",t)},getMotionEventData:function(t){return Xw.invoke("getMotionEventData",t)},getOrientation:function(t,e){var r=(0,lp.v0)(t,e,!0);return tO[r]||e},open:aO,setOrientation:function(t,e,r){return Xw.invoke("setOrientation",(0,lp.v0)(e.options.display,t,r))},startMotionEventCapture:function(t){return Xw.invoke("startMotionEventCapture",t)}},uO=(0,Ve.Z)(Ve.r.Ads,"AdUnit","ADUNIT"),lO=function(){var t=o.TH.getState(),e=t.native,r=t.impressionConfig,n=e.sdkVersion,i=r.sdkFeatureFlags;return!!(n<4200&&null!=i&&i.skipOrientationCheck)};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(){fO=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 E(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 h(){}function d(){}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=d.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"==sO(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 pO(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 hO,dO=function(){var t,e=(t=fO().mark((function t(e,r){var n,o,i,a,c,u,l=arguments;return fO().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,lp.v8)(e,r,lO()),t.next=8,uO.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){pO(i,n,o,a,c,"next",t)}function c(t){pO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}(),yO={clearMotionEventCapture:function(){return Promise.resolve(void 0)},close:function(){return uO.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,lp.v8)(t,e,lO());return eO[r]||e},open:dO,setOrientation:function(t,e){return uO.invoke("setSupportedOrientations",(0,lp.v8)(e.options.display,t,lO()))},startMotionEventCapture:function(){return Promise.resolve(void 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 mO(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 gO,bO=(mO(hO={},fr.t.Android,cO),mO(hO,fr.t.Ios,yO),hO)[(0,pr.X)()];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 OO(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}function SO(){SO=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 E(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 h(){}function d(){}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=d.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"==wO(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 xO(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 jO(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)?jO(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 jO(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 EO(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 PO(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){EO(i,n,o,a,c,"next",t)}function c(t){EO(i,n,o,a,c,"throw",t)}a(void 0)}))}}var kO,LO=function(){var t=PO(SO().mark((function t(){var e,r,n,o,i;return SO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([Fd.S.getScreenWidth(),Fd.S.getScreenHeight(),Fd.S.getScreenDensity()]);case 2:return e=t.sent,r=xO(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)}}(),_O=function(){var t=PO(SO().mark((function t(){var e,r,n,o,i;return SO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([Fd.S.getScreenWidth(),Fd.S.getScreenHeight(),Fd.S.getScreenScale()]);case 2:return e=t.sent,r=xO(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)}}(),AO=(OO(gO={},fr.t.Android,LO),OO(gO,fr.t.Ios,_O),gO);!function(t){t[t.SensorDelayFastest=0]="SensorDelayFastest",t[t.SensorDelayGame=1]="SensorDelayGame",t[t.SensorDelayNormal=3]="SensorDelayNormal",t[t.SensorDelayUi=2]="SensorDelayUi"}(kO||(kO={}));var TO=(0,Ve.Z)(Ve.r.Core,"SensorInfo");function IO(t){return IO="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},IO(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 E(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 h(){}function d(){}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=d.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"==IO(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 DO(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 NO,ZO=9.80655,GO=function(){var t,e=(t=CO().mark((function t(){var e;return CO().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/ZO*-100,y:e.y/ZO*-100,z:e.z/ZO*-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){DO(i,n,o,a,c,"next",t)}function c(t){DO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}(),FO={getAccelerometerData:GO,startAccelerometerUpdates:function(){return TO.invoke("startAccelerometerUpdates",kO.SensorDelayFastest)},stopAccelerometerUpdates:function(){return TO.invoke("stopAccelerometerUpdates")}},RO=(0,Ve.Z)(Ve.r.Core,"SensorInfo"),MO={getAccelerometerData:function(){return RO.invoke("getAccelerometerData")},startAccelerometerUpdates:function(){return RO.invoke("startAccelerometerUpdates",.01)},stopAccelerometerUpdates:function(){return RO.invoke("stopAccelerometerUpdates")}};function UO(t){return UO="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},UO(t)}function VO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==UO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==UO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===UO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var zO=(VO(NO={},fr.t.Android,FO),VO(NO,fr.t.Ios,MO),NO)[(0,pr.X)()];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 YO(){YO=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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 HO(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 qO=function(){var t,e=(t=YO().mark((function t(e){var r,n,o;return YO().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[Mw.ActionDown],t.next=5,bO.getMotionEventData((i={},a=Mw.ActionDown,c=[r],(a=function(t){var e=function(t,e){if("object"!==BO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==BO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===BO(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[Mw.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){HO(i,n,o,a,c,"next",t)}function c(t){HO(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}();function XO(t){return XO="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},XO(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 E(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 h(){}function d(){}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=d.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"==XO(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 $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 QO(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){KO(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 KO(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==XO(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==XO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===XO(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function JO(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 tS(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)?tS(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 tS(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 eS(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 rS,nS=function(){var t,e=(t=WO().mark((function t(e,r){var n,o,i,a,c,u,l,s,f,p;return WO().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([zO.getAccelerometerData(),bO.getMotionEventCount([Mw.ActionDown,Mw.ActionUp,Mw.ActionMove,Mw.ActionCancel]),AO[(0,pr.X)()]()]);case 2:return c=t.sent,u=JO(c,3),l=u[0],s=u[1],f=u[2],t.next=9,qO(s);case 9:return p=t.sent,t.abrupt("return",QO({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){eS(i,n,o,a,c,"next",t)}function c(t){eS(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r){return e.apply(this,arguments)}}();function oS(t){return oS="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},oS(t)}function iS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==oS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==oS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===oS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var aS,cS=(iS(rS={},fr.t.Ios,(function(t){return t})),iS(rS,fr.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}})),rS)[(0,pr.X)()],uS=function(t,e){return t===e?20:t>e?3:1};function lS(t){return lS="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},lS(t)}function sS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==lS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==lS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===lS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var fS,pS=(sS(aS={},fr.t.Ios,(function(t,e,r){var n=r||1;return[t*n,e*n]})),sS(aS,fr.t.Android,(function(t,e,r){return[t,e]})),aS)[(0,pr.X)()];function hS(t){return hS="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},hS(t)}function dS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==hS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==hS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===hS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}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,mS=(dS(fS={},fr.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 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.")}()}(t.split(" "),1)[0];return"".concat(r.replace(/[0-9]+,[0-9]+$/,"")," ").concat(e)})),dS(fS,fr.t.Android,(function(t,e){return e})),fS)[(0,pr.X)()],gS=function(t,e){return e?2:t?1:0};function bS(t){return bS="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},bS(t)}function wS(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 OS(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wS(Object(r),!0).forEach((function(e){SS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wS(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function SS(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==bS(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==bS(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===bS(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function xS(){xS=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 E(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 h(){}function d(){}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=d.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"==bS(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 jS(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 ES(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)?ES(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 ES(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 PS(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 kS(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){PS(i,n,o,a,c,"next",t)}function c(t){PS(i,n,o,a,c,"throw",t)}a(void 0)}))}}var LS=function(){var t=kS(xS().mark((function t(){var e,r,n,i,a,c,u,l,s,f,p,h,d,y,v,m,g,b,w,O,S;return xS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=o.TH.getState(),r=e.native,n=e.appStartTime,i=e.isForeground,a=r,t.next=4,Promise.all([Fd.S.getBatteryLevel().catch((function(){})),Fd.S.getBatteryStatus().catch((function(){})),Fd.S.getConnectionType().catch((function(){})),Fd.S.getScreenWidth().catch((function(){})),Fd.S.getScreenHeight().catch((function(){})),Fd.S.getCPUCount().catch((function(){})),Fd.S.isSimulator().catch((function(){})),Fd.S.isRooted().catch((function(){})),Fd.S.getScreenDensity().catch((function(){}))]);case 4:return c=t.sent,u=jS(c,9),l=u[0],s=u[1],f=u[2],p=u[3],h=u[4],d=u[5],y=u[6],v=u[7],m=u[8],g=p&&h?pS(p,h,m):[],b=jS(g,2),w=b[0],O=b[1],S={appActive:i,appIdName:a.bundleId,appStartTime:n/1e3,appUpTime:(Date.now()-n)/1e3,appVersionName:a.bundleVersion,batteryLevel:l&&100*l,batteryStatus:s&&cS(s),connectionType:f&&(E=f,"wifi"===E?1:"cellular"===E?0:-1),cpuCount:d,deviceOrientation:p&&h&&uS(p,h),eventTimestamp:Date.now()/1e3,isRooted:void 0!==v?gS(v,y):void 0,osVersion:mS(a.deviceModel,a.osVersion),screenHeight:O,screenWidth:w,sdkVersion:(x=(0,pr.X)(),j=a.sdkVersion,"unity-".concat(x,"-v").concat(j)),timeZoneOffset:-1*(new Date).getTimezoneOffset()+1440},t.abrupt("return",S);case 18:case"end":return t.stop()}var x,j,E}),t)})));return function(){return t.apply(this,arguments)}}(),_S=function(){var t=kS(xS().mark((function t(){var e,r,n,o,i,a,c,u,l;return xS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([Fd.S.getPackageInfo().catch((function(){})),Fd.S.isUSBConnected().then((function(t){return t?1:0})).catch((function(){return 2})),Fd.S.getUptime().catch((function(){})),Fd.S.getElapsedRealtime().catch((function(){})),Fd.S.getCertificateFingerprint().catch((function(){})),Fd.S.getApkDigest().catch((function(){})),Fd.S.isAdbEnabled().catch((function(){}))]);case 2:return e=t.sent,r=jS(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=OS,t.t1=OS,t.t2={},t.next=16,LS();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)}}(),AS=(SS(vS={},fr.t.Android,_S),SS(vS,fr.t.Ios,(function(){return LS()})),vS)[(0,pr.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 IS(){IS=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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 CS(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?CS(Object(r),!0).forEach((function(e){NS(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CS(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}function ZS(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 GS(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){ZS(i,n,o,a,c,"next",t)}function c(t){ZS(i,n,o,a,c,"throw",t)}a(void 0)}))}}var FS=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=GS(IS().mark((function t(e){var n,i,a;return IS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,AS();case 2:return n=t.sent,t.next=5,nS(e,r);case 5:if(i=t.sent,a=Yw(DS(DS({},n),i))){t.next=10;break}return Te.a.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=GS(IS().mark((function t(e){var r;return IS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,dh.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,hh.b)({headers:r,method:"GET",url:t})}(t)},close:function(){e()},getClickSignals:function(t){return c(t)},grantReward:function(){Te.a.emit("adContentEnded",{})},openUrl:function(t){return function(t){t.includes("mobile-about")||(xw.increment("user.clickCount"),Te.a.emit("ctaClick",{}),xy(t))}(t)},openableIntents:function(t){return u(t)},tracking:function(t){return function(t){Te.a.emit(t,{}),"adContentLoaded"===t&&i&&o("muteChange",!0)}(t.event)},videoError:function(t){return function(t){Te.a.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 RS(t){return RS="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},RS(t)}function MS(){MS=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 E(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 h(){}function d(){}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=d.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"==RS(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 US(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 VS(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 zS=function(t){var e=(0,o.xh)((function(t){var e=t.placement,r=t.isForeground;return[e.adFormat,r]}),ar.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 VS(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)?VS(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],i=r[1],a=(0,or.useRef)(0),c=(0,or.useRef)("rewarded"===n);Te.a.on("adContentEnded",(function(){c.current=!1}));var u=(0,or.useCallback)((function(){c.current&&Te.a.emit("adContentSkip",{}),t()}),[t]);return(0,or.useEffect)((function(){return bO.startMotionEventCapture(1e4),a.current=Date.now(),function(){zO.stopAccelerometerUpdates(),bO.clearMotionEventCapture(),bO.endMotionEventCapture()}}),[]),(0,or.useEffect)((function(){var t=function(){var t,e=(t=MS().mark((function t(){return MS().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!i){t.next=6;break}return t.next=3,zO.startAccelerometerUpdates();case 3:a.current=Date.now(),t.next=8;break;case 6:return t.next=8,zO.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){US(i,n,o,a,c,"next",t)}function c(t){US(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();t()}),[i]),{foregroundTime:a.current,handleOnClose:u}};function BS(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 YS=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 BS(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)?BS(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,o.xh)((function(t){var e=t.campaignInfo,r=t.native;return[e.onAdContentStart,r.sdkVersion]}),ar.X),2),i=n[0],a=n[1],c=zS(r),u=c.handleOnClose,l=c.foregroundTime,s=(0,or.useRef)(null),f=(0,or.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,or.useEffect)((function(){var t,r,n=FS({close:u,foregroundTime:l,sdkVersion:a,sendEventToAfma:f,sendMuteEvent:null!==(t=null===(r=e.media)||void 0===r?void 0:r.shouldMuteByDefault)&&void 0!==t&&t,start:i});return function(){return n()}})),(0,U.tZ)(am,{onClose:u,onOpen:xy,srcDoc:e.content,externalIframeRef:s})};function HS(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=function(t){var e=t.campaign,r=t.onFinish,n=(0,o.xh)((function(t){return t.campaignInfo.onAdContentStart}));(0,or.useEffect)((function(){n()}),[n]);var i=function(t,e){var r=(0,o.xh)((function(t){return[t.placement.adFormat]})),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 HS(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)?HS(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,1)[0],i=Fy().isSkOverlayOpen,a=(0,or.useRef)(!1);return{handleOnClose:function(){Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{}),i&&sr.invoke("hide"),e()},handleOnLoad:function(){"interstitial"===n&&"DISPLAY"===t.media.adType&&(Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{}))},handleOnOpen:function(t){xy(t),a.current=!0,Te.a.emit("adContentThirdQuartile",{}),Te.a.emit("adContentEnded",{}),Te.a.emit("ctaClick",{})},handleOnSkip:function(){a.current||Te.a.emit("adContentSkip",{}),e()}}}(e,r),a=i.handleOnClose,c=i.handleOnLoad,u=i.handleOnOpen,l=i.handleOnSkip;return(0,U.tZ)(am,{onClose:a,onLoad:c,onOpen:u,onSkip:l,srcDoc:e.content,closeTimerDurationInS:30})},XS=r(2896),WS=(0,Or.Z)("div",{target:"ed71u2e4"})({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%"}),$S=(0,Or.Z)(_v,{target:"ed71u2e3"})({"@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},""),QS=(0,Or.Z)(Fv,{target:"ed71u2e2"})({name:"fzdn1d",styles:"bottom:1.25rem;position:absolute;width:100%;z-index:1"}),KS=(0,Or.Z)("div",{target:"ed71u2e1"})((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%"}}),""),JS=(0,Or.Z)(vv,{target:"ed71u2e0"})((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}}),""),tx=function(t){var e=t.closeTimerDurationInMs,r=t.creative,n=t.onClose,o=t.onPrivacyClick,i=t.showPrivacyCallToActionBanner;return(0,U.BX)(WS,{"data-element-id":Xu.EndScreenEndScreen,children:[(0,U.tZ)(JS,{closeTimerDurationInMs:e,onClick:n,"data-element-id":Xu.EndScreenCloseButton}),(0,U.tZ)($S,{onClick:o,"data-element-id":Xu.EndScreenPrivacyButton}),i&&(0,U.tZ)(QS,{onClick:o}),(0,U.tZ)(KS,{children:r})]})},ex=r(5903),rx=(0,Or.Z)("div",{target:"e1nxfupn1"})({name:"1p0itaj",styles:"align-items:center;background:#e6e6e6;border-radius:2.5rem;display:flex;height:100%;overflow:hidden;position:relative"}),nx=(0,Or.Z)("img",{target:"e1nxfupn0"})({name:"120qt4t",styles:"height:100%;object-fit:contain;width:100%"}),ox=function(t){var e=t.src,r=t.onClick;return(0,U.tZ)(rx,{onClick:r,"data-element-id":Xu.EndScreenCreative,children:(0,U.tZ)(nx,{src:e})})};function ix(t){return ix="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},ix(t)}var ax=["variation","resource","onOpen"];function cx(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 ux(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?cx(Object(r),!0).forEach((function(e){lx(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cx(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function lx(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==ix(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==ix(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===ix(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var sx=function(t){var e=t.variation,r=t.resource,n=t.onOpen,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,ax);return"html"===r.type?(0,U.tZ)(Qd,ux({srcDoc:(0,ex.J)(r.resource,"interstitial"),onOpen:n},o)):"static"===r.type?(0,U.tZ)(ox,ux(ux({},o),{},{src:r.resource.url,onClick:n})):"iframe"===r.type?(0,U.tZ)(gd,ux(ux({},o),{},{title:e.id,src:r.resource})):null},fx=(0,Or.Z)(sx,{target:"e14v4n0w0"})({name:"13udsys",styles:"height:100%"}),px=function(t){var e=t.companion,r=t.handleOnOpen,n=t.onFinish,i=e.variation,a=e.resource,c=Mv(),u=(0,o.xh)((function(t){return t.placement.closeTimerDuration})),l=xt((function(t){return t.context.showCallToActionBanner}));return(0,U.tZ)(tx,{closeTimerDurationInMs:1e3*(null!=u?u:0),onClose:n,creative:(0,U.tZ)(fx,{variation:i,resource:a,onClose:n,onOpen:r}),onPrivacyClick:c,showPrivacyCallToActionBanner:l})},hx=r(8848);function dx(t){return function(t){if(Array.isArray(t))return yx(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 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)||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 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=(0,tt.M)((function(t,e){var r=function(r,n){if(e().usingOpenMeasurement){var o=e().eventHandlers[r];o?o(n):t((function(t){return{eventQueue:[].concat(dx(t.eventQueue),[{event:r,param:n}])}}))}};return{emitEvent:r,emitQueuedEvents:function(){e().eventQueue.forEach((function(t){var e=t.event,n=t.param;r(e,n)})),t({eventQueue:[]})},eventHandlers:{},eventQueue:[],registerEventHandlers:function(e,r,n){var o=n.duration,i=n.initialVolume,a=n.isSkippable,c=n.skipOffset,u=e.AdEvents,l=e.MediaEvents,s=e.VastProperties,f=new u(r),p=new l(r),h=new s(a,c,!0,hx.sY.Standalone);t({eventHandlers:{click:function(){return p.adUserInteraction(hx.s_.Click)},complete:function(){return p.complete()},finish:function(){setTimeout((function(){r.finish()}),1e3),t({eventHandlers:{},eventQueue:[],usingOpenMeasurement:!1})},firstQuartile:function(){return p.firstQuartile()},loaded:function(){f.loaded(h),p.playerStateChange(hx.fL.FullScreen)},midpoint:function(){return p.midpoint()},pause:function(){return p.pause()},resume:function(){return p.resume()},skipped:function(){return p.skipped()},start:function(){f.impressionOccurred(),p.start(o,i)},thirdQuartile:function(){return p.thirdQuartile()},volumeChange:function(t){return p.volumeChange(t)}}})},usingOpenMeasurement:!1}}));function mx(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 gx=function(t,e,r){var n,i=(0,o.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.native;return[e.skipInSeconds,e.allowSkip,r.initialVolume,n.sdkVersionName]}),ar.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 mx(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)?mx(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,4),c=a[0],u=a[1],l=a[2],s=void 0===l?-1:l,f=a[3],p=(0,or.useRef)({duration:e,initialVolume:s>=0?s:0,isSkippable:u,skipOffset:c});n=function(t,e){var r;r=wr(t,e),vx.getState().emitEvent("volumeChange",r)},(0,or.useEffect)((function(){var t=Bd((function(t,e){n(t,e)}));return function(){return t()}}),[n]),(0,or.useEffect)((function(){if(t.length){vx.setState({usingOpenMeasurement:!0});var e=function e(n){var o,i=null===(o=window.OmidSessionClient)||void 0===o?void 0:o.default;if(i){var a=function(t,e,r,n){var o=t.AdSession,i=t.Context,a=t.Partner,c=t.VerificationScriptResource,u=new a(hx.kJ,n),l=function(t,e){return e.reduce((function(e,r){var n=r.resource;return n?(e.push(new t(n,r.vendor,r.parameters,hx.wR.Limited)),e):e}),[])}(c,e),s=new i(u,l,r);s.setServiceWindow(window.top);var f=new o(s);return f.setCreativeType(hx.H6.Video),f.setImpressionType(hx.w7.BeginToRender),f}(i,t,r,f);if(!a.isSupported())return;return a.start(),vx.getState().registerEventHandlers(i,a,p.current),void vx.getState().emitQueuedEvents()}if(n<3)return setTimeout((function(){e(n+1)}),1e3)}(0);return function(){e&&window.clearTimeout(e),vx.setState({usingOpenMeasurement:!1})}}}),[r,f,t])};function bx(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 wx=function(t){var e=t.adVerifications,r=t.linear,n=t.vastEventHandlers,i=r.creative,a=r.mediaFile,c=r.icon,u=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 bx(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)?bx(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,o.xh)((function(t){var e=t.placement,r=t.adExperiences;return[e.skipInSeconds,e.allowSkip,e.adFormat,r.clickableVideoEnabled]}),ar.X),4),l=u[0],s=u[1],f=u[2],p=u[3];return gx(e,i.duration,a.fileURL),(0,U.tZ)(Hb,{appImageUrl:null==c?void 0:c.staticResource,src:a.fileURL,isClickableVideo:p,showSkipRewardedDialog:"rewarded"===f&&s,onLoadedData:n.handleOnLoadedData,onCtaClick:n.handleOnCtaClick,onSkip:n.handleOnSkip,onEnded:n.handleOnEnded,onVideoStalled:n.handleOnStalled,onPlay:n.handleOnPlay,onTimeUpdate:n.handleOnTimeUpdate,onMute:n.handleOnMute,onDurationChange:n.handleOnDurationChange,onPause:n.handleOnPause,appName:"",hasPlayableEndScreen:!1,timeToSkipInMs:1e3*mv(l,s),isRewarded:"rewarded"===f})},Ox=r(3210);function Sx(t){return Sx="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},Sx(t)}function xx(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?xx(Object(r),!0).forEach((function(e){Ex(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xx(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ex(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Sx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Sx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Px(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.")}()}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}r(3164),r(5995),r(4724),r(8106),r(2172);var Lx,_x=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:lp.i5.Portrait,r=t.width,n=void 0===r?0:r,o=t.height,i=void 0===o?0:o;return(0,lp.T8)(Number(n),Number(i))===e};!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"}(Lx||(Lx={}));var Ax,Tx,Ix=function(){var t,e,r,n=null!==(t=null===(e=uu().media.dsp)||void 0===e||null===(r=e.skadn)||void 0===r?void 0:r.ask)&&void 0!==t?t:Lx.Disabled;return{omitClickEventOnSkip:[Lx.ShowOnSkipWithoutEvents,Lx.ShowOnSkipAndFinishWithoutEvents].includes(n),openStoreKitOnFinish:[Lx.ShowOnSkipAndFinishWithoutEvents,Lx.ShowOnSkipAndFinishWithEvents].includes(n)}};function Cx(t){return Cx="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},Cx(t)}function Dx(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Cx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Cx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Cx(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"}(Tx||(Tx={}));var Nx,Zx=(Dx(Ax={},fr.t.Android,Tx.Aaid),Dx(Ax,fr.t.Ios,Tx.Idfa),Ax),Gx=function(t){return Zx[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}function Rx(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 Mx(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)?Mx(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 Mx(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.EndScreen=1]="EndScreen"}(Nx||(Nx={}));var Ux=function(t,e,r,n){var i=Fy().isSkOverlayOpen,a=(0,o.xh)((function(t){var e=t.placement,r=t.campaignInfo,n=t.native;return[e.skipInSeconds,e.skipEndCardOnClose,r.onAdContentFailedToStart,n.osVersion]}),ar.X),c=Rx(a,4),u=c[0],l=c[1],s=c[2],f=c[3],p=function(){var t=(0,o.xh)((function(t){var e=t.native;return[e.platform,e.bundleId]}),ar.X),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,2),r=e[0],n=e[1],i=(0,ir.oR)(Ot,(function(t){return t.advertisingTrackingId}),ar.X);return(0,or.useMemo)((function(){return{APIFRAMEWORKS:"7",APPBUNDLE:n,IFA:i,IFATYPE:Gx(r),OMIDPARTNER:hx.mX}}),[r,n,i])}(),h=(0,or.useRef)(!1),d=Rx((0,or.useState)(Nx.VideoScreen),2),y=d[0],v=d[1],m=(0,or.useCallback)((function(){e&&(xy(e),h.current=!0)}),[e]),g=(0,or.useCallback)((function(t){i&&sr.invoke("hide"),t?n():v(Nx.EndScreen)}),[i,n]),b=(0,or.useCallback)((function(){y===Nx.EndScreen&&Te.a.emit("endCardClick",{}),Te.a.emit("ctaClick",{}),t.click(void 0,p),m()}),[m,y,p,t]),w=(0,or.useCallback)((function(){t.setSkipDelay(u),t.load(p)}),[u,p,t]),O=(0,or.useCallback)((function(e){t.setDuration(e/1e3)}),[t]),S=(0,or.useCallback)((function(){t.setPaused(!1,p),t.trackImpression(p)}),[p,t]),x=(0,or.useCallback)((function(){t.setPaused(!0,p)}),[p,t]),j=(0,or.useCallback)((function(e,n){t.skip(p);var o=Boolean(n||l||!r);if(o)return g(!0);!h.current&&aw(f,o)&&(m(),Ix().omitClickEventOnSkip||(t.click(void 0,p),Te.a.emit("ctaClick",{}))),g(!1)}),[g,r,f,m,l,t,p]),E=(0,or.useCallback)((function(){t.complete(p);var e=Boolean(l||!r);if(e)return g(!0);!h.current&&aw(f,e)&&Ix().openStoreKitOnFinish&&m(),g(!1)}),[g,r,m,f,l,p,t]),P=(0,or.useCallback)((function(t){if(t)return s(new Error("Video failed to start"));E()}),[E,s]),k=(0,or.useCallback)((function(e){var r=e/1e3;t.setProgress(r,p)}),[p,t]),L=(0,or.useCallback)((function(e){t.setMuted(e,p)}),[p,t]);return{handlers:{handleOnCtaClick:b,handleOnDurationChange:O,handleOnEnded:E,handleOnLoadedData:w,handleOnMute:L,handleOnPause:x,handleOnPlay:S,handleOnSkip:j,handleOnStalled:P,handleOnTimeUpdate:k},screen:y}},Vx=function(t){var e,r=t.campaign,n=t.onFinish,i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(0,o.xh)((function(t){var e=t.campaignInfo;return[e.orientation,e.connectionType]}),ar.X),n=Px(r,2),i=n[0],a=n[1];return(0,or.useMemo)((function(){var r,n=(0,Ox.A)(t.content,i,a)[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 c=o.linear||n.linear,u=null===(r=o.companion)||void 0===r?void 0:r.variation,l=u&&_x(u,i)?o.companion:n.companion;return jx(jx({},n),{},{companion:l,linear:c})}),[t,i,a,e])}(r),a=i.ad,c=i.linear,u=i.companion,l=c.creative,s=(u||{}).variation,f=(null===(e=l.videoClickThroughURLTemplate)||void 0===e?void 0:e.url)||(null==s?void 0:s.companionClickThroughURLTemplate),p=(0,or.useMemo)((function(){return new XS.VASTTracker(null,a,l,s)}),[a,l,s]),h=Ux(p,f,Boolean(u),n),d=h.handlers,y=h.screen;if(y===Nx.VideoScreen)return(0,U.tZ)(wx,{adVerifications:a.adVerifications,linear:c,vastEventHandlers:d});if(y===Nx.EndScreen&&u)return(0,U.tZ)(px,{companion:u,handleOnOpen:d.handleOnCtaClick,onFinish:n});throw new Error("Lifecycle error: no screen to render in vast ad")},zx=function(t){var e=t.campaign,r=t.onCampaignStart,n=t.onCampaignFinish,o=e.contentType,i=e.media;(0,or.useEffect)((function(){r(e),o!==cr.zc.GmaTpsc&&Te.a.emit("campaignStart",{})}),[e,r,o]);var a=(0,or.useCallback)((function(){Te.a.emit("campaignFinish",{campaign:e}),n()}),[e,n]);return o===cr.zc.Comet?(0,U.tZ)(hw,{campaign:e,onFinish:a},i.campaignId):o===cr.zc.Vast?(0,U.tZ)(Vx,{campaign:e,onFinish:a},i.campaignId):o===cr.zc.Mraid||o===cr.zc.Display?(0,U.tZ)(qS,{campaign:e,onFinish:a},i.campaignId):o===cr.zc.Banner?(0,U.tZ)(ky,{campaign:e},i.campaignId):o===cr.zc.GmaScar||o===cr.zc.GmaScarDisplay?(0,U.tZ)(Vw,{campaign:e,onFinish:a},i.campaignId):o===cr.zc.GmaTpsc?(0,U.tZ)(YS,{campaign:e,onFinish:a},i.campaignId):null},Bx=r(4293);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 Hx=function(){var t=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 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.")}()}((0,ir.oR)(nd,(function(t){return[t.onCampaignFinish,t.onAdContentStart,t.onCampaignError,t.onCampaignStart,t.campaignIndex,t.campaigns,t.showOptions,t.impressionConfiguration,t.nativeContext]}),ar.X),9),e=t[0],r=t[1],n=t[2],o=t[3],i=t[4],a=t[5],c=t[6],u=t[7],l=t[8];return(0,or.useEffect)((function(){var t=null==a?void 0:a[i],e=function(t){if(null!=t&&t.placementConfig){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;return null!=n&&null!=i&&null!=a&&null!=u?{adFormat:i,allowSkip:n,closeTimerDuration:null!=r?r:void 0,disableVideoControlsFade:null!=c&&c,id:a,muteVideo:null!=l&&l,skipEndCardOnClose:u,skipInSeconds:null!=o?o:0}:void 0}}(u);if(t&&c&&e&&l&&u){Ot.setState({adBuyerInfo:ur(t)});var s=l.maxVolume,f=c.connectionType,p=c.orientation,h=c.isMuted,d=c.volume,y=e.closeTimerDuration,v=e.allowSkip,m=e.skipInSeconds,g=e.adFormat,b=e.id,w=e.skipEndCardOnClose,O=e.muteVideo,S=e.disableVideoControlsFade,x=gr(null==u?void 0:u.experimentation),j=mr(t,x,{clickableVideoPublisherOptOut:u.fullScreenCtrOptOutStore,osVersion:l.osVersion,sdkVersion:l.sdkVersion,skOverlayPublisherOptOut:x("skOverlayPublisherOptOut")||!1});Bx.TH.setState({adExperiences:j,campaignInfo:{campaign:t,campaignIndex:i,campaigns:a,connectionType:f,initialMuteStatus:h,initialVolume:d&&s?wr(d,l.maxVolume):-1,onAdContentFailedToStart:n,onAdContentStart:r,onCampaignStart:o,orientation:p},placement:{adFormat:g,allowSkip:v,closeTimerDuration:y,disableVideoControlsFade:S,forceMute:O,placementId:b,skipEndCardOnClose:w,skipInSeconds:m}})}else Bx.TH.setState({adExperiences:null,campaignInfo:null,placement:null})}),[i,a,c,u,l,r,n,o]),{onCampaignError:n,onCampaignFinish:e,onCampaignStart:o}}(),e=t.onCampaignFinish,r=t.onCampaignError,n=t.onCampaignStart,o=(0,ir.oR)(Bx.TH,(function(t){var e=t.campaignInfo;return null==e?void 0:e.campaign}));return o?(0,U.tZ)(Gy,{children:(0,U.tZ)(If,{children:(0,U.tZ)(sd,{onError:r,children:(0,U.tZ)(zx,{campaign:o,onCampaignStart:n,onCampaignFinish:e})})})}):(0,U.tZ)(If,{children:null})};function qx(t){return qx="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},qx(t)}function Xx(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 Wx(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Xx(Object(r),!0).forEach((function(e){$x(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xx(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function $x(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==qx(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==qx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===qx(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Qx={"@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}}},Kx={"@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}}},Jx=function(){return(0,U.tZ)(fd.xB,{styles:(0,fd.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:Wx(Wx(Wx({fontFamily:"Helvetica, sans-serif",height:"100%",width:"100%"},Qx),Kx),{},{backgroundColor:"#151515",color:"#fff"}),p:{margin:0}},"","")})},tj=function(){Te.a.emit("render",{});var t=od().getState().nativeContext.systemLanguage;(0,nr.s)(document.getElementById("root")).render((0,U.BX)(H,{children:[(0,U.tZ)(Jx,{}),(0,U.tZ)(Uo,{language:t,children:(0,U.tZ)(Hx,{})})]}))},ej=(r(547),r(131)),rj=r(4386),nj=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 oj(t){return oj="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},oj(t)}function ij(){ij=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 E(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 h(){}function d(){}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=d.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"==oj(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 aj(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 cj=function(){var t,e=(t=ij().mark((function t(e,r,n){var o,i,a,c,u;return ij().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.next=10;break;case 3:return o=t.sent,i=o.getLocalCampaigns,t.next=7,i();case 7:if(!(a=t.sent)){t.next=10;break}return t.abrupt("return",a);case 10:if(c=nj(e,r),(u=n?c.filter((function(t){var e=t.contentType;return!!n[e]||(Te.a.emitDiagnostic("unsupportedContentType",{contentType:e}),!1)})):c).length){t.next=14;break}throw new rj.AN(rj.aH.NoFill,"No campaign available",!0);case 14:return t.abrupt("return",Promise.all(u.map((function(t){return(0,ej.I)(t)}))));case 15: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){aj(i,n,o,a,c,"next",t)}function c(t){aj(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r,n){return e.apply(this,arguments)}}();function uj(t){return uj="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},uj(t)}var lj=["placements","placementsV2"];function sj(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 fj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==uj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==uj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===uj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pj(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?sj(Object(r),!0).forEach((function(e){fj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sj(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,lj))}var hj=function(t,e){var r=function(t,e){var r=function(t){if((0,cr.zd)(t)&&t.content&&t.content.gameId)return t.content.gameId}(t),n=new Gh.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 Fh.protobuf.Timestamp({nanos:o%1e3*1e6,seconds:o/1e3})}var i=Gh.v1.LoadedCampaignToken.encode(n).finish();return _h.util.base64.encode(i,0,i.length)}(t[0],e[0]);return a.invoke("updateCampaignState",{data:r,dataVersion:1}).catch((function(){}))};function dj(t){return dj="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},dj(t)}function yj(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 vj(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yj(Object(r),!0).forEach((function(e){mj(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yj(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function mj(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==dj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==dj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===dj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gj=function(t,e){var r=e.isSkipToAppsheetEnabled,n=e.country,i=e.experimentation,a=e.sdkFeatureFlags,c=e.fullScreenCtrOptOutStore,u=gr(i);o.TH.setState({adUnit:{setOrientation:function(){return Promise.resolve()}},impressionConfig:{clickableVideoPublisherOptOut:c,coppaCompliant:!1,country:n,getExperimentation:u,isSkipToAppSheetEnabled:r,sdkFeatureFlags:a},native:vj(vj({},t),{},{platform:(0,pr.X)(),webviewUa:navigator.userAgent,webviewVersion:"v1.27.2-ad-viewer"})})};function bj(t){return bj="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},bj(t)}function wj(){wj=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 E(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 h(){}function d(){}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=d.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"==bj(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Sj=function(){var t,e=(t=wj().mark((function t(){var e,r,n,o,i,u,l,s,f,p,h;return wj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a.invoke("getAdContext");case 2:return e=t.sent,r=e.adData,n=e.impressionConfig,o=e.nativeContext,i=e.adDataRefreshToken,u=e.adDataRefreshDelayMs,l=pj(JSON.parse(c(r))),s=Mh(n,Zh.v1.ImpressionConfiguration.decode),f=s.placementConfig,gj(o,s),t.next=10,cj(l,f.id);case 10:p=t.sent,h=Array(p.length).fill({startEventSent:!1,viewEventSent:!1}),nd.setState({adDataRefreshDelayMs:u,adDataRefreshToken:i,auction:l,campaigns:p,eventStatuses:h,impressionConfiguration:s,nativeContext:o}),hj(p,h);case 14: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){Oj(i,n,o,a,c,"next",t)}function c(t){Oj(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(){return e.apply(this,arguments)}}();function xj(t){return xj="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},xj(t)}function jj(){jj=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 E(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 h(){}function d(){}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=d.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"==xj(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Ej(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 Pj(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){Ej(i,n,o,a,c,"next",t)}function c(t){Ej(i,n,o,a,c,"throw",t)}a(void 0)}))}}var kj=function(){var t=Pj(jj().mark((function t(e){var r,n,o,i,u,l,s,f,p,h,d;return jj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,n=e.adData,o=e.adDataRefreshToken,i=e.trackingToken,u=pj(JSON.parse(c(n))),l=od().getState(),s=l.impressionConfiguration,f=l.isShowing,p=null===(r=s.placementConfig)||void 0===r?void 0:r.id){t.next=9;break}return Te.a.emitDiagnostic("refreshAdDataError",{errorMessage:"no placementId"}),nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"}),t.abrupt("return");case 9:return t.next=11,cj(u,p);case 11:if(h=t.sent,d=Array(h.length).fill({startEventSent:!1,viewEventSent:!1}),!f()){t.next=16;break}return nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_during_reload"}),t.abrupt("return");case 16:if(0!==h.length){t.next=19;break}return nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_no_fill"}),t.abrupt("return");case 19:if(hj(h,d),nd.setState({adDataRefreshRequest:void 0,adDataRefreshToken:o,auction:u,campaigns:h,eventStatuses:d,invalidationReason:"reuse_reloaded",trackingToken:i}),!i){t.next=25;break}return t.next=24,a.invoke("updateTrackingToken",{trackingToken:i}).catch((function(t){Te.a.emitDiagnostic("updateTrackingTokenError",{errorMessage:t.message}),nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"})}));case 24:return t.abrupt("return",t.sent);case 25:Te.a.emitDiagnostic("missingTrackingTokenError",{errorMessage:"Missing Tracking Token"}),nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"}),t.next=33;break;case 29:t.prev=29,t.t0=t.catch(0),Te.a.emitDiagnostic("refreshAdDataError",{errorMessage:"Auction parse error"}),nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_error"});case 33:case"end":return t.stop()}}),t,null,[[0,29]])})));return function(e){return t.apply(this,arguments)}}(),Lj=function(){var t=Pj(jj().mark((function t(e){var r;return jj().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=a.invoke("refreshAdData",{adDataRefreshToken:e}),nd.setState({adDataRefreshRequest:r}),t.next=4,r.then((function(t){(0,nd.getState().isShowing)()?nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_during_reload"}):kj(t)})).catch((function(){nd.setState({adDataRefreshRequest:void 0,invalidationReason:"reuse_no_fill"})}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),_j=[];function Aj(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(){var t=a.on("ON_VISIBILITY_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 Aj(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)?Aj(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];o.TH.setState({isForeground:e});var r,n=e?"focusGained":"focusLost";r=n,_j.includes(r)&&Te.a.emit(n,{reason:"visibilityChanged"})}));return t},Ij=r(6159),Cj=r(2921);function Dj(t){return Dj="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},Dj(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 E(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 h(){}function d(){}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=d.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"==Dj(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 Zj(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 Gj(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)?Gj(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 Gj(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 Fj(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 Rj=function(){var t=Cj.Y.on(Ij.h.WebviewInvocation,function(){var e,r=(e=Nj().mark((function e(r){var o,i,c,u,l;return Nj().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=Zj(r,2),i=o[0],c=o[1],"show"!==i){e.next=17;break}return e.prev=2,e.next=5,w("show",(function(){return Te.a.emit("adViewerNativeShowCall",{showOptions:c}),nd.getState().show(c),Promise.resolve()}));case 5:e.next=16;break;case 7:return e.prev=7,e.t0=e.catch(2),u=e.t0,l=u.message,Te.a.emit("adViewerNativeShowError",{code:10,message:l,showOptions:c}),e.next=14,a.invoke("failed",{code:10,message:l});case 14:console.error(e.t0),n.Tb(e.t0);case 16:t();case 17:case"end":return e.stop()}}),e,null,[[2,7]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(t){Fj(i,n,o,a,c,"next",t)}function c(t){Fj(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return r.apply(this,arguments)}}());return function(){t()}};function Mj(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 Uj=/^(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 Vj(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 zj=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 Vj(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)?Vj(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 Mj(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)?Mj(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.")}()}(Uj.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},Bj={background:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_BACKGROUND,click:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_CLICK,error:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_ERROR,impression:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_IMPRESSION,loaded:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_LOADED,paused:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_PAUSED,resume:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_RESUME,show:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_SHOW,stalled:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_STALLED,store_open:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_STORE_OPEN,video_creative_view:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_CREATIVE_VIEW,video_end:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_END,video_end_card_click:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_END_CARD_CLICK,video_first_quartile:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_FIRST_QUARTILE,video_midpoint:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_MIDPOINT,video_mute:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_MUTE,video_skip:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_SKIP,video_start:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_START,video_third_quartile:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_THIRD_QUARTILE,video_unmute:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_VIDEO_UNMUTE},Yj={reuse_during_reload:Dh.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_IMPRESSION,reuse_error:Dh.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_ERROR,reuse_no_fill:Dh.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_NO_FILL,reuse_reloaded:Dh.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_RELOADED},Hj=function(t){var e;return null!==(e=t&&Yj[t])&&void 0!==e?e:Dh.v1.CampaignReuseReason.CAMPAIGN_REUSE_REASON_UNSPECIFIED},qj=function(t){return(0,cr.zd)(t)?function(t){if(t.cachedVideoAsset)return t.cachedVideoAsset.creativeId;var e=qb(t.content,t.cachedVideoAsset);return e===t.content.trailerPortraitStreaming?t.content.portraitCreativeId:e===t.content.trailerStreaming?t.content.creativeId:""}(t):""},Xj=function(t){var e;return(0,cr.zd)(t)&&(null===(e=t.cachedVideoAsset)||void 0===e?void 0:e.orientation)||""},Wj=function(t,e){var r,n,o=e||{},i=o.operativeId,c=o.normX,u=o.normY,l=o.storeOpenData,s=o.lifecycleData,f=nd.getState(),p=f.campaigns,h=f.campaignIndex,d=f.showOptions,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.eventSequenceNumber,h=function(t){return!!t&&t.contentType===cr.zc.Comet&&(t.content.mraidUrl?!!t.content.mraidSrcDoc:!!t.cachedVideoAsset)}(o),d=new Dh.v1.AdditionalData({cached:h,cachedOrientation:o?Xj(o):"",campaignReuseReason:Hj(a),clickTargetId:c,eventSequenceNumber:p,lifecycleData:f,normalizedClickPositionX:u,normalizedClickPositionY:l,operativeEventType:(r=t,null!==(n=Bj[r])&&void 0!==n?n:Dh.v1.OperativeEventType.OPERATIVE_EVENT_TYPE_UNSPECIFIED),storeOpenData:s,unityCreativeId:o?qj(o):"",version:1,videoOrientation:i,webviewVersion:zj("v1.27.2-ad-viewer")}),y=Dh.v1.AdditionalData.encode(d).finish();return _h.util.base64.encode(y,0,y.length)}(t,{campaign:m,deviceOrientation:null!==(n=null==d?void 0:d.orientation)&&void 0!==n?n:"",eventSequenceNumber:g,invalidationReason:y,lifecycleData:s,normX:c,normY:u,operativeId:i,storeOpenData:l});a.invoke("sendOperativeEvent",b)},$j=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 Qj(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 Kj(t){return Kj="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},Kj(t)}function Jj(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 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 eE(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){rE(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}function rE(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Kj(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==Kj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===Kj(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nE(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 oE=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=eE(eE({},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 Jj(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)?Jj(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 nE(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)?nE(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}))},iE=function(t){var e=oE({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 Qj(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)?Qj(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 aE(t){return aE="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},aE(t)}function cE(){cE=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 E(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 h(){}function d(){}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=d.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"==aE(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 uE(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 lE=function(){var t,e=(t=cE().mark((function t(e){var r,o;return cE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=[],null!==(r=navigator)&&void 0!==r&&r.userAgent&&o.push(["User-Agent",navigator.userAgent]),t.prev=2,t.next=5,(0,hh.b)({headers:o,method:"GET",options:{retryWithConnectionEvents:!0},url:e});case 5:return t.abrupt("return",t.sent);case 8:t.prev=8,t.t0=t.catch(2),n.Tb(t.t0);case 11:case"end":return t.stop()}}),t,null,[[2,8]])})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){uE(i,n,o,a,c,"next",t)}function c(t){uE(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),sE=function(t){var e=function(t){var e=od().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=iE(e);if(null!=r&&r.length){var n=r.map((function(t){return lE(t)}));return Promise.all(n)}};function fE(t){return fE="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},fE(t)}function pE(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 hE(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pE(Object(r),!0).forEach((function(e){dE(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pE(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"!==fE(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==fE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===fE(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var yE=function(t){var e=nd.getState(),r=e.campaigns,n=e.eventStatuses,o=e.campaignIndex;if(r&&n){var i={};switch(t){case"video_start":i=hE(hE({},n[o]),{},{startEventSent:!0,startEventTimestamp:new Date});break;case"video_end":i=hE(hE({},n[o]),{},{viewEventSent:!0});break;default:return}var a=n.map((function(t,e){return e===o?hE(hE({},t),i):t}));nd.setState({eventStatuses:a}),hj(r,a)}};function vE(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 mE(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)?mE(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 mE(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 gE={adContentEnded:function(){yE("video_end"),Wj("video_end"),d("adContentEnded")},adContentFailedToStart:function(){d("adContentFailedToStart")},adContentFirstQuartile:function(){Wj("video_first_quartile"),d("adContentFirstQuartile")},adContentLoaded:function(){Wj("loaded"),d("adContentLoaded")},adContentMidPoint:function(){Wj("video_midpoint"),d("adContentMidPoint")},adContentPaused:function(){Wj("paused")},adContentResumed:function(){Wj("resume")},adContentRewarded:function(){d("adContentRewarded")},adContentSkip:function(){Wj("video_skip"),d("adContentSkip")},adContentStalled:function(){Wj("stalled"),d("adContentStalled")},adContentStart:function(){yE("video_start"),Wj("video_start"),Wj("impression"),Wj("video_creative_view"),sE("start"),sE("impression"),d("adContentStart")},adContentThirdQuartile:function(){Wj("video_third_quartile"),d("adContentThirdQuartile")},adViewerNativeShowCall:function(){Wj("show"),d("nativeShowCall")},adViewerNativeShowError:function(){d("nativeShowError")},campaignError:function(){d("campaignError")},campaignFinish:function(){d("campaignFinish")},campaignOpenUrlCall:function(){d("campaignOpenUrlCall")},campaignOpenUrlError:function(){d("campaignOpenUrlError")},campaignStart:function(){d("campaignStart")},ctaClick:function(t){var e=t.clickData;d("ctaClick"),Wj("click",e)},endCardClick:function(){Wj("video_end_card_click")},focusGained:function(t){var e=t.reason;d("focusForeground",{reason:e})},focusLost:function(t){var e=t.reason;d("focusBackground",{reason:e})},initComplete:function(){var t;d("initComplete",{isLoadedFromCache:null===(t=$j())||void 0===t?void 0:t.toString()})},initError:function(t){d("initError",{errorMessage:t.message})},placementComplete:function(){d("placementComplete")},placementStart:function(){d("placementStart")},render:function(){d("render")},renderError:function(t){d("renderError",{errorMessage:t.error.message})},reportDiagnostic:function(t){var e=t.diagnosticEvent,r=t.tags,n=t.value;d(e,r,n)},storeClick:function(t){var e,r,n,i,a,c;e=t.normX,r=t.normY,n=window.performance.now(),a=function(){return i.forEach((function(t){return t()}))},c=function(t,n,o){a(),Wj("store_open",{normX:e,normY:r,storeOpenData:{destination:n,duration:t,endEvent:o,startEvent:"click"}})},(i=[]).push(o.TH.subscribe((function(t,e){var r=t.isForeground,o=e.isForeground,i=Math.round(window.performance.now()-n);r&&!o&&c(i,"external","foreground")})),up.subscribe((function(t,e){var r=t.isOpen,o=e.isOpen,i=Math.round(window.performance.now()-n);!r&&o&&c(i,"dialog","appsheetclose")})))},videoError:function(t){Wj("error"),d("videoError",{errorMessage:t.message})}},bE=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gE,e=Object.entries(t).map((function(t){var e=vE(t,2),r=e[0],n=e[1];return Te.a.on(r,n)}));return function(){return e.forEach((function(t){return t()}))}};function wE(t){return wE="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},wE(t)}function OE(){OE=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 E(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 h(){}function d(){}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=d.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"==wE(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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 SE(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){SE(i,n,o,a,c,"next",t)}function c(t){SE(i,n,o,a,c,"throw",t)}a(void 0)}))}}var jE=r(2226),EE=r(6616),PE=r(4431),kE=r(4271),LE=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;jE.T(),"production"===u&&EE.S1({beforeSend:function(t){var e;return a&&"yes"===(null===(e=t.tags)||void 0===e?void 0:e.handled)?null:LE(t)},dsn:"https://7ce1b2bc84894e288547e60dc1177c12@o488710.ingest.sentry.io/6197035",environment:u,integrations:[new PE.gE({startTransactionOnPageLoad:!1}),new kE.S],release:"v1.27.2-ad-viewer",sampleRate:o,tracesSampleRate:r})}(),w("init",xE(OE().mark((function t(){var e,r,o,i,c,u,l;return OE().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e=bE(),Te.a.emitDiagnostic("initStart"),r=R(),o=Rj(),i=Tj(),c=a.on("AD_REFRESH",(function(){var t,e=nd.getState(),r=e.adDataRefreshToken,n=e.adDataRefreshDelayMs,o=e.isShowing,i=e.invalidationReason,a=e.campaigns;a&&(null===(t=a[0])||void 0===t?void 0:t.contentType)===cr.zc.Banner||(o()&&void 0===i?nd.setState({adDataRefreshRequest:void 0}):r&&setTimeout((function(){Lj(r)}),n||100))})),u=y(),t.next=10,Promise.all([Sj(),we(rr),Ae(rr)]);case 10:return Ot.setState({advertisingTrackingId:"DEFAULT_IDFI",context:{},nonBehavioral:void 0,setPrivacyBlob:Ne}),Et.setState({setPrivacyFsm:Ue}),tj(),t.next=15,a.invoke("loadComplete");case 15:return Te.a.emit("initComplete",{}),t.abrupt("return",(function(){o(),i(),e(),c(),r(),u()}));case 19:t.prev=19,t.t0=t.catch(0),l=t.t0 instanceof Error?t.t0.message:"Unknown error",Te.a.emit("initError",{message:l}),a.invoke("loadError",{code:0,message:l}),n.Tb(t.t0);case 25:case"end":return t.stop()}}),t,null,[[0,19]])}))))},4456:function(t,e,r){"use strict";r.d(e,{q:function(){return o}});var n=r(6689),o=(0,n.Z)(n.r.Core,"DeviceInfo","DEVICEINFO")},5791:function(t,e,r){"use strict";r.d(e,{b:function(){return o}});var n=r(6689),o=(0,n.Z)(n.r.Core,"DeviceInfo","DEVICEINFO")},4386:function(t,e,r){"use strict";r.d(e,{AN:function(){return f},aH:function(){return s}}),r(1397),r(3133),r(6102),r(9922),r(462),r(144),r(9730),r(7406),r(7238),r(9223),r(3960),r(9029),r(5929),r(2141);var n=r(6689);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(7968).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")},8391:function(t,e,r){"use strict";r.d(e,{r:function(){return o}});var n=r(5608),o=(0,n.Z)(n.r.Core,"Request","REQUEST")},3216:function(t,e,r){"use strict";r.d(e,{N:function(){return n},S:function(){return u}}),r(462),r(9734),r(9730),r(6102),r(9922),r(3960),r(9029),r(5929),r(2141),r(289),r(1414),r(8379),r(5229),r(7238),r(4837),r(7406),r(7890),r(1645);var n,o=r(4456);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 d?e:d,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(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 h={};function d(){}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=d.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 x(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=j(a,r);if(c){if(c===h)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===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(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,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;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,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}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 P(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[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,h):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),h},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),h}},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),h}},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(9730),r(3960),r(9029),r(5929),r(2141),r(1397),r(3133),r(6102),r(9922),r(462),r(144);var n=r(248),o=r(1630),i=(r(9734),r(2075),r(6035),r(289),r(1414),r(8379),r(5229),r(7238),r(4837),r(7406),r(7890),r(1645),r(4456)),a=r(3216),c=r(9111),u=(r(7225),r(7326),r(2320));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 d?e:d,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(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 h={};function d(){}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=d.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 x(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=j(a,r);if(c){if(c===h)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===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(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,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;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,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}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 P(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 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,h):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),h},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),h}},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),h}},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 h=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 d(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:x(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 h(){}function d(){}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=d.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 x(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=j(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 j(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,j(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 P(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 h.prototype=d,n(w,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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 h(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 d(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)?d(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(5791),S=r(6689),x=(0,S.Z)(S.r.Core,"TrackingManager"),j=r(8542);function E(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(410),k=(r(2972),(0,S.Z)(S.r.Core,"MainBundle")),L=r(5544);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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 I(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 C=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){I(i,n,o,a,c,"next",t)}function c(t){I(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 Z(){Z=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 E(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 h(){}function d(){}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=d.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 x(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,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 h.prototype=d,n(g,"constructor",{value:d,configurable:!0}),n(d,"constructor",{value:h,configurable:!0}),h.displayName=u(d,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,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,E.prototype={constructor:E,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(j),!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),j(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;j(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 G(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){G(i,n,o,a,c,"next",t)}function c(t){G(i,n,o,a,c,"throw",t)}a(void 0)}))}}var R,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 h(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(){j.a.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 E(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)?E(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),j.a.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(Z().mark((function t(){var e;return Z().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(Z().mark((function t(){var e;return Z().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)(C),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 x.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(R={},n.t.Android,w),z(R,n.t.Ios,U),R)[(0,o.X)()]},4609:function(t,e,r){"use strict";r.d(e,{b:function(){return h}}),r(462),r(9734),r(1397),r(3133),r(6102),r(9922),r(144),r(9730),r(7300),r(9347),r(8298),r(4837),r(6964),r(9143),r(3960),r(9029),r(5929),r(2141),r(289),r(1414),r(8379),r(5229),r(7238),r(7406),r(7890),r(1645);var n=r(4312),o=r(5070);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 d?e:d,a=Object.create(i.prototype),c=new k(o||[]);return n(a,"_invoke",{value:x(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 h={};function d(){}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=d.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 x(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=j(a,r);if(c){if(c===h)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===h)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function j(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,j(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),h;var o=p(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,h;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,h):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}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 P(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[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,h):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),h},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),h}},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),h}},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},h=function(){var t=f(a().mark((function t(e){var r,i,c,l,s,h,d,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,h=e.data,d=void 0===h?"":h,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:d,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)}}()},4312:function(t,e,r){"use strict";r.d(e,{W:function(){return s}}),r(9730),r(3960),r(9029),r(5929),r(2141),r(462),r(1688),r(1397),r(3133),r(6102),r(9922),r(144);var n,o=r(248),i=r(1630),a=r(8391);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})}},5070:function(t,e,r){"use strict";r.d(e,{j:function(){return v}}),r(462),r(9734),r(9029),r(2474),r(5929),r(2141);var n=r(3426);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 h(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"!==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(7977),r(1397),r(3133),r(6102),r(9922),r(144),r(9730),r(7406),r(7238),r(1216),r(1688),r(9223),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 h(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}}}}))},6689:function(t,e,r){"use strict";r.d(e,{r:function(){return n},Z:function(){return O}});var n,o,i=r(6159),a=r(2921),c=r(6687),u=(r(9730),r(3960),r(9029),r(5929),r(2141),r(1397),r(3133),r(6102),r(9922),r(462),r(144),r(248)),l=r(1630);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,h=(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 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 y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==d(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e);if("object"!==d(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"===d(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,h),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)}},5608:function(t,e,r){"use strict";r.d(e,{Z:function(){return n.Z},r:function(){return n.r}});var n=r(6689)},1193:function(t,e,r){"use strict";r(6137),r(9722),r(6383)},481:function(t,e,r){var n={"./da_DK":[3327,223],"./da_DK.ts":[3327,223],"./de":[149,913],"./de.ts":[149,913],"./en":[9114],"./en.ts":[9114],"./es":[9044,352],"./es.ts":[9044,352],"./fi":[2352,135],"./fi.ts":[2352,135],"./fr":[4128,231],"./fr.ts":[4128,231],"./is":[830,513],"./is.ts":[830,513],"./it":[9535,928],"./it.ts":[9535,928],"./ja":[4218,43],"./ja.ts":[4218,43],"./ko":[7655,491],"./ko.ts":[7655,491],"./lt":[6845,564],"./lt.ts":[6845,564],"./nb":[9383,189],"./nb.ts":[9383,189],"./pt":[7108,665],"./pt.ts":[7108,665],"./pt_BR":[5369,298],"./pt_BR.ts":[5369,298],"./ro":[2586,136],"./ro.ts":[2586,136],"./ru":[7486,697],"./ru.ts":[7486,697],"./tr":[6314,300],"./tr.ts":[6314,300],"./zh_Hans":[2393,796],"./zh_Hans.ts":[2393,796],"./zh_Hant":[8785,451],"./zh_Hant.ts":[8785,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=481,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({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)+"."+{43:"4310124d",44:"79d0dece",135:"950d3722",136:"fb8c2d1e",155:"31b13673",189:"c2844302",223:"2d712a0c",231:"e789d45b",245:"dfdeb24c",298:"fced39e7",300:"6903151c",352:"f6ab15b2",451:"00912f11",491:"2869e7d9",513:"155c48dc",564:"eb6f3ebc",665:"093da5aa",697:"d878a10b",796:"894ee182",913:"9d745606",928:"132579e4"}[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(h);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)},h=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://config.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(1193)}));var p=f.O(void 0,[225],(function(){return f(9009)}));p=f.O(p)}();
//# sourceMappingURL=adViewer.1ea669bf.js.map