PageSourceSearch

https://www.tickeri.com/_next/static/chunks/6717.fd9b0a5c56823b65.js

js tickeri.com collected 2026-10-03 20:47:08 UTC 123,479 bytes, 1 lines download raw bytes

1try{let 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]="befce44b-9cb0-46ff-9879-b68a6d1c922e",e._sentryDebugIdIdentifier="sentry-dbid-befce44b-9cb0-46ff-9879-b68a6d1c922e")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6717],{81370:(e,t)=>{"use strict";t.byteLength=function(e){var t=f(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,i=f(e),a=i[0],u=i[1],s=new o((a+u)*3/4-u),c=0,d=u>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],s[c++]=t>>16&255,s[c++]=t>>8&255,s[c++]=255&t;return 2===u&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,s[c++]=255&t),1===u&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,s[c++]=t>>8&255,s[c++]=255&t),s},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,u=n-o;a<u;a+=16383)i.push(function(e,t,n){for(var o,i=[],a=t;a<n;a+=3)o=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(e,a,a+16383>u?u:a+16383));return 1===o?i.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===o&&i.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,u=i.length;a<u;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function f(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},82909:(e,t,r)=>{"use strict";let n=r(81370),o=r(87247),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return f(e,t,r)}function f(e,t,r){if("string"==typeof e){var n=e,o=t;if(("string"!=typeof o||""===o)&&(o="utf8"),!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);let r=0|p(n,o),i=a(r),f=i.write(n,o);return f!==r&&(i=i.slice(0,f)),i}if(ArrayBuffer.isView(e)){var i=e;if(k(i,Uint8Array)){let e=new Uint8Array(i);return l(e.buffer,e.byteOffset,e.byteLength)}return d(i)}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(k(e,ArrayBuffer)||e&&k(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(k(e,SharedArrayBuffer)||e&&k(e.buffer,SharedArrayBuffer)))return l(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let f=e.valueOf&&e.valueOf();if(null!=f&&f!==e)return u.from(f,t,r);let s=function(e){if(u.isBuffer(e)){let t=0|h(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,r);throw 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 TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return s(e),a(e<0?0:0|h(e))}function d(e){let t=e.length<0?0:0|h(e.length),r=a(t);for(let n=0;n<t;n+=1)r[n]=255&e[n];return r}function l(e,t,r){let n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),u.prototype),n}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||k(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);let r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return j(e).length;default:if(o)return n?-1:W(e).length;t=(""+t).toLowerCase(),o=!0}}function w(e,t,r){let o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){let n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);let o="";for(let n=t;n<r;++n)o+=U[e[n]];return o}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){let n="";r=Math.min(e.length,r);for(let o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}(this,t,r);case"base64":var i,a,u;return i=this,a=t,u=r,0===a&&u===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,u));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){let n=e.slice(t,r),o="";for(let e=0;e<n.length-1;
vendor: 17,042 bytes, line 1
1e+=2)o+=String.fromCharCode(n[e]+256*n[e+1]);return o}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function y(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,o){var i;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(o)return -1;else r=e.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:m(e,t,r,n,o);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return m(e,[t],r,n,o)}throw TypeError("val must be string, number or Buffer")}function m(e,t,r,n,o){let i,a=1,u=e.length,f=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=2,u/=2,f/=2,r/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){let n=-1;for(i=r;i<u;i++)if(s(e,i)===s(t,-1===n?0:i-n)){if(-1===n&&(n=i),i-n+1===f)return n*a}else -1!==n&&(i-=i-n),n=-1}else for(r+f>u&&(r=u-f),i=r;i>=0;i--){let r=!0;for(let n=0;n<f;n++)if(s(e,i+n)!==s(t,n)){r=!1;break}if(r)return i}return -1}function v(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o<r;){let t=e[o],i=null,a=t>239?4:t>223?3:t>191?2:1;if(o+a<=r){let r,n,u,f;switch(a){case 1:t<128&&(i=t);break;case 2:(192&(r=e[o+1]))==128&&(f=(31&t)<<6|63&r)>127&&(i=f);break;case 3:r=e[o+1],n=e[o+2],(192&r)==128&&(192&n)==128&&(f=(15&t)<<12|(63&r)<<6|63&n)>2047&&(f<55296||f>57343)&&(i=f);break;case 4:r=e[o+1],n=e[o+2],u=e[o+3],(192&r)==128&&(192&n)==128&&(192&u)==128&&(f=(15&t)<<18|(63&r)<<12|(63&n)<<6|63&u)>65535&&f<1114112&&(i=f)}}null===i?(i=65533,a=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|1023&i),n.push(i),o+=a}var i=n;let a=i.length;if(a<=4096)return String.fromCharCode.apply(String,i);let u="",f=0;for(;f<a;)u+=String.fromCharCode.apply(String,i.slice(f,f+=4096));return u}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,o,i){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function _(e,t,r,n,o){S(t,n,o,e,r,7);let i=Number(t&BigInt(0xffffffff));e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i,i>>=8,e[r++]=i;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,r}function x(e,t,r,n,o){S(t,n,o,e,r,7);let i=Number(t&BigInt(0xffffffff));e[r+7]=i,i>>=8,e[r+6]=i,i>>=8,e[r+5]=i,i>>=8,e[r+4]=i;let a=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[r+3]=a,a>>=8,e[r+2]=a,a>>=8,e[r+1]=a,a>>=8,e[r]=a,r+8}function O(e,t,r,n,o,i){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function P(e,t,r,n,i){return t*=1,r>>>=0,i||O(e,t,r,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,i){return t*=1,r>>>=0,i||O(e,t,r,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,r,n,52,8),r+8}t.hp=u,t.IS=50,u.TYPED_ARRAY_SUPPORT=function(){try{let 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}}(),u.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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,r){return f(e,t,r)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,r){return(s(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},u.allocUnsafe=function(e){return c(e)},u.allocUnsafeSlow=function(e){return c(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(k(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),k(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,n=t.length;for(let o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:+(n<r)},u.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}},u.concat=function(e,t){let r;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;let n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){let t=e[r];if(k(t,Uint8Array))o+t.length>n.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(n,o)):Uint8Array.prototype.set.call(n,t,o);else if(u.isBuffer(t))t.copy(n,o);else throw TypeError('"list" argument must be an Array of Buffers');o+=t.length}return n},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):w.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(e,t,r,n,o){if(k(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.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===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,o>>>=0,this===e)return 0;let i=o-n,a=r-t,f=Math.min(i,a),s=this.slice(n,o),c=e.slice(t,r);for(let e=0;e<f;++e)if(s[e]!==c[e]){i=s[e],a=c[e];break}return i<a?-1:+(a<i)},u.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){var o,i,a,u,f,s,c,d;if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let l=this.length-t;if((void 0===r||r>l)&&(r=l),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let h=!1;for(;;)switch(n){case"hex":return function(e,t,r,n){let o;r=Number(r)||0;let i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;let a=t.length;for(n>a/2&&(n=a/2),o=0;o<n;++o){var u;let n=parseInt(t.substr(2*o,2),16);if((u=n)!=u)break;e[r+o]=n}return o}(this,e,t,r);case"utf8":case"utf-8":return o=t,i=r,B(W(e,this.length-o),this,o,i);case"ascii":case"latin1":case"binary":return a=t,u=r,B(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,u);case"base64":return f=t,s=r,B(j(e),this,f,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,B(function(e,t){let r,n,o=[];for(let i=0;i<e.length&&!((t-=2)<0);++i)n=(r=e.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){let r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let n=this.subarray(e,t);return Object.setPrototypeOf(n,u.prototype),n},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);let n=this[e],o=1,i=0;for(;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);let n=this[e+--t],o=1;for(;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=M(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&N(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],o=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*r;return BigInt(n)+(BigInt(o)<<BigInt(32))}),u.prototype.readBigUInt64BE=M(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&N(e,this.length-8);let n=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],o=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r;return(BigInt(n)<<BigInt(32))+BigInt(o)}),u.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);let n=this[e],o=1,i=0;for(;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);let n=t,o=1,i=this[e+--n];for(;n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=M(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&N(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+0x1000000*this[++e])}),u.prototype.readBigInt64BE=M(function(e){D(e>>>=0,"offset");let t=this[e],r=this[e+7];return(void 0===t||void 0===r)&&N(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(0x1000000*this[++e]+65536*this[++e]+256*this[++e]+r)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){let n=Math.pow(2,8*r)-1;E(this,e,t,r,n,0)}let o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=M(function(e,t=0){return _(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=M(function(e,t=0){return x(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=0,i=1,a=0;for(this[t]=255&e;++o<r&&(i*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){let n=Math.pow(2,8*r-1);E(this,e,t,r,n-1,-n)}let o=r-1,i=1,a=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/i>>0)-a&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=M(function(e,t=0){return _(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=M(function(e,t=0){return x(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);let o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},u.prototype.fill=function(e,t,r,n){let o;if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){let t=e.charCodeAt(0);("utf8"===n&&t<128||"latin1"===n)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{let i=u.isBuffer(e)?e:u.from(e,n),a=i.length;
1if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=i[o%a]}return this};let C={};function I(e,t,r){C[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function R(e){let t="",r=e.length,n=+("-"===e[0]);for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function S(e,t,r,n,o,i){if(e>r||e<t){let n,o="bigint"==typeof t?"n":"";throw n=i>3?0===t||t===BigInt(0)?`>= 0${o} and < 2${o} ** ${(i+1)*8}${o}`:`>= -(2${o} ** ${(i+1)*8-1}${o}) and < 2 ** ${(i+1)*8-1}${o}`:`>= ${t}${o} and <= ${r}${o}`,new C.ERR_OUT_OF_RANGE("value",n,e)}D(o,"offset"),(void 0===n[o]||void 0===n[o+i])&&N(o,n.length-(i+1))}function D(e,t){if("number"!=typeof e)throw new C.ERR_INVALID_ARG_TYPE(t,"number",e)}function N(e,t,r){if(Math.floor(e)!==e)throw D(e,r),new C.ERR_OUT_OF_RANGE(r||"offset","an integer",e);if(t<0)throw new C.ERR_BUFFER_OUT_OF_BOUNDS;throw new C.ERR_OUT_OF_RANGE(r||"offset",`>= ${+!!r} and <= ${t}`,e)}I("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),I("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),I("ERR_OUT_OF_RANGE",function(e,t,r){let n=`The value of "${e}" is out of range.`,o=r;return Number.isInteger(r)&&Math.abs(r)>0x100000000?o=R(String(r)):"bigint"==typeof r&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=R(o)),o+="n"),n+=` It must be ${t}. Received ${o}`},RangeError);let T=/[^+/0-9A-Za-z-_]/g;function W(e,t){let r;t=t||1/0;let n=e.length,o=null,i=[];for(let a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<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){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function j(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(T,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function B(e,t,r,n){let o;for(o=0;o<n&&!(o+r>=t.length)&&!(o>=e.length);++o)t[o+r]=e[o];return o}function k(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let U=function(){let e="0123456789abcdef",t=Array(256);for(let r=0;r<16;++r){let n=16*r;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function M(e){return"undefined"==typeof BigInt?z:e}function z(){throw Error("BigInt not supported")}},86717:function(e,t,r){var n,o=r(82909).hp;"undefined"!=typeof self&&self,e.exports=function(){var e=[function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e){try{if(!e)return!1;if("undefined"!=typeof Promise&&e instanceof Promise)return!0;if("undefined"!=typeof window&&"function"==typeof window.Window&&e instanceof window.Window||"undefined"!=typeof window&&"function"==typeof window.constructor&&e instanceof window.constructor)return!1;var t={}.toString;if(t){var r=t.call(e);if("[object Window]"===r||"[object global]"===r||"[object DOMWindow]"===r)return!1}if("function"==typeof e.then)return!0}catch(e){}return!1}r.r(t),r.d(t,"PopupOpenError",function(){return ek}),r.d(t,"create",function(){return rh}),r.d(t,"destroy",function(){return ry}),r.d(t,"destroyComponents",function(){return rp}),r.d(t,"destroyAll",function(){return rw}),r.d(t,"PROP_TYPE",function(){return tK}),r.d(t,"PROP_SERIALIZATION",function(){return tQ}),r.d(t,"CONTEXT",function(){return t0}),r.d(t,"EVENT",function(){return t1});var f,s=[],c=[],d=0;function l(){if(!d&&f){var e=f;f=null,e.resolve()}}
1function h(){d-=1,l()}var p=function(){function e(e){var t=this;if(this.resolved=void 0,this.rejected=void 0,this.errorHandled=void 0,this.value=void 0,this.error=void 0,this.handlers=void 0,this.dispatching=void 0,this.stack=void 0,this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],e){var r,n,o=!1,i=!1,a=!1;d+=1;try{e(function(e){a?t.resolve(e):(o=!0,r=e)},function(e){a?t.reject(e):(i=!0,n=e)})}catch(e){return h(),void this.reject(e)}h(),a=!0,o?this.resolve(r):i&&this.reject(n)}}var t=e.prototype;return t.resolve=function(e){if(this.resolved||this.rejected)return this;if(u(e))throw Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=e,this.dispatch(),this},t.reject=function(e){var t=this;if(this.resolved||this.rejected)return this;if(u(e))throw Error("Can not reject promise with another promise");return e||(e=Error("Expected reject to be called with Error, got "+(e&&"function"==typeof e.toString?e.toString():({}).toString.call(e)))),this.rejected=!0,this.error=e,this.errorHandled||setTimeout(function(){t.errorHandled||function(e,t){if(-1===s.indexOf(e)){s.push(e),setTimeout(function(){throw e},1);for(var r=0;r<c.length;r++)c[r](e,t)}}(e,t)},1),this.dispatch(),this},t.asyncReject=function(e){return this.errorHandled=!0,this.reject(e),this},t.dispatch=function(){var t=this.resolved,r=this.rejected,n=this.handlers;if(!this.dispatching&&(t||r)){this.dispatching=!0,d+=1;for(var o=function(e,t){return e.then(function(e){t.resolve(e)},function(e){t.reject(e)})},i=0;i<n.length;i++){var a=n[i],f=a.onSuccess,s=a.onError,c=a.promise,l=void 0;if(t)try{l=f?f(this.value):this.value}catch(e){c.reject(e);continue}else if(r){if(!s){c.reject(this.error);continue}try{l=s(this.error)}catch(e){c.reject(e);continue}}if(l instanceof e&&(l.resolved||l.rejected)){var p=l;p.resolved?c.resolve(p.value):c.reject(p.error),p.errorHandled=!0}else u(l)?l instanceof e&&(l.resolved||l.rejected)?l.resolved?c.resolve(l.value):c.reject(l.error):o(l,c):c.resolve(l)}n.length=0,this.dispatching=!1,h()}},t.then=function(t,r){if(t&&"function"!=typeof t&&!t.call)throw Error("Promise.then expected a function for success handler");if(r&&"function"!=typeof r&&!r.call)throw Error("Promise.then expected a function for error handler");var n=new e;return this.handlers.push({promise:n,onSuccess:t,onError:r}),this.errorHandled=!0,this.dispatch(),n},t.catch=function(e){return this.then(void 0,e)},t.finally=function(t){if(t&&"function"!=typeof t&&!t.call)throw Error("Promise.finally expected a function");return this.then(function(r){return e.try(t).then(function(){return r})},function(r){return e.try(t).then(function(){throw r})})},t.timeout=function(e,t){var r=this;if(this.resolved||this.rejected)return this;var n=setTimeout(function(){r.resolved||r.rejected||r.reject(t||Error("Promise timed out after "+e+"ms"))},e);return this.then(function(e){return clearTimeout(n),e})},t.toPromise=function(){if("undefined"==typeof Promise)throw TypeError("Could not find Promise");return Promise.resolve(this)},t.lazy=function(){return this.errorHandled=!0,this},e.resolve=function(t){return t instanceof e?t:u(t)?new e(function(e,r){return t.then(e,r)}):(new e).resolve(t)},e.reject=function(t){return(new e).reject(t)},e.asyncReject=function(t){return(new e).asyncReject(t)},e.all=function(t){var r=new e,n=t.length,o=[];if(!n)return r.resolve(o),r;for(var i=function(e,t,i){return t.then(function(t){o[e]=t,0==(n-=1)&&r.resolve(o)},function(e){i.reject(e)})},a=0;a<t.length;a++){var f=t[a];if(f instanceof e){if(f.resolved){o[a]=f.value,n-=1;continue}}else if(!u(f)){o[a]=f,n-=1;continue}i(a,e.resolve(f),r)}return 0===n&&r.resolve(o),r},e.hash=function(t){var r={},n=[],o=function(e){if(t.hasOwnProperty(e)){var o=t[e];u(o)?n.push(o.then(function(t){r[e]=t})):r[e]=o}};for(var i in t)o(i);return e.all(n).then(function(){return r})},e.map=function(t,r){return e.all(t.map(r))},e.onPossiblyUnhandledException=function(e){return c.push(e),{cancel:function(){c.splice(c.indexOf(e),1)}}},e.try=function(t,r,n){var o;if(t&&"function"!=typeof t&&!t.call)throw Error("Promise.try expected a function");d+=1;try{o=t.apply(r,n||[])}catch(t){return h(),e.reject(t)}return h(),e.resolve(o)},e.delay=function(t){return new e(function(e){setTimeout(e,t)})},e.isPromise=function(t){return!!(t&&t instanceof e)||u(t)},e.flush=function(){var t;return t=f=f||new e,l(),t},e}();function w(e){return"[object RegExp]"===({}).toString.call(e)}var y={IFRAME:"iframe",POPUP:"popup"},g="Call was rejected by callee.\r\n";function m(e){return void 0===e&&(e=window),e.location.protocol}function v(e){if(void 0===e&&(e=window),e.mockDomain){var t=e.mockDomain.split("//")[0];if(t)return t}return m(e)}function b(e){return void 0===e&&(e=window),"about:"===v(e)}function E(e){if(void 0===e&&(e=window),e)try{if(e.parent&&e.parent!==e)return e.parent}catch(e){}}function _(e){if(void 0===e&&(e=window),e&&!E(e))try{return e.opener}catch(e){}}function x(e){try{return!0}catch(e){}return!1}function O(e){void 0===e&&(e=window);var t=e.location;if(!t)throw Error("Can not read window location");var r=m(e);if(!r)throw Error("Can not read window protocol");if("file:"===r)return"file://";if("about:"===r){var n=E(e);return n&&x()?O(n):"about://"}var o=t.host;if(!o)throw Error("Can not read window host");return r+"//"+o}function P(e){void 0===e&&(e=window);var t=O(e);return t&&e.mockDomain&&0===e.mockDomain.indexOf("mock:")?e.mockDomain:t}function A(e){if(!function(e){try{if(e===window)return!0}catch(e){}try{var t,r=Object.getOwnPropertyDescriptor(e,"location");if(r&&!1===r.enumerable)return!1}catch(e){}try{if(b(e)&&x())return!0}catch(e){}try{if(t=e,void 0===t&&(t=window),"mock:"===v(t)&&x())return!0}catch(e){}
1try{if(O(e)===O(window))return!0}catch(e){}return!1}(e))return!1;try{if(e===window||b(e)&&x()||P(window)===P(e))return!0}catch(e){}return!1}function C(e){if(!A(e))throw Error("Expected window to be same domain");return e}function I(e,t){if(!e||!t)return!1;var r=E(t);return r?r===e:-1!==(function(e){var t=[];try{for(;e.parent!==e;)t.push(e.parent),e=e.parent}catch(e){}return t})(t).indexOf(e)}function R(e){var t,r,n=[];try{t=e.frames}catch(r){t=e}try{r=t.length}catch(e){}if(0===r)return n;if(r){for(var o=0;o<r;o++){var i=void 0;try{i=t[o]}catch(e){continue}n.push(i)}return n}for(var a=0;a<100;a++){var u=void 0;try{u=t[a]}catch(e){break}if(!u)break;n.push(u)}return n}function S(e){for(var t=[],r=0,n=R(e);r<n.length;r++){var o=n[r];t.push(o);for(var i=0,a=S(o);i<a.length;i++)t.push(a[i])}return t}function D(e){void 0===e&&(e=window);try{if(e.top)return e.top}catch(e){}if(E(e)===e)return e;try{if(I(window,e)&&window.top)return window.top}catch(e){}try{if(I(e,window)&&window.top)return window.top}catch(e){}for(var t=0,r=S(e);t<r.length;t++){var n=r[t];try{if(n.top)return n.top}catch(e){}if(E(n)===n)return n}}function N(e){var t=D(e);if(!t)throw Error("Can not determine top window");var r=[].concat(S(t),[t]);return -1===r.indexOf(e)&&(r=[].concat(r,[e],S(e))),r}var T=[],W=[];function j(e,t){void 0===t&&(t=!0);try{if(e===window)return!1}catch(e){return!0}try{if(!e)return!0}catch(e){return!0}try{if(e.closed)return!0}catch(e){return!e||e.message!==g}if(t&&A(e))try{if(e.mockclosed)return!0}catch(e){}try{if(!e.parent||!e.top)return!0}catch(e){}var r=function(e,t){for(var r=0;r<e.length;r++)try{if(e[r]===t)return r}catch(e){}return -1}(T,e);if(-1!==r){var n=W[r];if(n&&function(e){if(!e.contentWindow||!e.parentNode)return!0;var t=e.ownerDocument;if(t&&t.documentElement&&!t.documentElement.contains(e)){for(var r=e;r.parentNode&&r.parentNode!==r;)r=r.parentNode;if(!r.host||!t.documentElement.contains(r.host))return!0}return!1}(n))return!0}return!1}function B(e){return(e=e||window).navigator.mockUserAgent||e.navigator.userAgent}function k(e,t){for(var r=R(e),n=0;n<r.length;n++){var o=r[n];try{if(A(o)&&o.name===t&&-1!==r.indexOf(o))return o}catch(e){}}try{if(-1!==r.indexOf(e.frames[t]))return e.frames[t]}catch(e){}try{if(-1!==r.indexOf(e[t]))return e[t]}catch(e){}}function U(e){return void 0===e&&(e=window),_(e=e||window)||E(e)||void 0}function M(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],o=0;o<t.length;o++)if(n===t[o])return!0;return!1}function z(e){void 0===e&&(e=window);for(var t=0,r=e;r;)(r=E(r))&&(t+=1);return t}function F(e,t){var r=D(e)||e,n=D(t)||t;try{if(r&&n)return r===n}catch(e){}var o=N(e),i=N(t);if(M(o,i))return!0;var a=_(r),u=_(n);return a&&M(N(a),i)||u&&M(N(u),o),!1}function L(e,t){if("string"==typeof e){if("string"==typeof t)return"*"===e||t===e;if(w(t)||Array.isArray(t))return!1}return w(e)?w(t)?e.toString()===t.toString():!Array.isArray(t)&&!!t.match(e):!!Array.isArray(e)&&(Array.isArray(t)?JSON.stringify(e)===JSON.stringify(t):!w(t)&&e.some(function(e){return L(e,t)}))}function $(e){return e.match(/^(https?|mock|file):\/\//)?e.split("/").slice(0,3).join("/"):P()}function q(e,t,r,n){void 0===r&&(r=1e3),void 0===n&&(n=1/0);var o,i=function(){if(j(e))return o&&clearTimeout(o),t();n<=0?clearTimeout(o):(n-=r,o=setTimeout(i,r))};return i(),{cancel:function(){o&&clearTimeout(o)}}}function Y(e){try{if(e===window)return!0}catch(e){if(e&&e.message===g)return!0}try{if("[object Window]"===({}).toString.call(e))return!0}catch(e){if(e&&e.message===g)return!0}try{if(window.Window&&e instanceof window.Window)return!0}catch(e){if(e&&e.message===g)return!0}try{if(e&&e.self===e)return!0}catch(e){if(e&&e.message===g)return!0}try{if(e&&e.parent===e)return!0}catch(e){if(e&&e.message===g)return!0}try{if(e&&e.top===e)return!0}catch(e){if(e&&e.message===g)return!0}try{if(e&&"__unlikely_value__"===e.__cross_domain_utils_window_check__)return!1}catch(e){return!0}try{if("postMessage"in e&&"self"in e&&"location"in e)return!0}catch(e){}return!1}function J(e){if(0!==$(e).indexOf("mock:"))return e;throw Error("Mock urls not supported out of test mode")}function H(e){if(A(e))return C(e).frameElement;for(var t=0,r=document.querySelectorAll("iframe");t<r.length;t++){var n=r[t];
1if(n&&n.contentWindow&&n.contentWindow===e)return n}}function G(e){var t;if(void 0===(t=e)&&(t=window),E(t)){var r=H(e);if(r&&r.parentElement)return void r.parentElement.removeChild(r)}try{e.close()}catch(e){}}function V(e,t){for(var r=0;r<e.length;r++)try{if(e[r]===t)return r}catch(e){}return -1}var Z,X=function(){function e(){if(this.name=void 0,this.weakmap=void 0,this.keys=void 0,this.values=void 0,this.name="__weakmap_"+(1e9*Math.random()>>>0)+"__",function(){if("undefined"==typeof WeakMap||void 0===Object.freeze)return!1;try{var e=new WeakMap,t={};return Object.freeze(t),e.set(t,"__testvalue__"),"__testvalue__"===e.get(t)}catch(e){return!1}}())try{this.weakmap=new WeakMap}catch(e){}this.keys=[],this.values=[]}var t=e.prototype;return t._cleanupClosedWindows=function(){for(var e=this.weakmap,t=this.keys,r=0;r<t.length;r++){var n=t[r];if(Y(n)&&j(n)){if(e)try{e.delete(n)}catch(e){}t.splice(r,1),this.values.splice(r,1),r-=1}}},t.isSafeToReadWrite=function(e){return!Y(e)},t.set=function(e,t){if(!e)throw Error("WeakMap expected key");var r=this.weakmap;if(r)try{r.set(e,t)}catch(e){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var n=this.name,o=e[n];return void(o&&o[0]===e?o[1]=t:Object.defineProperty(e,n,{value:[e,t],writable:!0}))}catch(e){}this._cleanupClosedWindows();var i=this.keys,a=this.values,u=V(i,e);-1===u?(i.push(e),a.push(t)):a[u]=t},t.get=function(e){if(!e)throw Error("WeakMap expected key");var t=this.weakmap;if(t)try{if(t.has(e))return t.get(e)}catch(e){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];return r&&r[0]===e?r[1]:void 0}catch(e){}this._cleanupClosedWindows();var n=V(this.keys,e);if(-1!==n)return this.values[n]},t.delete=function(e){if(!e)throw Error("WeakMap expected key");var t=this.weakmap;if(t)try{t.delete(e)}catch(e){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];r&&r[0]===e&&(r[0]=r[1]=void 0)}catch(e){}this._cleanupClosedWindows();var n=this.keys,o=V(n,e);-1!==o&&(n.splice(o,1),this.values.splice(o,1))},t.has=function(e){if(!e)throw Error("WeakMap expected key");var t=this.weakmap;if(t)try{if(t.has(e))return!0}catch(e){delete this.weakmap}if(this.isSafeToReadWrite(e))try{var r=e[this.name];return!(!r||r[0]!==e)}catch(e){}return this._cleanupClosedWindows(),-1!==V(this.keys,e)},t.getOrSet=function(e,t){if(this.has(e))return this.get(e);var r=t();return this.set(e,r),r},e}();function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Q(e,t,r){return(Q=!function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i}:Reflect.construct).apply(null,arguments)}function ee(e){var t="function"==typeof Map?new Map:void 0;return(ee=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Q(e,arguments,K(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),n(r,e)})(e)}function et(e){var t=!1;try{(e instanceof window.Element||null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument)&&(t=!0)}catch(e){}return t}function er(e){return e.name||e.__name__||e.displayName||"anonymous"}function en(e,t){try{delete e.name,e.name=t}catch(e){}return e.__name__=e.displayName=t,e}function eo(e){if("function"==typeof btoa)return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode(parseInt(t,16))})).replace(/[=]/g,"");if(void 0!==o)return o.from(e,"utf8").toString("base64").replace(/[=]/g,"");throw Error("Can not find window.btoa or Buffer")}function ei(){var e="0123456789abcdef";return"uid_"+"xxxxxxxxxx".replace(/./g,function(){return e.charAt(Math.floor(Math.random()*e.length))})+"_"+eo((new Date).toISOString().slice(11,19).replace("T",".")).replace(/[^a-zA-Z0-9]/g,"").toLowerCase()}function ea(e){try{return JSON.stringify([].slice.call(e),function(e,t){return"function"==typeof t?"memoize["+function(e){if(Z=Z||new X,null==e||"object"!=typeof e&&"function"!=typeof e)throw Error("Invalid object");var t=Z.get(e);return t||(t=typeof e+":"+ei(),Z.set(e,t)),t}(t)+"]":et(t)?{}:t})}catch(e){throw Error("Arguments not serializable -- can not be used to memoize")}}function eu(){return{}}var ef=0,es=0;function ec(e,t){void 0===t&&(t={});var r,n,o=t.thisNamespace,i=void 0!==o&&o,a=t.time,u=ef;ef+=1;
1var f=function(){for(var t,o,f=arguments.length,s=Array(f),c=0;c<f;c++)s[c]=arguments[c];u<es&&(r=null,n=null,u=ef,ef+=1),t=i?(n=n||new X).getOrSet(this,eu):r=r||{};try{o=ea(s)}catch(t){return e.apply(this,arguments)}var d=t[o];if(d&&a&&Date.now()-d.time<a&&(delete t[o],d=null),d)return d.value;var l=Date.now(),h=e.apply(this,arguments);return t[o]={time:l,value:h},h};return f.reset=function(){r=null,n=null},en(f,(t.name||er(e))+"::memoized")}function ed(){}function el(e){var t=!1;return en(function(){if(!t)return t=!0,e.apply(this,arguments)},er(e)+"::once")}function eh(e,t){if(void 0===t&&(t=1),t>=3)return"stringifyError stack overflow";try{if(!e)return"<unknown error: "+({}).toString.call(e)+">";if("string"==typeof e)return e;if(e instanceof Error){var r=e&&e.stack,n=e&&e.message;if(r&&n)return -1!==r.indexOf(n)?r:n+"\n"+r;if(r)return r;if(n)return n}return e&&e.toString&&"function"==typeof e.toString?e.toString():({}).toString.call(e)}catch(e){return"Error while stringifying error: "+eh(e,t+1)}}function ep(e){return"string"==typeof e?e:e&&e.toString&&"function"==typeof e.toString?e.toString():({}).toString.call(e)}function ew(e,t){if(!t)return e;if(Object.assign)return Object.assign(e,t);for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function ey(e,t){var r;return function n(){r=setTimeout(function(){e(),n()},t)}(),{cancel:function(){clearTimeout(r)}}}function eg(e){return e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}function em(e,t,r){if(Array.isArray(e)){if("number"!=typeof t)throw TypeError("Array key must be number")}else if("object"==typeof e&&null!==e&&"string"!=typeof t)throw TypeError("Object key must be string");Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){delete e[t];var n=r();return e[t]=n,n},set:function(r){delete e[t],e[t]=r}})}function ev(e){return[].slice.call(e)}function eb(e){return"object"==typeof e&&null!==e&&"[object Object]"===({}).toString.call(e)}function eE(e){if(!eb(e))return!1;var t=e.constructor;if("function"!=typeof t)return!1;var r=t.prototype;return!!eb(r)&&!!r.hasOwnProperty("isPrototypeOf")}function e_(e,t,r){if(void 0===r&&(r=""),Array.isArray(e)){for(var n=e.length,o=[],i=function(n){em(o,n,function(){var o=r?r+"."+n:""+n,i=t(e[n],n,o);return(eE(i)||Array.isArray(i))&&(i=e_(i,t,o)),i})},a=0;a<n;a++)i(a);return o}if(eE(e)){var u={},f=function(n){if(!e.hasOwnProperty(n))return 1;em(u,n,function(){var o=r?r+"."+n:""+n,i=t(e[n],n,o);return(eE(i)||Array.isArray(i))&&(i=e_(i,t,o)),i})};for(var s in e)f(s);return u}throw Error("Pass an object or array")}function ex(e){return null!=e}function eO(e){return"[object RegExp]"===({}).toString.call(e)}function eP(e,t,r){if(e.hasOwnProperty(t))return e[t];var n=r();return e[t]=n,n}function eA(e){var t,r=[],n=!1,o={set:function(t,r){return n||(e[t]=r,o.register(function(){delete e[t]})),r},register:function(e){var o=el(function(){return e(t)});return n?e(t):r.push(o),{cancel:function(){var e=r.indexOf(o);-1!==e&&r.splice(e,1)}}},all:function(e){t=e;var o=[];for(n=!0;r.length;){var i=r.shift();o.push(i())}return p.all(o).then(ed)}};return o}function eC(e,t){if(null==t)throw Error("Expected "+e+" to be present");return t}ec.clear=function(){es=ef},ec(function(e){if(Object.values)return Object.values(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t});var eI=function(e){function t(t){var r;return(r=e.call(this,t)||this).name=r.constructor.name,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(r,r.constructor):r.stack=Error(t).stack,r}return i(t,e),t}(ee(Error));function eR(){var e=document.body;if(!e)throw Error("Body element not found");return e}function eS(){return!!document.body&&"complete"===document.readyState}function eD(){return!!document.body&&"interactive"===document.readyState}function eN(e){return encodeURIComponent(e)}function eT(e,t){var r;return void 0===t&&(t={}),t&&Object.keys(t).length?(void 0===(r=a({},function e(t){var r,n,o,i;return r=e,n=[t],o=r.__inline_memoize_cache__=r.__inline_memoize_cache__||{},i=ea(n),o.hasOwnProperty(i)?o[i]:o[i]=(function(){var e={};if(!t||-1===t.indexOf("="))return e;for(var r=0,n=t.split("&");r<n.length;r++){var o=n[r];
1(o=o.split("="))[0]&&o[1]&&(e[decodeURIComponent(o[0])]=decodeURIComponent(o[1]))}return e}).apply(void 0,n)}(e),t))&&(r={}),Object.keys(r).filter(function(e){return"string"==typeof r[e]||"boolean"==typeof r[e]}).map(function(e){var t=r[e];if("string"!=typeof t&&"boolean"!=typeof t)throw TypeError("Invalid type for query");return eN(e)+"="+eN(t.toString())}).join("&")):e}function eW(e,t){return void 0===t&&(t=document),et(e)?e:"string"==typeof e?t.querySelector(e):void 0}function ej(e){return new p(function(t,r){var n=ep(e),o=eW(e);if(o)return t(o);if(eS())return r(Error("Document is ready and element "+n+" does not exist"));var i=setInterval(function(){return(o=eW(e))?(t(o),void clearInterval(i)):eS()?(clearInterval(i),r(Error("Document is ready and element "+n+" does not exist"))):void 0},10)})}ec(function(){return new p(function(e){if(eS()||eD())return e();var t=setInterval(function(){if(eS()||eD())return clearInterval(t),e()},10)})});var eB,ek=function(e){function t(){return e.apply(this,arguments)||this}return i(t,e),t}(eI);function eU(e){if((eB=eB||new X).has(e)){var t=eB.get(e);if(t)return t}var r=new p(function(t,r){e.addEventListener("load",function(){(function(e){if(function(){for(var e=0;e<T.length;e++){var t=!1;try{t=T[e].closed}catch(e){}t&&(W.splice(e,1),T.splice(e,1))}}(),e&&e.contentWindow)try{T.push(e.contentWindow),W.push(e)}catch(e){}})(e),t(e)}),e.addEventListener("error",function(n){e.contentWindow?t(e):r(n)})});return eB.set(e,r),r}function eM(e){return eU(e).then(function(e){if(!e.contentWindow)throw Error("Could not find window in iframe");return e.contentWindow})}function ez(e,t){void 0===e&&(e={});var r=e.style||{},n=function(e,t,r){void 0===e&&(e="div"),void 0===t&&(t={}),e=e.toLowerCase();var n,o,i=document.createElement(e);if(t.style&&ew(i.style,t.style),t.class&&(i.className=t.class.join(" ")),t.id&&i.setAttribute("id",t.id),t.attributes)for(var a=0,u=Object.keys(t.attributes);a<u.length;a++){var f=u[a];i.setAttribute(f,t.attributes[f])}if(t.styleSheet&&(n=t.styleSheet,void 0===o&&(o=window.document),i.styleSheet?i.styleSheet.cssText=n:i.appendChild(o.createTextNode(n))),t.html){if("iframe"===e)throw Error("Iframe html can not be written unless container provided and iframe in DOM");i.innerHTML=t.html}return i}("iframe",{attributes:a({allowTransparency:"true"},e.attributes||{}),style:a({backgroundColor:"transparent",border:"none"},r),html:e.html,class:e.class}),o=window.navigator.userAgent.match(/MSIE|Edge/i);return n.hasAttribute("id")||n.setAttribute("id",ei()),eU(n),t&&(function(e,t){void 0===t&&(t=document);var r=eW(e,t);if(r)return r;throw Error("Can not find element: "+ep(e))})(t).appendChild(n),(e.url||o)&&n.setAttribute("src",e.url||"about:blank"),n}function eF(e,t,r){return e.addEventListener(t,r),{cancel:function(){e.removeEventListener(t,r)}}}function eL(e){e.style.setProperty("display","")}function e$(e){e.style.setProperty("display","none","important")}function eq(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function eY(e){return!(e&&e.parentNode&&e.ownerDocument&&e.ownerDocument.documentElement&&e.ownerDocument.documentElement.contains(e))}function eJ(e,t,r){var n=void 0===r?{}:r,o=n.width,i=void 0===o||o,a=n.height,u=void 0===a||a,f=n.interval,s=void 0===f?100:f,c=n.win,d=void 0===c?window:c,l=e.offsetWidth,h=e.offsetHeight,p=!1;t({width:l,height:h});var w,y,g=function(){if(!p&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)){var r=e.offsetWidth,n=e.offsetHeight;(i&&r!==l||u&&n!==h)&&t({width:r,height:n}),l=r,h=n}};return d.addEventListener("resize",g),void 0!==d.ResizeObserver?((w=new d.ResizeObserver(g)).observe(e),y=ey(g,10*s)):void 0!==d.MutationObserver?((w=new d.MutationObserver(g)).observe(e,{attributes:!0,childList:!0,subtree:!0,characterData:!1}),y=ey(g,10*s)):y=ey(g,s),{cancel:function(){p=!0,w.disconnect(),window.removeEventListener("resize",g),y.cancel()}}}function eH(e){for(;e.parentNode;)e=e.parentNode;return"[object ShadowRoot]"===e.toString()}var eG="undefined"!=typeof document?document.currentScript:null,eV=ec(function(){if(eG||(eG=function(){try{var e=function(){try{throw Error("_")}catch(e){return e.stack||""}}(),t=/.*at [^(]*\((.*):(.+):(.+)\)$/gi.exec(e),r=t&&t[1];if(!r)return;for(var n=0,o=[].slice.call(document.getElementsByTagName("script")).reverse();n<o.length;n++){var i=o[n];if(i.src&&i.src===r)return i}}catch(e){}}()))return eG;throw Error("Can not determine current script")}),eZ=ei();function eX(e){return"string"==typeof e&&/^[0-9]+%$/.test(e)}function eK(e){if("number"==typeof e)return e;var t=e.match(/^([0-9]+)(px|%)$/);if(!t)throw Error("Could not match css value from "+e);return parseInt(t[1],10)}function eQ(e){return"number"==typeof e?eK(e)+"px":eX(e)?e:eK(e)+"px"}function e0(e,t){if("number"==typeof e)return e;if(eX(e))return parseInt(t*eK(e)/100,10);if("string"==typeof e&&/^[0-9]+px$/.test(e))return eK(e);throw Error("Can not normalize dimension: "+e)}function e1(e){void 0===e&&(e=window);var t="__post_robot_11_0_0__";return e!==window?e[t]:e[t]=e[t]||{}}ec(function(){try{e=eV()}catch(e){return eZ}var e,t=e.getAttribute("data-uid");if(t&&"string"==typeof t||(t=e.getAttribute("data-uid-auto"))&&"string"==typeof t)return t;if(e.src){var r=function(e){for(var t="",r=0;r<e.length;r++){var n=e[r].charCodeAt(0)*r;
1e[r+1]&&(n+=e[r+1].charCodeAt(0)*(r-1)),t+=String.fromCharCode(97+Math.abs(n)%26)}return t}(JSON.stringify({src:e.src,dataset:e.dataset}));t="uid_"+r.slice(r.length-30)}else t=ei();return e.setAttribute("data-uid-auto",t),t});var e2=function(){return{}};function e6(e,t){return void 0===e&&(e="store"),void 0===t&&(t=e2),eP(e1(),e,function(){var e=t();return{has:function(t){return e.hasOwnProperty(t)},get:function(t,r){return e.hasOwnProperty(t)?e[t]:r},set:function(t,r){return e[t]=r,r},del:function(t){delete e[t]},getOrSet:function(t,r){return eP(e,t,r)},reset:function(){e=t()},keys:function(){return Object.keys(e)}}})}var e8,e5=function(){};function e3(){var e=e1();return e.WINDOW_WILDCARD=e.WINDOW_WILDCARD||new e5,e.WINDOW_WILDCARD}function e4(e,t){return void 0===e&&(e="store"),void 0===t&&(t=e2),e6("windowStore").getOrSet(e,function(){var r=new X,n=function(e){return r.getOrSet(e,t)};return{has:function(t){return n(t).hasOwnProperty(e)},get:function(t,r){var o=n(t);return o.hasOwnProperty(e)?o[e]:r},set:function(t,r){return n(t)[e]=r,r},del:function(t){delete n(t)[e]},getOrSet:function(t,r){return eP(n(t),e,r)}}})}function e9(){return e6("instance").getOrSet("instanceID",ei)}function e7(e,t){var r=t.domain,n=e4("helloPromises"),o=n.get(e);o&&o.resolve({domain:r});var i=p.resolve({domain:r});return n.set(e,i),i}function te(e,t){return(0,t.send)(e,"postrobot_hello",{instanceID:e9()},{domain:"*",timeout:-1}).then(function(t){var r=t.origin,n=t.data.instanceID;return e7(e,{domain:r}),{win:e,domain:r,instanceID:n}})}function tt(e,t){var r=t.send;return e4("windowInstanceIDPromises").getOrSet(e,function(){return te(e,{send:r}).then(function(e){return e.instanceID})})}function tr(e,t,r){void 0===t&&(t=5e3),void 0===r&&(r="Window");var n=e4("helloPromises").getOrSet(e,function(){return new p});return -1!==t&&(n=n.timeout(t,Error(r+" did not load after "+t+"ms"))),n}function tn(e){e4("knownWindows").set(e,!0)}function to(e){return"object"==typeof e&&null!==e&&"string"==typeof e.__type__}function ti(e){return void 0===e?"undefined":null===e?"null":Array.isArray(e)?"array":"function"==typeof e?"function":"object"==typeof e?e instanceof Error?"error":"function"==typeof e.then?"promise":"[object RegExp]"===({}).toString.call(e)?"regex":"[object Date]"===({}).toString.call(e)?"date":"object":"string"==typeof e?"string":"number"==typeof e?"number":"boolean"==typeof e?"boolean":void 0}function ta(e,t){return{__type__:e,__val__:t}}var tu,tf=((e8={}).function=function(){},e8.error=function(e){return ta("error",{message:e.message,stack:e.stack,code:e.code,data:e.data})},e8.promise=function(){},e8.regex=function(e){return ta("regex",e.source)},e8.date=function(e){return ta("date",e.toJSON())},e8.array=function(e){return e},e8.object=function(e){return e},e8.string=function(e){return e},e8.number=function(e){return e},e8.boolean=function(e){return e},e8.null=function(e){return e},e8[void 0]=function(e){return ta("undefined",e)},e8),ts={},tc=((tu={}).function=function(){throw Error("Function serialization is not implemented; nothing to deserialize")},tu.error=function(e){var t=e.stack,r=e.code,n=e.data,o=Error(e.message);return o.code=r,n&&(o.data=n),o.stack=t+"\n\n"+o.stack,o},tu.promise=function(){throw Error("Promise serialization is not implemented; nothing to deserialize")},tu.regex=function(e){return new RegExp(e)},tu.date=function(e){return new Date(e)},tu.array=function(e){return e},tu.object=function(e){return e},tu.string=function(e){return e},tu.number=function(e){return e},tu.boolean=function(e){return e},tu.null=function(e){return e},tu[void 0]=function(){},tu),td={};function tl(){return!!B(window).match(/MSIE|trident|edge\/12|edge\/13/i)}function th(e){return!F(window,e)}function tp(e,t){if(e){if(P()!==$(e))return!0}else if(t&&!A(t))return!0;return!1}function tw(e){var t=e.win,r=e.domain;return!(!tl()||r&&!tp(r,t)||t&&!th(t))}function ty(e){return"__postrobot_bridge___"+(e=e||$(e)).replace(/[^a-zA-Z0-9]+/g,"_")}function tg(){return!!(window.name&&window.name===ty(P()))}var tm=new p(function(e){if(window.document&&window.document.body)return e(window.document.body);var t=setInterval(function(){if(window.document&&window.document.body)return clearInterval(t),e(window.document.body)},10)});function tv(e){e4("remoteWindowPromises").getOrSet(e,function(){return new p})}function tb(e){var t=e4("remoteWindowPromises").get(e);if(!t)throw Error("Remote window promise not found");return t}function tE(e,t,r){tb(e).resolve(function(n,o,i){if(n!==e)throw Error("Remote window does not match window");if(!L(o,t))throw Error("Remote domain "+o+" does not match domain "+t);r.fireAndForget(i)})}function t_(e,t){tb(e).reject(t).catch(ed)}function tx(e){for(var t=e.win,r=e.name,n=e.domain,o=e6("popupWindowsByName"),i=e4("popupWindowsByWin"),a=0,u=o.keys();a<u.length;a++){var f=u[a],s=o.get(f);s&&!j(s.win)||o.del(f)}if(j(t))return{win:t,name:r,domain:n};var c=i.getOrSet(t,function(){return r?o.getOrSet(r,function(){return{win:t,name:r}}):{win:t}});if(c.win&&c.win!==t)throw Error("Different window already linked for window: "+(r||"undefined"));return r&&(c.name=r,o.set(r,c)),n&&(c.domain=n,tv(t)),i.set(t,c),c}function tO(e){var t,r,n,o,i,a,u,f,s,c,d=e.on,l=e.send,h=e.receiveMessage;c=window.open,window.open=function(e,t,r,n){var o=c.call(this,J(e),t,r,n);return o&&tx({win:o,name:t,domain:e?$(e):null}),o},r=(t={on:d,send:l,receiveMessage:h}).on,n=t.send,o=t.receiveMessage,i=e6("popupWindowsByName"),r("postrobot_open_tunnel",function(e){var t=e.source,a=e.origin,u=e.data,f=e6("bridges").get(a);if(!f)throw Error("Can not find bridge promise for domain "+a);return f.then(function(e){if(t!==e)throw Error("Message source does not matched registered bridge for domain "+a);if(!u.name)throw Error("Register window expected to be passed window name");if(!u.sendMessage)throw Error("Register window expected to be passed sendMessage method");if(!i.has(u.name))throw Error("Window with name "+u.name+" does not exist, or was not opened by this window");var f=function(){return i.get(u.name)}
1;if(!f().domain)throw Error("We do not have a registered domain for window "+u.name);if(f().domain!==a)throw Error("Message origin "+a+" does not matched registered window origin "+(f().domain||"unknown"));return tE(f().win,a,u.sendMessage),{sendMessage:function(e){if(window&&!window.closed&&f()){var t=f().domain;if(t)try{o({data:e,origin:t,source:f().win},{on:r,send:n})}catch(e){p.reject(e)}}}}})}),e1(window).openTunnelToParent=function(e){var t=e.name,r=e.source,n=e.canary,o=e.sendMessage,i=e6("tunnelWindows"),a=E(window);if(!a)throw Error("No parent window found to open tunnel to");var u=function(e){for(var t=e.name,r=e.source,n=e.canary,o=e.sendMessage,i=e6("tunnelWindows"),a=0,u=i.keys();a<u.length;a++){var f=u[a];j(i[f].source)&&i.del(f)}var s=ei();return e6("tunnelWindows").set(s,{name:t,source:r,canary:n,sendMessage:o}),s}({name:t,source:r,canary:n,sendMessage:o});return l(a,"postrobot_open_tunnel",{name:t,sendMessage:function(){var e=i.get(u);if(e&&e.source&&!j(e.source)){try{e.canary()}catch(e){return}e.sendMessage.apply(this,arguments)}}},{domain:"*"})},u=(a={on:d,send:l,receiveMessage:h}).on,f=a.send,s=a.receiveMessage,p.try(function(){var e=_(window);if(e&&tw({win:e}))return tv(e),e4("remoteBridgeAwaiters").getOrSet(e,function(){return p.try(function(){var t=k(e,ty(P()));if(t)return A(t)&&e1(C(t))?t:new p(function(e){var r,n;r=setInterval(function(){if(t&&A(t)&&e1(C(t)))return clearInterval(r),clearTimeout(n),e(t)},100),n=setTimeout(function(){return clearInterval(r),e()},2e3)})})}).then(function(t){return t?window.name?e1(C(t)).openTunnelToParent({name:window.name,source:window,canary:function(){},sendMessage:function(e){try{window}catch(e){return}if(window&&!window.closed)try{s({data:e,origin:this.origin,source:this.source},{on:u,send:f})}catch(e){p.reject(e)}}}).then(function(t){var r=t.source,n=t.origin,o=t.data;if(r!==e)throw Error("Source does not match opener");tE(r,n,o.sendMessage)}).catch(function(t){throw t_(e,t),t}):t_(e,Error("Can not register with opener: window does not have a name")):t_(e,Error("Can not register with opener: no bridge found in opener"))})})}function tP(){for(var e=e6("idToProxyWindow"),t=0,r=e.keys();t<r.length;t++){var n=r[t];e.get(n).shouldClean()&&e.del(n)}}function tA(e,t){var r=t.send,n=t.id,o=void 0===n?ei():n,i=e.then(function(e){if(A(e))return C(e).name}),a=e.then(function(e){if(j(e))throw Error("Window is closed, can not determine type");return _(e)?y.POPUP:y.IFRAME});i.catch(ed),a.catch(ed);var u=function(){return e.then(function(e){if(!j(e))return A(e)?C(e).name:i})};return{id:o,getType:function(){return a},getInstanceID:function(e){var t={};function r(){for(var r=arguments,n=this,o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];var u=ea(i);return t.hasOwnProperty(u)||(t[u]=p.try(function(){return e.apply(n,r)}).finally(function(){delete t[u]})),t[u]}return r.reset=function(){t={}},en(r,er(e)+"::promiseMemoized")}(function(){return e.then(function(e){return tt(e,{send:r})})}),close:function(){return e.then(G)},getName:u,focus:function(){return e.then(function(e){e.focus()})},isClosed:function(){return e.then(function(e){return j(e)})},setLocation:function(t,r){return void 0===r&&(r={}),e.then(function(e){var n=window.location.protocol+"//"+window.location.host,o=r.method,i=void 0===o?"get":o,a=r.body;if(0===t.indexOf("/"))t=""+n+t;else if(!t.match(/^https?:\/\//)&&0!==t.indexOf(n))throw Error("Expected url to be http or https url, or absolute path, got "+JSON.stringify(t));if("post"===i)return u().then(function(e){if(!e)throw Error("Can not post to window without target name");!function(e){var t=e.url,r=e.target,n=e.body,o=e.method,i=document.createElement("form");if(i.setAttribute("target",r),i.setAttribute("method",void 0===o?"post":o),i.setAttribute("action",t),i.style.display="none",n)for(var a=0,u=Object.keys(n);a<u.length;a++){var f,s=u[a],c=document.createElement("input");c.setAttribute("name",s),c.setAttribute("value",null==(f=n[s])?void 0:f.toString()),i.appendChild(c)}eR().appendChild(i),i.submit(),eR().removeChild(i)}({url:t,target:e,method:i,body:a})});if("get"!==i)throw Error("Unsupported method: "+i);if(A(e))try{if(e.location&&"function"==typeof e.location.replace)return void e.location.replace(t)}catch(e){}e.location=t})},setName:function(t){return e.then(function(e){tx({win:e,name:t});var r=A(e),n=H(e);if(!r)throw Error("Can not set name for cross-domain window: "+t);C(e).name=t,n&&n.setAttribute("name",t),i=p.resolve(t)})}}}var tC=function(){function e(e){var t=e.send,r=e.win,n=e.serializedWindow;this.id=void 0,this.isProxyWindow=!0,this.serializedWindow=void 0,this.actualWindow=void 0,this.actualWindowPromise=void 0,this.send=void 0,this.name=void 0,this.actualWindowPromise=new p,this.serializedWindow=n||tA(this.actualWindowPromise,{send:t}),e6("idToProxyWindow").set(this.getID(),this),r&&this.setWindow(r,{send:t})}var t=e.prototype;return t.getID=function(){return this.serializedWindow.id},t.getType=function(){return this.serializedWindow.getType()},t.isPopup=function(){return this.getType().then(function(e){return e===y.POPUP})},t.setLocation=function(e,t){var r=this;return this.serializedWindow.setLocation(e,t).then(function(){return r})},t.getName=function(){return this.serializedWindow.getName()},t.setName=function(e){var t=this;return this.serializedWindow.setName(e).then(function(){return t})},t.close=function(){var e=this;return this.serializedWindow.close().then(function(){return e})},t.focus=function(){var e=this,t=this.isPopup(),r=this.getName(),n=p.hash({isPopup:t,name:r}).then(function(e){var t=e.name;e.isPopup&&t&&window.open("",t,"noopener")}),o=this.serializedWindow.focus();return p.all([n,o]).then(function(){return e})},t.isClosed=function(){return this.serializedWindow.isClosed()},t.getWindow=function(){return this.actualWindow},t.setWindow=function(e,t){var r=t.send;this.actualWindow=e,this.actualWindowPromise.resolve(this.actualWindow),this.serializedWindow=tA(this.actualWindowPromise,{send:r,id:this.getID()}),e4("winToProxyWindow").set(e,this)},t.awaitWindow=function(){return this.actualWindowPromise},t.matchWindow=function(e,t){var r=this,n=t.send;return p.try(function(){return r.actualWindow?e===r.actualWindow:p.hash({proxyInstanceID:r.getInstanceID(),knownWindowInstanceID:tt(e,{send:n})}).then(function(t){var o=t.proxyInstanceID===t.knownWindowInstanceID;return o&&r.setWindow(e,{send:n}),o})})},t.unwrap=function(){return this.actualWindow||this},t.getInstanceID=function(){return this.serializedWindow.getInstanceID()},t.shouldClean=function(){return!!(this.actualWindow&&j(this.actualWindow))},t.serialize=function(){return this.serializedWindow},e.unwrap=function(t){return e.isProxyWindow(t)?t.unwrap():t},e.serialize=function(t,r){var n=r.send;return tP(),e.toProxyWindow(t,{send:n}).serialize()},e.deserialize=function(t,r){var n=r.send;
1return tP(),e6("idToProxyWindow").get(t.id)||new e({serializedWindow:t,send:n})},e.isProxyWindow=function(e){return!!(e&&!Y(e)&&e.isProxyWindow)},e.toProxyWindow=function(t,r){var n=r.send;return(tP(),e.isProxyWindow(t))?t:e4("winToProxyWindow").get(t)||new e({win:t,send:n})},e}();function tI(e,t,r,n,o){var i=e4("methodStore"),a=e6("proxyWindowMethods");tC.isProxyWindow(n)?a.set(e,{val:t,name:r,domain:o,source:n}):(a.del(e),i.getOrSet(n,function(){return{}})[e]={domain:o,name:r,val:t,source:n})}function tR(e,t){var r=e4("methodStore"),n=e6("proxyWindowMethods");return r.getOrSet(e,function(){return{}})[t]||n.get(t)}function tS(e,t,r,n,o){a=(i={on:o.on,send:o.send}).on,u=i.send,e6("builtinListeners").getOrSet("functionCalls",function(){return a("postrobot_method",{domain:"*"},function(e){var t=e.source,r=e.origin,n=e.data,o=n.id,i=n.name,a=tR(t,o);if(!a)throw Error("Could not find method '"+i+"' with id: "+n.id+" in "+P(window));var f=a.source,s=a.domain,c=a.val;return p.try(function(){if(!L(s,r))throw Error("Method '"+n.name+"' domain "+JSON.stringify(eO(a.domain)?a.domain.source:a.domain)+" does not match origin "+r+" in "+P(window));if(tC.isProxyWindow(f))return f.matchWindow(t,{send:u}).then(function(e){if(!e)throw Error("Method call '"+n.name+"' failed - proxy window does not match source in "+P(window))})}).then(function(){return c.apply({source:t,origin:r},n.args)},function(e){return p.try(function(){if(c.onError)return c.onError(e)}).then(function(){var t;throw e.stack&&(e.stack="Remote call to "+i+"("+(void 0===(t=n.args)&&(t=[]),ev(t).map(function(e){return"string"==typeof e?"'"+e+"'":void 0===e?"undefined":null===e?"null":"boolean"==typeof e?e.toString():Array.isArray(e)?"[ ... ]":"object"==typeof e?"{ ... }":"function"==typeof e?"() => { ... }":"<"+typeof e+">"}).join(", ")+") failed\n\n")+e.stack),e})}).then(function(e){return{result:e,id:o,name:i}})})});var i,a,u,f=r.__id__||ei();e=tC.unwrap(e);var s=r.__name__||r.name||n;return"string"==typeof s&&"function"==typeof s.indexOf&&0===s.indexOf("anonymous::")&&(s=s.replace("anonymous::",n+"::")),tC.isProxyWindow(e)?(tI(f,r,s,e,t),e.awaitWindow().then(function(e){tI(f,r,s,e,t)})):tI(f,r,s,e,t),ta("cross_domain_function",{id:f,name:s})}function tD(e,t,r,n){var o,i,a,u=n.on,f=n.send;return void 0===((a={}).promise=function(r,n){var o;return ta("cross_domain_zalgo_promise",{then:tS(e,t,function(e,t){return r.then(e,t)},n,{on:(o={on:u,send:f}).on,send:o.send})})},a.function=function(r,n){return tS(e,t,r,n,{on:u,send:f})},a.object=function(e){return Y(e)||tC.isProxyWindow(e)?ta("cross_domain_window",tC.serialize(e,{send:f})):e},o=a)&&(o=ts),void 0===(i=JSON.stringify(r,function(e){var t=this[e];if(to(this))return t;var r=ti(t);if(!r)return t;var n=o[r]||tf[r];return n?n(t,e):t}))?"undefined":i}function tN(e,t,r,n){var o,i=n.send,a=((o={}).cross_domain_zalgo_promise=function(e){return new p(e.then)},o.cross_domain_function=function(r){var n,o,a,u;return n=r.id,o=r.name,(u=(a=function(r){function a(){var u=arguments;return tC.toProxyWindow(e,{send:i}).awaitWindow().then(function(e){var f=tR(e,n);if(f&&f.val!==a)return f.val.apply({source:window,origin:P()},u);var s=[].slice.call(u);return r.fireAndForget?i(e,"postrobot_method",{id:n,name:o,args:s},{domain:t,fireAndForget:!0}):i(e,"postrobot_method",{id:n,name:o,args:s},{domain:t,fireAndForget:!1}).then(function(e){return e.data.result})}).catch(function(e){throw e})}return void 0===r&&(r={}),a.__name__=o,a.__origin__=t,a.__source__=e,a.__id__=n,a.origin=t,a})()).fireAndForget=a({fireAndForget:!0}),u},o.cross_domain_window=function(e){return tC.deserialize(e,{send:i})},o);return(void 0===a&&(a=td),"undefined"!==r)?JSON.parse(r,function(e,t){if(to(this))return t;if(to(t)?(r=t.__type__,n=t.__val__):(r=ti(t),n=t),!r)return n;var r,n,o=a[r]||tc[r];return o?o(n,e):n}):void 0}var tT={};function tW(e,t,r,n){var o=n.on,i=n.send;return p.try(function(){var n=e4().getOrSet(e,function(){return{}});return n.buffer=n.buffer||[],n.buffer.push(r),n.flush=n.flush||p.flush().then(function(){if(j(e))throw Error("Window is closed");var r,a=tD(e,t,((r={}).__post_robot_11_0_0__=n.buffer||[],r),{on:o,send:i});delete n.buffer;for(var u=Object.keys(tT),f=[],s=0;s<u.length;s++){var c=u[s];try{tT[c](e,a,t)}catch(e){f.push(e)}}if(f.length===u.length)throw Error("All post-robot messaging strategies failed:\n\n"+f.map(function(e,t){return t+". "+eh(e)}).join("\n\n"))}),n.flush.then(function(){delete n.flush})}).then(ed)}function tj(e){return e6("responseListeners").get(e)}function tB(e){e6("responseListeners").del(e)}function tk(e){return e6("erroredResponseListeners").has(e)}function tU(e){var t=e.name,r=e.win,n=e.domain,o=e4("requestListeners");if("*"===r&&(r=null),"*"===n&&(n=null),!t)throw Error("Name required to get request listener");for(var i=0,a=[r,e3()];i<a.length;i++){var u=a[i];if(u){var f=o.get(u);if(f){var s=f[t];if(s){if(n&&"string"==typeof n){if(s[n])return s[n];if(s.__domain_regex__)for(var c=0,d=s.__domain_regex__;c<d.length;c++){var l=d[c],h=l.listener;if(L(l.regex,n))return h}}if(s["*"])return s["*"]}}}}}function tM(e,t){var r=t.on,n=t.send,o=e6("receivedMessages");try{if(!window||window.closed||!e.source)return}catch(e){return}var i=e.source,a=e.origin,u=function(e,t,r,n){var o,i=n.on,a=n.send;try{o=tN(t,r,e,{on:i,send:a})}catch(e){return}if(o&&"object"==typeof o&&null!==o){var u=o.__post_robot_11_0_0__;if(Array.isArray(u))return u}}(e.data,i,a,{on:r,send:n});
1if(u){tn(i);for(var f,s=0;s<u.length;s++)if(f=function(){var e=u[s];if(o.has(e.id)||(o.set(e.id,!0),j(i)&&!e.fireAndForget))return{v:void 0};0===e.origin.indexOf("file:")&&(a="file://");try{"postrobot_message_request"===e.type?function(e,t,r,n){var o=n.on,i=n.send,a=tU({name:r.name,win:e,domain:t}),u="postrobot_method"===r.name&&r.data&&"string"==typeof r.data.name?r.data.name+"()":r.name;function f(n,a,f){return p.flush().then(function(){if(!r.fireAndForget&&!j(e))try{return tW(e,t,{id:ei(),origin:P(window),type:"postrobot_message_response",hash:r.hash,name:r.name,ack:n,data:a,error:f},{on:o,send:i})}catch(e){throw Error("Send response message failed for "+u+" in "+P()+"\n\n"+eh(e))}})}p.all([p.flush().then(function(){if(!r.fireAndForget&&!j(e))try{return tW(e,t,{id:ei(),origin:P(window),type:"postrobot_message_ack",hash:r.hash,name:r.name},{on:o,send:i})}catch(e){throw Error("Send ack message failed for "+u+" in "+P()+"\n\n"+eh(e))}}),p.try(function(){if(!a)throw Error("No handler found for post message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);return a.handler({source:e,origin:t,data:r.data})}).then(function(e){return f("success",e)},function(e){return f("error",null,e)})]).then(ed).catch(function(e){if(a&&a.handleError)return a.handleError(e);throw e})}(i,a,e,{on:r,send:n}):"postrobot_message_response"===e.type?function(e,t,r){if(!tk(r.hash)){var n,o=tj(r.hash);if(!o)throw Error("No handler found for post message response for message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);if(!L(o.domain,t))throw Error("Response origin "+t+" does not match domain "+(n=o.domain,Array.isArray(n)?"("+n.join(" | ")+")":w(n)?"RegExp("+n.toString()+")":n.toString()));if(e!==o.win)throw Error("Response source does not match registered window");tB(r.hash),"error"===r.ack?o.promise.reject(r.error):"success"===r.ack&&o.promise.resolve({source:e,origin:t,data:r.data})}}(i,a,e):"postrobot_message_ack"===e.type&&function(e,t,r){if(!tk(r.hash)){var n=tj(r.hash);if(!n)throw Error("No handler found for post message ack for message: "+r.name+" from "+t+" in "+window.location.protocol+"//"+window.location.host+window.location.pathname);try{if(!L(n.domain,t))throw Error("Ack origin "+t+" does not match domain "+n.domain.toString());if(e!==n.win)throw Error("Ack source does not match registered window")}catch(e){n.promise.reject(e)}n.ack=!0}}(i,a,e)}catch(e){setTimeout(function(){throw e},0)}}())return f.v}}function tz(e,t,r){if(!e)throw Error("Expected name");if("function"==typeof(t=t||{})&&(r=t,t={}),!r)throw Error("Expected handler");var n=function e(t,r){var n=t.name,o=t.win,i=t.domain,a=e4("requestListeners");if(!n||"string"!=typeof n)throw Error("Name required to add request listener");if(o&&"*"!==o&&tC.isProxyWindow(o)){var u=o.awaitWindow().then(function(t){return e({name:n,win:t,domain:i},r)});return{cancel:function(){u.then(function(e){return e.cancel()},ed)}}}var f=o;if(Array.isArray(f)){for(var s=[],c=0,d=f;c<d.length;c++)s.push(e({name:n,domain:i,win:d[c]},r));return{cancel:function(){for(var e=0;e<s.length;e++)s[e].cancel()}}}if(Array.isArray(i)){for(var l=[],h=0,p=i;h<p.length;h++)l.push(e({name:n,win:f,domain:p[h]},r));return{cancel:function(){for(var e=0;e<l.length;e++)l[e].cancel()}}}var w=tU({name:n,win:f,domain:i});f&&"*"!==f||(f=e3());var y=(i=i||"*").toString();if(w)throw f&&i?Error("Request listener already exists for "+n+" on domain "+i.toString()+" for "+(f===e3()?"wildcard":"specified")+" window"):f?Error("Request listener already exists for "+n+" for "+(f===e3()?"wildcard":"specified")+" window"):i?Error("Request listener already exists for "+n+" on domain "+i.toString()):Error("Request listener already exists for "+n);var g,m,v=a.getOrSet(f,function(){return{}}),b=eP(v,n,function(){return{}});return eO(i)?(g=eP(b,"__domain_regex__",function(){return[]})).push(m={regex:i,listener:r}):b[y]=r,{cancel:function(){delete b[y],m&&(g.splice(g.indexOf(m,1)),g.length||delete b.__domain_regex__),Object.keys(b).length||delete v[n],f&&!Object.keys(v).length&&a.del(f)}}}({name:e,win:t.window,domain:t.domain||"*"},{handler:r||t.handler,handleError:t.errorHandler||function(e){throw e}});return{cancel:function(){n.cancel()}}}tT.postrobot_post_message=function(e,t,r){0===r.indexOf("file:")&&(r="*"),e.postMessage(t,r)},tT.postrobot_bridge=function(e,t,r){if(!tl()&&!tg())throw Error("Bridge not needed for browser");if(A(e))throw Error("Post message through bridge disabled between same domain windows");if(!1!==F(window,e))throw Error("Can only use bridge to communicate between two different windows, not between frames");!function(e,t,r){var n=window===_(e),o=e===_(window);if(!n&&!o)throw Error("Can only send messages to and from parent and popup windows");tb(e).then(function(n){return n(e,t,r)})}(e,r,t)},tT.postrobot_global=function(e,t){if(!B(window).match(/MSIE|rv:11|trident|edge\/12|edge\/13/i))throw Error("Global messaging not needed for browser");if(!A(e))throw Error("Post message through global disabled between different domain windows");if(!1!==F(window,e))throw Error("Can only use global to communicate between two different windows, not between frames");var r=e1(e);if(!r)throw Error("Can not find postRobot global on foreign window");r.receiveMessage({source:window,origin:P(),data:t})};var tF,tL=function(e,t,r,n){var o=(n=n||{}).domain||"*",i=n.timeout||-1,a=n.timeout||5e3,u=n.fireAndForget||!1;return tC.toProxyWindow(e,{send:tL}).awaitWindow().then(function(e){return p.try(function(){if(function(e,t,r){if(!e)throw Error("Expected name");if(r&&"string"!=typeof r&&!Array.isArray(r)&&!eO(r))throw TypeError("Can not send "+e+". Expected domain "+JSON.stringify(r)+" to be a string, array, or regex");if(j(t))throw Error("Can not send "+e+". Target window is closed")}(t,e,o),function(e,t){var r=U(t);if(r)return r===e;if(t===e||D(t)===t)return!1;for(var n=0,o=R(e);n<o.length;n++)if(o[n]===t)return!0;return!1}(window,e))return tr(e,a)}).then(function(t){var r;return r=(void 0===t?{}
1:t).domain,p.try(function(){return"string"==typeof o?o:p.try(function(){return r||te(e,{send:tL}).then(function(e){return e.domain})}).then(function(e){if(!L(o,o))throw Error("Domain "+ep(o)+" does not match "+ep(o));return e})})}).then(function(n){var o="postrobot_method"===t&&r&&"string"==typeof r.name?r.name+"()":t,a=new p,f=t+"_"+ei();if(!u){var s={name:t,win:e,domain:n,promise:a};e6("responseListeners").set(f,s);var c=e4("requestPromises").getOrSet(e,function(){return[]});c.push(a),a.catch(function(){e6("erroredResponseListeners").set(f,!0),tB(f)});var d=e4("knownWindows").get(e,!1)?1e4:2e3,l=d,h=i,w=ey(function(){return j(e)?a.reject(Error("Window closed for "+t+" before "+(s.ack?"response":"ack"))):s.cancelled?a.reject(Error("Response listener was cancelled for "+t)):(l=Math.max(l-500,0),-1!==h&&(h=Math.max(h-500,0)),s.ack||0!==l?0===h?a.reject(Error("No response for postMessage "+o+" in "+P()+" in "+i+"ms")):void 0:a.reject(Error("No ack for postMessage "+o+" in "+P()+" in "+d+"ms")))},500);a.finally(function(){w.cancel(),c.splice(c.indexOf(a,1))}).catch(ed)}return tW(e,n,{id:ei(),origin:P(window),type:"postrobot_message_request",hash:f,name:t,data:r,fireAndForget:u},{on:tz,send:tL}).then(function(){return u?a.resolve():a},function(e){throw Error("Send request message failed for "+o+" in "+P()+"\n\n"+eh(e))})})})};function t$(e){return tC.toProxyWindow(e,{send:tL})}function tq(e){for(var t=0,r=e4("requestPromises").get(e,[]);t<r.length;t++)r[t].reject(Error("Window "+(j(e)?"closed":"cleaned up")+" before response")).catch(ed)}function tY(e){if(!A(e))throw Error("Can not get global for window on different domain");return e.__zoid_10_3_4__||(e.__zoid_10_3_4__={}),e.__zoid_10_3_4__}function tJ(e,t){try{return t(tY(e))}catch(e){}}function tH(e){return{get:function(){var t=this;return p.try(function(){if(t.source&&t.source!==window)throw Error("Can not call get on proxy object from a remote window");return e})}}}function tG(e){var t=tY(e);return t.references=t.references||{},t.references}function tV(e){var t,r=e.data,n=e.metaData,o=e.sender,i=e.receiver,a=e.passByReference,u=e.basic,f=t$(i.win),s=void 0!==u&&u?JSON.stringify(r):tD(f,i.domain,r,{on:tz,send:tL}),c=void 0!==a&&a?(t=ei(),tG(window)[t]=s,{type:"uid",uid:t}):{type:"raw",val:s};return{serializedData:eo(JSON.stringify({sender:{domain:o.domain},metaData:n,reference:c})),cleanReference:function(){var e;e=window,"uid"===c.type&&delete tG(e)[c.uid]}}}function tZ(e){var t,r,n=e.sender,i=e.basic,a=JSON.parse(function(e){if("function"==typeof atob)return decodeURIComponent([].map.call(atob(e),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""));if(void 0!==o)return o.from(e,"base64").toString("utf8");throw Error("Can not find window.atob or Buffer")}(e.data)),u=a.reference,f=a.metaData;t="function"==typeof n.win?n.win({metaData:f}):n.win,r="function"==typeof n.domain?n.domain({metaData:f}):"string"==typeof n.domain?n.domain:a.sender.domain;var s=function(e,t){if("raw"===t.type)return t.val;if("uid"===t.type)return tG(e)[t.uid];throw Error("Unsupported ref type: "+t.type)}(t,u);return{data:void 0!==i&&i?JSON.parse(s):tN(t,r,s,{on:tz,send:tL}),metaData:f,sender:{win:t,domain:r},reference:u}}tF={setupBridge:tO,openBridge:function(e,t){var r=e6("bridges"),n=e6("bridgeFrames");return t=t||$(e),r.getOrSet(t,function(){return p.try(function(){if(P()===t)throw Error("Can not open bridge on the same domain as current domain: "+t);var r,o=ty(t);if(k(window,o))throw Error("Frame with name "+o+" already exists on page");var i=((r=document.createElement("iframe")).setAttribute("name",o),r.setAttribute("id",o),r.setAttribute("style","display: none; margin: 0; padding: 0; border: 0px none; overflow: hidden;"),r.setAttribute("frameborder","0"),r.setAttribute("border","0"),r.setAttribute("scrolling","no"),r.setAttribute("allowTransparency","true"),r.setAttribute("tabindex","-1"),r.setAttribute("hidden","true"),r.setAttribute("title",""),r.setAttribute("role","presentation"),r.src=e,r);return n.set(t,i),tm.then(function(t){t.appendChild(i);var r=i.contentWindow;return new p(function(e,t){i.addEventListener("load",e),i.addEventListener("error",t)}).then(function(){return tr(r,5e3,"Bridge "+e)}).then(function(){return r})})})})},linkWindow:tx,linkUrl:function(e,t){tx({win:e,domain:$(t)})},isBridge:tg,needsBridge:tw,needsBridgeForBrowser:tl,hasBridge:function(e,t){return e6("bridges").has(t||$(e))},needsBridgeForWin:th,needsBridgeForDomain:tp,destroyBridges:function(){for(var e=e6("bridges"),t=e6("bridgeFrames"),r=0,n=t.keys();r<n.length;r++){var o=t.get(n[r]);o&&o.parentNode&&o.parentNode.removeChild(o)}t.reset(),e.reset()}};var tX={NAVIGATED_AWAY:"Window navigated away",COMPONENT_DESTROYED:"Component destroyed",COMPONENT_CLOSED:"Component closed",WINDOW_CLOSED:"Detected component window close",IFRAME_CLOSE:"Detected iframe close"},tK={STRING:"string",OBJECT:"object",FUNCTION:"function",BOOLEAN:"boolean",NUMBER:"number",ARRAY:"array"},tQ={JSON:"json",DOTIFY:"dotify",BASE64:"base64"},t0=y,t1={RENDER:"zoid-render",RENDERED:"zoid-rendered",PRERENDER:"zoid-prerender",PRERENDERED:"zoid-prerendered",DISPLAY:"zoid-display",ERROR:"zoid-error",CLOSE:"zoid-close",DESTROY:"zoid-destroy",PROP
1S:"zoid-props",RESIZE:"zoid-resize",FOCUS:"zoid-focus"};function t2(e){return"__zoid__"+e.name+"__"+e.serializedPayload+"__"}function t6(e){if(!e)throw Error("No window name");var t=e.split("__"),r=t[1],n=t[2],o=t[3];if("zoid"!==r)throw Error("Window not rendered by zoid - got "+r);if(!n)throw Error("Expected component name");if(!o)throw Error("Expected serialized payload ref");return{name:n,serializedInitialPayload:o}}var t8=ec(function(e){var t=tZ({data:t6(e).serializedInitialPayload,sender:{win:function(e){return function(e){if("opener"===e.type)return eC("opener",_(window));if("parent"===e.type&&"number"==typeof e.distance){var t,r;return eC("parent",(t=window,void 0===(r=e.distance)&&(r=1),function(e,t){void 0===t&&(t=1);for(var r=e,n=0;n<t;n++){if(!r)return;r=E(r)}return r}(t,z(t)-r)))}if("global"===e.type&&e.uid&&"string"==typeof e.uid){var n=e.uid,o=U(window);if(!o)throw Error("Can not find ancestor window");for(var i=0,a=N(o);i<a.length;i++){var u=a[i];if(A(u)){var f=tJ(u,function(e){return e.windows&&e.windows[n]});if(f)return f}}}else if("name"===e.type){var s,c=e.name;return eC("namedWindow",k(s=eC("ancestor",U(window)),c)||function e(t,r){var n=k(t,r);if(n)return n;for(var o=0,i=R(t);o<i.length;o++){var a=e(i[o],r);if(a)return a}}(D(s)||s,c))}throw Error("Unable to find "+e.type+" parent component window")}(e.metaData.windowRef)}}});return{parent:t.sender,payload:t.data,reference:t.reference}});function t5(){return t8(window.name)}function t3(e,t,r,n,o){if(!e.hasOwnProperty(r))return n;var i=e[r];return"function"==typeof i.childDecorate?i.childDecorate({value:n,uid:o.uid,tag:o.tag,close:o.close,focus:o.focus,onError:o.onError,onProps:o.onProps,resize:o.resize,getParent:o.getParent,getParentDomain:o.getParentDomain,show:o.show,hide:o.hide,export:o.export,getSiblings:o.getSiblings}):n}function t4(){return p.try(function(){window.focus()})}function t9(){return p.try(function(){window.close()})}var t7=function(){return ed},re=function(e){return el(e.value)};function rt(e,t,r){for(var n=0,o=Object.keys(a({},e,t));n<o.length;n++){var i=o[n];r(i,t[i],e[i])}}function rr(e,t,r){var n,o={};return p.all((n=[],rt(t,e,function(e,t,i){var a=p.resolve().then(function(){var n,a;if(null!=i&&t){var u=((n={}).get=t.queryParam,n.post=t.bodyParam,n)[r],f=((a={}).get=t.queryValue,a.post=t.bodyValue,a)[r];if(u)return p.hash({finalParam:p.try(function(){return"function"==typeof u?u({value:i}):"string"==typeof u?u:e}),finalValue:p.try(function(){return"function"==typeof f&&ex(i)?f({value:i}):i})}).then(function(r){var n,i=r.finalParam,a=r.finalValue;if("boolean"==typeof a)n=a.toString();else if("string"==typeof a)n=a.toString();else if("object"==typeof a&&null!==a){if(t.serialization===tQ.JSON)n=JSON.stringify(a);else if(t.serialization===tQ.BASE64)n=eo(JSON.stringify(a));else if(t.serialization===tQ.DOTIFY||!t.serialization){n=function e(t,r,n){for(var o in void 0===r&&(r=""),void 0===n&&(n={}),r=r?r+".":r,t)t.hasOwnProperty(o)&&null!=t[o]&&"function"!=typeof t[o]&&(t[o]&&Array.isArray(t[o])&&t[o].length&&t[o].every(function(e){return"object"!=typeof e})?n[""+r+o+"[]"]=t[o].join(","):t[o]&&"object"==typeof t[o]?n=e(t[o],""+r+o,n):n[""+r+o]=t[o].toString());return n}(a,e);for(var u=0,f=Object.keys(n);u<f.length;u++){var s=f[u];o[s]=n[s]}return}}else"number"==typeof a&&(n=a.toString());o[i]=n})}});n.push(a)}),n)).then(function(){return o})}function rn(e){var t,r,n,o,i,u,f,s,c=e.uid,d=e.options,l=e.overrides,h=void 0===l?{}:l,w=e.parentWin,y=void 0===w?window:w,g=d.propsDef,m=d.containerTemplate,v=d.prerenderTemplate,b=d.tag,E=d.name,_=d.attributes,x=d.dimensions,O=d.autoResize,I=d.url,R=d.domain,S=d.exports,D=new p,N=[],T=eA(),W={},B={},k={visible:!0},M=h.event?h.event:(t={},r={},n={on:function(e,t){var n=r[e]=r[e]||[];n.push(t);var o=!1;return{cancel:function(){o||(o=!0,n.splice(n.indexOf(t),1))}}},once:function(e,t){var r=n.on(e,function(){r.cancel(),t()});return r},trigger:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var i=r[e],a=[];if(i)for(var u=0;u<i.length;u++)(function(){var e=i[u];a.push(p.try(function(){return e.apply(void 0,n)}))})();return p.all(a).then(ed)},triggerOnce:function(e){if(t[e])return p.resolve();t[e]=!0;for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];
1return n.trigger.apply(n,[e].concat(o))},reset:function(){r={}}}),Y=h.props?h.props:{},H=!1,V=h.onError,Z=h.getProxyContainer,X=h.show,K=h.hide,Q=h.close,ee=h.renderContainer,et=h.getProxyWindow,er=h.setProxyWin,en=h.openFrame,eo=h.openPrerenderFrame,ea=h.prerender,eu=h.open,ef=h.openPrerender,es=h.watchForUnload,eg=h.getInternalState,em=h.setInternalState,eb=function(){return"function"==typeof x?x({props:Y}):x},eE=function(){return p.try(function(){return h.resolveInitPromise?h.resolveInitPromise():D.resolve()})},e_=function(e){return p.try(function(){return h.rejectInitPromise?h.rejectInitPromise(e):D.reject(e)})},eO=function(e){for(var t={},r=0,n=Object.keys(Y);r<n.length;r++){var o=n[r],i=g[o];if(!i||!1!==i.sendToChild){var a=i&&i.trustedDomains&&i.trustedDomains.length>0?i.trustedDomains.reduce(function(t,r){return t||L(r,e)},!1):L(e,P(window));i&&i.sameDomain&&!a||i&&i.trustedDomains&&!a||(t[o]=Y[o])}}return p.hash(t)},eP=function(){return p.try(function(){return eg?eg():k})},eC=function(e){return p.try(function(){return em?em(e):k=a({},k,e)})},eI=function(){return et?et():p.try(function(){var e=Y.window;if(e){var t=t$(e);return T.register(function(){return e.close()}),t}return new tC({send:tL})})},eR=function(e){return er?er(e):p.try(function(){o=e})},eS=function(){return X?X():p.hash({setState:eC({visible:!0}),showElement:i?i.get().then(eL):null}).then(ed)},eD=function(){return K?K():p.hash({setState:eC({visible:!1}),showElement:i?i.get().then(e$):null}).then(ed)},eN=function(){return"function"==typeof I?I({props:Y}):I},eB=function(){return"function"==typeof _?_({props:Y}):_},eU=function(){return $(eN())},eG=function(e,t){var r=t.windowName;return en?en(e,{windowName:r}):p.try(function(){if(e===t0.IFRAME)return tH(ez({attributes:a({name:r,title:E},eB().iframe)}))})},eV=function(e){return eo?eo(e):p.try(function(){if(e===t0.IFRAME)return tH(ez({attributes:a({name:"__zoid_prerender_frame__"+E+"_"+ei()+"__",title:"prerender__"+E},eB().iframe)}))})},eZ=function(e,t,r){return ef?ef(e,t,r):p.try(function(){if(e===t0.IFRAME){if(!r)throw Error("Expected proxy frame to be passed");return r.get().then(function(e){return T.register(function(){return eq(e)}),eM(e).then(function(e){return C(e)}).then(function(e){return t$(e)})})}if(e===t0.POPUP)return t;throw Error("No render context available for "+e)})},eX=function(){return p.try(function(){if(o)return p.all([M.trigger(t1.FOCUS),o.focus()]).then(ed)})},eK=function(e,t,r,n){if(t===P(window))return{type:"global",uid:((o=tY(window)).windows=o.windows||{},o.windows[c]=window,T.register(function(){delete o.windows[c]}),c)};if(e!==window)throw Error("Can not construct cross-domain window reference for different target window");if(Y.window){var o,i=n.getWindow();if(!i)throw Error("Can not construct cross-domain window reference for lazy window prop");if(U(i)!==window)throw Error("Can not construct cross-domain window reference for window prop with different ancestor")}if(r===t0.POPUP)return{type:"opener"};if(r===t0.IFRAME)return{type:"parent",distance:z(window)};throw Error("Can not construct window reference for child")},eQ=function(e,t){return p.try(function(){var r;f=e,u=t,null==(r=o)||r.isPopup().then(function(e){var r;""!==(null==t?void 0:t.name)&&e&&(null==(r=o)||r.setName(null==t?void 0:t.name))}).finally(function(){eE(),T.register(function(){return t.close.fireAndForget().catch(ed)})})})},e1=function(e){var t=e.width,r=e.height;return p.try(function(){M.trigger(t1.RESIZE,{width:t,height:r})})},e2=function(e){return p.try(function(){return M.trigger(t1.DESTROY)}).catch(ed).then(function(){return T.all(e)}).then(function(){var t=e||Error(tX.COMPONENT_DESTROYED);s&&eY(s)||Object.values(tX).includes(t.message)?D.resolve():D.asyncReject(t)})},e6=ec(function(e){return p.try(function(){if(Q){if(j(Q.__source__))return;return Q()}return p.try(function(){return M.trigger(t1.CLOSE)}).then(function(){return e2(e||Error(tX.COMPONENT_CLOSED))})})}),e8=function(e,t){var r=t.proxyWin,n=t.proxyFrame,o=t.windowName;return eu?eu(e,{proxyWin:r,proxyFrame:n,windowName:o}):p.try(function(){if(e===t0.IFRAME){if(!n)throw Error("Expected proxy frame to be passed");return n.get().then(function(e){return eM(e).then(function(t){return T.register(function(){return eq(e)}),T.register(function(){return tq(t)}),t})})}if(e===t0.POPUP){var t=eb(),r=t.width,i=void 0===r?"300px":r,u=t.height,f=void 0===u?"150px":u;i=e0(i,window.outerWidth),f=e0(f,window.outerWidth);var s=function(e,t){var r=(t=t||{}).closeOnUnload,n=t.name,o=t.width,i=t.height,u=0,f=0;o&&(window.outerWidth?f=Math.round((window.outerWidth-o)/2)+window.screenX:window.screen.width&&(f=Math.round((window.screen.width-o)/2))),i&&(window.outerHeight?u=Math.round((window.outerHeight-i)/2)+window.screenY:window.screen.height&&(u=Math.round((window.screen.height-i)/2))),delete t.closeOnUnload,delete t.name,o&&i&&(t=a({top:u,left:f,width:o,height:i,status:1,toolbar:0,menubar:0,resizable:1,scrollbars:1},t));var s,c=Object.keys(t).map(function(e){if(null!=t[e])return e+"="+ep(t[e])}
1).filter(Boolean).join(",");try{s=window.open("",void 0===n?"":n,c)}catch(e){throw new ek("Can not open popup window - "+(e.stack||e.message))}if(j(s))throw new ek("Can not open popup window - blocked");return(void 0===r?1:r)&&window.addEventListener("unload",function(){return s.close()}),s}(0,a({name:o,width:i,height:f},eB().popup));return T.register(function(){return G(s)}),T.register(function(){return tq(s)}),s}throw Error("No render context available for "+e)}).then(function(e){return r.setWindow(e,{send:tL}),r.setName(o).then(function(){return r})})},e5=function(){return p.try(function(){var e=eF(window,"unload",el(function(){e2(Error(tX.NAVIGATED_AWAY))})),t=q(y,e2,3e3);if(T.register(t.cancel),T.register(e.cancel),es)return es()})},e3=function(e,t){var r=!1;return T.register(function(){r=!0}),p.delay(2e3).then(function(){return e.isClosed()}).then(function(n){if(!r){if(t===t0.POPUP&&n)return e6(Error("Detected popup close"));var o=!!(s&&eY(s));return t===t0.IFRAME&&n&&(o||H)?e6(Error(tX.IFRAME_CLOSE)):e3(e,t)}})},e4=function(e){var t=!1;return e.isClosed().then(function(r){return r?(t=!0,e6(Error(tX.WINDOW_CLOSED))):p.delay(200).then(function(){return e.isClosed()}).then(function(e){if(e)return t=!0,e6(Error(tX.WINDOW_CLOSED))})}).then(function(){return t})},e9=function(e){return V?V(e):p.try(function(){if(-1===N.indexOf(e))return N.push(e),D.asyncReject(e),M.trigger(t1.ERROR,e)})},e7=new p,te=function(e){return p.try(function(){e7.resolve(e)})};eQ.onError=e9;var tt=function(e,t){return e({uid:c,container:t.container,context:t.context,doc:t.doc,frame:t.frame,prerenderFrame:t.prerenderFrame,focus:eX,close:e6,state:W,props:Y,tag:b,dimensions:eb(),event:M})},tr=function(e,t){var r=t.context;return ea?ea(e,{context:r}):p.try(function(){if(v){M.trigger(t1.PRERENDER);var t=e.getWindow();if(t&&A(t)&&function(e){try{if(!e.location.href||"about:blank"===e.location.href)return!0}catch(e){}return!1}(t)){var n=(t=C(t)).document,o=tt(v,{context:r,doc:n});if(o){if(o.ownerDocument!==n)throw Error("Expected prerender template to have been created with document from child window");!function(e,t){var r=t.tagName.toLowerCase();if("html"!==r)throw Error("Expected element to be html, got "+r);for(var n=e.document.documentElement,o=0,i=ev(n.children);o<i.length;o++)n.removeChild(i[o]);for(var a=0,u=ev(t.children);a<u.length;a++)n.appendChild(u[a])}(t,o);var i=O.width,a=void 0!==i&&i,u=O.height,f=void 0!==u&&u,s=O.element,c=void 0===s?"body":s;if((c=eW(c,n))&&(a||f)){var d=eJ(c,function(e){e1({width:a?e.width:void 0,height:f?e.height:void 0})},{width:a,height:f,win:t});M.on(t1.RENDERED,d.cancel)}M.trigger(t1.PRERENDERED)}}}})},tn=function(e,t){var r=t.proxyFrame,n=t.proxyPrerenderFrame,o=t.context,a=t.rerender;return ee?ee(e,{proxyFrame:r,proxyPrerenderFrame:n,context:o,rerender:a}):p.hash({container:e.get(),frame:r?r.get():null,prerenderFrame:n?n.get():null,internalState:eP()}).then(function(e){var t=e.container,r=e.internalState.visible,n=tt(m,{context:o,container:t,frame:e.frame,prerenderFrame:e.prerenderFrame,doc:document});if(n){r||e$(n),function(e,t){e.appendChild(t)}(t,n);var u=function(e,t){t=el(t);var r,n,o,i=!1,a=[],u=function(){i=!0;for(var e=0;e<a.length;e++)a[e].disconnect();r&&r.cancel(),o&&o.removeEventListener("unload",f),n&&eq(n)},f=function(){i||(t(),u())};if(eY(e))return f(),{cancel:u};if(window.MutationObserver)for(var s=e.parentElement;s;){var c=new window.MutationObserver(function(){eY(e)&&f()});c.observe(s,{childList:!0}),a.push(c),s=s.parentElement}return(n=document.createElement("iframe")).setAttribute("name","__detect_close_"+ei()+"__"),n.style.display="none",eM(n).then(function(e){(o=C(e)).addEventListener("unload",f)}),e.appendChild(n),r=ey(function(){eY(e)&&f()},1e3),{cancel:u}}(n,function(){var e=Error("Detected container element removed from DOM");return p.delay(1).then(function(){if(!eY(n))return T.all(e),a().then(eE,e_);e6(e)})});return T.register(function(){return u.cancel()}),T.register(function(){return eq(n)}),i=tH(n)}})},to=function(){return{state:W,event:M,close:e6,focus:eX,resize:e1,onError:e9,updateProps:ta,show:eS,hide:eD}},ti=function(e){void 0===e&&(e={});var t,r,n,o,i,a=s,u=to();ew(B,e),t=u.state,r=u.close,n=u.focus,o=u.event,i=u.onError,rt(B,g,function(e,u,f){var s=!1,c=f;Object.defineProperty(Y,e,{configurable:!0,enumerable:!0,get:function(){return s?c:(s=!0,function(){if(!u)return c;var s=u.alias;if(s&&!ex(f)&&ex(B[s])&&(c=B[s]),u.value&&(c=u.value({props:Y,state:t,close:r,focus:n,event:o,onError:i,container:a})),!u.default||ex(c)||ex(B[e])||(c=u.default({props:Y,state:t,close:r,focus:n,event:o,onError:i,container:a}
1)),ex(c)){if(u.type===tK.ARRAY?!Array.isArray(c):typeof c!==u.type)throw TypeError("Prop is not of type "+u.type+": "+e)}else if(!1!==u.required&&!ex(B[e]))throw Error('Expected prop "'+e+'" to be defined');return ex(c)&&u.decorate&&(c=u.decorate({value:c,props:Y,state:t,close:r,focus:n,event:o,onError:i,container:a})),c}())}})}),rt(Y,g,ed)},ta=function(e){return ti(e),D.then(function(){var e=u,t=o;if(e&&t&&f)return eO(f).then(function(r){return e.updateProps(r).catch(function(e){return e4(t).then(function(t){if(!t)throw e})})})})},tu=function(e){return Z?Z(e):p.try(function(){return ej(e)}).then(function(e){return eH(e)&&(e=function e(t){var r=function(e){var t=function(e){for(;e.parentNode;)e=e.parentNode;if(eH(e))return e}(e);if(t&&t.host)return t.host}(t);if(!r)throw Error("Element is not in shadow dom");var n="shadow-slot-"+ei(),o=document.createElement("slot");o.setAttribute("name",n),t.appendChild(o);var i=document.createElement("div");return i.setAttribute("slot",n),r.appendChild(i),eH(r)?e(i):i}(e)),s=e,tH(e)})};return{init:function(){M.on(t1.RENDER,function(){return Y.onRender()}),M.on(t1.PRERENDER,function(){return Y.onPrerender()}),M.on(t1.DISPLAY,function(){return Y.onDisplay()}),M.on(t1.RENDERED,function(){return Y.onRendered()}),M.on(t1.PRERENDERED,function(){return Y.onPrerendered()}),M.on(t1.CLOSE,function(){return Y.onClose()}),M.on(t1.DESTROY,function(){return Y.onDestroy()}),M.on(t1.RESIZE,function(){return Y.onResize()}),M.on(t1.FOCUS,function(){return Y.onFocus()}),M.on(t1.PROPS,function(e){return Y.onProps(e)}),M.on(t1.ERROR,function(e){return Y&&Y.onError?Y.onError(e):e_(e).then(function(){setTimeout(function(){throw e},1)})}),T.register(M.reset)},render:function(e){var t=e.target,r=e.container,n=e.context,i=e.rerender;return p.try(function(){var e=eU(),a=R||eU();if(t!==window){if(!F(window,t))throw Error("Can only renderTo an adjacent frame");var u=P();if(!L(a,u)&&!A(t))throw Error("Can not render remotely to "+a.toString()+" - can only render to "+u);if(r&&"string"!=typeof r)throw Error("Container passed to renderTo must be a string selector, got "+typeof r+" }")}var f=p.try(function(){if(t!==window)return function(e,t){for(var r={},n=0,o=Object.keys(Y);n<o.length;n++){var i=o[n],a=g[i];a&&a.allowDelegate&&(r[i]=Y[i])}var u=tL(t,"zoid_delegate_"+E,{uid:c,overrides:{props:r,event:M,close:e6,onError:e9,getInternalState:eP,setInternalState:eC,resolveInitPromise:eE,rejectInitPromise:e_}}).then(function(e){var r=e.data.parent;return T.register(function(e){if(!j(t))return r.destroy(e)}),r.getDelegateOverrides()}).catch(function(e){throw Error("Unable to delegate rendering. Possibly the component is not loaded in the target window.\n\n"+eh(e))});return Z=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.getProxyContainer.apply(e,t)})},ee=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.renderContainer.apply(e,t)})},X=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.show.apply(e,t)})},K=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.hide.apply(e,t)})},es=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.watchForUnload.apply(e,t)})},e===t0.IFRAME?(et=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.getProxyWindow.apply(e,t)})},en=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.openFrame.apply(e,t)})},eo=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.openPrerenderFrame.apply(e,t)})},ea=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.prerender.apply(e,t)})},eu=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.open.apply(e,t)})},ef=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.openPrerender.apply(e,t)})}):e===t0.POPUP&&(er=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.then(function(e){return e.setProxyWin.apply(e,t)})}),u}(n,t)}),s=Y.window,l=e5(),h=rr(g,Y,"post"),w=M.trigger(t1.RENDER),y=tu(r),m=eI(),v=y.then(function(){return ti()}),_=v.then(function(){return rr(g,Y,"get").then(function(e){var t,r,n,o,i,a,u,f,s,c;return t=J(eN()),i=(r={query:e}).query||{},a=r.hash||{},o=(u=t.split("#"))[1],n=(f=(n=u[0]).split("?"))[0],s=eT(f[1],i),c=eT(o,a),s&&(n=n+"?"+s),c&&(n=n+"#"+c),n})}),x=m.then(function(r){var o,i,u,f,s,d,l,h,p,w,y,g,m,v;return(f=(u=i={proxyWin:(o={proxyWin:r,initialChildDomain:e,childDomainMatch:a,target:t,context:n}).proxyWin,initialChildDomain:o.initialChildDomain,childDomainMatch:o.childDomainMatch,target:o.target,context:o.context}).proxyWin,s=u.initialChildDomain,d=u.childDomainMatch,h=void 0===(l=u.target)?window:l,(g=(y=w={proxyWin:f,initialChildDomain:s,childDomainMatch:d,context:p=u.context}).proxyWin,m=y.childDomainMatch,v=y.context,eO(y.initialChildDomain).then(function(e){return{uid:c,context:v,tag:b,childDomainMatch:m,version:"10_3_4",props:e,exp
1orts:{init:function(e){return eQ(this.origin,e)},close:e6,checkClose:function(){return e4(g)},resize:e1,onError:e9,show:eS,hide:eD,export:te}}})).then(function(e){var t=tV({data:e,metaData:{windowRef:eK(h,s,p,f)},sender:{domain:P(window)},receiver:{win:f,domain:d},passByReference:s===P()}),r=t.serializedData;return T.register(t.cleanReference),r})).then(function(e){return t2({name:E,serializedPayload:e})})}),O=x.then(function(e){return eG(n,{windowName:e})}),C=eV(n),I=p.hash({proxyContainer:y,proxyFrame:O,proxyPrerenderFrame:C}).then(function(e){return tn(e.proxyContainer,{context:n,proxyFrame:e.proxyFrame,proxyPrerenderFrame:e.proxyPrerenderFrame,rerender:i})}).then(function(e){return e}),S=p.hash({windowName:x,proxyFrame:O,proxyWin:m}).then(function(e){var t=e.proxyWin;return s?t:e8(n,{windowName:e.windowName,proxyWin:t,proxyFrame:e.proxyFrame})}),N=p.hash({proxyWin:S,proxyPrerenderFrame:C}).then(function(e){return eZ(n,e.proxyWin,e.proxyPrerenderFrame)}),W=S.then(function(e){return o=e,eR(e)}),B=p.hash({proxyPrerenderWin:N,state:W}).then(function(e){return tr(e.proxyPrerenderWin,{context:n})}),k=p.hash({proxyWin:S,windowName:x}).then(function(e){if(s)return e.proxyWin.setName(e.windowName)}),U=p.hash({body:h}).then(function(e){return d.method?d.method:Object.keys(e.body).length?"post":"get"}),z=p.hash({proxyWin:S,windowUrl:_,body:h,method:U,windowName:k,prerender:B}).then(function(e){return e.proxyWin.setLocation(e.windowUrl,{method:e.method,body:e.body})}),q=S.then(function(e){e3(e,n)}),G=p.hash({container:I,prerender:B}).then(function(){return M.trigger(t1.DISPLAY)}),V=S.then(function(t){return p.try(function(){return t.awaitWindow()}).then(function(t){if(tF&&tF.needsBridge({win:t,domain:e})&&!tF.hasBridge(e,e)){var r="function"==typeof d.bridgeUrl?d.bridgeUrl({props:Y}):d.bridgeUrl;if(!r)throw Error("Bridge needed to render "+n);var o=$(r);return tF.linkUrl(t,e),tF.openBridge(J(r),o)}})}),Q=z.then(function(){return p.try(function(){var e=Y.timeout;if(e)return D.timeout(e,Error("Loading component timed out after "+e+" milliseconds"))})}),ei=D.then(function(){return H=!0,M.trigger(t1.RENDERED)});return p.hash({initPromise:D,buildUrlPromise:_,onRenderPromise:w,getProxyContainerPromise:y,openFramePromise:O,openPrerenderFramePromise:C,renderContainerPromise:I,openPromise:S,openPrerenderPromise:N,setStatePromise:W,prerenderPromise:B,loadUrlPromise:z,buildWindowNamePromise:x,setWindowNamePromise:k,watchForClosePromise:q,onDisplayPromise:G,openBridgePromise:V,runTimeoutPromise:Q,onRenderedPromise:ei,delegatePromise:f,watchForUnloadPromise:l,finalSetPropsPromise:v})}).catch(function(e){return p.all([e9(e),e2(e)]).then(function(){throw e},function(){throw e})}).then(ed)},destroy:e2,getProps:function(){return Y},setProps:ti,export:te,getHelpers:to,getDelegateOverrides:function(){return p.try(function(){return{getProxyContainer:tu,show:eS,hide:eD,renderContainer:tn,getProxyWindow:eI,watchForUnload:e5,openFrame:eG,openPrerenderFrame:eV,prerender:tr,open:e8,openPrerender:eZ,setProxyWin:eR}})},getExports:function(){return S({getExports:function(){return e7}})}}}var ro={register:function(e,t,r,n){var o=n.React,a=n.ReactDOM,u=o.Component;function f(){return u.apply(this,arguments)||this}i(f,u);var s=f.prototype;return s.render=function(){return o.createElement("div",null)},s.componentDidMount=function(){var e=a.findDOMNode(this),t=r(ew({},this.props));t.render(e,t0.IFRAME),this.setState({parent:t})},s.componentDidUpdate=function(){this.state&&this.state.parent&&this.state.parent.updateProps(ew({},this.props)).catch(ed)},f}},ri={register:function(e,t,r,n){return n.component(e,{render:function(e){return e("div")},inheritAttrs:!1,mounted:function(){var e,t=this.$el;this.parent=r(a({},Object.keys(e=this.$attrs).reduce(function(t,r){var n=e[r];return"style-object"===r||"styleObject"===r?(t.style=n,t.styleObject=n):r.includes("-")?t[eg(r)]=n:t[r]=n,t},{}))),this.parent.render(t,t0.IFRAME)},watch:{$attrs:{handler:function(){this.parent&&this.$attrs&&this.parent.updateProps(a({},this.$attrs)).catch(ed)},deep:!0}}})}},ra={register:function(e,t,r){return{template:"<div></div>",inheritAttrs:!1,mounted:function(){var e,t=this.$el;this.parent=r(a({},Object.keys(e=this.$attrs).reduce(function(t,r){var n=e[r];return"style-object"===r||"styleObject"===r?(t.style=n,t.styleObject=n):r.includes("-")?t[eg(r)]=n:t[r]=n,t},{}))),this.parent.render(t,t0.IFRAME)},watch:{$attrs:{handler:function(){this.parent&&this.$attrs&&this.parent.updateProps(a({},this.$attrs)).catch(ed)},deep:!0}}}}},ru={register:function(e,t,r,n){return n.module(e,[]).directive(eg(e),function(){for(var e={},n=0,o=Object.keys(t);n<o.length;n++)e[o[n]]="=";return e.props="=",{scope:e,restrict:"E",controller:["$scope","$element",function(e,t){var n=function(){return e_(e.props,function(t){return"function"==typeof t?function(){var r=t.apply(this,arguments);return function(){if("$apply"!==e.$root.$$phase&&"$digest"!==e.$root.$$phase)try{e.$apply()}catch(e){}}(),r}:t})},o=r(n());o.render(t[0],t0.IFRAME),e.$watch(function(){o.updateProps(n()).catch(ed)})}]}})}},rf={register:function(e,t,r,n){var o=n.Component,i=n.NgModule,u=n.ElementRef,f=n.NgZone,s=n.Inject,c=function(){function e(e,t){this.elementRef=void 0,this.internalProps=void 0,this.parent=void 0,this.props=void 0,this.zone=void 0,this._props=void 0,this._props={},this.elementRef=e,this.zone=t}var t=e.prototype;return t.getProps=function(){var e=this;return e_(a({},this.internalProps,this.props),function(t){if("function"==typeof t){var r=e.zone;return function(){var e=arguments,n=this;return r.run(function(){return t.apply(n,e)})}}return t})},t.ngOnInit=function(){var e=this.elementRef.nativeElement;this.parent=r(this.getProps()),this.parent.render(e,t0.IFRAME)}
1,t.ngDoCheck=function(){this.parent&&!function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)&&(r[n]=!0,e[n]!==t[n]))return!1;for(var o in t)if(!r[o])return!1;return!0}(this._props,this.props)&&(this._props=a({},this.props),this.parent.updateProps(this.getProps()))},e}();c.annotations=void 0,c.parameters=void 0,c.parameters=[[new s(u)],[new s(f)]],c.annotations=[new o({selector:e,template:"<div></div>",inputs:["props"]})];var d=function(){};return d.annotations=void 0,d.annotations=[new i({declarations:[c],exports:[c]})],d}};function rs(e){var t=e.uid,r=e.frame,n=e.prerenderFrame,o=e.doc,i=e.props,a=e.event,u=e.dimensions,f=u.width,s=u.height;if(r&&n){var c=o.createElement("div");c.setAttribute("id",t);var d=o.createElement("style");return i.cspNonce&&d.setAttribute("nonce",i.cspNonce),d.appendChild(o.createTextNode("\n            #"+t+" {\n                display: inline-block;\n                position: relative;\n                width: "+f+";\n                height: "+s+";\n            }\n\n            #"+t+" > iframe {\n                display: inline-block;\n                position: absolute;\n                width: 100%;\n                height: 100%;\n                top: 0;\n                left: 0;\n                transition: opacity .2s ease-in-out;\n            }\n\n            #"+t+" > iframe.zoid-invisible {\n                opacity: 0;\n            }\n\n            #"+t+" > iframe.zoid-visible {\n                opacity: 1;\n        }\n        ")),c.appendChild(r),c.appendChild(n),c.appendChild(d),n.classList.add("zoid-visible"),r.classList.add("zoid-invisible"),a.on(t1.RENDERED,function(){n.classList.remove("zoid-visible"),n.classList.add("zoid-invisible"),r.classList.remove("zoid-invisible"),r.classList.add("zoid-visible"),setTimeout(function(){eq(n)},1)}),a.on(t1.RESIZE,function(e){var t=e.width,r=e.height;"number"==typeof t&&(c.style.width=eQ(t)),"number"==typeof r&&(c.style.height=eQ(r))}),c}}function rc(e){var t=e.doc,r=e.props,n=t.createElement("html"),o=t.createElement("body"),i=t.createElement("style"),a=t.createElement("div");return a.classList.add("spinner"),r.cspNonce&&i.setAttribute("nonce",r.cspNonce),n.appendChild(o),o.appendChild(a),o.appendChild(i),i.appendChild(t.createTextNode("\n            html, body {\n                width: 100%;\n                height: 100%;\n            }\n\n            .spinner {\n                position: fixed;\n                max-height: 60vmin;\n                max-width: 60vmin;\n                height: 40px;\n                width: 40px;\n                top: 50%;\n                left: 50%;\n                box-sizing: border-box;\n                border: 3px solid rgba(0, 0, 0, .2);\n                border-top-color: rgba(33, 128, 192, 0.8);\n                border-radius: 100%;\n                animation: rotation .7s infinite linear;\n            }\n\n            @keyframes rotation {\n                from {\n                    transform: translateX(-50%) translateY(-50%) rotate(0deg);\n                }\n                to {\n                    transform: translateX(-50%) translateY(-50%) rotate(359deg);\n                }\n            }\n        ")),n}var rd=eA(),rl=eA(),rh=function(e){e1().initialized||(e1().initialized=!0,s=(f={on:tz,send:tL}).on,c=f.send,(d=e1()).receiveMessage=d.receiveMessage||function(e){return tM(e,{on:s,send:c})},r=(t={on:tz,send:tL}).on,n=t.send,e6().getOrSet("postMessageListener",function(){return eF(window,"message",function(e){var t,o,i;o=(t={on:r,send:n}).on,i=t.send,p.try(function(){var t=e.source||e.sourceElement,r=e.origin||e.originalEvent&&e.originalEvent.origin,n=e.data;if("null"===r&&(r="file://"),t){if(!r)throw Error("Post message did not have origin domain");tM({source:t,origin:r,data:n},{on:o,send:i})}})})}),tO({on:tz,send:tL,receiveMessage:tM}),i=(o={on:tz,send:tL}).on,u=o.send,e6("builtinListeners").getOrSet("helloListener",function(){var e=i("postrobot_hello",{domain:"*"},function(e){return e7(e.source,{domain:e.origin}),{instanceID:e9()}}),t=U();return t&&te(t,{send:u}).catch(function(e){}),e}));var t,r,n,o,i,u,f,s,c,d,l=function(e){var t,r,n=function(e){var t=e.tag,r=e.url,n=e.domain,o=e.bridgeUrl,i=e.props,u=e.getExtensions,f=e.dimensions,s=e.autoResize,c=e.allowedParentDomains,d=e.attributes,l=e.defaultContext,h=void 0===l?t0.IFRAME:l,p=e.containerTemplate,w=void 0===p?rs:p,y=e.prerenderTemplate,g=e.validate,m=e.eligible,v=e.logger,b=void 0===v?{info:ed}:v,E=e.exports,_=void 0===E?ed:E,x=e.method,O=e.children,P=t.replace(/-/g,"_"),C=a({},{window:{type:tK.OBJECT,sendToChild:!1,required:!1,allowDelegate:!0,validate:function(e){var t=e.value;if(!Y(t)&&!tC.isProxyWindow(t))throw Error("Expected Window or ProxyWindow");if(Y(t)){if(j(t))throw Error("Window is closed");if(!A(t))throw Error("Window is not same domain")}},decorate:function(e){return t$(e.value)}},timeout:{type:tK.NUMBER,required:!1,sendToChild:!1},cspNonce:{type:tK.STRING,required:!1},onDisplay:{type:tK.FUNCTION,required:!1,sendToChild:!1,allowDelegate:!0,default:t7,decorate:re},onRendered:{type:tK.FUNCTION,required:!1,sendToChild:!1,default:t7,decorate:re},onRender:{type:tK.FUNCTION,required:!1,sendToChild:!1,default:t7,decorate:re},onPrerendered:{type:tK.FUNCTION,required:!1,sendToChild:!1,default:t7,decorate:re},onPrerender:{type:tK.FUNCTION,required:!1,sendToChild:!1,default:t7,decorate:re},onClose:{type:tK.FUNCTION,required:!1,sendToChild:!1,allowDelegate:!0,default:t7,decorate:re},onDestroy:{type:tK.FUNCTION,required:!1,sendToChild:!1,allowDelegate:!0,default:t7,decorate:re},onResize:{type:tK.FUNCTION,required:!1,sendToChild:!1,allowDelegate:!0,default:t7},onFocus:{type:tK.FUNCTION,required:!1,sendToChild:!1,allowDelegate:!0,default:t7},close:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.close}},focus:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.focus}},resize:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.resize}},uid:{type:tK.STRING,required:!1,sendToChild:!1,childDecorate:function(e){return e.uid}},tag:{type:tK.STRING,required:!1,sendToChild:!1,childDecorate:function(e){return e.tag}},getParent:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.getParent}},getParentDomain:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.getParentDomain}},show:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.show}},hide:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.hide}},export:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.export}},onError:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.onError}},onProps:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.onProps}},getSiblings:{type:tK.FUNCTION,required:!1,sendToChild:!1,childDecorate:function(e){return e.getSiblings}}},void 0===i?{}:i);if(!w)throw Error("Container template required");return{name:P,tag:t,url:r,domain:n,bridgeUrl:o,method:x,propsDef:C,dimensions:void 0===f?{}:f,autoResize:void 0===s?{}:s,allowedParentDomains:void 0===c?"*":c,attributes:void 0===d?{}:d,defaultContext:h,containerTemplate:w,prerenderTemplate:void 0===y?rc:y,validate:g,logger:b,eligible:void 0===m?function(){return{eligible:!0}}:m,children:void 0===O?function(){return{}}:O,exports:"function"==typeof _?_:function(e){for(var t=e.getExports,r={},n=0,o=Object.keys(_);n<o.length;n++)!function(){var e=o[n],i=_[e].type,a=t().then(function(t){return t[e]});r[e]=i===tK.FUNCTION?function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return a.then(function(e){return e.apply(void 0,t)})}:a}();return r},getExtensions:void 0===u?function(){return{}}:u}}
1(e),o=n.name,i=n.tag,u=n.defaultContext,f=n.propsDef,s=n.eligible,c=n.children,d=n.getExtensions,l=tY(window),h={},w=[],y=function(){if(function(e){try{return t6(window.name).name===e}catch(e){}return!1}(o)){var e=t5().payload;if(e.tag===i&&L(e.childDomainMatch,P()))return!0}return!1},g=ec(function(){if(y()){if(window.xprops)throw delete l.components[i],Error("Can not register "+o+" as child - child already registered");var e=function(e){var t,r=e.tag,n=e.propsDef,o=e.autoResize,i=e.allowedParentDomains,a=[],u=t5(),f=u.parent,s=u.payload,c=f.win,d=f.domain,l=new p,h=s.version,w=s.uid,y=s.exports,g=s.context,m=s.props;if(!function(e,t){if(!/_/.test(e)||!/_/.test("10_3_4"))throw Error("Versions are in an invalid format ("+e+", 10_3_4)");return e.split("_")[0]==="10_3_4".split("_")[0]}(h))throw Error("Parent window has zoid version "+h+", child window has version 10_3_4");var v=y.show,b=y.hide,x=y.close,O=y.onError,I=y.checkClose,R=y.export,S=y.resize,T=y.init,W=function(){return c},j=function(){return d},B=function(e){return a.push(e),{cancel:function(){a.splice(a.indexOf(e),1)}}},k=function(e){return S.fireAndForget({width:e.width,height:e.height})},U=function(e){return l.resolve(e),R(e)},M=function(e){var n=(void 0===e?{}:e).anyParent,o=[],i=t.parent;if(void 0===n&&(n=!i),!n&&!i)throw Error("No parent found for "+r+" child");for(var a=0,u=N(window);a<u.length;a++){var f=u[a];if(A(f)){var s=C(f).xprops;if(s&&W()===s.getParent()){var c=s.parent;if(n||!i||c&&c.uid===i.uid){var d=tJ(f,function(e){return e.exports});o.push({props:s,exports:d})}}}}return o},F=function(e,o,i){void 0===i&&(i=!1);var u=function(e,t,r,n,o,i){void 0===i&&(i=!1);for(var a={},u=0,f=Object.keys(r);u<f.length;u++){var s=f[u],c=t[s],d=c&&c.trustedDomains&&c.trustedDomains.length>0?c.trustedDomains.reduce(function(e,t){return e||L(t,P(window))},!1):n===P(window)||A(e);if((!c||!c.sameDomain||d)&&(!c||!c.trustedDomains||d)){var l=t3(t,0,s,r[s],o);a[s]=l,c&&c.alias&&!a[c.alias]&&(a[c.alias]=l)}}if(!i)for(var h=0,p=Object.keys(t);h<p.length;h++){var w=p[h];r.hasOwnProperty(w)||(a[w]=t3(t,0,w,void 0,o))}return a}(c,n,e,o,{tag:r,show:v,hide:b,close:x,focus:t4,onError:O,resize:k,getSiblings:M,onProps:B,getParent:W,getParentDomain:j,uid:w,export:U},i);t?ew(t,u):t=u;for(var f=0;f<a.length;f++)(0,a[f])(t)},$=function(e){return p.try(function(){return F(e,d,!0)})};return{init:function(){return p.try(function(){var t="";return A(c)&&(t=function(e){var t=e.componentName,r=e.parentComponentWindow,n=tZ({data:t6(window.name).serializedInitialPayload,sender:{win:r},basic:!0}),o=n.sender;if("uid"===n.reference.type||"global"===n.metaData.windowRef.type){var i=t2({name:t,serializedPayload:tV({data:n.data,metaData:{windowRef:function(e,t){if(void 0===t&&(t=window),e===E(t))return{type:"parent",distance:z(e)};if(e===_(t))return{type:"opener"};if(A(e)&&e!==D(e)){var r=C(e).name;if(r)return{type:"name",name:r}}}(r)},sender:{domain:o.domain},receiver:{win:window,domain:P()},basic:!0}).serializedData});return window.name=i,i}}({componentName:e.name,parentComponentWindow:c})||""),tY(window).exports=e.exports({getExports:function(){return l}}),function(e,t){if(!L(e,t))throw Error("Can not be rendered by domain: "+t)}(i,d),tn(c),window.addEventListener("beforeunload",function(){I.fireAndForget()}),window.addEventListener("unload",function(){I.fireAndForget()}),q(c,function(){t9()}),T({name:t,updateProps:$,close:t9})}).then(function(){var e,t,r,n,i;return(t=void 0!==(e=o.width)&&e,n=void 0!==(r=o.height)&&r,ej(void 0===(i=o.element)?"body":i).catch(ed).then(function(e){return{width:t,height:n,element:e}})).then(function(e){var t=e.width,r=e.height,n=e.element;n&&(t||r)&&g!==t0.POPUP&&eJ(n,function(e){k({width:t?e.width:void 0,height:r?e.height:void 0})},{width:t,height:r})})}).catch(function(e){O(e)})},getProps:function(){return t||(F(m,d),t)}}}(n);return e.init(),e}}),m=function(e){var t,r="zoid-"+i+"-"+ei(),f=e||{},l=s({props:f}),h=l.eligible,y=l.reason,g=f.onDestroy;f.onDestroy=function(){if(t&&h&&w.splice(w.indexOf(t),1),g)return g.apply(void 0,arguments)};var v=rn({uid:r,options:n});v.init(),h?v.setProps(f):f.onDestroy&&f.onDestroy(),rd.register(function(e){return v.destroy(e||Error("zoid destroyed all components"))});var b=function(e){var t=(void 0===e?{}:e).decorate;return m((void 0===t?function(e){return e}:t)(f))},E=function(e,r,n){return p.try(function(){if(!h){var t=Error(y||o+" component is not eligible");return v.destroy(t).then(function(){throw t})}
1if(!Y(e))throw Error("Must pass window to renderTo");return p.try(function(){if(f.window)return t$(f.window).getType();if(n){if(n!==t0.IFRAME&&n!==t0.POPUP)throw Error("Unrecognized context: "+n);return n}return u})}).then(function(o){if(r=function(e,t){if(t){if("string"!=typeof t&&!et(t))throw TypeError("Expected string or element selector to be passed");return t}if(e===t0.POPUP)return"body";throw Error("Expected element to be passed to render iframe")}(o,r),e!==window&&"string"!=typeof r)throw Error("Must pass string element when rendering to another window");return v.render({target:e,container:r,context:o,rerender:function(){var o=b();return ew(t,o),o.renderTo(e,r,n)}})}).catch(function(e){return v.destroy(e).then(function(){throw e})})};return t=a({},d(v),v.getExports(),v.getHelpers(),function(){for(var e=c(),t={},n=0,o=Object.keys(e);n<o.length;n++)(function(){var i=o[n],u=e[i];t[i]=function(e){var t=v.getProps();return u(a({},e,{parent:{uid:r,props:t,export:v.export}}))}})();return t}(),{isEligible:function(){return h},clone:b,render:function(e,t){return E(window,e,t)},renderTo:function(e,t,r){return E(e,t,r)}}),h&&w.push(t),t};if(g(),t=tz("zoid_allow_delegate_"+o,function(){return!0}),r=tz("zoid_delegate_"+o,function(e){var t=e.data;return{parent:rn({uid:t.uid,options:n,overrides:t.overrides,parentWin:e.source})}}),rl.register(t.cancel),rl.register(r.cancel),l.components=l.components||{},l.components[i])throw Error("Can not register multiple components with the same tag: "+i);return l.components[i]=!0,{init:m,instances:w,driver:function(e,t){var r={react:ro,angular:ru,vue:ri,vue3:ra,angular2:rf};if(!r[e])throw Error("Could not find driver for framework: "+e);return h[e]||(h[e]=r[e].register(i,f,m,t)),h[e]},isChild:y,canRenderTo:function(e){return tL(e,"zoid_allow_delegate_"+o).then(function(e){return e.data}).catch(function(){return!1})},registerChild:g}}(e),h=function(e){return l.init(e)};h.driver=function(e,t){return l.driver(e,t)},h.isChild=function(){return l.isChild()},h.canRenderTo=function(e){return l.canRenderTo(e)},h.instances=l.instances;var w=l.registerChild();return w&&(window.xprops=h.xprops=w.getProps()),h};function rp(e){tF&&tF.destroyBridges();var t=rd.all(e);return rd=eA(),t}var rw=rp;function ry(e){var t;return rw(),delete window.__zoid_10_3_4__,function(){for(var e=e6("responseListeners"),t=0,r=e.keys();t<r.length;t++){var n=r[t],o=e.get(n);o&&(o.cancelled=!0),e.del(n)}}(),(t=e6().get("postMessageListener"))&&t.cancel(),delete window.__post_robot_11_0_0__,rl.all(e)}}],t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,(function(t){return e[t]}).bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return({}).hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}()},87247:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,u=8*o-n-1,f=(1<<u)-1,s=f>>1,c=-7,d=r?o-1:0,l=r?-1:1,h=e[t+d];for(d+=l,i=h&(1<<-c)-1,h>>=-c,c+=u;c>0;i=256*i+e[t+d],d+=l,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=l,c-=8);if(0===i)i=1-s;else{if(i===f)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=s}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,u,f,s=8*i-o-1,c=(1<<s)-1,d=c>>1,l=5960464477539062e-23*(23===o),h=n?0:i-1,p=n?1:-1,w=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(u=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+d>=1?t+=l/f:t+=l*Math.pow(2,1-d),t*f>=2&&(a++,f/=2),a+d>=c?(u=0,a=c):a+d>=1?(u=(t*f-1)*Math.pow(2,o),a+=d):(u=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&u,h+=p,u/=256,o-=8);for(a=a<<o|u,s+=o;s>0;e[r+h]=255&a,h+=p,a/=256,s-=8);e[r+h-p]|=128*w}}}]);

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.