forked from sent/waves
8 lines
392 KiB
JavaScript
8 lines
392 KiB
JavaScript
/*
|
||
* Project: @gamedistribution.com/html5-sdk
|
||
* Description: GameDistribution.com HTML5 SDK
|
||
* Development By: GameDistribution.com
|
||
* Copyright(c): 2022
|
||
* Version: 1.27.12 (26-02-2022 16:01)
|
||
*/
|
||
!function n(o,i,a){function s(t,e){if(!i[t]){if(!o[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(u)return u(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=i[t]={exports:{}},o[t][0].call(r.exports,function(e){return s(o[t][1][e]||e)},r,r.exports,n,o,i,a)}return i[t].exports}for(var u="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,r){!function(rx,nx){!function(){!function(){"use strict";function j(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function p(s){return function(){var e=this,a=arguments;return new Promise(function(t,r){var n=s.apply(e,a);function o(e){j(n,t,r,o,i,"next",e)}function i(e){j(n,t,r,o,i,"throw",e)}o(void 0)})}}function A(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")}function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var $="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==rx?rx:"undefined"!=typeof self?self:{};var e={exports:{}},t=function(a){var u,e=Object.prototype,c=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function i(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(a){i=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o,i,a,s,t=t&&t.prototype instanceof m?t:m,t=Object.create(t.prototype),n=new k(n||[]);return t._invoke=(o=e,i=r,a=n,s=d,function(e,t){if(s===p)throw new Error("Generator is already running");if(s===h){if("throw"===e)throw t;return R()}for(a.method=e,a.arg=t;;){var r=a.delegate;if(r){r=function e(t,r){var n=t.iterator[r.method];if(n===u){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=u,e(t,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}n=l(n,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;n=n.arg;return n?n.done?(r[t.resultName]=n.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=u),r.delegate=null,g):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}(r,a);if(r){if(r===g)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===d)throw s=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=p;r=l(o,i,a);if("normal"===r.type){if(s=a.done?h:f,r.arg===g)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s=h,a.method="throw",a.arg=r.arg)}}),t}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",g={};function m(){}function v(){}function b(){}var t={},y=(t[n]=function(){return this},Object.getPrototypeOf),y=y&&y(y(S([]))),_=(y&&y!==e&&c.call(y,n)&&(t=y),b.prototype=m.prototype=Object.create(t));function w(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function A(a,s){var t;this._invoke=function(r,n){function e(){return new s(function(e,t){!function t(e,r,n,o){var i,e=l(a[e],a,r);if("throw"!==e.type)return(r=(i=e.arg).value)&&"object"==typeof r&&c.call(r,"__await")?s.resolve(r.__await).then(function(e){t("next",e,n,o)},function(e){t("throw",e,n,o)}):s.resolve(r).then(function(e){i.value=e,n(i)},function(e){return t("throw",e,n,o)});o(e.arg)}(r,n,e,t)})}return t=t?t.then(e,e):e()}}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function S(t){if(t){var r,e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(e=function e(){for(;++r<t.length;)if(c.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=u,e.done=!0,e}).next=e}return{next:R}}function R(){return{value:u,done:!0}}return((v.prototype=_.constructor=b).constructor=v).displayName=i(b,o,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,i(e,o,"GeneratorFunction")),e.prototype=Object.create(_),e},a.awrap=function(e){return{__await:e}},w(A.prototype),A.prototype[r]=function(){return this},a.AsyncIterator=A,a.async=function(e,t,r,n,o){void 0===o&&(o=Promise);var i=new A(s(e,t,r,n),o);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},w(_),i(_,o,"Generator"),_[n]=function(){return this},_.toString=function(){return"[object Generator]"},a.keys=function(r){var e,n=[];for(e in r)n.push(e);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in r)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=S,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=u)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function e(e,t){return i.type="throw",i.arg=r,n.next=e,t&&(n.method="next",n.arg=u),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],i=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var a=c.call(o,"catchLoc"),s=c.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;0<=r;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),g}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r,n,o=this.tryEntries[t];if(o.tryLoc===e)return"throw"===(r=o.completion).type&&(n=r.arg,E(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:S(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=u),g}},a}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}var h=e.exports,U={},N=Object.prototype.hasOwnProperty;function F(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(e){return null}}function G(e){try{return encodeURIComponent(e)}catch(e){return null}}U.stringify=function(e,t){var r,n,o=[];for(n in"string"!=typeof(t=t||"")&&(t="?"),e)if(N.call(e,n)){if((r=e[n])||null!=r&&!isNaN(r)||(r=""),n=G(n),r=G(r),null===n||null===r)continue;o.push(n+"="+r)}return o.length?t+o.join("&"):""},U.parse=function(e){for(var t=/([^=?#&]+)=?([^&]*)/g,r={};o=t.exec(e);){var n=F(o[1]),o=F(o[2]);null===n||null===o||n in r||(r[n]=o)}return r};function z(e,t){if(t=t.split(":")[0],e=+e){switch(t){case"http":case"ws":return 80!==e;case"https":case"wss":return 443!==e;case"ftp":return 21!==e;case"gopher":return 70!==e;case"file":return}return 0!==e}}var Z=U,H=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,K=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\S\s]*)/i,W=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function V(e){return(e||"").toString().replace(W,"")}var q=[["#","hash"],["?","query"],function(e){return e.replace("\\","/")},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],Y={hash:1,query:1};function Q(e){var t,r=("undefined"!=typeof window?window:void 0!==$?$:"undefined"!=typeof self?self:{}).location||{},n={},r=typeof(e=e||r);if("blob:"===e.protocol)n=new X(unescape(e.pathname),{});else if("string"==r)for(t in n=new X(e,{}),Y)delete n[t];else if("object"==r){for(t in e)t in Y||(n[t]=e[t]);void 0===n.slashes&&(n.slashes=H.test(e.href))}return n}function J(e){e=V(e);e=K.exec(e);return{protocol:e[1]?e[1].toLowerCase():"",slashes:!!e[2],rest:e[3]}}function X(e,t,r){if(e=V(e),!(this instanceof X))return new X(e,t,r);var n,o,i,a,s,u=q.slice(),c=typeof t,l=this,d=0;for("object"!=c&&"string"!=c&&(r=t,t=null),r&&"function"!=typeof r&&(r=Z.parse),t=Q(t),n=!(c=J(e||"")).protocol&&!c.slashes,l.slashes=c.slashes||n&&t.slashes,l.protocol=c.protocol||t.protocol||"",e=c.rest,c.slashes||(u[3]=[/(.*)/,"pathname"]);d<u.length;d++)"function"!=typeof(i=u[d])?(o=i[0],s=i[1],o!=o?l[s]=e:"string"==typeof o?~(a=e.indexOf(o))&&(e="number"==typeof i[2]?(l[s]=e.slice(0,a),e.slice(a+i[2])):(l[s]=e.slice(a),e.slice(0,a))):(a=o.exec(e))&&(l[s]=a[1],e=e.slice(0,a.index)),l[s]=l[s]||n&&i[3]&&t[s]||"",i[4]&&(l[s]=l[s].toLowerCase())):e=i(e);r&&(l.query=r(l.query)),n&&t.slashes&&"/"!==l.pathname.charAt(0)&&(""!==l.pathname||""!==t.pathname)&&(l.pathname=function(e,t){if(""===e)return t;for(var r=(t||"/").split("/").slice(0,-1).concat(e.split("/")),n=r.length,t=r[n-1],o=!1,i=0;n--;)"."===r[n]?r.splice(n,1):".."===r[n]?(r.splice(n,1),i++):i&&(0===n&&(o=!0),r.splice(n,1),i--);return o&&r.unshift(""),"."!==t&&".."!==t||r.push(""),r.join("/")}(l.pathname,t.pathname)),z(l.port,l.protocol)||(l.host=l.hostname,l.port=""),l.username=l.password="",l.auth&&(i=l.auth.split(":"),l.username=i[0]||"",l.password=i[1]||""),l.origin=l.protocol&&l.host&&"file:"!==l.protocol?l.protocol+"//"+l.host:"null",l.href=l.toString()}X.prototype={set:function(e,t,r){var n,o=this;switch(e){case"query":"string"==typeof t&&t.length&&(t=(r||Z.parse)(t)),o[e]=t;break;case"port":o[e]=t,z(t,o.protocol)?t&&(o.host=o.hostname+":"+t):(o.host=o.hostname,o[e]="");break;case"hostname":o[e]=t,o.port&&(t+=":"+o.port),o.host=t;break;case"host":o[e]=t,/:\d+$/.test(t)?(t=t.split(":"),o.port=t.pop(),o.hostname=t.join(":")):(o.hostname=t,o.port="");break;case"protocol":o.protocol=t.toLowerCase(),o.slashes=!r;break;case"pathname":case"hash":t?(n="pathname"===e?"/":"#",o[e]=t.charAt(0)!==n?n+t:t):o[e]=t;break;default:o[e]=t}for(var i=0;i<q.length;i++){var a=q[i];a[4]&&(o[a[1]]=o[a[1]].toLowerCase())}return o.origin=o.protocol&&o.host&&"file:"!==o.protocol?o.protocol+"//"+o.host:"null",o.href=o.toString(),o},toString:function(e){e&&"function"==typeof e||(e=Z.stringify);var t=this,r=t.protocol,r=(r&&":"!==r.charAt(r.length-1)&&(r+=":"),r+(t.slashes?"//":""));return t.username&&(r+=t.username,t.password&&(r+=":"+t.password),r+="@"),r+=t.host+t.pathname,(e="object"==typeof t.query?e(t.query):t.query)&&(r+="?"!==e.charAt(0)?"?"+e:e),t.hash&&(r+=t.hash),r}},X.extractProtocol=J,X.location=Q,X.trimLeft=V,X.qs=Z;var ee=X;function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function re(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ne(e,t,r){t&&re(e.prototype,t),r&&re(e,r)}var oe,ie,ae,se,ue,ce,le,de,fe,pe,he,ge,me,ve,be,ye,_e,we,Ae,xe,Ee,ke,Se,Re,De,Te,Oe,Me,Ie,Ce,Le,Pe,je,Be,$e,Ue,Ne,Fe,Ge,ze,Ze,He,Ke,We,Ve,qe,Ye,Qe,Je,Xe,et,tt,rt,nt,ot,t={exports:{}};function it(e,t){return e.set(t[0],t[1]),e}function at(e,t){return e.add(t),e}function st(e,t,r,n){var o=-1,i=e?e.length:0;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}function ut(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function ct(e){var r=-1,n=Array(e.size);return e.forEach(function(e,t){n[++r]=[t,e]}),n}function lt(t,r){return function(e){return t(r(e))}}function dt(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}function ft(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function pt(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ht(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function gt(e){this.__data__=new pt(e)}function mt(e,t){var r,n,o,i=nt(e)||(n=r=e)&&"object"==typeof n&&Rt(n)&&$e.call(r,"callee")&&(!Ze.call(r,"callee")||Ue.call(r)==ae)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],a=i.length,s=!!a;for(o in e)!t&&!$e.call(e,o)||s&&("length"==o||function e(t,r){return(r=null==r?ie:r)&&("number"==typeof t||Ce.test(t))&&-1<t&&t%1==0&&t<r}(o,a))||i.push(o);return i}function vt(e,t,r){var n=e[t];$e.call(e,t)&&St(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function bt(e,t){for(var r=e.length;r--;)if(St(e[r][0],t))return r;return-1}function yt(u,e,t,r,n,o,i){var a;if(void 0!==(a=r?o?r(u,n,o,i):r(u):a))return a;if(!Tt(u))return u;var s,n=nt(u);if(n){if(h=(g=u).length,m=g.constructor(h),h&&"string"==typeof g[0]&&$e.call(g,"index")&&(m.index=g.index,m.input=g.input),a=m,!e){var c=u;var l=a;var d=-1,f=c.length;for(l=l||Array(f);++d<f;)l[d]=c[d];return l;return}}else{var p=rt(u),h=p==ce||p==le;if(ot(u)){var g=u;if(e)return g.slice();var m=new g.constructor(g.length);return g.copy(m),m;return}if(p==pe||p==ae||h&&!o){if(ut(u))return o?u:{};if(a="function"!=typeof(b=h?{}:u).constructor||Et(b)?{}:Tt(b=Ge(b))?ze(b):{},!e)return b=u,s=(s=a)&&wt(u,Ot(u),s),wt(b,tt(b),s)}else{if(!Le[p])return o?u:{};a=function(e,t,r){var n,o,i,a,s=e.constructor;switch(p){case _e:return _t(e);case se:case ue:return new s(+e);case we:return i=e,a=r?_t(i.buffer):i.buffer,new i.constructor(a,i.byteOffset,i.byteLength);case Ae:case xe:case Ee:case ke:case Se:case Re:case De:case Te:case Oe:return a=e,i=r?_t(a.buffer):a.buffer,new a.constructor(i,a.byteOffset,a.length);case de:return o=e,st(r?t(ct(o),!0):ct(o),it,new o.constructor);case fe:case ve:return new s(e);case ge:return(n=new(o=e).constructor(o.source,Me.exec(o))).lastIndex=o.lastIndex,n;case me:return n=e,st(r?t(dt(n),!0):dt(n),at,new n.constructor);case be:return et?Object(et.call(e)):{}}}(u,yt,e)}}var v,b=(i=i||new gt).get(u);if(b)return b;i.set(u,a);for(var y,_,w=(v=n?v:t?function(){var e=u,t=tt,r=Ot(e);if(nt(e))return r;for(var n=r,o=t(e),i=-1,a=o.length,s=n.length;++i<a;)n[s+i]=o[i];return n}():Ot(u))||u,A=-1,x=w?w.length:0;++A<x&&!1!==(y=w[A],_=A,v&&(y=u[_=y]),void vt(a,_,yt(y,e,t,r,_,u,i))););return a}function _t(e){var t=new e.constructor(e.byteLength);return new Fe(t).set(new Fe(e)),t}function wt(e,t,r,n){r=r||{};for(var o=-1,i=t.length;++o<i;){var a=t[o],s=n?n(r[a],e[a],a,r,e):void 0;vt(r,a,void 0===s?e[a]:s)}return r}function At(e,t){var r,e=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?e["string"==typeof t?"string":"hash"]:e.map}function xt(e,t){e=null==e?void 0:e[t];return function e(t){return Tt(t)&&!(je&&je in t)&&(Dt(t)||ut(t)?Ne:Ie).test(kt(t))}(e)?e:void 0}function Et(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Pe)}function kt(e){if(null!=e){try{return Be.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function St(e,t){return e===t||e!=e&&t!=t}function Rt(e){return null!=e&&("number"==typeof(t=e.length)&&-1<t&&t%1==0&&t<=ie)&&!Dt(e);var t}function Dt(e){e=Tt(e)?Ue.call(e):"";return e==ce||e==le}function Tt(e){var t=typeof e;return e&&("object"==t||"function"==t)}function Ot(e){return(Rt(e)?mt:function(e){if(!Et(e))return Ke(e);var t,r=[];for(t in Object(e))$e.call(e,t)&&"constructor"!=t&&r.push(t);return r})(e)}wr=(e=t).exports,oe="__lodash_hash_undefined__",ie=9007199254740991,se="[object Boolean]",ue="[object Date]",ce="[object Function]",le="[object GeneratorFunction]",de="[object Map]",fe="[object Number]",pe="[object Object]",he="[object Promise]",ge="[object RegExp]",me="[object Set]",ve="[object String]",be="[object Symbol]",ye="[object WeakMap]",_e="[object ArrayBuffer]",we="[object DataView]",Ae="[object Float32Array]",xe="[object Float64Array]",Ee="[object Int8Array]",ke="[object Int16Array]",Se="[object Int32Array]",Re="[object Uint8Array]",De="[object Uint8ClampedArray]",Te="[object Uint16Array]",Oe="[object Uint32Array]",Me=/\w*$/,Ie=/^\[object .+?Constructor\]$/,Ce=/^(?:0|[1-9]\d*)$/,(Le={})[ae="[object Arguments]"]=Le["[object Array]"]=Le[_e]=Le[we]=Le[se]=Le[ue]=Le[Ae]=Le[xe]=Le[Ee]=Le[ke]=Le[Se]=Le[de]=Le[fe]=Le[pe]=Le[ge]=Le[me]=Le[ve]=Le[be]=Le[Re]=Le[De]=Le[Te]=Le[Oe]=!0,Le["[object Error]"]=Le[ce]=Le[ye]=!1,u="object"==typeof $&&$&&$.Object===Object&&$,In="object"==typeof self&&self&&self.Object===Object&&self,u=u||In||Function("return this")(),In=wr&&!wr.nodeType&&wr,wr=(wr=In&&e&&!e.nodeType&&e)&&wr.exports===In,In=Array.prototype,r=Function.prototype,Pe=Object.prototype,l=u["__core-js_shared__"],je=(l=/[^.]+$/.exec(l&&l.keys&&l.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"",Be=r.toString,$e=Pe.hasOwnProperty,Ue=Pe.toString,Ne=RegExp("^"+Be.call($e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),l=wr?u.Buffer:void 0,r=u.Symbol,Fe=u.Uint8Array,Ge=lt(Object.getPrototypeOf,Object),ze=Object.create,Ze=Pe.propertyIsEnumerable,He=In.splice,wr=Object.getOwnPropertySymbols,In=l?l.isBuffer:void 0,Ke=lt(Object.keys,Object),l=xt(u,"DataView"),We=xt(u,"Map"),po=xt(u,"Promise"),c=xt(u,"Set"),u=xt(u,"WeakMap"),Ve=xt(Object,"create"),qe=kt(l),Ye=kt(We),Qe=kt(po),Je=kt(c),Xe=kt(u),r=r?r.prototype:void 0,et=r?r.valueOf:void 0,ft.prototype.clear=function(){this.__data__=Ve?Ve(null):{}},ft.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},ft.prototype.get=function(e){var t,r=this.__data__;return Ve?(t=r[e])===oe?void 0:t:$e.call(r,e)?r[e]:void 0},ft.prototype.has=function(e){var t=this.__data__;return Ve?void 0!==t[e]:$e.call(t,e)},ft.prototype.set=function(e,t){return this.__data__[e]=Ve&&void 0===t?oe:t,this},pt.prototype.clear=function(){this.__data__=[]},pt.prototype.delete=function(e){var t=this.__data__,e=bt(t,e);return!(e<0||(e==t.length-1?t.pop():He.call(t,e,1),0))},pt.prototype.get=function(e){var t=this.__data__,e=bt(t,e);return e<0?void 0:t[e][1]},pt.prototype.has=function(e){return-1<bt(this.__data__,e)},pt.prototype.set=function(e,t){var r=this.__data__,n=bt(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},ht.prototype.clear=function(){this.__data__={hash:new ft,map:new(We||pt),string:new ft}},ht.prototype.delete=function(e){return At(this,e).delete(e)},ht.prototype.get=function(e){return At(this,e).get(e)},ht.prototype.has=function(e){return At(this,e).has(e)},ht.prototype.set=function(e,t){return At(this,e).set(e,t),this},gt.prototype.clear=function(){this.__data__=new pt},gt.prototype.delete=function(e){return this.__data__.delete(e)},gt.prototype.get=function(e){return this.__data__.get(e)},gt.prototype.has=function(e){return this.__data__.has(e)},gt.prototype.set=function(e,t){var r=this.__data__;if(r instanceof pt){var n=r.__data__;if(!We||n.length<199)return n.push([e,t]),this;r=this.__data__=new ht(n)}return r.set(e,t),this},tt=wr?lt(wr,Object):function(){return[]},rt=function(e){return Ue.call(e)},(l&&rt(new l(new ArrayBuffer(1)))!=we||We&&rt(new We)!=de||po&&rt(po.resolve())!=he||c&&rt(new c)!=me||u&&rt(new u)!=ye)&&(rt=function(e){var t=Ue.call(e),e=t==pe?e.constructor:void 0,e=e?kt(e):void 0;if(e)switch(e){case qe:return we;case Ye:return de;case Qe:return he;case Je:return me;case Xe:return ye}return t}),nt=Array.isArray,ot=In||function(){return!1},e.exports=function(e){return yt(e,!0,!0)};var Mt=t.exports;function It(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ct(e){return!1!==It(e)&&(void 0===(e=e.constructor)||!1!==It(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf"))}function Lt(e){var t;if(e)return t=Gt.call(e),"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}var Pt,jt,Bt=String.prototype.valueOf,$t=Object.prototype.toString,Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,r=Array.isArray,Nt=Object.prototype.toString,Ft=r||function(e){return!!e&&"[object Array]"==Nt.call(e)},Gt=Object.prototype.toString,zt="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==zt&&zt,Zt="URLSearchParams"in zt,Ht="Symbol"in zt&&"iterator"in Symbol,Kt="FileReader"in zt&&"Blob"in zt&&function(){try{return new Blob,!0}catch(e){return!1}}(),Wt="FormData"in zt,Vt="ArrayBuffer"in zt;function qt(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function Yt(e){return e="string"!=typeof e?String(e):e}function Qt(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return Ht&&(e[Symbol.iterator]=function(){return e}),e}function Jt(t){this.map={},t instanceof Jt?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Xt(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function er(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function tr(e){var t=new FileReader,r=er(t);return t.readAsArrayBuffer(e),r}function rr(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function nr(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:Kt&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Wt&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Zt&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Vt&&Kt&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=rr(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Vt&&(ArrayBuffer.prototype.isPrototypeOf(e)||jt(e))?this._bodyArrayBuffer=rr(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Zt&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Kt&&(this.blob=function(){var e=Xt(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?Xt(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(tr)}),this.text=function(){var e,t,r=Xt(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,e=new FileReader,t=er(e),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Wt&&(this.formData=function(){return this.text().then(ar)}),this.json=function(){return this.text().then(JSON.parse)},this}Vt&&(Pt=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],jt=ArrayBuffer.isView||function(e){return e&&-1<Pt.indexOf(Object.prototype.toString.call(e))}),Jt.prototype.append=function(e,t){e=qt(e),t=Yt(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Jt.prototype.delete=function(e){delete this.map[qt(e)]},Jt.prototype.get=function(e){return e=qt(e),this.has(e)?this.map[e]:null},Jt.prototype.has=function(e){return this.map.hasOwnProperty(qt(e))},Jt.prototype.set=function(e,t){this.map[qt(e)]=Yt(t)},Jt.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Jt.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),Qt(r)},Jt.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Qt(t)},Jt.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),Qt(r)},Ht&&(Jt.prototype[Symbol.iterator]=Jt.prototype.entries);var or=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ir(e,t){if(!(this instanceof ir))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof ir){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Jt(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new Jt(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<or.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ar(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function sr(e,t){if(!(this instanceof sr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText="statusText"in t?t.statusText:"",this.headers=new Jt(t.headers),this.url=t.url||"",this._initBody(e)}ir.prototype.clone=function(){return new ir(this,{body:this._bodyInit})},nr.call(ir.prototype),nr.call(sr.prototype),sr.prototype.clone=function(){return new sr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Jt(this.headers),url:this.url})},sr.error=function(){var e=new sr(null,{status:0,statusText:""});return e.type="error",e};var ur=[301,302,303,307,308],cr=(sr.redirect=function(e,t){if(-1===ur.indexOf(t))throw new RangeError("Invalid status code");return new sr(null,{status:t,headers:{location:e}})},zt.DOMException);try{new cr}catch(j){(cr=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),cr.prototype.constructor=cr}function lr(n,a){return new Promise(function(o,e){var t=new ir(n,a);if(t.signal&&t.signal.aborted)return e(new cr("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new Jt,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},n=(t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){o(new sr(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new cr("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&zt.location.href?zt.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(Kt?i.responseType="blob":Vt&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof Jt?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){i.setRequestHeader(e,Yt(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}lr.polyfill=!0,zt.fetch||(zt.fetch=lr,zt.Headers=Jt,zt.Request=ir,zt.Response=sr);var dr,fr,pr,hr,gr,mr,vr,br,yr,_r,wr={exports:{}};function Ar(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t}function xr(e,t){return typeof e===vr&&-1!==br(t).indexOf(br(e))}function Er(e,t){if(typeof e===vr)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof t==gr?e:e.substring(0,255)}function kr(e,t){for(var r,n,o,i,a,s=0;s<t.length&&!i;){for(var u=t[s],c=t[s+1],l=r=0;l<u.length&&!i;)if(i=u[l++].exec(e))for(n=0;n<c.length;n++)a=i[++r],typeof(o=c[n])===mr&&0<o.length?2===o.length?typeof o[1]==hr?this[o[0]]=o[1].call(this,a):this[o[0]]=o[1]:3===o.length?typeof o[1]!==hr||o[1].exec&&o[1].test?this[o[0]]=a?a.replace(o[1],o[2]):fr:this[o[0]]=a?o[1].call(this,a,o[2]):fr:4===o.length&&(this[o[0]]=a?o[3].call(this,a.replace(o[1],o[2])):fr):this[o]=a||fr;s+=2}}function Sr(e,t){for(var r in t)if(typeof t[r]===mr&&0<t[r].length){for(var n=0;n<t[r].length;n++)if(xr(t[r][n],e))return"?"===r?fr:r}else if(xr(t[r],e))return"?"===r?fr:r;return e}function Rr(e,t){if(typeof e===mr&&(t=e,e=fr),!(this instanceof Rr))return new Rr(e,t).getResult();var r=e||(typeof dr!=gr&&dr.navigator&&dr.navigator.userAgent?dr.navigator.userAgent:""),n=t?function(e,t){var r,n={};for(r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(yr,t):yr;return this.getBrowser=function(){var e,t={};return t.name=fr,t.version=fr,kr.call(t,r,n.browser),t.major=typeof(e=t.version)===vr?e.replace(/[^\d\.]/g,"").split(".")[0]:fr,t},this.getCPU=function(){var e={};return e.architecture=fr,kr.call(e,r,n.cpu),e},this.getDevice=function(){var e={};return e.vendor=fr,e.model=fr,e.type=fr,kr.call(e,r,n.device),e},this.getEngine=function(){var e={};return e.name=fr,e.version=fr,kr.call(e,r,n.engine),e},this.getOS=function(){var e={};return e.name=fr,e.version=fr,kr.call(e,r,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return r},this.setUA=function(e){return r=typeof e===vr&&255<e.length?Er(e,255):e,this},this.setUA(r),this}po=(l=wr).exports,dr="object"==typeof window?window:$,hr="function",gr="undefined",mr="object",vr="string",yr={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[c="version",[u="name","Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[c,[u,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[u,c],[/opios[\/ ]+([\w\.]+)/i],[c,[u,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[c,[u,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[u,c],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[c,[u,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[c,[u,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[c,[u,"WeChat"]],[/konqueror\/([\w\.]+)/i],[c,[u,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[c,[u,"IE"]],[/yabrowser\/([\w\.]+)/i],[c,[u,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[u,/(.+)/,"$1 Secure Browser"],c],[/\bfocus\/([\w\.]+)/i],[c,[u,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[c,[u,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[c,[u,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[c,[u,"Dolphin"]],[/coast\/([\w\.]+)/i],[c,[u,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[c,[u,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[c,[u,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[u,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[u,/(.+)/,"$1 Browser"],c],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],c],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[u,c],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[u],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[u,In="Facebook"],c],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[u,c],[/\bgsa\/([\w\.]+) .*safari\//i],[c,[u,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[c,[u,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[u,"Chrome WebView"],c],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[c,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[u,c],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[c,[u,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[c,u],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[u,[c,Sr,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[u,c],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[u,"Netscape"],c],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[c,[u,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[u,c]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[e="architecture","amd64"]],[/(ia32(?=;))/i],[[e,br=function(e){return e.toLowerCase()}]],[/((?:i[346]|x)86)[;\)]/i],[[e,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[e,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[e,"armhf"]],[/windows (ce|mobile); ppc;/i],[[e,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[e,/ower/,"",br]],[/(sun4\w)[;\)]/i],[[e,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[e,br]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[t="model",[r="vendor",lo="Samsung"],[o="type",a="tablet"]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[t,[r,lo],[o,i="mobile"]],[/\((ip(?:hone|od)[\w ]*);/i],[t,[r,"Apple"],[o,i]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[t,[r,"Apple"],[o,a]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[t,[r,"Huawei"],[o,a]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[t,[r,"Huawei"],[o,i]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[t,/_/g," "],[r,"Xiaomi"],[o,i]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[t,/_/g," "],[r,"Xiaomi"],[o,a]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[t,[r,"OPPO"],[o,i]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[t,[r,"Vivo"],[o,i]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[t,[r,"Realme"],[o,i]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[t,[r,n="Motorola"],[o,i]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[t,[r,n],[o,a]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[t,[r,"LG"],[o,a]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[t,[r,"LG"],[o,i]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[t,[r,"Lenovo"],[o,a]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[t,/_/g," "],[r,"Nokia"],[o,i]],[/(pixel c)\b/i],[t,[r,n="Google"],[o,a]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[t,[r,n],[o,i]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[t,[r,so="Sony"],[o,i]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[t,"Xperia Tablet"],[r,so],[o,a]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[t,[r,"OnePlus"],[o,i]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[t,[r,Cn="Amazon"],[o,a]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[t,/(.+)/g,"Fire Phone $1"],[r,Cn],[o,i]],[/(playbook);[-\w\),; ]+(rim)/i],[t,r,[o,a]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[t,[r,Ln="BlackBerry"],[o,i]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[t,[r,"ASUS"],[o,a]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[t,[r,"ASUS"],[o,i]],[/(nexus 9)/i],[t,[r,"HTC"],[o,a]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[r,[t,/_/g," "],[o,i]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[t,[r,"Acer"],[o,a]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[t,[r,"Meizu"],[o,i]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[t,[r,"Sharp"],[o,i]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[r,t,[o,i]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[r,t,[o,a]],[/(surface duo)/i],[t,[r,s="Microsoft"],[o,a]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[t,[r,"Fairphone"],[o,i]],[/(u304aa)/i],[t,[r,"AT&T"],[o,i]],[/\bsie-(\w*)/i],[t,[r,"Siemens"],[o,i]],[/\b(rct\w+) b/i],[t,[r,"RCA"],[o,a]],[/\b(venue[\d ]{2,7}) b/i],[t,[r,"Dell"],[o,a]],[/\b(q(?:mv|ta)\w+) b/i],[t,[r,"Verizon"],[o,a]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[t,[r,"Barnes & Noble"],[o,a]],[/\b(tm\d{3}\w+) b/i],[t,[r,"NuVision"],[o,a]],[/\b(k88) b/i],[t,[r,"ZTE"],[o,a]],[/\b(nx\d{3}j) b/i],[t,[r,"ZTE"],[o,i]],[/\b(gen\d{3}) b.+49h/i],[t,[r,"Swiss"],[o,i]],[/\b(zur\d{3}) b/i],[t,[r,"Swiss"],[o,a]],[/\b((zeki)?tb.*\b) b/i],[t,[r,"Zeki"],[o,a]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[r,"Dragon Touch"],t,[o,a]],[/\b(ns-?\w{0,9}) b/i],[t,[r,"Insignia"],[o,a]],[/\b((nxa|next)-?\w{0,9}) b/i],[t,[r,"NextBook"],[o,a]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[r,"Voice"],t,[o,i]],[/\b(lvtel\-)?(v1[12]) b/i],[[r,"LvTel"],t,[o,i]],[/\b(ph-1) /i],[t,[r,"Essential"],[o,i]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[t,[r,"Envizen"],[o,a]],[/\b(trio[-\w\. ]+) b/i],[t,[r,"MachSpeed"],[o,a]],[/\btu_(1491) b/i],[t,[r,"Rotor"],[o,a]],[/(shield[\w ]+) b/i],[t,[r,"Nvidia"],[o,a]],[/(sprint) (\w+)/i],[r,t,[o,i]],[/(kin\.[onetw]{3})/i],[[t,/\./g," "],[r,s],[o,i]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[t,[r,Mn="Zebra"],[o,a]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[t,[r,Mn],[o,i]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[r,t,[o,Xn="console"]],[/droid.+; (shield) bui/i],[t,[r,"Nvidia"],[o,Xn]],[/(playstation [345portablevi]+)/i],[t,[r,so],[o,Xn]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[t,[r,s],[o,Xn]],[/smart-tv.+(samsung)/i],[r,[o,so="smarttv"]],[/hbbtv.+maple;(\d+)/i],[[t,/^/,"SmartTV"],[r,lo],[o,so]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[r,"LG"],[o,so]],[/(apple) ?tv/i],[r,[t,"Apple TV"],[o,so]],[/crkey/i],[[t,"Chromecast"],[r,n],[o,so]],[/droid.+aft(\w)( bui|\))/i],[t,[r,Cn],[o,so]],[/\(dtv[\);].+(aquos)/i],[t,[r,"Sharp"],[o,so]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[r,Er],[t,Er],[o,so]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[o,so]],[/((pebble))app/i],[r,t,[o,s="wearable"]],[/droid.+; (glass) \d/i],[t,[r,n],[o,s]],[/droid.+; (wt63?0{2,3})\)/i],[t,[r,Mn],[o,s]],[/(quest( 2)?)/i],[t,[r,In],[o,s]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[r,[o,lo="embedded"]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[t,[o,i]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[t,[o,a]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[o,a]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[o,i]],[/(android[-\w\. ]{0,9});.+buil/i],[t,[r,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[c,[u,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[c,[u,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[u,c],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[c,u]],os:[[/microsoft (windows) (vista|xp)/i],[u,c],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[u,[c,Sr,Cn={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,"Windows"],[c,Sr,Cn]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[c,/_/g,"."],[u,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[u,"Mac OS"],[c,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[c,u],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[u,c],[/\(bb(10);/i],[c,[u,Ln]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[c,[u,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[c,[u,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[c,[u,"webOS"]],[/crkey\/([\d\.]+)/i],[c,[u,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[u,"Chromium OS"],c],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[u,c],[/(sunos) ?([\w\.\d]*)/i],[[u,"Solaris"],c],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[u,c]]},Rr.VERSION="0.7.31",Rr.BROWSER=Ar([u,c,"major"]),Rr.CPU=Ar([e]),Rr.DEVICE=Ar([t,r,o,Xn,i,so,a,s,lo]),Rr.ENGINE=Rr.OS=Ar([u,c]),(po=l.exports?l.exports=Rr:po).UAParser=Rr,(_r=typeof dr!=gr&&(dr.jQuery||dr.Zepto))&&!_r.ua&&(pr=new Rr,_r.ua=pr.getResult(),_r.ua.get=function(){return pr.getUA()},_r.ua.set=function(e){pr.setUA(e);var t,r=pr.getResult();for(t in r)_r.ua[t]=r[t]});var Dr=wr.exports;const Tr="function"==typeof btoa,Or="function"==typeof nx,Mr=("function"==typeof TextDecoder&&new TextDecoder,"function"==typeof TextEncoder?new TextEncoder:void 0),Ir=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Cr=((e=>{let r={};e.forEach((e,t)=>r[e]=t)})(Ir),String.fromCharCode.bind(String)),Lr=("function"==typeof Uint8Array.from&&Uint8Array.from.bind(Uint8Array),Tr?e=>btoa(e):Or?e=>nx.from(e,"binary").toString("base64"):t=>{let r,n,o,i,a="";var e=t.length%3;for(let e=0;e<t.length;){if(255<(n=t.charCodeAt(e++))||255<(o=t.charCodeAt(e++))||255<(i=t.charCodeAt(e++)))throw new TypeError("invalid character found");r=n<<16|o<<8|i,a+=Ir[r>>18&63]+Ir[r>>12&63]+Ir[r>>6&63]+Ir[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a}),Pr=Or?e=>nx.from(e).toString("base64"):r=>{let n=[];for(let e=0,t=r.length;e<t;e+=4096)n.push(Cr.apply(null,r.subarray(e,e+4096)));return Lr(n.join(""))},jr=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Cr(192|t>>>6)+Cr(128|63&t):Cr(224|t>>>12&15)+Cr(128|t>>>6&63)+Cr(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Cr(240|t>>>18&7)+Cr(128|t>>>12&63)+Cr(128|t>>>6&63)+Cr(128|63&t)},Br=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,$r=Or?e=>nx.from(e,"utf8").toString("base64"):Mr?e=>Pr(Mr.encode(e)):e=>Lr((e=>e.replace(Br,jr))(e)),Ur=(e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"))($r(e)):$r(e);var g={Rewarded:"rewarded",Interstitial:"interstitial",Preroll:"interstitial",Midroll:"interstitial",Display:"display"};function Nr(e,t){for(var r in t)t.hasOwnProperty(r)&&null!==t[r]&&void 0!==t[r]&&(e[r]=t[r]);return e}function Fr(e,t){t=t||window.location.href,e=new RegExp("[?&]"+e+"=([^&#]*)","i").exec(t);return e?e[1]:null}function Gr(){for(var e,t=/\+/g,r=/([^&=]+)=?([^&]*)/g,n=function(e){return decodeURIComponent(e.toLowerCase().replace(t," "))},o=window.location.search.substring(1),i={};e=r.exec(o);)i[n(e[1])]=n(e[2]);return i}function zr(e){for(;function e(t){return(t=t||"")!==decodeURIComponent(t)}(e);)e=decodeURIComponent(e);return e}function Zr(a,s,u){return new Promise(function(e,t){if(u&&u.exists&&u.exists())e(Wr(null==u?void 0:u.alternates));else{var r=u&&u.alternates&&0<u.alternates.length?Wr(u.alternates):void 0,n=r||document.createElement("script"),o=u&&u.error_prefix?u.error_prefix:"Failed:";if(n.onload=function(){u&&u.exists&&!u.exists()?t("".concat(o," ").concat(a)):e(n)},n.onerror=function(){t("".concat(o," ").concat(a))},!r){if(n.type="text/javascript",!0===u.defer?n.defer=!0:n.async=!0,null!=u&&u.attrs)for(var i in u.attrs)n.setAttribute(i,u.attrs[i]);n.src=a,n.id=s,document.head.appendChild(n)}}})}function Hr(){var e=0,t=window;try{for(;t!=t.parent;)e++,t=t.parent}catch(e){}return e}function Kr(e){if(e)try{return JSON.parse(e)}catch(e){}}function Wr(e){if(e&&e.length){var t=document.querySelectorAll("script");if(t)for(var r in t){r=t[r];if(e.includes(r.src))return r}}}function Vr(e,t){return function e(t){return localStorage.getItem(t)}(e)?"true"===(t=localStorage.getItem(e))||!0===t||1===t||"1"===t:t}function qr(e){localStorage.removeItem(e)}function Yr(e,t){localStorage.setItem(e,t)}var Qr=function(){var e=Date.now();try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}(),Jr=Date.now(),Xr={console:!1};function en(e,t,r){try{var n,o;(Qr&&Vr("gd_debug_ex")||Xr&&!0===Xr.console)&&(n="error"===r?"background: #c4161e; color: #fff":"warning"===r?"background: #ff8c1c; color: #fff":"info"===r?"background: #ff0080; color: #fff":"background: #44a5ab; color: #fff",o=console.log("["+(Date.now()-Jr)/1e3+"s]%c %c %c gdsdk %c %c %c "+e+" ","background: #9854d8","background: #6c2ca7","color: #fff; background: #450f78;","background: #6c2ca7","background: #9854d8",n,void 0!==t?t:""),console.log.apply(console,o))}catch(e){console.log(e)}}function tn(e){Xr=e}var rn=["SDK_READY","SDK_ERROR","SDK_LB_LOGIN","SDK_SHW_LB","SDK_GAME_START","SDK_GAME_PAUSE","SDK_GDPR_TRACKING","SDK_GDPR_TARGETING","SDK_GDPR_THIRD_PARTY","AD_SDK_MANAGER_READY","AD_SDK_CANCELED","AD_IS_ALREADY_RUNNING","SDK_REWARDED_WATCH_COMPLETE"],nn=["AD_ERROR","AD_BREAK_READY","AD_METADATA","ALL_ADS_COMPLETED","CLICK","COMPLETE","CONTENT_PAUSE_REQUESTED","CONTENT_RESUME_REQUESTED","DURATION_CHANGE","FIRST_QUARTILE","IMPRESSION","INTERACTION","LINEAR_CHANGED","LOADED","LOG","MIDPOINT","PAUSED","RESUMED","SKIPPABLE_STATE_CHANGED","SKIPPED","STARTED","THIRD_QUARTILE","USER_CLOSE","VOLUME_CHANGED","VOLUME_MUTED","DISPLAYAD_IMPRESSION","DISPLAYAD_ERROR"],on=1010,an=1020,sn=1100,un=null,cn=(ne(vn,[{key:"_getListenerIdx",value:function(e,t,r){var n,o=this.listeners[e],i=-1;if(!o||0===o.length)return i;for(n=0;n<o.length;n++)if(o[n].callback===t&&(!r||r===o[n].scope)){i=n;break}return i}},{key:"subscribe",value:function(e,t,r){if(!e)throw new Error("Event name cannot be null or undefined.");if(!t||"function"!=typeof t)throw new Error("Listener must be of type function.");0<=this._getListenerIdx(e,t,r)?console.log(e,r):(t={callback:t,scope:r},this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t))}},{key:"unsubscribeScope",value:function(e){for(var t=Object.keys(this.listeners),r=0;r<t.length;r++){for(var n=t[r],o=this.listeners[n],i=0;i<o.length;i++)o[i].scope===e&&(o.splice(i,1),i--);0===o.length&&delete this.listeners[n]}}},{key:"broadcast",value:function(e,t){var r=this.listeners[e];e&&this.listeners[e]&&((t=t||{}).name=t.name||e,r.forEach(function(e){e.callback.call(e.scope,t,e.scope)}))}},{key:"printScope",value:function(e){for(var t=Object.keys(this.listeners),r=0;r<t.length;r++)for(var n=t[r],o=this.listeners[n],i=0;i<o.length;i++)o[i].scope===e&&console.log(n,e)}}]),vn),ln=(ne(mn,[{key:"transform",value:function(e,t){e=Mt(e);return this.transformValue(e,t)}},{key:"transformValue",value:function(t,e){if(Ct(t)||Ft(t))for(var r in t)t[r]=this.transformValue(t[r],e);else if("string"==typeof(u=t)||"object"==typeof u&&(Ut?function(e){try{return Bt.call(e),!0}catch(e){return!1}}(u):"[object String]"===$t.call(u))){var n,o,i,a=/\{\{(\w+)\}\}/g,s=[];do{}while((n=a.exec(t))&&(n[0],o=n[1],void 0!==(i=this.getMacroKeyValue(o,e))&&s.push({key:o,value:i})),n);0<s.length&&s.forEach(function(e){t=t.replace(new RegExp("{{"+e.key+"}}","g"),e.value)})}var u;return t}},{key:"getMacroKeyValue",value:function(e,t){switch(e){case"CACHEBUSTER":return Date.now();case"GAME_ID":return this.game.gameId;case"GAME_TITLE":return this.game.title;case"COUNTRY_CODE":return this.game.ctry;case"PAGE_URL":return this.bridge.parentURL;case"PAGE_URL_ESC":return encodeURIComponent(this.bridge.parentURL);case"PAGE_URL_ESC_ESC":return encodeURIComponent(encodeURIComponent(this.bridge.parentURL));case"DOMAIN_MATCHED":return this.bridge.domainMatched?1:0;case"DOMAIN_PARENT":return this.bridge.parentDomain;case"DOMAIN_TOP":return this.bridge.topDomain;case"DEPTH":case"GAME_DEPTH":return this.bridge.depth;default:if(t&&Lt(t.get))return t.get(e)}}}]),mn),dn=(ne(gn,[{key:"_init_layout",value:function(){var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this._layout={w:e-=e%64,h:t-=t%64}}},{key:"send",value:function(e,t){if(!this._config.isCoreSDKMode){this._size="".concat(this._layout.w," x ").concat(this._layout.h);var r=this._topic_counter[e]||0,r=(this._topic_counter[e]=++r,{gmid:this._config.gameId,tdmn:this._config.topDomain,domn:this._config.domain,rfrr:this._config.referrer,lthr:this._config.hours,ctry:this._config.country,dpth:this._config.depth,vers:this._config.version,trac:this._config.tracking,whlb:this._config.whitelabel,plat:this._config.platform,tpct:r,args:t,ttle:document.title,size:this._size,brnm:this._ua.browser.name,brmj:this._ua.browser.major,osnm:this._ua.os.name,osvr:this._ua.os.version,dvmd:this._ua.device.model,byld:this._config.byloader,bylv:this._config.byloaderVersion,imgu:this._config.isMasterGameURL,iegu:this._config.isExtHostedGameURL,itgu:this._config.isTokenGameURL,cmpe:!1,host:window.location.hostname});"undefined"!=typeof idhb&&void 0!==idhb.iabCmpExists()&&(r.cmpe=idhb.iabCmpExists());try{r=encodeURIComponent(Ur(JSON.stringify([r]))),fetch(this._url+"?tp=com.gdsdk.".concat(e,"&ar=").concat(r,"&ts=").concat(Date.now()))}catch(e){}}}},{key:"setGameData",value:function(e){this._gameData=e,this._config.country=e.ctry}}]),gn),fn=null,pn=(ne(hn,[{key:"start",value:function(){var e="\n #gdsdk__console_container {\n display: flex;\n box-sizing: border-box;\n padding: 3px;\n background: linear-gradient(90deg,#3d1b5d,#5c3997);\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);\n color: #fff;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 8px;\n }\n #gdsdk__console_container button {\n flex: 1;\n background: #44a5ab;\n padding: 3px 10px;\n margin: 2px;\n border: 0;\n border-radius: 3px;\n color: #fff;\n outline: 0;\n cursor: pointer;\n font-size: 8px;\n box-shadow: 0 0 0 transparent;\n text-shadow: 0 0 0 transparent;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n #gdsdk__console_container button:hover {\n background: #4fb3b9;\n }\n #gdsdk__console_container button:active {\n background: #62bbc0;\n }\n ",t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style"),e=(r.type="text/css",r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),t.appendChild(r),document.body||document.getElementsByTagName("body")[0]),t=document.createElement("div"),r=(t.id="gdsdk__console",t.style.position="fixed",t.style.zIndex=sn,t.style.bottom="0",t.style.left="0",t.style.width="100%",t.innerHTML='\n <div id="gdsdk__console_container">\n <button id="gdsdk__hbgdDebug">Activate hbgd debug</button>\n <button id="gdsdk__hbgdConfig">Log idhb config</button>\n \x3c!--\n <button id="gdsdk__resumeGame">Resume</button>\n <button id="gdsdk__pauseGame">Pause</button>\n --\x3e\n <button id="gdsdk__showLeaderboard">LeaderBoard</button>\n <button id="gdsdk__showInterstitial">Interstitial</button>\n <button id="gdsdk__showRewarded">Rewarded</button>\n \x3c!--\n <button id="gdsdk__preloadRewarded">Preload rewarded</button>\n --\x3e\n <button id="gdsdk__cancel">Cancel</button>\n <button id="gdsdk__demo">Demo VAST tag</button>\n <button id="gdsdk__disableMidrollTimer">Disable delay</button>\n <button id="gdsdk__closeDebug">Close</button>\n </div>\n ',e.appendChild(t),document.getElementById("gdsdk__showLeaderboard")),e=document.getElementById("gdsdk__showInterstitial"),t=document.getElementById("gdsdk__showRewarded"),n=document.getElementById("gdsdk__cancel"),o=document.getElementById("gdsdk__demo"),i=document.getElementById("gdsdk__disableMidrollTimer"),a=document.getElementById("gdsdk__hbgdDebug"),s=document.getElementById("gdsdk__hbgdConfig"),u=document.getElementById("gdsdk__closeDebug");Vr("gd_tag")?(o.innerHTML="Revert Vast tag",o.style.background="#ff8c1c"):(o.innerHTML="Demo VAST tag",o.style.background="#44a5ab"),Vr("gd_disable_midroll_timer")?(i.innerHTML="Revert delay",i.style.background="#ff8c1c"):(i.innerHTML="Disable delay",i.style.background="#44a5ab"),Vr("gd_hb_debug")?(a.innerHTML="Revert HB Debug",a.style.background="#ff8c1c"):(a.innerHTML="HB Debug",a.style.background="#44a5ab"),r.addEventListener("click",function(){window.gdsdk.showLeaderBoard().catch(function(e){})}),e.addEventListener("click",function(){window.gdsdk.showAd(g.Interstitial).catch(function(e){})}),t.addEventListener("click",function(){window.gdsdk.showAd(g.Rewarded).catch(function(e){})}),n.addEventListener("click",function(){window.gdsdk.cancelAd().then(function(e){}).catch(function(e){})}),o.addEventListener("click",function(){try{Vr("gd_tag")?qr("gd_tag"):Yr("gd_tag",!0),location.reload()}catch(e){console.log(e)}}),i.addEventListener("click",function(){try{Vr("gd_disable_midroll_timer")?qr("gd_disable_midroll_timer"):Yr("gd_disable_midroll_timer",!0),location.reload()}catch(e){console.log(e)}}),u.addEventListener("click",function(){try{Vr("gd_debug_ex")?qr("gd_debug_ex"):Yr("gd_debug_ex",!0),location.reload()}catch(e){console.log(e)}}),a.addEventListener("click",function(){try{Vr("gd_hb_debug")?qr("gd_hb_debug"):Yr("gd_hb_debug",!0),window.idhb&&window.idhb.debug(!(!Qr||!Vr("gd_hb_debug"))),location.reload()}catch(e){console.log(e)}}),s.addEventListener("click",function(){try{var e=window.idhb.getConfig();console.info(e)}catch(e){console.log(e)}})}}]),hn);function hn(e){if(te(this,hn),fn)return fn;(fn=this).eventBus=new cn,this._sdk=e}function gn(e){te(this,gn),this._config=e||{},this._url=e.url||"https://msgrt.gamedistribution.com/collect",this._topic_counter={},this._ua=(new Dr).getResult(),this._init_layout()}function mn(e){te(this,mn),this.game=e.game,this.bridge=e.bridge}function vn(){if(te(this,vn),un)return un;(un=this).listeners={}}function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yn(e){return e&&e.Math==Math&&e}function _n(e){try{return!!e()}catch(e){return!0}}function wn(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function An(e){return jn.call(e).slice(8,-1)}function xn(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function En(e){return Un(Nn(e))}function kn(e){return"object"==typeof e?null!==e:"function"==typeof e}function Sn(e,t){if(!Fn(e))return e;var r,n;if(t&&"function"==typeof(r=e.toString)&&!Fn(n=r.call(e)))return n;if("function"==typeof(r=e.valueOf)&&!Fn(n=r.call(e)))return n;if(t||"function"!=typeof(r=e.toString)||Fn(n=r.call(e)))throw TypeError("Can't convert object to primitive value");return n}function Rn(e,t){return Gn.call(e,t)}function Dn(e){return Zn?zn.createElement(e):{}}function Tn(e){if(eo(e))return e;throw TypeError(String(e)+" is not an object")}function On(t,r){try{co(uo,t,r)}catch(e){uo[t]=r}return r}var n=yn("object"==typeof globalThis&&globalThis)||yn("object"==typeof window&&window)||yn("object"==typeof self&&self)||yn("object"==typeof $&&$)||Function("return this")(),Mn={},In=!_n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),Cn={},Ln={}.propertyIsEnumerable,Pn=Object.getOwnPropertyDescriptor,e=Pn&&!Ln.call({1:2},1),jn=(Cn.f=e?function(e){e=Pn(this,e);return!!e&&e.enumerable}:Ln,{}.toString),Bn=An,$n="".split,t=_n(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==Bn(e)?$n.call(e,""):Object(e)}:Object,Un=t,Nn=xn,Fn=kn,Gn={}.hasOwnProperty,r=kn,zn=n.document,Zn=r(zn)&&r(zn.createElement),Hn=Dn,o=!In&&!_n(function(){return 7!=Object.defineProperty(Hn("div"),"a",{get:function(){return 7}}).a}),Kn=Cn,Wn=wn,Vn=En,qn=Sn,Yn=Rn,Qn=o,Jn=Object.getOwnPropertyDescriptor,Xn=(Mn.f=In?Jn:function(e,t){if(e=Vn(e),t=qn(t,!0),Qn)try{return Jn(e,t)}catch(e){}if(Yn(e,t))return Wn(!Kn.f.call(e,t),e[t])},{}),eo=kn,to=o,ro=Tn,no=Sn,oo=Object.defineProperty,io=(Xn.f=In?oo:function(e,t,r){if(ro(e),t=no(t,!0),ro(r),to)try{return oo(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e},Xn),ao=wn,i=In?function(e,t,r){return io.f(e,t,ao(1,r))}:function(e,t,r){return e[t]=r,e},so={exports:{}},uo=n,co=i,a=On,s="__core-js_shared__",lo=n[s]||a(s,{}),u=lo,fo=Function.toString,c=("function"!=typeof u.inspectSource&&(u.inspectSource=function(e){return fo.call(e)}),u.inspectSource),l=c,po=n.WeakMap,wr="function"==typeof po&&/native code/.test(l(po)),e={exports:{}},ho=lo;(e.exports=function(e,t){return ho[e]||(ho[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"});function go(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++jo+Bo).toString(36)}function mo(e){return Uo[e]||(Uo[e]=$o(e))}function vo(e){return"function"==typeof e?e:void 0}function bo(e,t){return arguments.length<2?vo(Qo[e])||vo(Jo[e]):Qo[e]&&Qo[e][t]||Jo[e]&&Jo[e][t]}function yo(e){return isNaN(e=+e)?0:(0<e?ei:Xo)(e)}function _o(e){return 0<e?ri(ti(e),9007199254740991):0}function wo(e,t){return(e=ni(e))<0?oi(e+t,0):ii(e,t)}function Ao(s){return function(e,t,r){var n,o=ai(e),i=si(o.length),a=ui(r,i);if(s&&t!=t){for(;a<i;)if((n=o[a++])!=n)return!0}else for(;a<i;a++)if((s||a in o)&&o[a]===t)return s||a||0;return!s&&-1}}function xo(e,t){var r,n=li(e),o=0,i=[];for(r in n)!ci(fi,r)&&ci(n,r)&&i.push(r);for(;t.length>o;)!ci(n,r=t[o++])||~di(i,r)||i.push(r);return i}function Eo(e,t){for(var r=yi(t),n=wi.f,o=_i.f,i=0;i<r.length;i++){var a=r[i];bi(e,a)||n(e,a,o(t,a))}}function ko(e,t){return(e=ki[Ei(e)])==Ri||e!=Si&&("function"==typeof t?Ai(t):!!t)}function So(e,t){var r,n,o,i,a=e.target,s=e.global,u=e.stat;if(r=s?Di:u?Di[a]||Ii(a,{}):(Di[a]||{}).prototype)for(n in t){if(o=t[n],i=e.noTargetGet?(i=Ti(r,n))&&i.value:r[n],!Li(s?n:a+(u?".":"#")+n,e.forced)&&void 0!==i){if(typeof o==typeof i)continue;Ci(o,i)}(e.sham||i&&i.sham)&&Oi(o,"sham",!0),Mi(r,n,o,e)}}function Ro(e){return Object(Pi(e))}var Do,To,Oo,Mo,Io,Co,Lo,Po,jo=0,Bo=Math.random(),Ln=e.exports,$o=go,Uo=Ln("keys"),r={},No=kn,Fo=i,Go=Rn,o=mo,a=r,s=n.WeakMap,u=(Lo=wr?(Do=new s,To=Do.get,Oo=Do.has,Mo=Do.set,Io=function(e,t){return Mo.call(Do,e,t),t},Co=function(e){return To.call(Do,e)||{}},function(e){return Oo.call(Do,e)}):(a[Po=o("state")]=!0,Io=function(e,t){return Fo(e,Po,t),t},Co=function(e){return Go(e,Po)?e[Po]:{}},function(e){return Go(e,Po)}),{set:Io,get:Co,has:Lo,enforce:function(e){return Lo(e)?Co(e):Io(e,{})},getterFor:function(t){return function(e){if(No(e)&&(e=Co(e)).type===t)return e;throw TypeError("Incompatible receiver, "+t+" required")}}}),zo=n,Zo=i,Ho=Rn,Ko=On,Wo=c,Vo=u.get,qo=u.enforce,Yo=String(String).split("String"),l=((so.exports=function(e,t,r,n){var o=!!n&&!!n.unsafe,i=!!n&&!!n.enumerable,n=!!n&&!!n.noTargetGet;"function"==typeof r&&("string"!=typeof t||Ho(r,"name")||Zo(r,"name",t),qo(r).source=Yo.join("string"==typeof t?t:"")),e!==zo?(o?!n&&e[t]&&(i=!0):delete e[t],i?e[t]=r:Zo(e,t,r)):i?e[t]=r:Ko(t,r)})(Function.prototype,"toString",function(){return"function"==typeof this&&Vo(this).source||Wo(this)}),n),Qo=l,Jo=n,po={},Xo=Math.ceil,ei=Math.floor,ti=yo,ri=Math.min,ni=yo,oi=Math.max,ii=Math.min,ai=En,si=_o,ui=wo,lo={includes:Ao(!0),indexOf:Ao(!1)},ci=Rn,li=En,di=lo.indexOf,fi=r,Ln=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],pi=xo,hi=Ln.concat("length","prototype"),wr=(po.f=Object.getOwnPropertyNames||function(e){return pi(e,hi)},{}),gi=(wr.f=Object.getOwnPropertySymbols,po),mi=wr,vi=Tn,s=bo("Reflect","ownKeys")||function(e){var t=gi.f(vi(e)),r=mi.f;return r?t.concat(r(e)):t},bi=Rn,yi=s,_i=Mn,wi=Xn,Ai=_n,xi=/#|\.prototype\./,Ei=ko.normalize=function(e){return String(e).replace(xi,".").toLowerCase()},ki=ko.data={},Si=ko.NATIVE="N",Ri=ko.POLYFILL="P",a=ko,Di=n,Ti=Mn.f,Oi=i,Mi=so.exports,Ii=On,Ci=Eo,Li=a,Pi=xn,ji=xo,Bi=Ln,o=Object.keys||function(e){return ji(e,Bi)},$i=Ro,Ui=o;So({target:"Object",stat:!0,forced:_n(function(){Ui(1)})},{keys:function(e){return Ui($i(e))}});function Ni(){}function Fi(e){return"<script>"+e+"<\/script>"}function Gi(e){return Ea(Da,e)||(Sa&&Ea(Ta,e)?Da[e]=Ta[e]:Da[e]=Oa("Symbol."+e)),Da[e]}function zi(e){var t=Ma.Symbol||(Ma.Symbol={});Ia(t,e)||La(t,e,{value:Ca.f(e)})}function Zi(e,t,r){e&&!ja(e=r?e:e.prototype,Ba)&&Pa(e,Ba,{configurable:!0,value:t})}function Hi(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}function Ki(n,o,e){if($a(n),void 0===o)return n;switch(e){case 0:return function(){return n.call(o)};case 1:return function(e){return n.call(o,e)};case 2:return function(e,t){return n.call(o,e,t)};case 3:return function(e,t,r){return n.call(o,e,t,r)}}return function(){return n.apply(o,arguments)}}function Wi(e,t){var r;return new(void 0===(r=Na(e)&&("function"==typeof(r=e.constructor)&&(r===Array||Na(r.prototype))||Ua(r)&&null===(r=r[Fa]))?void 0:r)?Array:r)(0===t?0:t)}function Vi(f){var p=1==f,h=2==f,g=3==f,m=4==f,v=6==f,b=5==f||v;return function(e,t,r,n){for(var o,i,a=Za(e),s=za(a),u=Ga(t,r,3),c=Ha(s.length),l=0,t=n||Ka,d=p?t(e,c):h?t(e,0):void 0;l<c;l++)if((b||l in s)&&(i=u(o=s[l],l,a),f))if(p)d[l]=i;else if(i)switch(f){case 3:return!0;case 5:return o;case 6:return l;case 2:Wa.call(d,o)}else if(m)return!1;return v?-1:g||m?m:d}}function qi(e,t){var r=Ss[e]=ns(_s.prototype);return vs(r,{type:ms,tag:e,description:t}),Va||(r.description=t),r}function Yi(e,t,r){return e===ys&&Yi(Rs,t,r),Ja(e),t=ts(t,!0),Ja(r),qa(Ss,t)?(r.enumerable?(qa(e,gs)&&e[gs][t]&&(e[gs][t]=!1),r=ns(r,{enumerable:rs(0,!1)})):(qa(e,gs)||xs(e,gs,rs(1,{})),e[gs][t]=!0),Ms(e,t,r)):xs(e,t,r)}function Qi(t,e){Ja(t);var r=es(e),e=os(r).concat(ta(r));return hs(e,function(e){Va&&!Ji.call(r,e)||Yi(t,e,r[e])}),t}function Ji(e){var e=ts(e,!0),t=ks.call(this,e);return!(this===ys&&qa(Ss,e)&&!qa(Rs,e))&&(!(t||!qa(this,e)||!qa(Ss,e)||qa(this,gs)&&this[gs][e])||t)}function Xi(e,t){var r,e=es(e),t=ts(t,!0);if(e!==ys||!qa(Ss,t)||qa(Rs,t))return!(r=As(e,t))||!qa(Ss,t)||qa(e,gs)&&e[gs][t]||(r.enumerable=!0),r}function ea(e){var e=Es(es(e)),t=[];return hs(e,function(e){qa(Ss,e)||qa(cs,e)||t.push(e)}),t}function ta(e){var t=e===ys,e=Es(t?Rs:es(e)),r=[];return hs(e,function(e){!qa(Ss,e)||t&&!qa(ys,e)||r.push(Ss[e])}),r}var ra,na=_n,na=!!Object.getOwnPropertySymbols&&!na(function(){return!String(Symbol())}),oa=na&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ia=An,aa=Array.isArray||function(e){return"Array"==ia(e)},sa=Xn,ua=Tn,ca=o,la=In?Object.defineProperties:function(e,t){ua(e);for(var r,n=ca(t),o=n.length,i=0;i<o;)sa.f(e,r=n[i++],t[r]);return e},d=bo("document","documentElement"),da=Tn,fa=la,pa=Ln,la=r,ha=d,ga=Dn,ma=mo("IE_PROTO"),va=function(){try{ra=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t,r;va=ra?((t=ra).write(Fi("")),t.close(),r=t.parentWindow.Object,t=null,r):((t=ga("iframe")).style.display="none",ha.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Fi("document.F=Object")),e.close(),e.F);for(var n=pa.length;n--;)delete va.prototype[pa[n]];return va()},Ln=(la[ma]=!0,Object.create||function(e,t){var r;return null!==e?(Ni.prototype=da(e),r=new Ni,Ni.prototype=null,r[ma]=e):r=va(),void 0===t?r:fa(r,t)}),la={},ba=En,ya=po.f,_a={}.toString,wa="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Aa=(la.f=function(e){if(!wa||"[object Window]"!=_a.call(e))return ya(ba(e));var t=e;try{return ya(t)}catch(t){return wa.slice()}},n),xa=e.exports,Ea=Rn,ka=go,Sa=na,Ra=oa,Da=xa("wks"),Ta=Aa.Symbol,Oa=Ra?Ta:Ta&&Ta.withoutSetter||ka,xa={},Ma=(xa.f=Gi,l),Ia=Rn,Ca=xa,La=Xn.f,Pa=Xn.f,ja=Rn,Ba=Gi("toStringTag"),$a=Hi,Ua=kn,Na=aa,Fa=Gi("species"),Ga=Ki,za=t,Za=Ro,Ha=_o,Ka=Wi,Wa=[].push,Aa={forEach:Vi(0),map:Vi(1),filter:Vi(2),some:Vi(3),every:Vi(4),find:Vi(5),findIndex:Vi(6)},Ra=So,ka=n,l=bo,Va=In,f=_n,qa=Rn,Ya=aa,Qa=kn,Ja=Tn,Xa=Ro,es=En,ts=Sn,rs=wn,ns=Ln,os=o,is=po,as=wr,ss=Mn,m=Xn,v=Cn,b=i,us=so.exports,e=e.exports,cs=r,ls=go,ds=Gi,r=xa,fs=zi,xa=Zi,ps=u,hs=Aa.forEach,gs=mo("hidden"),ms="Symbol",y=ds("toPrimitive"),vs=ps.set,bs=ps.getterFor(ms),ys=Object.prototype,_s=ka.Symbol,ws=l("JSON","stringify"),As=ss.f,xs=m.f,Es=la.f,ks=v.f,Ss=e("symbols"),Rs=e("op-symbols"),Ds=e("string-to-symbol-registry"),Ts=e("symbol-to-string-registry"),ps=e("wks"),l=ka.QObject,Os=!l||!l.prototype||!l.prototype.findChild,Ms=Va&&f(function(){return 7!=ns(xs({},"a",{get:function(){return xs(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=As(ys,t);n&&delete ys[t],xs(e,t,r),n&&e!==ys&&xs(ys,t,n)}:xs,Is=oa?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof _s};na||(us((_s=function(){if(this instanceof _s)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=ls(e),r=function(e){this===ys&&r.call(Rs,e),qa(this,gs)&&qa(this[gs],t)&&(this[gs][t]=!1),Ms(this,t,rs(1,e))};return Va&&Os&&Ms(ys,t,{configurable:!0,set:r}),qi(t,e)}).prototype,"toString",function(){return bs(this).tag}),us(_s,"withoutSetter",function(e){return qi(ls(e),e)}),v.f=Ji,m.f=Yi,ss.f=Xi,is.f=la.f=ea,as.f=ta,r.f=function(e){return qi(ds(e),e)},Va&&(xs(_s.prototype,"description",{configurable:!0,get:function(){return bs(this).description}}),us(ys,"propertyIsEnumerable",Ji,{unsafe:!0}))),Ra({global:!0,wrap:!0,forced:!na,sham:!na},{Symbol:_s}),hs(os(ps),function(e){fs(e)}),Ra({target:ms,stat:!0,forced:!na},{for:function(e){e=String(e);if(qa(Ds,e))return Ds[e];var t=_s(e);return Ds[e]=t,Ts[t]=e,t},keyFor:function(e){if(!Is(e))throw TypeError(e+" is not a symbol");if(qa(Ts,e))return Ts[e]},useSetter:function(){Os=!0},useSimple:function(){Os=!1}}),Ra({target:"Object",stat:!0,forced:!na,sham:!Va},{create:function(e,t){return void 0===t?ns(e):Qi(ns(e),t)},defineProperty:Yi,defineProperties:Qi,getOwnPropertyDescriptor:Xi}),Ra({target:"Object",stat:!0,forced:!na},{getOwnPropertyNames:ea,getOwnPropertySymbols:ta}),Ra({target:"Object",stat:!0,forced:f(function(){as.f(1)})},{getOwnPropertySymbols:function(e){return as.f(Xa(e))}}),ws&&Ra({target:"JSON",stat:!0,forced:!na||f(function(){var e=_s();return"[null]"!=ws([e])||"{}"!=ws({a:e})||"{}"!=ws(Object(e))})},{stringify:function(e,t,r){for(var n,o=[e],i=1;i<arguments.length;)o.push(arguments[i++]);if((Qa(n=t)||void 0!==e)&&!Is(e))return Ya(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Is(t))return t}),o[1]=t,ws.apply(null,o)}}),_s.prototype[y]||b(_s.prototype,y,_s.prototype.valueOf),xa(_s,ms),cs[gs]=!0;function Cs(t){return 51<=Us||!$s(function(){var e=[];return(e.constructor={})[Ns]=function(){return{foo:1}},1!==e[t](Boolean).foo})}function Ls(e){throw e}function Ps(e,t){if(zs(Hs,e))return Hs[e];var r=[][e],n=!!zs(t=t||{},"ACCESSORS")&&t.ACCESSORS,o=zs(t,0)?t[0]:Ls,i=zs(t,1)?t[1]:void 0;return Hs[e]=!!r&&!Gs(function(){if(n&&!Fs)return!0;var e={length:-1};n?Zs(e,1,{enumerable:!0,get:Ls}):e[1]=1,r.call(e,o,i)})}var js,Bs,e=bo("navigator","userAgent")||"",ka=e,l=n.process,oa=l&&l.versions,v=oa&&oa.v8,m=(v?bu=(vu=v.split("."))[0]+vu[1]:ka&&(!(vu=ka.match(/Edge\/(\d+)/))||74<=vu[1])&&(vu=ka.match(/Chrome\/(\d+)/))&&(bu=vu[1]),bu&&+bu),$s=_n,Us=m,Ns=Gi("species"),Fs=In,Gs=_n,zs=Rn,Zs=Object.defineProperty,Hs={},ss=So,Ks=Aa.filter,is=Ps,la=Cs("filter"),r=is("filter"),us=(ss({target:"Array",proto:!0,forced:!la||!r},{filter:function(e){return Ks(this,e,1<arguments.length?arguments[1]:void 0)}}),So),ps=_n,Ws=En,Vs=Mn.f,Ra=In,na=ps(function(){Vs(1)}),f=(us({target:"Object",stat:!0,forced:!Ra||na,sham:!Ra},{getOwnPropertyDescriptor:function(e,t){return Vs(Ws(e),t)}}),{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}),b=_n,qs=Aa.forEach,y=Ps,xa=!!(js=[].forEach)&&b(function(){js.call(null,function(){throw 1},1)}),l=y("forEach"),Ys=n,Qs=xa&&l?[].forEach:function(e){return qs(this,e,1<arguments.length?arguments[1]:void 0)},Js=i;for(Bs in f){var Xs=Ys[Bs],Xs=Xs&&Xs.prototype;if(Xs&&Xs.forEach!==Qs)try{Js(Xs,"forEach",Qs)}catch(m1){Xs.forEach=Qs}}function eu(e,t,r){(t=ou(t))in e?iu.f(e,t,au(0,r)):e[t]=r}function tu(e,t,r,n){try{return n?t(Au(r)[0],r[1]):t(r)}catch(t){n=e.return;throw void 0!==n&&Au(n.call(e)),t}}function ru(e){return void 0!==e&&(xu.Array===e||ku[Eu]===e)}function nu(e){if(null!=e)return e[Mu]||e["@@iterator"]||Ou[Tu(e)]}var ou=Sn,iu=Xn,au=wn,su=s,uu=En,cu=Mn,lu=eu,oa=(So({target:"Object",stat:!0,sham:!In},{getOwnPropertyDescriptors:function(e){for(var t,r,n=uu(e),o=cu.f,i=su(n),a={},s=0;i.length>s;)void 0!==(r=o(n,t=i[s++]))&&lu(a,t,r);return a}}),So),du=kn,fu=aa,pu=wo,hu=_o,gu=En,mu=eu,v=Gi,ka=Ps,vu=Cs("slice"),bu=ka("slice",{ACCESSORS:!0,0:0,1:2}),yu=v("species"),_u=[].slice,wu=Math.max,Au=(oa({target:"Array",proto:!0,forced:!vu||!bu},{slice:function(e,t){var r,n,o,i=gu(this),a=hu(i.length),s=pu(e,a),u=pu(void 0===t?a:t,a);if(fu(i)&&((r="function"==typeof(r=i.constructor)&&(r===Array||fu(r.prototype))||du(r)&&null===(r=r[yu])?void 0:r)===Array||void 0===r))return _u.call(i,s,u);for(n=new(void 0===r?Array:r)(wu(u-s,0)),o=0;s<u;s++,o++)s in i&&mu(n,o,i[s]);return n.length=o,n}}),Tn),is={},xu=is,Eu=Gi("iterator"),ku=Array.prototype,ss={},la=(ss[Gi("toStringTag")]="z","[object z]"===String(ss)),r=la,Su=An,Ru=Gi("toStringTag"),Du="Arguments"==Su(function(){return arguments}()),ps=r?Su:function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,t){try{return e[t]}catch(e){}}(e=Object(e),Ru))?t:Du?Su(e):"Object"==(t=Su(e))&&"function"==typeof e.callee?"Arguments":t},Tu=ps,Ou=is,Mu=Gi("iterator"),Iu=Ki,Cu=Ro,Lu=tu,Pu=ru,ju=_o,Bu=eu,$u=nu,Uu=Gi("iterator"),Nu=!1;try{var Fu=0,Gu={next:function(){return{done:!!Fu++}},return:function(){Nu=!0}};Gu[Uu]=function(){return this},Array.from(Gu,function(){throw 2})}catch(m1){}function zu(e,t){if(!t&&!Nu)return!1;var r=!1;try{var n={};n[Uu]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}So({target:"Array",stat:!0,forced:!zu(function(e){Array.from(e)})},{from:function(e){var t,r,n,o,i,a,s=Cu(e),e="function"==typeof this?this:Array,u=arguments.length,c=1<u?arguments[1]:void 0,l=void 0!==c,d=$u(s),f=0;if(l&&(c=Iu(c,2<u?arguments[2]:void 0,2)),null==d||e==Array&&Pu(d))for(r=new e(t=ju(s.length));f<t;f++)a=l?c(s[f],f):s[f],Bu(r,f,a);else for(i=(o=d.call(s)).next,r=new e;!(n=i.call(o)).done;f++)a=l?Lu(o,c,[n.value,f],!0):n.value,Bu(r,f,a);return r.length=f,r}});function Zu(o){return function(e,t){var r,e=String(tc(e)),t=ec(t),n=e.length;return t<0||n<=t?o?"":void 0:(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?o?e.charAt(t):r:o?e.slice(t,t+2):n-56320+(r-55296<<10)+65536}}function Hu(){return this}function Ku(e,t,r,n,o,i,a){var s=r,u=t;function c(e){if(e===o&&g)return g;if(!Ac&&e in p)return p[e];switch(e){case"keys":case Ec:case kc:return function(){return new r(this,e)}}return function(){return new r(this)}}u+=" Iterator",s.prototype=sc(ac,{next:uc(1,n)}),cc(s,u,!1),lc[u]=dc;var l,d,n=t+" Iterator",f=!1,p=e.prototype,h=p[xc]||p["@@iterator"]||o&&p[o],g=!Ac&&h||c(o);if((s="Array"==t&&p.entries||h)&&(u=gc(s.call(new e)),wc!==Object.prototype&&u.next&&(gc(u)!==wc&&(mc?mc(u,wc):"function"!=typeof u[xc]&&bc(u,xc,Hu)),vc(u,n,!0))),o==Ec&&h&&h.name!==Ec&&(f=!0,g=function(){return h.call(this)}),p[xc]!==g&&bc(p,xc,g),_c[t]=g,o)if(l={values:c(Ec),keys:i?g:c("keys"),entries:c(kc)},a)for(d in l)!Ac&&!f&&d in p||yc(p,d,l[d]);else hc({target:t,proto:!0,forced:Ac||f},l);return l}function Wu(e){Lc[Cc][e]=!0}var Vu,qu,Yu,Qu,Ju,Xu,ec=yo,tc=xn,us={codeAt:Zu(!1),charAt:Zu(!0)},na=!_n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),rc=Rn,nc=Ro,Ra=na,oc=mo("IE_PROTO"),ic=Object.prototype,b=Ra?Object.getPrototypeOf:function(e){return e=nc(e),rc(e,oc)?e[oc]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ic:null},y=b,xa=i,l=Rn,s=Gi("iterator"),ka=!1,vu=([].keys&&("next"in(v=[].keys())?(oa=y(y(v)))!==Object.prototype&&(jc=oa):ka=!0),l(jc=null==jc?{}:jc,s)||xa(jc,s,function(){return this}),{IteratorPrototype:jc,BUGGY_SAFARI_ITERATORS:ka}),ac=vu.IteratorPrototype,sc=Ln,uc=wn,cc=Zi,lc=is,dc=function(){return this},fc=kn,pc=Tn,bu=Object.setPrototypeOf||("__proto__"in{}?function(){var r,n=!1,e={};try{(r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(r){}return function(e,t){return pc(e),function(e){if(fc(e)||null===e)return;throw TypeError("Can't set "+String(e)+" as a prototype")}(t),n?r.call(e,t):e.__proto__=t,e}}():void 0),hc=So,gc=b,mc=bu,vc=Zi,bc=i,yc=so.exports,_c=is,wc=vu.IteratorPrototype,Ac=vu.BUGGY_SAFARI_ITERATORS,xc=Gi("iterator"),Ec="values",kc="entries",Sc=us.charAt,ss=u,r=Ku,Rc="String Iterator",Dc=ss.set,Tc=ss.getterFor(Rc),Gu=(r(String,"String",function(e){Dc(this,{type:Rc,string:String(e),index:0})},function(){var e=Tc(this),t=e.string,r=e.index;return r>=t.length?{value:void 0,done:!0}:(t=Sc(t,r),e.index+=t.length,{value:t,done:!1})}),So),Oc=Rn,Mc=kn,na=Xn.f,Ra=Eo,Ic=n.Symbol,v=(!In||"function"!=typeof Ic||"description"in Ic.prototype&&void 0===Ic().description||(Vu={},Ra(qu=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof qu?new Ic(e):void 0===e?Ic():Ic(e);return""===e&&(Vu[t]=!0),t},Ic),(y=qu.prototype=Ic.prototype).constructor=qu,Yu=y.toString,Qu="Symbol(test)"==String(Ic("test")),Ju=/^Symbol\((.*)\)[^)]+$/,na(y,"description",{configurable:!0,get:function(){var e=Mc(this)?this.valueOf():this,t=Yu.call(e);if(Oc(Vu,e))return"";e=Qu?t.slice(7,-1):t.replace(Ju,"$1");return""===e?void 0:e}}),Gu({global:!0,forced:!0},{Symbol:qu})),zi("iterator"),Ln),oa=Xn,Cc=Gi("unscopables"),Lc=Array.prototype,Pc=(null==Lc[Cc]&&oa.f(Lc,Cc,{configurable:!0,value:v(null)}),En),l=Wu,xa=is,s=u,jc=Ku,Bc="Array Iterator",$c=s.set,Uc=s.getterFor(Bc),ka=jc(Array,"Array",function(e,t){$c(this,{type:Bc,target:Pc(e),index:0,kind:t})},function(){var e=Uc(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?{value:e.target=void 0,done:!0}:"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),Nc=(xa.Arguments=xa.Array,l("keys"),l("values"),l("entries"),n),Fc=f,Gc=ka,zc=i,b=Gi,Zc=b("iterator"),Hc=b("toStringTag"),Kc=Gc.values;for(Xu in Fc){var Wc=Nc[Xu],Vc=Wc&&Wc.prototype;if(Vc){if(Vc[Zc]!==Kc)try{zc(Vc,Zc,Kc)}catch(m1){Vc[Zc]=Kc}if(Vc[Hc]||zc(Vc,Hc,Xu),Fc[Xu])for(var qc in Gc)if(Vc[qc]!==Gc[qc])try{zc(Vc,qc,Gc[qc])}catch(m1){Vc[qc]=Gc[qc]}}}function Yc(e){var e=el(e),t=tl.f;rl&&e&&!e[nl]&&t(e,nl,{configurable:!0,get:function(){return this}})}function Qc(e,t){this.stopped=e,this.result=t}var Jc=ps,vu=so.exports,ss=(la||vu(Object.prototype,"toString",la?{}.toString:function(){return"[object "+Jc(this)+"]"},{unsafe:!0}),n.Promise),Xc=so.exports,el=bo,tl=Xn,rl=In,nl=Gi("species"),r={exports:{}},ol=Tn,il=ru,al=_o,sl=Ki,ul=nu,cl=tu;(r.exports=function(e,t,r,n,o){var i,a,s,u,c,l,d=sl(t,r,n?2:1);if(o)i=e;else{if("function"!=typeof(t=ul(e)))throw TypeError("Target is not iterable");if(il(t)){for(a=0,s=al(e.length);a<s;a++)if((u=n?d(ol(l=e[a])[0],l[1]):d(e[a]))&&u instanceof Qc)return u;return new Qc(!1)}i=t.call(e)}for(c=i.next;!(l=c.call(i)).done;)if("object"==typeof(u=cl(i,d,l.value,n))&&u&&u instanceof Qc)return u;return new Qc(!1)}).stop=function(e){return new Qc(!0,e)};function ll(e,t){return void 0===(e=gl(e).constructor)||null==(e=gl(e)[vl])?t:ml(e)}function dl(e){return function(){Sl(e)}}function fl(e){Sl(e.data)}function pl(e){bl.postMessage(e+"",wl.protocol+"//"+wl.host)}var hl,gl=Tn,ml=Hi,vl=Gi("species"),Ra=/(iphone|ipod|ipad).*applewebkit/i.test(e),bl=n,na=_n,y=An,Gu=Ki,yl=d,_l=Dn,Ln=Ra,wl=bl.location,oa=bl.setImmediate,v=bl.clearImmediate,Al=bl.process,is=bl.MessageChannel,xl=bl.Dispatch,El=0,kl={},Sl=function(e){var t;kl.hasOwnProperty(e)&&(t=kl[e],delete kl[e],t())};oa&&v||(oa=function(e){for(var t=[],r=1;r<arguments.length;)t.push(arguments[r++]);return kl[++El]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},hl(El),El},v=function(e){delete kl[e]},"process"==y(Al)?hl=function(e){Al.nextTick(dl(e))}:xl&&xl.now?hl=function(e){xl.now(dl(e))}:is&&!Ln?(jc=(s=new is).port2,s.port1.onmessage=fl,hl=Gu(jc.postMessage,jc,1)):!bl.addEventListener||"function"!=typeof postMessage||bl.importScripts||na(pl)||"file:"===wl.protocol?hl="onreadystatechange"in _l("script")?function(e){yl.appendChild(_l("script")).onreadystatechange=function(){yl.removeChild(this),Sl(e)}}:function(e){setTimeout(dl(e),0)}:(hl=pl,bl.addEventListener("message",fl,!1)));function Rl(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=e,n=t}),this.resolve=Nl(r),this.reject=Nl(n)}var Dl,Tl,Ol,Ml,Il,Cl,Ll,Pl,xa={set:oa,clear:v},jl=n,l=Mn.f,f=An,Bl=xa.set,ka=Ra,b=jl.MutationObserver||jl.WebKitMutationObserver,$l=jl.process,ps=jl.Promise,Ul="process"==f($l),vu=l(jl,"queueMicrotask"),la=vu&&vu.value,e=(la||(Dl=function(){var e,t;for(Ul&&(e=$l.domain)&&e.exit();Tl;){t=Tl.fn,Tl=Tl.next;try{t()}catch(e){throw Tl?Ml():Ol=void 0,e}}Ol=void 0,e&&e.enter()},Ml=Ul?function(){$l.nextTick(Dl)}:b&&!ka?(Il=!0,Cl=document.createTextNode(""),new b(Dl).observe(Cl,{characterData:!0}),function(){Cl.data=Il=!Il}):ps&&ps.resolve?(Ll=ps.resolve(void 0),Pl=Ll.then,function(){Pl.call(Ll,Dl)}):function(){Bl.call(jl,Dl)}),la||function(e){e={fn:e,next:void 0};Ol&&(Ol.next=e),Tl||(Tl=e,Ml()),Ol=e}),d={},Nl=Hi;d.f=function(e){return new Rl(e)};function Fl(e,t){return Kl(e),Wl(t)&&t.constructor===e?t:((0,(e=Vl.f(e)).resolve)(t),e.promise)}var Gl,zl,Zl,Hl,Kl=Tn,Wl=kn,Vl=d,ql=n,y=So,Yl=n,Ln=bo,is=ss,s=so.exports,Gu=Zi,jc=Yc,Ql=kn,Jl=Hi,na=An,Xl=c,ed=r.exports,oa=zu,td=ll,rd=xa.set,nd=e,od=Fl,v=d,id=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Ra=u,f=a,ad=m,sd=Gi("species"),ud="Promise",cd=Ra.get,ld=Ra.set,dd=Ra.getterFor(ud),fd=is,pd=Yl.TypeError,hd=Yl.document,gd=Yl.process,md=Ln("fetch"),vd=v.f,bd=vd,yd="process"==na(gd),_d=!!(hd&&hd.createEvent&&Yl.dispatchEvent),wd="unhandledrejection",l=f(ud,function(){if(Xl(fd)===String(fd)){if(66===ad)return!0;if(!yd&&"function"!=typeof PromiseRejectionEvent)return!0}if(51<=ad&&/native code/.test(fd))return!1;function e(e){e(function(){},function(){})}var t=fd.resolve(1);return(t.constructor={})[sd]=e,!(t.then(function(){})instanceof e)}),vu=l||!oa(function(e){fd.all(e).catch(function(){})}),Ad=function(e){var t;return!(!Ql(e)||"function"!=typeof(t=e.then))&&t},xd=function(p,h,g){var m;h.notified||(h.notified=!0,m=h.reactions,nd(function(){for(var r,n,e=h.value,t=1==h.state,o=0;m.length>o;){var i,a,s,u=m[o++],c=t?u.ok:u.fail,l=u.resolve,d=u.reject,f=u.domain;try{c?(t||(2===h.rejection&&function(e,t){rd.call(Yl,function(){yd?gd.emit("rejectionHandled",e):Ed("rejectionhandled",e,t.value)})}(p,h),h.rejection=1),!0===c?i=e:(f&&f.enter(),i=c(e),f&&(f.exit(),s=!0)),i===u.promise?d(pd("Promise-chain cycle")):(a=Ad(i))?a.call(i,l,d):l(i)):d(e)}catch(e){f&&!s&&f.exit(),d(e)}}h.reactions=[],h.notified=!1,g&&!h.rejection&&(r=p,n=h,rd.call(Yl,function(){var e,t=n.value;if(kd(n)&&(e=id(function(){yd?gd.emit("unhandledRejection",t,r):Ed(wd,r,t)}),n.rejection=yd||kd(n)?2:1,e.error))throw e.value}))}))},Ed=function(e,t,r){var n;_d?((n=hd.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),Yl.dispatchEvent(n)):n={promise:t,reason:r},(t=Yl["on"+e])?t(n):e===wd&&function(e,t){var r=ql.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}("Unhandled promise rejection",r)},kd=function(e){return 1!==e.rejection&&!e.parent},Sd=function(t,r,n,o){return function(e){t(r,n,e,o)}},Rd=function(e,t,r,n){t.done||(t.done=!0,(t=n?n:t).value=r,t.state=2,xd(e,t,!0))},Dd=function(r,n,e,t){if(!n.done){n.done=!0,t&&(n=t);try{if(r===e)throw pd("Promise can't be resolved itself");var o=Ad(e);o?nd(function(){var t={done:!1};try{o.call(e,Sd(Dd,r,t,n),Sd(Rd,r,t,n))}catch(e){Rd(r,t,e,n)}}):(n.value=e,n.state=1,xd(r,n,!1))}catch(e){Rd(r,{done:!1},e,n)}}},ka=(l&&(fd=function(e){(function(e,t,r){if(e instanceof t)return;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")})(this,fd,ud),Jl(e),Gl.call(this);var t=cd(this);try{e(Sd(Dd,this,t),Sd(Rd,this,t))}catch(e){Rd(this,t,e)}},(Gl=function(e){ld(this,{type:ud,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,r){for(var n in t)Xc(e,n,t[n],r);return e}(fd.prototype,{then:function(e,t){var r=dd(this),n=vd(td(this,fd));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=yd?gd.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&xd(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),zl=function(){var e=new Gl,t=cd(e);this.promise=e,this.resolve=Sd(Dd,e,t),this.reject=Sd(Rd,e,t)},v.f=vd=function(e){return e===fd||e===Zl?new zl:bd(e)},"function"==typeof is&&(Hl=is.prototype.then,s(is.prototype,"then",function(e,t){var r=this;return new fd(function(e,t){Hl.call(r,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof md&&y({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return od(fd,md.apply(Yl,arguments))}}))),y({global:!0,wrap:!0,forced:l},{Promise:fd}),Gu(fd,ud,!1),jc(ud),Zl=Ln(ud),y({target:ud,stat:!0,forced:l},{reject:function(e){var t=vd(this);return t.reject.call(void 0,e),t.promise}}),y({target:ud,stat:!0,forced:l},{resolve:function(e){return od(this,e)}}),y({target:ud,stat:!0,forced:vu},{all:function(e){var s=this,t=vd(s),u=t.resolve,c=t.reject,r=id(function(){var n=Jl(s.resolve),o=[],i=0,a=1;ed(e,function(e){var t=i++,r=!1;o.push(void 0),a++,n.call(s,e).then(function(e){r||(r=!0,o[t]=e,--a||u(o))},c)}),--a||u(o)});return r.error&&c(r.value),t.promise},race:function(e){var r=this,n=vd(r),o=n.reject,t=id(function(){var t=Jl(r.resolve);ed(e,function(e){t.call(r,e).then(n.resolve,o)})});return t.error&&o(t.value),n.promise}}),So),b=_n,Td=aa,Od=kn,Md=Ro,Id=_o,Cd=eu,Ld=Wi,ps=Cs,la=m,Pd=Gi("isConcatSpreadable"),jd=9007199254740991,Bd="Maximum allowed index exceeded",c=51<=la||!b(function(){var e=[];return e[Pd]=!1,e.concat()[0]!==e}),r=ps("concat"),xa=(ka({target:"Array",proto:!0,forced:!c||!r},{concat:function(e){for(var t,r,n,o=Md(this),i=Ld(o,0),a=0,s=-1,u=arguments.length;s<u;s++)if(function(e){if(!Od(e))return!1;var t=e[Pd];return void 0!==t?!!t:Td(e)}(n=-1===s?o:arguments[s])){if(a+(r=Id(n.length))>jd)throw TypeError(Bd);for(t=0;t<r;t++,a++)t in n&&Cd(i,a,n[t])}else{if(jd<=a)throw TypeError(Bd);Cd(i,a++,n)}return i.length=a,i}}),In),e=Xn.f,d=Function.prototype,$d=d.toString,Ud=/^\s*function ([^ (]*)/;function Nd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Fd(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function Gd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Fd(Object(r),!0).forEach(function(e){bn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fd(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}!xa||"name"in d||e(d,"name",{configurable:!0,get:function(){try{return $d.call(this).match(Ud)[1]}catch(e){return""}}});function zd(e,t){Vd[e]=Gd(Gd({},t),{},{isLoading:!1})}function Zd(e){var n=this,o=e.id,i=e.src;return new Promise(function(e,t){var r;A(this,n),document.getElementById(o)?e():((r=document.createElement("script")).onload=function(){e()},r.id=o,r.setAttribute("crossorigin",!0),r.src=i,document.head.appendChild(r))}.bind(this))}function Hd(){var e=Qd(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}var Kd,Wd={react:{src:"https://pm.gamedistribution.com/react/16.14.0/umd/react.production.min.js",name:"React"},"react-dom":{src:"https://pm.gamedistribution.com/react-dom/16.14.0/umd/react-dom.production.min.js",name:"ReactDOM"},redux:{src:"https://pm.gamedistribution.com/redux/4.0.5/dist/redux.min.js",name:"Redux"},"react-redux":{src:"https://pm.gamedistribution.com/react-redux/7.2.1/dist/react-redux.min.js",name:"ReactRedux"},"material-ui-core":{src:"https://pm.gamedistribution.com/@material-ui/core/4.11.3/umd/material-ui.production.min.js",name:"MaterialUI"}},Vd={},qd=(Kd=p(h.mark(function e(t){var r,n,o,i,a,s;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=window[t])return e.abrupt("return",r);e.next=3;break;case 3:if((n=Vd[t]).isLoading)return e.abrupt("return");e.next=6;break;case 6:n.isLoading=!0,o=function e(t,r){var n,o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(e){if(e){if("string"==typeof e)return Nd(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Nd(e,void 0):void 0}}(t))||r&&t&&"number"==typeof t.length)return o&&(t=o),n=0,{s:r=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(n.dependencies),e.prev=8,o.s();case 10:if((i=o.n()).done){e.next=26;break}if(i=i.value,e.prev=12,a=Wd[i].name,window[a])return e.abrupt("continue",24);e.next=16;break;case 16:return e.next=18,Zd({id:i,src:Wd[i].src});case 18:e.next=24;break;case 20:e.prev=20,e.t0=e.catch(12),a=i.id,s=i.src,console.log("Could not load external script ".concat(a," ").concat(s),e.t0);case 24:e.next=10;break;case 26:e.next=31;break;case 28:e.prev=28,e.t1=e.catch(8),o.e(e.t1);case 31:return e.prev=31,o.f(),e.finish(31);case 34:return e.prev=34,e.next=37,Zd({id:t,src:n.source});case 37:r=window[t],e.next=43;break;case 40:e.prev=40,e.t2=e.catch(34),console.log("Could not load module ".concat(t," ").concat(n.source,"."),e.t2);case 43:return n.isLoading=!1,e.abrupt("return",r);case 45:case"end":return e.stop()}},e,null,[[8,28,31,34],[12,20],[34,40]])})),function(e){return Kd.apply(this,arguments)}),Yd=new function e(){var t,r,n=this;te(this,e),bn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qd("Leaderboard");case 2:n.leaderboard=e.sent;case 3:case"end":return e.stop()}},e)}))),bn(this,"showLeaderboard",(r=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=window.GD_OPTIONS.gameId,n.leaderboard){e.next=4;break}return e.next=4,n.load();case 4:n.leaderboard.showLeaderBoard(r,t);case 5:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)})),bn(this,"addScore",(t=p(h.mark(function e(t){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n.leaderboard){e.next=3;break}return e.next=3,n.load();case 3:n.leaderboard.addScore(t);case 4:case"end":return e.stop()}},e)})),function(e){return t.apply(this,arguments)})),this.moduleName="Leaderboard",this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/gd-sdk-leaderboard/0.1.43/dist/default/iife/index.js",dependencies:["react","react-dom","redux","react-redux","material-ui-core"]},zd(this.moduleName,this.moduleConfig)},Qd=Tn,Ra={},na=_n;function Jd(e,t){return RegExp(e,t)}Ra.UNSUPPORTED_Y=na(function(){var e=Jd("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Ra.BROKEN_CARET=na(function(){var e=Jd("^r","gy");return e.lastIndex=2,null!=e.exec("str")});function Xd(r,e,t,n){var i,o,a=d0(r),s=!l0(function(){var e={};return e[a]=function(){return 7},7!=""[r](e)}),u=s&&!l0(function(){var e=!1,t=/a/;return"split"===r&&((t={}).constructor={},t.constructor[h0]=function(){return t},t.flags="",t[a]=/./[a]),t.exec=function(){return e=!0,null},t[a](""),!e});s&&u&&("replace"!==r||g0&&m0&&!v0)&&("split"!==r||b0)||(i=/./[a],t=(u=t(a,""[r],function(e,t,r,n,o){return t.exec===f0?s&&!o?{done:!0,value:i.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}},{REPLACE_KEEPS_$0:m0,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:v0}))[0],o=u[1],c0(String.prototype,r,t),c0(RegExp.prototype,a,2==e?function(e,t){return o.call(e,this,t)}:function(e){return o.call(e,this)})),n&&p0(RegExp.prototype[a],"sham",!0)}function e0(e,t,r){return t+(r?y0(e,t).length:1)}function t0(e,t){var r=e.exec;if("function"==typeof r){r=r.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_0(e))throw TypeError("RegExp#exec called on incompatible receiver");return w0.call(e,t)}var r0,n0=Hd,f=Ra,o0=RegExp.prototype.exec,i0=String.prototype.replace,oa=o0,a0=(v=/a/,s=/b*/g,o0.call(v,"a"),o0.call(s,"a"),0!==v.lastIndex||0!==s.lastIndex),s0=f.UNSUPPORTED_Y||f.BROKEN_CARET,u0=void 0!==/()??/.exec("")[1],is=oa=a0||u0||s0?function(e){var t,r,n,o,i=this,a=s0&&i.sticky,s=n0.call(i),u=i.source,c=0,l=e;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(e).slice(i.lastIndex),0<i.lastIndex&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(u="(?: "+u+")",l=" "+l,c++),r=new RegExp("^(?:"+u+")",s)),u0&&(r=new RegExp("^"+u+"$(?!\\s)",s)),a0&&(t=i.lastIndex),n=o0.call(a?r:i,l),a?n?(n.input=n.input.slice(c),n[0]=n[0].slice(c),n.index=i.lastIndex,i.lastIndex+=n[0].length):i.lastIndex=0:a0&&n&&(i.lastIndex=i.global?n.index+n[0].length:t),u0&&n&&1<n.length&&i0.call(n[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)}),n}:oa,c0=(So({target:"RegExp",proto:!0,forced:/./.exec!==is},{exec:is}),so.exports),l0=_n,d0=Gi,f0=is,p0=i,h0=d0("species"),g0=!l0(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),m0="$0"==="a".replace(/./,"$0"),Gu=d0("replace"),v0=!!/./[Gu]&&""===/./[Gu]("a","$0"),b0=!l0(function(){var e=/(?:)/,t=e.exec,e=(e.exec=function(){return t.apply(this,arguments)},"ab".split(e));return 2!==e.length||"a"!==e[0]||"b"!==e[1]}),y0=us.charAt,_0=An,w0=is,jc=Xd,A0=Tn,x0=Ro,E0=_o,k0=yo,S0=xn,R0=e0,D0=t0,T0=Math.max,O0=Math.min,M0=Math.floor,I0=/\$([$&'`]|\d\d?|<[^>]*>)/g,C0=/\$([$&'`]|\d\d?)/g,Ln=(jc("replace",2,function(o,_,w,e){var A=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=e.REPLACE_KEEPS_$0,E=A?"$":"$0";return[function(e,t){var r=S0(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):_.call(String(r),e,t)},function(e,t){if(!A&&x||"string"==typeof t&&-1===t.indexOf(E)){var r=w(_,e,this,t);if(r.done)return r.value}var n,o=A0(e),i=String(this),a="function"==typeof t,s=(a||(t=String(t)),o.global);s&&(n=o.unicode,o.lastIndex=0);for(var u=[];;){var c=D0(o,i);if(null===c)break;if(u.push(c),!s)break;""===String(c[0])&&(o.lastIndex=R0(i,E0(o.lastIndex),n))}for(var l,d="",f=0,p=0;p<u.length;p++){for(var c=u[p],h=String(c[0]),g=T0(O0(k0(c.index),i.length),0),m=[],v=1;v<c.length;v++)m.push(void 0===(l=c[v])?l:String(l));var b=c.groups,y=a?(y=[h].concat(m,g,i),void 0!==b&&y.push(b),String(t.apply(void 0,y))):function e(i,a,s,u,c,t){var l=s+i.length,d=u.length,r=C0;return void 0!==c&&(c=x0(c),r=I0),_.call(t,r,function(e,t){var r;switch(t.charAt(0)){case"$":return"$";case"&":return i;case"`":return a.slice(0,s);case"'":return a.slice(l);case"<":r=c[t.slice(1,-1)];break;default:var n,o=+t;if(0==o)return e;if(d<o)return 0!==(n=M0(o/10))&&n<=d?void 0===u[n-1]?t.charAt(1):u[n-1]+t.charAt(1):e;r=u[o-1]}return void 0===r?"":r})}(h,i,g,m,b,t);f<=g&&(d+=i.slice(f,g)+y,f=g+h.length)}return d+i.slice(f)}]}),{exports:{}}),l={exports:{}},y={exports:{}};function L0(e){return(L0="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}aa=(vu=y).exports,Object.defineProperty(aa,"__esModule",{value:!0}),aa.default=function(e){var t;if(!("string"==typeof e||e instanceof String))throw t=L0(e),null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))},vu.exports=aa.default,vu.exports.default=aa.default,la=(m=l).exports,Object.defineProperty(la,"__esModule",{value:!0}),la.default=function(e){return(0,r0.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)},r0=(b=y.exports)&&b.__esModule?b:{default:b},m.exports=la.default,m.exports.default=la.default;var ps={exports:{}},ka={},c={},P0=(Object.defineProperty(c,"__esModule",{value:!0}),c.commaDecimal=c.dotDecimal=c.farsiLocales=c.arabicLocales=c.englishLocales=c.decimal=c.alphanumeric=c.alpha=void 0,{"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇÆÄžÄ°Ä±Ã–ŞÜ]+$/i,"bg-BG":/^[Ð-Я]+$/i,"cs-CZ":/^[A-ZÃČĎÉĚÃŇÓŘŠŤÚŮÃŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ÏŽ]+$/i,"es-ES":/^[A-ZÃÉÃÑÓÚÜ]+$/i,"fa-IR":/^[Ø§Ø¨Ù¾ØªØ«Ø¬Ú†ØØ®Ø¯Ø°Ø±Ø²Ú˜Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙقکگلمنوهی]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÃÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÃÉËÃÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÃÉÃÓÖÅÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚÅŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÃÀÂÄÇÉÊËÃÃÕÓÔÖÚÜ]+$/i,"ru-RU":/^[Ð-ЯÐ]+$/i,"sl-SI":/^[A-ZČĆÄŠŽ]+$/i,"sk-SK":/^[A-ZÃČĎÉÃŇÓŠŤÚÃŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠÄ]+$/i,"sr-RS":/^[Ð-ЯЂЈЉЊЋÐ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[à¸-à¹\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[Ð-ЩЬЮЯЄIЇÒÑ–]+$/i,"vi-VN":/^[A-ZÀÃẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴÄÈÉẸẺẼÊỀẾỆỂỄÌÃỊỈĨÒÓỌỎÕÔỒá»á»˜á»”á»–Æ á»œá»šá»¢á»žá» Ã™Ãšá»¤á»¦Å¨Æ¯á»ªá»¨á»°á»¬á»®á»²ÃỴỶỸ]+$/i,"ku-IQ":/^[Ø¦Ø§Ø¨Ù¾ØªØ¬Ú†ØØ®Ø¯Ø±Ú•زژسشعغÙڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙقكلمنهوىيًٌÙÙŽÙÙّْٰ]+$/,he:/^[×-ת]+$/,fa:/^['Ø¢Ø§Ø¡Ø£Ø¤Ø¦Ø¨Ù¾ØªØ«Ø¬Ú†ØØ®Ø¯Ø°Ø±Ø²Ú˜Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙقکگلمنوهةی']+$/i}),j0=(c.alpha=P0,{"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇÆÄžÄ°Ä±Ã–ŞÜ]+$/i,"bg-BG":/^[0-9Ð-Я]+$/i,"cs-CZ":/^[0-9A-ZÃČĎÉĚÃŇÓŘŠŤÚŮÃŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÃÉÃÑÓÚÜ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÃÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÃÉÃÓÖÅÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÃÉËÃÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚÅŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÃÀÂÄÇÉÊËÃÃÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9Ð-ЯÐ]+$/i,"sl-SI":/^[0-9A-ZČĆÄŠŽ]+$/i,"sk-SK":/^[0-9A-ZÃČĎÉÃŇÓŠŤÚÃŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠÄ]+$/i,"sr-RS":/^[0-9Ð-ЯЂЈЉЊЋÐ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[à¸-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9Ð-ЩЬЮЯЄIЇÒÑ–]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9Ø¦Ø§Ø¨Ù¾ØªØ¬Ú†ØØ®Ø¯Ø±Ú•زژسشعغÙڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÃẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴÄÈÉẸẺẼÊỀẾỆỂỄÌÃỊỈĨÒÓỌỎÕÔỒá»á»˜á»”á»–Æ á»œá»šá»¢á»žá» Ã™Ãšá»¤á»¦Å¨Æ¯á»ªá»¨á»°á»¬á»®á»²ÃỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙقكلمنهوىيًٌÙÙŽÙÙّْٰ]+$/,he:/^[0-9×-ת]+$/,fa:/^['0-9Ø¢Ø§Ø¡Ø£Ø¤Ø¦Ø¨Ù¾ØªØ«Ø¬Ú†ØØ®Ø¯Ø°Ø±Ø²Ú˜Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i}),B0=(c.alphanumeric=j0,{"en-US":".",ar:"Ù«"}),$0=(c.decimal=B0,["AU","GB","HK","IN","NZ","ZA","ZM"]);c.englishLocales=$0;for(var U0,N0=0;N0<$0.length;N0++)P0[U0="en-".concat($0[N0])]=P0["en-US"],j0[U0]=j0["en-US"],B0[U0]=B0["en-US"];var F0=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];c.arabicLocales=F0;for(var G0,z0=0;z0<F0.length;z0++)P0[G0="ar-".concat(F0[z0])]=P0.ar,j0[G0]=j0.ar,B0[G0]=B0.ar;var Z0=["IR","AF"];c.farsiLocales=Z0;for(var H0,K0=0;K0<Z0.length;K0++)j0[H0="fa-".concat(Z0[K0])]=j0.fa,B0[H0]=B0.ar;var W0=["ar-EG","ar-LB","ar-LY"],V0=(c.dotDecimal=W0,["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"]);c.commaDecimal=V0;for(var q0=0;q0<W0.length;q0++)B0[W0[q0]]=B0["en-US"];for(var Y0=0;Y0<V0.length;Y0++)B0[V0[Y0]]=",";P0["fr-CA"]=P0["fr-FR"],j0["fr-CA"]=j0["fr-FR"],P0["pt-BR"]=P0["pt-PT"],j0["pt-BR"]=j0["pt-PT"],B0["pt-BR"]=B0["pt-PT"],P0["pl-Pl"]=P0["pl-PL"],j0["pl-Pl"]=j0["pl-PL"],B0["pl-Pl"]=B0["pl-PL"],P0["fa-AF"]=P0.fa,Object.defineProperty(ka,"__esModule",{value:!0}),ka.default=function(e,t){(0,tf.default)(e),t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?rf.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var n=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||n>=t.min)&&(!t.hasOwnProperty("max")||n<=t.max)&&(!t.hasOwnProperty("lt")||n<t.lt)&&(!t.hasOwnProperty("gt")||n>t.gt)},ka.locales=void 0;var Q0,J0,X0,ef,tf=(r=y.exports)&&r.__esModule?r:{default:r},rf=c,xa=Object.keys(rf.decimal),na=(ka.locales=xa,d=(e=ps).exports,Object.defineProperty(d,"__esModule",{value:!0}),d.default=function(e){return(0,Q0.default)(e)?parseFloat(e):NaN},Q0=ka&&ka.__esModule?ka:{default:ka},e.exports=d.default,e.exports.default=d.default,{exports:{}}),oa=(s=(v=na).exports,Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e,t){return(0,J0.default)(e),parseInt(e,t||10)},J0=(f=y.exports)&&f.__esModule?f:{default:f},v.exports=s.default,v.exports.default=s.default,{exports:{}}),jc=(Gu=(i=oa).exports,Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.default=function(e,t){return(0,X0.default)(e),t?"1"===e||/^true$/i.test(e):"0"!==e&&!/^false$/i.test(e)&&""!==e},X0=(us=y.exports)&&us.__esModule?us:{default:us},i.exports=Gu.default,i.exports.default=Gu.default,{exports:{}}),la=(b=(aa=jc).exports,Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(e,t){return(0,ef.default)(e),e===t},ef=(m=y.exports)&&m.__esModule?m:{default:m},aa.exports=b.default,aa.exports.default=b.default,{exports:{}}),r={exports:{}};function nf(e){return(nf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=(xa=r).exports,Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return"object"===nf(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e=""),String(e)},xa.exports=e.default,xa.exports.default=e.default;var of,af,sf,uf,d={exports:{}};function cf(e){return e&&e.__esModule?e:{default:e}}v=(f=d).exports,Object.defineProperty(v,"__esModule",{value:!0}),v.default=function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},r=1<arguments.length?arguments[1]:void 0;for(e in r)void 0===t[e]&&(t[e]=r[e]);return t},f.exports=v.default,f.exports.default=v.default,us=(s=la).exports,Object.defineProperty(us,"__esModule",{value:!0}),us.default=function(e,t,r){return(0,of.default)(e),(r=(0,sf.default)(r,uf)).ignoreCase?0<=e.toLowerCase().indexOf((0,af.default)(t).toLowerCase()):0<=e.indexOf((0,af.default)(t))},of=cf(y.exports),af=cf(r.exports),sf=cf(d.exports),uf={ignoreCase:!1},s.exports=us.default,s.exports.default=us.default;var lf,df,i={exports:{}},xa=(aa=(m=i).exports,Object.defineProperty(aa,"__esModule",{value:!0}),aa.default=function(e,t,r){return(0,lf.default)(e),(t="[object RegExp]"!==Object.prototype.toString.call(t)?new RegExp(t,r):t).test(e)},lf=(b=y.exports)&&b.__esModule?b:{default:b},m.exports=aa.default,m.exports.default=aa.default,{exports:{}}),e={exports:{}};function ff(e){return(ff="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}v=(f=e).exports,Object.defineProperty(v,"__esModule",{value:!0}),v.default=function(e,t){(0,df.default)(e),t="object"===ff(t)?(r=t.min||0,t.max):(r=t,arguments[2]);var r,e=encodeURI(e).split(/%..|./).length-1;return r<=e&&(void 0===t||e<=t)},df=(s=y.exports)&&s.__esModule?s:{default:s},f.exports=v.default,f.exports.default=v.default;var pf,hf,gf,us={exports:{}};function mf(e){return e&&e.__esModule?e:{default:e}}m=(b=us).exports,Object.defineProperty(m,"__esModule",{value:!0}),m.default=function(e,t){(0,pf.default)(e);var e=(e=(t=(0,hf.default)(t,gf)).allow_trailing_dot&&"."===e[e.length-1]?e.substring(0,e.length-1):e).split("."),r=e[e.length-1];if(t.require_tld){if(e.length<2)return!1;if(!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(r))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(r))return!1}return!(!t.allow_numeric_tld&&/^\d+$/.test(r))&&e.every(function(e){return!(63<e.length||!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)||/[\uff01-\uff5e]/.test(e)||/^-|-$/.test(e)||!t.allow_underscores&&/_/.test(e))})},pf=mf(y.exports),hf=mf(d.exports),gf={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1},b.exports=m.default,b.exports.default=m.default;var vf,bf,yf,_f,wf,Af,xf,Ef,kf,Sf,Rf,Df,Tf,Of,Mf,aa={exports:{}};function If(e){return e&&e.__esModule?e:{default:e}}f=(s=aa).exports,Object.defineProperty(f,"__esModule",{value:!0}),f.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";return(0,Tf.default)(t),(r=String(r))?"4"===r?!!Of.test(t)&&t.split(".").sort(function(e,t){return e-t})[3]<=255:"6"===r&&!!Mf.test(t):e(t,4)||e(t,6)},Tf=(v=y.exports)&&v.__esModule?v:{default:v},v="(".concat(v="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])","[.]){3}").concat(v),Of=new RegExp("^".concat(v,"$")),b="(?:[0-9a-fA-F]{1,4})",Mf=new RegExp("^("+"(?:".concat(b,":){7}(?:").concat(b,"|:)|")+"(?:".concat(b,":){6}(?:").concat(v,"|:").concat(b,"|:)|")+"(?:".concat(b,":){5}(?::").concat(v,"|(:").concat(b,"){1,2}|:)|")+"(?:".concat(b,":){4}(?:(:").concat(b,"){0,1}:").concat(v,"|(:").concat(b,"){1,3}|:)|")+"(?:".concat(b,":){3}(?:(:").concat(b,"){0,2}:").concat(v,"|(:").concat(b,"){1,4}|:)|")+"(?:".concat(b,":){2}(?:(:").concat(b,"){0,3}:").concat(v,"|(:").concat(b,"){1,5}|:)|")+"(?:".concat(b,":){1}(?:(:").concat(b,"){0,4}:").concat(v,"|(:").concat(b,"){1,6}|:)|")+"(?::((?::".concat(b,"){0,5}:").concat(v,"|(?::").concat(b,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$"),s.exports=f.default,s.exports.default=f.default,v=(m=xa).exports,Object.defineProperty(v,"__esModule",{value:!0}),v.default=function(e,t){if((0,vf.default)(e),(t=(0,bf.default)(t,Af)).require_display_name||t.allow_display_name){var r=e.match(xf);if(r){r=r[1];if(e=e.replace(r,"").replace(/(^<|>$)/g,""),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(t.trim()){if(/[\.";<>]/.test(t)){if(t===e)return;if(t.split('"').length!==t.split('\\"').length)return}return 1}}(r=r.endsWith(" ")?r.substr(0,r.length-1):r))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&254<e.length)return!1;var r=e.split("@"),e=r.pop(),r=r.join("@"),n=e.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===n||"googlemail.com"===n)){n=(r=r.toLowerCase()).split("+")[0];if(!(0,yf.default)(n.replace(".",""),{min:6,max:30}))return!1;for(var o=n.split("."),i=0;i<o.length;i++)if(!kf.test(o[i]))return!1}if(!(!1!==t.ignore_max_length||(0,yf.default)(r,{max:64})&&(0,yf.default)(e,{max:254})))return!1;if(!(0,_f.default)(e,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,wf.default)(e)){if(!e.startsWith("[")||!e.endsWith("]"))return!1;n=e.substr(1,e.length-2);if(0===n.length||!(0,wf.default)(n))return!1}}if('"'===r[0])return r=r.slice(1,r.length-1),(t.allow_utf8_local_part?Df:Sf).test(r);for(var a=t.allow_utf8_local_part?Rf:Ef,s=r.split("."),u=0;u<s.length;u++)if(!a.test(s[u]))return!1;return!t.blacklisted_chars||-1===r.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g"))},vf=If(y.exports),bf=If(d.exports),yf=If(e.exports),_f=If(us.exports),wf=If(aa.exports),Af={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1},xf=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,Ef=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,kf=/^[a-z\d]+$/,Sf=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,Rf=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,Df=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,m.exports=v.default,m.exports.default=v.default;var Cf,Lf,Pf,jf,Bf,$f,b={exports:{}};function Uf(e){return e&&e.__esModule?e:{default:e}}function Nf(e,t){for(var r=0;r<t.length;r++){var n=t[r];if(e===n||function e(t){return"[object RegExp]"===Object.prototype.toString.call(t)}(n)&&n.test(e))return 1}}f=(s=b).exports,Object.defineProperty(f,"__esModule",{value:!0}),f.default=function(e,t){if((0,Cf.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,jf.default)(t,Bf)).validate_length&&2083<=e.length)return!1;var r,n=e.split("#");if(1<(n=(e=(n=(e=n.shift()).split("?")).shift()).split("://")).length){if(i=n.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(i))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;n[0]=e.substr(2)}}if(""===(e=n.join("://")))return!1;if(""===(e=(n=e.split("/")).shift())&&!t.require_host)return!0;if(1<(n=e.split("@")).length){if(t.disallow_auth)return!1;if(""===n[0]||":"===n[0].substr(0,1))return!1;if(0<=(i=n.shift()).indexOf(":")&&2<i.split(":").length)return!1}var o,e=null,i=null,a=(o=n.join("@")).match($f);if(a?(r="",i=a[1],e=a[2]||null):(r=(n=o.split(":")).shift(),n.length&&(e=n.join(":"))),null!==e){if(a=parseInt(e,10),!/^[0-9]+$/.test(e)||a<=0||65535<a)return!1}else if(t.require_port)return!1;return!!((0,Pf.default)(r)||(0,Lf.default)(r,t)||i&&(0,Pf.default)(i,6))&&(r=r||i,!(t.host_whitelist&&!Nf(r,t.host_whitelist))&&(!t.host_blacklist||!Nf(r,t.host_blacklist)))},Cf=Uf(y.exports),Lf=Uf(us.exports),Pf=Uf(aa.exports),jf=Uf(d.exports),Bf={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,validate_length:!0},$f=/^\[([^\]]+)\](?::([0-9]+))?$/,s.exports=f.default,s.exports.default=f.default;var Ff,Gf,zf,Zf,Hf,Kf,Wf,Vf,m={exports:{}},f=(s=(v=m).exports,Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e,t){return(0,Ff.default)(e),t&&(t.no_colons||t.no_separators)?zf.test(e):Gf.test(e)||Zf.test(e)},Ff=(f=y.exports)&&f.__esModule?f:{default:f},Gf=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,zf=/^([0-9a-fA-F]){12}$/,Zf=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,v.exports=s.default,v.exports.default=s.default,{exports:{}});function qf(e){return e&&e.__esModule?e:{default:e}}s=(v=f).exports,Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",r=((0,Hf.default)(e),e.split("/"));if(2!==r.length)return!1;if(!Wf.test(r[1]))return!1;if(1<r[1].length&&r[1].startsWith("0"))return!1;if(!(0,Kf.default)(r[0],t))return!1;var n=null;switch(String(t)){case"4":n=32;break;case"6":n=Vf;break;default:n=(0,Kf.default)(r[0],"6")?Vf:32}return r[1]<=n&&0<=r[1]},Hf=qf(y.exports),Kf=qf(aa.exports),Wf=/^\d{1,3}$/,Vf=128,v.exports=s.default,v.exports.default=s.default;var Yf,Qf,v={exports:{}};function Jf(e,t){if(e){if("string"==typeof e)return Xf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(r="Object"===r&&e.constructor?e.constructor.name:r)||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xf(e,t):void 0}}function Xf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Mp=(s=v).exports,Object.defineProperty(Mp,"__esModule",{value:!0}),Mp.default=function(t,r){if(r="string"==typeof r?(0,Yf.default)({format:r},Qf):(0,Yf.default)(r,Qf),"string"==typeof t&&(n=r.format,/(^(y{4}|y{2})[\/-](m{1,2})[\/-](d{1,2})$)|(^(m{1,2})[\/-](d{1,2})[\/-]((y{4}|y{2})$))|(^(d{1,2})[\/-](m{1,2})[\/-]((y{4}|y{2})$))/gi.test(n))){var e,n=r.delimiters.find(function(e){return-1!==r.format.indexOf(e)}),o=r.strictMode?n:r.delimiters.find(function(e){return-1!==t.indexOf(e)}),i={},a=function(e){var t,r,n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=Jf(e)))return t&&(e=t),r=0,{s:n=function(){},n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,a=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==t.return||t.return()}finally{if(a)throw o}}}}(function(e,t){for(var r=[],n=Math.min(e.length,t.length),o=0;o<n;o++)r.push([e[o],t[o]]);return r}(t.split(o),r.format.toLowerCase().split(n)));try{for(a.s();!(e=a.n()).done;){var s=function e(t,r){return function(e){if(Array.isArray(e))return e}(t)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(t,r)||Jf(t,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.")}()}(e.value,2),u=s[0],c=s[1];if(u.length!==c.length)return!1;i[c.charAt(0)]=u}}catch(t){a.e(t)}finally{a.f()}return new Date("".concat(i.m,"/").concat(i.d,"/").concat(i.y)).getDate()===+i.d}var n;return!r.strictMode&&("[object Date]"===Object.prototype.toString.call(t)&&isFinite(t))},Yf=(Sp=d.exports)&&Sp.__esModule?Sp:{default:Sp},Qf={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1},s.exports=Mp.default,s.exports.default=Mp.default;var ep,tp,rp,np,op,ip,ap,sp,up,cp,lp,dp,fp,pp,hp,gp,mp,vp,bp,yp,_p,wp,Ap,xp,Ep,kp,Sp={exports:{}},Rp=(Mp=(s=Sp).exports,Object.defineProperty(Mp,"__esModule",{value:!0}),Mp.default=function(e){return(0,ep.default)(e),0<=["true","false","1","0"].indexOf(e)},ep=(Rp=y.exports)&&Rp.__esModule?Rp:{default:Rp},s.exports=Mp.default,s.exports.default=Mp.default,{exports:{}}),Dp=(Mp=(s=Rp).exports,Object.defineProperty(Mp,"__esModule",{value:!0}),Mp.default=function(e){return(0,tp.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e||rp.test(e)},tp=(Dp=y.exports)&&Dp.__esModule?Dp:{default:Dp},rp=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/,s.exports=Mp.default,s.exports.default=Mp.default,{}),Tp=(Object.defineProperty(Dp,"__esModule",{value:!0}),Dp.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=((0,Tp.default)(e),r.ignore);if(r)if(r instanceof RegExp)e=e.replace(r,"");else{if("string"!=typeof r)throw new Error("ignore should be instance of a String or RegExp");e=e.replace(new RegExp("[".concat(r.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in Op.alpha)return Op.alpha[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},Dp.locales=void 0,(s=y.exports)&&s.__esModule?s:{default:s}),Op=c,Mp=Object.keys(Op.alpha),s=(Dp.locales=Mp,{}),Ip=(Object.defineProperty(s,"__esModule",{value:!0}),s.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},r=((0,Ip.default)(e),r.ignore);if(r)if(r instanceof RegExp)e=e.replace(r,"");else{if("string"!=typeof r)throw new Error("ignore should be instance of a String or RegExp");e=e.replace(new RegExp("[".concat(r.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in Cp.alphanumeric)return Cp.alphanumeric[t].test(e);throw new Error("Invalid locale '".concat(t,"'"))},s.locales=void 0,(Mp=y.exports)&&Mp.__esModule?Mp:{default:Mp}),Cp=c,Mp=Object.keys(Cp.alphanumeric),Mp=(s.locales=Mp,{exports:{}}),Lp=(_=(jp=Mp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e,t){return(0,np.default)(e),(t&&t.no_symbols?ip:new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?op.decimal[t.locale]:".","])?[0-9]+$"))).test(e)},np=(Lp=y.exports)&&Lp.__esModule?Lp:{default:Lp},op=c,ip=/^[0-9]+$/,jp.exports=_.default,jp.exports.default=_.default,{exports:{}}),Pp=(_=(jp=Lp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e,t){(0,ap.default)(e);e=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in sp&&sp[t].test(e)},ap=(Pp=y.exports)&&Pp.__esModule?Pp:{default:Pp},sp={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^[GE]\d{8}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PO:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{2}\d{2}\d{6}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/},jp.exports=_.default,jp.exports.default=_.default,{exports:{}}),jp={exports:{}},Bp=(Bp=(_=jp).exports,Object.defineProperty(Bp,"__esModule",{value:!0}),Bp.default=function(e,t){(0,cp.default)(e);var r=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?lp:dp,n=!t.hasOwnProperty("min")||e>=t.min,o=!t.hasOwnProperty("max")||e<=t.max,i=!t.hasOwnProperty("lt")||e<t.lt,t=!t.hasOwnProperty("gt")||e>t.gt;return r.test(e)&&n&&o&&i&&t},cp=(w=y.exports)&&w.__esModule?w:{default:w},lp=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,dp=/^[-+]?[0-9]+$/,_.exports=Bp.default,_.exports.default=Bp.default,_=(w=Pp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,up.default)(e,{min:0,max:65535})},up=(Bp=jp.exports)&&Bp.__esModule?Bp:{default:Bp},w.exports=_.default,w.exports.default=_.default,{exports:{}}),$p=(_=(w=Bp).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,fp.default)(e),e===e.toLowerCase()},fp=($p=y.exports)&&$p.__esModule?$p:{default:$p},w.exports=_.default,w.exports.default=_.default,{exports:{}}),Up=(_=(w=$p).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,pp.default)(e),e===e.toUpperCase()},pp=(Up=y.exports)&&Up.__esModule?Up:{default:Up},w.exports=_.default,w.exports.default=_.default,{exports:{}}),Np=(_=(w=Up).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e,t){(0,hp.default)(e);var r=gp;if(!(r=(t=t||{}).allow_hyphens?mp:r).test(e))return!1;e=e.replace(/-/g,"");for(var n=0,o=2,i=0;i<14;i++){var a=e.substring(14-i-1,14-i),a=parseInt(a,10)*o;n+=10<=a?a%10+1:a,1===o?o+=1:--o}return(10-n%10)%10===parseInt(e.substring(14,15),10)},hp=(Np=y.exports)&&Np.__esModule?Np:{default:Np},gp=/^[0-9]{15}$/,mp=/^\d{2}-\d{6}-\d{6}-\d{1}$/,w.exports=_.default,w.exports.default=_.default,{exports:{}}),Fp=(_=(w=Np).exports,Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,vp.default)(e),bp.test(e)},vp=(Fp=y.exports)&&Fp.__esModule?Fp:{default:Fp},bp=/^[\x00-\x7F]+$/,w.exports=_.default,w.exports.default=_.default,{}),Gp=(Object.defineProperty(Fp,"__esModule",{value:!0}),Fp.default=function(e){return(0,Gp.default)(e),zp.test(e)},Fp.fullWidth=void 0,(w=y.exports)&&w.__esModule?w:{default:w}),zp=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,_=(Fp.fullWidth=zp,{}),Zp=(Object.defineProperty(_,"__esModule",{value:!0}),_.default=function(e){return(0,Zp.default)(e),Hp.test(e)},_.halfWidth=void 0,(w=y.exports)&&w.__esModule?w:{default:w}),Hp=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/,w=(_.halfWidth=Hp,{exports:{}}),Kp=(x=(Vp=w).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,yp.default)(e),_p.fullWidth.test(e)&&wp.halfWidth.test(e)},yp=(Kp=y.exports)&&Kp.__esModule?Kp:{default:Kp},_p=Fp,wp=_,Vp.exports=x.default,Vp.exports.default=x.default,{exports:{}}),Wp=(x=(Vp=Kp).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,Ap.default)(e),xp.test(e)},Ap=(Wp=y.exports)&&Wp.__esModule?Wp:{default:Wp},xp=/[^\x00-\x7F]/,Vp.exports=x.default,Vp.exports.default=x.default,{exports:{}}),Vp={exports:{}};function qp(e){return e&&e.__esModule?e:{default:e}}E=(x=Vp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e,t){e=e.join("");return new RegExp(e,t)},x.exports=E.default,x.exports.default=E.default,E=(x=Wp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return(0,Ep.default)(e),kp.test(e)},Ep=qp(y.exports),kp=(0,qp(Vp.exports).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i"),x.exports=E.default,x.exports.default=E.default;var Yp,Qp,Jp,Xp,eh,th,rh,nh,Vp={exports:{}},oh=(E=(x=Vp).exports,Object.defineProperty(E,"__esModule",{value:!0}),E.default=function(e){return(0,Yp.default)(e),Qp.test(e)},Yp=(oh=y.exports)&&oh.__esModule?oh:{default:oh},Qp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/,x.exports=E.default,x.exports.default=E.default,{exports:{}}),x={exports:{}},E=x,k=x.exports;function ih(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(k,"__esModule",{value:!0}),k.default=void 0,k.default=function(e,t){return e.some(function(e){return t===e})},E.exports=k.default,E.exports.default=k.default,k=(E=oh).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){if((0,Xp.default)(e),(t=(0,Jp.default)(t,rh)).locale in th.decimal)return!(0,eh.default)(nh,e.replace(/ /g,""))&&(r=t,new RegExp("^[-+]?([0-9]+)?(\\".concat(th.decimal[r.locale],"[0-9]{").concat(r.decimal_digits,"})").concat(r.force_decimal?"":"?","$")).test(e));var r;throw new Error("Invalid locale '".concat(t.locale,"'"))},Jp=ih(d.exports),Xp=ih(y.exports),eh=ih(x.exports),th=c,rh={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},nh=["","-","+"],E.exports=k.default,E.exports.default=k.default;var ah,sh,uh,ch,lh,dh,c={exports:{}},fh=(k=(E=c).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){return(0,ah.default)(e),sh.test(e)},ah=(fh=y.exports)&&fh.__esModule?fh:{default:fh},sh=/^(0x|0h)?[0-9A-F]+$/i,E.exports=k.default,E.exports.default=k.default,{exports:{}}),ph=(k=(E=fh).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){return(0,uh.default)(e),ch.test(e)},uh=(ph=y.exports)&&ph.__esModule?ph:{default:ph},ch=/^(0o)?[0-7]+$/i,E.exports=k.default,E.exports.default=k.default,{exports:{}});function hh(e){return e&&e.__esModule?e:{default:e}}k=(E=ph).exports,Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e,t){return(0,lh.default)(e),(0,dh.default)(e)%parseInt(t,10)==0},lh=hh(y.exports),dh=hh(ps.exports),E.exports=k.default,E.exports.default=k.default;var gh,mh,vh,bh,yh,_h,wh,Ah,xh,Eh,kh,Sh,Rh,Dh,Th,Oh,Mh,Ih,Ch,Lh,Ph,jh,Bh,$h,Uh,Nh,Fh,Gh,E={exports:{}},zh=(S=(k=E).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){return(0,gh.default)(e),mh.test(e)},gh=(zh=y.exports)&&zh.__esModule?zh:{default:zh},mh=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i,k.exports=S.default,k.exports.default=S.default,{exports:{}}),Zh=(S=(k=zh).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];return(0,vh.default)(e),t?bh.test(e)||yh.test(e)||_h.test(e)||wh.test(e):bh.test(e)||yh.test(e)},vh=(Zh=y.exports)&&Zh.__esModule?Zh:{default:Zh},bh=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,yh=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,_h=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,wh=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/,k.exports=S.default,k.exports.default=S.default,{exports:{}}),Hh=(S=(k=Zh).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){(0,Ah.default)(e);e=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");return(-1!==e.indexOf(",")?xh:Eh).test(e)},Ah=(Hh=y.exports)&&Hh.__esModule?Hh:{default:Hh},xh=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,Eh=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i,k.exports=S.default,k.exports.default=S.default,{exports:{}}),Kh=(S=(k=Hh).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){return(0,kh.default)(e),Sh.test(e)},kh=(Kh=y.exports)&&Kh.__esModule?Kh:{default:Kh},Sh=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/,k.exports=S.default,k.exports.default=S.default,{exports:{}}),Wh=(S=(k=Kh).exports,Object.defineProperty(S,"__esModule",{value:!0}),S.default=function(e){return(0,Rh.default)(e),t=e.replace(/[\s\-]+/gi,"").toUpperCase(),(r=t.slice(0,2).toUpperCase())in Dh&&Dh[r].test(t)&&1===((r=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase()).slice(4)+r.slice(0,4)).replace(/[A-Z]/g,function(e){return e.charCodeAt(0)-55}).match(/\d{1,7}/g).reduce(function(e,t){return Number(e+t)%97},"");var t,r},Rh=(Wh=y.exports)&&Wh.__esModule?Wh:{default:Wh},Dh={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/},k.exports=S.default,k.exports.default=S.default,{exports:{}}),k={},Vh=(Object.defineProperty(k,"__esModule",{value:!0}),k.default=function(e){return(0,Vh.default)(e),0<=qh.indexOf(e.toUpperCase())},k.CountryCodes=void 0,(S=y.exports)&&S.__esModule?S:{default:S}),qh=["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],Yh=(k.CountryCodes=qh,R=(S=Wh).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,Th.default)(e),!(Oh.CountryCodes.indexOf(e.slice(4,6).toUpperCase())<0)&&Mh.test(e)},Th=(Yh=y.exports)&&Yh.__esModule?Yh:{default:Yh},Oh=k,Mh=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/,S.exports=R.default,S.exports.default=R.default,{exports:{}}),Qh=(R=(S=Yh).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e){return(0,Ih.default)(e),Ch.test(e)},Ih=(Qh=y.exports)&&Qh.__esModule?Qh:{default:Qh},Ch=/^[a-f0-9]{32}$/,S.exports=R.default,S.exports.default=R.default,{exports:{}}),Jh=(R=(S=Qh).exports,Object.defineProperty(R,"__esModule",{value:!0}),R.default=function(e,t){return(0,Lh.default)(e),new RegExp("^[a-fA-F0-9]{".concat(Ph[t],"}$")).test(e)},Lh=(Jh=y.exports)&&Jh.__esModule?Jh:{default:Jh},Ph={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8},S.exports=R.default,S.exports.default=R.default,{exports:{}}),S={exports:{}};function Xh(e){return e&&e.__esModule?e:{default:e}}function eg(e){return e&&e.__esModule?e:{default:e}}cg=(R=S).exports,Object.defineProperty(cg,"__esModule",{value:!0}),cg.default=function(e,t){(0,$h.default)(e),t=(0,Uh.default)(t,Gh);var r=e.length;if(t.urlSafe)return Fh.test(e);if(r%4!=0||Nh.test(e))return!1;t=e.indexOf("=");return-1===t||t===r-1||t===r-2&&"="===e[r-1]},$h=eg(y.exports),Uh=eg(d.exports),Nh=/[^A-Z0-9+\/=]/i,Gh={urlSafe:!(Fh=/^[A-Z0-9_\-]*$/i)},R.exports=cg.default,R.exports.default=cg.default,cg=(R=Jh).exports,Object.defineProperty(cg,"__esModule",{value:!0}),cg.default=function(e){(0,jh.default)(e);var e=e.split("."),t=e.length;return!(3<t||t<2)&&e.reduce(function(e,t){return e&&(0,Bh.default)(t,{urlSafe:!0})},!0)},jh=Xh(y.exports),Bh=Xh(S.exports),R.exports=cg.default,R.exports.default=cg.default;var tg,rg,ng,R={exports:{}};function og(e){return e&&e.__esModule?e:{default:e}}function ig(e){return(ig="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}fg=(cg=R).exports,Object.defineProperty(fg,"__esModule",{value:!0}),fg.default=function(e,t){(0,tg.default)(e);try{t=(0,rg.default)(t,ng);var r=[],n=(t.allow_primitives&&(r=[null,!1,!0]),JSON.parse(e));return r.includes(n)||!!n&&"object"===ig(n)}catch(e){}return!1},tg=og(y.exports),rg=og(d.exports),ng={allow_primitives:!1},cg.exports=fg.default,cg.exports.default=fg.default;var ag,sg,ug,cg={exports:{}};function lg(e){return e&&e.__esModule?e:{default:e}}xg=(fg=cg).exports,Object.defineProperty(xg,"__esModule",{value:!0}),xg.default=function(e,t){return(0,ag.default)(e),0===((t=(0,sg.default)(t,ug)).ignore_whitespace?e.trim():e).length},ag=lg(y.exports),sg=lg(d.exports),ug={ignore_whitespace:!1},fg.exports=xg.default,fg.exports.default=xg.default;var dg,fg={exports:{}};function pg(e){return(pg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Rg=(xg=fg).exports,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.default=function(e,t){(0,dg.default)(e),t="object"===pg(t)?(r=t.min||0,t.max):(r=t||0,arguments[2]);var r,n=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],e=e.length-n.length;return r<=e&&(void 0===t||e<=t)},dg=(bg=y.exports)&&bg.__esModule?bg:{default:bg},xg.exports=Rg.default,xg.exports.default=Rg.default;var hg,gg,mg,vg,bg={exports:{}},yg=(Rg=(xg=bg).exports,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"all",t=((0,hg.default)(e),gg[t]);return t&&t.test(e)},hg=(yg=y.exports)&&yg.__esModule?yg:{default:yg},gg={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i},xg.exports=Rg.default,xg.exports.default=Rg.default,{exports:{}});function _g(e){return e&&e.__esModule?e:{default:e}}Rg=(xg=yg).exports,Object.defineProperty(Rg,"__esModule",{value:!0}),Rg.default=function(e){return(0,mg.default)(e),(0,vg.default)(e)&&24===e.length},mg=_g(y.exports),vg=_g(c.exports),xg.exports=Rg.default,xg.exports.default=Rg.default;var wg,Ag,xg={exports:{}};function Eg(e){return e&&e.__esModule?e:{default:e}}Mg=(Rg=xg).exports,Object.defineProperty(Mg,"__esModule",{value:!0}),Mg.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date),t=((0,wg.default)(e),(0,Ag.default)(t)),e=(0,Ag.default)(e);return!!(e&&t&&t<e)},wg=Eg(y.exports),Ag=Eg(l.exports),Rg.exports=Mg.default,Rg.exports.default=Mg.default;var kg,Sg,Rg={exports:{}};function Dg(e){return e&&e.__esModule?e:{default:e}}D=(Mg=Rg).exports,Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:String(new Date),t=((0,kg.default)(e),(0,Sg.default)(t)),e=(0,Sg.default)(e);return!!(e&&t&&e<t)},kg=Dg(y.exports),Sg=Dg(l.exports),Mg.exports=D.default,Mg.exports.default=D.default;var Tg,Og,Mg={exports:{}};function Ig(e){return e&&e.__esModule?e:{default:e}}function Cg(e){return(Cg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}T=(D=Mg).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){if((0,Tg.default)(e),"[object Array]"!==Object.prototype.toString.call(t))return"object"===Cg(t)?t.hasOwnProperty(e):!(!t||"function"!=typeof t.indexOf)&&0<=t.indexOf(e);var r=[];for(var n in t)!{}.hasOwnProperty.call(t,n)||(r[n]=(0,Og.default)(t[n]));return 0<=r.indexOf(e)},Tg=Ig(y.exports),Og=Ig(r.exports),D.exports=T.default,D.exports.default=T.default;var Lg,Pg,jg,Bg,$g,Ug,Ng,Fg,Gg,zg,Zg,Hg,Kg,Wg,Vg,qg,Yg,Qg,Jg,Xg,em,r={exports:{}},tm=(T=(D=r).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){(0,Lg.default)(e);var t=e.replace(/[- ]+/g,"");if(!Pg.test(t))return!1;for(var r,n,o=0,i=t.length-1;0<=i;i--)r=t.substring(i,i+1),r=parseInt(r,10),o+=n&&10<=(r*=2)?r%10+1:r,n=!n;return!(o%10!=0||!t)},Lg=(tm=y.exports)&&tm.__esModule?tm:{default:tm},Pg=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/,D.exports=T.default,D.exports.default=T.default,{exports:{}}),rm=(T=(D=tm).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e,t){if((0,jg.default)(e),t in Bg)return Bg[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in Bg)if(Bg.hasOwnProperty(r)&&(0,Bg[r])(e))return!0;return!1},jg=(rm=y.exports)&&rm.__esModule?rm:{default:rm},Bg={ES:function(e){(0,jg.default)(e);var t={X:0,Y:1,Z:2},e=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(e))return!1;var r=e.slice(0,-1).replace(/[X,Y,Z]/g,function(e){return t[e]});return e.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][r%23])},IN:function(e){var r=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],e=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(e))return!1;var o=0;return e.replace(/\s/g,"").split("").map(Number).reverse().forEach(function(e,t){o=r[o][n[t%8][e]]}),0===o},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).substr(e.length-6),0===parseInt(e.substr(3,6),10))return!1;for(var t=parseInt(e.substr(9,1),10),r=0,n=0;n<9;n++)r+=parseInt(e.substr(n,1),10)*(10-n);return(r%=11)<2&&t===r||2<=r&&t===11-r},IT:function(e){return 9===e.length&&"CA00000AA"!==e&&-1<e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)},NO:function(e){e=e.trim();if(isNaN(Number(e)))return!1;if(11!==e.length)return!1;if("00000000000"===e)return!1;var e=e.split("").map(Number),t=(11-(3*e[0]+7*e[1]+6*e[2]+ +e[3]+8*e[4]+9*e[5]+4*e[6]+5*e[7]+2*e[8])%11)%11,r=(11-(5*e[0]+4*e[1]+3*e[2]+2*e[3]+7*e[4]+6*e[5]+5*e[6]+4*e[7]+3*e[8]+2*t)%11)%11;return t===e[9]&&r===e[10]},"he-IL":function(e){e=e.trim();if(!/^\d{9}$/.test(e))return!1;for(var t,r=e,n=0,o=0;o<r.length;o++)n+=9<(t=Number(r[o])*(o%2+1))?t-9:t;return n%10==0},"ar-LY":function(e){e=e.trim();return!!/^(1|2)\d{11}$/.test(e)},"ar-TN":function(e){e=e.trim();return!!/^\d{8}$/.test(e)},"zh-CN":function(e){function o(e){return t.includes(e)}function i(e){var t=parseInt(e.substring(0,4),10),r=parseInt(e.substring(4,6),10),e=parseInt(e.substring(6),10),n=new Date(t,r-1,e);return!(n>new Date)&&n.getFullYear()===t&&n.getMonth()===r-1&&n.getDate()===e}var t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],a=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],s=["1","0","X","9","8","7","6","5","4","3","2"];return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(e=e)&&(15===e.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var r=e.substring(0,2);if(!(t=o(r)))return!1;r="19".concat(e.substring(6,12));return!!i(r)}:function(e){if(!/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e))return!1;var t=e.substring(0,2);if(!o(t))return!1;var n,t=e.substring(6,14);return!!i(t)&&(n=e,function(){for(var e=n.substring(0,17),t=0,r=0;r<17;r++)t+=parseInt(e.charAt(r),10)*parseInt(a[r],10);return s[t%11]}()===n.charAt(17).toUpperCase())})(e)},"zh-TW":function(e){var o={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},e=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(e)&&Array.from(e).reduce(function(e,t,r){var n;return 0===r?(n=o[t])%10*9+Math.floor(n/10):9===r?(10-e%10-Number(t))%10==0:e+Number(t)*(9-r)},0)}},D.exports=T.default,D.exports.default=T.default,{exports:{}}),nm=(T=(D=rm).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){(0,$g.default)(e);var r,t=Number(e.slice(-1));return Ug.test(e)&&t===((t=10-(r=e).slice(0,-1).split("").map(function(e,t){return Number(e)*(8===(e=r.length)||14===e?t%2==0?3:1:t%2==0?1:3)}).reduce(function(e,t){return e+t},0)%10)<10?t:0)},$g=(nm=y.exports)&&nm.__esModule?nm:{default:nm},Ug=/^(\d{8}|\d{13}|\d{14})$/,D.exports=T.default,D.exports.default=T.default,{exports:{}}),om=(T=(D=nm).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){if((0,Ng.default)(e),!Fg.test(e))return!1;for(var t=!0,r=0,n=e.length-2;0<=n;n--)if("A"<=e[n]&&e[n]<="Z")for(var o=e[n].charCodeAt(0)-55,i=0,a=[o%10,Math.trunc(o/10)];i<a.length;i++){var s=a[i];r+=t?5<=s?1+2*(s-5):2*s:s,t=!t}else{o=e[n].charCodeAt(0)-"0".charCodeAt(0);r+=t?5<=o?1+2*(o-5):2*o:o,t=!t}var u=10*Math.trunc((r+9)/10)-r;return+e[e.length-1]==u},Ng=(om=y.exports)&&om.__esModule?om:{default:om},Fg=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/,D.exports=T.default,D.exports.default=T.default,{exports:{}}),im=(T=(D=om).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function e(t){var r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"";if((0,Gg.default)(t),!(r=String(r)))return e(t,10)||e(t,13);var n,o=t.replace(/[\s-]+/g,""),i=0;if("10"===r){if(!zg.test(o))return!1;for(n=0;n<9;n++)i+=(n+1)*o.charAt(n);if("X"===o.charAt(9)?i+=100:i+=10*o.charAt(9),i%11==0)return!!o}else if("13"===r){if(!Zg.test(o))return!1;for(n=0;n<12;n++)i+=Hg[n%2]*o.charAt(n);if(o.charAt(12)-(10-i%10)%10==0)return!!o}return!1},Gg=(im=y.exports)&&im.__esModule?im:{default:im},zg=/^(?:[0-9]{9}X|[0-9]{10})$/,Zg=/^(?:[0-9]{13})$/,Hg=[1,3],D.exports=T.default,D.exports.default=T.default,{exports:{}}),am=(T=(D=im).exports,Object.defineProperty(T,"__esModule",{value:!0}),T.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,Kg.default)(e),Wg),r=t.require_hyphen?r.replace("?",""):r;if(!(r=t.case_sensitive?new RegExp(r):new RegExp(r,"i")).test(e))return!1;for(var n=e.replace("-","").toUpperCase(),o=0,i=0;i<n.length;i++){var a=n[i];o+=("X"===a?10:+a)*(8-i)}return o%11==0},Kg=(am=y.exports)&&am.__esModule?am:{default:am},Wg="^\\d{4}-?\\d{3}[\\dX]$",D.exports=T.default,D.exports.default=T.default,{exports:{}}),D={};function sm(e){return(sm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function um(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return um=function(){return e},e}function cm(e){return e&&e.__esModule?e:{default:e}}function lm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dm(e){for(var t=!1,r=!1,n=0;n<3;n++)if(!t&&/[AEIOU]/.test(e[n]))t=!0;else if(!r&&t&&"X"===e[n])r=!0;else if(0<n){if(t&&!r&&!/[AEIOU]/.test(e[n]))return;if(r&&!/X/.test(e[n]))return}return 1}Object.defineProperty(D,"__esModule",{value:!0}),D.iso7064Check=function(e){for(var t=10,r=0;r<e.length-1;r++)t=(parseInt(e[r],10)+t)%10==0?9:(parseInt(e[r],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},D.luhnCheck=function(e){for(var t,r=0,n=!1,o=e.length-1;0<=o;o--)r+=n?9<(t=2*parseInt(e[o],10))?t.toString().split("").map(function(e){return parseInt(e,10)}).reduce(function(e,t){return e+t},0):t:parseInt(e[o],10),n=!n;return r%10==0},D.reverseMultiplyAndSum=function(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*(t-n);return r},D.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],r=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],n=e.split("").reverse().join(""),o=0,i=0;i<n.length;i++)o=t[o][r[i%8][parseInt(n[i],10)]];return 0===o},ym=(T=am).exports,Object.defineProperty(ym,"__esModule",{value:!0}),ym.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"en-US",e=((0,Vg.default)(e),e.slice(0));if(t in Jg)return t in em&&(e=e.replace(em[t],"")),!!Jg[t].test(e)&&(!(t in Xg)||Xg[t](e));throw new Error("Invalid locale '".concat(t,"'"))},Vg=cm(y.exports),qg=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==sm(e)&&"function"!=typeof e)return{default:e};var t=um();if(t&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}(D),Yg=cm(v.exports),Qg={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]},(Jg={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/^\d{11,14}$/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/})["lb-LU"]=Jg["fr-LU"],Jg["lt-LT"]=Jg["et-EE"],Jg["nl-BE"]=Jg["fr-BE"],(Xg={"bg-BG":function(e){var t=e.slice(0,2),r=parseInt(e.slice(2,4),10),t=40<r?(r-=40,"20".concat(t)):20<r?(r-=20,"18".concat(t)):"19".concat(t),t=(r<10&&(r="0".concat(r)),"".concat(t,"/").concat(r,"/").concat(e.slice(4,6)));if(!(0,Yg.default)(t,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=[2,4,8,5,10,9,7,3,6],i=0,a=0;a<o.length;a++)i+=n[a]*o[a];return(i=i%11==10?0:i%11)===n[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=(t<54?"20":"19").concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r=parseInt(e.slice(2,4),10);if(50<r&&(r-=50),20<r){if(parseInt(t,10)<2004)return!1;r-=20}r<10&&(r="0".concat(r));r="".concat(t,"/").concat(r,"/").concat(e.slice(4,6));if(!(0,Yg.default)(r,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){r=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10==r))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return qg.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=[],n=0;n<t.length-1;n++){r.push("");for(var o=0;o<t.length-1;o++)t[n]===t[o]&&(r[n]+=o)}if(2!==(r=r.filter(function(e){return 1<e.length})).length&&3!==r.length)return!1;if(3===r[0].length){for(var i=r[0].split("").map(function(e){return parseInt(e,10)}),a=0,s=0;s<i.length-1;s++)i[s]+1===i[s+1]&&(a+=1);if(2===a)return!1}return qg.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=(t<37?"20":"19").concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(58<t))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,Yg.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=0,i=4,a=0;a<9;a++)o+=n[a]*i,1==--i&&(i=7);return 1!=(o%=11)&&(0===o?0===n[9]:n[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map(function(e){return parseInt(e,10)}),r=0,n=1;n<t.length;n+=2)r+=t[n];for(var o=0;o<t.length;o+=2)t[o]<2?r+=1-t[o]:(r+=2*(t[o]-2)+5,4<t[o]&&(r+=2));return String.fromCharCode(r%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=0,n=0;n<8;n++)r+=t[n]*Math.pow(2,8-n);return r%11%10===t[8]},"en-IE":function(e){var t=qg.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0==(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e,t=[];for(e in Qg)Qg.hasOwnProperty(e)&&t.push.apply(t,function e(t){return function(e){if(Array.isArray(e))return lm(e)}(t)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(t)||function(e){if(e){if("string"==typeof e)return lm(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lm(e,void 0):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.")}()}(Qg[e]));return t}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&1<t.length){var r=0;switch(t[0]){case"Y":r=1;break;case"Z":r=2}t.splice(0,1,r)}else for(;t.length<9;)t.unshift(0);t=t.join(""),e=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][e]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,Yg.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=0,i=1,a=0;a<10;a++)o+=n[a]*i,10===(i+=1)&&(i=1);if(o%11==10){for(var o=0,i=3,s=0;s<10;s++)o+=n[s]*i,10===(i+=1)&&(i=1);if(o%11==10)return 0===n[10]}return o%11===n[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,Yg.default)(r,"YYYY/MM/DD"))return!1;r=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return r<10?r===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][r-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,Yg.default)(t,"YY/MM/DD"))return!1}var t=97-parseInt(e.slice(0,9),10)%97,r=parseInt(e.slice(9,11),10);return t===r||97-parseInt("2".concat(e.slice(0,9)),10)%97===r},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,Yg.default)(t,"YYYY/MM/DD")&&!!qg.luhnCheck(e.slice(0,12))&&qg.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12]))},"hr-HR":function(e){return qg.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map(function(e){return parseInt(e,10)}),r=8,n=1;n<9;n++)r+=t[n]*(n+1);return r%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!dm(t.slice(0,3)))return!1;if(!dm(t.slice(3,6)))return!1;for(var r={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},n=0,o=[6,7,9,10,12,13,14];n<o.length;n++){var i=o[n];t[i]in r&&t.splice(i,1,r[t[i]])}var e={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],a=parseInt(t[9]+t[10],10),e=(40<a&&(a-=40),a<10&&(a="0".concat(a)),"".concat(t[6]).concat(t[7],"/").concat(e,"/").concat(a));if(!(0,Yg.default)(e,"YY/MM/DD"))return!1;for(var s=0,u=1;u<t.length-1;u+=2){var c=parseInt(t[u],10);s+=c=isNaN(c)?t[u].charCodeAt(0)-65:c}for(var l={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},d=0;d<t.length-1;d+=2){var f,p=0;t[d]in l?p=l[t[d]]:(p=2*(f=parseInt(t[d],10))+1,4<f&&(p+=2)),s+=p}return String.fromCharCode(65+s%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"===t)return!0;if("00"!==e.slice(2,4)){var r=e.slice(4,6);switch(e[6]){case"0":r="18".concat(r);break;case"1":r="19".concat(r);break;default:r="20".concat(r)}t="".concat(r,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,Yg.default)(t,"YYYY/MM/DD"))return!1}for(var n=1101,o=[1,6,3,7,9,10,5,8,4,2],i=0;i<e.length-1;i++)n-=parseInt(e[i],10)*o[i];return parseInt(e[10],10)===n%11},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var r=parseInt(t.join("").slice(0,5),10);if(32e3<r)return!1;if(r===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return qg.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],r=0,n=0;n<t.length;n++)r+=parseInt(e[n],10)*t[n];return 10!=(r%=11)&&r===parseInt(e[9],10)}var o=e.slice(0,2),i=parseInt(e.slice(2,4),10),o=(80<i?(o="18".concat(o),i-=80):60<i?(o="22".concat(o),i-=60):40<i?(o="21".concat(o),i-=40):20<i?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i)),"".concat(o,"/").concat(i,"/").concat(e.slice(4,6)));if(!(0,Yg.default)(o,"YYYY/MM/DD"))return!1;for(var a=0,s=1,u=0;u<e.length-1;u++)a+=parseInt(e[u],10)*s%10,10<(s+=2)?s=1:5===s&&(s+=2);return(a=10-a%10)===parseInt(e[10],10)},"pt-BR":function(e){if(""===(e=e.replace(/[^\d]+/g,"")))return!1;if(11===e.length){var t=0;if("11111111111"===(e=e.replace(/[^\d]+/g,""))||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);if((a=10!=(a=10*t%11)&&11!==a?a:0)!==parseInt(e.substring(9,10),10))return!1;t=0;for(var n=1;n<=10;n++)t+=parseInt(e.substring(n-1,n),10)*(12-n);return(a=10!=(a=10*t%11)&&11!==a?a:0)===parseInt(e.substring(10,11),10)}if(14!==e.length)return!1;if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var o=e.length-2,i=e.substring(0,o),a=e.substring(o),s=0,u=o-7,c=o;1<=c;c--)s+=i.charAt(o-c)*u,--u<2&&(u=9);if((s%11<2?0:11-s%11)!==parseInt(a.charAt(0),10))return!1;for(var i=e.substring(0,o+=1),s=0,u=o-7,l=o;1<=l;l--)s+=i.charAt(o-l)*u,--u<2&&(u=9);return(s%11<2?0:11-s%11)===parseInt(a.charAt(1),10)},"pt-PT":function(e){var t=11-qg.reverseMultiplyAndSum(e.split("").slice(0,8).map(function(e){return parseInt(e,10)}),9)%11;return 9<t?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"===e.slice(0,4))return!0;var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var r="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===r.length){if(!(0,Yg.default)(r,"YY/MM/DD"))return!1}else if(!(0,Yg.default)(r,"YYYY/MM/DD"))return!1;for(var n=e.split("").map(function(e){return parseInt(e,10)}),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,a=0;a<o.length;a++)i+=n[a]*o[a];return i%11==10?1===n[12]:n[12]===i%11},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;if(53<(t=parseInt(e.slice(0,2),10)))return!1;var t=(t<10?"190":"19").concat(t),r=parseInt(e.slice(2,4),10),t=(50<r&&(r-=50),r<10&&(r="0".concat(r)),"".concat(t,"/").concat(r,"/").concat(e.slice(4,6)));if(!(0,Yg.default)(t,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-qg.reverseMultiplyAndSum(e.split("").slice(0,7).map(function(e){return parseInt(e,10)}),8)%11;return 10==t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0),r="",n=(t=11<e.length?t.slice(2):t).slice(2,4),t=parseInt(t.slice(4,6),10);if(11<e.length)r=e.slice(0,4);else if(r=e.slice(0,2),11===e.length&&t<60){var o=(new Date).getFullYear().toString(),i=parseInt(o.slice(0,2),10),o=parseInt(o,10);if("-"===e[6])r=(parseInt("".concat(i).concat(r),10)>o?"".concat(i-1):"".concat(i)).concat(r);else if(r="".concat(i-1).concat(r),o-parseInt(r,10)<100)return!1}60<t&&(t-=60),t<10&&(t="0".concat(t));i="".concat(r,"/").concat(n,"/").concat(t);if(8===i.length){if(!(0,Yg.default)(i,"YY/MM/DD"))return!1}else if(!(0,Yg.default)(i,"YYYY/MM/DD"))return!1;return qg.luhnCheck(e.replace(/\W/,""))}})["lb-LU"]=Xg["fr-LU"],Xg["lt-LT"]=Xg["et-EE"],Xg["nl-BE"]=Xg["fr-BE"],(em={"de-AT":D=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,"de-DE":/[\/\\]/g,"fr-BE":D})["nl-BE"]=em["fr-BE"],T.exports=ym.default,T.exports.default=ym.default;var fm,pm,hm,gm,mm,D={},vm=(Object.defineProperty(D,"__esModule",{value:!0}),D.default=function(t,e,r){if((0,vm.default)(t),r&&r.strictMode&&!t.startsWith("+"))return!1;if(Array.isArray(e))return e.some(function(e){return!(!bm.hasOwnProperty(e)||!bm[e].test(t))});if(e in bm)return bm[e].test(t);if(e&&"any"!==e)throw new Error("Invalid locale '".concat(e,"'"));for(var n in bm)if(bm.hasOwnProperty(n)&&bm[n].test(t))return!0;return!1},D.locales=void 0,(T=y.exports)&&T.__esModule?T:{default:T}),bm={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^(\+49)?0?[1|3]([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((\+92)|(0092))-{0,1}\d{3}-{0,1}\d{7}$|^\d{11}$|^\d{4}-\d{7}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36)(20|30|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4?\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|5|6|7|8)( |-)?\d)\d{6}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^(\+?84|0)((3([2-9]))|(5([2689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?1([3456789][0-9]|4[579]|6[67]|7[01235678]|9[012356789])[0-9]{8}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/},ym=(bm["en-CA"]=bm["en-US"],bm["fr-CA"]=bm["en-CA"],bm["fr-BE"]=bm["nl-BE"],bm["zh-HK"]=bm["en-HK"],bm["zh-MO"]=bm["en-MO"],bm["ga-IE"]=bm["en-IE"],bm["fr-CH"]=bm["de-CH"],bm["it-CH"]=bm["fr-CH"],Object.keys(bm)),T=(D.locales=ym,{exports:{}}),_m=(iv=(ym=T).exports,Object.defineProperty(iv,"__esModule",{value:!0}),iv.default=function(e){return(0,fm.default)(e),pm.test(e)},fm=(_m=y.exports)&&_m.__esModule?_m:{default:_m},pm=/^(0x)[0-9a-f]{40}$/i,ym.exports=iv.default,ym.exports.default=iv.default,{exports:{}});function wm(e){return e&&e.__esModule?e:{default:e}}iv=(ym=_m).exports,Object.defineProperty(iv,"__esModule",{value:!0}),iv.default=function(e,t){return(0,gm.default)(e),t=t=(0,hm.default)(t,mm),r="\\d{".concat(t.digits_after_decimal[0],"}"),t.digits_after_decimal.forEach(function(e,t){0!==t&&(r="".concat(r,"|\\d{").concat(e,"}"))}),n="(".concat(t.symbol.replace(/\W/,function(e){return"\\".concat(e)}),")").concat(t.require_symbol?"":"?"),o="[1-9]\\d{0,2}(\\".concat(t.thousands_separator,"\\d{3})*"),o="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),i="(\\".concat(t.decimal_separator,"(").concat(r,"))").concat(t.require_decimal?"":"?"),o+=t.allow_decimal||t.require_decimal?i:"",t.allow_negatives&&!t.parens_for_negatives&&(t.negative_sign_after_digits?o+="-?":t.negative_sign_before_digits&&(o="-?"+o)),t.allow_negative_sign_placeholder?o="( (?!\\-))?".concat(o):t.allow_space_after_symbol?o=" ?".concat(o):t.allow_space_after_digits&&(o+="( (?!$))?"),t.symbol_after_digits?o+=n:o=n+o,t.allow_negatives&&(t.parens_for_negatives?o="(\\(".concat(o,"\\)|").concat(o,")"):t.negative_sign_before_digits||t.negative_sign_after_digits||(o="-?"+o)),new RegExp("^(?!-? )(?=.*\\d)".concat(o,"$")).test(e);var r,n,o,i},hm=wm(d.exports),gm=wm(y.exports),mm={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1},ym.exports=iv.default,ym.exports.default=iv.default;var Am,xm,Em,km,Sm,Rm,Dm,Tm,Om,Mm,Im,Cm,ym={exports:{}},Lm=(M=(iv=ym).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,Am.default)(e),(e.startsWith("bc1")?xm:Em).test(e)},Am=(Lm=y.exports)&&Lm.__esModule?Lm:{default:Lm},xm=/^(bc1)[a-z0-9]{25,39}$/,Em=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/,iv.exports=M.default,iv.exports.default=M.default,{exports:{}}),Pm=(M=(iv=Lm).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=((0,km.default)(e),(t.strictSeparator?Rm:Sm).test(e));return r&&t.strict?Dm(e):r},km=(Pm=y.exports)&&Pm.__esModule?Pm:{default:Pm},Sm=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,Rm=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,Dm=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t)return r=Number(t[1]),t=Number(t[2]),r%4==0&&r%100!=0||r%400==0?t<=366:t<=365;var r=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),t=r[1],e=r[2],r=r[3],n=e&&"0".concat(e).slice(-2),o=r&&"0".concat(r).slice(-2),n=new Date("".concat(t,"-").concat(n||"01","-").concat(o||"01"));return!e||!r||n.getUTCFullYear()===t&&n.getUTCMonth()+1===e&&n.getUTCDate()===r},iv.exports=M.default,iv.exports.default=M.default,{exports:{}}),jm=(M=(iv=Pm).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,Tm.default)(e),Om.test(e)},Tm=(av=y.exports)&&av.__esModule?av:{default:av},av=/([01][0-9]|2[0-3])/,O=/[0-5][0-9]/,jm=new RegExp("[-+]".concat(av.source,":").concat(O.source)),jm=new RegExp("([zZ]|".concat(jm.source,")")),av=new RegExp("".concat(av.source,":").concat(O.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),O=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),av=new RegExp("".concat(av.source).concat(jm.source)),Om=new RegExp("".concat(O.source,"[ tT]").concat(av.source)),iv.exports=M.default,iv.exports.default=M.default,{exports:{}});function Bm(e){return e&&e.__esModule?e:{default:e}}av=(O=jm).exports,Object.defineProperty(av,"__esModule",{value:!0}),av.default=function(e){return(0,Mm.default)(e),(0,Im.default)(Cm,e.toUpperCase())},Mm=Bm(y.exports),Im=Bm(x.exports),Cm=["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"],O.exports=av.default,O.exports.default=av.default;var $m,Um,Nm,Fm,Gm,zm,Zm,Hm,Km,Wm,Vm,qm,Ym,Qm,Jm,Xm,ev,tv,rv,nv,ov,iv={exports:{}},av=(x=(M=iv).exports,Object.defineProperty(x,"__esModule",{value:!0}),x.default=function(e){return(0,$m.default)(e),!(e.length%8!=0||!Um.test(e))},$m=(O=y.exports)&&O.__esModule?O:{default:O},Um=/^[A-Z2-7]+=*$/,M.exports=x.default,M.exports.default=x.default,{exports:{}}),x=(M=(O=av).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,Nm.default)(e),!!Fm.test(e)},Nm=(x=y.exports)&&x.__esModule?x:{default:x},Fm=/^[A-HJ-NP-Za-km-z1-9]*$/,O.exports=M.default,O.exports.default=M.default,{exports:{}}),sv=(M=(O=x).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){(0,Gm.default)(e);var t=e.split(",");if(t.length<2)return!1;var r=t.shift().trim().split(";"),e=r.shift();if("data:"!==e.substr(0,5))return!1;e=e.substr(5);if(""!==e&&!zm.test(e))return!1;for(var n=0;n<r.length;n++)if((n!==r.length-1||"base64"!==r[n].toLowerCase())&&!Zm.test(r[n]))return!1;for(var o=0;o<t.length;o++)if(!Hm.test(t[o]))return!1;return!0},Gm=(sv=y.exports)&&sv.__esModule?sv:{default:sv},zm=/^[a-z]+\/[a-z0-9\-\+]+$/i,Zm=/^[a-z\-]+=[a-z0-9\-]+$/i,Hm=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i,O.exports=M.default,O.exports.default=M.default,{exports:{}}),uv=(M=(O=sv).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,Km.default)(e),Wm.test(e.trim())},Km=(uv=y.exports)&&uv.__esModule?uv:{default:uv},Wm=/^magnet:\?xt=urn:[a-z0-9]+:[a-z0-9]{32,40}&dn=.+&tr=.+$/i,O.exports=M.default,O.exports.default=M.default,{exports:{}}),cv=(M=(O=uv).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e){return(0,Vm.default)(e),qm.test(e)||Ym.test(e)||Qm.test(e)},Vm=(cv=y.exports)&&cv.__esModule?cv:{default:cv},qm=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,Ym=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,Qm=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i,O.exports=M.default,O.exports.default=M.default,{exports:{}});function lv(e){return e&&e.__esModule?e:{default:e}}M=(O=cv).exports,Object.defineProperty(M,"__esModule",{value:!0}),M.default=function(e,t){if((0,Jm.default)(e),t=(0,Xm.default)(t,ov),!e.includes(","))return!1;e=e.split(",");return!(e[0].startsWith("(")&&!e[1].endsWith(")")||e[1].endsWith(")")&&!e[0].startsWith("("))&&(t.checkDMS?rv.test(e[0])&&nv.test(e[1]):ev.test(e[0])&&tv.test(e[1]))},Jm=lv(y.exports),Xm=lv(d.exports),ev=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,tv=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,rv=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,ov={checkDMS:!(nv=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i)},O.exports=M.default,O.exports.default=M.default;var dv,fv,pv,hv,O={},gv=(Object.defineProperty(O,"__esModule",{value:!0}),O.default=function(e,t){if((0,gv.default)(e),t in vv)return vv[t].test(e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in vv)if(vv.hasOwnProperty(r)&&vv[r].test(e))return!0;return!1},O.locales=void 0,(M=y.exports)&&M.__esModule?M:{default:M}),M=/^\d{4}$/,mv=/^\d{5}$/,I=/^\d{6}$/,vv={AD:/^AD\d{3}$/,AT:M,AU:M,AZ:/^AZ\d{4}$/,BE:M,BG:M,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:M,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:mv,DK:M,DO:mv,DZ:mv,EE:mv,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:mv,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:M,ID:mv,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:mv,JP:/^\d{3}\-\d{4}$/,KE:mv,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:M,LV:/^LV\-\d{4}$/,MX:mv,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:mv,NL:/^\d{4}\s?[a-z]{2}$/i,NO:M,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:M,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:I,RU:I,SA:mv,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:I,SI:M,SK:/^\d{3}\s?\d{2}$/,TH:mv,TN:M,TW:/^\d{3}(\d{2})?$/,UA:mv,US:/^\d{5}(-\d{4})?$/,ZA:M,ZM:mv},I=Object.keys(vv),M=(O.locales=I,{exports:{}}),bv=(I=(mv=M).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e,t){(0,dv.default)(e);t=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(t,"")},dv=(bv=y.exports)&&bv.__esModule?bv:{default:bv},mv.exports=I.default,mv.exports.default=I.default,{exports:{}}),yv=(I=(mv=bv).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e,t){(0,fv.default)(e);t=t?new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g"):/(\s)+$/g;return e.replace(t,"")},fv=(yv=y.exports)&&yv.__esModule?yv:{default:yv},mv.exports=I.default,mv.exports.default=I.default,{exports:{}});function _v(e){return e&&e.__esModule?e:{default:e}}I=(mv=yv).exports,Object.defineProperty(I,"__esModule",{value:!0}),I.default=function(e,t){return(0,pv.default)((0,hv.default)(e,t),t)},pv=_v(bv.exports),hv=_v(M.exports),mv.exports=I.default,mv.exports.default=I.default;var wv,Av,xv,Ev,kv,mv={exports:{}},Sv=(C=(I=mv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,wv.default)(e),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")},wv=(Sv=y.exports)&&Sv.__esModule?Sv:{default:Sv},I.exports=C.default,I.exports.default=C.default,{exports:{}}),Rv=(C=(I=Sv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Av.default)(e),e.replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`")},Av=(Rv=y.exports)&&Rv.__esModule?Rv:{default:Rv},I.exports=C.default,I.exports.default=C.default,{exports:{}}),I={exports:{}};function Dv(e){return e&&e.__esModule?e:{default:e}}Bv=(C=I).exports,Object.defineProperty(Bv,"__esModule",{value:!0}),Bv.default=function(e,t){return(0,kv.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")},kv=(L=y.exports)&&L.__esModule?L:{default:L},C.exports=Bv.default,C.exports.default=Bv.default,C=(L=Rv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,xv.default)(e),(0,Ev.default)(e,t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F")},xv=Dv(y.exports),Ev=Dv(I.exports),L.exports=C.default,L.exports.default=C.default;var Tv,Ov,Mv,Iv,Cv,Lv,Pv,jv,Bv={exports:{}},$v=(C=(L=Bv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){return(0,Tv.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")},Tv=($v=y.exports)&&$v.__esModule?$v:{default:$v},L.exports=C.default,L.exports.default=C.default,{exports:{}}),Uv=(C=(L=$v).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){(0,Ov.default)(e);for(var r=e.length-1;0<=r;r--)if(-1===t.indexOf(e[r]))return!1;return!0},Ov=(Uv=y.exports)&&Uv.__esModule?Uv:{default:Uv},L.exports=C.default,L.exports.default=C.default,{exports:{}});function Nv(e){return 1<e.length?e:""}C=(L=Uv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){t=(0,Mv.default)(t,Iv);var e=e.split("@"),r=e.pop(),e=[e.join("@"),r];if(e[1]=e[1].toLowerCase(),"gmail.com"===e[1]||"googlemail.com"===e[1]){if(t.gmail_remove_subaddress&&(e[0]=e[0].split("+")[0]),t.gmail_remove_dots&&(e[0]=e[0].replace(/\.+/g,Nv)),!e[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(e[0]=e[0].toLowerCase()),e[1]=t.gmail_convert_googlemaildotcom?"gmail.com":e[1]}else if(0<=Cv.indexOf(e[1])){if(t.icloud_remove_subaddress&&(e[0]=e[0].split("+")[0]),!e[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(e[0]=e[0].toLowerCase())}else if(0<=Lv.indexOf(e[1])){if(t.outlookdotcom_remove_subaddress&&(e[0]=e[0].split("+")[0]),!e[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(e[0]=e[0].toLowerCase())}else if(0<=Pv.indexOf(e[1])){if(t.yahoo_remove_subaddress&&(r=e[0].split("-"),e[0]=1<r.length?r.slice(0,-1).join("-"):r[0]),!e[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(e[0]=e[0].toLowerCase())}else 0<=jv.indexOf(e[1])?((t.all_lowercase||t.yandex_lowercase)&&(e[0]=e[0].toLowerCase()),e[1]="yandex.ru"):t.all_lowercase&&(e[0]=e[0].toLowerCase());return e.join("@")},Mv=(Jv=d.exports)&&Jv.__esModule?Jv:{default:Jv},Iv={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},Cv=["icloud.com","me.com"],Lv=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],Pv=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],jv=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"],L.exports=C.default,L.exports.default=C.default;var Fv,Gv,zv,Zv,Hv,Kv,Wv,Vv,qv,Yv,Qv,Jv={exports:{}},Xv=(C=(L=Jv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){return(0,Fv.default)(e),Gv.test(e)},Fv=(Xv=y.exports)&&Xv.__esModule?Xv:{default:Xv},Gv=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/,L.exports=C.default,L.exports.default=C.default,{exports:{}}),e1=(C=(L=Xv).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e,t){if((0,zv.default)(e),t in Zv)return Zv[t](e);if("any"!==t)throw new Error("Invalid locale '".concat(t,"'"));for(var r in Zv)if((0,Zv[r])(e))return!0;return!1},zv=(e1=y.exports)&&e1.__esModule?e1:{default:e1},Zv={"de-DE":function(e){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|ND|NM|NK|NW|NR|NI|NF|DZ|EB|OZ|TG|TO|N|OA|GM|OB|CA|EH|FW|OF|OL|OE|OG|BH|LR|OS|AA|GD|OH|KY|NP|WK|PB|PA|PE|PI|PS|P|PM|PR|RA|RV|RE|R|H|SB|WN|RS|RD|RT|BM|NE|GV|RP|SU|GL|RO|GÜ|RH|EG|RW|PN|SK|MQ|RU|SZ|RI|SL|SM|SC|HR|FZ|VS|SW|SN|CR|SE|SI|SO|LP|SG|NH|SP|IZ|ST|BF|TE|HV|OD|SR|S|AC|DW|ZW|TF|TS|TR|TÜ|UM|PZ|TP|UE|UN|UH|MN|KK|VB|V|AE|PL|RC|VG|GW|PW|VR|VK|KB|WA|WT|BE|WM|WE|AP|MO|WW|FB|WZ|WI|WB|JE|WF|WO|W|WÜ|BL|Z|GC)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(AIC|FDB|ABG|SLN|SAW|KLZ|BUL|ESB|NAB|SUL|WST|ABI|AZE|BTF|KÖT|DKB|FEU|ROT|ALZ|SMÜ|WER|AUR|NOR|DÜW|BRK|HAB|TÖL|WOR|BAD|BAR|BER|BIW|EBS|KEM|MÜB|PEG|BGL|BGD|REI|WIL|BKS|BIR|WAT|BOR|BOH|BOT|BRB|BLK|HHM|NEB|NMB|WSF|LEO|HDL|WMS|WZL|BÜS|CHA|KÖZ|ROD|WÜM|CLP|NEC|COC|ZEL|COE|CUX|DAH|LDS|DEG|DEL|RSL|DLG|DGF|LAN|HEI|MED|DON|KIB|ROK|JÜL|MON|SLE|EBE|EIC|HIG|WBS|BIT|PRÜ|LIB|EMD|WIT|ERH|HÖS|ERZ|ANA|ASZ|MAB|MEK|STL|SZB|FDS|HCH|HOR|WOL|FRG|GRA|WOS|FRI|FFB|GAP|GER|BRL|CLZ|GTH|NOH|HGW|GRZ|LÖB|NOL|WSW|DUD|HMÜ|OHA|KRU|HAL|HAM|HBS|QLB|HVL|NAU|HAS|EBN|GEO|HOH|HDH|ERK|HER|WAN|HEF|ROF|HBN|ALF|HSK|USI|NAI|REH|SAN|KÜN|ÖHR|HOL|WAR|ARN|BRG|GNT|HOG|WOH|KEH|MAI|PAR|RID|ROL|KLE|GEL|KUS|KYF|ART|SDH|LDK|DIL|MAL|VIB|LER|BNA|GHA|GRM|MTL|WUR|LEV|LIF|STE|WEL|LIP|VAI|LUP|HGN|LBZ|LWL|PCH|STB|DAN|MKK|SLÜ|MSP|TBB|MGH|MTK|BIN|MSH|EIL|HET|SGH|BID|MYK|MSE|MST|MÜR|WRN|MEI|GRH|RIE|MZG|MIL|OBB|BED|FLÖ|MOL|FRW|SEE|SRB|AIB|MOS|BCH|ILL|SOB|NMS|NEA|SEF|UFF|NEW|VOH|NDH|TDO|NWM|GDB|GVM|WIS|NOM|EIN|GAN|LAU|HEB|OHV|OSL|SFB|ERB|LOS|BSK|KEL|BSB|MEL|WTL|OAL|FÜS|MOD|OHZ|OPR|BÜR|PAF|PLÖ|CAS|GLA|REG|VIT|ECK|SIM|GOA|EMS|DIZ|GOH|RÜD|SWA|NES|KÖN|MET|LRO|BÜZ|DBR|ROS|TET|HRO|ROW|BRV|HIP|PAN|GRI|SHK|EIS|SRO|SOK|LBS|SCZ|MER|QFT|SLF|SLS|HOM|SLK|ASL|BBG|SBK|SFT|SHG|MGN|MEG|ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)}},L.exports=C.default,L.exports.default=C.default,{exports:{}});function t1(e){return e&&e.__esModule?e:{default:e}}C=(L=e1).exports,Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,e=((0,Kv.default)(e),function e(r){var t=function(){var t={};return Array.from(r).forEach(function(e){t[e]?t[e]+=1:t[e]=1}),t}(),n={length:r.length,uniqueChars:Object.keys(t).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(t).forEach(function(e){Wv.test(e)?n.uppercaseCount+=t[e]:Vv.test(e)?n.lowercaseCount+=t[e]:qv.test(e)?n.numberCount+=t[e]:Yv.test(e)&&(n.symbolCount+=t[e])}),n}(e));return(t=(0,Hv.default)(t||{},Qv)).returnScore?function e(t,r){var n=0;return n=(n+=t.uniqueChars*r.pointsPerUnique)+(t.length-t.uniqueChars)*r.pointsPerRepeat,0<t.lowercaseCount&&(n+=r.pointsForContainingLower),0<t.uppercaseCount&&(n+=r.pointsForContainingUpper),0<t.numberCount&&(n+=r.pointsForContainingNumber),0<t.symbolCount&&(n+=r.pointsForContainingSymbol),n}(e,t):e.length>=t.minLength&&e.lowercaseCount>=t.minLowercase&&e.uppercaseCount>=t.minUppercase&&e.numberCount>=t.minNumbers&&e.symbolCount>=t.minSymbols},Hv=t1(d.exports),Kv=t1(y.exports),Wv=/^[A-Z]$/,Vv=/^[a-z]$/,qv=/^[0-9]$/,Qv={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!(Yv=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/),pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10},L.exports=C.default,L.exports.default=C.default;var d={},r1=(Object.defineProperty(d,"__esModule",{value:!0}),d.default=function(e,t){if((0,r1.default)(e),(0,r1.default)(t),t in n1)return n1[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},d.vatMatchers=void 0,(L=y.exports)&&L.__esModule?L:{default:L}),n1={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/},C=(d.vatMatchers=n1,Ln),y=Ln.exports;function o1(e){return(o1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(y,"__esModule",{value:!0}),y.default=void 0;var L=P(l.exports),l=P(ps.exports),ps=P(na.exports),na=P(oa.exports),oa=P(jc.exports),la=P(la.exports),i=P(i.exports),xa=P(xa.exports),b=P(b.exports),m=P(m.exports),aa=P(aa.exports),f=P(f.exports),us=P(us.exports),v=P(v.exports),Sp=P(Sp.exports),Rp=P(Rp.exports),Dp=a1(Dp),s=a1(s),Mp=P(Mp.exports),Lp=P(Lp.exports),Pp=P(Pp.exports),Bp=P(Bp.exports),$p=P($p.exports),Up=P(Up.exports),Np=P(Np.exports),Fp=P(Fp),_=P(_),w=P(w.exports),Kp=P(Kp.exports),Wp=P(Wp.exports),Vp=P(Vp.exports),jp=P(jp.exports),ka=a1(ka),oh=P(oh.exports),c=P(c.exports),fh=P(fh.exports),ph=P(ph.exports),E=P(E.exports),zh=P(zh.exports),Zh=P(Zh.exports),Hh=P(Hh.exports),Kh=P(Kh.exports),Wh=P(Wh.exports),Yh=P(Yh.exports),Qh=P(Qh.exports),Jh=P(Jh.exports),R=P(R.exports),cg=P(cg.exports),fg=P(fg.exports),e=P(e.exports),bg=P(bg.exports),yg=P(yg.exports),xg=P(xg.exports),Rg=P(Rg.exports),Mg=P(Mg.exports),r=P(r.exports),tm=P(tm.exports),rm=P(rm.exports),nm=P(nm.exports),om=P(om.exports),im=P(im.exports),am=P(am.exports),D=a1(D),T=P(T.exports),_m=P(_m.exports),ym=P(ym.exports),Lm=P(Lm.exports),Pm=P(Pm.exports),k=P(k),jm=P(jm.exports),iv=P(iv.exports),av=P(av.exports),S=P(S.exports),x=P(x.exports),sv=P(sv.exports),uv=P(uv.exports),cv=P(cv.exports),O=a1(O),M=P(M.exports),bv=P(bv.exports),yv=P(yv.exports),mv=P(mv.exports),Sv=P(Sv.exports),Rv=P(Rv.exports),Bv=P(Bv.exports),I=P(I.exports),$v=P($v.exports),Uv=P(Uv.exports),Jv=P(Jv.exports),Xv=P(Xv.exports),e1=P(e1.exports),d=P(d);function i1(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i1=function(){return e},e}function a1(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o1(e)&&"function"!=typeof e)return{default:e};var t=i1();if(t&&t.has(e))return t.get(e);var r,n,o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&((n=i?Object.getOwnPropertyDescriptor(e,r):null)&&(n.get||n.set)?Object.defineProperty(o,r,n):o[r]=e[r]);return o.default=e,t&&t.set(e,o),o}function P(e){return e&&e.__esModule?e:{default:e}}L={version:"13.6.0",toDate:L.default,toFloat:l.default,toInt:ps.default,toBoolean:na.default,equals:oa.default,contains:la.default,matches:i.default,isEmail:xa.default,isURL:b.default,isMACAddress:m.default,isIP:aa.default,isIPRange:f.default,isFQDN:us.default,isBoolean:Sp.default,isIBAN:Kh.default,isBIC:Wh.default,isAlpha:Dp.default,isAlphaLocales:Dp.locales,isAlphanumeric:s.default,isAlphanumericLocales:s.locales,isNumeric:Mp.default,isPassportNumber:Lp.default,isPort:Pp.default,isLowercase:Bp.default,isUppercase:$p.default,isAscii:Np.default,isFullWidth:Fp.default,isHalfWidth:_.default,isVariableWidth:w.default,isMultibyte:Kp.default,isSemVer:Wp.default,isSurrogatePair:Vp.default,isInt:jp.default,isIMEI:Up.default,isFloat:ka.default,isFloatLocales:ka.locales,isDecimal:oh.default,isHexadecimal:c.default,isOctal:fh.default,isDivisibleBy:ph.default,isHexColor:E.default,isRgbColor:zh.default,isHSL:Zh.default,isISRC:Hh.default,isMD5:Yh.default,isHash:Qh.default,isJWT:Jh.default,isJSON:R.default,isEmpty:cg.default,isLength:fg.default,isLocale:Rp.default,isByteLength:e.default,isUUID:bg.default,isMongoId:yg.default,isAfter:xg.default,isBefore:Rg.default,isIn:Mg.default,isCreditCard:r.default,isIdentityCard:tm.default,isEAN:rm.default,isISIN:nm.default,isISBN:om.default,isISSN:im.default,isMobilePhone:D.default,isMobilePhoneLocales:D.locales,isPostalCode:O.default,isPostalCodeLocales:O.locales,isEthereumAddress:T.default,isCurrency:_m.default,isBtcAddress:ym.default,isISO8601:Lm.default,isRFC3339:Pm.default,isISO31661Alpha2:k.default,isISO31661Alpha3:jm.default,isBase32:iv.default,isBase58:av.default,isBase64:S.default,isDataURI:x.default,isMagnetURI:sv.default,isMimeType:uv.default,isLatLong:cv.default,ltrim:M.default,rtrim:bv.default,trim:yv.default,escape:mv.default,unescape:Sv.default,stripLow:Rv.default,whitelist:Bv.default,blacklist:I.default,isWhitelisted:$v.default,normalizeEmail:Uv.default,toString:toString,isSlug:Jv.default,isStrongPassword:e1.default,isTaxID:am.default,isDate:v.default,isLicensePlate:Xv.default,isVAT:d.default},y.default=L,C.exports=y.default,C.exports.default=y.default;var s1=function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(Ln.exports);const u1=2147483647,c1=36,l1=/^xn--/,d1=/[^\0-\x7E]/,f1=/[\x2E\u3002\uFF0E\uFF61]/g,p1={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h1=Math.floor,g1=String.fromCharCode;function m1(e){throw new RangeError(p1[e])}function v1(e,t){var r=e.split("@");let n="";1<r.length&&(n=r[0]+"@",e=r[1]);r=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(f1,".")).split("."),t).join(".");return n+r}function b1(e){const t=[];let r=0;const n=e.length;for(;r<n;){var o=e.charCodeAt(r++);if(55296<=o&&o<=56319&&r<n){const n=e.charCodeAt(r++);56320==(64512&n)?t.push(((1023&o)<<10)+(1023&n)+65536):(t.push(o),r--)}else t.push(o)}return t}function y1(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function _1(e,t,r){let n=0;for(e=r?h1(e/700):e>>1,e+=h1(e/t);455<e;n+=c1)e=h1(e/35);return h1(n+36*e/(e+38))}function w1(n){const t=[],o=n.length;let i=0,e=128,a=72,s=n.lastIndexOf("-");s<0&&(s=0);for(let e=0;e<s;++e)128<=n.charCodeAt(e)&&m1("not-basic"),t.push(n.charCodeAt(e));for(let r=0<s?s+1:0;r<o;){var u=i;for(let e=1,t=c1;;t+=c1){r>=o&&m1("invalid-input");const s=(l=n.charCodeAt(r++))-48<10?l-22:l-65<26?l-65:l-97<26?l-97:c1;(s>=c1||s>h1((u1-i)/e))&&m1("overflow"),i+=s*e;l=t<=a?1:t>=a+26?26:t-a;if(s<l)break;l=c1-l;e>h1(u1/l)&&m1("overflow"),e*=l}var c=t.length+1;a=_1(i-u,c,0==u),h1(i/c)>u1-e&&m1("overflow"),e+=h1(i/c),i%=c,t.splice(i++,0,e)}var l;return String.fromCodePoint(...t)}function A1(t){const r=[];let n=(t=b1(t)).length,o=128,i=0,a=72;for(const n of t)n<128&&r.push(g1(n));let s=r.length,u=s;for(s&&r.push("-");u<n;){let e=u1;for(const r of t)r>=o&&r<e&&(e=r);var c=u+1;e-o>h1((u1-i)/c)&&m1("overflow"),i+=(e-o)*c,o=e;for(const n of t)if(n<o&&++i>u1&&m1("overflow"),n==o){let t=i;for(let e=c1;;e+=c1){const o=e<=a?1:e>=a+26?26:e-a;if(t<o)break;const i=t-o,s=c1-o;r.push(g1(y1(o+i%s,0))),t=h1(i/s)}r.push(g1(y1(t,0))),a=_1(i,c,u==s),i=0,++u}++i,++o}return r.join("")}function x1(e){return v1(e,function(e){return l1.test(e)?w1(e.slice(4).toLowerCase()):e})}function E1(e){return v1(e,function(e){return d1.test(e)?"xn--"+A1(e):e})}const k1=e=>String.fromCodePoint(...e),S1={version:"2.1.0",ucs2:{decode:b1,encode:k1},decode:w1,encode:A1,toASCII:E1,toUnicode:x1};const R1=function e(r){if(r.__esModule)return r;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(r).forEach(function(e){var t=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}})}),n}(Object.freeze({__proto__:null,ucs2decode:b1,ucs2encode:k1,decode:w1,encode:A1,toASCII:E1,toUnicode:x1,default:S1})),D1={"com.ac":!0,"net.ac":!0,"gov.ac":!0,"org.ac":!0,"mil.ac":!0,"co.ae":!0,"net.ae":!0,"gov.ae":!0,"ac.ae":!0,"sch.ae":!0,"org.ae":!0,"mil.ae":!0,"pro.ae":!0,"name.ae":!0,"com.af":!0,"edu.af":!0,"gov.af":!0,"net.af":!0,"org.af":!0,"com.al":!0,"edu.al":!0,"gov.al":!0,"mil.al":!0,"net.al":!0,"org.al":!0,"ed.ao":!0,"gv.ao":!0,"og.ao":!0,"co.ao":!0,"pb.ao":!0,"it.ao":!0,"com.ar":!0,"edu.ar":!0,"gob.ar":!0,"gov.ar":!0,"int.ar":!0,"mil.ar":!0,"net.ar":!0,"org.ar":!0,"tur.ar":!0,"gv.at":!0,"ac.at":!0,"co.at":!0,"or.at":!0,"com.au":!0,"net.au":!0,"org.au":!0,"edu.au":!0,"gov.au":!0,"csiro.au":!0,"asn.au":!0,"id.au":!0,"vic.au":!0,"sa.au":!0,"wa.au":!0,"nt.au":!0,"tas.au":!0,"qld.au":!0,"act.au":!0,"conf.au":!0,"oz.au":!0,"org.ba":!0,"net.ba":!0,"edu.ba":!0,"gov.ba":!0,"mil.ba":!0,"unsa.ba":!0,"untz.ba":!0,"unmo.ba":!0,"unbi.ba":!0,"unze.ba":!0,"co.ba":!0,"com.ba":!0,"rs.ba":!0,"co.bb":!0,"com.bb":!0,"net.bb":!0,"org.bb":!0,"gov.bb":!0,"edu.bb":!0,"info.bb":!0,"store.bb":!0,"tv.bb":!0,"biz.bb":!0,"com.bh":!0,"info.bh":!0,"cc.bh":!0,"edu.bh":!0,"biz.bh":!0,"net.bh":!0,"org.bh":!0,"gov.bh":!0,"com.bn":!0,"edu.bn":!0,"gov.bn":!0,"net.bn":!0,"org.bn":!0,"com.bo":!0,"net.bo":!0,"org.bo":!0,"tv.bo":!0,"mil.bo":!0,"int.bo":!0,"gob.bo":!0,"gov.bo":!0,"edu.bo":!0,"adm.br":!0,"adv.br":!0,"agr.br":!0,"am.br":!0,"arq.br":!0,"art.br":!0,"ato.br":!0,"b.br":!0,"bio.br":!0,"blog.br":!0,"bmd.br":!0,"cim.br":!0,"cng.br":!0,"cnt.br":!0,"com.br":!0,"coop.br":!0,"ecn.br":!0,"edu.br":!0,"eng.br":!0,"esp.br":!0,"etc.br":!0,"eti.br":!0,"far.br":!0,"flog.br":!0,"fm.br":!0,"fnd.br":!0,"fot.br":!0,"fst.br":!0,"g12.br":!0,"ggf.br":!0,"gov.br":!0,"imb.br":!0,"ind.br":!0,"inf.br":!0,"jor.br":!0,"jus.br":!0,"lel.br":!0,"mat.br":!0,"med.br":!0,"mil.br":!0,"mus.br":!0,"net.br":!0,"nom.br":!0,"not.br":!0,"ntr.br":!0,"odo.br":!0,"org.br":!0,"ppg.br":!0,"pro.br":!0,"psc.br":!0,"psi.br":!0,"qsl.br":!0,"rec.br":!0,"slg.br":!0,"srv.br":!0,"tmp.br":!0,"trd.br":!0,"tur.br":!0,"tv.br":!0,"vet.br":!0,"vlog.br":!0,"wiki.br":!0,"zlg.br":!0,"com.bs":!0,"net.bs":!0,"org.bs":!0,"edu.bs":!0,"gov.bs":!0,"om.bz":!0,"du.bz":!0,"ov.bz":!0,"et.bz":!0,"rg.bz":!0,"ab.ca":!0,"bc.ca":!0,"mb.ca":!0,"nb.ca":!0,"nf.ca":!0,"nl.ca":!0,"ns.ca":!0,"nt.ca":!0,"nu.ca":!0,"on.ca":!0,"pe.ca":!0,"qc.ca":!0,"sk.ca":!0,"yk.ca":!0,"co.ck":!0,"org.ck":!0,"edu.ck":!0,"gov.ck":!0,"net.ck":!0,"gen.ck":!0,"biz.ck":!0,"info.ck":!0,"ac.cn":!0,"com.cn":!0,"edu.cn":!0,"gov.cn":!0,"mil.cn":!0,"net.cn":!0,"org.cn":!0,"ah.cn":!0,"bj.cn":!0,"cq.cn":!0,"fj.cn":!0,"gd.cn":!0,"gs.cn":!0,"gz.cn":!0,"gx.cn":!0,"ha.cn":!0,"hb.cn":!0,"he.cn":!0,"hi.cn":!0,"hl.cn":!0,"hn.cn":!0,"jl.cn":!0,"js.cn":!0,"jx.cn":!0,"ln.cn":!0,"nm.cn":!0,"nx.cn":!0,"qh.cn":!0,"sc.cn":!0,"sd.cn":!0,"sh.cn":!0,"sn.cn":!0,"sx.cn":!0,"tj.cn":!0,"tw.cn":!0,"xj.cn":!0,"xz.cn":!0,"yn.cn":!0,"zj.cn":!0,"com.co":!0,"org.co":!0,"edu.co":!0,"gov.co":!0,"net.co":!0,"mil.co":!0,"nom.co":!0,"ac.cr":!0,"co.cr":!0,"ed.cr":!0,"fi.cr":!0,"go.cr":!0,"or.cr":!0,"sa.cr":!0,cr:!0,"ac.cy":!0,"net.cy":!0,"gov.cy":!0,"org.cy":!0,"pro.cy":!0,"name.cy":!0,"ekloges.cy":!0,"tm.cy":!0,"ltd.cy":!0,"biz.cy":!0,"press.cy":!0,"parliament.cy":!0,"com.cy":!0,"edu.do":!0,"gob.do":!0,"gov.do":!0,"com.do":!0,"sld.do":!0,"org.do":!0,"net.do":!0,"web.do":!0,"mil.do":!0,"art.do":!0,"com.dz":!0,"org.dz":!0,"net.dz":!0,"gov.dz":!0,"edu.dz":!0,"asso.dz":!0,"pol.dz":!0,"art.dz":!0,"com.ec":!0,"info.ec":!0,"net.ec":!0,"fin.ec":!0,"med.ec":!0,"pro.ec":!0,"org.ec":!0,"edu.ec":!0,"gov.ec":!0,"mil.ec":!0,"com.eg":!0,"edu.eg":!0,"eun.eg":!0,"gov.eg":!0,"mil.eg":!0,"name.eg":!0,"net.eg":!0,"org.eg":!0,"sci.eg":!0,"com.er":!0,"edu.er":!0,"gov.er":!0,"mil.er":!0,"net.er":!0,"org.er":!0,"ind.er":!0,"rochest.er":!0,"w.er":!0,"com.es":!0,"nom.es":!0,"org.es":!0,"gob.es":!0,"edu.es":!0,"com.et":!0,"gov.et":!0,"org.et":!0,"edu.et":!0,"net.et":!0,"biz.et":!0,"name.et":!0,"info.et":!0,"ac.fj":!0,"biz.fj":!0,"com.fj":!0,"info.fj":!0,"mil.fj":!0,"name.fj":!0,"net.fj":!0,"org.fj":!0,"pro.fj":!0,"co.fk":!0,"org.fk":!0,"gov.fk":!0,"ac.fk":!0,"nom.fk":!0,"net.fk":!0,fr:!0,"tm.fr":!0,"asso.fr":!0,"nom.fr":!0,"prd.fr":!0,"presse.fr":!0,"com.fr":!0,"gouv.fr":!0,"co.gg":!0,"net.gg":!0,"org.gg":!0,"com.gh":!0,"edu.gh":!0,"gov.gh":!0,"org.gh":!0,"mil.gh":!0,"co.gl":!0,"com.gl":!0,"edu.gl":!0,"net.gl":!0,"org.gl":!0,"com.gn":!0,"ac.gn":!0,"gov.gn":!0,"org.gn":!0,"net.gn":!0,"com.gr":!0,"edu.gr":!0,"net.gr":!0,"org.gr":!0,"gov.gr":!0,"mil.gr":!0,"com.gt":!0,"edu.gt":!0,"net.gt":!0,"gob.gt":!0,"org.gt":!0,"mil.gt":!0,"ind.gt":!0,"com.gu":!0,"net.gu":!0,"gov.gu":!0,"org.gu":!0,"edu.gu":!0,"com.hk":!0,"edu.hk":!0,"gov.hk":!0,"idv.hk":!0,"net.hk":!0,"org.hk":!0,"2000.hu":!0,"agrar.hu":!0,"bolt.hu":!0,"casino.hu":!0,"city.hu":!0,"co.hu":!0,"erotica.hu":!0,"erotika.hu":!0,"film.hu":!0,"forum.hu":!0,"games.hu":!0,"hotel.hu":!0,"info.hu":!0,"ingatlan.hu":!0,"jogasz.hu":!0,"konyvelo.hu":!0,"lakas.hu":!0,"media.hu":!0,"news.hu":!0,"org.hu":!0,"priv.hu":!0,"reklam.hu":!0,"sex.hu":!0,"shop.hu":!0,"sport.hu":!0,"suli.huv":!0,"szex.hu":!0,"tm.hu":!0,"tozsde.hu":!0,"utazas.hu":!0,"video.hu":!0,"ac.id":!0,"co.id":!0,"net.id":!0,"or.id":!0,"web.id":!0,"sch.id":!0,"mil.id":!0,"go.id":!0,"war.net.id":!0,"my.id":!0,"biz.id":!0,"ac.il":!0,"co.il":!0,"org.il":!0,"net.il":!0,"k12.il":!0,"gov.il":!0,"muni.il":!0,"idf.il":!0,in:!0,"4fd.in":!0,"co.in":!0,"firm.in":!0,"net.in":!0,"org.in":!0,"gen.in":!0,"ind.in":!0,"ac.in":!0,"edu.in":!0,"res.in":!0,"ernet.in":!0,"gov.in":!0,"mil.in":!0,"nic.in":!0,iq:!0,"gov.iq":!0,"edu.iq":!0,"com.iq":!0,"mil.iq":!0,"org.iq":!0,"net.iq":!0,ir:!0,"ac.ir":!0,"co.ir":!0,"gov.ir":!0,"id.ir":!0,"net.ir":!0,"org.ir":!0,"sch.ir":!0,"dnssec.ir":!0,"gov.it":!0,"edu.it":!0,"co.je":!0,"net.je":!0,"org.je":!0,"com.jo":!0,"net.jo":!0,"gov.jo":!0,"edu.jo":!0,"org.jo":!0,"mil.jo":!0,"name.jo":!0,"sch.jo":!0,"ac.jp":!0,"ad.jp":!0,"co.jp":!0,"ed.jp":!0,"go.jp":!0,"gr.jp":!0,"lg.jp":!0,"ne.jp":!0,"or.jp":!0,"co.ke":!0,"or.ke":!0,"ne.ke":!0,"go.ke":!0,"ac.ke":!0,"sc.ke":!0,"me.ke":!0,"mobi.ke":!0,"info.ke":!0,"per.kh":!0,"com.kh":!0,"edu.kh":!0,"gov.kh":!0,"mil.kh":!0,"net.kh":!0,"org.kh":!0,"com.ki":!0,"biz.ki":!0,"de.ki":!0,"net.ki":!0,"info.ki":!0,"org.ki":!0,"gov.ki":!0,"edu.ki":!0,"mob.ki":!0,"tel.ki":!0,km:!0,"com.km":!0,"coop.km":!0,"asso.km":!0,"nom.km":!0,"presse.km":!0,"tm.km":!0,"medecin.km":!0,"notaires.km":!0,"pharmaciens.km":!0,"veterinaire.km":!0,"edu.km":!0,"gouv.km":!0,"mil.km":!0,"net.kn":!0,"org.kn":!0,"edu.kn":!0,"gov.kn":!0,kr:!0,"co.kr":!0,"ne.kr":!0,"or.kr":!0,"re.kr":!0,"pe.kr":!0,"go.kr":!0,"mil.kr":!0,"ac.kr":!0,"hs.kr":!0,"ms.kr":!0,"es.kr":!0,"sc.kr":!0,"kg.kr":!0,"seoul.kr":!0,"busan.kr":!0,"daegu.kr":!0,"incheon.kr":!0,"gwangju.kr":!0,"daejeon.kr":!0,"ulsan.kr":!0,"gyeonggi.kr":!0,"gangwon.kr":!0,"chungbuk.kr":!0,"chungnam.kr":!0,"jeonbuk.kr":!0,"jeonnam.kr":!0,"gyeongbuk.kr":!0,"gyeongnam.kr":!0,"jeju.kr":!0,"edu.kw":!0,"com.kw":!0,"net.kw":!0,"org.kw":!0,"gov.kw":!0,"com.ky":!0,"org.ky":!0,"net.ky":!0,"edu.ky":!0,"gov.ky":!0,"com.kz":!0,"edu.kz":!0,"gov.kz":!0,"mil.kz":!0,"net.kz":!0,"org.kz":!0,"com.lb":!0,"edu.lb":!0,"gov.lb":!0,"net.lb":!0,"org.lb":!0,"gov.lk":!0,"sch.lk":!0,"net.lk":!0,"int.lk":!0,"com.lk":!0,"org.lk":!0,"edu.lk":!0,"ngo.lk":!0,"soc.lk":!0,"web.lk":!0,"ltd.lk":!0,"assn.lk":!0,"grp.lk":!0,"hotel.lk":!0,"com.lr":!0,"edu.lr":!0,"gov.lr":!0,"org.lr":!0,"net.lr":!0,"com.lv":!0,"edu.lv":!0,"gov.lv":!0,"org.lv":!0,"mil.lv":!0,"id.lv":!0,"net.lv":!0,"asn.lv":!0,"conf.lv":!0,"com.ly":!0,"net.ly":!0,"gov.ly":!0,"plc.ly":!0,"edu.ly":!0,"sch.ly":!0,"med.ly":!0,"org.ly":!0,"id.ly":!0,ma:!0,"net.ma":!0,"ac.ma":!0,"org.ma":!0,"gov.ma":!0,"press.ma":!0,"co.ma":!0,"tm.mc":!0,"asso.mc":!0,"co.me":!0,"net.me":!0,"org.me":!0,"edu.me":!0,"ac.me":!0,"gov.me":!0,"its.me":!0,"priv.me":!0,"org.mg":!0,"nom.mg":!0,"gov.mg":!0,"prd.mg":!0,"tm.mg":!0,"edu.mg":!0,"mil.mg":!0,"com.mg":!0,"com.mk":!0,"org.mk":!0,"net.mk":!0,"edu.mk":!0,"gov.mk":!0,"inf.mk":!0,"name.mk":!0,"pro.mk":!0,"com.ml":!0,"net.ml":!0,"org.ml":!0,"edu.ml":!0,"gov.ml":!0,"presse.ml":!0,"gov.mn":!0,"edu.mn":!0,"org.mn":!0,"com.mo":!0,"edu.mo":!0,"gov.mo":!0,"net.mo":!0,"org.mo":!0,"com.mt":!0,"org.mt":!0,"net.mt":!0,"edu.mt":!0,"gov.mt":!0,"aero.mv":!0,"biz.mv":!0,"com.mv":!0,"coop.mv":!0,"edu.mv":!0,"gov.mv":!0,"info.mv":!0,"int.mv":!0,"mil.mv":!0,"museum.mv":!0,"name.mv":!0,"net.mv":!0,"org.mv":!0,"pro.mv":!0,"ac.mw":!0,"co.mw":!0,"com.mw":!0,"coop.mw":!0,"edu.mw":!0,"gov.mw":!0,"int.mw":!0,"museum.mw":!0,"net.mw":!0,"org.mw":!0,"com.mx":!0,"net.mx":!0,"org.mx":!0,"edu.mx":!0,"gob.mx":!0,"com.my":!0,"net.my":!0,"org.my":!0,"gov.my":!0,"edu.my":!0,"sch.my":!0,"mil.my":!0,"name.my":!0,"com.nf":!0,"net.nf":!0,"arts.nf":!0,"store.nf":!0,"web.nf":!0,"firm.nf":!0,"info.nf":!0,"other.nf":!0,"per.nf":!0,"rec.nf":!0,"com.ng":!0,"org.ng":!0,"gov.ng":!0,"edu.ng":!0,"net.ng":!0,"sch.ng":!0,"name.ng":!0,"mobi.ng":!0,"biz.ng":!0,"mil.ng":!0,"gob.ni":!0,"co.ni":!0,"com.ni":!0,"ac.ni":!0,"edu.ni":!0,"org.ni":!0,"nom.ni":!0,"net.ni":!0,"mil.ni":!0,"com.np":!0,"edu.np":!0,"gov.np":!0,"org.np":!0,"mil.np":!0,"net.np":!0,"edu.nr":!0,"gov.nr":!0,"biz.nr":!0,"info.nr":!0,"net.nr":!0,"org.nr":!0,"com.nr":!0,"com.om":!0,"co.om":!0,"edu.om":!0,"ac.om":!0,"sch.om":!0,"gov.om":!0,"net.om":!0,"org.om":!0,"mil.om":!0,"museum.om":!0,"biz.om":!0,"pro.om":!0,"med.om":!0,"edu.pe":!0,"gob.pe":!0,"nom.pe":!0,"mil.pe":!0,"sld.pe":!0,"org.pe":!0,"com.pe":!0,"net.pe":!0,"com.ph":!0,"net.ph":!0,"org.ph":!0,"mil.ph":!0,"ngo.ph":!0,"i.ph":!0,"gov.ph":!0,"edu.ph":!0,"com.pk":!0,"net.pk":!0,"edu.pk":!0,"org.pk":!0,"fam.pk":!0,"biz.pk":!0,"web.pk":!0,"gov.pk":!0,"gob.pk":!0,"gok.pk":!0,"gon.pk":!0,"gop.pk":!0,"gos.pk":!0,"pwr.pl":!0,"com.pl":!0,"biz.pl":!0,"net.pl":!0,"art.pl":!0,"edu.pl":!0,"org.pl":!0,"ngo.pl":!0,"gov.pl":!0,"info.pl":!0,"mil.pl":!0,"waw.pl":!0,"warszawa.pl":!0,"wroc.pl":!0,"wroclaw.pl":!0,"krakow.pl":!0,"katowice.pl":!0,"poznan.pl":!0,"lodz.pl":!0,"gda.pl":!0,"gdansk.pl":!0,"slupsk.pl":!0,"radom.pl":!0,"szczecin.pl":!0,"lublin.pl":!0,"bialystok.pl":!0,"olsztyn.pl":!0,"torun.pl":!0,"gorzow.pl":!0,"zgora.pl":!0,"biz.pr":!0,"com.pr":!0,"edu.pr":!0,"gov.pr":!0,"info.pr":!0,"isla.pr":!0,"name.pr":!0,"net.pr":!0,"org.pr":!0,"pro.pr":!0,"est.pr":!0,"prof.pr":!0,"ac.pr":!0,"com.ps":!0,"net.ps":!0,"org.ps":!0,"edu.ps":!0,"gov.ps":!0,"plo.ps":!0,"sec.ps":!0,"co.pw":!0,"ne.pw":!0,"or.pw":!0,"ed.pw":!0,"go.pw":!0,"belau.pw":!0,"arts.ro":!0,"com.ro":!0,"firm.ro":!0,"info.ro":!0,"nom.ro":!0,"nt.ro":!0,"org.ro":!0,"rec.ro":!0,"store.ro":!0,"tm.ro":!0,"www.ro":!0,"co.rs":!0,"org.rs":!0,"edu.rs":!0,"ac.rs":!0,"gov.rs":!0,"in.rs":!0,"com.sb":!0,"net.sb":!0,"edu.sb":!0,"org.sb":!0,"gov.sb":!0,"com.sc":!0,"net.sc":!0,"edu.sc":!0,"gov.sc":!0,"org.sc":!0,"co.sh":!0,"com.sh":!0,"org.sh":!0,"gov.sh":!0,"edu.sh":!0,"net.sh":!0,"nom.sh":!0,"com.sl":!0,"net.sl":!0,"org.sl":!0,"edu.sl":!0,"gov.sl":!0,"gov.st":!0,"saotome.st":!0,"principe.st":!0,"consulado.st":!0,"embaixada.st":!0,"org.st":!0,"edu.st":!0,"net.st":!0,"com.st":!0,"store.st":!0,"mil.st":!0,"co.st":!0,"edu.sv":!0,"gob.sv":!0,"com.sv":!0,"org.sv":!0,"red.sv":!0,"co.sz":!0,"ac.sz":!0,"org.sz":!0,"com.tr":!0,"gen.tr":!0,"org.tr":!0,"biz.tr":!0,"info.tr":!0,"av.tr":!0,"dr.tr":!0,"pol.tr":!0,"bel.tr":!0,"tsk.tr":!0,"bbs.tr":!0,"k12.tr":!0,"edu.tr":!0,"name.tr":!0,"net.tr":!0,"gov.tr":!0,"web.tr":!0,"tel.tr":!0,"tv.tr":!0,"co.tt":!0,"com.tt":!0,"org.tt":!0,"net.tt":!0,"biz.tt":!0,"info.tt":!0,"pro.tt":!0,"int.tt":!0,"coop.tt":!0,"jobs.tt":!0,"mobi.tt":!0,"travel.tt":!0,"museum.tt":!0,"aero.tt":!0,"cat.tt":!0,"tel.tt":!0,"name.tt":!0,"mil.tt":!0,"edu.tt":!0,"gov.tt":!0,"edu.tw":!0,"gov.tw":!0,"mil.tw":!0,"com.tw":!0,"net.tw":!0,"org.tw":!0,"idv.tw":!0,"game.tw":!0,"ebiz.tw":!0,"club.tw":!0,"com.mu":!0,"gov.mu":!0,"net.mu":!0,"org.mu":!0,"ac.mu":!0,"co.mu":!0,"or.mu":!0,"ac.mz":!0,"co.mz":!0,"edu.mz":!0,"org.mz":!0,"gov.mz":!0,"com.na":!0,"co.na":!0,"ac.nz":!0,"co.nz":!0,"cri.nz":!0,"geek.nz":!0,"gen.nz":!0,"govt.nz":!0,"health.nz":!0,"iwi.nz":!0,"maori.nz":!0,"mil.nz":!0,"net.nz":!0,"org.nz":!0,"parliament.nz":!0,"school.nz":!0,"abo.pa":!0,"ac.pa":!0,"com.pa":!0,"edu.pa":!0,"gob.pa":!0,"ing.pa":!0,"med.pa":!0,"net.pa":!0,"nom.pa":!0,"org.pa":!0,"sld.pa":!0,"com.pt":!0,"edu.pt":!0,"gov.pt":!0,"int.pt":!0,"net.pt":!0,"nome.pt":!0,"org.pt":!0,"publ.pt":!0,"com.py":!0,"edu.py":!0,"gov.py":!0,"mil.py":!0,"net.py":!0,"org.py":!0,"com.qa":!0,"edu.qa":!0,"gov.qa":!0,"mil.qa":!0,"net.qa":!0,"org.qa":!0,"asso.re":!0,"com.re":!0,"nom.re":!0,"ac.ru":!0,"adygeya.ru":!0,"altai.ru":!0,"amur.ru":!0,"arkhangelsk.ru":!0,"astrakhan.ru":!0,"bashkiria.ru":!0,"belgorod.ru":!0,"bir.ru":!0,"bryansk.ru":!0,"buryatia.ru":!0,"cbg.ru":!0,"chel.ru":!0,"chelyabinsk.ru":!0,"chita.ru":!0,"chukotka.ru":!0,"chuvashia.ru":!0,"com.ru":!0,"dagestan.ru":!0,"e-burg.ru":!0,"edu.ru":!0,"gov.ru":!0,"grozny.ru":!0,"int.ru":!0,"irkutsk.ru":!0,"ivanovo.ru":!0,"izhevsk.ru":!0,"jar.ru":!0,"joshkar-ola.ru":!0,"kalmykia.ru":!0,"kaluga.ru":!0,"kamchatka.ru":!0,"karelia.ru":!0,"kazan.ru":!0,"kchr.ru":!0,"kemerovo.ru":!0,"khabarovsk.ru":!0,"khakassia.ru":!0,"khv.ru":!0,"kirov.ru":!0,"koenig.ru":!0,"komi.ru":!0,"kostroma.ru":!0,"kranoyarsk.ru":!0,"kuban.ru":!0,"kurgan.ru":!0,"kursk.ru":!0,"lipetsk.ru":!0,"magadan.ru":!0,"mari.ru":!0,"mari-el.ru":!0,"marine.ru":!0,"mil.ru":!0,"mordovia.ru":!0,"mosreg.ru":!0,"msk.ru":!0,"murmansk.ru":!0,"nalchik.ru":!0,"net.ru":!0,"nnov.ru":!0,"nov.ru":!0,"novosibirsk.ru":!0,"nsk.ru":!0,"omsk.ru":!0,"orenburg.ru":!0,"org.ru":!0,"oryol.ru":!0,"penza.ru":!0,"perm.ru":!0,"pp.ru":!0,"pskov.ru":!0,"ptz.ru":!0,"rnd.ru":!0,"ryazan.ru":!0,"sakhalin.ru":!0,"samara.ru":!0,"saratov.ru":!0,"simbirsk.ru":!0,"smolensk.ru":!0,"spb.ru":!0,"stavropol.ru":!0,"stv.ru":!0,"surgut.ru":!0,"tambov.ru":!0,"tatarstan.ru":!0,"tom.ru":!0,"tomsk.ru":!0,"tsaritsyn.ru":!0,"tsk.ru":!0,"tula.ru":!0,"tuva.ru":!0,"tver.ru":!0,"tyumen.ru":!0,"udm.ru":!0,"udmurtia.ru":!0,"ulan-ude.ru":!0,"vladikavkaz.ru":!0,"vladimir.ru":!0,"vladivostok.ru":!0,"volgograd.ru":!0,"vologda.ru":!0,"voronezh.ru":!0,"vrn.ru":!0,"vyatka.ru":!0,"yakutia.ru":!0,"yamal.ru":!0,"yekaterinburg.ru":!0,"yuzhno-sakhalinsk.ru":!0,"ac.rw":!0,"co.rw":!0,"com.rw":!0,"edu.rw":!0,"gouv.rw":!0,"gov.rw":!0,"int.rw":!0,"mil.rw":!0,"net.rw":!0,"com.sa":!0,"edu.sa":!0,"gov.sa":!0,"med.sa":!0,"net.sa":!0,"org.sa":!0,"pub.sa":!0,"sch.sa":!0,"com.sd":!0,"edu.sd":!0,"gov.sd":!0,"info.sd":!0,"med.sd":!0,"net.sd":!0,"org.sd":!0,"tv.sd":!0,"a.se":!0,"ac.se":!0,"b.se":!0,"bd.se":!0,"c.se":!0,"d.se":!0,"e.se":!0,"f.se":!0,"g.se":!0,"h.se":!0,"i.se":!0,"k.se":!0,"l.se":!0,"m.se":!0,"n.se":!0,"o.se":!0,"org.se":!0,"p.se":!0,"parti.se":!0,"pp.se":!0,"press.se":!0,"r.se":!0,"s.se":!0,"t.se":!0,"tm.se":!0,"u.se":!0,"w.se":!0,"x.se":!0,"y.se":!0,"z.se":!0,"com.sg":!0,"edu.sg":!0,"gov.sg":!0,"idn.sg":!0,"net.sg":!0,"org.sg":!0,"per.sg":!0,"art.sn":!0,"com.sn":!0,"edu.sn":!0,"gouv.sn":!0,"org.sn":!0,"perso.sn":!0,"univ.sn":!0,"com.sy":!0,"edu.sy":!0,"gov.sy":!0,"mil.sy":!0,"net.sy":!0,"news.sy":!0,"org.sy":!0,"ac.th":!0,"co.th":!0,"go.th":!0,"in.th":!0,"mi.th":!0,"net.th":!0,"or.th":!0,"ac.tj":!0,"biz.tj":!0,"co.tj":!0,"com.tj":!0,"edu.tj":!0,"go.tj":!0,"gov.tj":!0,"info.tj":!0,"int.tj":!0,"mil.tj":!0,"name.tj":!0,"net.tj":!0,"nic.tj":!0,"org.tj":!0,"test.tj":!0,"web.tj":!0,"agrinet.tn":!0,"com.tn":!0,"defense.tn":!0,"edunet.tn":!0,"ens.tn":!0,"fin.tn":!0,"gov.tn":!0,"ind.tn":!0,"info.tn":!0,"intl.tn":!0,"mincom.tn":!0,"nat.tn":!0,"net.tn":!0,"org.tn":!0,"perso.tn":!0,"rnrt.tn":!0,"rns.tn":!0,"rnu.tn":!0,"tourism.tn":!0,"ac.tz":!0,"co.tz":!0,"go.tz":!0,"ne.tz":!0,"or.tz":!0,"biz.ua":!0,"cherkassy.ua":!0,"chernigov.ua":!0,"chernovtsy.ua":!0,"ck.ua":!0,"cn.ua":!0,"co.ua":!0,"com.ua":!0,"crimea.ua":!0,"cv.ua":!0,"dn.ua":!0,"dnepropetrovsk.ua":!0,"donetsk.ua":!0,"dp.ua":!0,"edu.ua":!0,"gov.ua":!0,"if.ua":!0,"in.ua":!0,"ivano-frankivsk.ua":!0,"kh.ua":!0,"kharkov.ua":!0,"kherson.ua":!0,"khmelnitskiy.ua":!0,"kiev.ua":!0,"kirovograd.ua":!0,"km.ua":!0,"kr.ua":!0,"ks.ua":!0,"kv.ua":!0,"lg.ua":!0,"lugansk.ua":!0,"lutsk.ua":!0,"lviv.ua":!0,"me.ua":!0,"mk.ua":!0,"net.ua":!0,"nikolaev.ua":!0,"od.ua":!0,"odessa.ua":!0,"org.ua":!0,"pl.ua":!0,"poltava.ua":!0,"pp.ua":!0,"rovno.ua":!0,"rv.ua":!0,"sebastopol.ua":!0,"sumy.ua":!0,"te.ua":!0,"ternopil.ua":!0,"uzhgorod.ua":!0,"vinnica.ua":!0,"vn.ua":!0,"zaporizhzhe.ua":!0,"zhitomir.ua":!0,"zp.ua":!0,"zt.ua":!0,"ac.ug":!0,"co.ug":!0,"go.ug":!0,"ne.ug":!0,"or.ug":!0,"org.ug":!0,"sc.ug":!0,"ac.uk":!0,"bl.uk":!0,"british-library.uk":!0,"co.uk":!0,"cym.uk":!0,"gov.uk":!0,"govt.uk":!0,"icnet.uk":!0,"jet.uk":!0,"lea.uk":!0,"ltd.uk":!0,"me.uk":!0,"mil.uk":!0,"mod.uk":!0,"national-library-scotland.uk":!0,"nel.uk":!0,"net.uk":!0,"nhs.uk":!0,"nic.uk":!0,"nls.uk":!0,"org.uk":!0,"orgn.uk":!0,"parliament.uk":!0,"plc.uk":!0,"police.uk":!0,"sch.uk":!0,"scot.uk":!0,"soc.uk":!0,"4fd.us":!0,"dni.us":!0,"fed.us":!0,"isa.us":!0,"kids.us":!0,"nsn.us":!0,"com.uy":!0,"edu.uy":!0,"gub.uy":!0,"mil.uy":!0,"net.uy":!0,"org.uy":!0,"co.ve":!0,"com.ve":!0,"edu.ve":!0,"gob.ve":!0,"info.ve":!0,"mil.ve":!0,"net.ve":!0,"org.ve":!0,"web.ve":!0,"co.vi":!0,"com.vi":!0,"k12.vi":!0,"net.vi":!0,"org.vi":!0,"ac.vn":!0,"biz.vn":!0,"com.vn":!0,"edu.vn":!0,"gov.vn":!0,"health.vn":!0,"info.vn":!0,"int.vn":!0,"name.vn":!0,"net.vn":!0,"org.vn":!0,"pro.vn":!0,"co.ye":!0,"com.ye":!0,"gov.ye":!0,"ltd.ye":!0,"me.ye":!0,"net.ye":!0,"org.ye":!0,"plc.ye":!0,"ac.yu":!0,"co.yu":!0,"edu.yu":!0,"gov.yu":!0,"org.yu":!0,"ac.za":!0,"agric.za":!0,"alt.za":!0,"bourse.za":!0,"city.za":!0,"co.za":!0,"cybernet.za":!0,"db.za":!0,"ecape.school.za":!0,"edu.za":!0,"fs.school.za":!0,"gov.za":!0,"gp.school.za":!0,"grondar.za":!0,"iaccess.za":!0,"imt.za":!0,"inca.za":!0,"kzn.school.za":!0,"landesign.za":!0,"law.za":!0,"lp.school.za":!0,"mil.za":!0,"mpm.school.za":!0,"ncape.school.za":!0,"net.za":!0,"ngo.za":!0,"nis.za":!0,"nom.za":!0,"nw.school.za":!0,"olivetti.za":!0,"org.za":!0,"pix.za":!0,"school.za":!0,"tm.za":!0,"wcape.school.za":!0,"web.za":!0,"ac.zm":!0,"co.zm":!0,"com.zm":!0,"edu.zm":!0,"gov.zm":!0,"net.zm":!0,"org.zm":!0,"sch.zm":!0},T1={ad:!0,ae:!0,af:!0,ag:!0,ai:!0,al:!0,am:!0,ao:!0,aq:!0,ar:!0,as:!0,at:!0,au:!0,aw:!0,ax:!0,az:!0,ba:!0,bb:!0,bd:!0,be:!0,bf:!0,bg:!0,bh:!0,bi:!0,bj:!0,bl:!0,bm:!0,bn:!0,bo:!0,bq:!0,br:!0,bs:!0,bt:!0,bv:!0,bw:!0,by:!0,bz:!0,ca:!0,cc:!0,cd:!0,cf:!0,cg:!0,ch:!0,ci:!0,ck:!0,cl:!0,cm:!0,cn:!0,co:!0,cr:!0,cu:!0,cv:!0,cw:!0,cx:!0,cy:!0,cz:!0,de:!0,dj:!0,dk:!0,dm:!0,do:!0,dz:!0,ec:!0,ee:!0,eg:!0,er:!0,es:!0,et:!0,fi:!0,fj:!0,fk:!0,fm:!0,fo:!0,fr:!0,ga:!0,"gb (.uk)":!0,gd:!0,ge:!0,gf:!0,gg:!0,gh:!0,gi:!0,gl:!0,gm:!0,gn:!0,gp:!0,gq:!0,gr:!0,gs:!0,gt:!0,gu:!0,gw:!0,gy:!0,hk:!0,hm:!0,hn:!0,hr:!0,ht:!0,hu:!0,id:!0,ie:!0,il:!0,im:!0,in:!0,io:!0,iq:!0,ir:!0,is:!0,it:!0,je:!0,jm:!0,jo:!0,jp:!0,ke:!0,kg:!0,kh:!0,ki:!0,km:!0,kn:!0,kp:!0,kr:!0,kw:!0,ky:!0,kz:!0,la:!0,lb:!0,lc:!0,li:!0,lk:!0,lr:!0,ls:!0,lt:!0,lu:!0,lv:!0,ly:!0,ma:!0,mc:!0,md:!0,me:!0,mf:!0,mg:!0,mh:!0,mk:!0,ml:!0,mm:!0,mn:!0,mo:!0,mp:!0,mq:!0,mr:!0,ms:!0,mt:!0,mu:!0,mv:!0,mw:!0,mx:!0,my:!0,mz:!0,na:!0,nc:!0,ne:!0,nf:!0,ng:!0,ni:!0,nl:!0,no:!0,np:!0,nr:!0,nu:!0,nz:!0,om:!0,pa:!0,pe:!0,pf:!0,pg:!0,ph:!0,pk:!0,pl:!0,pm:!0,pn:!0,pr:!0,ps:!0,pt:!0,pw:!0,py:!0,qa:!0,re:!0,ro:!0,rs:!0,ru:!0,rw:!0,sa:!0,sb:!0,sc:!0,sd:!0,se:!0,sg:!0,sh:!0,si:!0,sj:!0,sk:!0,sl:!0,sm:!0,sn:!0,so:!0,sr:!0,ss:!0,st:!0,sv:!0,sx:!0,sy:!0,sz:!0,tc:!0,td:!0,tf:!0,tg:!0,th:!0,tj:!0,tk:!0,tl:!0,tm:!0,tn:!0,to:!0,tr:!0,tt:!0,tv:!0,tw:!0,tz:!0,ua:!0,ug:!0,us:!0,uy:!0,uz:!0,va:!0,vc:!0,ve:!0,vg:!0,vi:!0,vn:!0,vu:!0,wf:!0,ws:!0,ye:!0,yt:!0,za:!0,zm:!0,zw:!0};function O1(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}var M1=function(e,n){if("string"!=typeof e)return!1;if(n instanceof Object||(n={}),(e=e.toLowerCase()).endsWith(".")&&(e=e.slice(0,e.length-1)),253<(e=n.allowUnicode?R1.toASCII(e):e).length)return!1;if(!/^([a-z0-9-._*]+)$/g.test(e))return!1;if(n.topLevel&&T1[e.replace(/\.$/,"")])return!0;const t=e.match(/(.*)\.(([a-z0-9]+)(\.[a-z0-9]+))/);var r=null,o=null;if(t&&2<t.length&&D1[t[2]]&&(r=t[2],o=t[1].split(".")),!o){if((o=e.split(".")).length<=1)return!1;if(r=o.pop(),!/^(?:xn--)?(?!^\d+$)[a-z0-9]+$/gi.test(r))return!1}return!(!1===n.subdomain&&1<o.length)&&o.every(function(e,t){if(n.wildcard&&0===t&&"*"===e&&1<o.length)return!0;let r=/^([a-zA-Z0-9-_]+)$/g;return t===o.length-1&&(r=/^([a-zA-Z0-9-]+)$/g),(e.match(/--/g)||[]).length===(e.match(/xn--/g)||[]).length&&(r.test(e)&&e.length<64&&!e.startsWith("-")&&!e.endsWith("-"))})};const I1=O1;function C1(e,t,r){return"function"==typeof r.join?r.join(e):e[0]+t+e[1]}function L1(e,t,r){return"function"!=typeof r.isValid||r.isValid(e,t)}function P1(e){return I1(e)||Array.isArray(e)||"function"==typeof e}var j1=O1;function B1(e){return!0===j1(e)&&"[object Object]"===Object.prototype.toString.call(e)}const $1=Reflect["deleteProperty"],U1=function(e){return"object"==typeof e?null===e:"function"!=typeof e},N1=function(e){return!1!==B1(e)&&"function"==typeof(e=e.constructor)&&!1!==B1(e=e.prototype)&&!1!==e.hasOwnProperty("isPrototypeOf")},F1=e=>"object"==typeof e&&null!==e||"function"==typeof e,G1=e=>{if(!U1(e))throw new TypeError("Object keys must be strings or symbols");if("__proto__"===e||"constructor"===e||"prototype"===e)throw new Error(`Cannot set unsafe key: "${e}"`)},z1=(t,r,e)=>{n=r?(()=>{if("string"!=typeof t||!r)return t;let e=t+";";return void 0!==r.arrays&&(e+=`arrays=${r.arrays};`),void 0!==r.separator&&(e+=`separator=${r.separator};`),void 0!==r.split&&(e+=`split=${r.split};`),void 0!==r.merge&&(e+=`merge=${r.merge};`),void 0!==r.preservePaths&&(e+=`preservePaths=${r.preservePaths};`),e})():t;var n=Array.isArray(n)?n.flat().map(String).join(","):n,e=(G1(n),H1.cache.get(n)||e());return H1.cache.set(n,e),e},Z1=(s,u)=>u&&"function"==typeof u.split?u.split(s):"symbol"==typeof s?[s]:Array.isArray(s)?s:z1(s,u,()=>{{var[r,e={}]=[s,u];const o=e.separator||".",i="/"!==o&&e.preservePaths;if("string"==typeof r&&!1!==i&&/\//.test(r))return[r];const a=[];let t="";var n=e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?a.push(t):a.push(e)};for(let e=0;e<r.length;e++){const i=r[e];"\\"!==i?i!==o?t+=i:(n(t),t=""):t+=r[++e]}return t&&n(t),a}}),H1=(e,t,r,n)=>{if(!t||!F1(e))return e;var o=Z1(t,n);let i=e;for(let e=0;e<o.length;e++){const t=o[e],l=o[e+1];if(G1(t),void 0===l){c=u=s=a=void 0;var a=i,s=t,u=r,c=n;if(G1(s),void 0===u)$1(a,s);else if(c&&c.merge){const d="function"===c.merge?c.merge:Object.assign;d&&N1(a[s])&&N1(u)?a[s]=d(a[s],u):a[s]=u}else a[s]=u;break}i="number"!=typeof l||Array.isArray(i[t])?(F1(i[t])||(i[t]={}),i[t]):i[t]=[]}return e};H1.split=Z1,H1.cache=new Map,H1.clear=()=>{H1.cache=new Map};var K1=H1;function W1(n){var i=this,l={},a=(null==n?void 0:n._ancestor_origins)||window.location.ancestorOrigins,s=(null==n?void 0:n.self_url)||window.location.href,u=(null==n?void 0:n.self_origin)||window.location.origin,c=(null==n?void 0:n.referrer_url)||document.referrer;function t(e){{var a=l,s=void 0;if(I1(s)||(s={default:s}),!P1(a))return void 0!==s.default?s.default:a;"number"==typeof e&&(e=String(e));var t=Array.isArray(e),r="string"==typeof e,u=s.separator||".",c=s.joinChar||("string"==typeof u?u:".");if(!r&&!t)return a;if(r&&e in a)return L1(e,a,s)?a[e]:s.default;let n=t?e:(r=e,t=u,"function"==typeof(e=s).split?e.split(r):r.split(t)),o=n.length,i=0;do{let r=n[i];for("number"==typeof r&&(r=String(r));r&&"\\"===r.slice(-1);)r=C1([r.slice(0,-1),n[++i]||""],c,s);if(r in a){if(!L1(r,a,s))return s.default;a=a[r]}else{let e=!1,t=i+1;for(;t<o;)if(r=C1([r,n[t++]],c,s),e=r in a){if(!L1(r,a,s))return s.default;a=a[r],i=t-1;break}if(!e)return s.default}}while(++i<o&&P1(a));return i===o?a:s.default}}function d(e,t){K1(l,e,t)}function f(e,t){t=!(1<arguments.length&&void 0!==t)||t;if(e&&""!==e)try{return new ee(e,t)}catch(e){console.log(e)}}function p(){for(var e=(null==n?void 0:n.urls)||[s,c],t=0;t<e.length;t++){var r=f(e[t]);if(r){r=null==(r=r.query)?void 0:r.gd_sdk_referrer_url;if(r&&(r=decodeURIComponent(r),s1.isURL(r)))return r}}}return function(){A(this,i);var e,t,r,n=0,o=window;try{for(;o!=o.parent;)n++,o=o.parent}catch(n){d("depth.error",n.message)}d("depth.value",n),e=a,t=l.depth.value,r=u,d("top.domain.from","fallback"),e&&0<e.length?(r=e[e.length-1],d("top.domain.from","origins")):0===t?(r=u,d("top.domain.from","self-top")):1===t&&(e=f(c))&&(r=e.origin,d("top.domain.from","referrer")),d("top.domain.value",r.replace(/^https?:\/\/(www\.)?(.*)$/i,"$2")),(t=p())?M1(t)?(d("partner.domain.value",t),d("partner.domain.from","partner-domain")):(t=f(t,!1))?(d("partner.domain.value",t.origin.replace(/^https?:\/\/(www\.)?(.*)$/i,"$2")),d("partner.domain.from","partner-url")):(d("partner.domain.value",l.top.domain.value),d("partner.domain.from","partner-fallback")):(d("partner.domain.value",l.top.domain.value),d("partner.domain.from","fallback")),e=p(),0===l.depth.value?(d("partner.url.value",s),d("partner.url.from","self-top")):e?M1(e)?(d("partner.url.value",s),d("partner.url.from","partner-domain")):(d("partner.url.value",e),d("partner.url.from","partner-url")):(d("partner.url.value",c),d("partner.url.from","fallback"))}.bind(this)(),{get:t,print:function(e){console.log(t(e))}}}function V1(){var e;return!(null==J1||null==(e=J1.sdkfw)||!e.enabled)}function q1(s){return function(e){for(var t,r=fb(e),n=db(r),o=n.length,i=0,a=[];i<o;)t=n[i++],lb&&!pb.call(r,t)||a.push(s?[t,r[t]]:r[t]);return a}}function Y1(t){return function(e){e=String(xb(e));return 1&t&&(e=e.replace(Eb,"")),e=2&t?e.replace(kb,""):e}}function Q1(e){var t;return Ob(e)&&(void 0!==(t=e[Ib])?!!t:"RegExp"==Mb(e))}var J1,X1,eb,tb,rb={name:"@bygd/gd-sdk-pes",version:"1.27.12",files:["dist/*"],scripts:{build:"NODE_ENV=production rollup --config",watch:"rollup --config --watch --sourcemap --environment DEVELOPMENT","deploy-base":"npm install && npm run build && npm publish --access public",deploy:"npm run deploy-base && gdtool pm-upload"},repository:{type:"git",url:"git@gitlab.azerdev.com:gamedistribution/gd-sdk-pes.git"},author:"",license:"ISC",devDependencies:{"@babel/core":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/preset-env":"^7.14.7","@rollup/plugin-babel":"^5.2.3","@rollup/plugin-commonjs":"^21.0.1","@rollup/plugin-json":"^4.1.0","@rollup/plugin-node-resolve":"^13.0.0","@rollup/plugin-replace":"^3.0.0",postcss:"^8.3.5",rollup:"^2.52.8","rollup-plugin-analyzer":"^4.0.0","rollup-plugin-browsersync":"^1.3.3","rollup-plugin-delete":"^2.0.0","rollup-plugin-node-polyfills":"^0.2.1","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.0","rollup-plugin-terser":"^7.0.2"},dependencies:{"@babel/runtime":"^7.14.6","@bygd/gd-sdk-era":"^0.3.3","can-autoplay":"^3.0.2",events:"^3.3.0","get-value":"^3.0.1","is-plain-object":"^5.0.0","is-valid-domain":"^0.1.2","js-base64":"^3.6.1","leaderboard-lib":"0.1.11","lodash.clonedeep":"^4.5.0","lodash.merge":"^4.6.2",querystringify:"^2.2.0","set-value":"^4.1.0","url-parse":"^1.4.7",validator:"^13.6.0"}},nb=function(){var e,t=J1,r=!(null==t||null==(r=t.extsc)||!r.enabled);return{enabled:r,path:r?null==t||null==(e=t.extsc)?void 0:e.path:"",name:r?null==t||null==(e=t.extsc)?void 0:e.name:"",ref:r?null==t||null==(e=t.extsc)?void 0:e.ref:"",loadedFlag:!r||null==t||null==(e=t.extsc)?void 0:e.loadedFlag,loadedFlagCheck:!!r&&!(null==t||null==(e=t.extsc)||!e.loadedFlagCheck)}},ob=(eb=p(h.mark(function e(){var t,r,n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if((t=nb()).enabled){e.next=3;break}return e.abrupt("return");case 3:return r=t.path,n=t.name,o=t.ref,e.prev=4,i={},e.next=8,Zr(r,n,{error_prefix:"Blocked:",exists:function(){return A(this,a),!!o&&!!window[o]}.bind(this),attrs:i});case 8:console.log("extsc: after external partner script load",n,r),e.next=15;break;case 11:e.prev=11,e.t0=e.catch(4),console.log("extsc: error on external partner script load",n,e.t0),en("DEVELOPER_ERROR",e.t0,"warning");case 15:case"end":return e.stop()}},e,this,[[4,11]])})),function(){return eb.apply(this,arguments)}),ib=!1,ab=!1,sb="gd-sdk-frame-handshake-request",ub="gd-sdk-frame-handshake-response",cb=(X1=p(h.mark(function e(n){var o,i,a,s,u,c,l;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(e){var a=this,t=new W1,r=(t.get(),t.get("partner.domain.value")),i=function(){return A(this,a),{gameId:e.gameId,enableAds:!0,preroll:!0,midroll:12e4,rewardedAds:!1,title:"",tags:[],category:"",assets:[],dmain:!0,sdk:{},loader:{},splash:{},promo:{},dAds:{},pAds:{},mAds:{},rAds:{}}}.bind(this),s=function(){return A(this,a),"https://game.api.gamedistribution.com/game/v4/get/".concat(e.gameId.replace(/-/g,""),"/?domain=").concat(r,"&v=").concat(rb.version,"&localTime=").concat((new Date).getHours())}.bind(this),u=function(e){A(this,a);e=n("object"===B(e)?e:Kr(e));return!e||!e.version||rb.version>=e.version?e:void 0}.bind(this),n=function(e){var t=this;if(A(this,a),!Ft(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o<e.length;o++){var i=e[o];if(n<(r+=i.weight))return i}}.bind(this);return new Promise(function(r){var n,e,o=this;A(this,a),J1?r(J1):(n=i(),e=s(),fetch(e).then(function(e){return A(this,o),e.json()}.bind(this)).then(function(e){var t;A(this,o),e.success?(t={gameId:(e=e.result.game).gameMd5,slug:e.slug,pname:e.pname,dname:e.dname,status:e.status,description:e.description,enableAds:!0===e.enableAds||!0===(null==(t=e.enableAds)?void 0:t.enabled),preroll:e.preRoll,midroll:6e4*e.timeAds,rewardedAds:e.rewardedAds,title:e.title,tags:e.tags,category:e.category,assets:e.assets,disp_2nd_prer:e.disp_2nd_prer,ctry_vst:e.ctry_vst,ctry:e.ctry,crtv:e.crtv,dmain:e.dmain,block_exts:u(e.push_cuda),bloc_gard:u(e.bloc_gard),cookie:u(e.cookie),gdpr:u(e.gdpr),diagnostic:u(e.diagnostic),cmp:u(e.cmp),gft:u(e.gft),sdk:u(e.sdk)||{},sdkfw:u(e.sdkfw)||{},loader:u(e.loader)||{},splash:u(e.splash)||{},promo:u(e.promo)||{},dAds:u(e.dads)||{},pAds:u(e.pads)||{},mAds:u(e.mads)||{},rAds:u(e.rads)||{},lp:u(e.lp)||{},extsc:u(e.extsc)||{}},(e=Nr(Mt(n),t)).afg_disabled=!1===(null==(t=e.sdk)||null==(t=t.afg)?void 0:t.enabled),null!=(t=e.pAds)&&t.enabled&&(e.preroll=!0),r(J1=e)):(n.failed=!0,r(n))}.bind(this)).catch(function(e){A(this,o),console.log("gd:adp failed game data",e),n.failed=!0,r(n)}.bind(this)))}.bind(this))}(n);case 2:return e.next=5,V1();case 5:return o=e.sent,console.log("gd:adp ,isSDKForwardEnable",o),a=!o,e.next=10,function(i){var a=this;return new Promise(function(n,e){var t=this,r=(A(this,a),{type:sb}),o=!1;window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=e.source,t=t.type;t===sb?e.postMessage({type:ub},r):t===ub&&(o=!0,n({origin:r,source:e}))}),i?n():(setTimeout(function(){A(this,t),o||n()}.bind(this),200),window.parent!==window?window.parent.postMessage(r,"*"):n())}.bind(this))}(a);case 10:if(i=e.sent,o){e.next=13;break}return e.abrupt("return",!1);case 13:return a=function(){var e=this;return{isMasterGameURL:function(){return A(this,e),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i.test(location.href)}.bind(this),isTokenGameURL:function(){return A(this,e),/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i.test(location.href)}.bind(this),isExtHostedGameURL:function(){return A(this,e),/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i.test(location.href)}.bind(this)}}(),s=a.isMasterGameURL,u=a.isTokenGameURL,s=s(),u=u(),t=void 0,r=J1,c=V1()&&!(null==r||null==(t=r.sdkfw)||!t.handshake),l=c?!s&&!!i:!s,console.log("gd:adp: frameCheck result",{_isMasterGameURL:s,_isTokenGameURL:u,isHandshakeEnabled:c,hsResult:i,result:l}),e.abrupt("return",l);case 21:case"end":return e.stop()}var t,r},e)})),function(e){return X1.apply(this,arguments)}),lb=In,db=o,fb=En,pb=Cn.f,hb=(q1(!0),q1(!1)),l=(So({target:"Object",stat:!0},{values:function(e){return hb(e)}}),So),gb=ss,ps=_n,mb=bo,vb=ll,bb=Fl,na=so.exports,oa=(l({target:"Promise",proto:!0,real:!0,forced:!!gb&&ps(function(){gb.prototype.finally.call({then:function(){}},function(){})})},{finally:function(t){var r=vb(this,mb("Promise")),e="function"==typeof t;return this.then(e?function(e){return bb(r,t()).then(function(){return e})}:t,e?function(e){return bb(r,t()).then(function(){throw e})}:t)}}),"function"!=typeof gb||gb.prototype.finally||na(gb.prototype,"finally",mb("Promise").prototype.finally),Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}),yb=Tn,_b=xn,wb=oa,Ab=t0,xb=(Xd("search",1,function(n,o,i){return[function(e){var t=_b(this),r=null==e?void 0:e[n];return void 0!==r?r.call(e,t):new RegExp(e)[n](String(t))},function(e){var t=i(o,e,this);if(t.done)return t.value;var t=yb(e),e=String(this),r=t.lastIndex,e=(wb(r,0)||(t.lastIndex=0),Ab(t,e));return wb(t.lastIndex,r)||(t.lastIndex=r),null===e?-1:e.index}]}),xn),la="[\t\n\v\f\r    â€â€‚         âŸã€€\u2028\u2029\ufeff]",Eb=RegExp("^"+la+la+"*"),kb=RegExp(la+la+"*$"),i={start:Y1(1),end:Y1(2),trim:Y1(3)},xa=_n,Sb="\t\n\v\f\r    â€â€‚         âŸã€€\u2028\u2029\ufeff",Rb=i.trim,Db=(So({target:"String",proto:!0,forced:(tb="trim",xa(function(){return!!Sb.trim()||"â€‹Â…á Ž"!="â€‹Â…á Ž".trim()||Sb.trim.name!==tb}))},{trim:function(){return Rb(this)}}),kn),Tb=bu,Ob=kn,Mb=An,Ib=Gi("match"),b=In,m=n,aa=a,Cb=function(e,t,r){return Tb&&"function"==typeof(t=t.constructor)&&t!==r&&Db(t=t.prototype)&&t!==r.prototype&&Tb(e,t),e},Lb=Xn.f,f=po.f,Pb=Q1,jb=Hd,us=Ra,Sp=so.exports,Kh=_n,Bb=u.set,Wh=Yc,$b=Gi("match"),Ub=m.RegExp,Nb=Ub.prototype,Fb=/a/g,Gb=/a/g,zb=new Ub(Fb)!==Fb,Zb=us.UNSUPPORTED_Y;if(b&&aa("RegExp",!zb||Zb||Kh(function(){return Gb[$b]=!1,Ub(Fb)!=Fb||Ub(Gb)==Gb||"/a/i"!=Ub(Fb,"i")}))){for(var Hb=function(e,t){var r,n=this instanceof Hb,o=Pb(e),i=void 0===t;if(!n&&o&&e.constructor===Hb&&i)return e;zb?o&&!i&&(e=e.source):e instanceof Hb&&(i&&(t=jb.call(e)),e=e.source),Zb&&(r=!!t&&-1<t.indexOf("y"))&&(t=t.replace(/y/g,""));o=Cb(zb?new Ub(e,t):Ub(e,t),n?this:Nb,Hb);return Zb&&r&&Bb(o,{sticky:r}),o},Kb=f(Ub),Wb=0;Kb.length>Wb;)!function(t){t in Hb||Lb(Hb,t,{configurable:!0,get:function(){return Ub[t]},set:function(e){Ub[t]=e}})}(Kb[Wb++]);(Nb.constructor=Hb).prototype=Nb,Sp(m,"RegExp",Hb)}Wh("RegExp");var Dp=so.exports,Vb=Tn,s=_n,qb=Hd,Mp="toString",Yb=RegExp.prototype,Qb=Yb.toString,Lp=s(function(){return"/a/b"!=Qb.call({source:"a",flags:"b"})}),Pp=Qb.name!=Mp;(Lp||Pp)&&Dp(RegExp.prototype,Mp,function(){var e=Vb(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in Yb)?qb.call(e):r)},{unsafe:!0});function Jb(e){if(ey(e))throw TypeError("The method doesn't accept regular expressions");return e}function Xb(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[ty]=!1,"/./"[t](r)}catch(t){}}return!1}var ey=Q1,ty=Gi("match"),Bp=So,$p=Mn.f,ry=_o,ny=Jb,oy=xn,Np=Xb,iy="".startsWith,ay=Math.min,Fp=Np("startsWith"),sy=(Bp({target:"String",proto:!0,forced:!(!Fp&&((_=$p(String.prototype,"startsWith"))&&!_.writable)||Fp)},{startsWith:function(e){var t=String(oy(this)),r=(ny(e),ry(ay(1<arguments.length?arguments[1]:void 0,t.length))),e=String(e);return iy?iy.call(t,e,r):t.slice(r,r+e.length)===e}}),lo.includes),w=Wu,uy=(So({target:"Array",proto:!0,forced:!Ps("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return sy(this,e,1<arguments.length?arguments[1]:void 0)}}),w("includes"),Jb),cy=xn,Kp=(So({target:"String",proto:!0,forced:!Xb("includes")},{includes:function(e){return!!~String(cy(this)).indexOf(uy(e),1<arguments.length?arguments[1]:void 0)}}),So),ly=Aa.find,Wp=Wu,Vp="find",dy=!0,jp=Ps(Vp),fy=(Vp in[]&&Array(1).find(function(){dy=!1}),Kp({target:"Array",proto:!0,forced:dy||!jp},{find:function(e){return ly(this,e,1<arguments.length?arguments[1]:void 0)}}),Wp(Vp),In),Up=_n,py=o,hy=wr,gy=Cn,my=Ro,vy=t,by=Object.assign,yy=Object.defineProperty,ka=!by||Up(function(){if(fy&&1!==by({b:1},by(yy({},"a",{enumerable:!0,get:function(){yy(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=by({},e)[r]||py(by({},t)).join("")!=n})?function(e,t){for(var r=my(e),n=arguments.length,o=1,i=hy.f,a=gy.f;o<n;)for(var s,u=vy(arguments[o++]),c=i?py(u).concat(i(u)):py(u),l=c.length,d=0;d<l;)s=c[d++],fy&&!a.call(u,s)||(r[s]=u[s]);return r}:by,oh=(So({target:"Object",stat:!0,forced:Object.assign!==ka},{assign:ka}),Xd),_y=Q1,wy=Tn,Ay=xn,xy=ll,Ey=e0,ky=_o,Sy=t0,Ry=is,c=_n,Dy=[].push,Ty=Math.min,Oy=4294967295,My=!c(function(){return!RegExp(Oy,"y")}),Iy=(oh("split",2,function(o,h,g){var m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||1<".".split(/()()/).length||"".split(/.?/).length?function(e,t){var r=String(Ay(this)),n=void 0===t?Oy:t>>>0;if(0==n)return[];if(void 0===e)return[r];if(!_y(e))return h.call(r,e,n);for(var o,i,a,s=[],t=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,c=new RegExp(e.source,t+"g");(o=Ry.call(c,r))&&!((i=c.lastIndex)>u&&(s.push(r.slice(u,o.index)),1<o.length&&o.index<r.length&&Dy.apply(s,o.slice(1)),a=o[0].length,u=i,s.length>=n));)c.lastIndex===o.index&&c.lastIndex++;return u===r.length?!a&&c.test("")||s.push(""):s.push(r.slice(u)),s.length>n?s.slice(0,n):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:h.call(this,e,t)}:h;return[function(e,t){var r=Ay(this),n=null==e?void 0:e[o];return void 0!==n?n.call(e,r,t):m.call(String(r),e,t)},function(e,t){var r=g(m,e,this,t,m!==h);if(r.done)return r.value;var r=wy(e),n=String(this),e=xy(r,RegExp),o=r.unicode,i=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(My?"y":"g"),a=new e(My?r:"^(?:"+r.source+")",i),s=void 0===t?Oy:t>>>0;if(0==s)return[];if(0===n.length)return null===Sy(a,n)?[n]:[];for(var u=0,c=0,l=[];c<n.length;){a.lastIndex=My?c:0;var d,f=Sy(a,My?n:n.slice(c));if(null===f||(d=Ty(ky(a.lastIndex+(My?0:c)),n.length))===u)c=Ey(n,c,o);else{if(l.push(n.slice(u,c)),l.length===s)return l;for(var p=1;p<=f.length-1;p++)if(l.push(f[p]),l.length===s)return l;c=u=d}}return l.push(n.slice(u)),l}]},!My),ne(jy,[{key:"_getFakeCustomParams",value:function(){var e,t={_vid:["bla_bla1","bla_bla2","bla_bla3"],_1ld:["1ld_1","1ld_2","1ld_3","1ld_4"],_1lp:["1lp_1","1lp_2"]},r={};for(e in t){var n=t[e];r[e]=n[Math.floor(Math.random()*n.length)]}return r}},{key:"checkCustomParams",value:function(){var e=this;try{var t,r={},n=this.gameData.diagnostic&&this.gameData.diagnostic.cp&&this.gameData.diagnostic.cp.enabled,o=new ee(location.href,!0);for(t in o.query)r[t]=o.query[t];return 0<Object.keys(r).filter(function(t){var r=this;return A(this,e),this.customParamKeys.some(function(e){return A(this,r),e===t}.bind(this))}.bind(this)).length||n?(console.log("custom-params",r,n),r):void console.log("custom-params, none")}catch(e){console.log("_checkCustomParams.Error",e)}}}]),jy),Cy=(ne(Py,[{key:"show",value:function(){this.adResumeButton.style.display="block",this.adResumeButtonOverlay.style.display="block"}},{key:"hide",value:function(){this.adResumeButton.style.display="none",this.adResumeButtonOverlay.style.display="none"}},{key:"add",value:function(){var e=this;try{var t=document.createElement("div"),r=((this.adResumeButton=t).id="gd__resume__button",t.setAttribute("title","Resume"),this.addStyles(),t.classList.add("gd__resume__button"),t.addEventListener("click",function(){A(this,e),this.onResume()}.bind(this)),this.adContainer.appendChild(t),document.createElement("div"));(this.adResumeButtonOverlay=r).id="gd__resume__button__overlay",r.classList.add("gd__resume__button__overlay"),this.adContainer.appendChild(r)}catch(e){console.log("Resume button add error",e)}}},{key:"addStyles",value:function(){var e=document.body||document.getElementsByTagName("body")[0];this.addStylesheet("gd__resume__button__style",e,'\n .gd__resume__button{\n background-image: url("https://img.gamedistribution.com/play-black.svg");\n background-color:white; \n width: 120px;\n height: 120px;\n position: absolute;\n display: none;\n z-index: 2000;\n cursor: pointer;\n top: calc(50% - 60px);\n left: calc(50% - 60px);\n margin: 0;\n border-radius: 50%;\n border: 2px solid white;\n animation: play-button 1s ease-in-out infinite alternate;\n -webkit-animation: play-button 1s ease-in-out infinite alternate;\n }\n \n .gd__resume__button__overlay {\n position: fixed;\n display: none;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0,0,0,0.5);\n z-index: 1999;\n cursor: pointer;\n }\n @keyframes play-button {\n 0% {\n transform: scale(1.0);\n -webkit-transform: scale(1.0);\n }\n 100% {\n transform: scale(1.1);\n -webkit-transform: scale(1.1);\n }\n }\n .gd__resume__button:hover{\n filter: invert(100%) sepia(51%) saturate(0%) hue-rotate(346deg) brightness(104%) contrast(100%); \n }\n ')}},{key:"addStylesheet",value:function(e,t,r){var n;document.getElementById(e)||((n=document.createElement("style")).type="text/css",n.id=e,n.styleSheet?n.styleSheet.cssText=r:n.appendChild(document.createTextNode(r)),t.appendChild(n))}}]),Py),Ly=(new Blob([new Uint8Array([255,227,24,196,0,0,0,3,72,1,64,0,0,4,132,16,31,227,192,225,76,255,67,12,255,221,27,255,228,97,73,63,255,195,131,69,192,232,223,255,255,207,102,239,255,255,255,101,158,206,70,20,59,255,254,95,70,149,66,4,16,128,0,2,2,32,240,138,255,36,106,183,255,227,24,196,59,11,34,62,80,49,135,40,0,253,29,191,209,200,141,71,7,255,252,152,74,15,130,33,185,6,63,255,252,195,70,203,86,53,15,255,255,247,103,76,121,64,32,47,255,34,227,194,209,138,76,65,77,69,51,46,57,55,170,170,170,170,170,170,170,170,170,170,255,227,24,196,73,13,153,210,100,81,135,56,0,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170,170])],{type:"audio/mpeg"}),new Blob([new Uint8Array([0,0,0,28,102,116,121,112,105,115,111,109,0,0,2,0,105,115,111,109,105,115,111,50,109,112,52,49,0,0,0,8,102,114,101,101,0,0,2,239,109,100,97,116,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,33,16,5,32,164,27,255,192,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,55,167,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,112,0,0,2,194,109,111,111,118,0,0,0,108,109,118,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,232,0,0,0,47,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,236,116,114,97,107,0,0,0,92,116,107,104,100,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,47,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,101,100,116,115,0,0,0,28,101,108,115,116,0,0,0,0,0,0,0,1,0,0,0,47,0,0,0,0,0,1,0,0,0,0,1,100,109,100,105,97,0,0,0,32,109,100,104,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,172,68,0,0,8,0,85,196,0,0,0,0,0,45,104,100,108,114,0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0,0,0,1,15,109,105,110,102,0,0,0,16,115,109,104,100,0,0,0,0,0,0,0,0,0,0,0,36,100,105,110,102,0,0,0,28,100,114,101,102,0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1,0,0,0,211,115,116,98,108,0,0,0,103,115,116,115,100,0,0,0,0,0,0,0,1,0,0,0,87,109,112,52,97,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,2,0,16,0,0,0,0,172,68,0,0,0,0,0,51,101,115,100,115,0,0,0,0,3,128,128,128,34,0,2,0,4,128,128,128,20,64,21,0,0,0,0,1,244,0,0,1,243,249,5,128,128,128,2,18,16,6,128,128,128,1,2,0,0,0,24,115,116,116,115,0,0,0,0,0,0,0,1,0,0,0,2,0,0,4,0,0,0,0,28,115,116,115,99,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,0,0,0,1,0,0,0,28,115,116,115,122,0,0,0,0,0,0,0,0,0,0,0,2,0,0,1,115,0,0,1,116,0,0,0,20,115,116,99,111,0,0,0,0,0,0,0,1,0,0,0,44,0,0,0,98,117,100,116,97,0,0,0,90,109,101,116,97,0,0,0,0,0,0,0,33,104,100,108,114,0,0,0,0,0,0,0,0,109,100,105,114,97,112,112,108,0,0,0,0,0,0,0,0,0,0,0,0,45,105,108,115,116,0,0,0,37,169,116,111,111,0,0,0,29,100,97,116,97,0,0,0,1,0,0,0,0,76,97,118,102,53,54,46,52,48,46,49,48,49])],{type:"video/mp4"}));function Py(e,t){te(this,Py),this.adContainer=e,this.onResume=t}function jy(e){te(this,jy),this.gameData=e,this.customParamKeys=["vid","_1ld","_1lp"]}function By(e){return Object.assign({muted:!1,timeout:250,inline:!1},e)}function $y(e,t){var n,r=e.muted,o=e.timeout,e=e.inline,t=t(),i=t.element,t=t.source,a=void 0,s=void 0;return!0===(i.muted=r)&&i.setAttribute("muted","muted"),!0===e&&i.setAttribute("playsinline","playsinline"),i.src=t,new Promise(function(r){a=i.play(),n=setTimeout(function(){s(!1,new Error("Timeout "+o+" ms has been reached"))},o),s=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;i.remove(),i.srcObject=null,clearTimeout(n),r({result:e,error:t})},void 0!==a?a.then(function(){return s(!0)}).catch(function(e){return s(!1,e)}):s(!0)})}var Uy,Ny,Fy,Gy,zy,Zy,Hy,Ky,Wy,Vy,qy,Yy,Qy,Jy,Xy,e_,t_,r_,n_,o_,i_,a_,s_,u_,c_,l_,d_,f_,p_,h_,g_,m_,v_,b_,y_,__,w_,A_,x_,E_,k_,S_,R_=function(e){return $y(e=By(e),function(){return{element:document.createElement("video"),source:URL.createObjectURL(Ly)}})},fh={exports:{}};function D_(){}function T_(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function O_(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function M_(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function I_(e){e=this.__data__=new O_(e);this.size=e.size}function C_(e,t,r){(void 0===r||Z_(e[t],r))&&(void 0!==r||t in e)||P_(e,t,r)}function L_(e,t){for(var r=e.length;r--;)if(Z_(e[r][0],t))return r;return-1}function P_(e,t,r){"__proto__"==t&&l_?l_(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function j_(e){{if(null==e)return void 0===e?"[object Undefined]":"[object Null]";if(c_&&c_ in Object(e)){var t=e,r=Xy.call(t,c_),n=t[c_];try{var o=!(t[c_]=void 0)}catch(t){}var i=t_.call(t);return o&&(r?t[c_]=n:delete t[c_]),i}return t_.call(e)}}function B_(e){return q_(e)&&j_(e)==Fy}function $_(g,m,v,b,y){g!==m&&m_(m,function(e,t){var r,n,o,i,a,s,u,c,l,d,f,p,h;y=y||new I_,V_(e)?(h=m,o=v,i=$_,a=b,s=y,u=z_(r=g,n=t),c=z_(h,n),(p=s.get(c))||(p=a?a(u,c,n+"",r,h,s):void 0,(h=void 0===p)&&(l=!(f=A_(c))&&x_(c),d=!f&&!l&&k_(c),p=c,f||l||d?p=A_(u)?u:q_(f=u)&&H_(f)?function(e,t){var r=-1,n=e.length;for(t=t||Array(n);++r<n;)t[r]=e[r];return t}(u):l?(h=!1,c.slice()):d?(h=!1,d=new(l=(f=c).buffer).constructor(l.byteLength),new o_(d).set(new o_(l)),new f.constructor(d,f.byteOffset,f.length)):[]:function(e){if(q_(e)&&j_(e)==zy){e=i_(e);if(null===e)return 1;e=Xy.call(e,"constructor")&&e.constructor;return"function"==typeof e&&e instanceof e&&Jy.call(e)==r_}}(c)||w_(c)?w_(p=u)?p=function(){for(var e=u,t=Y_(u),r=void 0,n=!r,o=(r=r||{},-1),i=t.length;++o<i;){var a=t[o],s=void 0;(n?P_:function e(t,r,n){var o=t[r];Xy.call(t,r)&&Z_(o,n)&&(void 0!==n||r in t)||P_(t,r,n)})(r,a,s=void 0===s?e[a]:s)}return r}():V_(u)&&!K_(u)||(p="function"!=typeof c.constructor||G_(c)?{}:g_(i_(c))):h=!1),h&&(s.set(c,p),i(p,c,o,a,s),s.delete(c))),C_(r,n,p)):(l=b?b(z_(g,t),e,t+"",g,m,y):void 0,C_(g,t,l=void 0===l?e:l))},Y_)}function U_(e,t){var r,e=e.__data__;return("string"==(r=typeof t)||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?e["string"==typeof t?"string":"hash"]:e.map}function N_(e,t){e=null==e?void 0:e[t];return function e(t){return V_(t)&&!(e_&&e_ in t)&&(K_(t)?n_:Zy).test(function(e){if(null!=e){try{return Jy.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(t))}(e)?e:void 0}function F_(e,t){var r=typeof e;return(t=null==t?Ny:t)&&("number"==r||"symbol"!=r&&Hy.test(e))&&-1<e&&e%1==0&&e<t}function G_(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Qy)}function z_(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Z_(e,t){return e===t||e!=e&&t!=t}function H_(e){return null!=e&&W_(e.length)&&!K_(e)}function K_(e){if(V_(e))return e=j_(e),e==Gy||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function W_(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=Ny}function V_(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function q_(e){return null!=e&&"object"==typeof e}function Y_(e){return H_(e)?function e(t,r){var n,o=A_(t),i=!o&&w_(t),a=!o&&!i&&x_(t),s=!o&&!i&&!a&&k_(t),u=o||i||a||s,c=u?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(t.length,String):[],l=c.length;for(n in t)!r&&!Xy.call(t,n)||u&&("length"==n||a&&("offset"==n||"parent"==n)||s&&("buffer"==n||"byteLength"==n||"byteOffset"==n)||F_(n,l))||c.push(n);return c}(e,!0):function e(t){if(V_(t)){var r,n=G_(t),o=[];for(r in t)("constructor"!=r||!n&&Xy.call(t,r))&&o.push(r);return o}var i=[];if(null!=t)for(var a in Object(t))i.push(a);return i}(e)}function Q_(e){return e}E=(ph=fh).exports,Uy="__lodash_hash_undefined__",Ny=9007199254740991,Fy="[object Arguments]",Gy="[object Function]",zy="[object Object]",Zy=/^\[object .+?Constructor\]$/,Hy=/^(?:0|[1-9]\d*)$/,(Ky={})["[object Float32Array]"]=Ky["[object Float64Array]"]=Ky["[object Int8Array]"]=Ky["[object Int16Array]"]=Ky["[object Int32Array]"]=Ky["[object Uint8Array]"]=Ky["[object Uint8ClampedArray]"]=Ky["[object Uint16Array]"]=Ky["[object Uint32Array]"]=!0,Ky[Fy]=Ky["[object Array]"]=Ky["[object ArrayBuffer]"]=Ky["[object Boolean]"]=Ky["[object DataView]"]=Ky["[object Date]"]=Ky["[object Error]"]=Ky[Gy]=Ky["[object Map]"]=Ky["[object Number]"]=Ky[zy]=Ky["[object RegExp]"]=Ky["[object Set]"]=Ky["[object String]"]=Ky["[object WeakMap]"]=!1,zh="object"==typeof $&&$&&$.Object===Object&&$,Zh="object"==typeof self&&self&&self.Object===Object&&self,Zh=zh||Zh||Function("return this")(),E=E&&!E.nodeType&&E,Wy=E&&ph&&!ph.nodeType&&ph,E=Wy&&Wy.exports===E,Vy=E&&zh.process,zh=(zh=function(){try{return Wy&&Wy.require&&Wy.require("util").types||Vy&&Vy.binding&&Vy.binding("util")}catch(e){}}())&&zh.isTypedArray,Hh=Array.prototype,Yh=Function.prototype,Qy=Object.prototype,Qh=Zh["__core-js_shared__"],Jy=Yh.toString,Xy=Qy.hasOwnProperty,e_=(Yh=/[^.]+$/.exec(Qh&&Qh.keys&&Qh.keys.IE_PROTO||""))?"Symbol(src)_1."+Yh:"",t_=Qy.toString,r_=Jy.call(Object),n_=RegExp("^"+Jy.call(Xy).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Qh=E?Zh.Buffer:void 0,Yh=Zh.Symbol,o_=Zh.Uint8Array,Qh&&Qh.allocUnsafe,qy=Object.getPrototypeOf,Yy=Object,i_=function(e){return qy(Yy(e))},a_=Object.create,s_=Qy.propertyIsEnumerable,u_=Hh.splice,c_=Yh?Yh.toStringTag:void 0,l_=function(){try{var e=N_(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),E=Qh?Qh.isBuffer:void 0,d_=Math.max,f_=Date.now,p_=N_(Zh,"Map"),h_=N_(Object,"create"),g_=function(e){if(!V_(e))return{};if(a_)return a_(e);D_.prototype=e;e=new D_;return D_.prototype=void 0,e},T_.prototype.clear=function(){this.__data__=h_?h_(null):{},this.size=0},T_.prototype.delete=function(e){e=this.has(e)&&delete this.__data__[e];return this.size-=e?1:0,e},T_.prototype.get=function(e){var t,r=this.__data__;return h_?(t=r[e])===Uy?void 0:t:Xy.call(r,e)?r[e]:void 0},T_.prototype.has=function(e){var t=this.__data__;return h_?void 0!==t[e]:Xy.call(t,e)},T_.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=h_&&void 0===t?Uy:t,this},O_.prototype.clear=function(){this.__data__=[],this.size=0},O_.prototype.delete=function(e){var t=this.__data__,e=L_(t,e);return!(e<0||(e==t.length-1?t.pop():u_.call(t,e,1),--this.size,0))},O_.prototype.get=function(e){var t=this.__data__,e=L_(t,e);return e<0?void 0:t[e][1]},O_.prototype.has=function(e){return-1<L_(this.__data__,e)},O_.prototype.set=function(e,t){var r=this.__data__,n=L_(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},M_.prototype.clear=function(){this.size=0,this.__data__={hash:new T_,map:new(p_||O_),string:new T_}},M_.prototype.delete=function(e){e=U_(this,e).delete(e);return this.size-=e?1:0,e},M_.prototype.get=function(e){return U_(this,e).get(e)},M_.prototype.has=function(e){return U_(this,e).has(e)},M_.prototype.set=function(e,t){var r=U_(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},I_.prototype.clear=function(){this.__data__=new O_,this.size=0},I_.prototype.delete=function(e){var t=this.__data__,e=t.delete(e);return this.size=t.size,e},I_.prototype.get=function(e){return this.__data__.get(e)},I_.prototype.has=function(e){return this.__data__.has(e)},I_.prototype.set=function(e,t){var r=this.__data__;if(r instanceof O_){var n=r.__data__;if(!p_||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new M_(n)}return r.set(e,t),this.size=r.size,this},m_=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[++n];if(!1===t(o[s],s,o))break}return e},v_=l_?function(e,t){return l_(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:Q_,y_=b_=0,__=function(){var e=f_(),t=16-(e-y_);if(y_=e,0<t){if(800<=++b_)return arguments[0]}else b_=0;return v_.apply(void 0,arguments)},w_=B_(function(){return arguments}())?B_:function(e){return q_(e)&&Xy.call(e,"callee")&&!s_.call(e,"callee")},A_=Array.isArray,x_=E||function(){return!1},k_=zh?(E_=zh,function(e){return E_(e)}):function(e){return q_(e)&&W_(e.length)&&!!Ky[j_(e)]},S_=function(e,t,r){$_(e,t,r)},Hh=function e(t,r){return __((i=t,s=Q_,a=d_(void 0===(a=r)?i.length-1:a,0),function(){for(var e=arguments,t=-1,r=d_(e.length-a,0),n=Array(r);++t<r;)n[t]=e[a+t];for(var t=-1,o=Array(a+1);++t<a;)o[t]=e[t];return o[a]=s(n),function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}(i,this,o)}),t+"");var i,a,s}(function(e,t){var r=-1,n=t.length,o=1<n?t[n-1]:void 0,i=2<n?t[2]:void 0,o=3<S_.length&&"function"==typeof o?(n--,o):void 0;for(i&&function(e,t,r){var n;if(V_(r))return n=typeof t,("number"==n?H_(r)&&F_(t,r.length):"string"==n&&t in r)&&Z_(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&S_(e,a,r)}return e}),ph.exports=Hh;var J_=fh.exports;function X_(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function ew(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){bn(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 tw(e){return(null!=e&&e.error_url?"<vmap:VASTAdData>".concat(((t=e).promo_url?'<VAST version="3.0">\n <Ad id="'.concat(t.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(t.error_url,"]]></Error>\n <Impression><![CDATA[").concat(t.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(t.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<VAST version="3.0">\n <Ad id="'.concat(t.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(t.error_url,"]]></Error>\n <Impression><![CDATA[").concat(t.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(t.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),"</vmap:VASTAdData>"):'<vmap:AdTagURI templateType="vast3"><![CDATA['.concat(null==e?void 0:e.adtag_url,"]]></vmap:AdTagURI>")).trim();var t}const rw="function"==typeof atob,nw="function"==typeof btoa,ow="function"==typeof nx,iw="function"==typeof TextDecoder?new TextDecoder:void 0,aw="function"==typeof TextEncoder?new TextEncoder:void 0,sw=[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="],uw=(e=>{let r={};return e.forEach((e,t)=>r[e]=t),r})(sw),cw=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,lw=String.fromCharCode.bind(String),dw="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):(e,t=e=>e)=>new Uint8Array(Array.prototype.slice.call(e,0).map(t)),fw=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),pw=nw?e=>btoa(e):ow?e=>nx.from(e,"binary").toString("base64"):t=>{let r,n,o,i,a="";var e=t.length%3;for(let e=0;e<t.length;){if(255<(n=t.charCodeAt(e++))||255<(o=t.charCodeAt(e++))||255<(i=t.charCodeAt(e++)))throw new TypeError("invalid character found");r=n<<16|o<<8|i,a+=sw[r>>18&63]+sw[r>>12&63]+sw[r>>6&63]+sw[63&r]}return e?a.slice(0,e-3)+"===".substring(e):a},hw=ow?e=>nx.from(e).toString("base64"):r=>{let n=[];for(let e=0,t=r.length;e<t;e+=4096)n.push(lw.apply(null,r.subarray(e,e+4096)));return pw(n.join(""))},gw=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?lw(192|t>>>6)+lw(128|63&t):lw(224|t>>>12&15)+lw(128|t>>>6&63)+lw(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return lw(240|t>>>18&7)+lw(128|t>>>12&63)+lw(128|t>>>6&63)+lw(128|63&t)},mw=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,vw=ow?e=>nx.from(e,"utf8").toString("base64"):aw?e=>hw(aw.encode(e)):e=>pw((e=>e.replace(mw,gw))(e)),bw=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,yw=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return lw(55296+(t>>>10))+lw(56320+(1023&t));case 3:return lw((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return lw((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},_w=rw?e=>atob(fw(e)):ow?e=>nx.from(e,"base64").toString("binary"):t=>{if(t=t.replace(/\s+/g,""),!cw.test(t))throw new TypeError("malformed base64.");t+="==".slice(2-(3&t.length));let r,n,o,i="";for(let e=0;e<t.length;)r=uw[t.charAt(e++)]<<18|uw[t.charAt(e++)]<<12|(n=uw[t.charAt(e++)])<<6|(o=uw[t.charAt(e++)]),i+=64===n?lw(r>>16&255):64===o?lw(r>>16&255,r>>8&255):lw(r>>16&255,r>>8&255,255&r);return i},ww=ow?e=>dw(nx.from(e,"base64")):e=>dw(_w(e),e=>e.charCodeAt(0)),Aw=ow?e=>nx.from(e,"base64").toString("utf8"):iw?e=>iw.decode(ww(e)):e=>(e=>e.replace(bw,yw))(_w(e)),xw=(e,t=!1)=>t?(e=>e.replace(/[+\/]/g,e=>"+"==e?"-":"_").replace(/=+$/m,""))(vw(e)):vw(e),Ew=e=>Aw((e=>fw(e.replace(/[-_]/g,e=>"-"==e?"+":"/")))(e));function kw(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function Sw(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?kw(Object(r),!0).forEach(function(e){bn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kw(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function Rw(e){var t=this,r=(te(this,Rw),bn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qd(t.moduleName);case 2:t.module=e.sent;case 3:case"end":return e.stop()}},e)}))),bn(this,"promo",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.module){e.next=3;break}return e.next=3,t.load();case 3:return e.abrupt("return",t.module[t.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),e.package||"gd-sdk-stone-dynamic"),n=e.package_version||"1.1.1",o=e.template||"puzzle",e=e.dependencies||[];this.moduleName="GDPromoByOrbit",this.moduleDefault=o.charAt(0).toUpperCase()+o.slice(1),this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/".concat(r,"/").concat(n,"/dist/").concat(o.toLowerCase(),"/iife/index.js"),dependencies:e},zd(this.moduleName,this.moduleConfig)}function Dw(e){var t=this,r=(te(this,Dw),bn(this,"load",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,qd(t.moduleName);case 2:t.module=e.sent;case 3:case"end":return e.stop()}},e)}))),bn(this,"splash",p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.module){e.next=3;break}return e.next=3,t.load();case 3:return e.abrupt("return",t.module[t.moduleDefault]);case 4:case"end":return e.stop()}},e)}))),e.package||"gd-sdk-air-dynamic"),n=e.package_version||"1.2.0",o=e.template||"pluto",e=e.dependencies||[];this.moduleName="GDSplashDynamic",this.moduleDefault=o.charAt(0).toUpperCase()+o.slice(1),this.moduleConfig={source:"https://pm.gamedistribution.com/@bygd/".concat(r,"/").concat(n,"/dist/").concat(o.toLowerCase(),"/iife/index.js"),dependencies:e},zd(this.moduleName,this.moduleConfig)}function Tw(e,t){console.log(e,t)}var Ow,Mw,Iw,Cw,Lw,Pw,jw,Bw,$w,Uw,Nw,Fw,Gw,zw,Zw,Hw,Kw,Ww,Vw,qw=null,Yw=(ne(eA,[{key:"start",value:(Vw=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._init_afg_script({adsense_channel:"4089988593"});case 3:return e.next=5,this._init_hl_script();case 5:return e.next=7,this._init_ima_script();case 7:this._createPlayer(),this._setUpIMA(),e.next=14;break;case 11:throw e.prev=11,e.t0=e.catch(0),new Error(e.t0);case 14:case"end":return e.stop()}},e,this,[[0,11]])})),function(){return Vw.apply(this,arguments)})},{key:"_getAdVast",value:function(l,d){var t,f=this;return new Promise((t=p(h.mark(function e(n){var t,r,o,i,a,s,u,c=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Qr&&Vr("gd_debug_ex")&&Vr("gd_tag"))return r=f.IMASampleTags[l],t=Math.floor(Math.random()*r.length),r=r[t],n({url:r}),e.abrupt("return");e.next=6;break;case 6:if(void 0===window.idhb.requestAds)throw new Error("Prebid.js wrapper script hit an error or didn't exist!");e.next=8;break;case 8:return e.prev=8,o=f.nextAdPosition(l),f.eventBus.broadcast("AD_REQUEST",{message:o}),i=f.options,"preroll"===o&&Ct(i.preroll)?i=i.preroll:"midroll"===o&&Ct(i.midroll)?i=i.midroll:"rewarded"===o&&Ct(i.rewarded)&&(i=i.rewarded),a="rewarded"===o?"rewardedVideo":"gdbanner"===o?"gd__banner":"midroll"===o?"midroll":"video1",e.next=16,window.idhb.isLoaded();case 16:if(s={tnl_keys:Sw(Sw({},window.idhb.getAdserverTargetingForAdSlot(a)),{},{tnl_ad_pos:o,tnl_asset_id:f.gameData.gameId})},d&&d.retry_on_success&&Ct(i.retry_on_success)&&Ct(i.retry_on_success.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.retry_on_success.vast,s)));e.next=21;break;case 21:if(d&&d.retry_on_failure&&f.options.retry_on_failure&&Ct(i.retry_on_failure.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.retry_on_failure.vast,s)));e.next=25;break;case 25:if(Ct(i.vast))return e.abrupt("return",n(f._createCustomAdVastUrl(i.vast,s)));e.next=27;break;case 27:return e.next=29,f._create_dp_context(o,d);case 29:u=e.sent,window.idhb.requestAds({slots:bn({},a,{bidFloor:null!=u&&u.floor_price?u.floor_price:void 0}),callback:function(e,t){var r=this;A(this,c),!u||null!=t&&t.bidFloorApplied||fetch(u.skip_url).catch(function(e){A(this,r)}.bind(this)),n({tnl_keys:Sw(Sw({},window.idhb.getAdserverTargetingForAdSlot(a)),{},{tnl_ad_pos:o,tnl_asset_id:f.gameData.gameId}),url:e,dp:u,hl:t})}.bind(this)}),e.next=36;break;case 33:throw e.prev=33,e.t0=e.catch(8),new Error(e.t0);case 36:case"end":return e.stop()}},e,this,[[8,33]])})),function(e){return t.apply(this,arguments)}))}},{key:"nextAdPosition",value:function(e){return e===g.Rewarded?(this.adRewardedCount++,"rewarded"):e===g.Interstitial?((e=!1===this.gameData.preroll||!0===this.noPreroll||1===this.adPrerollCount)?this.adMidrollCount++:this.adPrerollCount++,e||0<this.adMidrollCount?"midroll":"preroll"):"midroll"}},{key:"getAdPosition",value:function(e){return e===g.Rewarded?"rewarded":e!==g.Interstitial||!1===this.gameData.preroll||!0===this.noPreroll||1===this.adPrerollCount||0<this.adMidrollCount?"midroll":"preroll"}},{key:"_requestAd",value:function(y,_){var w=this;return _=_||{},new Promise(function(e){if(A(this,w),"undefined"==typeof google)throw new Error("Unable to load ad, google IMA SDK not defined.");try{var t,r,n,o,i=null==y||null==(t=y.tnl_keys)?void 0:t.tnl_ad_pos,a=(this.adSuccess=!1,new google.ima.AdsRequest),s=this._transformVast(y,_),u=Sw(Sw({},_),{},{adTag:s,tnl_ad_pos:i}),c=(this.adCounter[i]=this.adCounter[i]||0,this.adCounter[i]++,y.dp),l=y.hl;c&&(c.adtag_url=s.url,this._extend_dp_with_adsense(c,l,null==y?void 0:y.tnl_keys)),this._isVMAP(i)?(p=this._get_vmap_context({dp:c,adtag:s,position:"preroll"===u.tnl_ad_pos?"preroll":"midroll",config:this._get_vmap_config(i)}),h=p.position||"midroll",g=p.dp_1,m=p.dp_2,v=Date.now(),(b=new ee(p.adtag_url_1,!0)).query=ew(ew({},b.query),{},{ad_rule:0,vpos:h,pod:1,ppos:1,lip:!0,correlator:v,output:"xml_vast3"}),b=b.toString(),(p=new ee(p.adtag_url_2,!0)).query=ew(ew({},p.query),{},{ad_rule:0,vpos:h,pod:1,correlator:++v,output:"xml_vast3"}),h=p.toString(),v=Date.now(),r='<?xml version="1.0" encoding="UTF-8"?>\n<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0">\n<vmap:AdBreak timeOffset="start" breakType="linear,nonlinear" breakId="break-1">\n <vmap:AdSource id="'.concat(v++,'" allowMultipleAds="false" followRedirects="true">\n ').concat(tw({id:v++,adtag_url:b,error_url:null==g?void 0:g.error_url,impression_url:null==g?void 0:g.impression_url}),'\n </vmap:AdSource>\n</vmap:AdBreak>\n<vmap:AdBreak timeOffset="start" breakType="linear,nonlinear" breakId="break-2">\n <vmap:AdSource id="').concat(v++,'" allowMultipleAds="false" followRedirects="true">\n ').concat(tw({id:+v,adtag_url:h,error_url:null==m?void 0:m.error_url,impression_url:null==m?void 0:m.impression_url}),'\n </vmap:AdSource>\n <vmap:Extensions>\n <vmap:Extension type="bumper" suppress_bumper="true"></vmap:Extension>\n </vmap:Extensions>\n</vmap:AdBreak>\n</vmap:VMAP>').trim(),a.adsResponse=r):c&&l.bidFloorApplied?(n=((f=c).promo_url?f.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(f.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(f.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="2" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="promo">\n <Wrapper>\n <AdSystem>Rainbow</AdSystem>\n <Impression><![CDATA[').concat(f.promo_imp_green_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.promo_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):f.fallback_url?'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(f.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>'):'<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat(f.id,'">\n <Wrapper>\n <AdSystem>GDFP</AdSystem>\n <Error><![CDATA[').concat(f.error_url,"]]></Error>\n <Impression><![CDATA[").concat(f.impression_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(f.adtag_url,"]]></VASTAdTagURI>\n </Wrapper>\n </Ad>\n </VAST>")).trim(),a.adsResponse=n):c&&c.fallback_url?(o='<?xml version="1.0" encoding="utf-8"?>\n <VAST version="3.0">\n <Ad id="'.concat((d=c).id,'">\n <Wrapper fallbackOnNoAd="true">\n <AdSystem>GDFP</AdSystem>\n <Impression><![CDATA[').concat(d.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(d.adtag_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="0" />\n </Extensions>\n </Wrapper>\n </Ad>\n <Ad id="fallback">\n <Wrapper>\n <AdSystem>ADS</AdSystem>\n <Impression><![CDATA[').concat(d.fallback_imp_url,"]]></Impression>\n <VASTAdTagURI><![CDATA[").concat(d.fallback_url,']]></VASTAdTagURI>\n <Extensions>\n <Extension type="waterfall" fallback_index="1" />\n </Extensions>\n </Wrapper>\n </Ad>\n </VAST>').trim(),a.adsResponse=o):a.adTagUrl=s.url,a.linearAdSlotWidth=this.options.width,a.linearAdSlotHeight=this.options.height,a.nonLinearAdSlotWidth=this.options.width,a.nonLinearAdSlotHeight=this.options.height,a.forceNonLinearFullSlot=!0,this.options.vast_load_timeout&&(a.vastLoadTimeout=this.options.vast_load_timeout),a.setAdWillAutoPlay(_.autoplayAllowed),a.setAdWillPlayMuted(_.autoplayRequiresMute),this.adsLoader.requestAds(a,u);try{this.eventBus.broadcast("AD_SDK_REQUEST",{message:u})}catch(e){}e(a)}catch(e){throw new Error(e)}var d,f,p,h,g,m,v,b}.bind(this))}},{key:"cancel",value:function(){var e;!1!==this.requestRunning&&(this.requestRunning=!1,this._resetAdsLoader(),this._hide("cancel"),this.eventBus.broadcast(e="AD_SDK_CANCELED",{name:e,message:"Advertisement has been canceled.",status:"warning",analytics:{category:this.eventCategory,action:e,label:this.gameData.gameId}}))}},{key:"_checkAutoPlay",value:(Ww=p(h.mark(function e(){var o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(r,e){var n=this,t=(A(this,o),navigator.userAgent.toLowerCase());-1<t.indexOf("safari")&&t.indexOf("chrome")<0?r({autoplayAllowed:!0,autoplayRequiresMute:!0}):R_({inline:!0,muted:!1}).then(function(e){A(this,n);var t=e.result;e.error,r(!0===t?{autoplayAllowed:!0,autoplayRequiresMute:!1}:{autoplayAllowed:!0,autoplayRequiresMute:!0})}.bind(this))}.bind(this)));case 1:case"end":return e.stop()}},e,this)})),function(){return Ww.apply(this,arguments)})},{key:"_initDisplayContainerWithAutoPlay",value:(Kw=p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._checkAutoPlay(!1);case 2:return t=e.sent,this._autoplay=t,this.video_ad_player.autoplay=t.autoplayAllowed,this.video_ad_player.volume=t.autoplayRequiresMute?0:1,this.video_ad_player.muted=!!t.autoplayRequiresMute,t.adDisplayContainerInitialized||(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0),e.abrupt("return",t);case 9:case"end":return e.stop()}},e,this)})),function(){return Kw.apply(this,arguments)})},{key:"startAd",value:(Hw=p(h.mark(function e(t){var r,n,o;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.gameData.afg_disabled,n=t.adType,o=t.params,this.adType_=n,console.log("gd:adp startAd afgDisabled",r),n!==g.Interstitial){e.next=24;break}if(r)return e.abrupt("return",this._startInterstitialAd(o));e.next=9;break;case 9:if("preroll"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementPreroll(t));e.next=13;break;case 13:if("start"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementStart(t));e.next=17;break;case 17:if("next"===(null==o?void 0:o.position)&&"adsense"===(null==o?void 0:o.adapter))return e.abrupt("return",this._startAdsensePlacementNext(t));e.next=21;break;case 21:return e.abrupt("return",this._startInterstitialAd(o));case 22:e.next=33;break;case 24:if(n!==g.Rewarded){e.next=32;break}if(r)return e.abrupt("return",this._startRewardedAd(o));e.next=29;break;case 29:return e.abrupt("return",this._startAdsensePlacementRewardedAd(t));case 30:e.next=33;break;case 32:throw new Error("Unsupported ad type");case 33:case"end":return e.stop()}},e,this)})),function(e){return Hw.apply(this,arguments)})},{key:"preloadAd",value:(Zw=p(h.mark(function e(t){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t===g.Interstitial)return e.abrupt("return","gdsdk://preloaded");e.next=4;break;case 4:if(t===g.Rewarded)return e.abrupt("return","gdsdk://preloaded");e.next=8;break;case 8:throw new Error("Unsupported ad type");case 9:case"end":return e.stop()}},e)})),function(e){return Zw.apply(this,arguments)})},{key:"addAdResume",value:function(){var e=this,t=function(){A(this,e),this.adsManager.resume()}.bind(this);try{this.adResume=new Cy(this.adContainer,t),this.adResume.add()}catch(e){console.log("error on adding adResume",e)}}},{key:"loadDisplayAd",value:(zw=p(h.mark(function e(c){var l=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){var n,o,i,a,s,u=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,(o=c?c.containerId:null)||r("Container id is not specified"),n=document.getElementById(o),document.getElementById(o)||r("No container is found with this id - ".concat(o)),void 0===window.idhb.requestAds&&r("Prebid.js wrapper script hit an error or didn't exist!"),o=c.slotId||"gd__banner@".concat(o),document.getElementById(o)||(a="\n .gd__banner{\n z-index: ".concat(an,";\n height: 100%;\n display: flex !important;\n align-items: center;\n justify-content: center;\n }"),document.getElementById("gd__banner__style")||((i=document.createElement("style")).type="text/css",i.id="gd__banner__style",i.styleSheet?i.styleSheet.cssText=a:i.appendChild(document.createTextNode(a)),n.appendChild(i)),(a=document.createElement("div")).id=o,a.classList.add("gd__banner"),n.appendChild(a)),e.next=10,l._create_dp_display_context();case 10:l.atom_display=e.sent,null!=(i=l.atom_display)&&i.params&&window.idhb.setAdserverTargeting(null==(a=l.atom_display)?void 0:a.params),(s={})[o]={maxSize:[n.offsetWidth,n.offsetHeight]},window.idhb.requestAds({slots:s,callback:function(e){A(this,u)}.bind(this)}),t(),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(0),r(e.t0.message||e.t0);case 21:case"end":return e.stop()}},e,this,[[0,18]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return zw.apply(this,arguments)})},{key:"_startInterstitialAd",value:(Gw=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:return this.requestRunning=!0,e.next=7,this._initDisplayContainerWithAutoPlay();case 7:return r=e.sent,e.next=10,this._loadInterstitialAd(Sw(Sw({},r),t));case 10:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),this._onError(e.t0),e.t0;case 19:case"end":return e.stop()}},e,this,[[0,15]])})),function(e){return Gw.apply(this,arguments)})},{key:"_loadInterstitialAd",value:(Fw=p(h.mark(function e(t){var r,n,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._resetAdsLoader(),e.prev=1,e.t0=this.preloadedInterstitialAdVast,e.t0){e.next=7;break}return e.next=6,this._getAdVast(g.Interstitial,t);case 6:e.t0=e.sent;case 7:return r=e.t0,delete this.preloadedInterstitialAdVast,e.next=11,this._requestAd(r,Sw({adType:g.Interstitial},t));case 11:return n=e.sent,e.next=14,new Promise(function(t,r){var n=this,o=(A(this,a),"videoad.preloadad"),e=(this.eventBus.unsubscribeScope(o),function(e){A(this,n),this.eventBus.unsubscribeScope(o),t(e.message)}.bind(this)),i=function(e){A(this,n),this.eventBus.unsubscribeScope(o),r(e.message)}.bind(this);this.eventBus.subscribe("AD_SDK_MANAGER_READY",e,o),this.eventBus.subscribe("AD_SDK_CANCELED",i,o),this.eventBus.subscribe("AD_ERROR",i,o)}.bind(this));case 14:return e.abrupt("return",n);case 17:throw e.prev=17,e.t1=e.catch(1),new Error(e.t1);case 20:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return Fw.apply(this,arguments)})},{key:"_startRewardedAd",value:(Nw=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=4;break;case 4:return this.requestRunning=!0,e.next=7,this._initDisplayContainerWithAutoPlay();case 7:return r=e.sent,e.next=10,this._loadRewardedAd(Sw(Sw({},r),t));case 10:r.autoplayRequiresMute&&this.adsManager.setVolume(0),this.adsManager.init(this.options.width,this.options.height,google.ima.ViewMode.NORMAL),this.adsManager.start(),e.next=19;break;case 15:throw e.prev=15,e.t0=e.catch(0),this._onError(e.t0),e.t0;case 19:case"end":return e.stop()}},e,this,[[0,15]])})),function(e){return Nw.apply(this,arguments)})},{key:"_loadRewardedAd",value:(Uw=p(h.mark(function e(t){var r,n,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._resetAdsLoader(),e.prev=1,e.t0=this.preloadedRewardedAdVast,e.t0){e.next=7;break}return e.next=6,this._getAdVast(g.Rewarded,t);case 6:e.t0=e.sent;case 7:return r=e.t0,delete this.preloadedRewardedAdVast,e.next=11,this._requestAd(r,Sw({adType:g.Rewarded},t));case 11:return n=e.sent,e.next=14,new Promise(function(t,r){var n=this,o=(A(this,a),"videoad.preloadad"),e=(this.eventBus.unsubscribeScope(o),function(e){A(this,n),this.eventBus.unsubscribeScope(o),t(e.message)}.bind(this)),i=function(e){A(this,n),this.eventBus.unsubscribeScope(o),r(e.message)}.bind(this);this.eventBus.subscribe("AD_SDK_MANAGER_READY",e,o),this.eventBus.subscribe("AD_SDK_CANCELED",i,o),this.eventBus.subscribe("AD_ERROR",i,o)}.bind(this));case 14:return e.abrupt("return",n);case 17:throw e.prev=17,e.t1=e.catch(1),new Error(e.t1);case 20:case"end":return e.stop()}},e,this,[[1,17]])})),function(e){return Uw.apply(this,arguments)})},{key:"_preloadInterstitialAd",value:($w=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=this.preloadedInterstitialAdVast,e.t0){e.next=6;break}return e.next=5,this._getAdVast(g.Interstitial);case 5:e.t0=e.sent;case 6:return this.preloadedInterstitialAdVast=e.t0,e.abrupt("return",this.preloadedInterstitialAdVast.url);case 10:throw e.prev=10,e.t1=e.catch(0),new Error(e.t1);case 13:case"end":return e.stop()}},e,this,[[0,10]])})),function(){return $w.apply(this,arguments)})},{key:"_preloadRewardedAd",value:(Bw=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,e.t0=this.preloadedRewardedAdVast,e.t0){e.next=6;break}return e.next=5,this._getAdVast(g.Rewarded);case 5:e.t0=e.sent;case 6:return this.preloadedRewardedAdVast=e.t0,e.abrupt("return",this.preloadedRewardedAdVast.url);case 10:throw e.prev=10,e.t1=e.catch(0),new Error(e.t1);case 13:case"end":return e.stop()}},e,this,[[0,10]])})),function(){return Bw.apply(this,arguments)})},{key:"_onError",value:function(e){this.cancel(),this._clearSafetyTimer("ERROR")}},{key:"_hide",value:function(e){this.video_ad_player.src="",this.activeAdContainer&&(this.activeAdContainer.style.visibility="hidden")}},{key:"_show",value:function(e){var t,r,n=this;this.activeAdContainer&&(this.activeAdContainer.style.visibility="visible",t=null==e?void 0:e.mode,e=this._isT4R(e),r=this._getT4ROptions(),"loaded"===t?(this.activeAdContainer.style.opacity=e?.001:1,e&&this.adsManager.setVolume(0),e&&this.eventBus.broadcast("AD_T4R"),e&&setTimeout(function(){A(this,n),this.activeAdContainer.style.opacity=1,this.adsManager.setVolume(1)}.bind(this),((null==r?void 0:r.min)||1234)+Math.random()*((null==r?void 0:r.max)||3210))):"click"!==t&&"first_quartile"!==t||(this.activeAdContainer.style.opacity=1,this.adsManager.setVolume(1)))}},{key:"_createPlayer",value:function(){var r=this,e=document.body||document.getElementsByTagName("body")[0],n=(this.adContainer=document.createElement("div"),this.adContainer.id="".concat(this.prefix,"advertisement"),this.adContainer.style.position=this.thirdPartyContainer?"absolute":"fixed",this.adContainer.style.zIndex=on,this.adContainer.style.top="0",this.adContainer.style.left="0",this.adContainer.style.width="100%",this.adContainer.style.height="100%",this.thirdPartyContainer&&(this.thirdPartyContainer.style.transform=null),document.createElement("video")),o=(n.setAttribute("playsinline",!0),n.setAttribute("webkit-playsinline",!0),n.id="".concat(this.prefix,"advertisement_video"),n.style.position="absolute",n.style.backgroundColor="#000000",n.style.top="0",n.style.left="0",n.style.width=this.options.width+"px",n.style.height=this.options.height+"px",this.video_ad_player=n,this.adContainer.appendChild(n),document.createElement("div")),e=(o.id="".concat(this.prefix,"advertisement_slot"),o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.width=this.options.width+"px",o.style.height=this.options.height+"px",this.adContainerInner=o,this.activeAdContainer=this.adContainer,this.thirdPartyContainer?(this.adContainer.appendChild(o),this.thirdPartyContainer.appendChild(this.adContainer),this.activeAdContainer=this.thirdPartyContainer):(this.adContainer.appendChild(o),e.appendChild(this.adContainer)),this.addAdResume(),this.activeAdContainer.style.visibility="hidden",function(){A(this,r);var e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.options.width=this.thirdPartyContainer?this.thirdPartyContainer.offsetWidth:e,this.options.height=this.thirdPartyContainer?this.thirdPartyContainer.offsetHeight:t,o.style.width=this.options.width+"px",o.style.height=this.options.height+"px",n.style.width=this.options.width+"px",n.style.height=this.options.height+"px"}.bind(this));window.addEventListener("resize",e),window.document.addEventListener("DOMContentLoaded",e)}},{key:"_setUpIMA",value:function(){this.adDisplayContainer=new google.ima.AdDisplayContainer(this.adContainerInner,this.video_ad_player),this.adsLoader=new google.ima.AdsLoader(this.adDisplayContainer),this.adsLoader.getSettings().setDisableCustomPlaybackForIOS10Plus(!0),this.adsLoader.getSettings().setLocale(this.options.locale),this.adsLoader.getSettings().setVpaidMode(this._getVPAIDMode()),this.adsLoader.getSettings().setAutoPlayAdBreaks(!0);var e=this.adsLoader.getSettings().getNumRedirects();this.adsLoader.getSettings().setNumRedirects(2*e),this.adsLoader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,this._onAdsManagerLoaded,!1,this),this.adsLoader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError,!1,this)}},{key:"_onAdsManagerLoaded",value:function(e){var t=this,r=new google.ima.AdsRenderingSettings,r=(r.autoAlign=!1,r.enablePreloading=!1,r.restoreCustomPlaybackStateOnAdBreakComplete=!0,r.useStyledNonLinearAds=!0,r.uiElements=[google.ima.UiElements.AD_ATTRIBUTION,google.ima.UiElements.COUNTDOWN],this.adsManager=e.getAdsManager(this.video_ad_player,r),this.adsManager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,this._onAdError.bind(this),!1,this),this.adsManager.addEventListener(google.ima.AdEvent.Type.AD_BREAK_READY,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.AD_METADATA,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.ALL_ADS_COMPLETED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CLICK,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.COMPLETE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.DURATION_CHANGE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.FIRST_QUARTILE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.IMPRESSION,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.INTERACTION,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LINEAR_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOADED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.LOG,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.MIDPOINT,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.PAUSED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.RESUMED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.SKIPPED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.STARTED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.THIRD_QUARTILE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.USER_CLOSE,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.VOLUME_CHANGED,this._onAdEvent.bind(this),this),this.adsManager.addEventListener(google.ima.AdEvent.Type.VOLUME_MUTED,this._onAdEvent.bind(this),this),window.addEventListener("resize",function(){A(this,t),this.adsManager&&this.adsManager.resize(this.options.width,this.options.height,google.ima.ViewMode.NORMAL)}.bind(this)),this.adDisplayContainerInitialized||(this.adDisplayContainer.initialize(),this.adDisplayContainerInitialized=!0),new Date),n=r.getHours(),o=r.getDate(),i=r.getMonth(),r=r.getFullYear(),a="AD_SDK_MANAGER_READY";this.eventBus.broadcast(a,{name:a,message:"AD SDK is ready",status:"success",analytics:{category:a,action:this.parentDomain,label:"h".concat(n," d").concat(o," m").concat(i," y").concat(r)}}),this._adrequest_user_context=e.getUserRequestContext()}},{key:"_onAdEvent",value:function(e){var t,r,n=new Date,o=n.getHours(),i=n.getDate(),a=n.getMonth(),n=n.getFullYear(),s=(t=google.ima.AdEvent.Type,r=e.type,Object.keys(t).find(function(e){return t[e]===r})),u=!1,c=(null==e||null==(c=e.getAd())?void 0:c.getContentType())||"",l=!c.startsWith("image")&&!c.startsWith("text"),d=(this._sendIMAEventsToHB(e),"");switch(e.type){case google.ima.AdEvent.Type.AD_BREAK_READY:d="Fired when an ad rule or a VMAP ad break would have played if autoPlayAdBreaks is false.";break;case google.ima.AdEvent.Type.AD_METADATA:d="Fired when an ads list is loaded.";break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:u=!0,d="Fired when the ads manager is done playing all the ads.";break;case google.ima.AdEvent.Type.CLICK:var d="Fired when the ad is clicked.",f=e.getAd().getContentType();this._show({mode:"click",contentType:f});break;case google.ima.AdEvent.Type.COMPLETE:u=this._is_completed(e.getAd()),d="Fired when the ad completes playing.",this.adType_===g.Rewarded&&this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"});break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:d="Fired when content should be paused. This usually happens right before an ad is about to cover the content.";break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:d="Fired when content should be resumed. This usually happens when an ad finishes or collapses.",u=!0,this._hideAddResume();break;case google.ima.AdEvent.Type.DURATION_CHANGE:d="Fired when the ad's duration changes.";break;case google.ima.AdEvent.Type.FIRST_QUARTILE:d="Fired when the ad playhead crosses first quartile.";f=e.getAd().getContentType();this._show({mode:"first_quartile",contentType:f});break;case google.ima.AdEvent.Type.IMPRESSION:d="Fired when the impression URL has been pinged.";break;case google.ima.AdEvent.Type.INTERACTION:d="Fired when an ad triggers the interaction callback. Ad interactions contain an interaction ID string in the ad data.";break;case google.ima.AdEvent.Type.LINEAR_CHANGED:d="Fired when the displayed ad changes from linear to nonlinear, or vice versa.";break;case google.ima.AdEvent.Type.LOADED:f=e.getAd().getContentType();this._show({mode:"loaded",contentType:d=f});break;case google.ima.AdEvent.Type.LOG:e.getAdData().adError&&(d=e.getAdData());break;case google.ima.AdEvent.Type.MIDPOINT:d="Fired when the ad playhead crosses midpoint.";break;case google.ima.AdEvent.Type.PAUSED:l&&this.adResume.show(),d="Fired when the ad is paused.";break;case google.ima.AdEvent.Type.RESUMED:d="Fired when the ad is resumed.",l&&this.adResume.hide();break;case google.ima.AdEvent.Type.SKIPPABLE_STATE_CHANGED:d="Fired when the displayed ads skippable state is changed.";break;case google.ima.AdEvent.Type.SKIPPED:u=this._is_completed(e.getAd()),d="Fired when the ad is skipped by the user.";break;case google.ima.AdEvent.Type.STARTED:this._hideAddResume(),d="Fired when the ad starts playing.";break;case google.ima.AdEvent.Type.THIRD_QUARTILE:d="Fired when the ad playhead crosses third quartile.";break;case google.ima.AdEvent.Type.USER_CLOSE:u=this._is_completed(e.getAd()),d="Fired when the ad is closed by the user.";break;case google.ima.AdEvent.Type.VOLUME_CHANGED:d="Fired when the ad volume has changed.";break;case google.ima.AdEvent.Type.VOLUME_MUTED:d="Fired when the ad volume has been muted."}""!==s&&""!==d&&this.eventBus.broadcast(s,{name:s,message:d,status:"success",analytics:{category:s,action:this.parentDomain,label:"h".concat(o," d").concat(i," m").concat(a," y").concat(n)}}),u&&!this.adSuccess&&(this.adSuccess=!0,this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this.resetForNext(e))}},{key:"_onAdError",value:function(e){this.requestRunning=!1,this._resetAdsLoader(),this._clearSafetyTimer("ERROR"),this._hide("_onAdError"),this._sendIMAEventsToHB(e);try{var t=e.getError(),r=t.getErrorCode().toString()||t.getVastErrorCode().toString(),n=this._getInnerErrorCode(t);this.eventBus.broadcast("AD_ERROR",{message:r,details:n,status:"warning",analytics:{category:"AD_ERROR",action:n,label:r}}),this._hideAddResume()}catch(e){}}},{key:"_hideAddResume",value:function(){try{console.log("gd:adp will hide adresume"),this.adResume&&this.adResume.hide(),console.log("gd:adp hiding adresume")}catch(e){console.log("Error on hide adResume",e)}}},{key:"_sendIMAEventsToHB",value:function(e){if(window.idhb&&"function"==typeof window.idhb.onImaEvent)try{window.idhb.onImaEvent({event:e})}catch(e){}}},{key:"_resetAdsLoader",value:function(){this.adsManager&&(this.adsManager.destroy(),this.adsManager=null,this._adrequest_user_context=null),this.adsLoader&&this.adsLoader.contentComplete()}},{key:"_startSafetyTimer",value:function(e,t){var r=this;this.safetyTimer&&clearTimeout(this.safetyTimer),this.safetyTimer=window.setTimeout(function(){A(this,r),this.cancel(),this._clearSafetyTimer(t)}.bind(this),e)}},{key:"_clearSafetyTimer",value:function(e){void 0!==this.safetyTimer&&null!==this.safetyTimer&&(clearTimeout(this.safetyTimer),this.safetyTimer=void 0)}},{key:"_getVPAIDMode",value:function(){return google.ima.ImaSdkSettings.VpaidMode.ENABLED}},{key:"_getPrebidScripts",value:function(){var e=["https://hb.improvedigital.com/pbw/headerlift.min.js","http://hb.improvedigital.com/pbw/headerlift.min.js"];return this.options.hb_script?[this.options.hb_script].concat(e):e}},{key:"_getInnerErrorCode",value:function(e){if(Lt(e.getInnerError)){e=e.getInnerError();if(e)return Lt(e.getErrorCode)&&Lt(e.getVastErrorCode)?e.getErrorCode().toString()||e.getVastErrorCode().toString():e.message}}},{key:"resetForNext",value:function(){this.requestRunning=!1,this._hide("resetForNext")}},{key:"_createCustomAdVastUrl",value:function(e,t){var r=this;if(e){var n,o=this.macros.transform(e,{get:function(e){if(A(this,r),t&&t.tnl_keys)return t.tnl_keys[e.toLowerCase()]}.bind(this)});for(n in o.query||{}){var i=o.query[n];Ct(i)&&(o.query[n]=U.stringify(i))}e=new ee(o.url,!0);return J_(e.query,o.query||{}),Sw({url:e.toString()},t)}}},{key:"_transformVast",value:function(e,t){var r={url:e.url};try{var n,o=new ee(e.url,!0),i=this._transformQuery(e,t,o),a=(i&&(r.url=o.toString()),i?o:new ee(e.url,!0));a.query.cust_params&&(n=U.parse(a.query.cust_params),r.bidder=n.hb_bidder,r.cust_params=n),r.url_parsed=a}catch(e){r.hasError=!0,r.message=e.message,r.bidder="error",console.log(e.message)}return r}},{key:"_transformQuery",value:function(t,e,r){var n=this;if(t&&e&&t.tnl_keys){var o=this.options.vast_query;if(e.retry_on_success&&this.options.retry_on_success&&Ct(this.options.retry_on_success.vast_query)?o=this.options.retry_on_success.vast_query:e.retry_on_failure&&this.options.retry_on_failure&&Ct(this.options.retry_on_failure.vast_query)&&(o=this.options.retry_on_failure.vast_query),Ct(o=Mt(o))){var i=r.query;if(o.$$remove){for(var a in i)new RegExp(o.$$remove,"i").test(a)&&delete i[a];delete o.$$remove}var s=U.parse(i.cust_params);if(o.cust_params&&o.cust_params.$$remove){for(var u in s)new RegExp(o.cust_params.$$remove,"i").test(u)&&delete s[u];delete o.cust_params.$$remove}e=this.macros.transform(o,{get:function(e){return A(this,n),t.tnl_keys[e.toLowerCase()]}.bind(this)});return i.cust_params=s,J_(i,e),i.cust_params=U.stringify(i.cust_params),!0}}}},{key:"_isT4R",value:function(e){var t,r=null==(r=this._adrequest_user_context)?void 0:r.tnl_ad_pos;return null!=e&&null!=(t=e.contentType)&&t.startsWith("image/")||"text"===(null==e?void 0:e.contentType)?r&&("preroll"===r&&(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.t4r)?void 0:t.enabled)||"midroll"===r&&(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.t4r)?void 0:t.enabled)||"rewarded"===r&&(null==(t=this.gameData)||null==(t=t.rAds)||null==(t=t.t4r)?void 0:t.enabled)):!(null==e||!e.contentType.startsWith("video/"))&&(0<(e="preroll"===r?null==(t=this.gameData)||null==(e=t.pAds)||null==(t=e.t4r)?void 0:t.viper:"midroll"===r?null==(e=this.gameData)||null==(t=e.mAds)||null==(e=t.t4r)?void 0:e.viper:"rewarded"===r?null==(t=this.gameData)||null==(e=t.rAds)||null==(t=e.t4r)?void 0:t.viper:0)&&(t=Math.random()<e,r&&t&&("preroll"===r&&(null==(e=this.gameData)||null==(t=e.pAds)||null==(e=t.t4r)?void 0:e.enabled)||"midroll"===r&&(null==(t=this.gameData)||null==(e=t.mAds)||null==(t=e.t4r)?void 0:t.enabled)||"rewarded"===r&&(null==(e=this.gameData)||null==(t=e.rAds)||null==(r=t.t4r)?void 0:r.enabled))))}},{key:"_isVMAP",value:function(e){if(!e)return!1;var t="preroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.vmap)?void 0:t.enabled))||"midroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.vmap)?void 0:t.enabled))||"rewarded"===e&&(!0===(null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.vmap)||!0===(null==(t=this.gameData)||null==(t=t.rAds)||null==(t=t.vmap)?void 0:t.enabled));if(!t)return!1;var r=this._get_vmap_config(e),e=this.adCounter[e];return void 0!==(null==r?void 0:r.start)?e>=(null==r?void 0:r.start):t}},{key:"_getT4ROptions",value:function(){var e,t;switch(null==(e=this._adrequest_user_context)?void 0:e.tnl_ad_pos){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.t4r;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.t4r;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.t4r}}},{key:"_is_completed",value:function(e){var t=e.getContentType(),e=e.getAdPodInfo();return!(!t.startsWith("image/")&&"text"!==t&&1!==e.getTotalAds())}},{key:"_get_vmap_context",value:function(e){var t=e.adtag,r=e.position,n=e.config,e=e.dp,o=this._createCustomAdVastUrl(null==n?void 0:n.vast_1)||t,t=this._createCustomAdVastUrl(null==n?void 0:n.vast_2)||t,i=null!=n&&n.vast_1?void 0:e,n=null!=n&&n.vast_2?void 0:e;return{adtag_url_1:null==o?void 0:o.url,adtag_url_2:null==t?void 0:t.url,position:r,dp_1:i,dp_2:n}}},{key:"_get_vmap_config",value:function(e){var t;switch(e){case"preroll":return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap;case"midroll":return null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.vmap;case"rewarded":return null==(t=this.gameData)||null==(t=t.rAds)?void 0:t.vmap;default:return null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.vmap}}},{key:"_isDP",value:function(e){var t;return!!e&&("preroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.pAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.pAds)||null==(t=t.dp)?void 0:t.enabled))||"midroll"===e&&(!0===(null==(t=this.gameData)||null==(t=t.mAds)?void 0:t.dp)||!0===(null==(t=this.gameData)||null==(t=t.mAds)||null==(t=t.dp)?void 0:t.enabled))||"rewarded"===e&&(!0===(null==(t=this.gameData)||null==(e=t.rAds)?void 0:e.dp)||!0===(null==(t=this.gameData)||null==(e=t.rAds)||null==(t=e.dp)?void 0:t.enabled)))}},{key:"_create_dp_display_context",value:function(){var i=this;return new Promise(function(t){var r=this;A(this,i);try{var e={id:this.topDomain||this.parentDomain,au:"display",ty:"display",aid:this.gameData.gameId,pgu:this.parentURL},n=new Iy(this.gameData).checkCustomParams(),o=(n&&(e.cp=n),encodeURIComponent(xw(JSON.stringify(e))));fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(o)).then(function(e){return A(this,r),e.json()}.bind(this)).then(function(e){if(A(this,r),!e||!e.p)return this.msgrt.send("dp.na",{message:"atom"}),t();this.msgrt.send("dp.fp",{message:e.p/100}),t({params:{fp:e.p/100},error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(o),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(o)})}.bind(this)).catch(function(e){A(this,r),this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this))}catch(e){this.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}}.bind(this))}},{key:"_create_dp_context",value:function(s,u){var t,c=this;return new Promise((t=p(h.mark(function e(t){var r,n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,c._isDP(s)){e.next=5;break}return c.msgrt.send("dp.na",{message:"rule"}),e.abrupt("return",t());case 5:o={id:c.topDomain||c.parentDomain,au:s||"unknown",ty:"video",aid:c.gameData.gameId,pgu:c.parentURL},(r=new Iy(c.gameData).checkCustomParams())&&(o.cp=r),n=encodeURIComponent(xw(JSON.stringify(o))),o=null==(r=c.gameData.promo)?void 0:r.rainbow,i=(null==o?void 0:o.enabled)&&!0!==(null==u?void 0:u.fallback_adsense),fetch("https://tag.atom.gamedistribution.com/v1/atm?ar=".concat(n)).then(function(e){return A(this,a),e.json()}.bind(this)).then(function(e){if(A(this,a),!e||!e.p)return c.msgrt.send("dp.na",{message:"atom"}),t();e=e.p/100;t({id:Date.now(),floor_price:e,error_url:"https://tag.atom.gamedistribution.com/v1/err?ar=".concat(n,"&ec=[ERRORCODE]"),impression_url:"https://tag.atom.gamedistribution.com/v1/imp?ar=".concat(n),skip_url:"https://tag.atom.gamedistribution.com/v1/skp?ar=".concat(n),promo_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow?ar=".concat(n):void 0,promo_imp_blue_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/blue":void 0,promo_imp_green_url:i?"https://tag.atom.gamedistribution.com/v1/rainbow/green":void 0})}.bind(this)).catch(function(e){A(this,a),c.msgrt.send("dp.err",{message:(null==e?void 0:e.message)||e}),t()}.bind(this)),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(0),c.msgrt.send("dp.err",{message:(null===e.t0||void 0===e.t0?void 0:e.t0.message)||e.t0}),t();case 18:case"end":return e.stop()}},e,this,[[0,14]])})),function(e){return t.apply(this,arguments)}))}},{key:"_extend_dp_with_adsense",value:function(e,t){if(e&&t)try{var r,n,o=new ee(t.vastUrl,!0);null!=(r=o.query)&&r.cust_params&&((n=U.parse(o.query.cust_params)).tnl_asset_id&&(n.adsense=1,o.query.cust_params=U.stringify(n,!1),e.fallback_url=o.toString(),e.fallback_imp_url="https://tag.atom.gamedistribution.com/v1/rainbow/green"))}catch(e){}}},{key:"_init_hl_script",value:(jw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=this._getPrebidScripts(),r=n[0],window.idhb=window.idhb||{},window.idhb.options=window.idhb.options||{},Object.assign(window.idhb.options,{assetId:this.gameData.gameId,configUrl:this.topDomain||this.parentDomain,parentUrl:this.parentURL,pageType:"gd"}),window.idhb.que=window.idhb.que||[],e.next=8,Zr(r,"gdsdk_prebid",{alternates:n,error_prefix:"Blocked:",exists:function(){return A(this,i),window.idhb.requestAds}.bind(this)});case 8:r=Fr("ch",window.location.href),n=Fr("ch_date",window.location.href),o={tnl_content_category:this.category.toLowerCase()},r&&(o.channel=r),n&&(o.ch_date=n),window.idhb.setAdserverTargeting(o),window.idhb.allowPersonalizedAds(!!parseInt(this.userAllowedPersonalizedAds)),window.idhb.addEventListener("slotRenderEnded",function(e){var t=this;A(this,i);try{var r,n=1===(n=e.slotId.split("@")).length?n[0]:n[1];e.isEmpty?(null!=(r=this.atom_display)&&r.error_url&&(fetch(this.atom_display.error_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_ERROR",{message:n,status:"warning"})):(this.atom_display.impression_url&&(fetch(this.atom_display.impression_url).catch(function(e){A(this,t)}.bind(this)),delete this.atom_display),this.eventBus.broadcast("DISPLAYAD_IMPRESSION",{message:n,status:"success"}))}catch(e){}}.bind(this));case 16:case"end":return e.stop()}},e,this)})),function(e){return jw.apply(this,arguments)})},{key:"_init_ima_script",value:(Pw=p(h.mark(function e(t){var r,n,o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=["https://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","https://imasdk.googleapis.com/js/sdkloader/ima3.js","http://imasdk.googleapis.com/js/sdkloader/ima3_debug.js","http://imasdk.googleapis.com/js/sdkloader/ima3.js"],n=this.options.debug?r[0]:r[1],e.next=4,Zr(n,"gdsdk_ima",{alternates:r,error_prefix:"Blocked:",exists:function(){return A(this,o),window.google&&window.google.ima}.bind(this)});case 4:case"end":return e.stop()}},e,this)})),function(e){return Pw.apply(this,arguments)})},{key:"_init_afg_script",value:(Lw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.gameData.afg_disabled)return e.abrupt("return");e.next=3;break;case 3:return(o={crossorigin:"anonymous"})["data-ad-client"]=0<(null==t||null==(r=t.adsense_client)?void 0:r.length)?t.adsense_client:"ca-pub-2316275586951220",o["data-ad-frequency-hint"]="30s",o.allow="autoplay",0<(null==t||null==(r=t.adsense_channel)?void 0:r.length)&&(o["data-ad-channel"]=t.adsense_channel),0<(null==t||null==(n=t.adsense_host)?void 0:n.length)&&(o["data-ad-host"]=t.adsense_host),!0===(null==t?void 0:t.adsense_adbreak_test)&&(o["data-adbreak-test"]="on"),e.next=14,Zr("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js","afg",{error_prefix:"Blocked:",exists:function(){return A(this,i),!!window.adsbygoogle}.bind(this),attrs:o});case 14:window.adsbygoogle=window.adsbygoogle||[],window.adsbygoogle.push({sound:"on",preloadAdBreaks:"on"});case 16:case"end":return e.stop()}},e,this)})),function(e){return Lw.apply(this,arguments)})},{key:"clearSession",value:function(){this.requestRunning=!1}},{key:"_startAdsensePlacementRewardedAd",value:(Cw=p(h.mark(function e(t){var r,n,o,i,a,s,u=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("gd:adp _startAdsensePlacementRewardedAd"),e.prev=2,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=6;break;case 6:this.requestRunning=!0,this._send_atom_event("sg.ad.rw.requested"),r=function(){A(this,u),console.log("gd:adp rw beforeAd"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,u),console.log("gd:adp rw afterAd"),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(){A(this,u),console.log("gd:adp rw adDismmissed"),this._send_atom_event("sg.ad.rw.dismissed")}.bind(this),i=function(){A(this,u),console.log("gd:adp rw adViewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("SDK_REWARDED_WATCH_COMPLETE",{message:"",status:"success"}),this._send_atom_event("sg.ad.rw.viewed")}.bind(this),a=function(e){A(this,u),console.log("gd:adp rw beforeReward"),e()}.bind(this),s=function(e){A(this,u),console.log("gd:adp rw adBreakDone"),this.resetForNext(),this.adCounter.rewarded=this.adCounter.rewarded||0,this.adCounter.rewarded++,"viewed"===e.breakStatus?this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),"dismissed"!==e.breakStatus&&this._send_atom_event("sg.dbg.rw",e))}.bind(this),window.adsbygoogle.push({type:"reward",name:"reward-in-game",beforeAd:r,afterAd:n,adDismissed:o,adViewed:i,beforeReward:a,adBreakDone:s}),console.log("gd:adp rw window.adsbygoogle.push(o). tm",window.adsbygoogle),e.next=22;break;case 18:throw e.prev=18,e.t0=e.catch(2),this._onError(e.t0),e.t0;case 22:case"end":return e.stop()}},e,this,[[2,18]])})),function(e){return Cw.apply(this,arguments)})},{key:"_startAdsensePlacementPreroll",value:(Iw=p(h.mark(function e(t){var r,n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(e){A(this,n),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"}),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"}),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"preroll",adBreakDone:r}),e.next=16;break;case 12:throw e.prev=12,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 16:case"end":return e.stop()}},e,this,[[1,12]])})),function(e){return Iw.apply(this,arguments)})},{key:"_startAdsensePlacementStart",value:(Mw=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.pr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.preroll=this.adCounter.preroll||0,this.adCounter.preroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.pr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.pr",e))}.bind(this),window.adsbygoogle.push({type:"start",name:"start-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return Mw.apply(this,arguments)})},{key:"_startAdsensePlacementNext",value:(Ow=p(h.mark(function e(t){var r,n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=1,this.requestRunning)return this.eventBus.broadcast("AD_IS_ALREADY_RUNNING",{status:"warning"}),e.abrupt("return");e.next=5;break;case 5:this.requestRunning=!0,this._send_atom_event("sg.ad.mr.requested"),r=function(){A(this,i),this.eventBus.broadcast("CONTENT_PAUSE_REQUESTED",{message:"",status:"success"}),this.eventBus.broadcast("IMPRESSION",{message:"",status:"success"})}.bind(this),n=function(){A(this,i),this.eventBus.broadcast("CONTENT_RESUME_REQUESTED",{message:"",status:"success"})}.bind(this),o=function(e){A(this,i),this.resetForNext(),this.adCounter.midroll=this.adCounter.midroll||0,this.adCounter.midroll++,"viewed"===e.breakStatus?(this._send_atom_event("sg.ad.mr.viewed"),this.eventBus.broadcast("COMPLETE",{message:"",status:"success"}),this.eventBus.broadcast("AD_SUCCESS",{message:"Ad succeeded.",status:"success"})):(this.eventBus.broadcast("AD_ERROR",{message:e.breakStatus,status:"error"}),this._send_atom_event("sg.dbg.mr",e))}.bind(this),window.adsbygoogle.push({type:"next",name:"next-in-game",beforeAd:r,afterAd:n,adBreakDone:o}),e.next=18;break;case 14:throw e.prev=14,e.t0=e.catch(1),this._onError(e.t0),e.t0;case 18:case"end":return e.stop()}},e,this,[[1,14]])})),function(e){return Ow.apply(this,arguments)})},{key:"_send",value:function(e,t){try{var r=this.msgrt,n=r._layout,o=r._ua,i={tp:e,ct:0,vrs:this.PackageJSON.version,url:this.parentURL,rfr:document.referrer,tdmn:this.topDomain||this.parentDomain,dpth:0,args:t,ua:{brnm:o.browser.name,brvs:o.browser.version,osnm:o.os.name,osvs:o.os.version,dvmd:o.device.model,w:n.w,h:n.h}};fetch("https://tag.atom.gamedistribution.com/v1/dmp?ar=".concat(encodeURIComponent(xw(JSON.stringify(i)))))}catch(e){}}},{key:"_send_atom_event",value:function(e,t){this._send(e,{gid:this.gameData.slug,md5:this.gameData.gameId,pid:0,pnm:this.gameData.pname,ctry:this.gameData.ctry,lcl:"en",hle:1,ads:1,args:t,href:window.location.href})}},{key:"_isAfgPositionNext",value:function(e){return void 0!==e.adTimestamp}},{key:"_isAfgPositionStart",value:function(e){return void 0===e.adTimestamp&&(this.adCounter.preroll=this.adCounter.preroll||0,0===this.adCounter.preroll)}},{key:"attachAfgPosition",value:function(e){var t=e.params.position;switch(t){case"preroll":case"start":case"pause":case"next":case"browse":case"reward":return}var r=e.adType;r===g.Rewarded?t="reward":r===g.Interstitial&&(this._isAfgPositionStart(e)?t=null==(r=this.gameData.pAds)||!r.enabled||null!=(r=this.gameData.loader)&&r.enabled?"start":"next":this._isAfgPositionNext(e)&&(t="next")),e.params.position=t}}]),eA),Qw={},Jw={},Xw=null;function eA(e,t,r){var n=this;if(te(this,eA),qw)return qw;var o={debug:!1,width:640,height:360,locale:"en"},t=((qw=this).options=t?Nr(o,t):o,this.prefix="gdsdk__",this.adsLoader=null,this.adsManager=null,this.adDisplayContainer=null,this.eventBus=new cn,this.safetyTimer=null,this.containerTransitionSpeed=0,this.adCounter={},this.adPrerollCount=0,this.adMidrollCount=0,this.adRewardedCount=0,this.preloadedAdType=null,this.requestRunning=!1,this.parentDomain=r.parentDomain,this.topDomain=r.topDomain,this.parentURL=r.parentURL,this.adDisplayContainerInitialized=!1,this.IMASampleTags={interstitial:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirectlinear&correlator=","https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dredirecterror&correlator="],rewarded:["https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dlinear&correlator="]},this.atom_display,this.adType_="",this.userAllowedPersonalizedAds=0<=document.location.search.indexOf("gdpr-targeting=0")||0<=document.cookie.indexOf("ogdpr_advertisement=0")?"0":"1",this.parentDomain.includes("girlsgogames")&&(this.userAllowedPersonalizedAds=!1),this.thirdPartyContainer=""!==e?document.getElementById(e):null,this.options.width="number"==typeof this.options.width?this.options.width:"100%"===this.options.width?640:this.options.width.replace(/[^0-9]/g,""),this.options.height="number"==typeof this.options.height?this.options.height:"100%"===this.options.height?360:this.options.height.replace(/[^0-9]/g,""),window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth),o=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;this.options.width=this.thirdPartyContainer?this.thirdPartyContainer.offsetWidth:t,this.options.height=this.thirdPartyContainer?this.thirdPartyContainer.offsetHeight:o,this.category="",this.tags=[],this.eventCategory="AD",this.eventBus.subscribe("LOADED",function(){A(this,n),this._clearSafetyTimer("LOADED"),this._startSafetyTimer(8e3,"LOADED")}.bind(this),"ima"),this.eventBus.subscribe("STARTED",function(){A(this,n),this._clearSafetyTimer("STARTED")}.bind(this),"ima")}function tA(){for(var e,t=window,r=null,n=null;!e;){try{if("function"==typeof t.__tcfapi||"function"==typeof t.__cmp){r="function"==typeof t.__tcfapi?(n=2,t.__tcfapi):(n=1,t.__cmp),e=t;break}}catch(e){}try{if(t.frames.__tcfapiLocator){n=2,e=t;break}}catch(e){}try{if(t.frames.__cmpLocator){n=1,e=t;break}}catch(e){}if(t===window.top)break;t=t.parent}return Qw.version=n,Qw.frame=e,Qw.function=r,Qw.version}function rA(n){var t=this;return Xw=Xw||new Promise(function(r){function e(e,t){if(Tw("Received a response from CMP",e),t){if(!1!==e.gdprApplies)return"tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus?(("boolean"!=typeof(t=e&&"boolean"==typeof e.gdprApplies?e.gdprApplies:n.defaultGdprScope)||!0===t&&"string"!=typeof e.tcString)&&r({result:"cmpUnexpectedResponse",cmp:Qw,consentData:e}),void r({result:"ok",consentData:e})):void 0;r({result:"ok",consentData:e})}else r({result:"cmpCallFailed"})}A(this,t),tA(),Qw.frame?2===Qw.version?(Tw("TCF v2 CMP found. Fetching the consent."),Qw.function?(Tw("CMP API is directly accessible, calling it now..."),Qw.function("addEventListener",Qw.version,e)):(Tw("CMP API is outside the current iframe, calling it now..."),function(i,e){var a=this,s="__tcfapi";window[s]=function(e,t,r,n){A(this,a);var o=Math.random()+"",e=bn({},"".concat(s,"Call"),{command:e,parameter:n,callId:o,version:t});Jw[o]=r,i.postMessage(e,"*")}.bind(this),window.addEventListener("message",function e(t){var r="".concat(s,"Return");(t="string"==typeof t.data&&0<=t.data.indexOf(r)?JSON.parse(t.data):t.data)[r]&&t[r].callId&&(t=t[r],void 0!==Jw[t.callId]&&Jw[t.callId](t.returnValue,t.success))},!1),window[s]("addEventListener",Qw.version,e)}(Qw.frame,e))):r({result:"cmpVersionNotV2",cmp:Qw}):r({result:"cmpNotFound"})}.bind(this))}ne(iA,[{key:"checkIfExcluded",value:function(e){try{var t,r;return!(null==(t=e.diagnostic)||null==(r=t.gameDock)||!r.excluded)}catch(e){return console.log("Error on checkIfExclude check",e),!1}}},{key:"track",value:(nA=p(h.mark(function e(t,r){var n,o,i,a;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.checkIfExcluded(r))return e.abrupt("return");e.next=3;break;case 3:if(n=null==t||null==(n=t.visitor)?void 0:n.visitorId){e.next=6;break}return e.abrupt("return");case 6:return o=encodeURIComponent(this.productName),i=encodeURIComponent(n),e.prev=8,a="https://tracker-v4.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=12,fetch(a,{method:"POST"});case 12:e.next=28;break;case 15:return e.prev=15,e.t0=e.catch(8),console.log("GAME_DOCK. fail v4",e.t0),e.prev=18,a="https://tracker.gamedock.io/v1/events-tracker/track/product/".concat(o,"/user_id/").concat(i),e.next=22,fetch(a,{method:"POST"});case 22:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(18),console.log("GAME_DOCK. fail v6",e.t1);case 28:case"end":return e.stop()}},e,this,[[8,15],[18,25]])})),function(e,t){return nA.apply(this,arguments)})}]);var nA,oA=new iA;function iA(){te(this,iA),this.productName="Game Distribution"}function aA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function sA(e){var l=this,d=e.src,f=e.attributes,p=e.target,h=e.isAsync;return new Promise(function(e,t){var r=this;A(this,l);try{var n=document.createElement("script");if(n.async=null==h||h,n.type="text/javascript",n.onload=function(){A(this,r),e()}.bind(this),n.onerror=function(){A(this,r);var e="Error on script load, Error: ".concat(d);console.log(e),t(e)}.bind(this),n.src=d,f){var o,i=function e(t,r){var n,o="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=function(e){if(e){if("string"==typeof e)return aA(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(t="Object"===t&&e.constructor?e.constructor.name:t)||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?aA(e,void 0):void 0}}(t))||r&&t&&"number"==typeof t.length)return o&&(t=o),n=0,{s:r=function(){},n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(e){throw e},f:r};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){o=o.call(t)},n:function(){var e=o.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==o.return||o.return()}finally{if(s)throw i}}}}(f);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a.key,u=a.value;n.setAttribute(s,u)}}catch(e){i.e(e)}finally{i.f()}}(p=p||document.head).appendChild(n)}catch(e){var c="Error on script load catch, Error: ".concat(d);console.log(c,e),t(c)}}.bind(this))}var uA,cA="140feb72-7952-4420-8ae5-e8978d87bc17",lA=(uA=p(h.mark(function e(){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,sA({src:"https://cdn.cookielaw.org/consent/tcf.stub.js",attributes:[{key:"id",value:"gd-cookie-pro-tcf-stub"},{key:"charset",value:"UTF-8"}],isAsync:!1});case 3:return e.next=5,sA({src:"https://cookie-cdn.cookiepro.com/consent/".concat(cA,"/OtAutoBlock.js"),attributes:[{key:"id",value:"gd-cookie-pro-autoblock"}],isAsync:!1});case 5:return e.next=7,sA({src:"https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js",attributes:[{key:"id",value:"gd-cookie-pro-stub"},{key:"charset",value:"UTF-8"},{key:"data-domain-script",value:cA}],isAsync:!1});case 7:o=n=void 0,r=(t={inlineScript:"function OptanonWrapper() { }"}).inlineScript,n=t.target,(o=document.createElement("script")).text=r,(n=n||document.head).appendChild(o),console.log("GD: CMP cookie pro loaded successfully."),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),console.log("GD: CMP error on load",e.t0);case 14:case"end":return e.stop()}var t,r,n,o},e,null,[[0,11]])})),function(){return uA.apply(this,arguments)}),Jh={exports:{}},R="object"==typeof Reflect?Reflect:null,dA=R&&"function"==typeof R.apply?R.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},fA=R&&"function"==typeof R.ownKeys?R.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},pA=Number.isNaN||function(e){return e!=e};function hA(){hA.init.call(this)}Jh.exports=hA,Jh.exports.once=function(o,i){return new Promise(function(e,t){function r(e){o.removeListener(i,n),t(e)}function n(){"function"==typeof o.removeListener&&o.removeListener("error",r),e([].slice.call(arguments))}xA(o,i,n,{once:!0}),"error"!==i&&"function"==typeof o.on&&xA(o,"error",r,{once:!0})})},(hA.EventEmitter=hA).prototype._events=void 0,hA.prototype._eventsCount=0,hA.prototype._maxListeners=void 0;var gA=10;function mA(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function vA(e){return void 0===e._maxListeners?hA.defaultMaxListeners:e._maxListeners}function bA(e,t,r,n){var o,i;return mA(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener||r),o=e._events),i=o[t]),void 0===i?(i=o[t]=r,++e._eventsCount):("function"==typeof i?i=o[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),0<(o=vA(e))&&i.length>o&&!i.warned&&(i.warned=!0,(n=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit")).name="MaxListenersExceededWarning",n.emitter=e,n.type=t,n.count=i.length,console&&console.warn&&console.warn(n))),e}function yA(e,t,r){e={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},t=function e(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(e);return t.listener=r,e.wrapFn=t}function _A(e,t,r){e=e._events;if(void 0===e)return[];e=e[t];{if(void 0===e)return[];if("function"==typeof e)return r?[e.listener||e]:[e];if(r){for(var n=e,o=new Array(n.length),i=0;i<o.length;++i)o[i]=n[i].listener||n[i];return o}return AA(e,e.length)}}function wA(e){var t=this._events;if(void 0!==t){t=t[e];if("function"==typeof t)return 1;if(void 0!==t)return t.length}return 0}function AA(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function xA(r,n,o,i){if("function"==typeof r.on)i.once?r.once(n,o):r.on(n,o);else{if("function"!=typeof r.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof r);r.addEventListener(n,function e(t){i.once&&r.removeEventListener(n,e),o(t)})}}Object.defineProperty(hA,"defaultMaxListeners",{enumerable:!0,get:function(){return gA},set:function(e){if("number"!=typeof e||e<0||pA(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");gA=e}}),hA.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},hA.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||pA(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},hA.prototype.getMaxListeners=function(){return vA(this)},hA.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){if((i=0<t.length?t[0]:i)instanceof Error)throw i;n=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw n.context=i,n}var i=o[e];if(void 0===i)return!1;if("function"==typeof i)dA(i,this,t);else for(var a=i.length,s=AA(i,a),r=0;r<a;++r)dA(s[r],this,t);return!0},hA.prototype.on=hA.prototype.addListener=function(e,t){return bA(this,e,t,!1)},hA.prototype.prependListener=function(e,t){return bA(this,e,t,!0)},hA.prototype.once=function(e,t){return mA(t),this.on(e,yA(this,e,t)),this},hA.prototype.prependOnceListener=function(e,t){return mA(t),this.prependListener(e,yA(this,e,t)),this},hA.prototype.off=hA.prototype.removeListener=function(e,t){var r,n,o,i,a;if(mA(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;0<=i;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;if(0===o)r.shift();else{var s=r;var u=o;for(;u+1<s.length;u++)s[u]=s[u+1];s.pop()}1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},hA.prototype.removeAllListeners=function(e){var t,r;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){for(var n,o=Object.keys(r),i=0;i<o.length;++i)"removeListener"!==(n=o[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;0<=i;i--)this.removeListener(e,t[i]);return this},hA.prototype.listeners=function(e){return _A(this,e,!0)},hA.prototype.rawListeners=function(e){return _A(this,e,!1)},hA.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):wA.call(e,t)},hA.prototype.listenerCount=wA,hA.prototype.eventNames=function(){return 0<this._eventsCount?fA(this._events):[]};var EA=new Jh.exports.EventEmitter,kA={"https://games.softgames.com":{"splash-hidden":"splash-hidden"}};function SA(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function RA(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?SA(Object(r),!0).forEach(function(e){bn(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):SA(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}window.addEventListener("message",function(e){var t=this,r=e.data,n=e.origin,e=r.type;!Object.keys(kA).some(function(e){return A(this,t),e===n}.bind(this))||null!=r&&r.__tcfapiCall||(window.parent&&!r.type.startsWith("gd-sdk")&&(window.parent.postMessage(r,"*"),console.log("GD-SDK:pst fw sg event to parent complete",window.parent.location.href,r)),!e)||(e=kA[n][e])&&EA.emit(e,r)},!1);function DA(e){try{var t;KA.source&&(t={type:"gd-sdk-on-event",event:e},KA.source.postMessage(t,KA.origin))}catch(e){console.log("gd-sdk forwardEvent err",e)}}function TA(e){t=e.onEvent,e.onEvent=function(e){DA(e),t.apply(this,arguments)};var t,s,e=new HA(e);return s=e,console.log("gd:adp registerForForwarderPosts"),window.addEventListener("message",function(e){var t=e.data,r=e.origin,e=e.source,n=t.type,o=t.method,i=t.options;if("gd-sdk-self"===n)return window.postMessage({type:"gd-sdk",method:o,options:i},"https://html5.gamedistribution.com"),void console.log("gd:adp after self post");if("gd-sdk"===n){if(!KA.source&&"init"===o)return KA={source:(t={source:e,origin:r}).source,origin:t.origin},void WA();var a=s[o];a&&p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,(t=a.apply(s,Object.values(i)))&&t.then)return e.next=5,t;e.next=5;break;case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("gd:adp:m:r onFrameMessage error",e.t0);case 10:case"end":return e.stop()}},e,null,[[0,7]])}))()}},!1),e}var OA,MA,IA,CA,LA,PA,jA,BA,$A,UA,NA,FA,GA,zA=null,ZA=null,HA=(ne(qA,[{key:"_initUnityHandler",value:function(){var t=this;window.addEventListener("DOMNodeInserted",function(){var e;A(this,t),this._gameData.block_exts&&this._removeExternalsInHtml({enabled:!1}),document.getElementsByClassName("webgl-content")[0]&&(e=document.getElementsByClassName("webgl-content")[0].getElementsByClassName("footer")[0])&&e.setAttribute("style","display:none")}.bind(this))}},{key:"_loadCMP",value:(GA=p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._isMasterGameURL()){e.next=8;break}if(t=new W1,t=t.get("depth"),console.log("CMP location.depth",t),0===(null==t?void 0:t.value)&&null!=(t=this._gameData)&&null!=(t=t.cmp)&&t.enabled&&"html5.gamedistribution.com"===this._topDomain)return e.next=7,lA();e.next=8;break;case 7:console.log("CMP loaded");case 8:case"end":return e.stop()}},e,this)})),function(){return GA.apply(this,arguments)})},{key:"testConsent",value:function(){console.log("test-consent. Finding CMP");try{var e=tA();console.log("CMP found",e),p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,rA({});case 2:t=e.sent,console.log("After lookup IAB consent",t);case 4:case"end":return e.stop()}},e)}))()}catch(e){console.log("find CMP error",e)}}},{key:"_sendLoaderDataEvent",value:function(){try{this.options.onLoaderEvent&&this.options.onLoaderEvent({name:"LOADER_DATA",message:{game:this._gameData,bridge:this._bridge},status:this._sdk_ready?"success":"error"})}catch(e){}}},{key:"_registerSGBridge",value:function(){var t=this;EA.on("splash-hidden",function(e){A(this,t),console.log("GD-SDK:pst on splash-hidden",e),this._hideCMPButton()}.bind(this))}},{key:"_hideCMPButton",value:function(){console.log(":pst hide cmp button");var e=document.getElementById("ot-sdk-btn-floating");e&&(e.style.display="none")}},{key:"isLoaded",value:function(){var e,t,r;return void 0===this._isLoaded&&(e=this._isTokenGameURL(),t=this._isExtHostedGameURL(),r=this._isMasterGameURL(),this._isLoaded=(e||t&&!r)&&this._gameData.loader.enabled),this._isLoaded}},{key:"setIsLoaded",value:function(e){this._isLoaded=e}},{key:"_sendLoadedEvent",value:function(){if(!this.isLoaded()){this.setIsLoaded(!0);try{this._sendTunnlEvent(1),this.msgrt.send("loaded",{message:this._hasBlocker?"Has Blocker":"No Blocker"})}catch(e){}}}},{key:"_sendGamedockGamePlay",value:function(){var e=this._isTokenGameURL();if(console.log("in gamedock gameplay",this._gameData.loader.enabled,e),!(this._gameData.loader.enabled&&e||this._gameDockGamePlaySent))try{this._sendGamedockEvent("gameplay"),console.log("gamedock gameplay"),this._gameDockGamePlaySent=!0}catch(e){}}},{key:"_safeInit",value:function(){this._checkUserDeclinedTracking(),this._checkWhitelabelPartner();var e=this._gameData.diagnostic;void 0!==e&&void 0!==e.close_ga&&!1!==e.close_ga||this._bridge.isCoreSDKMode||this._loadGoogleAnalytics(),void 0!==e&&void 0!==e.close_gamedock&&!1!==e.close_gamedock||this._bridge.isCoreSDKMode||this._bridge.noGamedockSDK||this._loadGamedockTracker(),void 0!==e&&void 0!==e.close_minijuegos&&!1!==e.close_minijuegos||!this._bridge.isCoreSDKMode&&!this._bridge.noMinijuegosSDK&&0<=document.location.search.indexOf("mp_game_id")&&this._loadMiniJuegosGratisTracker()}},{key:"_initializeSDKWithGameData",value:(FA=p(h.mark(function e(t,r){var n,o=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this._gameData=this._getGameData(),e.next=4,this._loadCMP();case 4:this._bridge.isCoreSDKMode=!(!0===this._gameData.enableAds||!0===(null==(n=this._gameData.enableAds)?void 0:n.enabled)),this._safeInit(),this._checkGameId(),this._checkGameDeleted(),this._checkBlocking(),this._changeMidrollInDebugMode(),void 0!==this._gameData.diagnostic&&void 0!==this._gameData.diagnostic.close_ads&&!1!==this._gameData.diagnostic.close_ads||(this.videoAdReady=this._initializeVideoAd().catch(function(e){return A(this,o),console.error(e.message||e)}.bind(this))),t(this._gameData),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(0),this._sendSDKError(e.t0),this.onResumeGame(e.t0.message,"warning"),r(e.t0);case 19:case"end":return e.stop()}},e,this,[[0,14]])})),function(e,t){return FA.apply(this,arguments)})},{key:"_getDefaultOptions",value:function(){return{debug:!1,testing:!1,gameId:"4f3d7d38d24b740c95da2b03dc3a2333",prefix:"gdsdk__",onEvent:function(e){},onLoaderEvent:function(e){},flashSettings:{adContainerId:"",splashContainerId:""},advertisementSettings:{},resumeGame:function(){},pauseGame:function(){},onInit:function(e){},onError:function(e){},loader:{}}}},{key:"_extendDefaultOptions",value:function(e,t){e=Mt(e);this.options=t?Nr(e,t):e,this.options.gameId=this.options.gameId.trim()}},{key:"_setConsoleBanner",value:function(){var e;this._bridge.noConsoleBanner||(e=console.log("%c %c %c GameDistribution.com HTML5 SDK | Version: "+rb.version+" %c %c %c","background: #9854d8","background: #6c2ca7","color: #fff; background: #450f78;","background: #6c2ca7","background: #9854d8","background: #ffffff"),console.log.apply(console,e))}},{key:"_sendTunnlEvent",value:function(e){var t=this,e=(void 0===this._topDomain&&(this._topDomain=void 0),{page_url:this._topDomain||this._parentDomain,game_id:this.options.gameId,eventtype:e,ts:Date.now()});fetch("https://ana.headerlift.com/event?".concat(U.stringify(e))).catch(function(e){A(this,t)}.bind(this))}},{key:"_sendAdRequestContext",value:function(e){this.msgrt.send("adctx",{message:e.adTag.bidder})}},{key:"_checkWhitelabelPartner",value:function(){this._whitelabelPartner=!1;var e=Gr();e.hasOwnProperty("xanthophyll")&&"true"===e.xanthophyll&&(this._whitelabelPartner=!0,en("White label publisher","".concat(this._whitelabelPartner),"success"))}},{key:"_checkConsole",value:function(){try{if(!Qr)return;"developer.gamedistribution.com"===this._parentDomain?(Yr("gd_debug_ex",!0),Yr("gd_disable_midroll_timer",!0),Yr("gd_tag",!0)):"localhost:3000"===this._parentDomain&&(Yr("gd_debug_ex",!0),Yr("gd_disable_midroll_timer",!0)),Vr("gd_debug_ex")&&(this.openConsole(),this.msgrt.send("dev.console",{message:this._parentDomain}))}catch(e){}}},{key:"_checkUserDeclinedTracking",value:function(){this._userDeclinedTracking=this._bridge.isCoreSDKMode||0<=document.location.search.indexOf("gdpr-tracking=0")||0<=document.cookie.indexOf("ogdpr_tracking=0")}},{key:"_initializeMessageRouter",value:function(){var e;this.msgrt=new dn({gameId:this.options.gameId,hours:(new Date).getHours(),topDomain:this._topDomain,domain:this._parentDomain,referrer:this._parentURL,depth:Hr(),version:rb.version,tracking:this._userDeclinedTracking,whitelabel:this._whitelabelPartner,platform:(e=navigator.userAgent||navigator.vendor||window.opera,/windows phone/i.test(e)?"windows":/android/i.test(e)?"android":/iPad|iPhone|iPod/.test(e)&&!window.MSStream?"ios":""),byloader:this._bridge.isTokenGameURL,isTokenGameURL:this._bridge.isTokenGameURL,isMasterGameURL:this._bridge.isMasterGameURL,isExtHostedGameURL:this._bridge.isExtHostedGameURL,byloaderVersion:this._bridge.version})}},{key:"_loadGamedockTracker",value:function(){var t=this;try{var e=["https://cdn.gamedock.io/gamedock-web-tracker/4.4.0/script/gamedock-sdk.min.js"];Zr(e[0],"GamedockSDK",{alternates:e}).then(function(){var e;A(this,t),ZA=this._initGamedockTracker(window.GamedockSDK),this._sendGamedockEvent("pageview"),null!=(e=this._gameData.diagnostic)&&null!=(e=e.gameDock)&&e.adViewEvent&&ZA.tracking.enableHeartBeatForPage({pageId:this.options.gameId,pageType:"game"}),oA.track(ZA,this._gameData)}.bind(this)).catch(function(e){A(this,t),this._sendSDKError(e)}.bind(this))}catch(t){}}},{key:"_initGamedockTracker",value:function(e){if(!this._bridge.isCoreSDKMode)return e.initialize("gd",this._parentDomain)}},{key:"_sendGamedockEvent",value:function(e){var t;null!=(t=ZA)&&null!=(t=t.tracking)&&t.trackEvent(e,{pageId:this.options.gameId,pageType:"game"})}},{key:"_loadMiniJuegosGratisTracker",value:function(){var t=this,e=(window.mpConfig={game:this.options.gameId,partner:"game-distribution"},["https://ext.minijuegosgratis.com/external-host/main.js"]);Zr(e[0],"MinijuegosSDK",{alternates:e}).catch(function(e){A(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_loadGoogleAnalytics",value:function(){var t=this,e=["https://www.google-analytics.com/analytics.js"];Zr(e[0],"gdsdk_google_analytics",{alternates:e,error_prefix:"Blocked:",exists:function(){return A(this,t),window.ga}.bind(this)}).then(function(){A(this,t),window.ga("create","UA-60359297-49",{name:"gd",cookieExpires:7776e3,sampleRate:5},"auto"),this._bridge.noGAPageView||window.ga("gd.send","pageview"),this._userDeclinedTracking||window.ga("gd.set","anonymizeIp",!0)}.bind(this)).catch(function(e){A(this,t),this._sendSDKError(e)}.bind(this))}},{key:"_subscribeToEvents",value:function(){var r=this;this.eventBus=new cn,rn.forEach(function(e){var t=this;return A(this,r),this.eventBus.subscribe(e,function(e){return A(this,t),this._onEvent(e)}.bind(this),"sdk")}.bind(this)),nn.forEach(function(e){var t=this;return A(this,r),this.eventBus.subscribe(e,function(e){return A(this,t),this._onEvent(e)}.bind(this),"ima")}.bind(this)),this.eventBus.subscribe("COMPLETE",function(){if(A(this,r),"developer.gamedistribution.com"===this._parentDomain||!0===new RegExp("^localhost").test(this._parentDomain)){fetch("https://game.api.gamedistribution.com/game/v2/hasapi/".concat(this.options.gameId,"?timestamp=").concat((new Date).valueOf()));try{var e=JSON.stringify({type:"GD_SDK_IMPLEMENTED",gameID:this.options.gameId});window.location!==window.top.location?window.top.postMessage(e,"*"):null!==window.opener&&window.opener.location!==window.location&&window.opener.postMessage(e,"*")}catch(e){}}}.bind(this),"ima"),this.eventBus.subscribe("CONTENT_PAUSE_REQUESTED",function(){return A(this,r),this.onPauseGame("New advertisements requested and loaded","success")}.bind(this),"ima"),this.eventBus.subscribe("IMPRESSION",function(e){var t;A(this,r),this.msgrt.send("ad.impression"),null!=(t=this._gameData.diagnostic)&&null!=(t=t.gameDock)&&t.adViewEvent&&oA.track(ZA,this._gameData)}.bind(this),"ima"),this.eventBus.subscribe("AD_ERROR",function(e){A(this,r),this.msgrt.send("ad.error",{message:e.message,details:e.details})}.bind(this),"ima"),this.eventBus.subscribe("AD_SDK_REQUEST",function(e){A(this,r),this._sendAdRequestContext(e.message)}.bind(this),"sdk"),this.eventBus.subscribe("SDK_ERROR",function(e){A(this,r),e.message.startsWith("Blocked:")?this._bridge.noBlockerEvent||(this.msgrt.send("error",{message:e.message}),this._hasBlocker||(this._hasBlocker=!0,this._sendTunnlEvent(3))):this.msgrt.send("error",{message:e.message})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_EMPTY",function(e){A(this,r),this.msgrt.send("tunnl.keys.empty",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_REQUEST_KEYS_FALLBACK",function(e){A(this,r),this.msgrt.send("tunnl.keys.fallback",{message:e.message,details:e.details})}.bind(this),"sdk"),this.eventBus.subscribe("AD_T4R",function(e){return A(this,r),this.msgrt.send("adt4r")}.bind(this),"sdk")}},{key:"_checkGameId",value:function(){this.options.gameId===this._defaults.gameId&&this._sendSDKError("Check correctness of your GAME ID. Otherwise, no revenue will be recorded.")}},{key:"_getDefaultGameData",value:function(){return{gameId:this.options.gameId,enableAds:!0,preroll:!0,midroll:12e4,rewardedAds:!1,title:"",tags:[],category:"",assets:[],dmain:!0,sdk:{},loader:{},splash:{},promo:{},dAds:{},pAds:{},mAds:{},rAds:{}}}},{key:"_getGameDataUrl",value:function(){var e=void 0!==this._topDomain&&"undefined"!==this._topDomain?this._topDomain:this._parentDomain;return"https://game.api.gamedistribution.com/game/v4/get/".concat(this.options.gameId.replace(/-/g,""),"/?domain=").concat(e,"&v=").concat(rb.version,"&localTime=").concat((new Date).getHours())}},{key:"_checkBlocking",value:(NA=p(h.mark(function e(){var t,r,n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r=this._gameData,t=void 0===this._gameData.dmain||this._gameData.dmain,(r.bloc_gard&&!0===r.bloc_gard.enabled||!t)&&(this.msgrt.send("blocked"),setTimeout(function(){A(this,n),window.location.href="https://html5.api.gamedistribution.com/blocked.html?".concat(U.stringify({domain:this._parentDomain,id:r.gameId,img:this._get_game_thumbnail_url(),title:r.title}))}.bind(this),100));case 5:case"end":return e.stop()}},e,this)})),function(){return NA.apply(this,arguments)})},{key:"_checkGameDeleted",value:function(){var e=this;6===this._gameData.status&&(console.log("%c %c %c This game was deleted, please remove it in your website... ","background: #F2181A","background: #F23818","color: #fff; background: #F23818;","background: #F55E60","background: #F55E60","background: #c4161e; color: #fff;"),setTimeout(function(){A(this,e),document.location="https://html5.api.gamedistribution.com/deleted.html"}.bind(this),100))}},{key:"_changeMidrollInDebugMode",value:function(){var e=this._gameData;Qr&&Vr("gd_debug_ex")&&(Vr("gd_disable_midroll_timer")?e.midroll=0:e.midroll=this._getDefaultGameData().midroll)}},{key:"_checkSplashAndPromoScreens",value:function(){this._gameData.loader&&!1===this._gameData.loader.mobile&&this._getisMobile()&&(this._gameData.loader.enabled=!1);var e,t=this._gameData,r=t.gdpr&&!0===t.gdpr.consent,n=t.loader,o=null==(o=t.promo)?void 0:o[null==(o=t.promo)||null==(o=o.template)?void 0:o.preroll];t.preroll||(this.adRequestTimer=Date.now()),this.options.loader.enabled?null!=o&&o.enabled?this._createPromoBeforeSplash(t,r):n.enabled&&!0!==(null==(e=n.splash)?void 0:e.skip)?this._createSplash(t,r):this.onResumeGame("Skipped splash.","success"):n.enabled||this._bridge.isTokenGameURL&&this._bridge.isExtHostedGameURL||(this.options.advertisementSettings.autoplay||r?null!=o&&o.enabled?this._createPromoBeforeSplash(t,r):!1!==n.enabled&&this._createSplash(t,r):null!=o&&o.enabled&&this._createPromo(t,r))}},{key:"_initializeVideoAd",value:(UA=p(h.mark(function e(){var t;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this._bridge.isCoreSDKMode)return e.abrupt("return");e.next=2;break;case 2:return(t=this._gameData).sdk.enabled&&(this.options.advertisementSettings=Nr(this.options.advertisementSettings,t.sdk)),this.macros=new ln({game:t,bridge:this._bridge}),this.adInstance=new Yw(this.options.flashSettings.adContainerId,this.options.advertisementSettings,{parentURL:this._parentURL,parentDomain:this._parentDomain,topDomain:this._topDomain}),this.adInstance.gameId=t.gameId,this.adInstance.category=t.category,this.adInstance.tags=t.tags,this.adInstance.noPreroll=this._bridge.noPreroll,this.adInstance.macros=this.macros,this.adInstance.gameData=t,this.adInstance.msgrt=this.msgrt,this.adInstance.PackageJSON=rb,this.adInstance._send("gd.location",this._location.get()),e.next=17,this.adInstance.start();case 17:case"end":return e.stop()}},e,this)})),function(){return UA.apply(this,arguments)})},{key:"_sendSDKReady",value:function(){var e="Everything is ready.";this.eventBus.broadcast("SDK_READY",{message:e,status:"success"});try{this.options.onInit(e)}catch(e){en("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_sendSDKError",value:function(e){e=e.message?e:{message:e},this.eventBus.broadcast("SDK_ERROR",{message:e.message,status:"error"});try{this.options.onError(e)}catch(e){en("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_onEvent",value:function(e){en(e.name,e.message,e.status);try{this.options.onEvent({name:e.name,message:e.message,status:e.status})}catch(e){en("DEVELOPER_ERROR",e.message,"warning")}}},{key:"_getGameData",value:function(){var e=J1;return this._bridge.noPreroll=(!this._getisMobile()||!1!==e.loader.mobile)&&this._bridge.noPreroll,this._bridge.noPreroll&&(this.adRequestTimer=Date.now()),this.msgrt.setGameData(e),tn(e.diagnostic),e}},{key:"_getGameDataOld",value:function(){var t=this;return new Promise(function(r){var n=this,o=(A(this,t),this._getDefaultGameData()),e=this._getGameDataUrl();fetch(e).then(function(e){return A(this,n),e.json()}.bind(this)).then(function(e){var t;A(this,n),e.success?(t={gameId:(e=e.result.game).gameMd5,slug:e.slug,pname:e.pname,dname:e.dname,status:e.status,description:e.description,enableAds:!0===e.enableAds||!0===(null==(t=e.enableAds)?void 0:t.enabled),preroll:e.preRoll,midroll:6e4*e.timeAds,rewardedAds:e.rewardedAds,title:e.title,tags:e.tags,category:e.category,assets:e.assets,disp_2nd_prer:e.disp_2nd_prer,ctry_vst:e.ctry_vst,ctry:e.ctry,crtv:e.crtv,dmain:e.dmain,block_exts:this._parseAndSelectRandomOne(e.push_cuda),bloc_gard:this._parseAndSelectRandomOne(e.bloc_gard),cookie:this._parseAndSelectRandomOne(e.cookie),gdpr:this._parseAndSelectRandomOne(e.gdpr),diagnostic:this._parseAndSelectRandomOne(e.diagnostic),cmp:this._parseAndSelectRandomOne(e.cmp),gft:this._parseAndSelectRandomOne(e.gft),sdk:this._parseAndSelectRandomOne(e.sdk)||{},loader:this._parseAndSelectRandomOne(e.loader)||{},splash:this._parseAndSelectRandomOne(e.splash)||{},promo:this._parseAndSelectRandomOne(e.promo)||{},dAds:this._parseAndSelectRandomOne(e.dads)||{},pAds:this._parseAndSelectRandomOne(e.pads)||{},mAds:this._parseAndSelectRandomOne(e.mads)||{},rAds:this._parseAndSelectRandomOne(e.rads)||{},lp:this._parseAndSelectRandomOne(e.lp)||{}},(e=Nr(Mt(o),t)).afg_disabled=!1===(null==(t=e.sdk)||null==(t=t.afg)?void 0:t.enabled),console.log("gd:adp gameData.afgDisabled",e.afg_disabled),null!=(t=e.pAds)&&t.enabled&&(e.preroll=!0),this._bridge.noPreroll=(!this._getisMobile()||!1!==e.loader.mobile)&&this._bridge.noPreroll,this._bridge.noPreroll&&(this.adRequestTimer=Date.now()),this.msgrt.setGameData(e),tn(e.diagnostic),r(e)):(o.failed=!0,r(o))}.bind(this)).catch(function(e){A(this,n),o.failed=!0,r(o)}.bind(this))}.bind(this))}},{key:"_createSplash",value:($A=p(h.mark(function e(t,r){var n,o,i,a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._getSplashTemplate(t);case 2:o=e.sent,n=new o(RA(RA({},this.options),{},{isConsentDomain:r,version:rb.version}),t,this._parentDomain),o=nb(),i=o.enabled,n.on("playClick",function(){var e,t=this;A(this,a),r&&((e=new Date).setDate(e.getDate()+90),document.cookie="ogdpr_tracking=1; expires=".concat(e.toUTCString(),"; path=/")),this._hideCMPButton(),i?window.gdsdk.showAd(g.Interstitial,{position:"preroll"}).catch(function(e){A(this,t),console.log("extsc: splash error",e),n.hide()}.bind(this)):this.showAd(g.Interstitial,{position:"preroll"}).catch(function(e){A(this,t)}.bind(this))}.bind(this)),this.onPauseGame("Pause the game and wait for a user gesture","success"),this.eventBus.subscribe("SDK_GAME_PAUSE",function(){A(this,a),n.hide()}.bind(this)),this.eventBus.subscribe("SDK_GAME_START",function(){A(this,a),n.hide()}.bind(this));case 9:case"end":return e.stop()}},e,this)})),function(e,t){return $A.apply(this,arguments)})},{key:"_createPromoBeforeSplash",value:(BA=p(h.mark(function e(t,r){var n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPrerollPromoTemplate(t);case 3:n=e.sent,(o=new n(RA(RA({},this.options),{},{isConsentDomain:r,version:rb.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){A(this,i),o.hide(),this._createSplash(t,r)}.bind(this)),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(0),console.log(e.t0),this._createSplash(t,r);case 12:case"end":return e.stop()}},e,this,[[0,8]])})),function(e,t){return BA.apply(this,arguments)})},{key:"_createPromo",value:(jA=p(h.mark(function e(t,r){var n,o,i=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._createPrerollPromoTemplate(t);case 3:n=e.sent,(o=new n(RA(RA({},this.options),{},{isConsentDomain:r,version:rb.version,template:null==(n=t.promo)||null==(n=n.template)?void 0:n.preroll}),t)).on("done",function(){A(this,i),o.hide(),this.onResumeGame("Resumed after the promo","warning")}.bind(this)),this.onPauseGame("Pause the game for the promo","success"),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),this.onResumeGame("Resumed after the promo","warning");case 12:case"end":return e.stop()}},e,this,[[0,9]])})),function(e,t){return jA.apply(this,arguments)})},{key:"showBanner",value:function(){var e=this;this.showAd(g.Interstitial).catch(function(){A(this,e)}.bind(this))}},{key:"showAd",value:(PA=p(h.mark(function e(l){var d,f=this,t=arguments;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return d=1<t.length&&void 0!==t[1]?t[1]:{},console.log("gd:adp, showAd izMaster,izToken",this._isMasterGameURL(),this._isTokenGameURL()),e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(r,n){var t,o,i,a,s,u,c=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={adType:l,params:d,adTimestamp:f.adRequestTimer},e.next=4,f.sdkReady;case 4:return o=e.sent,e.next=7,f.videoAdReady;case 7:return null!=(a=f._gameData.lp)&&a.load||f._sendLoadedEvent(),f._sendGamedockGamePlay(),f._rejectAdIfGameBlocked({gameData:o,adRequest:t}),f._rejectAdIfAdDisabled({gameData:o,adRequest:t}),f._rejectAdIfUnsupportedType({adRequest:t}),f._rejectAdIfRewardedDisabled({gameData:o,adRequest:t}),(null==(a=o.gft)||!a.enabled||null!=(a=o.gft)&&a.enabled&&(null==o||null==(a=o.gft)||null==(a=a.durations[f._giftCount])?void 0:a.after)!==f.adInstance.adMidrollCount)&&f._rejectAdIfAdRateHits({gameData:o,adRequest:t}),f.adInstance.attachAfgPosition(t),f._attachAfgFallback({gameData:o,adRequest:t}),i="main.showad",a=function(e){var t;A(this,c),f.eventBus.unsubscribeScope(i),f.onResumeGame(e.message,"warning"),null!=o&&null!=(t=o.gft)&&t.enabled&&(null==o||null==(t=o.gft)||null==(t=t.durations[f._giftCount])?void 0:t.after)===f.adInstance.adMidrollCount&&f.decideToGiveAGift(),n(e.message)}.bind(this),s=function(e){var t;A(this,c),f.eventBus.unsubscribeScope(i),f.adRequestTimer=Date.now(),f.onResumeGame("Advertisement(s) are done. Start / resume the game.","success"),null!=o&&null!=(t=o.gft)&&t.enabled&&(null==o||null==(t=o.gft)||null==(t=t.durations[f._giftCount])?void 0:t.after)===f.adInstance.adMidrollCount&&f.decideToGiveAGift(),r(e.message)}.bind(this),u=function(e){var t=this;A(this,c),f.eventBus.unsubscribeScope(i),d.fallback_adsense=!1,f.showAd(l,RA(RA({},d),{},{adapter:"adsense"})).then(function(e){A(this,t),r(e)}.bind(this)).catch(function(e){A(this,t),n(e)}.bind(this))}.bind(this),f.eventBus.subscribe("AD_ERROR",null!=d&&d.fallback_adsense?u:a,i),f.eventBus.subscribe("AD_SDK_CANCELED",null!=d&&d.fallback_adsense?u:a,i),f.eventBus.subscribe("AD_SUCCESS",s,i),e.next=25,f.adInstance.startAd(t);case 25:f._post_message({topic:"adrequest.instream"}),e.next=32;break;case 28:e.prev=28,e.t0=e.catch(0),f.onResumeGame(e.t0.message,"warning"),n(e.t0.message);case 32:case"end":return e.stop()}},e,this,[[0,28]])}));return function(e,t){return r.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,this)})),function(e){return PA.apply(this,arguments)})},{key:"clearSession",value:function(){this.adInstance.clearSession()}},{key:"_attachAfgFallback",value:function(e){var t=e.gameData,r=e.adRequest;if(!t.afg_disabled&&!r.params.hasOwnProperty("fallback_adsense"))switch(r.params.position){case"preroll":case"start":case"next":r.params.fallback_adsense=!0}}},{key:"_rejectAdIfGameBlocked",value:function(e){e=e.gameData;if(e.bloc_gard&&!0===e.bloc_gard.enabled)throw new Error("Game or domain is blocked.")}},{key:"_rejectAdIfAdDisabled",value:function(e){if(!e.gameData.enableAds||this._whitelabelPartner)throw new Error("Advertisements are disabled.")}},{key:"_rejectAdIfUnsupportedType",value:function(e){e=e.adRequest;if(e.adType){if(e.adType!==g.Interstitial&&e.adType!==g.Rewarded)throw new Error("Unsupported an advertisement type: ",e.adType)}else e.adType=g.Interstitial}},{key:"_rejectAdIfRewardedDisabled",value:function(e){var t=e.gameData;if(e.adRequest.adType===g.Rewarded&&!t.rewardedAds)throw new Error("Rewarded ads are disabled.")}},{key:"_rejectAdIfAdRateHits",value:function(e){var t,r=e.gameData,e=e.adRequest,n=null;if(e.adType===g.Interstitial&&null!=(t=r.diagnostic)&&null!=(t=t.useMidrollIndex)&&t.enabled&&this.adInstance.noPreroll?this.adInstance.adMidrollCount>(null==(t=r.diagnostic)||null==(t=t.useMidrollIndex)?void 0:t.indexes.length)-1||(n=6e4*(null==(t=r.diagnostic)||null==(t=t.useMidrollIndex)?void 0:t.indexes[this.adInstance.adMidrollCount])):n=r.midroll,e.adType===g.Interstitial&&void 0!==this.adRequestTimer&&Date.now()-this.adRequestTimer<n)throw new Error("The advertisement was requested too soon.")}},{key:"preloadAd",value:(LA=p(h.mark(function e(i){var a=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){var n,o;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,a.sdkReady;case 3:return n=e.sent,e.next=6,a.videoAdReady;case 6:if(n.bloc_gard&&!0===n.bloc_gard.enabled)throw new Error("Game or domain is blocked.");e.next=8;break;case 8:if(!n.enableAds||a._whitelabelPartner)throw new Error("Advertisements are disabled.");e.next=10;break;case 10:if(i){e.next=14;break}i=g.Rewarded,e.next=16;break;case 14:if(i!==g.Interstitial&&i!==g.Rewarded)throw new Error("Unsupported an advertisement type:"+i);e.next=16;break;case 16:if(i!==g.Rewarded||n.rewardedAds){e.next=18;break}throw new Error("Rewarded ads are disabled.");case 18:return e.next=20,a.adInstance.preloadAd(i);case 20:o=e.sent,t(o),e.next=27;break;case 24:e.prev=24,e.t0=e.catch(0),r(e.t0);case 27:case"end":return e.stop()}},e,null,[[0,24]])}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(e){return LA.apply(this,arguments)})},{key:"cancelAd",value:(CA=p(h.mark(function e(){var n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var r=p(h.mark(function e(t,r){return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:try{n.adInstance.cancel(),n.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.","success"),r()}catch(e){n.onResumeGame("Advertisement(s) are cancelled. Start / resume the game.","success"),t(e.message)}case 1:case"end":return e.stop()}},e)}));return function(e,t){return r.apply(this,arguments)}}()));case 1:case"end":return e.stop()}},e)})),function(){return CA.apply(this,arguments)})},{key:"showDisplayAd",value:function(o){var r,i=this;return new Promise((r=p(h.mark(function e(t,r){var n;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,i.sdkReady;case 3:return n=e.sent,e.next=6,i.videoAdReady;case 6:if(n.dAds.enabled)return e.next=9,i.adInstance.loadDisplayAd(o);e.next=13;break;case 9:i._post_message({topic:"adrequest.display"}),t(),e.next=14;break;case 13:r("Display-Ads are disabled.");case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(0),r(e.t0.message||e.t0);case 19:case"end":return e.stop()}},e,null,[[0,16]])})),function(e,t){return r.apply(this,arguments)}))}},{key:"onResumeGame",value:function(e,t){this._allowExternals({enabled:!1});try{this.options.resumeGame()}catch(e){en("DEVELOPER_ERROR",e.message,"warning")}var r="SDK_GAME_START";this.eventBus.broadcast(r,{name:r,message:e,status:t,analytics:{category:"SDK",action:r,label:this.options.gameId+""}}),this.adInstance._hideAddResume()}},{key:"onPauseGame",value:function(e,t){this._allowExternals({enabled:!0});try{this.options.pauseGame()}catch(e){en("DEVELOPER_ERROR",e.message,"warning")}var r="SDK_GAME_PAUSE";this.eventBus.broadcast(r,{name:r,message:e,status:t,analytics:{category:"SDK",action:r,label:this.options.gameId+""}})}},{key:"openConsole",value:function(){try{new pn(this).start(),Yr("gd_debug_ex",!0)}catch(e){console.log(e)}}},{key:"_initBlockingExternals",value:function(){var e=this._gameData;(e.failed||e.block_exts&&e.block_exts.enabled)&&(this.window_open=window.open,this._allowExternals({enabled:!1}),this._removeExternalsInHtml({enabled:!1}))}},{key:"_checkFullscreen",value:function(){var r=this;try{var e=this._gameData;e.sdk.fullscreen&&"auto"===e.sdk.fullscreen&&document.addEventListener("click",function(){var e,t;A(this,r),this._isFullScreen||((t=(e=document.body).requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen)?t.call(e):void 0!==window.ActiveXObject&&null!==(t=new ActiveXObject("WScript.Shell"))&&t.SendKeys("{F11}"),this._isFullScreen=!0)}.bind(this))}catch(r){console.log("Fullscreen error handled...",r)}}},{key:"_allowExternals",value:function(e){var t=this;void 0!==this.window_open&&(!1===e.enabled?window.open=function(e){A(this,t),this.msgrt.send("external",{message:"C> ".concat(e)}),(e.startsWith("https://play.google.com")||e.startsWith("https://itunes.apple.com"))&&this.window_open.call(null,e)}.bind(this):window.open=this.window_open)}},{key:"_removeExternalsInHtml",value:function(e){var o=this;!1===e.enabled&&window.document.querySelectorAll("a").forEach(function(e){var t=this,r=(A(this,o),!!(e.innerText.toLowerCase().includes("start")||e.innerText.toLowerCase().includes("play")||e.innerText.toLowerCase().includes("continue"))),n=e.getAttribute("href");e.removeAttribute("href"),r||(e.onclick=function(e){return A(this,t),e.preventDefault(),this.msgrt.send("external",{message:"H> ".concat(n)}),!1}.bind(this))}.bind(this))}},{key:"_getBridgeContext",value:function(){var e=this._isTokenGameURL(),t=this._isMasterGameURL(),r=this._isExtHostedGameURL(),n=(e||r?this._getTokenGameURLConfig():{})||{},o=decodeURIComponent((e||r)&&n.parentURL?n.parentURL:function(){var e=Gr();if(e.gd_sdk_referrer_url)return e.gd_sdk_referrer_url;var t,e=window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer:document.location.href;return-1!==document.referrer.indexOf("gameplayer.io")?(e="https://gamedistribution.com",(t=Fr("ref",document.referrer))&&""!==t&&"{portal%20name}"!==t&&"{spilgames}"!==t&&"{portal name}"!==t&&(e=zr(t).replace(/^(?:https?:\/\/)?(?:\/\/)?/i,""),e="https://".concat(e))):-1!==document.referrer.indexOf("localhost")&&(e="https://gamedistribution.com/"),e}()),i=decodeURIComponent((e||r)&&n.parentDomain?n.parentDomain:(a=((a=Gr()).gd_sdk_referrer_url||(window.location!==window.parent.location&&document.referrer&&""!==document.referrer?document.referrer.split("/")[2]:document.location.host)).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0],-1!==document.referrer.indexOf("gameplayer.io")?(a="gamedistribution.com",(i=Fr("ref",document.referrer))&&""!==i&&"{portal%20name}"!==i&&"{spilgames}"!==i&&"{portal name}"!==i&&(a=zr(i).replace(/^(?:https?:\/\/)?(?:\/\/)?(?:www\.)?/i,"").split("/")[0])):-1!==document.referrer.indexOf("localhost")&&(a="gamedistribution.com"),a)),a=decodeURIComponent((e||r)&&n.topDomain?n.topDomain:r&&0===Hr()?i:function(){var e=Hr();if(0===e)return location.host.replace(/^www\.(.*)$/i,"$1");if(location.ancestorOrigins&&0<location.ancestorOrigins.length)return location.ancestorOrigins[location.ancestorOrigins.length-1].replace(/^https?:\/\/(www\.)?(.*)$/i,"$2");if(1===e){e=function(e){if(e&&""!==e)try{return new ee(e)}catch(e){}}(document.referrer);if(e)return e.host.replace(/^www\.(.*)$/i,"$1")}}()),s=(e||r)&&n.loaderEnabled,u=(e||r)&&n.loaderEnabled,c=(e||r)&&n.loaderEnabled,l=(e||r)&&n.loaderEnabled,d=(e||r)&&n.loaderEnabled,f=(e||r)&&n.loaderEnabled,p=(e||r)&&n.loaderEnabled,h=(e||r)&&n.loaderEnabled,g=(e||r)&&n.loaderEnabled&&n.hasImpression&&"1.1.24"<=n.version;return{isTokenGameURL:e,isMasterGameURL:t,isExtHostedGameURL:r,noConsoleBanner:s,noLoadedEvent:u,noBlockerEvent:c,noPreroll:h,parentURL:o,parentDomain:i,topDomain:a&&a.length?a:i,noGAPageView:l,noLotamePageView:d,noGamedockSDK:f,noMinijuegosSDK:p,version:n.version,pauseGameOnStartup:g,depth:Hr(),domainMatched:i===a,exports:{formatTokenURLSearch:this._formatTokenURLSearch.bind(this),extendUrlQuery:this._extendUrlQuery.bind(this),base64Encode:this._base64_encode.bind(this)}}}},{key:"_isMasterGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Fa-f0-9]{32})(.*)$/i;return e.test(location.href)||!this._isTokenGameURL()&&e.test(document.referrer)}},{key:"_isTokenGameURL",value:function(){var e=/http[s]?:\/\/(html5\.gamedistribution\.com\/[A-Za-z0-9]{8})\/(.*)$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_isExtHostedGameURL",value:function(){var e=/^http[s]?:\/\/.*?gd_sdk_referrer_url=.*$/i;return e.test(location.href)||e.test(document.referrer)}},{key:"_getTokenGameURLConfig",value:function(){try{var e,t=/http[s]?:\/\/html5\.gamedistribution\.com\/[A-Za-z0-9]{8}\/[A-Fa-f0-9]{32}\/.*/i;if(t.test(location.href)){var r=new ee(location.href,!0);if(!r.query.gd_zone_config)return;e=r.query.gd_zone_config}else if(t.test(document.referrer)){var n=new ee(document.referrer,!0);if(!n.query.gd_zone_config)return;e=n.query.gd_zone_config}else{var o=new ee(location.href,!0);if(!o.query.gd_zone_config)return;e=o.query.gd_zone_config}return JSON.parse(Ew(decodeURIComponent(e)))}catch(e){}}},{key:"_getSplashTemplate",value:function(e){e=e.splash;return new Dw(e).splash()}},{key:"_createPrerollPromoTemplate",value:(IA=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=null==(r=t.promo)?void 0:r[null==(r=t.promo)||null==(r=r.template)?void 0:r.preroll],r=new Rw(r),e.abrupt("return",r.promo());case 3:case"end":return e.stop()}},e)})),function(e){return IA.apply(this,arguments)})},{key:"_formatTokenURLSearch",value:function(e){var t="";try{t=encodeURIComponent(xw(JSON.stringify(e)))}catch(e){}try{var r=new ee(location.href,!0);return r.query=r.query||{},r.query.gd_zone_config=t,"?".concat(U.stringify(r.query))}catch(e){return"?gd_zone_config=".concat(t)}}},{key:"_extendUrlQuery",value:function(e,t){e=new ee(e,!0);return e.query=RA(RA({},e.query),t),e.toString()}},{key:"_base64_encode",value:function(e){return xw(JSON.stringify(e))}},{key:"_parseAndSelectRandomOne",value:function(e){e=this._selectRandomOne("object"===B(e)?e:Kr(e));return!e||!e.version||rb.version>=e.version?e:void 0}},{key:"_selectRandomOne",value:function(e){var t=this;if(!Ft(e)||0===e.length)return e;if(1===e.length)return e[0];for(var r=0,n=(e.forEach(function(e){A(this,t),e.weight=e.weight||1,r+=e.weight}.bind(this)),Math.floor(Math.random()*Math.floor(r))),r=0,o=0;o<e.length;o++){var i=e[o];if(n<(r+=i.weight))return i}}},{key:"session",value:function(){var r,o=this;return new Promise((r=p(h.mark(function e(t,r){var n;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.sdkReady;case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:n=o._gameData,t({ads:{display:{enabled:n.dAds.enabled},rewarded:{enabled:n.rewardedAds}},location:{parentDomain:o._bridge.parentDomain,topDomain:o._bridge.topDomain,parentURL:o._bridge.parentURL,depth:o._bridge.depth,loadedByGameZone:o._bridge.isTokenGameURL}});case 9:case"end":return e.stop()}},e,null,[[0,5]])})),function(e,t){return r.apply(this,arguments)}))}},{key:"_getisMobile",value:function(){var e=!1,t=navigator.userAgent||navigator.vendor||window.opera;return e=!1===(e=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4))?!0:e)&&-1<window.orientation?!0:e}},{key:"_get_game_thumbnail_url",value:function(){var t=this,e=this._gameData,r=(r=e.assets.find(function(e){return A(this,t),e.hasOwnProperty("name")&&512===e.width&&512===e.height}.bind(this)))||(0<e.assets.length?e.assets[0]:{name:"logo.svg"});return"https://img.gamedistribution.com/".concat(r.name)}},{key:"_post_message",value:function(e){var t=e.topic,r=e.data,n=null!=(n=location.ancestorOrigins)&&n.length?location.ancestorOrigins[location.ancestorOrigins.length-1]:"*";try{var o=window.top||window.parent;o&&o.postMessage({source:"gdsdk",topic:t,data:r},n)}catch(e){console.error((null==e?void 0:e.message)||e)}}},{key:"decideToGiveAGift",value:function(){var r=this;try{var e,t=null==(e=this._gameData)?void 0:e.gft;this.giftInterval=setInterval(p(h.mark(function e(){var t=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.adInstance.requestRunning?console.log("Advertisement already running..."):(r.showAd(g.Interstitial,{position:"midroll"}).catch(function(e){A(this,t)}.bind(this)),clearInterval(r.giftInterval),r.giftInterval=void 0,r._giftCount++);case 1:case"end":return e.stop()}},e,this)})),1e3*t.durations[this._giftCount].wait)}catch(r){console.log("Advertisement Error...")}}}]),qA),KA={},WA=function(){DA({name:"SDK_READY",status:"success",message:"Everything is ready."}),DA({name:"SDK_GAME_START",status:"success",message:"Advertisement(s) are done. Start / resume the game."}),DA({name:"CONTENT_RESUME_REQUESTED",status:"success",message:"Fired when content should be resumed. This usually happens when an ad finishes or collapses."})},VA={create:(MA=p(h.mark(function e(t){var r;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,cb(t);case 3:return r=e.sent,r=(r?function(e){e=function(t){var r=this,e=function(e){return A(this,r),l("showAd",{adType:e})}.bind(this),n=function(e){return A(this,r),l("preloadAd",{adType:e})}.bind(this),o=function(e){return A(this,r),l("showDisplayAd",{options:e})}.bind(this),i=function(){return A(this,r),l("cancelAd")}.bind(this),a=function(){return A(this,r),l("openConsole")}.bind(this),s=function(){return A(this,r),l("showBanner")}.bind(this),u=function(){return A(this,r),l("session")}.bind(this),c=function(){A(this,r),console.log("_sendSDKReady")}.bind(this),l=function(n,o){var i=this;return A(this,r),o=o||{},new Promise(function(t,e){A(this,i);try{var r={type:"gd-sdk",method:n,options:o};window.parent.postMessage(r,"https://html5.gamedistribution.com"),t()}catch(e){console.log("gd:adp:m:s:error",e),t()}}.bind(this))}.bind(this),d=function(){A(this,r),window.addEventListener("message",function(e){var t=e.data,e=(e.origin,e.source,t.type),t=t.event;"gd-sdk-on-event"===e&&(console.log("gd:adp received on-event",t),t&&p(t))},!1)}.bind(this),f=function(){A(this,r),d(),l("init")}.bind(this),p=function(e){A(this,r),t.onEvent&&t.onEvent(e)}.bind(this);return{showBanner:s,showAd:e,preloadAd:n,showDisplayAd:o,cancelAd:i,openConsole:a,getSession:u,onEvent:p,init:f,_sendSDKReady:c}}(e);return e.init(),e}:TA)(t),ob(),e.abrupt("return",r);case 9:return e.prev=9,e.t0=e.catch(0),console.log("gd:adp: sdk adaptor create failed, fallback to default adapter",e.t0),e.abrupt("return",TA(t));case 13:case"end":return e.stop()}},e,null,[[0,9]])})),function(e){return MA.apply(this,arguments)})};function qA(e){var t=this;if(te(this,qA),zA)return zA;(zA=this)._defaults=this._getDefaultOptions(),this._extendDefaultOptions(this._defaults,e),this._version=e.version||"0.0.0",this._bridge=this._getBridgeContext(),this._location=new W1,this._location.print(),this._parentURL=this._bridge.parentURL,this._parentDomain=this._bridge.parentDomain,this._topDomain=this._bridge.topDomain,this._isFullScreen=!1,this._giftCount=0,this._setConsoleBanner(),this._initializeMessageRouter(),this._checkConsole(),this._subscribeToEvents(),this.sdkReady=new Promise(this._initializeSDKWithGameData.bind(this)),this.sdkReady.then(function(e){A(this,t),this._sdk_ready=!0}.bind(this)).catch(function(e){A(this,t),this._sdk_ready=!1}.bind(this)).finally(function(){var e;A(this,t),!0===(null==(e=this._gameData.lp)?void 0:e.load)&&this._sendLoadedEvent(1),this._sendLoaderDataEvent(),this._checkSplashAndPromoScreens(),this._initBlockingExternals(),this._initUnityHandler(),this._checkFullscreen()}.bind(this)),this._registerSGBridge()}function YA(){return(YA=p(h.mark(function e(t,r){var n;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(){var u=this;return new Promise(function(e,t){var r=this;if(A(this,u),ib)return e(ab);ib=!0;var n=nb();if(!n.enabled)return e(!1);var o=n.loadedFlag,i=n.loadedFlagCheck;if(i&&!o)return e(!1);if(!i)return e(ab=!0);var a=!0,s=(setTimeout(function(){A(this,r),a&&(console.log("extsc: clearing on wait after timeout"),e(!(ib=!(a=!1))))}.bind(this),5e3),setInterval(function(){A(this,r),a&&i&&window[o]?(console.log("extsc: loaderflag for external script is set!"),ab=ib=!(a=!1),clearInterval(s),e(!0)):a||(console.log("extsc: clearing interval after timeout"),clearInterval(s))}.bind(this),100))}.bind(this))}();case 2:if(n=e.sent,console.log("extsc: should wrapper be called?",n),!n){e.next=8;break}e.t0=window.gdsdk,e.next=11;break;case 8:return e.next=10,JA(t);case 10:e.t0=e.sent;case 11:return n=e.t0,e.abrupt("return",r(n));case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}var QA=!1;function JA(o){var i=this;return new Promise(function(t,e){var r,n=this;if(A(this,i),OA)return t(OA);QA?r=setInterval(function(){A(this,n),OA&&(QA=!1,clearInterval(r),t(OA))}.bind(this),100):(QA=!0,VA.create(o).then(function(e){A(this,n),console.log("sdk created!"),(OA=e)._sendSDKReady(),QA=!1,t(OA)}.bind(this)))}.bind(this))}JA(XA=function(){var e={};try{"object"===("undefined"==typeof GD_OPTIONS?"undefined":B(GD_OPTIONS))&&GD_OPTIONS?e=GD_OPTIONS:window.gdApi&&"object"===B(window.gdApi.q[0][0])&&window.gdApi.q[0][0]&&((e=window.gdApi.q[0][0]).hasOwnProperty("advertisementSettings")||(e.advertisementSettings={autoplay:!0}))}catch(e){console.log("_get_developer_sets failed",e)}return e}());var XA,ex={invoke:function(e){return function(){return YA.apply(this,arguments)}(XA,e)}};function tx(){var r,t=this;this.AdType=g,this.preloadAd=function(t){var r=this;return ex.invoke(function(e){return A(this,r),e.preloadAd(t)}.bind(this))},this.showAd=(r=p(h.mark(function e(t,r){var n=this;return h.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",ex.invoke(function(e){return A(this,n),t===g.Display?e.showDisplayAd(r):e.showAd(t)}.bind(this)));case 1:case"end":return e.stop()}},e,this)})),function(e,t){return r.apply(this,arguments)}),this.cancelAd=function(){var t=this;return ex.invoke(function(e){return A(this,t),e.cancelAd()}.bind(this))},this.openConsole=function(){var t=this;return ex.invoke(function(e){return A(this,t),e.openConsole()}.bind(this))},this.getSession=function(){var t=this;return ex.invoke(function(e){return A(this,t),e.session()}.bind(this))},this.leaderboard={show:function(){A(this,t),Yd.showLeaderboard()}.bind(this),addScore:function(e){A(this,t),Yd.addScore(e)}.bind(this)}}tx.prototype=new function(){this.showBanner=function(){var t=this;return ex.invoke(function(e){return A(this,t),e.showBanner()}.bind(this))},this.play=function(){},this.customLog=function(){}},window.gdsdk=new tx,window.gdApi=window.gdsdk}()}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{buffer:3}],2:[function(e,t,r){"use strict";r.byteLength=function e(t){var t=d(t),r=t[0],t=t[1];return 3*(r+t)/4-t},r.toByteArray=function e(t){var r,n,o=d(t),i=o[0],o=o[1],a=new l(function e(t,r,n){return 3*(r+n)/4-n}(0,i,o)),s=0,u=0<o?i-4:i;for(n=0;n<u;n+=4)r=c[t.charCodeAt(n)]<<18|c[t.charCodeAt(n+1)]<<12|c[t.charCodeAt(n+2)]<<6|c[t.charCodeAt(n+3)],a[s++]=r>>16&255,a[s++]=r>>8&255,a[s++]=255&r;2===o&&(r=c[t.charCodeAt(n)]<<2|c[t.charCodeAt(n+1)]>>4,a[s++]=255&r);1===o&&(r=c[t.charCodeAt(n)]<<10|c[t.charCodeAt(n+1)]<<4|c[t.charCodeAt(n+2)]>>2,a[s++]=r>>8&255,a[s++]=255&r);return a},r.fromByteArray=function e(t){for(var r,n=t.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(function e(t,r,n){for(var o,i=[],a=r;a<n;a+=3)o=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),i.push(function e(t){return u[t>>18&63]+u[t>>12&63]+u[t>>6&63]+u[63&t]}(o));return i.join("")}(t,a,s<a+16383?s:a+16383));1==o?(r=t[n-1],i.push(u[r>>2]+u[r<<4&63]+"==")):2==o&&(r=(t[n-2]<<8)+t[n-1],i.push(u[r>>10]+u[r>>4&63]+u[r<<2&63]+"="));return i.join("")};for(var u=[],c=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,i=n.length;o<i;++o)u[o]=n[o],c[n.charCodeAt(o)]=o;function d(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],3:[function(M,e,I){!function(e){!function(){"use strict";var o=M("base64-js"),i=M("ieee754"),t=(I.Buffer=f,I.SlowBuffer=function e(t){+t!=t&&(t=0);return f.alloc(+t)},I.INSPECT_MAX_BYTES=50,2147483647);function a(e){if(t<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return e.__proto__=f.prototype,e}function f(e,t,r){if("number"!=typeof e)return n(e,t,r);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return u(e)}function n(e,t,r){if("string"==typeof e)return function e(t,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var n=0|d(t,r),o=a(n),t=o.write(t,r);t!==n&&(o=o.slice(0,t));return o}(e,t);if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(T(e,ArrayBuffer)||e&&T(e.buffer,ArrayBuffer))return function e(t,r,n){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(n||0))throw new RangeError('"length" is outside of buffer bounds');t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);return t.__proto__=f.prototype,t}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return f.from(n,t,r);n=function e(t){{var r,n;if(f.isBuffer(t))return r=0|l(t.length),0===(n=a(r)).length||t.copy(n,0,0,r),n}if(void 0!==t.length)return"number"!=typeof t.length||O(t.length)?a(0):c(t);if("Buffer"===t.type&&Array.isArray(t.data))return c(t.data)}(e);if(n)return n;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return f.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return s(e),a(e<0?0:0|l(e))}function c(e){for(var t=e.length<0?0:0|l(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e){if(t<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return 0|e}function d(e,t){if(f.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||T(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=2<arguments.length&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return R(e).length;default:if(o)return n?-1:S(e).length;t=(""+t).toLowerCase(),o=!0}}function r(e,t,r){var n=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((r=void 0===r||r>this.length?this.length:r)<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":return function e(t,r,n){var o=t.length;(!r||r<0)&&(r=0);(!n||n<0||o<n)&&(n=o);for(var i="",a=r;a<n;++a)i+=function e(t){return t<16?"0"+t.toString(16):t.toString(16)}(t[a]);return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function e(t,r,n){var o="";n=Math.min(t.length,n);for(var i=r;i<n;++i)o+=String.fromCharCode(127&t[i]);return o}(this,t,r);case"latin1":case"binary":return function e(t,r,n){var o="";n=Math.min(t.length,n);for(var i=r;i<n;++i)o+=String.fromCharCode(t[i]);return o}(this,t,r);case"base64":return function e(t,r,n){return 0===r&&n===t.length?o.fromByteArray(t):o.fromByteArray(t.slice(r,n))}(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function e(t,r,n){for(var o=t.slice(r,n),i="",a=0;a<o.length;a+=2)i+=String.fromCharCode(o[a]+256*o[a+1]);return i}(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function p(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function h(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),(r=(r=O(r=+r)?o?0:e.length-1:r)<0?e.length+r:r)>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=f.from(t,n)),f.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(o?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i=1,a=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a/=i=2,s/=2,r/=2}function u(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}if(o)for(var c=-1,l=r;l<a;l++)if(u(e,l)===u(t,-1===c?0:l-c)){if(l-(c=-1===c?l:c)+1===s)return c*i}else-1!==c&&(l-=l-c),c=-1;else for(l=r=a<r+s?a-s:r;0<=l;l--){for(var d=!0,f=0;f<s;f++)if(u(e,l+f)!==u(t,f)){d=!1;break}if(d)return l}return-1}function m(e,t,r,n){return D(function e(t){for(var r=[],n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}(t),e,r,n)}function v(e,t,r,n){return D(function e(t,r){for(var n,o,i=[],a=0;a<t.length&&!((r-=2)<0);++a)o=t.charCodeAt(a),n=o>>8,o=o%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,d=239<c?4:223<c?3:191<c?2:1;if(o+d<=r)switch(d){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&127<(u=(31&c)<<6|63&i)&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&2047<(u=(15&c)<<12|(63&i)<<6|63&a)&&(u<55296||57343<u)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&65535<(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)&&u<1114112&&(l=u)}null===l?(l=65533,d=1):65535<l&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=d}return function e(t){var r=t.length;if(r<=y)return String.fromCharCode.apply(String,t);var n="",o=0;for(;o<r;)n+=String.fromCharCode.apply(String,t.slice(o,o+=y));return n}(n)}I.kMaxLength=t,(f.TYPED_ARRAY_SUPPORT=function e(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),f.poolSize=8192,f.from=n,f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,f.alloc=function e(t,r,n){return s(t),!(t<=0)&&void 0!==r?"string"==typeof n?a(t).fill(r,n):a(t).fill(r):a(t)},f.allocUnsafe=u,f.allocUnsafeSlow=u,f.isBuffer=function e(t){return null!=t&&!0===t._isBuffer&&t!==f.prototype},f.compare=function e(t,r){if(T(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),T(r,Uint8Array)&&(r=f.from(r,r.offset,r.byteLength)),!f.isBuffer(t)||!f.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var n=t.length,o=r.length,i=0,a=Math.min(n,o);i<a;++i)if(t[i]!==r[i]){n=t[i],o=r[i];break}return n<o?-1:o<n?1:0},f.isEncoding=function e(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function e(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);if(void 0===r)for(i=r=0;i<t.length;++i)r+=t[i].length;for(var n=f.allocUnsafe(r),o=0,i=0;i<t.length;++i){var a=t[i];if(T(a,Uint8Array)&&(a=f.from(a)),!f.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function e(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)p(this,r,r+1);return this},f.prototype.swap32=function e(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)p(this,r,r+3),p(this,r+1,r+2);return this},f.prototype.swap64=function e(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)p(this,r,r+7),p(this,r+1,r+6),p(this,r+2,r+5),p(this,r+3,r+4);return this},f.prototype.toLocaleString=f.prototype.toString=function e(){var t=this.length;return 0===t?"":0===arguments.length?b(this,0,t):r.apply(this,arguments)},f.prototype.equals=function e(t){if(f.isBuffer(t))return this===t||0===f.compare(this,t);throw new TypeError("Argument must be a Buffer")},f.prototype.inspect=function e(){var t="",r=I.INSPECT_MAX_BYTES,t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim();return this.length>r&&(t+=" ... "),"<Buffer "+t+">"},f.prototype.compare=function e(t,r,n,o,i){if(T(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===n&&(n=t?t.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),(r=void 0===r?0:r)<0||n>t.length||o<0||i>this.length)throw new RangeError("out of range index");if(i<=o&&n<=r)return 0;if(i<=o)return-1;if(n<=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(o>>>=0),s=(n>>>=0)-(r>>>=0),u=Math.min(a,s),c=this.slice(o,i),l=t.slice(r,n),d=0;d<u;++d)if(c[d]!==l[d]){a=c[d],s=l[d];break}return a<s?-1:s<a?1:0},f.prototype.includes=function e(t,r,n){return-1!==this.indexOf(t,r,n)},f.prototype.indexOf=function e(t,r,n){return h(this,t,r,n,!0)},f.prototype.lastIndexOf=function e(t,r,n){return h(this,t,r,n,!1)},f.prototype.write=function e(t,r,n,o){if(void 0===r)o="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)o=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r>>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0)}var i=this.length-r;if((void 0===n||i<n)&&(n=i),0<t.length&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o=o||"utf8";for(var a=!1;;)switch(o){case"hex":return function e(t,r,n,o){n=Number(n)||0;var i=t.length-n;(!o||i<(o=Number(o)))&&(o=i),(i=r.length)/2<o&&(o=i/2);for(var a=0;a<o;++a){var s=parseInt(r.substr(2*a,2),16);if(O(s))return a;t[n+a]=s}return a}(this,t,r,n);case"utf8":case"utf-8":return function e(t,r,n,o){return D(S(r,t.length-n),t,n,o)}(this,t,r,n);case"ascii":return m(this,t,r,n);case"latin1":case"binary":return m(this,t,r,n);case"base64":return function e(t,r,n,o){return D(R(r),t,n,o)}(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return v(this,t,r,n);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},f.prototype.toJSON=function e(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var y=4096;function _(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(r<e+t)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,o,i){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o<t||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function A(e,t,r,n){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function x(e,t,r,n,o){return t=+t,r>>>=0,o||A(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function E(e,t,r,n,o){return t=+t,r>>>=0,o||A(e,0,r,8),i.write(e,t,r,n,52,8),r+8}f.prototype.slice=function e(t,r){var n=this.length,n=((t=~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),(r=void 0===r?n:~~r)<0?(r+=n)<0&&(r=0):n<r&&(r=n),r<t&&(r=t),this.subarray(t,r));return n.__proto__=f.prototype,n},f.prototype.readUIntLE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t],i=1,a=0;++a<r&&(i*=256);)o+=this[t+a]*i;return o},f.prototype.readUIntBE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t+--r],i=1;0<r&&(i*=256);)o+=this[t+--r]*i;return o},f.prototype.readUInt8=function e(t,r){return t>>>=0,r||_(t,1,this.length),this[t]},f.prototype.readUInt16LE=function e(t,r){return t>>>=0,r||_(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function e(t,r){return t>>>=0,r||_(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function e(t,r){return t>>>=0,r||_(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function e(t,r){return t>>>=0,r||_(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=this[t],i=1,a=0;++a<r&&(i*=256);)o+=this[t+a]*i;return(i*=128)<=o&&(o-=Math.pow(2,8*r)),o},f.prototype.readIntBE=function e(t,r,n){t>>>=0,r>>>=0,n||_(t,r,this.length);for(var o=r,i=1,a=this[t+--o];0<o&&(i*=256);)a+=this[t+--o]*i;return(i*=128)<=a&&(a-=Math.pow(2,8*r)),a},f.prototype.readInt8=function e(t,r){return t>>>=0,r||_(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function e(t,r){t>>>=0,r||_(t,2,this.length);r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function e(t,r){t>>>=0,r||_(t,2,this.length);r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function e(t,r){return t>>>=0,r||_(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function e(t,r){return t>>>=0,r||_(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function e(t,r){return t>>>=0,r||_(t,4,this.length),i.read(this,t,!0,23,4)},f.prototype.readFloatBE=function e(t,r){return t>>>=0,r||_(t,4,this.length),i.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function e(t,r){return t>>>=0,r||_(t,8,this.length),i.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function e(t,r){return t>>>=0,r||_(t,8,this.length),i.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function e(t,r,n,o){t=+t,r>>>=0,n>>>=0,o||w(this,t,r,n,Math.pow(2,8*n)-1,0);var i=1,a=0;for(this[r]=255&t;++a<n&&(i*=256);)this[r+a]=t/i&255;return r+n},f.prototype.writeUIntBE=function e(t,r,n,o){t=+t,r>>>=0,n>>>=0,o||w(this,t,r,n,Math.pow(2,8*n)-1,0);var i=n-1,a=1;for(this[r+i]=255&t;0<=--i&&(a*=256);)this[r+i]=t/a&255;return r+n},f.prototype.writeUInt8=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,1,255,0),this[r]=255&t,r+1},f.prototype.writeUInt16LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeUInt16BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeUInt32LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t,r+4},f.prototype.writeUInt32BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeIntLE=function e(t,r,n,o){t=+t,r>>>=0,o||w(this,t,r,n,(o=Math.pow(2,8*n-1))-1,-o);var i=0,a=1,s=0;for(this[r]=255&t;++i<n&&(a*=256);)t<0&&0===s&&0!==this[r+i-1]&&(s=1),this[r+i]=(t/a>>0)-s&255;return r+n},f.prototype.writeIntBE=function e(t,r,n,o){t=+t,r>>>=0,o||w(this,t,r,n,(o=Math.pow(2,8*n-1))-1,-o);var i=n-1,a=1,s=0;for(this[r+i]=255&t;0<=--i&&(a*=256);)t<0&&0===s&&0!==this[r+i+1]&&(s=1),this[r+i]=(t/a>>0)-s&255;return r+n},f.prototype.writeInt8=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,1,127,-128),this[r]=255&(t=t<0?255+t+1:t),r+1},f.prototype.writeInt16LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=255&t,this[r+1]=t>>>8,r+2},f.prototype.writeInt16BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=255&t,r+2},f.prototype.writeInt32LE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,2147483647,-2147483648),this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},f.prototype.writeInt32BE=function e(t,r,n){return t=+t,r>>>=0,n||w(this,t,r,4,2147483647,-2147483648),this[r]=(t=t<0?4294967295+t+1:t)>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t,r+4},f.prototype.writeFloatLE=function e(t,r,n){return x(this,t,r,!0,n)},f.prototype.writeFloatBE=function e(t,r,n){return x(this,t,r,!1,n)},f.prototype.writeDoubleLE=function e(t,r,n){return E(this,t,r,!0,n)},f.prototype.writeDoubleBE=function e(t,r,n){return E(this,t,r,!1,n)},f.prototype.copy=function e(t,r,n,o){if(!f.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n=n||0,o||0===o||(o=this.length),r>=t.length&&(r=t.length),(o=0<o&&o<n?n:o)===n)return 0;if(0===t.length||0===this.length)return 0;if((r=r||0)<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length);var i=(o=t.length-r<o-n?t.length-r+n:o)-n;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(r,n,o);else if(this===t&&n<r&&r<o)for(var a=i-1;0<=a;--a)t[a+r]=this[a+n];else Uint8Array.prototype.set.call(t,this.subarray(n,o),r);return i},f.prototype.fill=function e(t,r,n,o){if("string"==typeof t){if("string"==typeof r?(o=r,r=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),void 0!==o&&"string"!=typeof o)throw new TypeError("encoding must be a string");if("string"==typeof o&&!f.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var i;1===t.length&&(i=t.charCodeAt(0),("utf8"===o&&i<128||"latin1"===o)&&(t=i))}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;var a;if(r>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(t=t||0))for(a=r;a<n;++a)this[a]=t;else{var s=f.isBuffer(t)?t:f.from(t,o),u=s.length;if(0===u)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(a=0;a<n-r;++a)this[a+r]=s[a%u]}return this};var k=/[^+/0-9A-Za-z-_]/g;function S(e,t){t=t||1/0;for(var r,n=e.length,o=null,i=[],a=0;a<n;++a){if(55295<(r=e.charCodeAt(a))&&r<57344){if(!o){if(56319<r){-1<(t-=3)&&i.push(239,191,189);continue}if(a+1===n){-1<(t-=3)&&i.push(239,191,189);continue}o=r;continue}if(r<56320){-1<(t-=3)&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&-1<(t-=3)&&i.push(239,191,189);if(o=null,r<128){if(--t<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function R(e){return o.toByteArray(function e(t){if((t=(t=t.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function D(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function T(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function O(e){return e!=e}}.call(this)}.call(this,M("buffer").Buffer)},{"base64-js":2,buffer:3,ieee754:4}],4:[function(e,t,r){r.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,d=r?o-1:0,f=r?-1:1,o=e[t+d];for(d+=f,i=o&(1<<-l)-1,o>>=-l,l+=s;0<l;i=256*i+e[t+d],d+=f,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;0<l;a=256*a+e[t+d],d+=f,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(o?-1:1);a+=Math.pow(2,n),i-=c}return(o?-1:1)*a*Math.pow(2,i-n)},r.write=function(e,t,r,n,o,i){var a,s,u=8*i-o-1,c=(1<<u)-1,l=c>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:i-1,p=n?1:-1,i=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(n=Math.pow(2,-a))<1&&(a--,n*=2),2<=(t+=1<=a+l?d/n:d*Math.pow(2,1-l))*n&&(a++,n/=2),c<=a+l?(s=0,a=c):1<=a+l?(s=(t*n-1)*Math.pow(2,o),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,o),a=0));8<=o;e[r+f]=255&s,f+=p,s/=256,o-=8);for(a=a<<o|s,u+=o;0<u;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*i}},{}],5:[function(e,t,r){"use strict";e("@bygd/gd-sdk-pes/dist/default")},{"@bygd/gd-sdk-pes/dist/default":1}]},{},[5]); |