PageSourceSearch

https://www.onedayonly.co.za/_next/static/chunks/6213-c44accd948e60a20.js

js onedayonly.co.za collected 2026-10-03 19:18:54 UTC 90,444 bytes, 25 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="04bdde86-cdeb-42bb-826b-68ad099bb859",e._sentryDebugIdIdentifier="sentry-dbid-04bdde86-cdeb-42bb-826b-68ad099bb859")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6213],{79742:function(e,t){"use strict";t.byteLength=function(e){var t=u(e),n=t[0],i=t[1];return(n+i)*3/4-i},t.toByteArray=function(e){var t,n,a=u(e),s=a[0],l=a[1],c=new o((s+l)*3/4-l),f=0,d=l>0?s-4:s;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],c[f++]=t>>16&255,c[f++]=t>>8&255,c[f++]=255&t;return 2===l&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,c[f++]=255&t),1===l&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,c[f++]=t>>8&255,c[f++]=255&t),c},t.fromByteArray=function(e){for(var t,i=e.length,o=i%3,a=[],s=0,l=i-o;s<l;s+=16383)a.push(function(e,t,i){for(var o,a=[],s=t;s<i;s+=3)a.push(n[(o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}(e,s,s+16383>l?l:s+16383));return 1===o?a.push(n[(t=e[i-1])>>2]+n[t<<4&63]+"=="):2===o&&a.push(n[(t=(e[i-2]<<8)+e[i-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),a.join("")};for(var n=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)n[s]=a[s],i[a.charCodeAt(s)]=s;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},48764:function(e,t,n){"use strict";var i=n(79742),o=n(80645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return u(e,t,n)}function u(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!l.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|y(e,t),i=s(n),o=i.write(e,t);return o!==n&&(i=i.slice(0,o)),i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(M(e,Uint8Array)){var t=new Uint8Array(e);return p(t.buffer,t.byteOffset,t.byteLength)}return d(e)}(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(M(e,ArrayBuffer)||e&&M(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(M(e,SharedArrayBuffer)||e&&M(e.buffer,SharedArrayBuffer)))return p(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return l.from(i,t,n);var o=function(e){if(l.isBuffer(e)){var t,n=0|h(e.length),i=s(n);return 0===i.length||e.copy(i,0,0,n),i}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return c(e),s(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),n=s(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function p(e,t,n){var i;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),l.prototype),i}function h(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function y(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||M(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return L(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return x(e).length;default:if(o)return i?-1:L(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var o="",a=t;a<n;++a)o+=O[e[a]];return o}(this,t,n);case"utf8":case"utf-8":return w(this,t,n);case"ascii":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(127&e[o]);return i}(this,t,n);case"latin1":case"binary":return function(e,t,n){var i="";n=Math.min(e.length,n);for(var o=t;o<n;++o)i+=String.fromCharCode(e[o]);return i}(this,t,n);case"base64":return o=t,a=n,0===o&&a===this.length?i.fromByteArray(this):i.fromByteArray(this.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var i=e.slice(t,n),o="",a=0;a<i.length-1;a+=2)o+=String.fromCharCode(i[a]+256*i[a+1]);return o}(this,t,n);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function v(e,t,n,i,o){var a;if(0===e.length)return -1;if("string"==typeof n?(i=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(a=n=+n)!=a&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return -1;n=e.length-1}else if(n<0){if(!o)return -1;n=0}
vendor: 14,383 bytes, line 1
1if("string"==typeof t&&(t=l.from(t,i)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,i,o);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,i,o);throw TypeError("val must be string, number or Buffer")}function b(e,t,n,i,o){var a,s=1,l=e.length,u=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;s=2,l/=2,u/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(o){var f=-1;for(a=n;a<l;a++)if(c(e,a)===c(t,-1===f?0:a-f)){if(-1===f&&(f=a),a-f+1===u)return f*s}else -1!==f&&(a-=a-f),f=-1}else for(n+u>l&&(n=l-u),a=n;a>=0;a--){for(var d=!0,p=0;p<u;p++)if(c(e,a+p)!==c(t,p)){d=!1;break}if(d)return a}return -1}function w(e,t,n){n=Math.min(e.length,n);for(var i=[],o=t;o<n;){var a,s,l,u,c=e[o],f=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(f=c);break;case 2:(192&(a=e[o+1]))==128&&(u=(31&c)<<6|63&a)>127&&(f=u);break;case 3:a=e[o+1],s=e[o+2],(192&a)==128&&(192&s)==128&&(u=(15&c)<<12|(63&a)<<6|63&s)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:a=e[o+1],s=e[o+2],l=e[o+3],(192&a)==128&&(192&s)==128&&(192&l)==128&&(u=(15&c)<<18|(63&a)<<12|(63&s)<<6|63&l)>65535&&u<1114112&&(f=u)}null===f?(f=65533,d=1):f>65535&&(f-=65536,i.push(f>>>10&1023|55296),f=56320|1023&f),i.push(f),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;i<t;)n+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return n}(i)}function S(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,o,a){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw RangeError('"value" argument is out of bounds');if(n+i>e.length)throw RangeError("Index out of range")}function I(e,t,n,i,o,a){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function A(e,t,n,i,a){return t=+t,n>>>=0,a||I(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,i,23,4),n+4}function P(e,t,n,i,a){return t=+t,n>>>=0,a||I(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,i,52,8),n+8}t.lW=l,t.h2=50,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"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(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,n){return u(e,t,n)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,n){return(c(e),e<=0)?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)},l.allocUnsafe=function(e){return f(e)},l.allocUnsafeSlow=function(e){return f(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(M(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),M(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,o=0,a=Math.min(n,i);o<a;++o)if(e[o]!==t[o]){n=e[o],i=t[o];break}return n<i?-1:i<n?1:0},l.isEncoding=function(e){switch(String(e).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}},l.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,i=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(M(a,Uint8Array))o+a.length>i.length?l.from(a).copy(i,o):Uint8Array.prototype.set.call(i,a,o);else if(l.isBuffer(a))a.copy(i,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=a.length}return i},l.byteLength=y,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?w(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,n,i,o){if(M(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),t<0||n>e.length||i<0||o>this.length)throw RangeError("out of range index");if(i>=o&&t>=n)return 0;if(i>=o)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,o>>>=0,this===e)return 0;for(var a=o-i,s=n-t,u=Math.min(a,s),c=this.slice(i,o),f=e.slice(t,n),d=0;d<u;++d)if(c[d]!==f[d]){a=c[d],s=f[d];break}return a<s?-1:s<a?1:0},l.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,a,s,l,u,c,f,d,p=this.length-t;if((void 0===n||n>p)&&(n=p),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var h=!1;;)switch(i){case"hex":return function(e,t,n,i){n=Number(n)||0;var o=e.length-n;i?(i=Number(i))>o&&(i=o):i=o;var a=t.length;i>a/2&&(i=a/2);for(var s=0;s<i;++s){var l=parseInt(t.substr(2*s,2),16);if(l!=l)break;e[n+s]=l}return s}(this,e,t,n);case"utf8":case"utf-8":return o=t,a=n,C(L(e,this.length-o),this,o,a);case"ascii":case"latin1":case"binary":return s=t,l=n,C(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(e),this,s,l);case"base64":return u=t,c=n,C(x(e),this,u,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,d=n,C(function(e,t){for(var n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)i=(n=e.charCodeAt(a))>>8,o.push(n%256),o.push(i);return o}(e,this.length-f),this,f,d);default:if(h)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),h=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,l.prototype),i},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||S(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||S(e,t,this.length);for(var i=this[e+--t],o=1;t>0&&(o*=256);)i+=this[e+--t]*o;return i},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||S(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||S(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||S(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||S(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||S(e,t,this.length);for(var i=this[e],o=1,a=0;++a<t&&(o*=256);)i+=this[e+a]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||S(e,t,this.length);for(var i=t,o=1,a=this[e+--i];i>0&&(o*=256);)a+=this[e+--i]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return(e>>>=0,t||S(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||S(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){e>>>=0,t||S(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||S(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||S(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||S(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||S(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||S(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||S(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){var o=Math.pow(2,8*n)-1;E(this,e,t,n,o,0)}var a=1,s=0;for(this[t]=255&e;++s<n&&(a*=256);)this[t+s]=e/a&255;return t+n},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){var o=Math.pow(2,8*n)-1;E(this,e,t,n,o,0)}var a=n-1,s=1;for(this[t+a]=255&e;--a>=0&&(s*=256);)this[t+a]=e/s&255;return t+n},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var o=Math.pow(2,8*n-1);E(this,e,t,n,o-1,-o)}var a=0,s=1,l=0;for(this[t]=255&e;++a<n&&(s*=256);)e<0&&0===l&&0!==this[t+a-1]&&(l=1),this[t+a]=(e/s>>0)-l&255;return t+n},l.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var o=Math.pow(2,8*n-1);E(this,e,t,n,o-1,-o)}var a=n-1,s=1,l=0;for(this[t+a]=255&e;--a>=0&&(s*=256);)e<0&&0===l&&0!==this[t+a+1]&&(l=1),this[t+a]=(e/s>>0)-l&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,n){return A(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return A(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,i){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<n&&(i=n),i===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-n&&(i=e.length-t+n);var o=i-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),t),o},l.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!l.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){var o,a=e.charCodeAt(0);("utf8"===i&&a<128||"latin1"===i)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o<n;++o)this[o]=e;
1else{var s=l.isBuffer(e)?e:l.from(e,i),u=s.length;if(0===u)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=s[o%u]}return this};var k=/[^+/0-9A-Za-z-_]/g;function L(e,t){t=t||1/0;for(var n,i=e.length,o=null,a=[],s=0;s<i;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!o){if(n>56319||s+1===i){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function x(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(k,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function C(e,t,n,i){for(var o=0;o<i&&!(o+n>=t.length)&&!(o>=e.length);++o)t[o+n]=e[o];return o}function M(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var O=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var i=16*n,o=0;o<16;++o)t[i+o]=e[n]+e[o];return t}()},80645:function(e,t){t.read=function(e,t,n,i,o){var a,s,l=8*o-i-1,u=(1<<l)-1,c=u>>1,f=-7,d=n?o-1:0,p=n?-1:1,h=e[t+d];for(d+=p,a=h&(1<<-f)-1,h>>=-f,f+=l;f>0;a=256*a+e[t+d],d+=p,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=i;f>0;s=256*s+e[t+d],d+=p,f-=8);if(0===a)a=1-c;else{if(a===u)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,i),a-=c}return(h?-1:1)*s*Math.pow(2,a-i)},t.write=function(e,t,n,i,o,a){var s,l,u,c=8*a-o-1,f=(1<<c)-1,d=f>>1,p=23===o?5960464477539062e-23:0,h=i?0:a-1,y=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+d>=1?t+=p/u:t+=p*Math.pow(2,1-d),t*u>=2&&(s++,u/=2),s+d>=f?(l=0,s=f):s+d>=1?(l=(t*u-1)*Math.pow(2,o),s+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,o),s=0));o>=8;e[n+h]=255&l,h+=y,l/=256,o-=8);for(s=s<<o|l,c+=o;c>0;e[n+h]=255&s,h+=y,s/=256,c-=8);e[n+h-y]|=128*m}},3969:function(){},77624:function(e,t,n){"use strict";let i,o,a,s,l,u;n.d(t,{G:function(){return rd},S:function(){return t3}});var c,f,d,p,h,y,m={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let g=new Uint8Array(16),v=[];for(let e=0;e<256;++e)v.push((e+256).toString(16).slice(1));var b=function(e,t,n){if(m.randomUUID&&!t&&!e)return m.randomUUID();let o=(e=e||{}).random||(e.rng||function(){if(!i&&!(i="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(g)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]}(o)},w=n(48764).lW,S=Object.create,E=Object.defineProperty,I=Object.defineProperties,A=Object.getOwnPropertyDescriptor,P=Object.getOwnPropertyDescriptors,k=Object.getOwnPropertyNames,L=Object.getOwnPropertySymbols,x=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,O=(e,t,n)=>t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,R=(e,t)=>{for(var n in t||(t={}))C.call(t,n)&&O(e,n,t[n]);if(L)for(var n of L(t))M.call(t,n)&&O(e,n,t[n]);return e},j=(e,t)=>I(e,P(t)),T=(e,t)=>{var n={};for(var i in e)C.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&L)for(var i of L(e))0>t.indexOf(i)&&M.call(e,i)&&(n[i]=e[i]);return n},V=(e,t,n,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of k(t))C.call(e,o)||o===n||E(e,o,{get:()=>t[o],enumerable:!(i=A(t,o))||i.enumerable});return e},U=(e,t,n)=>(n=null!=e?S(x(e)):{},V(!t&&e&&e.__esModule?n:E(n,"default",{value:e,enumerable:!0}),e)),N=(e,t,n)=>(O(e,"symbol"!=typeof t?t+"":t,n),n),F=(e,t,n)=>new Promise((i,o)=>{var a=e=>{try{l(n.next(e))}catch(e){o(e)}},s=e=>{try{l(n.throw(e))}catch(e){o(e)}},l=e=>e.done?i(e.value):Promise.resolve(e.value).then(a,s);l((n=n.apply(e,t)).next())}),W=(o=(e,t)=>
1{var n=class e extends Error{constructor(t){super(e._prepareSuperMessage(t)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,e)}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch(t){return String(e)}}},i=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],o=Symbol(".toJSON called"),a=e=>{e[o]=!0;let t=e.toJSON();return delete e[o],t},s=({from:e,seen:t,to_:n,forceEnumerable:l,maxDepth:u,depth:c})=>{let f=n||(Array.isArray(e)?[]:{});if(t.push(e),c>=u)return f;if("function"==typeof e.toJSON&&!0!==e[o])return a(e);for(let[n,i]of Object.entries(e)){if("function"==typeof w&&w.isBuffer(i)){f[n]="[object Buffer]";continue}if("function"!=typeof i){if(!i||"object"!=typeof i){f[n]=i;continue}if(!t.includes(e[n])){c++,f[n]=s({from:e[n],seen:t.slice(),forceEnumerable:l,maxDepth:u,depth:c});continue}f[n]="[Circular]"}}for(let{property:t,enumerable:n}of i)"string"==typeof e[t]&&Object.defineProperty(f,t,{value:e[t],enumerable:!!l||n,configurable:!0,writable:!0});return f};t.exports={serializeError:(e,t={})=>{let{maxDepth:n=Number.POSITIVE_INFINITY}=t;return"object"==typeof e&&null!==e?s({from:e,seen:[],forceEnumerable:!0,maxDepth:n,depth:0}):"function"==typeof e?`[Function: ${e.name||"anonymous"}]`:e},deserializeError:(e,t={})=>{let{maxDepth:i=Number.POSITIVE_INFINITY}=t;if(e instanceof Error)return e;if("object"==typeof e&&null!==e&&!Array.isArray(e)){let t=Error();return s({from:e,seen:[],to_:t,maxDepth:i,depth:0}),t}return new n(e)}}},()=>(a||o((a={exports:{}}
1).exports,a),a.exports)),B={};function D(e,t){return new Promise(n=>setTimeout(n,e,t))}function Z(e){return!!e&&"function"==typeof e.then}function G(e,t){try{let n=e();Z(n)?n.then(e=>t(!0,e),e=>t(!1,e)):t(!0,n)}catch(e){t(!1,e)}}function $(e,t,n=16){return F(this,null,function*(){let i=Array(e.length),o=Date.now();for(let a=0;a<e.length;++a){i[a]=t(e[a],a);let s=Date.now();s>=o+n&&(o=s,yield new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)}))}return i})}function _(e){return e.then(void 0,()=>{}),e}function Y(e){return parseInt(e)}function J(e){return parseFloat(e)}function H(e,t){return"number"==typeof e&&isNaN(e)?t:e}function X(e){return e.reduce((e,t)=>e+(t?1:0),0)}function z(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function K(e,t){let n=e[0]>>>16,i=65535&e[0],o=e[1]>>>16,a=65535&e[1],s=t[0]>>>16,l=65535&t[0],u=t[1]>>>16,c=65535&t[1],f=0,d=0,p,h;p=0+((h=0+(a+c))>>>16),h&=65535,p+=o+u,d+=p>>>16,p&=65535,d+=i+l,f+=d>>>16,d&=65535,f+=n+s,f&=65535,e[0]=f<<16|d,e[1]=p<<16|h}function Q(e,t){let n=e[0]>>>16,i=65535&e[0],o=e[1]>>>16,a=65535&e[1],s=t[0]>>>16,l=65535&t[0],u=t[1]>>>16,c=65535&t[1],f=0,d=0,p,h;p=0+((h=0+a*c)>>>16),h&=65535,p+=o*c,d+=p>>>16,p&=65535,p+=a*u,d+=p>>>16,p&=65535,d+=i*c,f+=d>>>16,d&=65535,d+=o*u,f+=d>>>16,d&=65535,d+=a*l,f+=d>>>16,d&=65535,f+=n*c+i*u+o*l+a*s,f&=65535,e[0]=f<<16|d,e[1]=p<<16|h}function q(e,t){let n=e[0];32==(t%=64)?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function ee(e,t){0!=(t%=64)&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function et(e,t){e[0]^=t[0],e[1]^=t[1]}function en(e){let t=[0,e[0]>>>1];et(e,t),Q(e,tI),t[1]=e[0]>>>1,et(e,t),Q(e,tA),t[1]=e[0]>>>1,et(e,t)}function er(e,t){let n=function(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);if(i>127)return new TextEncoder().encode(e);t[n]=i}return t}(e);t=t||0;let i=[0,n.length],o=i[1]%16,a=i[1]-o,s=[0,t],l=[0,t],u=[0,0],c=[0,0],f;for(f=0;f<a;f+=16)u[0]=n[f+4]|n[f+5]<<8|n[f+6]<<16|n[f+7]<<24,u[1]=n[f]|n[f+1]<<8|n[f+2]<<16|n[f+3]<<24,c[0]=n[f+12]|n[f+13]<<8|n[f+14]<<16|n[f+15]<<24,c[1]=n[f+8]|n[f+9]<<8|n[f+10]<<16|n[f+11]<<24,Q(u,tP),q(u,31),Q(u,tk),et(s,u),q(s,27),K(s,l),Q(s,tL),K(s,tx),Q(c,tk),q(c,33),Q(c,tP),et(l,c),q(l,31),K(l,s),Q(l,tL),K(l,tC);u[0]=0,u[1]=0,c[0]=0,c[1]=0;let d=[0,0];switch(o){case 15:d[1]=n[f+14],ee(d,48),et(c,d);case 14:d[1]=n[f+13],ee(d,40),et(c,d);case 13:d[1]=n[f+12],ee(d,32),et(c,d);case 12:d[1]=n[f+11],ee(d,24),et(c,d);case 11:d[1]=n[f+10],ee(d,16),et(c,d);case 10:d[1]=n[f+9],ee(d,8),et(c,d);case 9:d[1]=n[f+8],et(c,d),Q(c,tk),q(c,33),Q(c,tP),et(l,c);case 8:d[1]=n[f+7],ee(d,56),et(u,d);case 7:d[1]=n[f+6],ee(d,48),et(u,d);case 6:d[1]=n[f+5],ee(d,40),et(u,d);case 5:d[1]=n[f+4],ee(d,32),et(u,d);case 4:d[1]=n[f+3],ee(d,24),et(u,d);case 3:d[1]=n[f+2],ee(d,16),et(u,d);case 2:d[1]=n[f+1],ee(d,8),et(u,d);case 1:d[1]=n[f],et(u,d),Q(u,tP),q(u,31),Q(u,tk),et(s,u)}return et(s,i),et(l,i),K(s,l),K(l,s),en(s),en(l),K(s,l),K(l,s),("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)+("00000000"+(l[0]>>>0).toString(16)).slice(-8)+("00000000"+(l[1]>>>0).toString(16)).slice(-8)}function ei(e){return"function"!=typeof e}function eo(e,t,n,i){let o=Object.keys(e).filter(e=>!function(e,t){for(let n=0,i=e.length;n<i;++n)if(e[n]===t)return!0;return!1}(n,e)),a=_($(o,n=>{var i;let o;return i=e[n],o=_(new Promise(e=>{let n=Date.now();G(i.bind(null,t),(...t)=>{let i=Date.now()-n;if(!t[0])return e(()=>({error:t[1],duration:i}));let o=t[1];if(ei(o))return e(()=>({value:o,duration:i}));e(()=>new Promise(e=>{let t=Date.now();G(o,(...n)=>{let o=i+Date.now()-t;if(!n[0])return e({error:n[1],duration:o});e({value:n[1],duration:o})})}))})})),function(){return o.then(e=>e())}},i));return function(){return F(this,null,function*(){let e=yield a,t=yield $(e,e=>_(e()),i),n=yield Promise.all(t),s={};for(let e=0;e<o.length;++e)s[o[e]]=n[e];return s})}}function ea(e,t){let n=e=>ei(e)?t(e):()=>{let n=e();return Z(n)?n.then(t):t(n)};return t=>{let i=e(t);return Z(i)?i.then(n):n(i)}}function es(){let e=window,t=navigator;return X(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function el(){let e=window,t=navigator;return X(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!es()}function eu(){let e=window,t=navigator;return X(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===(t.vendor||"").indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>
1=5}function ec(){let e=window;return X(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===navigator.vendor.indexOf("Apple"),"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function ef(){let e=window,{HTMLElement:t,Document:n}=e;return X(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function ed(){var e;let t=window;return e=t.print,/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))&&"[object WebPageNamespace]"===String(t.browser)}function ep(){var e,t;let n=window;return X(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function eh(){let{CSS:e}=window;return X([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function ey(){let e=window,{CSS:t,HTMLButtonElement:n}=e;return X([!("getStorageUpdates"in navigator),n&&"popover"in n.prototype,"CSSCounterStyleRule"in e,t.supports("font-size-adjust: ex-height 0.5"),t.supports("text-transform: full-width")])>=4}function em(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function eg(){let e=eu(),t=ep(),n=window,i=navigator,o="connection";return e?X([!("SharedWorker"in n),i[o]&&"ontypechange"in i[o],!("sinkId"in new Audio)])>=2:!!t&&X(["onorientationchange"in n,"orientation"in n,/android/i.test(i.appVersion)])>=2}function ev(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:i}=t;return X(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,i&&"segments"in i,"getTextInformation"in Image.prototype])>=3}function eb(){return ec()&&ey()&&ed()||eu()&&ev()&&function(){let e=window,{URLPattern:t}=e;return X(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}()?-4:ew()}function ew(){let e,t,n=window,i=n.OfflineAudioContext||n.webkitOfflineAudioContext;if(!i)return -2;if(ec()&&!ef()&&!(X(["DOMRectList"in(e=window),"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3))return -1;let o=new i(1,5e3,44100),a=o.createOscillator();a.type="triangle",a.frequency.value=1e4;let s=o.createDynamicsCompressor();s.threshold.value=-50,s.knee.value=40,s.ratio.value=12,s.attack.value=0,s.release.value=.25,a.connect(s),s.connect(o.destination),a.start(0);let[l,u]=(t=()=>{},[new Promise((e,n)=>{let i=!1,a=0,s=0;o.oncomplete=t=>e(t.renderedBuffer);let l=()=>{setTimeout(()=>n(eS("timeout")),Math.min(500,s+5e3-Date.now()))},u=()=>{try{let e=o.startRendering();switch(Z(e)&&_(e),o.state){case"running":s=Date.now(),i&&l();break;case"suspended":document.hidden||a++,i&&a>=3?n(eS("suspended")):setTimeout(u,500)}}catch(e){n(e)}};u(),t=()=>{i||(i=!0,s>0&&l())}}),t]),c=_(l.then(e=>(function(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t})(e.getChannelData(0).subarray(4500)),e=>{if("timeout"===e.name||"suspended"===e.name)return -3;throw e}));return()=>(u(),c)}function eS(e){let t=Error(e);return t.name=e,t}function eE(e,t,n=50){return F(this,null,function*(){var i,o,a;let s=document;for(;!s.body;)yield D(n);let l=s.createElement("iframe");try{for(yield new Promise((e,n)=>{let i=!1,o=()=>{i=!0,e()};l.onload=o,l.onerror=e=>{i=!0,n(e)};let{style:a}=l;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",t&&("srcdoc"in l)?l.srcdoc=t:l.src="about:blank",s.body.appendChild(l);let u=()=>{var e,t;i||((null===(t=null===(e=l.contentWindow)||void 0===e?void 0:e.document)||void 0===t?void 0:t.readyState)==="complete"?o():setTimeout(u,10))};u()});!(!(null===(o=null===(i=l.contentWindow)||void 0===i?void 0:i.document)||void 0===o)&&o.body);)yield D(n);return yield e(l,l.contentWindow)}finally{null===(a=l.parentNode)||void 0===a||a.removeChild(l)}})}function eI(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(e){if(e instanceof Error&&"SecurityError"===e.name)return!0;throw e}e=t}}function eA(){return eE((e,t)=>F(this,[e,t],function*(e,{document:t}){let n=t.body;n.style.fontSize=tO;let i=t.createElement("div");i.style.setProperty("visibility","hidden","important");let o={},a={},s=e=>{let n=t.createElement("span"),{style:o}=n;return o.position="absolute",o.top="0",o.left="0",o.fontFamily=e,n.textContent=tM,i.appendChild(n),n},l=(e,t)=>
1s(`'${e}',${t}`),u=e=>tR.some((t,n)=>e[n].offsetWidth!==o[t]||e[n].offsetHeight!==a[t]),c=tR.map(s),f=(()=>{let e={};for(let t of tj)e[t]=tR.map(e=>l(t,e));return e})();n.appendChild(i);for(let e=0;e<tR.length;e++)o[tR[e]]=c[e].offsetWidth,a[tR[e]]=c[e].offsetHeight;return tj.filter(e=>u(f[e]))}))}function eP(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let i=e[n];if(!i)continue;let o=[];for(let e=0;e<i.length;++e){let t=i[e];o.push({type:t.type,suffixes:t.suffixes})}t.push({name:i.name,description:i.description,mimeTypes:o})}return t}function ek(){let e,t;return eL((e=ec()&&ey()&&ed(),t=ep()&&function(){let e=navigator,{CSS:t}=window;return X(["userActivation"in e,t.supports("color","light-dark(#000, #fff)"),t.supports("height","1lh"),"globalPrivacyControl"in e])>=3}(),e||t))}function eL(e){let t,n,i;let o=!1,a,s,[l,u]=((t=document.createElement("canvas")).width=1,t.height=1,[t,t.getContext("2d")]);return u&&l.toDataURL?(u.rect(0,0,10,10),u.rect(2,2,6,6),o=!u.isPointInPath(5,5,"evenodd"),e?a=s="skipped":[a,s]=(l.width=240,l.height=60,u.textBaseline="alphabetic",u.fillStyle="#f60",u.fillRect(100,1,62,20),u.fillStyle="#069",u.font='11pt "Times New Roman"',n="Cwm fjordbank gly \uD83D\uDE03",u.fillText(n,2,15),u.fillStyle="rgba(102, 204, 0, 0.2)",u.font="18pt Arial",u.fillText(n,4,45),(i=ex(l))!==ex(l)?["unstable","unstable"]:(function(e,t){for(let[n,i,o]of(e.width=122,e.height=110,t.globalCompositeOperation="multiply",[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]]))t.fillStyle=n,t.beginPath(),t.arc(i,o,40,0,2*Math.PI,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,2*Math.PI,!0),t.arc(60,60,20,0,2*Math.PI,!0),t.fill("evenodd")}(l,u),[ex(l),i]))):a=s="unsupported",{winding:o,geometry:a,text:s}}function ex(e){return e.toDataURL()}function eC(){let e=navigator,t=0,n;void 0!==e.maxTouchPoints?t=Y(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch(e){n=!1}return{maxTouchPoints:t,touchEvent:n,touchStart:"ontouchstart"in window}}function eM(){return navigator.oscpu}function eO(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages)){let n;eu()&&X([!("MediaSettingsRange"in(n=window)),"RTCEncodedAudioFrame"in n,""+n.Intl=="[object Intl]",""+n.Reflect=="[object Reflect]"])>=3||t.push(e.languages)}else if("string"==typeof e.languages){let n=e.languages;n&&t.push(n.split(","))}return t}function eR(){return window.screen.colorDepth}function ej(){return H(J(navigator.deviceMemory),void 0)}function eT(){if(!(ec()&&ey()&&ed()))return eV()}function eV(){let e=screen,t=e=>H(Y(e),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function eU(){return function(){if(void 0!==tN)return;let e=()=>{let t=eF();eW(t)?tN=setTimeout(e,tT):(tU=t,tN=void 0)};e()}(),()=>F(this,null,function*(){let e=eF();if(eW(e)){let t;if(tU)return[...tU];em()&&(yield((t=document).exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t),e=eF())}return eW(e)||(tU=e),e})}function eN(){let e=ec()&&ey()&&ed(),t=ep()&&eh();if(e||t)return()=>Promise.resolve(void 0);let n=eU();return()=>F(this,null,function*(){let e=yield n(),t=e=>null===e?null:z(e,tV);return[t(e[0]),t(e[1]),t(e[2]),t(e[3])]})}function eF(){let e=screen;return[H(J(e.availTop),null),H(J(e.width)-J(e.availWidth)-H(J(e.availLeft),0),null),H(J(e.height)-J(e.availHeight)-H(J(e.availTop),0),null),H(J(e.availLeft),null)]}function eW(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function eB(){let e=eD();return void 0!==e&&ep()&&eh()?e>=8?8:4:e}function eD(){return H(Y(navigator.hardwareConcurrency),void 0)}function eZ(){var e;let t;let n=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(n){let e=new n().resolvedOptions().timeZone;if(e)return e}let i=-Math.max(J(new Date(t=new Date().getFullYear(),0,1).getTimezoneOffset()),J(new Date(t,6,1).getTimezoneOffset()));return`UTC${i>=0?"+":""}${i}`}function eG(){try{return!!window.sessionStorage}catch(e){return!0}}function e$(){try{return!!window.localStorage}catch(e){return!0}}function e_(){if(!(es()||el()))try{return!!window.indexedDB}catch(e){return!0}}
1function eY(){return!!window.openDatabase}function eJ(){return navigator.cpuClass}function eH(){let{platform:e}=navigator;return"MacIntel"===e&&ec()&&!ef()?!function(){if("iPad"===navigator.platform)return!0;let e=screen,t=e.width/e.height;return X(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}()?"iPhone":"iPad":e}function eX(){return navigator.vendor||""}function ez(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&"object"==typeof n&&e.push(t)}return e.sort()}function eK(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(e){return!1}}function eQ(){return F(this,arguments,function*({debug:e}={}){let t;if(!(ec()||eg()))return;let n={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',(t=atob)("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",t("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",t("LnNwb25zb3JpdA=="),".ylamainos",t("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",t("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",t("LmhlYWRlci1ibG9ja2VkLWFk"),t("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",t("I2FkXzMwMFgyNTA="),t("I2Jhbm5lcmZsb2F0MjI="),t("I2NhbXBhaWduLWJhbm5lcg=="),t("I0FkLUNvbnRlbnQ=")],adGuardChinese:[t("LlppX2FkX2FfSA=="),t("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",t("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),t("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",t("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",t("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",t("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),t("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),t("LmFkZ29vZ2xl"),t("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[t("YW1wLWF1dG8tYWRz"),t("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",t("I2FkX2ludmlld19hcmVh")],adGuardRussian:[t("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),t("LnJlY2xhbWE="),'div[id^="smi2adblock"]',t("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[t("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),t("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",t("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),t("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),t("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",t("I3Jla2xhbWk="),t("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),t("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),t("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[t("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",t("LndpZGdldF9wb19hZHNfd2lkZ2V0"),t("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",t("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[t("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),t("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",t("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",t("I3Jla2xhbW5pLWJveA=="),t("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",t("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[t("I2FkdmVydGVudGll"),t("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",t("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",t("LnNwb25zb3JsaW5rZ3J1ZW4="),t("I3dlcmJ1bmdza3k="),t("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),t("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[t("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",t("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG
11sLml0LyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[t("LnJla2xhbW9zX3RhcnBhcw=="),t("LnJla2xhbW9zX251b3JvZG9z"),t("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),t("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),t("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[t("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[t("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),t("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",t("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[t("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),t("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),t("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",t("LmFkX19tYWlu"),t("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[t("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[t("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),t("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[t("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),t("I2xpdmVyZUFkV3JhcHBlcg=="),t("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),t("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[t("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",t("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),t("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),t("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[t("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),t("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),t("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",t("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),t("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),t("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiX
1Q=="),t("ZGl2I3NrYXBpZWNfYWQ=")],ro:[t("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),t("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),t("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),t("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[t("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),t("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),t("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",t("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),t("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",t("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},i=Object.keys(n),o=[].concat(...i.map(e=>n[e])),a=yield function(e){return F(this,null,function*(){var t;let n=document,i=n.createElement("div"),o=Array(e.length),a={};eq(i);for(let t=0;t<e.length;++t){let a=function(e){let[t,n]=function(e){var t,n;let i=`Unexpected syntax '${e}'`,o=/^\s*([a-z-]*)(.*)$/i.exec(e),a=o[1]||void 0,s={},l=/([.:#][\w-]+|\[.+?\])/gi,u=(e,t)=>{s[e]=s[e]||[],s[e].push(t)};for(;;){let e=l.exec(o[2]);if(!e)break;let a=e[0];switch(a[0]){case".":u("class",a.slice(1));break;case"#":u("id",a.slice(1));break;case"[":{let e=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(a);if(e)u(e[1],null!==(n=null!==(t=e[4])&&void 0!==t?t:e[5])&&void 0!==n?n:"");else throw Error(i);break}default:throw Error(i)}}return[a,s]}(e),i=document.createElement(null!=t?t:"div");for(let e of Object.keys(n)){let t=n[e].join(" ");"style"===e?function(e,t){for(let n of t.split(";")){let t=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(t){let[,n,i,,o]=t;e.setProperty(n,i,o||"")}}}(i.style,t):i.setAttribute(e,t)}return i}(e[t]);"DIALOG"===a.tagName&&a.show();let s=n.createElement("div");eq(s),s.appendChild(a),i.appendChild(s),o[t]=a}for(;!n.body;)yield D(50);n.body.appendChild(i);try{for(let t=0;t<e.length;++t)o[t].offsetParent||(a[e[t]]=!0)}finally{null===(t=i.parentNode)||void 0===t||t.removeChild(i)}return a})}(o);e&&function(e,t){let n="DOM blockers debug:\n```";for(let i of Object.keys(e))for(let o of(n+=`
2${i}:`,e[i]))n+=`
3  ${t[o]?"\uD83D\uDEAB":"➡️"} ${o}`;console.log(`${n}
4\`\`\``)}(n,a);let s=i.filter(e=>{let t=n[e];return X(t.map(e=>a[e]))>.6*t.length});return s.sort(),s})}function eq(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function e0(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function e1(){return!!e2("inverted")||!e2("none")&&void 0}function e2(e){return matchMedia(`(inverted-colors: ${e})`).matches}function e3(){return!!e6("active")||!e6("none")&&void 0}function e6(e){return matchMedia(`(forced-colors: ${e})`).matches}function e5(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=tF;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw Error("Too high value")}}function e4(){return e9("no-preference")?0:e9("high")||e9("more")?1:e9("low")||e9("less")?-1:e9("forced")?10:void 0}function e9(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function e8(){return!!e7("reduce")||!e7("no-preference")&&void 0}function e7(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function te(){return!!tt("reduce")||!tt("no-preference")&&void 0}function tt(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}function tn(){return!!tr("high")||!tr("standard")&&void 0}function tr(e){return matchMedia(`(dynamic-range: ${e})`).matches}function ti(){let e=tW.acos||tB,t=tW.acosh||tB,n=tW.asin||tB,i=tW.asinh||tB,o=tW.atanh||tB,a=tW.atan||tB,s=tW.sin||tB,l=tW.sinh||tB,u=tW.cos||tB,c=tW.cosh||tB,f=tW.tan||tB,d=tW.tanh||tB,p=tW.exp||tB,h=tW.expm1||tB,y=tW.log1p||tB;return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:tW.log(1e154+tW.sqrt(1e154*1e154-1)),asin:n(.12312423423423424),asinh:i(1),asinhPf:tW.log(1+tW.sqrt(2)),atanh:o(.5),atanhPf:tW.log(3)/2,atan:a(.5),sin:s(-1e300),sinh:l(1),sinhPf:tW.exp(1)-1/tW.exp(1)/2,cos:u(10.000000000123),cosh:c(1),coshPf:(tW.exp(1)+1/tW.exp(1))/2,tan:f(-1e300),tanh:d(1),tanhPf:(tW.exp(2)-1)/(tW.exp(2)+1),exp:p(1),expm1:h(1),expm1Pf:tW.exp(1)-1,log1p:y(10),log1pPf:tW.log(11),powPI:tW.pow(tW.PI,-100)}}function to(){return function(e,t=4e3){return eE((n,i)=>{let o=i.document,a=o.body,s=a.style;s.width=`${t}px`,s.webkitTextSizeAdjust=s.textSizeAdjust="none",eu()?a.style.zoom=`${1/i.devicePixelRatio}`:ec()&&(a.style.zoom="reset");let l=o.createElement("div");return l.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),a.appendChild(l),e(o,a)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((e,t)=>{let n={},i={};for(let i of Object.keys(tZ)){let[o={},a=tD]=tZ[i],s=e.createElement("span");for(let e of(s.textContent=a,s.style.whiteSpace="nowrap",Object.keys(o))){let t=
4o[e];void 0!==t&&(s.style[e]=t)}n[i]=s,t.append(e.createElement("br"),s)}for(let e of Object.keys(tZ))i[e]=n[e].getBoundingClientRect().width;return i})}function ta(){return navigator.pdfViewerEnabled}function ts(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function tl(){let{ApplePaySession:e}=window;if("function"!=typeof(null==e?void 0:e.canMakePayments))return -1;if(tG())return -3;try{return e.canMakePayments()?1:0}catch(e){return function(e){if(e instanceof Error&&"InvalidAccessError"===e.name&&/\bfrom\b.*\binsecure\b/i.test(e.message))return -2;throw e}(e)}}function tu(){var e;let t=document.createElement("a"),n=null!==(e=t.attributionSourceId)&&void 0!==e?e:t.attributionsourceid;return void 0===n?void 0:String(n)}function tc({cache:e}){var t,n,i,o,a,s;let l=td(e);if(!l)return t$;if(!ty(l))return t_;let u=ep()?null:l.getExtension(tz);return{version:(null===(t=l.getParameter(l.VERSION))||void 0===t?void 0:t.toString())||"",vendor:(null===(n=l.getParameter(l.VENDOR))||void 0===n?void 0:n.toString())||"",vendorUnmasked:u?null===(i=l.getParameter(u.UNMASKED_VENDOR_WEBGL))||void 0===i?void 0:i.toString():"",renderer:(null===(o=l.getParameter(l.RENDERER))||void 0===o?void 0:o.toString())||"",rendererUnmasked:u?null===(a=l.getParameter(u.UNMASKED_RENDERER_WEBGL))||void 0===a?void 0:a.toString():"",shadingLanguageVersion:(null===(s=l.getParameter(l.SHADING_LANGUAGE_VERSION))||void 0===s?void 0:s.toString())||""}}function tf({cache:e}){let t=td(e);if(!t)return t$;if(!ty(t))return t_;let n=t.getSupportedExtensions(),i=t.getContextAttributes(),o=[],a=[],s=[],l=[],u=[];if(i)for(let e of Object.keys(i))a.push(`${e}=${i[e]}`);for(let e of tp(t)){let n=t[e];s.push(`${e}=${n}${tY.has(n)?`=${t.getParameter(n)}`:""}`)}if(n)for(let e of n){if(e===tz&&ep()||e===tK&&(eu()||ec()))continue;let n=t.getExtension(e);if(!n){o.push(e);continue}for(let e of tp(n)){let i=n[e];l.push(`${e}=${i}${tJ.has(i)?`=${t.getParameter(i)}`:""}`)}}for(let e of tH)for(let n of tX){let i=function(e,t,n){let i=e.getShaderPrecisionFormat(e[t],e[n]);return i?[i.rangeMin,i.rangeMax,i.precision]:[]}(t,e,n);u.push(`${e}.${n}=${i.join(",")}`)}return l.sort(),s.sort(),{contextAttributes:a,parameters:s,shaderPrecisions:u,extensions:n,extensionParameters:l,unsupportedExtensions:o}}function td(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;for(let e of(t.addEventListener("webglCreateContextError",()=>n=void 0),["webgl","experimental-webgl"])){try{n=t.getContext(e)}catch(e){}if(n)break}return e.webgl={context:n},n}function tp(e){return Object.keys(e.__proto__).filter(th)}function th(e){return"string"==typeof e&&!e.match(/[^A-Z0-9_x]/)}function ty(e){return"function"==typeof e.getParameter}function tm(){if(!(eg()||ec()))return -2;if(!window.AudioContext)return -1;let e=new AudioContext().baseLatency;return null==e?-1:isFinite(e)?e:-3}function tg(){if(!window.Intl)return -1;let e=window.Intl.DateTimeFormat;if(!e)return -2;let t=e().resolvedOptions().locale;return t||""===t?t:-3}function tv(e){return JSON.stringify(e,(e,t)=>{var n;return t instanceof Error?R({name:t.name,message:t.message,stack:null===(n=t.stack)||void 0===n?void 0:n.split(`
5`)},t):t},2)}function tb(e){return er(function(e){let t="";for(let n of Object.keys(e).sort()){let i=e[n],o="error"in i?"error":JSON.stringify(i.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${o}`}return t}(e))}function tw(e=50){return function(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(e=>n.call(window,()=>e(),{timeout:t})):D(Math.min(e,t))}(e,2*e)}function tS(){return F(this,arguments,function*(e={}){var t;let n,{delayFallback:i,debug:o,monitoring:a=!0}=e;return a&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${tE}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}(),yield tw(i),t=eo(tQ,{cache:{},debug:o},[]),n=Date.now(),{get(e){return F(this,null,function*(){let i,a,s;let l=Date.now(),u=yield t(),c={get visitorId(){return void 0===s&&(s=tb(this.components)),s},set visitorId(r){s=r},confidence:(a=z(.99+.01*(i=function(e){if(eg())return .4;if(ec())return ef()&&!(ey()&&ed())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}(u)),1e-4),{score:i,comment:tq.replace(/\$/g,`${a}`)}),components:u,version:tE};return(o||null!=e&&e.debug)&&console.log(`Copy the text below to get the debug data:
6
7\`\`\`
8version: ${c.version}
9userAgent: ${navigator.userAgent}
10timeBetweenLoadAndGet: ${l-n}
11visitorId: ${c.visitorId}
12components: ${tv(u)}
13\`\`\``),c})}}})}((e,t)=>{for(var n in t)E(e,n,{get:t[n],enumerable:!0})})(B,{componentsToDebugString:()=>tv,default:()=>t0,getFullscreenElement:()=>em,getUnstableAudioFingerprint:()=>ew,getUnstableCanvasFingerprint:()=>eL,getUnstableHardwareConcurrency:()=>eD,getUnstableScreenFrame:()=>eU,getUnstableScreenResolution:()=>eV,getWebGLContext:()=>td,hashComponents:()=>tb,isAndroid:()=>eg,isChromium:()=>eu,isDesktopWebKit:()=>ef,isEdgeHTML:()=>el,isGecko:()=>ep,isSamsungInternet:()=>ev,isTrident:()=>es,isWebKit:()=>ec,load:()=>tS,loadSources:()=>eo,murmurX64Hash128:()=>t1,prepareForSources:()=>tw,sources:()=>tQ,transformSource:()=>ea,withIframe:()=>eE});var tE,tI,tA,tP,tk,tL,tx,tC,tM,tO,tR,tj,tT,tV,tU,tN,tF,tW,tB,tD,tZ,tG,t$,t_,tY,tJ,tH,tX,tz,tK,tQ,tq,t0,t1,t2=(s=()=>{tE="5.1.0",tI=[4283543511,3981806797],tA=[3301882366,444984403],tP=[2277735313,289559509],tk=[1291169091,658871167],tL=[0,5],tx=[0,1390208809],tC=[0,944331445],tM="mmMwWLliI0O&1",tO="48px",tR=["monospace","sans-serif","serif"],tj=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],tT=2500,tV=10,tF=100,tW=Math,tB=()=>0,tD="mmMwWLliI0fiflO&1",tZ={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]},tG=eI,t$=-1,t_=-2,tY=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),tJ=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),tH=["FRAGMENT_SHADER","VERTEX_SHADER"],tX=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],tz="WEBGL_debug_renderer_info",tK="WEBGL_polygon_mode",tQ={fonts:eA,domBlockers:eQ,fontPreferences:to,audio:eb,screenFrame:eN,canvas:ek,osCpu:eM,languages:eO,colorDepth:eR,deviceMemory:ej,screenResolution:eT,hardwareConcurrency:eB,timezone:eZ,sessionStorage:eG,localStorage:e$,indexedDB:e_,openDatabase:eY,cpuClass:eJ,platform:eH,plugins:eP,touchSupport:eC,vendor:eX,vendorFlavors:ez,cookiesEnabled:eK,colorGamut:e0,invertedColors:e1,forcedColors:e3,monochrome:e5,contrast:e4,reducedMotion:e8,reducedTransparency:te,hdr:tn,math:ti,pdfViewerEnabled:ta,architecture:ts,applePay:tl,privateClickMeasurement:tu,audioBaseLatency:tm,dateTimeLocale:tg,webGlBasics:tc,webGlExtensions:tf},tq="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score",t0={load:tS,hashComponents:tb,componentsToDebugString:tv},t1=er},()=>(s&&(l=s(s=0)),l)),t3=((u=t3||{}).ApplePay="APPLE_PAY",u.SamsungPay="SAMSUNG_PAY",u.GooglePay="GOOGLE_PAY",u),t6=["visa","mastercard"];function t5(e){let t=null==e?void 0:e.allowedNetworks;return t&&t.length>0?[...t]:[...t6]}var t4=function(){return(t4=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},t9={default:"endpoint"},t8="Blocked by CSP",t7="The endpoint parameter is not a valid URL",ne="Failed to load the JS script of the agent",nt="9319",nn="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js";function nr(e){var t,n,i,o,a,s,l;return(t=function(){return new Promise(function(t,n){if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(e){if(e instanceof Error&&"TypeError"===e.name)return!0;throw e}}(e))throw Error(t7);var i=document.createElement("script"),o=function(){var e;return null===(e=i.parentNode)||void 0===e?void 0:e.removeChild(i)},a=document.head||document.getElementsByTagName("head")[0];i.onload=function(){o(),t()},i.onerror=function(){o(),n(Error(ne))},i.async=!0,i.src=e,a.appendChild(i)})},n=function(){throw Error(t8)},o=document,a="securitypolicyviolation",s=function(t){var n=new URL(e,location.href),o=t.blockedURI;o!==n.href&&o!==n.protocol.slice(0,-1)&&o!==n.origin||(i=t,l())},o.addEventListener(a,s),l=function(){return o.removeEventListener(a,s)},Promise.resolve().then(t).then(function(e){return l(),e},function(e){return new Promise(function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)}).then(function(){if(l(),i)return n(i);throw e})})).then(ni)}function ni(){var e,t,n=window,i="__fpjs_p_l_b",o=n[i];if(null!=(t=null===(e=Object.getOwnPropertyDescriptor)||void 0===e?void 0:e.call(Object,n,i))&&t.configurable?delete n[i]:t&&!t.writable||(n[i]=void 0),"function"!=typeof(null==o?void 0:o.load))throw Error(nt);return o}var no=U(W());function na(){return"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}var ns={loggingUrl:"https://analytics.stitch.money/query"},nl={};function nu(e={}){let{loggingUrl:t}=e,n=T(e,["loggingUrl"]);"string"==typeof t&&t.length>0&&(ns.loggingUrl=t),nl=R(R({sessionId:na()},nl),n)}function nc(){var e,t,n;return(null==(t=null==(e=null==window?void 0:window.location)?void 0:e.ancestorOrigins)?void 0:t.length)>0?Object.values(null==(n=null==window?void 0:window.location)?void 0:n.ancestorOrigins).join(","):(null==document?void 0:document.referrer)||void 0}function nf(e,t){return F(this,null,function*(){try{yield fetch(ns.loggingUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"LOG_EVENT",event:{message:e,metadata:R(R({hostname:nc()},nl),t)}})})}catch(e){try{yield nd("[logEvent] Error logging event",e,t)}catch(e){}}})}
13function nd(e,t,n){return F(this,null,function*(){try{yield fetch(ns.loggingUrl,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:"LOG_ERROR",error:{message:e,error:(0,no.serializeError)(t),metadata:R(R({hostname:nc()},nl),n)}})})}catch(e){}})}var np=U(W()),nh=new TextEncoder;function ny(e){return F(this,null,function*(){var t;let n=null==(t=globalThis.crypto)?void 0:t.subtle;if(void 0===n)return e;try{let t=yield n.digest("SHA-256",nh.encode(e)),i=(function(e){let t="";for(let n of e)t+=String.fromCharCode(n);return btoa(t).replace(/\+/gu,"-").replace(/\//gu,"_").replace(/=+$/u,"")})(new Uint8Array(t)).slice(0,12);return`${e}~${i}`}catch(t){return e}})}var nm="stitch-fp-session-id";function ng(e){let t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="";for(let i=0;i<e;i++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}function nv(e){return!!e&&"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e)}function nb(e){return null!=e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)}var nw=new WeakSet;function nS(e){return nw.add(e),e}function nE(e,t){return nS({type:"object",fields:e,text:t})}function nI(e,t){return nS({type:"opaque",value:e,text:t})}function nA(e,t){return void 0!==t?nS(j(R({},e),{text:t})):e}function nP(e,t){return nE(new Map([...e.fields,...t]),e.text)}function nk(e,t,n){n.add(e);let i=new Map;for(let t of Object.keys(e)){let o=e[t];i.set(t,nL(o,void 0,n))}return nE(i,t)}function nL(e,t,n){return null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"function"==typeof e.getMonth?nS({type:"scalar",value:e,text:t}):nw.has(e)?nA(e,t):Array.isArray(e)?n.has(e)?nI("<circular ref>",t):function(e,t,n){n.add(e);let i=[];for(let t of e)i.push(nL(t,void 0,n));return nS({type:"array",items:i,text:t})}(e,t,n):nb(e)?n.has(e)?nI("<circular ref>",t):nk(e,t,n):nI("function"==typeof e?"<function>":"???",t)}function nx(e,t){return nL(e,t,new WeakSet)}function nC(e,t){return nk(e,t,new WeakSet)}function nM(e){return e.indexOf(`
14`)>=0}function nO(e,t="  "){return nM(e)?e.split(`
15`).map(e=>`${t}${e}`).join(`
16`):`${t}${e}`}var nR=/'/g;function nj(e){return"string"==typeof e?"'"+e.replace(nR,"\\'")+"'":JSON.stringify(e)}function nT(e,t=[]){let n,i=[];if("array"===e.type){let n=e.items,o=0;for(let e of n)for(let n of nT(e,[...t,o++]))i.push(n)}else if("object"===e.type)for(let[n,o]of e.fields)for(let e of nT(o,[...t,n]))i.push(e);let o=e.text;return o?(n=0===t.length?"":1===t.length?"number"==typeof t[0]?`Value at index ${t[0]}: `:`Value at key ${nj(t[0])}: `:`Value at keypath ${nj(t.map(String).join("."))}: `,[...i,`${n}${o}`]):i}function nV(e){return"string"==typeof e?function(e,t=80){let n=JSON.stringify(e);if(n.length<=t)return n;let i=`${e.substring(0,t-15)}...`;return`${JSON.stringify(i)} [truncated]`}(e):"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e?e.toString():null===e?"null":void 0===e?"undefined":nv(e)?`new Date(${nj(e.toISOString())})`:e instanceof Date?"(Invalid Date)":"(unserializable)"}function nU(e){let[t,n]=function e(t,n=""){let i;i="array"===t.type?function(t,n){let{items:i}=t;if(0===i.length)return"[]";let o=[];for(let t of i){let[i,a]=e(t,`${n}  `);o.push(`${n}  ${i},`),void 0!==a&&o.push(nO(a,`${n}  `))}return["[",...o,`${n}]`].join(`
17`)}(t,n):"object"===t.type?function(t,n){let{fields:i}=t;if(0===i.size)return"{}";let o=[];for(let[t,a]of i){let i=nV(t),s=`${n}  ${" ".repeat(i.length+2)}`,[l,u]=e(a,`${n}  `);o.push(`${n}  ${i}: ${l},`),void 0!==u&&o.push(nO(u,s))}return["{",...o,`${n}}`].join(`
18`)}(t,n):"scalar"===t.type?nV(t.value):t.value;let o=t.text;if(void 0===o)return[i,void 0];{let e="^".repeat(nM(i)?1:i.length);return[i,[e,o].join(nM(o)?`
19`:" ")]}}(e);return void 0!==n?`${t}
20${n}`:t}function nN(e){return{ok:!0,value:e,error:void 0}}function nF(e){return{ok:!1,value:void 0,error:e}}function nW(e){var t;function n(t){return e(t,nN,e=>nF(nw.has(e)?e:nx(t,e)))}function i(e){return nW((t,i,o)=>{let a=n(t);if(!a.ok)return a;let s=nB.has(e)?e:e(a.value,i,o);return nB.has(s)?s.decode(a.value):s})}function o(e){return i((t,n,i)=>{let o=e(t);return null===o?n(t):i("string"==typeof o?nx(t,o):o)})}return t={verify:function(e,t=nU){let i=n(e);if(i.ok)return i.value;throw function(e,t){let n=t(e);if("string"!=typeof n)return n;{let e=Error(`
21${n}`);return e.name="Decoding error",e}}(i.error,t)},value:function(e){return n(e).value},decode:n,transform:function(e){return i(t=>{try{let n=e(t);return nN(n)}catch(e){return nF(nx(t,e instanceof Error?e.message:String(e)))}})},refine:function(e,t){return o(n=>e(n)?null:t)},reject:o,describe:function(e){return nW((t,i,o)=>{let a=n(t);return a.ok?a:o(nx(a.error,e))})},then:i,pipe:function(e){return i(e)}},nB.add(t),t}var nB=new WeakSet,nD=nW((e,t,n)=>Array.isArray(e)?t(e):n("Must be an array"));function nZ(e){let t=e.decode;return nD.then((e,n,i)=>(function(e,t,n,i){let o=[];for(let n=0;n<e.length;++n){let a=e[n];if(a.ok)o.push(a.value);else{let e=a.error,o=t.slice();return o.splice(n,1,nx(e,e.text?`${e.text} (at index ${n})`:`index ${n}`)),i(nx(o))}}return n(o)})(e.map(t),e,n,i))}function nG(e){return nW(t=>e().decode(t))}var n$=nW((e,t,n)=>nb(e)?t(e):n("Must be an object"));function n_(e){let t=new Set(Object.keys(e));return n$.then((n,i,o)=>{let a=function(e,t){let n=new Set;for(let i of e)t.has(i)||n.add(i);return n}(t,new Set(Object.keys(n))),s={},l=null;for(let t of Object.keys(e)){let i=e[t],o=n[t],u=i.decode(o);if(u.ok){let e=u.value;void 0!==e&&(s[t]=e),a.delete(t)}else{let e=u.error;void 0===o?a.add(t):(null===l&&(l=new Map),l.set(t,e))}}if(l||a.size>0){let e=nC(n);if(l&&(e=nP(e,l)),a.size>0){let t=Array.from(a).map(nj).join(", "),n=a.size>1?"keys":"key";e=nA(e,`Missing ${n}: ${t}`)}return o(e)}return i(s)})}var nY=`Either:
22`;function nJ(...e){if(0===e.length)throw Error("Pass at least one decoder to either()");return nW((t,n,i)=>{let o=[];for(let n=0;n<e.length;n++){let i=e[n].decode(t);if(i.ok)return i;o.push(i.error)}return i(nY+o.map(e=>{var t;return(t=nT(e).join(`
23`)).startsWith(nY)?t.substring(nY.length):`-${nO(t).substring(1)}`}).join(`
24`))})}function nH(e){return"function"==typeof e?e():e}var nX=n0(null),nz=n0(void 0),nK=nW((e,t,n)=>null==e?t(e):n("Must be undefined or null"));function nQ(e,t){let n=nJ(nz,e);return arguments.length>=2?n.transform(e=>null!=e?e:nH(t)):n}function nq(e,t){let n=nJ(nK,e);return arguments.length>=2?n.transform(e=>null!=e?e:nH(t)):n}function n0(e){return nW((t,n,i)=>t===e?n(e):i(`Must be ${"symbol"==typeof e?String(e):nj(e)}`))}nW((e,t,n)=>t(e));var n1=nW((e,t,n)=>"boolean"==typeof e?t(e):n("Must be boolean"));nW((e,t,n)=>t(!!e));var n2=nW((e,t,n)=>"string"==typeof e?t(e):n("Must be string")),n3=n6(/\S/,"Must be non-empty string");function n6(e,t){return n2.refine(t=>e.test(t),t)}n6(/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,"Must be email"),nJ(n6(/^([A-Za-z]{3,9}(?:[+][A-Za-z]{3,9})?):\/\/(?:([-;:&=+$,\w]+)@)?(?:([A-Za-z0-9.-]+)(?::([0-9]{2,5}))?)(\/(?:[-+~%/.,\w]*)?(?:\?[-+=&;%@.,/\w]*)?(?:#[.,!/\w]*)?)?$/,"Must be URL").transform(e=>new URL(e)),(h=URL,nW((e,t,n)=>e instanceof h?t(e):n(`Must be ${h.name} instance`)))).refine(e=>"https:"===e.protocol,"Must be an HTTPS URL"),n6(/^[a-z_][a-z0-9_]*$/i,"Must be valid identifier");var n5=n6(/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,"Must be uuid"),n4=(n5.refine(e=>"1"===e[14],"Must be uuidv1"),n5.refine(e=>
24"4"===e[14],"Must be uuidv4"),n6(/^[0-9]+$/,"Must only contain digits")),n9=(nJ((n6(/^[0-9a-f]+$/i,"Must only contain hexadecimal digits"),n4.transform(Number),nW((e,t,n)=>nv(e)?t(e):n("Must be a Date"))),n6(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:[.]\d+)?(?:Z|[+-]\d{2}:?\d{2})$/,"Must be ISO8601 format").transform(e=>{let t=new Date(e);if(isNaN(t.getTime()))throw Error("Must be valid date/time value");return t})).describe("Must be a Date or date string"),nW((e,t,n)=>"number"==typeof e?t(e):n("Must be number"))).refine(e=>Number.isFinite(e),"Number must be finite"),n8=n9.refine(e=>Number.isInteger(e),"Number must be an integer"),n7=n9.refine(e=>e>=0&&!Object.is(e,-0),"Number must be positive"),re=nJ(nX,n2,n9,n1,(n8.refine(e=>e>=0&&!Object.is(e,-0),"Number must be positive"),nW((e,t,n)=>"bigint"==typeof e?t(e):n("Must be bigint")),nG(()=>{var e;let t,n;return t=void 0,n=void 0!==e?e:re,n$.then((e,i,o)=>{var a;let s={},l=new Map;for(let i of Object.keys(e)){let u=e[i],c=null==t?void 0:t.decode(i);if((null==c?void 0:c.ok)===!1)return o(nx(e,`Invalid key ${nj(i)}: ${nT(c.error,[]).join(`
25`)}`));let f=null!=(a=null==c?void 0:c.value)?a:i,d=n.decode(u);d.ok?0===l.size&&(s[f]=d.value):(l.set(i,d.error),s={})}return l.size>0?o(nP(nC(e),l)):i(s)})})),nG(()=>nZ(re))).describe("Must be valid JSON value"),rt={prod:"https://public-config.stitch.money",staging:"https://public-config-staging.stitch.money",preprod:"https://public-config-pre-prod.stitch.money"},rn=nq(n_({allowedNetworks:nq(nZ((y=["visa","mastercard","amex"],nW((e,t,n)=>{let i=y.find(t=>t===e);return void 0!==i?t(i):n(`Must be one of ${y.map(e=>nj(e)).join(", ")}`)}))))})),rr=n_({analytics:n_({changeEventDebounceDelayMs:n7}),evervault:n_({teamId:n3,appId:n3}),ipAddress:nQ(n3),ipAddressProof:nQ(n3),fingerprintContext:nQ(n3),fingerprint:n_({disabled:n1,useEmulation:n1,ossEnabled:nQ(n1),publicKey:n3,endpoint:n3,scriptUrlPattern:n3,cacheDurationInSeconds:n9}),card:rn,applePay:rn,googlePay:rn,samsungPay:rn});function ri(e){return null!=e&&"object"==typeof e&&"aborted"in e&&"addEventListener"in e}function ro(e){return{version:"2",serviceId:"9ba67dd8d5b247cfb3f76e",protocol:"PROTOCOL_3DS",allowedBrands:t5(null==e?void 0:e.samsungPay).map(e=>(function(e){switch(e){case"visa":case"mastercard":case"amex":return e}})(e))}}var ra=class extends Error{constructor(e){super(e),this.name="SessionError"}},rs=e=>e instanceof Error?e.toString():JSON.stringify(e),rl="3.16.0",ru="[onpaymentauthorized]",rc="[onClickSamsungPaySessionHandler]",rf="[onClickGooglePaySessionHandler]",rd=class{constructor(e){var t,n,i;N(this,"onCancelPayment"),N(this,"clientId"),N(this,"gatewayMerchantId"),N(this,"runtimeConfigEnvironment"),N(this,"applePayIsSupported",!1),N(this,"samsungPayIsSupported",!1),N(this,"googlePayIsSupported",!1),N(this,"runtimeConfig"),N(this,"fingerprintAgent"),N(this,"googlePayClient"),N(this,"samsungPayClient"),nu({source:"wallets-client",version:rl});let{onCancelPayment:o,clientId:a,gatewayMerchantId:s,runtimeConfigEnvironment:l}=e,u=null==(i=null==(n=null==(t=globalThis.google)?void 0:t.payments)?void 0:n.api)?void 0:i.PaymentsClient;this.googlePayClient=u?new u({environment:null!=a&&a.startsWith("test-")?"TEST":"PRODUCTION"}):void 0,this.samsungPayClient=window.SamsungPay?new window.SamsungPay.PaymentClient({environment:null!=a&&a.startsWith("test-")?"STAGE":"PRODUCTION",nonce:b()}):void 0,this.onCancelPayment=null!=o?o:()=>{},this.clientId=a,this.gatewayMerchantId=s,this.runtimeConfigEnvironment=l,this.loadFingerprintAgent()}loadRuntimeConfig(){return F(this,null,function*(){var e,t;if(void 0===this.runtimeConfig&&this.clientId){let n=yield function e(t,n,i){return F(this,null,function*(){var o;let a;let s=ri(n)?n:void 0,l=ri(n)?i:n,u=`${(a="string"==typeof(o=null==l?void 0:l.environment)&&Object.prototype.hasOwnProperty.call(rt,o)?l.environment:"prod",rt[a])}/config/${t}`;try{let t=0;for(;t<3;)try{let n=yield fetch(u,{signal:s});if(n.ok)return{type:"success",runtimeConfig:rr.verify((yield n.json()))};if(3==++t)return{type:"error",error:Error(`[${e.name}] Failed to retrieve runtime config after 3 attempts. Runtime config endpoint returned ${n.status} response`)};yield new Promise(e=>setTimeout(e,500))}catch(e){if(3==++t)throw e;yield new Promise(e=>setTimeout(e,500))}return{type:"error",error:Error(`[${e.name}] Failed to retrieve runtime config`)}}catch(t){return t instanceof Error?{type:"error",error:t}:"string"==typeof t?{type:"error",error:Error(t)}:{type:"error",error:Error(`[${e.name}] Failed to retrieve runtime config. Unknown error thrown`)}}})}(this.clientId,{environment:this.runtimeConfigEnvironment});if("error"===n.type){let i=null!=(t=null==(e=n.error)?void 0:e.message)?t:"Failed to load runtime configuration";throw nd(i,n.error,{clientId:this.clientId}),n.error?n.error:Error(i)}this.runtimeConfig=n.runtimeConfig}})}loadFingerprintAgent(){return F(this,null,function*(){void 0!==this.fingerprintAgent||(void 0===this.runtimeConfig&&(yield this.loadRuntimeConfig()),void 0===this.runtimeConfig||this.runtimeConfig.fingerprint.disabled||(this.fingerprintAgent=yield function(e){return F(this,arguments,function*({config:e}){var t,n,i,o,a,s,l,u,c,f,d,p,h,y,m,g,v;let b=((t={apiKey:e.publicKey,endpoint:[e.endpoint,t9],scriptUrlPattern:[e.scriptUrlPattern,nn],region:"eu"}).scriptUrlPattern,f=t.token,p=void 0===(d=t.apiKey)?f:d,h=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(e);o<i.length;o++)0>t.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]]);return n}(t,["scriptUrlPattern","token","apiKey"]),y=null!==(n="scriptUrlPattern",c=Object.prototype.hasOwnProperty.call(t,n)?t[n]:void 0)&&void 0!==c?c:nn,g=(s=[],l=function(){s.push({time:new Date,state:document.visibilityState})},o="visibilitychange",(i=document).addEventListener(o,l,void 0),u=function(){return i.removeEventListener(o,l,a)},l(),m=[s,u])[0],v=m[1],Promise.resolve().then(function(){if(!p||"string"!=typeof p)throw Error("API key required");return function(e,t){var n,i,o,a,s,l,u=[],c=(n=function(e,t,n){if(n||2==arguments.length)for(var i,o=0,a=t.length;o<a;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}([],e,!0),i={current:function(){return n[0]},postpone:function(){var e=n.shift();void 0!==e&&n.push(e)},exclude:function(){n.shift()}}
25,s=0,o=function(){return Math.random()*Math.min(3e3,100*Math.pow(2,s++))},a=new Set,[i.current(),function(e,t){var n,s=t instanceof Error?t.message:"";if(s===t8||s===t7)i.exclude(),n=0;else if(s===nt)i.exclude();else if(s===ne){var l=Date.now()-e.getTime()<50,u=i.current();u&&l&&!a.has(u)&&(a.add(u),n=0),i.postpone()}else i.postpone();var c=i.current();return void 0===c?void 0:[c,null!=n?n:e.getTime()+o()-Date.now()]}]),f=c[0],d=c[1];if(void 0===f)return Promise.reject(TypeError("The list of script URL patterns is empty"));var p=function(e){var n=new Date,i=function(t){return u.push({url:e,startedAt:n,finishedAt:new Date,error:t})},o=t(e);return o.then(function(){return i()},i),o.catch(function(e){if(null!=l||(l=e),u.length>=5)throw l;var t=d(n,e);if(!t)throw l;var i=t[0],o=t[1];return new Promise(function(e){return setTimeout(e,o)}).then(function(){return p(i)})})};return p(f).then(function(e){return[e,u]})}((Array.isArray(y)?y:[y]).map(function(e){var t,n;return t=String(e),n=encodeURIComponent,t.replace(/<[^<>]+>/g,function(e){return"<version>"===e?"3":"<apiKey>"===e?n(p):"<loaderVersion>"===e?n("3.11.4"):e})}),nr)}).catch(function(e){throw v(),e instanceof Error&&e.message===nt?Error(ne):e}).then(function(e){var t=e[0],n=e[1];return v(),t.load(t4(t4({},h),{ldi:{attempts:n,visibilityStates:g}}))}));if(!0!==e.ossEnabled)return{proAgent:yield b};let[w,S]=yield Promise.all([b,Promise.resolve().then(()=>(t2(),B)).then(e=>e.load()).catch(e=>{nd("OSS fingerprint agent load failed",e,{source:"fingerprint-stitch"})})]);return R({proAgent:w},void 0!==S&&{ossAgent:S})})}({config:this.runtimeConfig.fingerprint})))})}fingerprint(){return F(this,null,function*(){var e,t,n,i;let o=yield function(e){return F(this,arguments,function*({config:e,clientId:t,agent:n,payerId:i,sdkVersion:o,ipAddress:a,ipAddressProof:s,fingerprintContext:l}){let u=(null==e?void 0:e.ossEnabled)===!0,h;u&&void 0!==l&&(l.length>4096?nd("Fingerprint context exceeded size limit and was dropped",Error(`fingerprintContext length ${l.length}`),{source:"fingerprint-stitch"}):h=l);let y=u?a:void 0,m=u?s:void 0;if((null==e?void 0:e.disabled)===!0)return btoa(JSON.stringify({disabled:!0,emulated:!1,fingerprintDetails:{timestamp:new Date().toISOString(),requestId:"",visitorId:""}}));if((null==e?void 0:e.disabled)===!1&&null!=e&&e.useEmulation&&null!=t&&t.startsWith("test")){let e=na().replace(/-/g,"").slice(0,8),t=yield ny(e);return btoa(JSON.stringify(R(R({disabled:!1,emulated:!0,fingerprintDetails:{timestamp:new Date().toISOString(),requestId:`${Date.now()}.${ng(6)}`,visitorId:ng(20)}},void 0!==h&&{fingerprintContext:h}),u&&{oss:j(R(R({fingerprintHash:t,rawSignals:{},sessionId:na()},void 0!==a&&{ipAddress:a}),void 0!==s&&{ipAddressProof:s}),{source:"stitch-oss-web"})})))}if(void 0!==n&&(null==e?void 0:e.disabled)===!1){let l=Date.now();if(void 0!==f&&void 0!==d&&void 0!==p&&p.ossEnabled===u&&p.ipAddress===y&&p.ipAddressProof===m&&p.fingerprintContext===h&&l-d<1e3*e.cacheDurationInSeconds)return btoa(JSON.stringify(f));try{let e,o={linkedId:t,tag:{payerId:i}},g,v;if(u&&void 0!==n.ossAgent){let[e,t]=yield Promise.allSettled([n.proAgent.get(o),n.ossAgent.get()]);if("rejected"===e.status)throw e.reason;g=e.value,"fulfilled"===t.status?v=t.value:nd("OSS fingerprint collection failed",t.reason,{source:"fingerprint-stitch"})}else g=yield n.proAgent.get(o);if(void 0!==v)try{if("string"!=typeof v.visitorId||0===v.visitorId.length)throw Error("OSS fingerprint payload missing visitorId");let t=yield ny(v.visitorId);e=j(R(R({fingerprintHash:t,rawSignals:function(e){let t={};if(null===e||"object"!=typeof e)return t;for(let[n,i]of Object.entries(e)){if(null===i||"object"!=typeof i)continue;let{value:e}=i;if(void 0!==e){if("string"==typeof e||"number"==typeof e){t[n]=e.toString();continue}try{let i=JSON.stringify(e);if(void 0===i)continue;t[n]=(function(e,t=0){let n="string"==typeof e?(null!=c?c:c=new TextEncoder).encode(e):e,i=t+374761393&4294967295,o=0;if(n.length>=16){let e=[t+2654435761+2246822519&4294967295,t+2246822519&4294967295,t+0&4294967295,t-2654435761&4294967295],a=n.length-16,s=0;for(o=0;(4294967280&o)<=a;o+=4){let t=o,i=2246822519*(n[t+0]+(n[t+1]<<8))+(2246822519*(n[t+2]+(n[t+3]<<8))<<16),a=e[s]+i&4294967295,l=65535&(a=a<<13|a>>>19),u=a>>>16;e[s]=2654435761*l+(2654435761*u<<16)&4294967295,s=s+1&3}i=(e[0]<<1|e[0]>>>31)+(e[1]<<7|e[1]>>>25)+(e[2]<<12|e[2]>>>20)+(e[3]<<18|e[3]>>>14)&4294967295}i=i+n.length&4294967295;let a=n.length-4;for(;o<=a;o+=4){let e=o;i=(65535&(i=(i=i+(3266489917*(n[e+0]+(n[e+1]<<8))+(3266489917*(n[e+2]+(n[e+3]<<8))<<16))&4294967295)<<17|i>>>15))*668265263+((i>>>16)*668265263<<16)&4294967295}for(;o<n.length;++o)i+=374761393*n[o],i=(65535&(i=i<<11|i>>>21))*2654435761+((i>>>16)*2654435761<<16)&4294967295;return i^=i>>>15,i=((65535&i)*2246822519&4294967295)+((i>>>16)*2246822519<<16),i^=i>>>13,i=((65535&i)*3266489917&4294967295)+((i>>>16)*3266489917<<16),(i^=i>>>
2516)<0?i+4294967296:i})(i,0).toString()}catch(e){continue}}}return t}(v.components),sessionId:function(){try{let e=localStorage.getItem(nm);return e||(e=na(),localStorage.setItem(nm,e)),e}catch(e){return}}()},void 0!==a&&{ipAddress:a}),void 0!==s&&{ipAddressProof:s}),{source:"stitch-oss-web"})}catch(e){nd("OSS fingerprint payload construction failed",e,{source:"fingerprint-stitch"})}let b=R(R({disabled:!1,emulated:!1,fingerprintDetails:{timestamp:new Date().toISOString(),requestId:g.requestId,visitorId:g.visitorId}},void 0!==h&&{fingerprintContext:h}),void 0!==e&&{oss:e});return f=b,d=l,p={ossEnabled:u,ipAddress:y,ipAddressProof:m,fingerprintContext:h},btoa(JSON.stringify(b))}catch(i){var g,v;let e,t;let n=(t=null!=(e=(g=(0,np.serializeError)(i)).cause)?"object"==typeof e&&"message"in e?e.message:"object"==typeof e?"Unknown cause":String(e):void 0,R(R(R({message:null!=(v=g.message)?v:"Unknown error",name:g.name},"string"==typeof g.code&&{code:g.code}),"string"==typeof g.requestId&&{requestId:g.requestId}),t&&{cause:t}));return btoa(JSON.stringify({error:R(R(R(R({outcome:"Failed",message:(n.name&&"Error"!==n.name?`${n.name}: ${n.message}`:n.message)||"Unknown error"},n.code&&{code:n.code}),n.cause&&{cause:n.cause}),n.requestId&&{requestId:n.requestId}),o&&{sdkVersion:o})}))}}return btoa(JSON.stringify({error:R({outcome:"Failed",message:"Attempted to get fingerprint data but either runtime config or the agent are not present"},o&&{sdkVersion:o})}))})}({config:null==(e=this.runtimeConfig)?void 0:e.fingerprint,agent:this.fingerprintAgent,clientId:this.clientId,sdkVersion:rl,ipAddress:null==(t=this.runtimeConfig)?void 0:t.ipAddress,ipAddressProof:null==(n=this.runtimeConfig)?void 0:n.ipAddressProof,fingerprintContext:null==(i=this.runtimeConfig)?void 0:i.fingerprintContext});return nu({fingerprint:o}),o})}supportedPaymentMethods(){return F(this,null,function*(){let e=[];try{yield this.loadRuntimeConfig()}catch(e){}return this.applePayIsSupported=yield function(e){return F(this,null,function*(){if(!window.ApplePaySession)return!1;let t=ApplePaySession;if(t.applePayCapabilities&&e)try{return"applePayUnsupported"!==(yield t.applePayCapabilities(e)).paymentCredentialStatus}catch(t){nd("[determineApplePaySupport] failed to get applePayCapabilities, falling back to canMakePayments",t,{merchantIdentifier:e})}return t.canMakePayments()})}(this.gatewayMerchantId),this.applePayIsSupported&&e.push("APPLE_PAY"),this.samsungPayIsSupported=yield function(e,t){return F(this,null,function*(){if(!e)return!1;try{return(yield e.isReadyToPay(ro(t))).result}catch(e){return!1}})}(this.samsungPayClient,this.runtimeConfig),this.samsungPayIsSupported&&e.push("SAMSUNG_PAY"),this.googlePayIsSupported=yield function(e,t){return F(this,null,function*(){if(!e)return!1;try{return(yield e.isReadyToPay({apiVersion:2,apiVersionMinor:0,allowedPaymentMethods:[{type:"CARD",parameters:{allowedAuthMethods:["CRYPTOGRAM_3DS"],allowedCardNetworks:t5(null==t?void 0:t.googlePay).map(e=>(function(e){switch(e){case"visa":return"VISA";case"mastercard":return"MASTERCARD";case"amex":return"AMEX"}})(e))}}]})).result}catch(e){return!1}})}(this.googlePayClient,this.runtimeConfig),this.googlePayIsSupported&&e.push("GOOGLE_PAY"),e})}onClickApplePaySessionHandler(e,t,n,i,o,a){let s=function(){if(!window.ApplePaySession)return -1;let e=t=>0===t?-1:ApplePaySession.supportsVersion(t)?t:e(t-1);return e(14)}();return()=>{var l,u,c;let f;let d={countryCode:"ZA",currencyCode:e,supportedNetworks:t5(null==(l=this.runtimeConfig)?void 0:l.applePay).map(e=>(function(e){switch(e){case"mastercard":return"masterCard";case"visa":case"amex":return e}})(e)),merchantCapabilities:["supports3DS"],total:{label:n,amount:t.toString()}};a&&(d.recurringPaymentRequest={paymentDescription:n,billingAgreement:a.billingAgreement,regularBilling:{label:n,amount:(null!=(u=a.recurringAmount)?u:t).toString(),paymentTiming:"recurring",recurringPaymentIntervalUnit:a.recurringIntervalUnit,recurringPaymentIntervalCount:null!=(c=a.recurringIntervalCount)?c:1},managementURL:a.managementUrl});try{f=new ApplePaySession(s,d)}catch(e){nd("Failed to create Apple Pay session",e,{clientId:this.clientId});return}f.onvalidatemerchant=e=>F(this,null,function*(){try{let t=yield i(e.validationURL);if(!f)throw Error("ApplePaySession is missing");if(null==t||"object"!=typeof t)throw Error(`verifyCallbackResponse is not an object: ${JSON.stringify(t)}`);if(0===Object.keys(t).length)throw Error(`verifyCallbackResponse is an empty object: ${JSON.stringify(t)}`);f.completeMerchantValidation(t)}catch(e){throw nd("[onvalidatemerchant] Failed to complete merchant validation",e,{clientId:this.clientId}),new ra(`Failed to complete merchant validation: ${rs(e)}`)}}),f.onpaymentauthorized=e=>F(this,null,function*(){try{let t=e.payment.token,n=yield this.fingerprint(),i=yield o(t,n);switch(i.status){case"TransactionPending":case"TransactionSuccess":null==f||f.completePayment(ApplePaySession.STATUS_SUCCESS);break;case"TransactionFailure":null==f||f.completePayment(ApplePaySession.STATUS_FAILURE);break;default:{let e=new ra(`Invalid transaction status ${i.status}`);throw nd(`${ru} Invalid transaction status`,e,{clientId:this.clientId}),e}}}catch(e){throw null==f||f.completePayment(ApplePaySession.STATUS_FAILURE),nd(`${ru} Failed to create payment`,e,{clientId:this.clientId}),new ra(`Failed to create payment: ${rs(e)}`)}}),f.oncancel=()=>{this.onCancelPayment()},f.begin()}}onClickSamsungPaySessionHandler(e,t,n,i,o,a,s){return()=>F(this,null,function*(){if(!this.samsungPayClient){let e="Samsung Pay client not initialized",t=Error(e);throw nd(`${rc} ${e}`,t,{clientId:this.clientId}),t}try{let l={orderNumber:i,merchant:{name:n,url:o,id:a,countryCode:"ZA"},amount:{option:"FORMAT_TOTAL_PRICE_ONLY",currency:e,total:t}},u=yield this.fingerprint(),c=ro(this.runtimeConfig);nf(`${rc} Loading payment sheet`,{clientId:this.clientId,type:"SAMSUNG_PAY",samsungPay:{paymentMethods:c,transactionDetail:l}});let f=yield this.samsungPayClient.loadPaymentSheet(c,l);nf(`${rc} Received payment credential`,{clientId:this.clientId,type:"SAMSUNG_PAY",samsungPay:{paymentCredential:f}});let d=yield s(f,u);switch(d.status){case"TransactionPending":break;case"TransactionFailure":this.samsungPayClient.notify({status:"REJECTED"});break;case"TransactionSuccess":this.samsungPayClient.notify({status:"CHARGED"});break;default:{this.samsungPayClient.notify({status:"ERRED"});let e=`${rc} Invalid transaction status: ${d.status}`,t=new ra(e);throw nd(e,t,{clientId:this.clientId,type:"SAMSUNG_PAY"}),t}}}catch(e){throw nd(`${rc} Failed to create payment`,e,{clientId:this.clientId,type:"SAMSUNG_PAY"}),new ra(`${rc} Failed to create payment: ${rs(e)}`)}})}onClickGooglePaySessionHandler(e){return t=>F(this,null,function*(){try{let n=yield this.fingerprint(),i=yield e(t.paymentMethodData.tokenizationData.token,n);switch(i.status){case"TransactionPending":case"TransactionFailure":case"TransactionSuccess":break;default:{let e=`${rf} Invalid transaction status: ${i.status}`,t=new ra(e);throw nd(e,t,{clientId:this.clientId}),t}}}catch(e){throw nd(`${rf} Failed to create payment`,e,{clientId:this.clientId}),new ra(`${rf} Failed to create payment: ${rs(e)}`)}})}}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.