1
(function(){/*
2
3
Copyright The Closure Library Authors.
4
SPDX-License-Identifier: Apache-2.0
5
*/
6
function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}
7
:{done:!0}
8
}
9
}
10
var l="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}
11
;
12
function ba(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}
13
throw Error("Cannot find global object");}
14
var ca=ba(this),da="function"===typeof Symbol&&"symbol"===typeof Symbol("x"),t={}
15
,v={}
16
;function x(a,b){var c=v[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]}
17
18
function A(a,b,c){if(b)a:{var d=a.split(".");a=1===d.length;var e=d[0],f;!a&&e in t?f=t:f=ca;for(e=0;e<d.length-1;e++){var g=d[e];if(!(g in f))break a;f=f[g]}
19
d=d[d.length-1];c=da&&"es6"===c?f[d]:null;b=b(c);null!=b&&(a?l(t,d,{configurable:!0,writable:!0,value:b}
20
):b!==c&&(void 0===v[d]&&(a=1E9*Math.random()>>>0,v[d]=da?ca.Symbol(d):"$jscp$"+a+"$"+d),l(f,v[d],{configurable:!0,writable:!0,value:b}
21
)))}
22
}
23
24
A("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)}
25
function c(f,g){this.g=f;l(this,"description",{configurable:!0,writable:!0,value:g}
26
)}
27
if(a)return a;c.prototype.toString=function(){return this.g}
28
;var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b}
29
,"es6");
30
A("Symbol.iterator",function(a){if(a)return a;a=(0,t.Symbol)("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var d=ca[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&l(d.prototype,a,{configurable:!0,writable:!0,value:function(){return ea(aa(this))}
31
}
32
)}
33
return a}
34
,"es6");function ea(a){a={next:a}
35
;a[x(t.Symbol,"iterator")]=function(){return this}
36
;return a}
37
38
A("String.prototype.endsWith",function(a){return a?a:function(b,c){if(null==this)throw new TypeError("The 'this' value for String.prototype.endsWith must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype.endsWith must not be a regular expression");void 0===c&&(c=this.length);c=Math.max(0,Math.min(c|0,this.length));for(var d=b.length;0<d&&0<c;)if(this[--c]!=b[--d])return!1;return 0>=d}
39
}
40
,"es6");
...
</html>