"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var mergeOptionsToData=function(){var t,n=Object.assign({},0<arguments.length&&void 0!==arguments[0]?arguments[0]:{});for(t in n)n.hasOwnProperty(t)&&"function"==typeof n[t]&&delete n[t];return n},bind=function(i,r){return function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return n.length?i.apply(r,n):i.call(r)}},assign=function(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return Object.assign.apply(Object,[{}].concat(n))},_default=exports.default=Behavior({definitionFilter:function(t){t.data=mergeOptionsToData(t.data),t.data.in=!1,t.data.visible=!1},methods:{$$mergeOptionsToData:mergeOptionsToData,$$mergeOptionsAndBindMethods:function(){var t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.fns,i=Object.assign({},n);for(t in i)i.hasOwnProperty(t)&&"function"==typeof i[t]&&(e[t]=bind(i[t],this),delete i[t]);return i},$$setData:function(){for(var n=this,t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];var r=assign.apply(void 0,[{}].concat(e));return new Promise(function(t){n.setData(r,t)})},$$requestAnimationFrame:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:function(){},n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:1e3/60;return new Promise(function(t){return setTimeout(t,n)}).then(t)}},created:function(){this.fns={}},detached:function(){this.fns={}}});