diff --git a/docs/assets/javascripts/ginseng.js b/docs/assets/javascripts/ginseng.js index 5fb10fc6d..1361ac40a 100644 --- a/docs/assets/javascripts/ginseng.js +++ b/docs/assets/javascripts/ginseng.js @@ -1 +1 @@ -!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){"use strict";function i(e){if(window.requestIdleCallback)return window.requestIdleCallback(e);var t=Date.now();return window.setTimeout(function(){return e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)}function o(e){return window.cancelIdleCallback?window.cancelIdleCallback(e):window.clearTimeout(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.native="function"==typeof window.requestIdleCallback,t.enqueue=i,t.dequeue=o},function(e,t,n){e.exports=n(2)},function(e,t,n){"use strict";function i(e){return e.data.concat(e.children?e.children.map(i):[])}Object.defineProperty(t,"__esModule",{value:!0});var o=n(3),r=n(7),u=n(8);t.pack=i;var c=new o.LayoutTask(document.body);c.run(function(e){console.log(c.execution),u.request("https://api.staging.ginseng.ai/collect",{method:"POST",headers:{"X-Api-Key":"GutlUecLmu5mCFNVOXe403pKi0Fon4rb2vMMbVyR"},body:JSON.stringify([r.viewport(),c.execution,i(e)].map(function(e){return JSON.stringify(e)}))},function(){})})},function(e,t,n){"use strict";var i=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),r=n(6),u=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return i(t,e),t.prototype.run=function(e){var t=this;return this.schedule(function(n,i){return t.execute(n,i)?function(){return e(i.queue[0][1])}:void 0},{index:0,queue:[[this.el,{}]]})},t.prototype.execute=function(e,t){for(;e.timeRemaining()>1&&t.index1&&t.index