pleroma/priv/static/packs/base_polyfills.js

2 lines
101 KiB
JavaScript
Raw Normal View History

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1e3:function(e,t,r){"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},1001:function(e,t,r){"use strict";var n=r(914),o=Object.keys;e.exports=function(e){return o(n(e)?Object(e):e)}},1002:function(e,t,r){"use strict";e.exports=function(){}},1003:function(e,t,r){"use strict";var n=r(914);e.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}},1004:function(e,t,r){"use strict";var n=r(914),o=Array.prototype.forEach,a=Object.create;e.exports=function(e){var t=a(null);return o.call(arguments,function(e){n(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)}),t}},1005:function(e,t,r){"use strict";e.exports=function(e){return"function"==typeof e}},1006:function(e,t,r){"use strict";e.exports=r(1007)()?String.prototype.contains:r(1008)},1007:function(e,t,r){"use strict";var n="razdwatrzy";e.exports=function(){return"function"==typeof n.contains&&(!0===n.contains("dwa")&&!1===n.contains("foo"))}},1008:function(e,t,r){"use strict";var n=String.prototype.indexOf;e.exports=function(e){return-1<n.call(this,e,arguments[1])}},1009:function(e,t,r){"use strict";var n=r(1010);e.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}},1010:function(e,t,r){"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}},1011:function(e,t,r){"use strict";var f=Object.prototype.hasOwnProperty,p=Object.prototype.toString,n=Array.prototype.slice,h=r(1012),o=Object.prototype.propertyIsEnumerable,m=!o.call({toString:null},"toString"),d=o.call(function(){},"prototype"),g=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],b=function(e){var t=e.constructor;return t&&t.prototype===e},a={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!a["$"+e]&&f.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{b(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),i=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===p.call(e),n=h(e),o=t&&"[object String]"===p.call(e),a=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var i=d&&r;if(o&&0<e.length&&!f.call(e,0))for(var s=0;s<e.length;++s)a.push(String(s));if(n&&0<e.length)for(var u=0;u<e.length;++u)a.push(String(u));else for(var l in e)i&&"prototype"===l||!f.call(e,l)||a.push(String(l));if(m)for(var c=function(e){if("undefined"==typeof window||!v)return b(e);try{return b(e)}catch(e){return!1}}(e),y=0;y<g.length;++y)c&&"constructor"===g[y]||!f.call(e,g[y])||a.push(g[y]);return a};i.shim=function(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var t=Object.keys;Object.keys=function(e){return h(e)?t(n.call(e)):t(e)}}}else Object.keys=i;return Object.keys||i},e.exports=i},1012:function(e,t,r){"use strict";var n=Object.prototype.toString;e.exports=function(e){var t=n.call(e),r="[object Arguments]"===t;return r||(r="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Function]"===n.call(e.callee)),r}},1013:function(e,t,r){"use strict";var u=Array.prototype.slice,l=Object.prototype.toString;e.exports=function(t){var r=this;if("function"!=typeof r||"[object Function]"!==l.call(r))throw new TypeError("Function.prototype.bind called on incompatible "+r);for(var n,o=u.call(arguments,1),e=Math.max(0,r.length-o.length),a=[],i=0;i<e;i++)a.push("$"+i);if(n=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof n){var e=r.apply(this,o.concat(u.call(arguments)));ret
//# sourceMappingURL=base_polyfills.js.map