Files
dicom-proxy/public/es6-shim.min.js
2025-03-11 13:16:07 +07:00

2 lines
50 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*! For license information please see es6-shim.min.js.LICENSE.txt */
!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.returnExports=e()}(this,(function(){"use strict";var t,e=Function.call.bind(Function.apply),r=Function.call.bind(Function.call),n=Array.isArray,o=Object.keys,i=function(t){try{return t(),!1}catch(t){return!0}},a=function(t){try{return t()}catch(t){return!1}},u=function(t){return function(){return!e(t,this,arguments)}}(i),c=!!Object.defineProperty&&!i((function(){return Object.defineProperty({},"x",{get:function(){}})})),s="foo"===function(){}.name,f=Function.call.bind(Array.prototype.forEach),p=Function.call.bind(Array.prototype.reduce),l=Function.call.bind(Array.prototype.filter),h=Function.call.bind(Array.prototype.some),y=function(t,e,r,n){!n&&e in t||(c?Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:r}):t[e]=r)},v=function(t,e,r){f(o(e),(function(n){var o=e[n];y(t,n,o,!!r)}))},b=Function.call.bind(Object.prototype.toString),g="function"==typeof/abc/?function(t){return"function"==typeof t&&"[object Function]"===b(t)}:function(t){return"function"==typeof t},d=function(t,e,r){if(!c)throw new TypeError("getters require true ES5 support");Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:r})},O=function(t,e,r){if(!c)throw new TypeError("getters require true ES5 support");var n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,{configurable:n.configurable,enumerable:n.enumerable,get:function(){return t[e]},set:function(r){t[e]=r}})},m=function(t,e,r){if(c){var n=Object.getOwnPropertyDescriptor(t,e);n.value=r,Object.defineProperty(t,e,n)}else t[e]=r},w=function(t,e,r){c?Object.defineProperty(t,e,r):"value"in r&&(t[e]=r.value)},j=function(t,e){e&&g(e.toString)&&y(t,"toString",e.toString.bind(e),!0)},S=Object.create||function(t,e){var r=function(){};r.prototype=t;var n=new r;return void 0!==e&&o(e).forEach((function(t){w(n,t,e[t])})),n},T=function(t,e){return!!Object.setPrototypeOf&&a((function(){var r=function e(r){var n=new t(r);return Object.setPrototypeOf(n,e.prototype),n};return Object.setPrototypeOf(r,t),r.prototype=S(t.prototype,{constructor:{value:r}}),e(r)}))},I=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}(),E=I.isFinite,P=Function.call.bind(String.prototype.indexOf),C=Function.apply.bind(Array.prototype.indexOf),M=Function.call.bind(Array.prototype.concat),x=Function.call.bind(String.prototype.slice),N=Function.call.bind(Array.prototype.push),A=Function.apply.bind(Array.prototype.push),_=Function.call.bind(Array.prototype.shift),R=Math.max,k=Math.min,L=Math.floor,F=Math.abs,D=Math.exp,z=Math.log,q=Math.sqrt,G=Function.call.bind(Object.prototype.hasOwnProperty),H=function(){},W=I.Map,V=W&&W.prototype.delete,$=W&&W.prototype.get,B=W&&W.prototype.has,U=W&&W.prototype.set,J=I.Symbol||{},X=J.species||"@@species",Z=Number.isNaN||function(t){return t!=t},Y=Number.isFinite||function(t){return"number"==typeof t&&E(t)},K=g(Math.sign)?Math.sign:function(t){var e=Number(t);return 0===e||Z(e)?e:e<0?-1:1},Q=function(t){var e=Number(t);return e<-1||Z(e)?NaN:0===e||e===1/0?e:-1===e?-1/0:1+e-1==0?e:e*(z(1+e)/(1+e-1))},tt=function(t){return"[object Arguments]"===b(t)},et=tt(arguments)?tt:function(t){return null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Array]"!==b(t)&&"[object Function]"===b(t.callee)},rt=function(t){return null===t||"function"!=typeof t&&"object"!=typeof t},nt=function(t){return"[object String]"===b(t)},ot=function(t){return"[object RegExp]"===b(t)},it=function(t){return"function"==typeof I.Symbol&&"symbol"==typeof t},at=function(t,e,r){var n=t[e];y(t,e,r,!0),j(t[e],n)},ut="function"==typeof J&&"function"==typeof J.for&&it(J()),ct=it(J.iterator)?J.iterator:"_es6-shim iterator_";I.Set&&"function"==typeof(new I.Set)["@@iterator"]&&(ct="@@iterator"),I.Reflect||y(I,"Reflect",{},!0);var st=I.Reflect,ft=String,pt="undefined"!=typeof document&&document?document.all:null,lt=null==pt?function(t){return null==t}:function(t){return null==t&&t!==pt},ht={Call:function(t,r){var n=arguments.length>2?arguments[2]:[];if(!ht.IsCallable(t))throw new TypeError(t+" is not a function");return e(t,r,n)},RequireObjectCoercible:function(t,e){if(lt(t))throw new TypeError(e||"Cannot call method on "+t);return t},TypeIsObject:function(t){return null!=t&&!0!==t&&!1!==t&&("function"==typeof t||"object"==typeof t||t===pt)},ToObject:function(t,e){return Object(ht.RequireObjectCoercible(t,e))},IsCallable:g,IsConstructor:function(t){return ht.IsCallable(t)},ToInt32:function(t){return ht.ToNumber(t)>>0},ToUint32:function(t){return ht.ToNumber(t)>>>0},ToNumber:function(t){if("[object Symbol]"===b(t))throw new TypeError("Cannot convert a Symbol value to a number");return+t},ToInteger:function(t){var e=ht.ToNumber(t);return Z(e)?0:0!==e&&Y(e)?(e>0?1:-1)*L(F(e)):e},ToLength:function(t){var e=ht.ToInteger(t);return e<=0?0:e>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e},SameValue:function(t,e){return t===e?0!==t||1/t==1/e:Z(t)&&Z(e)},SameValueZero:function(t,e){return t===e||Z(t)&&Z(e)},IsIterable:function(t){return ht.TypeIsObject(t)&&(void 0!==t[ct]||et(t))},GetIterator:function(e){if(et(e))return new t(e,"value");var r=ht.GetMethod(e,ct);if(!ht.IsCallable(r))throw new TypeError("value is not an iterable");var n=ht.Call(r,e);if(!ht.TypeIsObject(n))throw new TypeError("bad iterator");return n},GetMethod:function(t,e){var r=ht.ToObject(t)[e];if(!lt(r)){if(!ht.IsCallable(r))throw new TypeError("Method not callable: "+e);return r}},IteratorComplete:function(t){return!!t.done},IteratorClose:function(t,e){var r=ht.GetMethod(t,"return");if(void 0!==r){var n,o;try{n=ht.Call(r,t)}catch(t){o=t}if(!e){if(o)throw o;if(!ht.TypeIsObject(n))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(t){var e=arguments.length>1?t.next(arguments[1]):t.next();if(!ht.TypeIsObject(e))throw new TypeError("bad iterator");return e},IteratorStep:function(t){var e=ht.IteratorNext(t);return!ht.IteratorComplete(e)&&e},Construct:function(t,e,r,n){var o=void 0===r?t:r;if(!n&&st.construct)return st.construct(t,e,o);var i=o.prototype;ht.TypeIsObject(i)||(i=Object.prototype);var a=S(i),u=ht.Call(t,a,e);return ht.TypeIsObject(u)?u:a},SpeciesConstructor:function(t,e){var r=t.constructor;if(void 0===r)return e;if(!ht.TypeIsObject(r))throw new TypeError("Bad constructor");var n=r[X];if(lt(n))return e;if(!ht.IsConstructor(n))throw new TypeError("Bad @@species");return n},CreateHTML:function(t,e,r,n){var o=ht.ToString(t),i="<"+e;""!==r&&(i+=" "+r+'="'+ht.ToString(n).replace(/"/g,"&quot;")+'"');return i+">"+o+"</"+e+">"},IsRegExp:function(t){if(!ht.TypeIsObject(t))return!1;var e=t[J.match];return void 0!==e?!!e:ot(t)},ToString:function(t){return ft(t)}};if(c&&ut){var yt=function(t){if(it(J[t]))return J[t];var e=J.for("Symbol."+t);return Object.defineProperty(J,t,{configurable:!1,enumerable:!1,writable:!1,value:e}),e};if(!it(J.search)){var vt=yt("search"),bt=String.prototype.search;y(RegExp.prototype,vt,(function(t){return ht.Call(bt,t,[this])}));at(String.prototype,"search",(function(t){var e=ht.RequireObjectCoercible(this);if(!lt(t)){var r=ht.GetMethod(t,vt);if(void 0!==r)return ht.Call(r,t,[e])}return ht.Call(bt,e,[ht.ToString(t)])}))}if(!it(J.replace)){var gt=yt("replace"),dt=String.prototype.replace;y(RegExp.prototype,gt,(function(t,e){return ht.Call(dt,t,[this,e])}));at(String.prototype,"replace",(function(t,e){var r=ht.RequireObjectCoercible(this);if(!lt(t)){var n=ht.GetMethod(t,gt);if(void 0!==n)return ht.Call(n,t,[r,e])}return ht.Call(dt,r,[ht.ToString(t),e])}))}if(!it(J.split)){var Ot=yt("split"),mt=String.prototype.split;y(RegExp.prototype,Ot,(function(t,e){return ht.Call(mt,t,[this,e])}));at(String.prototype,"split",(function(t,e){var r=ht.RequireObjectCoercible(this);if(!lt(t)){var n=ht.GetMethod(t,Ot);if(void 0!==n)return ht.Call(n,t,[r,e])}return ht.Call(mt,r,[ht.ToString(t),e])}))}var wt=it(J.match),jt=wt&&function(){var t={};return t[J.match]=function(){return 42},42!=="a".match(t)}();if(!wt||jt){var St=yt("match"),Tt=String.prototype.match;y(RegExp.prototype,St,(function(t){return ht.Call(Tt,t,[this])}));at(String.prototype,"match",(function(t){var e=ht.RequireObjectCoercible(this);if(!lt(t)){var r=ht.GetMethod(t,St);if(void 0!==r)return ht.Call(r,t,[e])}return ht.Call(Tt,e,[ht.ToString(t)])}))}}var It=function(t,e,r){j(e,t),Object.setPrototypeOf&&Object.setPrototypeOf(t,e),c?f(Object.getOwnPropertyNames(t),(function(n){n in H||r[n]||O(t,n,e)})):f(Object.keys(t),(function(n){n in H||r[n]||(e[n]=t[n])})),e.prototype=t.prototype,m(t.prototype,"constructor",e)},Et=function(){return this},Pt=function(t){c&&!G(t,X)&&d(t,X,Et)},Ct=function(t,e){var r=e||function(){return this};y(t,ct,r),!t[ct]&&it(ct)&&(t[ct]=r)},Mt=function(t,e,r){if(function(t,e,r){c?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(t,e,r),!ht.SameValue(t[e],r))throw new TypeError("property is nonconfigurable")},xt=function(t,e,r,n){if(!ht.TypeIsObject(t))throw new TypeError("Constructor requires `new`: "+e.name);var o=e.prototype;ht.TypeIsObject(o)||(o=r);var i=S(o);for(var a in n)if(G(n,a)){var u=n[a];y(i,a,u,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var Nt=String.fromCodePoint;at(String,"fromCodePoint",(function(t){return ht.Call(Nt,this,arguments)}))}var At={fromCodePoint:function(t){for(var e,r=[],n=0,o=arguments.length;n<o;n++){if(e=Number(arguments[n]),!ht.SameValue(e,ht.ToInteger(e))||e<0||e>1114111)throw new RangeError("Invalid code point "+e);e<65536?N(r,String.fromCharCode(e)):(e-=65536,N(r,String.fromCharCode(55296+(e>>10))),N(r,String.fromCharCode(e%1024+56320)))}return r.join("")},raw:function(t){var e=ht.ToObject(t,"bad callSite"),r=ht.ToObject(e.raw,"bad raw value"),n=r.length,o=ht.ToLength(n);if(o<=0)return"";for(var i,a,u,c,s=[],f=0;f<o&&(i=ht.ToString(f),u=ht.ToString(r[i]),N(s,u),!(f+1>=o));)a=f+1<arguments.length?arguments[f+1]:"",c=ht.ToString(a),N(s,c),f+=1;return s.join("")}};String.raw&&"xy"!==String.raw({raw:{0:"x",1:"y",length:2}})&&at(String,"raw",At.raw),v(String,At);var _t=function t(e,r){if(r<1)return"";if(r%2)return t(e,r-1)+e;var n=t(e,r/2);return n+n},Rt={repeat:function(t){var e=ht.ToString(ht.RequireObjectCoercible(this)),r=ht.ToInteger(t);if(r<0||r>=Infinity)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return _t(e,r)},startsWith:function(t){var e=ht.ToString(ht.RequireObjectCoercible(this));if(ht.IsRegExp(t))throw new TypeError('Cannot call method "startsWith" with a regex');var r,n=ht.ToString(t);arguments.length>1&&(r=arguments[1]);var o=R(ht.ToInteger(r),0);return x(e,o,o+n.length)===n},endsWith:function(t){var e=ht.ToString(ht.RequireObjectCoercible(this));if(ht.IsRegExp(t))throw new TypeError('Cannot call method "endsWith" with a regex');var r,n=ht.ToString(t),o=e.length;arguments.length>1&&(r=arguments[1]);var i=void 0===r?o:ht.ToInteger(r),a=k(R(i,0),o);return x(e,a-n.length,a)===n},includes:function(t){if(ht.IsRegExp(t))throw new TypeError('"includes" does not accept a RegExp');var e,r=ht.ToString(t);return arguments.length>1&&(e=arguments[1]),-1!==P(this,r,e)},codePointAt:function(t){var e=ht.ToString(ht.RequireObjectCoercible(this)),r=ht.ToInteger(t),n=e.length;if(r>=0&&r<n){var o=e.charCodeAt(r);if(o<55296||o>56319||r+1===n)return o;var i=e.charCodeAt(r+1);return i<56320||i>57343?o:1024*(o-55296)+(i-56320)+65536}}};if(String.prototype.includes&&!1!=="a".includes("a",1/0)&&at(String.prototype,"includes",Rt.includes),String.prototype.startsWith&&String.prototype.endsWith){var kt=i((function(){return"/a/".startsWith(/a/)})),Lt=a((function(){return!1==="abc".startsWith("a",1/0)}));kt&&Lt||(at(String.prototype,"startsWith",Rt.startsWith),at(String.prototype,"endsWith",Rt.endsWith))}if(ut){var Ft=a((function(){var t=/a/;return t[J.match]=!1,"/a/".startsWith(t)}));Ft||at(String.prototype,"startsWith",Rt.startsWith);var Dt=a((function(){var t=/a/;return t[J.match]=!1,"/a/".endsWith(t)}));Dt||at(String.prototype,"endsWith",Rt.endsWith);var zt=a((function(){var t=/a/;return t[J.match]=!1,"/a/".includes(t)}));zt||at(String.prototype,"includes",Rt.includes)}v(String.prototype,Rt);var qt=["\t\n\v\f\r   "," \u2028","\u2029\ufeff"].join(""),Gt=new RegExp("(^["+qt+"]+)|(["+qt+"]+$)","g"),Ht=function(){return ht.ToString(ht.RequireObjectCoercible(this)).replace(Gt,"")},Wt=["…","","￾"].join(""),Vt=new RegExp("["+Wt+"]","g"),$t=/^[-+]0x[0-9a-f]+$/i,Bt=Wt.trim().length!==Wt.length;y(String.prototype,"trim",Ht,Bt);var Ut=function(t){return{value:t,done:0===arguments.length}},Jt=function(t){ht.RequireObjectCoercible(t),this._s=ht.ToString(t),this._i=0};Jt.prototype.next=function(){var t=this._s,e=this._i;if(void 0===t||e>=t.length)return this._s=void 0,Ut();var r,n,o=t.charCodeAt(e);return n=o<55296||o>56319||e+1===t.length||(r=t.charCodeAt(e+1))<56320||r>57343?1:2,this._i=e+n,Ut(t.substr(e,n))},Ct(Jt.prototype),Ct(String.prototype,(function(){return new Jt(this)}));var Xt={from:function(t){var e,n,o,i,a,u,c=this;if(arguments.length>1&&(e=arguments[1]),void 0===e)n=!1;else{if(!ht.IsCallable(e))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(o=arguments[2]),n=!0}if(void 0!==(et(t)||ht.GetMethod(t,ct))){a=ht.IsConstructor(c)?Object(new c):[];var s,f,p=ht.GetIterator(t);for(u=0;!1!==(s=ht.IteratorStep(p));){f=s.value;try{n&&(f=void 0===o?e(f,u):r(e,o,f,u)),a[u]=f}catch(t){throw ht.IteratorClose(p,!0),t}u+=1}i=u}else{var l,h=ht.ToObject(t);for(i=ht.ToLength(h.length),a=ht.IsConstructor(c)?Object(new c(i)):new Array(i),u=0;u<i;++u)l=h[u],n&&(l=void 0===o?e(l,u):r(e,o,l,u)),Mt(a,u,l)}return a.length=i,a},of:function(){for(var t=arguments.length,e=this,r=n(e)||!ht.IsCallable(e)?new Array(t):ht.Construct(e,[t]),o=0;o<t;++o)Mt(r,o,arguments[o]);return r.length=t,r}};v(Array,Xt),Pt(Array),t=function(t,e){this.i=0,this.array=t,this.kind=e},v(t.prototype,{next:function(){var e=this.i,r=this.array;if(!(this instanceof t))throw new TypeError("Not an ArrayIterator");if(void 0!==r)for(var n=ht.ToLength(r.length);e<n;e++){var o,i=this.kind;return"key"===i?o=e:"value"===i?o=r[e]:"entry"===i&&(o=[e,r[e]]),this.i=e+1,Ut(o)}return this.array=void 0,Ut()}}),Ct(t.prototype);var Zt=Array.of===Xt.of||function(){var t=function(t){this.length=t};t.prototype=[];var e=Array.of.apply(t,[1,2]);return e instanceof t&&2===e.length}();Zt||at(Array,"of",Xt.of);var Yt={copyWithin:function(t,e){var r,n=ht.ToObject(this),o=ht.ToLength(n.length),i=ht.ToInteger(t),a=ht.ToInteger(e),u=i<0?R(o+i,0):k(i,o),c=a<0?R(o+a,0):k(a,o);arguments.length>2&&(r=arguments[2]);var s=void 0===r?o:ht.ToInteger(r),f=s<0?R(o+s,0):k(s,o),p=k(f-c,o-u),l=1;for(c<u&&u<c+p&&(l=-1,c+=p-1,u+=p-1);p>0;)c in n?n[u]=n[c]:delete n[u],c+=l,u+=l,p-=1;return n},fill:function(t){var e,r;arguments.length>1&&(e=arguments[1]),arguments.length>2&&(r=arguments[2]);var n=ht.ToObject(this),o=ht.ToLength(n.length);e=ht.ToInteger(void 0===e?0:e);for(var i=(r=ht.ToInteger(void 0===r?o:r))<0?o+r:r,a=e<0?R(o+e,0):k(e,o);a<o&&a<i;++a)n[a]=t;return n},find:function(t){var e=ht.ToObject(this),n=ht.ToLength(e.length);if(!ht.IsCallable(t))throw new TypeError("Array#find: predicate must be a function");for(var o,i=arguments.length>1?arguments[1]:null,a=0;a<n;a++)if(o=e[a],i){if(r(t,i,o,a,e))return o}else if(t(o,a,e))return o},findIndex:function(t){var e=ht.ToObject(this),n=ht.ToLength(e.length);if(!ht.IsCallable(t))throw new TypeError("Array#findIndex: predicate must be a function");for(var o=arguments.length>1?arguments[1]:null,i=0;i<n;i++)if(o){if(r(t,o,e[i],i,e))return i}else if(t(e[i],i,e))return i;return-1},keys:function(){return new t(this,"key")},values:function(){return new t(this,"value")},entries:function(){return new t(this,"entry")}};if(Array.prototype.keys&&!ht.IsCallable([1].keys().next)&&delete Array.prototype.keys,Array.prototype.entries&&!ht.IsCallable([1].entries().next)&&delete Array.prototype.entries,Array.prototype.keys&&Array.prototype.entries&&!Array.prototype.values&&Array.prototype[ct]&&(v(Array.prototype,{values:Array.prototype[ct]}),it(J.unscopables)&&(Array.prototype[J.unscopables].values=!0)),s&&Array.prototype.values&&"values"!==Array.prototype.values.name){var Kt=Array.prototype.values;at(Array.prototype,"values",(function(){return ht.Call(Kt,this,arguments)})),y(Array.prototype,ct,Array.prototype.values,!0)}v(Array.prototype,Yt),1/[!0].indexOf(!0,-0)<0&&y(Array.prototype,"indexOf",(function(t){var e=C(this,arguments);return 0===e&&1/e<0?0:e}),!0),Ct(Array.prototype,(function(){return this.values()})),Object.getPrototypeOf&&Ct(Object.getPrototypeOf([].values()));var Qt=a((function(){return 0===Array.from({length:-1}).length})),te=function(){var t=Array.from([0].entries());return 1===t.length&&n(t[0])&&0===t[0][0]&&0===t[0][1]}();if(Qt&&te||at(Array,"from",Xt.from),!a((function(){return Array.from([0],void 0)}))){var ee=Array.from;at(Array,"from",(function(t){return arguments.length>1&&void 0!==arguments[1]?ht.Call(ee,this,arguments):r(ee,this,t)}))}var re=-(Math.pow(2,32)-1),ne=function(t,e){var n={length:re};return n[e?(n.length>>>0)-1:0]=!0,a((function(){return r(t,n,(function(){throw new RangeError("should not reach here")}),[]),!0}))};if(!ne(Array.prototype.forEach)){var oe=Array.prototype.forEach;at(Array.prototype,"forEach",(function(t){return ht.Call(oe,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.map)){var ie=Array.prototype.map;at(Array.prototype,"map",(function(t){return ht.Call(ie,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.filter)){var ae=Array.prototype.filter;at(Array.prototype,"filter",(function(t){return ht.Call(ae,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.some)){var ue=Array.prototype.some;at(Array.prototype,"some",(function(t){return ht.Call(ue,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.every)){var ce=Array.prototype.every;at(Array.prototype,"every",(function(t){return ht.Call(ce,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.reduce)){var se=Array.prototype.reduce;at(Array.prototype,"reduce",(function(t){return ht.Call(se,this.length>=0?this:[],arguments)}))}if(!ne(Array.prototype.reduceRight,!0)){var fe=Array.prototype.reduceRight;at(Array.prototype,"reduceRight",(function(t){return ht.Call(fe,this.length>=0?this:[],arguments)}))}var pe=8!==Number("0o10"),le=2!==Number("0b10"),he=h(Wt,(function(t){return 0===Number(t+0+t)}));if(pe||le||he){var ye=Number,ve=/^0b[01]+$/i,be=/^0o[0-7]+$/i,ge=ve.test.bind(ve),de=be.test.bind(be),Oe=Vt.test.bind(Vt),me=$t.test.bind($t),we=function(){var t=function(e){var r;r=arguments.length>0?rt(e)?e:function(t){var e;if("function"==typeof t.valueOf&&(e=t.valueOf(),rt(e)))return e;if("function"==typeof t.toString&&(e=t.toString(),rt(e)))return e;throw new TypeError("No default value")}(e):0,"string"==typeof r&&(r=ht.Call(Ht,r),ge(r)?r=parseInt(x(r,2),2):de(r)?r=parseInt(x(r,2),8):(Oe(r)||me(r))&&(r=NaN));var n=this,o=a((function(){return ye.prototype.valueOf.call(n),!0}));return n instanceof t&&!o?new ye(r):ye(r)};return t}();It(ye,we,{}),v(we,{NaN:ye.NaN,MAX_VALUE:ye.MAX_VALUE,MIN_VALUE:ye.MIN_VALUE,NEGATIVE_INFINITY:ye.NEGATIVE_INFINITY,POSITIVE_INFINITY:ye.POSITIVE_INFINITY}),Number=we,m(I,"Number",we)}var je=Math.pow(2,53)-1;v(Number,{MAX_SAFE_INTEGER:je,MIN_SAFE_INTEGER:-je,EPSILON:2220446049250313e-31,parseInt:I.parseInt,parseFloat:I.parseFloat,isFinite:Y,isInteger:function(t){return Y(t)&&ht.ToInteger(t)===t},isSafeInteger:function(t){return Number.isInteger(t)&&F(t)<=Number.MAX_SAFE_INTEGER},isNaN:Z}),y(Number,"parseInt",I.parseInt,Number.parseInt!==I.parseInt),1===[,1].find((function(){return!0}))&&at(Array.prototype,"find",Yt.find),0!==[,1].findIndex((function(){return!0}))&&at(Array.prototype,"findIndex",Yt.findIndex);var Se=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),Te=function(t,e){c&&Se(t,e)&&Object.defineProperty(t,e,{enumerable:!1})},Ie=function(){for(var t=Number(this),e=arguments.length,r=e-t,n=new Array(r<0?0:r),o=t;o<e;++o)n[o-t]=arguments[o];return n},Ee=function(t){return function(e,r){return e[r]=t[r],e}},Pe=function(t,e){var r,n=o(Object(e));return ht.IsCallable(Object.getOwnPropertySymbols)&&(r=l(Object.getOwnPropertySymbols(Object(e)),Se(e))),p(M(n,r||[]),Ee(e),t)},Ce={assign:function(t,e){var r=ht.ToObject(t,"Cannot convert undefined or null to object");return p(ht.Call(Ie,1,arguments),Pe,r)},is:function(t,e){return ht.SameValue(t,e)}},Me=Object.assign&&Object.preventExtensions&&function(){var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}}();if(Me&&at(Object,"assign",Ce.assign),v(Object,Ce),c){var xe={setPrototypeOf:function(t,e){var n,o=function(t,e){return function(t,e){if(!ht.TypeIsObject(t))throw new TypeError("cannot set prototype on a non-object");if(null!==e&&!ht.TypeIsObject(e))throw new TypeError("can only set prototype to an object or null"+e)}(t,e),r(n,t,e),t};try{n=t.getOwnPropertyDescriptor(t.prototype,e).set,r(n,{},null)}catch(r){if(t.prototype!=={}[e])return;n=function(t){this[e]=t},o.polyfill=o(o({},null),t.prototype)instanceof t}return o}(Object,"__proto__")};v(Object,xe)}if(Object.setPrototypeOf&&Object.getPrototypeOf&&null!==Object.getPrototypeOf(Object.setPrototypeOf({},null))&&null===Object.getPrototypeOf(Object.create(null))&&function(){var t=Object.create(null),e=Object.getPrototypeOf,r=Object.setPrototypeOf;Object.getPrototypeOf=function(r){var n=e(r);return n===t?null:n},Object.setPrototypeOf=function(e,n){return r(e,null===n?t:n)},Object.setPrototypeOf.polyfill=!1}(),!!i((function(){return Object.keys("foo")}))){var Ne=Object.keys;at(Object,"keys",(function(t){return Ne(ht.ToObject(t))})),o=Object.keys}if(i((function(){return Object.keys(/a/g)}))){var Ae=Object.keys;at(Object,"keys",(function(t){if(ot(t)){var e=[];for(var r in t)G(t,r)&&N(e,r);return e}return Ae(t)})),o=Object.keys}if(Object.getOwnPropertyNames&&!!i((function(){return Object.getOwnPropertyNames("foo")}))){var _e="object"==typeof window?Object.getOwnPropertyNames(window):[],Re=Object.getOwnPropertyNames;at(Object,"getOwnPropertyNames",(function(t){var e=ht.ToObject(t);if("[object Window]"===b(e))try{return Re(e)}catch(t){return M([],_e)}return Re(e)}))}if(Object.getOwnPropertyDescriptor&&!!i((function(){return Object.getOwnPropertyDescriptor("foo","bar")}))){var ke=Object.getOwnPropertyDescriptor;at(Object,"getOwnPropertyDescriptor",(function(t,e){return ke(ht.ToObject(t),e)}))}if(Object.seal&&!!i((function(){return Object.seal("foo")}))){var Le=Object.seal;at(Object,"seal",(function(t){return ht.TypeIsObject(t)?Le(t):t}))}if(Object.isSealed&&!!i((function(){return Object.isSealed("foo")}))){var Fe=Object.isSealed;at(Object,"isSealed",(function(t){return!ht.TypeIsObject(t)||Fe(t)}))}if(Object.freeze&&!!i((function(){return Object.freeze("foo")}))){var De=Object.freeze;at(Object,"freeze",(function(t){return ht.TypeIsObject(t)?De(t):t}))}if(Object.isFrozen&&!!i((function(){return Object.isFrozen("foo")}))){var ze=Object.isFrozen;at(Object,"isFrozen",(function(t){return!ht.TypeIsObject(t)||ze(t)}))}if(Object.preventExtensions&&!!i((function(){return Object.preventExtensions("foo")}))){var qe=Object.preventExtensions;at(Object,"preventExtensions",(function(t){return ht.TypeIsObject(t)?qe(t):t}))}if(Object.isExtensible&&!!i((function(){return Object.isExtensible("foo")}))){var Ge=Object.isExtensible;at(Object,"isExtensible",(function(t){return!!ht.TypeIsObject(t)&&Ge(t)}))}if(Object.getPrototypeOf&&!!i((function(){return Object.getPrototypeOf("foo")}))){var He=Object.getPrototypeOf;at(Object,"getPrototypeOf",(function(t){return He(ht.ToObject(t))}))}var We=c&&function(){var t=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags");return t&&ht.IsCallable(t.get)}();if(c&&!We){d(RegExp.prototype,"flags",(function(){if(!ht.TypeIsObject(this))throw new TypeError("Method called on incompatible type: must be an object.");var t="";return this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.unicode&&(t+="u"),this.sticky&&(t+="y"),t}))}var Ve=c&&a((function(){return"/a/i"===String(new RegExp(/a/g,"i"))})),$e=ut&&c&&function(){var t=/./;return t[J.match]=!1,RegExp(t)===t}(),Be=a((function(){return"/abc/"===RegExp.prototype.toString.call({source:"abc"})})),Ue=Be&&a((function(){return"/a/b"===RegExp.prototype.toString.call({source:"a",flags:"b"})}));if(!Be||!Ue){var Je=RegExp.prototype.toString;y(RegExp.prototype,"toString",(function(){var t=ht.RequireObjectCoercible(this);return ot(t)?r(Je,t):"/"+ft(t.source)+"/"+ft(t.flags)}),!0),j(RegExp.prototype.toString,Je)}if(c&&(!Ve||$e)){var Xe=Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get,Ze=Object.getOwnPropertyDescriptor(RegExp.prototype,"source")||{},Ye=ht.IsCallable(Ze.get)?Ze.get:function(){return this.source},Ke=RegExp,Qe=function t(e,r){var n=ht.IsRegExp(e);return this instanceof t||!n||void 0!==r||e.constructor!==t?ot(e)?new t(ht.Call(Ye,e),void 0===r?ht.Call(Xe,e):r):(n&&(e.source,void 0===r&&e.flags),new Ke(e,r)):e};It(Ke,Qe,{$input:!0}),RegExp=Qe,m(I,"RegExp",Qe)}if(c){var tr={input:"$_",lastMatch:"$&",lastParen:"$+",leftContext:"$`",rightContext:"$'"};f(o(tr),(function(t){t in RegExp&&!(tr[t]in RegExp)&&d(RegExp,tr[t],(function(){return RegExp[t]}))}))}Pt(RegExp);var er=1/Number.EPSILON,rr=Math.pow(2,-23),nr=Math.pow(2,127)*(2-rr),or=Math.pow(2,-126),ir=Math.E,ar=Math.LOG2E,ur=Math.LOG10E,cr=Number.prototype.clz;delete Number.prototype.clz;var sr={acosh:function(t){var e=Number(t);if(Z(e)||t<1)return NaN;if(1===e)return 0;if(e===1/0)return e;var r=1/(e*e);if(e<2)return Q(e-1+q(1-r)*e);var n=e/2;return Q(n+q(1-r)*n-1)+1/ar},asinh:function(t){var e=Number(t);if(0===e||!E(e))return e;var r=F(e),n=r*r,o=K(e);return r<1?o*Q(r+n/(q(n+1)+1)):o*(Q(r/2+q(1+1/n)*r/2-1)+1/ar)},atanh:function(t){var e=Number(t);if(0===e)return e;if(-1===e)return-1/0;if(1===e)return 1/0;if(Z(e)||e<-1||e>1)return NaN;var r=F(e);return K(e)*Q(2*r/(1-r))/2},cbrt:function(t){var e=Number(t);if(0===e)return e;var r,n=e<0;return n&&(e=-e),r=e===1/0?1/0:(e/((r=D(z(e)/3))*r)+2*r)/3,n?-r:r},clz32:function(t){var e=Number(t),r=ht.ToUint32(e);return 0===r?32:cr?ht.Call(cr,r):31-L(z(r+.5)*ar)},cosh:function(t){var e=Number(t);if(0===e)return 1;if(Z(e))return NaN;if(!E(e))return 1/0;var r=D(F(e)-1);return(r+1/(r*ir*ir))*(ir/2)},expm1:function(t){var e=Number(t);if(e===-1/0)return-1;if(!E(e)||0===e)return e;if(F(e)>.5)return D(e)-1;for(var r=e,n=0,o=1;n+r!==n;)n+=r,r*=e/(o+=1);return n},hypot:function(t,e){for(var r=0,n=0,o=0;o<arguments.length;++o){var i=F(Number(arguments[o]));n<i?(r*=n/i*(n/i),r+=1,n=i):r+=i>0?i/n*(i/n):i}return n===1/0?1/0:n*q(r)},log2:function(t){return z(t)*ar},log10:function(t){return z(t)*ur},log1p:Q,sign:K,sinh:function(t){var e=Number(t);if(!E(e)||0===e)return e;var r=F(e);if(r<1){var n=Math.expm1(r);return K(e)*n*(1+1/(n+1))/2}var o=D(r-1);return K(e)*(o-1/(o*ir*ir))*(ir/2)},tanh:function(t){var e=Number(t);return Z(e)||0===e?e:e>=20?1:e<=-20?-1:(Math.expm1(e)-Math.expm1(-e))/(D(e)+D(-e))},trunc:function(t){var e=Number(t);return e<0?-L(-e):L(e)},imul:function(t,e){var r=ht.ToUint32(t),n=ht.ToUint32(e),o=65535&r,i=65535&n;return o*i+((r>>>16&65535)*i+o*(n>>>16&65535)<<16>>>0)|0},fround:function(t){var e=Number(t);if(0===e||e===1/0||e===-1/0||Z(e))return e;var r=K(e),n=F(e);if(n<or)return r*function(t){return t+er-er}(n/or/rr)*or*rr;var o=(1+rr/Number.EPSILON)*n,i=o-(o-n);return i>nr||Z(i)?r*(1/0):r*i}},fr=function(t,e,r){return F(1-t/e)/Number.EPSILON<(r||8)};v(Math,sr),y(Math,"sinh",sr.sinh,Math.sinh(710)===1/0),y(Math,"cosh",sr.cosh,Math.cosh(710)===1/0),y(Math,"log1p",sr.log1p,-1e-17!==Math.log1p(-1e-17)),y(Math,"asinh",sr.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),y(Math,"asinh",sr.asinh,Math.asinh(1e300)===1/0),y(Math,"atanh",sr.atanh,0===Math.atanh(1e-300)),y(Math,"tanh",sr.tanh,-2e-17!==Math.tanh(-2e-17)),y(Math,"acosh",sr.acosh,Math.acosh(Number.MAX_VALUE)===1/0),y(Math,"acosh",sr.acosh,!fr(Math.acosh(1+Number.EPSILON),Math.sqrt(2*Number.EPSILON))),y(Math,"cbrt",sr.cbrt,!fr(Math.cbrt(1e-300),1e-100)),y(Math,"sinh",sr.sinh,-2e-17!==Math.sinh(-2e-17));var pr=Math.expm1(10);y(Math,"expm1",sr.expm1,pr>22025.465794806718||pr<22025.465794806718);var lr=Math.round,hr=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(Number.EPSILON/3.99-.5),yr=[er+1,2*er-1].every((function(t){return Math.round(t)===t}));y(Math,"round",(function(t){var e=L(t);return t-e<.5?e:-1===e?-0:e+1}),!hr||!yr),j(Math.round,lr);var vr=Math.imul;-5!==Math.imul(4294967295,5)&&(Math.imul=sr.imul,j(Math.imul,vr)),2!==Math.imul.length&&at(Math,"imul",(function(t,e){return ht.Call(vr,Math,arguments)}));var br=function(){var t=I.setTimeout;if("function"==typeof t||"object"==typeof t){ht.IsPromise=function(t){return!!ht.TypeIsObject(t)&&void 0!==t._promise};var e,n=function(t){if(!ht.IsConstructor(t))throw new TypeError("Bad promise constructor");var e=this;if(e.resolve=void 0,e.reject=void 0,e.promise=new t((function(t,r){if(void 0!==e.resolve||void 0!==e.reject)throw new TypeError("Bad Promise implementation!");e.resolve=t,e.reject=r})),!ht.IsCallable(e.resolve)||!ht.IsCallable(e.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&ht.IsCallable(window.postMessage)&&(e=function(){var t=[],e="zero-timeout-message";return window.addEventListener("message",(function(r){if(r.source===window&&r.data===e){if(r.stopPropagation(),0===t.length)return;_(t)()}}),!0),function(r){N(t,r),window.postMessage(e,"*")}});var o,i,a=ht.IsCallable(I.setImmediate)?I.setImmediate:"object"==typeof process&&process.nextTick?process.nextTick:function(){var t=I.Promise,e=t&&t.resolve&&t.resolve();return e&&function(t){return e.then(t)}}()||(ht.IsCallable(e)?e():function(e){t(e,0)}),u=function(t){return t},c=function(t){throw t},s={},f=function(t,e,r){a((function(){p(t,e,r)}))},p=function(t,e,r){var n,o;if(e===s)return t(r);try{n=t(r),o=e.resolve}catch(t){n=t,o=e.reject}o(n)},l=function(t,e){var r=t._promise,n=r.reactionLength;if(n>0&&(f(r.fulfillReactionHandler0,r.reactionCapability0,e),r.fulfillReactionHandler0=void 0,r.rejectReactions0=void 0,r.reactionCapability0=void 0,n>1))for(var o=1,i=0;o<n;o++,i+=3)f(r[i+0],r[i+2],e),t[i+0]=void 0,t[i+1]=void 0,t[i+2]=void 0;r.result=e,r.state=1,r.reactionLength=0},h=function(t,e){var r=t._promise,n=r.reactionLength;if(n>0&&(f(r.rejectReactionHandler0,r.reactionCapability0,e),r.fulfillReactionHandler0=void 0,r.rejectReactions0=void 0,r.reactionCapability0=void 0,n>1))for(var o=1,i=0;o<n;o++,i+=3)f(r[i+1],r[i+2],e),t[i+0]=void 0,t[i+1]=void 0,t[i+2]=void 0;r.result=e,r.state=2,r.reactionLength=0},y=function(t){var e=!1;return{resolve:function(r){var n;if(!e){if(e=!0,r===t)return h(t,new TypeError("Self resolution"));if(!ht.TypeIsObject(r))return l(t,r);try{n=r.then}catch(e){return h(t,e)}if(!ht.IsCallable(n))return l(t,r);a((function(){g(t,r,n)}))}},reject:function(r){if(!e)return e=!0,h(t,r)}}},b=function(t,e,n,o){t===i?r(t,e,n,o,s):r(t,e,n,o)},g=function(t,e,r){var n=y(t),o=n.resolve,i=n.reject;try{b(r,e,o,i)}catch(t){i(t)}},d=function(){var t=function(e){if(!(this instanceof t))throw new TypeError('Constructor Promise requires "new"');if(this&&this._promise)throw new TypeError("Bad construction");if(!ht.IsCallable(e))throw new TypeError("not a valid resolver");var r=xt(this,t,o,{_promise:{result:void 0,state:0,reactionLength:0,fulfillReactionHandler0:void 0,rejectReactionHandler0:void 0,reactionCapability0:void 0}}),n=y(r),i=n.reject;try{e(n.resolve,i)}catch(t){i(t)}return r};return t}();o=d.prototype;var O=function(t,e,r,n){var o=!1;return function(i){o||(o=!0,e[t]=i,0==--n.count&&(0,r.resolve)(e))}};return v(d,{all:function(t){var e=this;if(!ht.TypeIsObject(e))throw new TypeError("Promise is not object");var r,o,i=new n(e);try{return function(t,e,r){for(var n,o,i=t.iterator,a=[],u={count:1},c=0;;){try{if(!1===(n=ht.IteratorStep(i))){t.done=!0;break}o=n.value}catch(e){throw t.done=!0,e}a[c]=void 0;var s=e.resolve(o),f=O(c,a,r,u);u.count+=1,b(s.then,s,f,r.reject),c+=1}return 0==--u.count&&(0,r.resolve)(a),r.promise}(o={iterator:r=ht.GetIterator(t),done:!1},e,i)}catch(t){var a=t;if(o&&!o.done)try{ht.IteratorClose(r,!0)}catch(t){a=t}return(0,i.reject)(a),i.promise}},race:function(t){var e=this;if(!ht.TypeIsObject(e))throw new TypeError("Promise is not object");var r,o,i=new n(e);try{return function(t,e,r){for(var n,o,i,a=t.iterator;;){try{if(!1===(n=ht.IteratorStep(a))){t.done=!0;break}o=n.value}catch(e){throw t.done=!0,e}i=e.resolve(o),b(i.then,i,r.resolve,r.reject)}return r.promise}(o={iterator:r=ht.GetIterator(t),done:!1},e,i)}catch(t){var a=t;if(o&&!o.done)try{ht.IteratorClose(r,!0)}catch(t){a=t}return(0,i.reject)(a),i.promise}},reject:function(t){if(!ht.TypeIsObject(this))throw new TypeError("Bad promise constructor");var e=new n(this);return(0,e.reject)(t),e.promise},resolve:function(t){var e=this;if(!ht.TypeIsObject(e))throw new TypeError("Bad promise constructor");if(ht.IsPromise(t)&&t.constructor===e)return t;var r=new n(e);return(0,r.resolve)(t),r.promise}}),v(o,{catch:function(t){return this.then(null,t)},then:function(t,e){var r=this;if(!ht.IsPromise(r))throw new TypeError("not a promise");var o,i=ht.SpeciesConstructor(r,d);o=arguments.length>2&&arguments[2]===s&&i===d?s:new n(i);var a,p=ht.IsCallable(t)?t:u,l=ht.IsCallable(e)?e:c,h=r._promise;if(0===h.state){if(0===h.reactionLength)h.fulfillReactionHandler0=p,h.rejectReactionHandler0=l,h.reactionCapability0=o;else{var y=3*(h.reactionLength-1);h[y+0]=p,h[y+1]=l,h[y+2]=o}h.reactionLength+=1}else if(1===h.state)a=h.result,f(p,o,a);else{if(2!==h.state)throw new TypeError("unexpected Promise state");a=h.result,f(l,o,a)}return o.promise}}),s=new n(d),i=o.then,d}}();if(I.Promise&&(delete I.Promise.accept,delete I.Promise.defer,delete I.Promise.prototype.chain),"function"==typeof br){v(I,{Promise:br});var gr=T(I.Promise,(function(t){return t.resolve(42).then((function(){}))instanceof t})),dr=!i((function(){return I.Promise.reject(42).then(null,5).then(null,H)})),Or=i((function(){return I.Promise.call(3,H)})),mr=function(t){var e=t.resolve(5);e.constructor={};var r=t.resolve(e);try{r.then(null,H).then(null,H)}catch(t){return!0}return e===r}(I.Promise),wr=c&&function(){var t=0,e=Object.defineProperty({},"then",{get:function(){t+=1}});return Promise.resolve(e),1===t}(),jr=function t(e){var r=new Promise(e);e(3,(function(){})),this.then=r.then,this.constructor=t};jr.prototype=Promise.prototype,jr.all=Promise.all;var Sr=a((function(){return!!jr.all([1,2])}));if(gr&&dr&&Or&&!mr&&wr&&!Sr||(Promise=br,at(I,"Promise",br)),1!==Promise.all.length){var Tr=Promise.all;at(Promise,"all",(function(t){return ht.Call(Tr,this,arguments)}))}if(1!==Promise.race.length){var Ir=Promise.race;at(Promise,"race",(function(t){return ht.Call(Ir,this,arguments)}))}if(1!==Promise.resolve.length){var Er=Promise.resolve;at(Promise,"resolve",(function(t){return ht.Call(Er,this,arguments)}))}if(1!==Promise.reject.length){var Pr=Promise.reject;at(Promise,"reject",(function(t){return ht.Call(Pr,this,arguments)}))}Te(Promise,"all"),Te(Promise,"race"),Te(Promise,"resolve"),Te(Promise,"reject"),Pt(Promise)}var Cr=function(t){var e=o(p(t,(function(t,e){return t[e]=!0,t}),{}));return t.join(":")===e.join(":")},Mr=Cr(["z","a","bb"]),xr=Cr(["z",1,"a","3",2]);if(c){var Nr=function(t,e){return e||Mr?lt(t)?"^"+ht.ToString(t):"string"==typeof t?"$"+t:"number"==typeof t?xr?t:"n"+t:"boolean"==typeof t?"b"+t:null:null},Ar=function(){return Object.create?Object.create(null):{}},_r=function(t,e,o){if(n(o)||nt(o))f(o,(function(t){if(!ht.TypeIsObject(t))throw new TypeError("Iterator value "+t+" is not an entry object");e.set(t[0],t[1])}));else if(o instanceof t)r(t.prototype.forEach,o,(function(t,r){e.set(r,t)}));else{var i,a;if(!lt(o)){if(a=e.set,!ht.IsCallable(a))throw new TypeError("bad map");i=ht.GetIterator(o)}if(void 0!==i)for(;;){var u=ht.IteratorStep(i);if(!1===u)break;var c=u.value;try{if(!ht.TypeIsObject(c))throw new TypeError("Iterator value "+c+" is not an entry object");r(a,e,c[0],c[1])}catch(t){throw ht.IteratorClose(i,!0),t}}}},Rr=function(t,e,o){if(n(o)||nt(o))f(o,(function(t){e.add(t)}));else if(o instanceof t)r(t.prototype.forEach,o,(function(t){e.add(t)}));else{var i,a;if(!lt(o)){if(a=e.add,!ht.IsCallable(a))throw new TypeError("bad set");i=ht.GetIterator(o)}if(void 0!==i)for(;;){var u=ht.IteratorStep(i);if(!1===u)break;var c=u.value;try{r(a,e,c)}catch(t){throw ht.IteratorClose(i,!0),t}}}},kr={Map:function(){var t={},e=function(t,e){this.key=t,this.value=e,this.next=null,this.prev=null};e.prototype.isRemoved=function(){return this.key===t};var n,o=function(t,e){if(!ht.TypeIsObject(t)||!function(t){return!!t._es6map}(t))throw new TypeError("Method Map.prototype."+e+" called on incompatible receiver "+ht.ToString(t))},i=function(t,e){o(t,"[[MapIterator]]"),this.head=t._head,this.i=this.head,this.kind=e};i.prototype={isMapIterator:!0,next:function(){if(!this.isMapIterator)throw new TypeError("Not a MapIterator");var t,e=this.i,r=this.kind,n=this.head;if(void 0===this.i)return Ut();for(;e.isRemoved()&&e!==n;)e=e.prev;for(;e.next!==n;)if(!(e=e.next).isRemoved())return t="key"===r?e.key:"value"===r?e.value:[e.key,e.value],this.i=e,Ut(t);return this.i=void 0,Ut()}},Ct(i.prototype);var a=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var r=xt(this,t,n,{_es6map:!0,_head:null,_map:W?new W:null,_size:0,_storage:Ar()}),o=new e(null,null);return o.next=o.prev=o,r._head=o,arguments.length>0&&_r(t,r,arguments[0]),r};return d(n=a.prototype,"size",(function(){if(void 0===this._size)throw new TypeError("size method called on incompatible Map");return this._size})),v(n,{get:function(t){var e;o(this,"get");var r=Nr(t,!0);if(null!==r)return(e=this._storage[r])?e.value:void 0;if(this._map)return(e=$.call(this._map,t))?e.value:void 0;for(var n=this._head,i=n;(i=i.next)!==n;)if(ht.SameValueZero(i.key,t))return i.value},has:function(t){o(this,"has");var e=Nr(t,!0);if(null!==e)return void 0!==this._storage[e];if(this._map)return B.call(this._map,t);for(var r=this._head,n=r;(n=n.next)!==r;)if(ht.SameValueZero(n.key,t))return!0;return!1},set:function(t,r){o(this,"set");var n,i=this._head,a=i,u=Nr(t,!0);if(null!==u){if(void 0!==this._storage[u])return this._storage[u].value=r,this;n=this._storage[u]=new e(t,r),a=i.prev}else this._map&&(B.call(this._map,t)?$.call(this._map,t).value=r:(n=new e(t,r),U.call(this._map,t,n),a=i.prev));for(;(a=a.next)!==i;)if(ht.SameValueZero(a.key,t))return a.value=r,this;return n=n||new e(t,r),ht.SameValue(-0,t)&&(n.key=0),n.next=this._head,n.prev=this._head.prev,n.prev.next=n,n.next.prev=n,this._size+=1,this},delete:function(e){o(this,"delete");var r=this._head,n=r,i=Nr(e,!0);if(null!==i){if(void 0===this._storage[i])return!1;n=this._storage[i].prev,delete this._storage[i]}else if(this._map){if(!B.call(this._map,e))return!1;n=$.call(this._map,e).prev,V.call(this._map,e)}for(;(n=n.next)!==r;)if(ht.SameValueZero(n.key,e))return n.key=t,n.value=t,n.prev.next=n.next,n.next.prev=n.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._map=W?new W:null,this._size=0,this._storage=Ar();for(var e=this._head,r=e,n=r.next;(r=n)!==e;)r.key=t,r.value=t,n=r.next,r.next=r.prev=e;e.next=e.prev=e},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(t){o(this,"forEach");for(var e=arguments.length>1?arguments[1]:null,n=this.entries(),i=n.next();!i.done;i=n.next())e?r(t,e,i.value[1],i.value[0],this):t(i.value[1],i.value[0],this)}}),Ct(n,n.entries),a}(),Set:function(){var t,e=function(t,e){if(!ht.TypeIsObject(t)||!function(t){return t._es6set&&void 0!==t._storage}(t))throw new TypeError("Set.prototype."+e+" called on incompatible receiver "+ht.ToString(t))},n=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var r=xt(this,e,t,{_es6set:!0,"[[SetData]]":null,_storage:Ar()});if(!r._es6set)throw new TypeError("bad set");return arguments.length>0&&Rr(e,r,arguments[0]),r};t=n.prototype;var i=function(t){if(!t["[[SetData]]"]){var e=new kr.Map;t["[[SetData]]"]=e,f(o(t._storage),(function(t){var r=function(t){var e=t;if("^null"===e)return null;if("^undefined"!==e){var r=e.charAt(0);return"$"===r?x(e,1):"n"===r?+x(e,1):"b"===r?"btrue"===e:+e}}(t);e.set(r,r)})),t["[[SetData]]"]=e}t._storage=null};d(n.prototype,"size",(function(){return e(this,"size"),this._storage?o(this._storage).length:(i(this),this["[[SetData]]"].size)})),v(n.prototype,{has:function(t){var r;return e(this,"has"),this._storage&&null!==(r=Nr(t))?!!this._storage[r]:(i(this),this["[[SetData]]"].has(t))},add:function(t){var r;return e(this,"add"),this._storage&&null!==(r=Nr(t))?(this._storage[r]=!0,this):(i(this),this["[[SetData]]"].set(t,t),this)},delete:function(t){var r;if(e(this,"delete"),this._storage&&null!==(r=Nr(t))){var n=G(this._storage,r);return delete this._storage[r]&&n}return i(this),this["[[SetData]]"].delete(t)},clear:function(){e(this,"clear"),this._storage&&(this._storage=Ar()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return e(this,"values"),i(this),new a(this["[[SetData]]"].values())},entries:function(){return e(this,"entries"),i(this),new a(this["[[SetData]]"].entries())},forEach:function(t){e(this,"forEach");var n=arguments.length>1?arguments[1]:null,o=this;i(o),this["[[SetData]]"].forEach((function(e,i){n?r(t,n,i,i,o):t(i,i,o)}))}}),y(n.prototype,"keys",n.prototype.values,!0),Ct(n.prototype,n.prototype.values);var a=function(t){this.it=t};return a.prototype={isSetIterator:!0,next:function(){if(!this.isSetIterator)throw new TypeError("Not a SetIterator");return this.it.next()}},Ct(a.prototype),n}()};if(I.Set&&!Set.prototype.delete&&Set.prototype.remove&&Set.prototype.items&&Set.prototype.map&&Array.isArray((new Set).keys)&&(I.Set=kr.Set),I.Map||I.Set){a((function(){return 2===new Map([[1,2]]).get(1)}))||(I.Map=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');var e=new W;return arguments.length>0&&_r(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,I.Map.prototype),e},I.Map.prototype=S(W.prototype),y(I.Map.prototype,"constructor",I.Map,!0),j(I.Map,W));var Lr=new Map,Fr=function(){var t=new Map([[1,0],[2,0],[3,0],[4,0]]);return t.set(-0,t),t.get(0)===t&&t.get(-0)===t&&t.has(0)&&t.has(-0)}(),Dr=Lr.set(1,2)===Lr;Fr&&Dr||at(Map.prototype,"set",(function(t,e){return r(U,this,0===t?0:t,e),this})),Fr||(v(Map.prototype,{get:function(t){return r($,this,0===t?0:t)},has:function(t){return r(B,this,0===t?0:t)}},!0),j(Map.prototype.get,$),j(Map.prototype.has,B));var zr=new Set,qr=Set.prototype.delete&&Set.prototype.add&&Set.prototype.has&&function(t){return t.delete(0),t.add(-0),!t.has(0)}(zr),Gr=zr.add(1)===zr;if(!qr||!Gr){var Hr=Set.prototype.add;Set.prototype.add=function(t){return r(Hr,this,0===t?0:t),this},j(Set.prototype.add,Hr)}if(!qr){var Wr=Set.prototype.has;Set.prototype.has=function(t){return r(Wr,this,0===t?0:t)},j(Set.prototype.has,Wr);var Vr=Set.prototype.delete;Set.prototype.delete=function(t){return r(Vr,this,0===t?0:t)},j(Set.prototype.delete,Vr)}var $r=T(I.Map,(function(t){var e=new t([]);return e.set(42,42),e instanceof t})),Br=Object.setPrototypeOf&&!$r,Ur=function(){try{return!(I.Map()instanceof I.Map)}catch(t){return t instanceof TypeError}}();0===I.Map.length&&!Br&&Ur||(I.Map=function t(){if(!(this instanceof t))throw new TypeError('Constructor Map requires "new"');var e=new W;return arguments.length>0&&_r(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,t.prototype),e},I.Map.prototype=W.prototype,y(I.Map.prototype,"constructor",I.Map,!0),j(I.Map,W));var Jr=T(I.Set,(function(t){var e=new t([]);return e.add(42,42),e instanceof t})),Xr=Object.setPrototypeOf&&!Jr,Zr=function(){try{return!(I.Set()instanceof I.Set)}catch(t){return t instanceof TypeError}}();if(0!==I.Set.length||Xr||!Zr){var Yr=I.Set;I.Set=function t(){if(!(this instanceof t))throw new TypeError('Constructor Set requires "new"');var e=new Yr;return arguments.length>0&&Rr(t,e,arguments[0]),delete e.constructor,Object.setPrototypeOf(e,t.prototype),e},I.Set.prototype=Yr.prototype,y(I.Set.prototype,"constructor",I.Set,!0),j(I.Set,Yr)}var Kr=new I.Map,Qr=!a((function(){return Kr.keys().next().done}));if(("function"!=typeof I.Map.prototype.clear||0!==(new I.Set).size||0!==Kr.size||"function"!=typeof I.Map.prototype.keys||"function"!=typeof I.Set.prototype.keys||"function"!=typeof I.Map.prototype.forEach||"function"!=typeof I.Set.prototype.forEach||u(I.Map)||u(I.Set)||"function"!=typeof Kr.keys().next||Qr||!$r)&&v(I,{Map:kr.Map,Set:kr.Set},!0),I.Set.prototype.keys!==I.Set.prototype.values&&y(I.Set.prototype,"keys",I.Set.prototype.values,!0),Ct(Object.getPrototypeOf((new I.Map).keys())),Ct(Object.getPrototypeOf((new I.Set).keys())),s&&"has"!==I.Set.prototype.has.name){var tn=I.Set.prototype.has;at(I.Set.prototype,"has",(function(t){return r(tn,this,t)}))}}v(I,kr),Pt(I.Map),Pt(I.Set)}var en=function(t){if(!ht.TypeIsObject(t))throw new TypeError("target must be an object")},rn={apply:function(){return ht.Call(ht.Call,null,arguments)},construct:function(t,e){if(!ht.IsConstructor(t))throw new TypeError("First argument must be a constructor.");var r=arguments.length>2?arguments[2]:t;if(!ht.IsConstructor(r))throw new TypeError("new.target must be a constructor.");return ht.Construct(t,e,r,"internal")},deleteProperty:function(t,e){if(en(t),c){var r=Object.getOwnPropertyDescriptor(t,e);if(r&&!r.configurable)return!1}return delete t[e]},has:function(t,e){return en(t),e in t}};Object.getOwnPropertyNames&&Object.assign(rn,{ownKeys:function(t){en(t);var e=Object.getOwnPropertyNames(t);return ht.IsCallable(Object.getOwnPropertySymbols)&&A(e,Object.getOwnPropertySymbols(t)),e}});var nn=function(t){return!i(t)};if(Object.preventExtensions&&Object.assign(rn,{isExtensible:function(t){return en(t),Object.isExtensible(t)},preventExtensions:function(t){return en(t),nn((function(){return Object.preventExtensions(t)}))}}),c){var on=function(t,e,r){var n=Object.getOwnPropertyDescriptor(t,e);if(!n){var o=Object.getPrototypeOf(t);if(null===o)return;return on(o,e,r)}return"value"in n?n.value:n.get?ht.Call(n.get,r):void 0},an=function(t,e,n,o){var i=Object.getOwnPropertyDescriptor(t,e);if(!i){var a=Object.getPrototypeOf(t);if(null!==a)return an(a,e,n,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}return"value"in i?!!i.writable&&(!!ht.TypeIsObject(o)&&(Object.getOwnPropertyDescriptor(o,e)?st.defineProperty(o,e,{value:n}):st.defineProperty(o,e,{value:n,writable:!0,enumerable:!0,configurable:!0}))):!!i.set&&(r(i.set,o,n),!0)};Object.assign(rn,{defineProperty:function(t,e,r){return en(t),nn((function(){return Object.defineProperty(t,e,r)}))},getOwnPropertyDescriptor:function(t,e){return en(t),Object.getOwnPropertyDescriptor(t,e)},get:function(t,e){return en(t),on(t,e,arguments.length>2?arguments[2]:t)},set:function(t,e,r){return en(t),an(t,e,r,arguments.length>3?arguments[3]:t)}})}if(Object.getPrototypeOf){var un=Object.getPrototypeOf;rn.getPrototypeOf=function(t){return en(t),un(t)}}if(Object.setPrototypeOf&&rn.getPrototypeOf){Object.assign(rn,{setPrototypeOf:function(t,e){if(en(t),null!==e&&!ht.TypeIsObject(e))throw new TypeError("proto must be an object or null");return e===st.getPrototypeOf(t)||!(st.isExtensible&&!st.isExtensible(t))&&(!function(t,e){for(var r=e;r;){if(t===r)return!0;r=rn.getPrototypeOf(r)}return!1}(t,e)&&(Object.setPrototypeOf(t,e),!0))}})}Object.keys(rn).forEach((function(t){!function(t,e){ht.IsCallable(I.Reflect[t])?a((function(){return I.Reflect[t](1),I.Reflect[t](NaN),I.Reflect[t](!0),!0}))&&at(I.Reflect,t,e):y(I.Reflect,t,e)}(t,rn[t])}));var cn=I.Reflect.getPrototypeOf;if(s&&cn&&"getPrototypeOf"!==cn.name&&at(I.Reflect,"getPrototypeOf",(function(t){return r(cn,I.Reflect,t)})),I.Reflect.setPrototypeOf&&a((function(){return I.Reflect.setPrototypeOf(1,{}),!0}))&&at(I.Reflect,"setPrototypeOf",rn.setPrototypeOf),I.Reflect.defineProperty&&(a((function(){var t=!I.Reflect.defineProperty(1,"test",{value:1}),e="function"!=typeof Object.preventExtensions||!I.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return t&&e}))||at(I.Reflect,"defineProperty",rn.defineProperty)),I.Reflect.construct&&(a((function(){var t=function(){};return I.Reflect.construct((function(){}),[],t)instanceof t}))||at(I.Reflect,"construct",rn.construct)),"Invalid Date"!==String(new Date(NaN))){var sn=Date.prototype.toString;at(Date.prototype,"toString",(function(){var t=+this;return t!=t?"Invalid Date":ht.Call(sn,this)}))}var fn={anchor:function(t){return ht.CreateHTML(this,"a","name",t)},big:function(){return ht.CreateHTML(this,"big","","")},blink:function(){return ht.CreateHTML(this,"blink","","")},bold:function(){return ht.CreateHTML(this,"b","","")},fixed:function(){return ht.CreateHTML(this,"tt","","")},fontcolor:function(t){return ht.CreateHTML(this,"font","color",t)},fontsize:function(t){return ht.CreateHTML(this,"font","size",t)},italics:function(){return ht.CreateHTML(this,"i","","")},link:function(t){return ht.CreateHTML(this,"a","href",t)},small:function(){return ht.CreateHTML(this,"small","","")},strike:function(){return ht.CreateHTML(this,"strike","","")},sub:function(){return ht.CreateHTML(this,"sub","","")},sup:function(){return ht.CreateHTML(this,"sup","","")}};f(Object.keys(fn),(function(t){var e=String.prototype[t],n=!1;if(ht.IsCallable(e)){var o=r(e,"",' " '),i=M([],o.match(/"/g)).length;n=o!==o.toLowerCase()||i>2}else n=!0;n&&at(String.prototype,t,fn[t])}));var pn=function(){if(!ut)return!1;var t="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!t)return!1;if(void 0!==t(J()))return!0;if("[null]"!==t([J()]))return!0;var e={a:J()};return e[J()]=!0,"{}"!==t(e)}(),ln=a((function(){return!ut||"{}"===JSON.stringify(Object(J()))&&"[{}]"===JSON.stringify([Object(J())])}));if(pn||!ln){var hn=JSON.stringify;at(JSON,"stringify",(function(t){if("symbol"!=typeof t){var e;arguments.length>1&&(e=arguments[1]);var o=[t];if(n(e))o.push(e);else{var i=ht.IsCallable(e)?e:null;o.push((function(t,e){var n=i?r(i,this,t,e):e;if("symbol"!=typeof n)return it(n)?Ee({})(n):n}))}return arguments.length>2&&o.push(arguments[2]),hn.apply(this,o)}}))}return I}));