StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/kapsule/dist/kapsule.min.js

2 lines
2.7 KiB

// Version 1.12.1 kapsule - https://github.com/vasturiano/kapsule
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n=n||self).Kapsule=t()}(this,(function(){"use strict";function n(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){if(!(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n)))return;var e=[],r=!0,i=!1,o=void 0;try{for(var u,a=n[Symbol.iterator]();!(r=(u=a.next()).done)&&(e.push(u.value),!t||e.length!==t);r=!0);}catch(n){i=!0,o=n}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return e}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function t(n,t,e){var r,i,o,u,a;function l(){var c=Date.now()-u;c<t&&c>=0?r=setTimeout(l,t-c):(r=null,e||(a=n.apply(o,i),o=i=null))}null==t&&(t=100);var c=function(){o=this,i=arguments,u=Date.now();var c=e&&!r;return r||(r=setTimeout(l,t)),c&&(a=n.apply(o,i),o=i=null),a};return c.clear=function(){r&&(clearTimeout(r),r=null)},c.flush=function(){r&&(a=n.apply(o,i),o=i=null,clearTimeout(r),r=null)},c}t.debounce=t;var e=t,r=function n(t,e){var r=e.default,i=void 0===r?null:r,o=e.triggerUpdate,u=void 0===o||o,a=e.onChange,l=void 0===a?function(n,t){}:a;!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this.name=t,this.defaultVal=i,this.triggerUpdate=u,this.onChange=l};return function(t){var i=t.stateInit,o=void 0===i?function(){return{}}:i,u=t.props,a=void 0===u?{}:u,l=t.methods,c=void 0===l?{}:l,f=t.aliases,s=void 0===f?{}:f,d=t.init,v=void 0===d?function(){}:d,p=t.update,h=void 0===p?function(){}:p,y=Object.keys(a).map((function(n){return new r(n,a[n])}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Object.assign({},o instanceof Function?o(t):o,{initialised:!1}),i={};function u(n){return a(n,t),l(),u}var a=function(n,t){v.call(u,n,r,t),r.initialised=!0},l=e((function(){r.initialised&&(h.call(u,r,i),i={})}),1);return y.forEach((function(n){u[n.name]=function(n){var t=n.name,e=n.triggerUpdate,o=void 0!==e&&e,a=n.onChange,c=void 0===a?function(n,t){}:a,f=n.defaultVal,s=void 0===f?null:f;return function(n){var e=r[t];if(!arguments.length)return e;var a=void 0===n?s:n;return r[t]=a,c.call(u,a,r,e),!i.hasOwnProperty(t)&&(i[t]=e),o&&l(),u}}(n)})),Object.keys(c).forEach((function(n){u[n]=function(){for(var t,e=arguments.length,i=new Array(e),o=0;o<e;o++)i[o]=arguments[o];return(t=c[n]).call.apply(t,[u,r].concat(i))}})),Object.entries(s).forEach((function(t){var e=n(t,2),r=e[0],i=e[1];return u[r]=u[i]})),u.resetProps=function(){return y.forEach((function(n){u[n.name](n.defaultVal)})),u},u.resetProps(),r._rerender=l,u}}}));