mirror of
https://github.com/ionic-team/ionicons.git
synced 2026-11-30 16:48:16 +01:00
2 lines
1.6 KiB
JavaScript
2 lines
1.6 KiB
JavaScript
/*! Built with http://stenciljs.com */
|
|
DocsSite.loadBundle("array.js",["exports"],function(r){window,r.applyPolyfill=function(r,e){var t,n,o;Array.prototype.find||Object.defineProperty(Array.prototype,"find",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof r)throw new TypeError("predicate must be a function");for(var o=0;o<n;){var i=t[o];if(r.call(e,i,o,t))return i;o++}}}),Array.from||(Array.from=(t=Object.prototype.toString,n=function(r){return"function"==typeof r||"[object Function]"===t.call(r)},o=Math.pow(2,53)-1,function(r){var e=Object(r);if(null==r)throw new TypeError("Array.from requires an array-like object - not null or undefined");var t,i=1<arguments.length?arguments[1]:void 0;if(void 0!==i){if(!n(i))throw new TypeError("Array.from: when provided, the second argument must be a function");2<arguments.length&&(t=arguments[2])}var a=Number(e.length);a=isNaN(a)?0:0!==a&&isFinite(a)?(0<a?1:-1)*Math.floor(Math.abs(a)):a,a=Math.min(Math.max(a,0),o);for(var l,f=n(this)?Object(new this(a)):Array(a),u=0;u<a;)l=e[u],f[u]=i?void 0===t?i(l,u):i.call(t,l,u):l,u+=1;return f.length=a,f})),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{writable:!0,configurable:!0,value:function(r,e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if(0===n)return!1;for(var o,i,a=0|e,l=Math.max(0<=a?a:n-Math.abs(a),0);l<n;){if((o=t[l])===(i=r)||"number"==typeof o&&"number"==typeof i&&isNaN(o)&&isNaN(i))return!0;l++}return!1}})},Object.defineProperty(r,"__esModule",{value:!0})}); |