From 6f362d062b8a550f48f157b2f24dc6b5808802bb Mon Sep 17 00:00:00 2001 From: null Date: Fri, 3 Dec 2021 00:13:25 +0000 Subject: [PATCH] Automated release: 2021-12-03, 00:13:25 --- docs/web/bundle-834a37d.worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web/bundle-834a37d.worker.js b/docs/web/bundle-834a37d.worker.js index 33431722..14037e08 100644 --- a/docs/web/bundle-834a37d.worker.js +++ b/docs/web/bundle-834a37d.worker.js @@ -1 +1 @@ -!function(e){var a={};function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=a,r.d=function(e,a,t){r.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:t})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,a){if(1&a&&(e=r(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)r.d(t,n,function(a){return e[a]}.bind(null,n));return t},r.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(a,"a",a),a},r.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},r.p="",r(r.s=0)}([function(e,a){self.onmessage=function(e){var a,r=e.data,t=r.frameSize,n=r.imageData,f=r.state,o=r.imageDimensions,i={size:[t.width,t.height],frames:[f.frames.x,f.frames.y],layers:[],animations:[],pixels:[]},s=f.frames.x*f.frames.y;for(a=1;a<=s;a++)i.layers.push([a,a,"Layer ".concat(a),0,100,1]);var u=1,l={canvas:{x:1,y:1},frame:{x:1,y:1}};for(a=0;a0){var p=[u,l.frame.x,l.frame.y,c,m,y,d];i.pixels.push(p)}if(l.frame.x===t.width?(u++,l.frame.x=1):l.frame.x++,l.canvas.x===o.width){var x=Math.floor(l.canvas.y/(o.height/f.frames.y));u=1+f.frames.x*x,l.frame.x=1,l.canvas.y%(o.height/f.frames.y)==0?l.frame.y=1:l.frame.y++,l.canvas.x=1,l.canvas.y++}else l.canvas.x++}self.postMessage(i)}}]); \ No newline at end of file +!function(r){var e={};function t(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return r[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=r,t.c=e,t.d=function(r,e,n){t.o(r,e)||Object.defineProperty(r,e,{enumerable:!0,get:n})},t.r=function(r){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,e){if(1&e&&(r=t(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var o in r)t.d(n,o,function(e){return r[e]}.bind(null,o));return n},t.n=function(r){var e=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(e,"a",e),e},t.o=function(r,e){return Object.prototype.hasOwnProperty.call(r,e)},t.p="",t(t.s=0)}([function(r,e){function t(r,e){return r[e.x]&&r[e.x][e.y]||!1}function n(r){return r.x+":"+r.y}self.onmessage=function(r){var e=this,o={},u=r.data,a=u.point,f=u.pixels,i=u.fillColor,l=u.layer,y=u.layerZ,c=u.frame,s=u.bounds,x=t(f,a);x||(x={frame:c,layer:l,x:a.x,y:a.y,r:0,g:0,b:0,a:0});for(var b={r:x.r,g:x.g,b:x.b,a:x.a},p={},g=[x],d=function(){var r=[],u={};g.forEach((function(e){p[n(e)]=!0;var a,x,g,d=t(f,e);a=d?{r:d.r,g:d.g,b:d.b,a:d.a}:{r:0,g:0,b:0,a:0},g=b,(x=a).r===g.r&&x.g===g.g&&x.b===g.b&&x.a===g.a&&(o[e.x]||(o[e.x]={}),o[e.x][e.y]={frame:c,layer:l,x:e.x,y:e.y,z:y,r:i.r,g:i.g,b:i.b,a:i.a},function(r,e){var t,n=[];return(t={x:r.x,y:r.y-1}).y>=e.top&&n.push(t),(t={x:r.x+1,y:r.y}).x<=e.right&&n.push(t),(t={x:r.x,y:r.y+1}).y<=e.bottom&&n.push(t),(t={x:r.x-1,y:r.y}).x>=e.left&&n.push(t),n}(e,s).forEach((function(e){p[n(e)]||u[n(e)]||(r.push(e),u[n(e)]=!0)}),this))}),e),g=r.slice(0)};g.length>0;)d();self.postMessage(o)}}]); \ No newline at end of file