UNPKG

@nethesis/phone-island

Version:
9 lines (8 loc) 1.12 kB
"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */ var r,e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){if(e)return r;e=1;var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;return r=function(){try{if(!Object.assign)return!1;var r=new String("abc");if(r[5]="de","5"===Object.getOwnPropertyNames(r)[0])return!1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(r){return e[r]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(r){n[r]=r})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(r){return!1}}()?Object.assign:function(r,e){for(var c,i,a=function(r){if(null==r)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(r)}(r),u=1;u<arguments.length;u++){for(var f in c=Object(arguments[u]))n.call(c,f)&&(a[f]=c[f]);if(t){i=t(c);for(var s=0;s<i.length;s++)o.call(c,i[s])&&(a[i[s]]=c[i[s]])}}return a}}; //# sourceMappingURL=index.js.map