summaryrefslogtreecommitdiffstats
path: root/js/vendor/traceur-runtime/traceur-runtime.min.js
blob: 89d70e0b353ac6311ee03e6d83d3b2316765bb5e (plain)
1
2
3
!function(a){"use strict";function b(a){return{configurable:!0,enumerable:!1,value:a,writable:!0}}function c(){return"__$"+Math.floor(1e9*Math.random())+"$"+ ++P+"$__"}function d(){var a=c();return U[a]=!0,a}function e(a){return"object"==typeof a&&a instanceof h}function f(a){return e(a)?"symbol":typeof a}function g(a){var b=new h(a);if(!(this instanceof g))return b;throw new TypeError("Symbol cannot be new'ed")}function h(a){var b=c();E(this,S,{value:this}),E(this,Q,{value:b}),E(this,R,{value:a}),j(this),T[b]=this}function i(a){var b=a[V];return b&&b.self===a?b:M(a)?(X.hash.value=Y++,X.self.value=a,W.value=C(null,X),E(a,V,W),W.value):void 0}function j(a){return i(a),F.apply(this,arguments)}function k(a){return i(a),K.apply(this,arguments)}function l(a){return i(a),L.apply(this,arguments)}function m(a){return e(a)?a[Q]:a}function n(a){for(var b=[],c=H(a),d=0;d<c.length;d++){var e=c[d];T[e]||U[e]||b.push(e)}return b}function o(a,b){return G(a,m(b))}function p(a){for(var b=[],c=H(a),d=0;d<c.length;d++){var e=T[c[d]];e&&b.push(e)}return b}function q(a){return J.call(this,m(a))}function r(b){return a.traceur&&a.traceur.options[b]}function s(a,b,c){var d,f;return e(b)&&(d=b,b=b[Q]),a[b]=c,d&&(f=G(a,b))&&E(a,b,{enumerable:!1}),c}function t(a,b,c){return e(b)&&(c.enumerable&&(c=C(c,{enumerable:{value:!1}})),b=b[Q]),E(a,b,c),a}function u(a){E(a,"defineProperty",{value:t}),E(a,"getOwnPropertyNames",{value:n}),E(a,"getOwnPropertyDescriptor",{value:o}),E(a.prototype,"hasOwnProperty",{value:q}),E(a,"freeze",{value:j}),E(a,"preventExtensions",{value:k}),E(a,"seal",{value:l}),a.getOwnPropertySymbols=p}function v(a){for(var b=1;b<arguments.length;b++)for(var c=H(arguments[b]),d=0;d<c.length;d++){var e=c[d];U[e]||!function(b,c){E(a,c,{get:function(){return b[c]},enumerable:!0})}(arguments[b],c[d])}return a}function w(a){return null!=a&&("object"==typeof a||"function"==typeof a)}function x(a){if(null==a)throw B();return A(a)}function y(a){if(null==a)throw new TypeError("Value cannot be converted to an Object");return a}function z(a){a.Symbol=g,a.Reflect=a.Reflect||{},a.Reflect.global=a.Reflect.global||a,u(a.Object)}if(!a.$traceurRuntime){var A=Object,B=TypeError,C=A.create,D=A.defineProperties,E=A.defineProperty,F=A.freeze,G=A.getOwnPropertyDescriptor,H=A.getOwnPropertyNames,I=A.keys,J=A.prototype.hasOwnProperty,K=(A.prototype.toString,Object.preventExtensions),L=Object.seal,M=Object.isExtensible,N={"void":function(){},any:function(){},string:function(){},number:function(){},"boolean":function(){}},O=b,P=0,Q=c(),R=c(),S=c(),T=C(null),U=C(null);E(g.prototype,"constructor",b(g)),E(g.prototype,"toString",O(function(){var a=this[S];if(!r("symbols"))return a[Q];if(!a)throw TypeError("Conversion from symbol to string");var b=a[R];return void 0===b&&(b=""),"Symbol("+b+")"})),E(g.prototype,"valueOf",O(function(){var a=this[S];if(!a)throw TypeError("Conversion from symbol to string");return r("symbols")?a:a[Q]})),E(h.prototype,"constructor",b(g)),E(h.prototype,"toString",{value:g.prototype.toString,enumerable:!1}),E(h.prototype,"valueOf",{value:g.prototype.valueOf,enumerable:!1});var V=d(),W={value:void 0},X={hash:{value:void 0},self:{value:void 0}},Y=0;g.iterator=g(),j(h.prototype),z(a),a.$traceurRuntime={createPrivateName:d,exportStar:v,getOwnHashObject:i,privateNames:U,setProperty:s,setupGlobals:z,toObject:x,isObject:w,toProperty:m,type:N,"typeof":f,checkObjectCoercible:y,hasOwnProperty:function(a,b){return q.call(a,b)},defineProperties:D,defineProperty:E,getOwnPropertyDescriptor:G,getOwnPropertyNames:H,keys:I}}}("undefined"!=typeof global?global:this),function(){"use strict";function a(){for(var a,b=[],c=0,d=0;d<arguments.length;d++){var e=$traceurRuntime.checkObjectCoercible(arguments[d]);if("function"!=typeof e[$traceurRuntime.toProperty(Symbol.iterator)])throw new TypeError("Cannot spread non-iterable object.");for(var f=e[$traceurRuntime.toProperty(Symbol.iterator)]();!(a=f.next()).done;)b[c++]=a.value}return b}$traceurRuntime.spread=a}(),function(){"use strict";function a(a,b){var c=p(a);do{var d=n(c,b);if(d)return d;c=p(c)}while(c);return void 0}function b(a,b,d,e){return c(a,b,d).apply(a,e)}function c(b,c,d){var e=a(c,d);return e?e.get?e.get.call(b):e.value:void 0}function d(b,c,d,e){var f=a(c,d);if(f&&f.set)return f.set.call(b,e),e;throw j("super has no setter '"+d+"'.")}function e(a){for(var b,c={},d=o(a),e=0;e<d.length;e++){var b=d[e];c[b]=n(a,b)}return c}function f(a,b,c,d){return m(b,"constructor",{value:a,configurable:!0,enumerable:!1,writable:!0}),arguments.length>3?("function"==typeof d&&(a.__proto__=d),a.prototype=k(g(d),e(b))):a.prototype=b,m(a,"prototype",{configurable:!1,writable:!1}),l(a,e(c))}function g(a){if("function"==typeof a){var b=a.prototype;if(i(b)===b||null===b)return a.prototype;throw new j("super prototype must be an Object or null")}if(null===a)return null;throw new j("Super expression must either be null or a function, not "+typeof a+".")}function h(a,c,d){null!==p(c)&&b(a,c,"constructor",d)}var i=Object,j=TypeError,k=i.create,l=$traceurRuntime.defineProperties,m=$traceurRunti