UNPKG

storybook-prebuilt

Version:

A prebuilt storybook version for web components

3 lines (2 loc) 2.49 kB
function t(o){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(o)}import{a as o}from"./storybook-prebuilt-3ba63d3f.js";var e="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,n=Object.prototype.toString,c=Function.prototype.bind||function(t){var o=this;if("function"!=typeof o||"[object Function]"!==n.call(o))throw new TypeError(e+o);for(var c,p=r.call(arguments,1),i=function(){if(this instanceof c){var e=o.apply(this,p.concat(r.call(arguments)));return Object(e)===e?e:this}return o.apply(t,p.concat(r.call(arguments)))},y=Math.max(0,o.length-p.length),l=[],u=0;u<y;u++)l.push("$"+u);if(c=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(i),o.prototype){var f=function(){};f.prototype=o.prototype,c.prototype=new f,f.prototype=null}return c},p=c.call(Function.call,Object.prototype.hasOwnProperty),i=RegExp.prototype.exec,y=Object.getOwnPropertyDescriptor,l=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"===t(Symbol.toStringTag),f=function(o){if(!o||"object"!==t(o))return!1;if(!u)return"[object RegExp]"===l.call(o);var e=y(o,"lastIndex");return!(!e||!p(e,"value"))&&function(t){try{var o=t.lastIndex;return t.lastIndex=0,i.call(t),!0}catch(t){return!1}finally{t.lastIndex=o}}(o)},b=o.Symbol,a=function(){return"function"==typeof b&&("function"==typeof Symbol&&("symbol"===t(b("foo"))&&("symbol"===t(Symbol("bar"))&&function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"===t(Symbol.iterator))return!0;var o={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in o[e]=42,o)return!1;if("function"==typeof Object.keys&&0!==Object.keys(o).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(o).length)return!1;var n=Object.getOwnPropertySymbols(o);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(o,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var c=Object.getOwnPropertyDescriptor(o,e);if(42!==c.value||!0!==c.enumerable)return!1}return!0}())))};export{c as b,f as i,a as r}; //# sourceMappingURL=storybook-prebuilt-4e5e6cbb.js.map