MCPcopy Index your code
hub / github.com/plotly/plotly.py / "node_modules/es6-iterator/array.js"

Function "node_modules/es6-iterator/array.js"

js/lib/mimeExtension.js:2197–2197  ·  view source on GitHub ↗
(Y,H)

Source from the content-addressed store, hash-verified

2195}
2196`]),w&&(le.frag=le.frag.replace("smoothstep","smoothStep"),se.frag=se.frag.replace("smoothstep","smoothStep")),this.drawCircle=y(le)}b.defaults={color:"black",borderColor:"transparent",borderSize:0,size:12,opacity:1,marker:void 0,viewport:null,range:null,pixelSize:null,count:0,offset:0,bounds:null,positions:[],snap:1e4},b.prototype.render=function(){return arguments.length&&this.update.apply(this,arguments),this.draw(),this},b.prototype.draw=function(){for(var y=this,f=arguments.length,R=new Array(f),L=0;L<f;L++)R[L]=arguments[L];var z=this.groups;if(R.length===1&&Array.isArray(R[0])&&(R[0][0]===null||Array.isArray(R[0][0]))&&(R=R[0]),this.regl._refresh(),R.length)for(var F=0;F<R.length;F++)this.drawItem(F,R[F]);else z.forEach(function(N,B){y.drawItem(B)});return this},b.prototype.drawItem=function(y,f){var R=this.groups,L=R[y];if(typeof f=="number"&&(y=f,L=R[f],f=null),!!(L&&L.count&&L.opacity)){L.activation[0]&&this.drawCircle(this.getMarkerDrawOptions(0,L,f));for(var z=[],F=1;F<L.activation.length;F++)!L.activation[F]||L.activation[F]!==!0&&!L.activation[F].data.length||z.push.apply(z,S(this.getMarkerDrawOptions(F,L,f)));z.length&&this.drawMarker(z)}},b.prototype.getMarkerDrawOptions=function(y,f,R){var L=f.range,z=f.tree,F=f.viewport,N=f.activation,B=f.selectionBuffer,I=f.count,U=this.regl;if(!z)return R?[m({},f,{markerTexture:this.markerTextures[y],activation:N[y],count:R.length,elements:R,offset:0})]:[m({},f,{markerTexture:this.markerTextures[y],activation:N[y],offset:0})];var O=[],X=z.range(L,{lod:!0,px:[(L[2]-L[0])/F.width,(L[3]-L[1])/F.height]});if(R){for(var J=N[y],se=J.data,le=new Uint8Array(I),ce=0;ce<R.length;ce++){var q=R[ce];le[q]=se?se[q]:1}B.subdata(le)}for(var Z=X.length;Z--;){var ee=x(X[Z],2),V=ee[0],oe=ee[1];O.push(m({},f,{markerTexture:this.markerTextures[y],activation:R?B:N[y],offset:V,count:oe-V}))}return O},b.prototype.update=function(){for(var y=this,f=arguments.length,R=new Array(f),L=0;L<f;L++)R[L]=arguments[L];if(R.length){R.length===1&&Array.isArray(R[0])&&(R=R[0]);var z=this.groups,F=this.gl,N=this.regl,B=this.maxSize,I=this.maxColors,U=this.palette;this.groups=z=R.map(function(O,X){var J=z[X];if(O===void 0)return J;O===null?O={positions:null}:typeof O=="function"?O={ondraw:O}:typeof O[0]=="number"&&(O={positions:O}),O=T(O,{positions:"positions data points",snap:"snap cluster lod tree",size:"sizes size radius",borderSize:"borderSizes borderSize border-size bordersize borderWidth borderWidths border-width borderwidth stroke-width strokeWidth strokewidth outline",color:"colors color fill fill-color fillColor",borderColor:"borderColors borderColor stroke stroke-color strokeColor",marker:"markers marker shape",range:"range dataBox databox",viewport:"viewport viewPort viewBox viewbox",opacity:"opacity alpha transparency",bounds:"bound bounds boundaries limits",tooManyColors:"tooManyColors palette paletteMode optimizePalette enablePalette"}),O.positions===null&&(O.positions=[]),O.tooManyColors!=null&&(y.tooManyColors=O.tooManyColors),J||(z[X]=J={id:X,scale:null,translate:null,scaleFract:null,translateFract:null,activation:[],selectionBuffer:N.buffer({data:new Uint8Array(0),usage:"stream",type:"uint8"}),sizeBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),colorBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"uint8"}),positionBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"}),positionFractBuffer:N.buffer({data:new Uint8Array(0),usage:"dynamic",type:"float"})},O=m({},b.defaults,O)),O.positions&&!("marker"in O)&&(O.marker=J.marker,delete J.marker),O.marker&&!("positions"in O)&&(O.positions=J.positions,delete J.positions);var se=0,le=0;if(l(J,O,[{snap:!0,size:function(et,nt){return et==null&&(et=b.defaults.size),se+=et&&et.length?1:0,et},borderSize:function(et,nt){return et==null&&(et=b.defaults.borderSize),se+=et&&et.length?1:0,et},opacity:parseFloat,color:function(et,nt){return et==null&&(et=b.defaults.color),et=y.updateColor(et),le++,et},borderColor:function(et,nt){return et==null&&(et=b.defaults.borderColor),et=y.updateColor(et),le++,et},bounds:function(et,nt,Ae){return"range"in Ae||(Ae.range=null),et},positions:function(et,nt,Ae){var me=nt.snap,fe=nt.positionBuffer,Be=nt.positionFractBuffer,Qe=nt.selectionBuffer;if(et.x||et.y)return et.x.length?nt.xAttr={buffer:N.buffer(et.x),offset:0,stride:4,count:et.x.length}:nt.xAttr={buffer:et.x.buffer,offset:et.x.offset*4||0,stride:(et.x.stride||1)*4,count:et.x.count},et.y.length?nt.yAttr={buffer:N.buffer(et.y),offset:0,stride:4,count:et.y.length}:nt.yAttr={buffer:et.y.buffer,offset:et.y.offset*4||0,stride:(et.y.stride||1)*4,count:et.y.count},nt.count=Math.max(nt.xAttr.count,nt.yAttr.count),et;et=_(et,"float64");var at=nt.count=Math.floor(et.length/2),$e=nt.bounds=at?s(et,2):null;if(!Ae.range&&!nt.range&&(delete nt.range,Ae.range=$e),!Ae.marker&&!nt.marker&&(delete nt.marker,Ae.marker=null),me&&(me===!0||at>me)?nt.tree=c(et,{bounds:$e}):me&&me.length&&(nt.tree=me),nt.tree){var It={primitive:"points",usage:"static",data:nt.tree,type:"uint32"};nt.elements?nt.elements(It):nt.elements=N.elements(It)}var Pt=A.float32(et);fe({data:Pt,usage:"dynamic"});var Vt=A.fract32(et,Pt);return Be({data:Vt,usage:"dynamic"}),Qe({data:new Uint8Array(at),type:"uint8",usage:"stream"}),et}},{marker:function(et,nt,Ae){var me=nt.activation;if(me.forEach(function(Vt){return Vt&&Vt.destroy&&Vt.destroy()}),me.length=0,!et||typeof et[0]=="number"){var fe=y.addMarker(et);me[fe]=!0}else{for(var Be=[],Qe=0,at=Math.min(et.length,nt.count);Qe<at;Qe++){var $e=y.addMarker(et[Qe]);Be[$e]||(Be[$e]=new Uint8Array(nt.count)),Be[$e][Qe]=1}for(var It=0;It<Be.length;It++)if(Be[It]){var Pt={data:Be[It],type:"uint8",usage:"static"};me[It]?me[It](Pt):me[It]=N.buffer(Pt),me[It].data=Be[It]}}return et},range:function(et,nt,Ae){var me=nt.bounds;if(me)return et||(et=me),nt.scale=[1/(et[2]-et[0]),1/(et[3]-et[1])],nt.translate=[-et[0],-et[1]],nt.scaleFract=A.fract(nt.scale),nt.translateFract=A.fract(nt.translate),et},viewport:function(et){var nt=M(et||[F.drawingBufferWidth,F.drawingBufferHeight]);return nt}}]),se){var ce=J,q=ce.count,Z=ce.size,ee=ce.borderSize,V=ce.sizeBuffer,oe=new Uint8Array(q*2);if(Z.length||ee.length)for(var ie=0;ie<q;ie++)oe[ie*2]=Math.round((Z[ie]==null?Z:Z[ie])*255/B),oe[ie*2+1]=Math.round((ee[ie]==null?ee:ee[ie])*255/B);V({data:oe,usage:"dynamic"})}if(le){var j=J,Q=j.count,re=j.color,ue=j.borderColor,_e=j.colorBuffer,we;if(y.tooManyColors){if(re.length||ue.length){we=new Uint8Array(Q*8);for(var Re=0;Re<Q;Re++){var ze=re[Re];we[Re*8]=U[ze*4],we[Re*8+1]=U[ze*4+1],we[Re*8+2]=U[ze*4+2],we[Re*8+3]=U[ze*4+3];var Xe=ue[Re];we[Re*8+4]=U[Xe*4],we[Re*8+5]=U[Xe*4+1],we[Re*8+6]=U[Xe*4+2],we[Re*8+7]=U[Xe*4+3]}}}else if(re.length||ue.length){we=new Uint8Array(Q*4+2);for(var tt=0;tt<Q;tt++)re[tt]!=null&&(we[tt*4]=re[tt]%I,we[tt*4+1]=Math.floor(re[tt]/I)),ue[tt]!=null&&(we[tt*4+2]=ue[tt]%I,we[tt*4+3]=Math.floor(ue[tt]/I))}_e({data:we||new Uint8Array(0),type:"uint8",usage:"dynamic"})}return J})}},b.prototype.addMarker=function(y){var f=this.markerTextures,R=this.regl,L=this.markerCache,z=y==null?0:L.indexOf(y);if(z>=0)return z;var F;if(y instanceof Uint8Array||y instanceof Uint8ClampedArray)F=y;else{F=new Uint8Array(y.length);for(var N=0,B=y.length;N<B;N++)F[N]=y[N]*255}var I=Math.floor(Math.sqrt(F.length));return z=f.length,L.push(y),f.push(R.texture({channels:1,data:F,radius:I,mag:"linear",min:"linear"})),z},b.prototype.updateColor=function(y){var f=this.paletteIds,R=this.palette,L=this.maxColors;Array.isArray(y)||(y=[y]);var z=[];if(typeof y[0]=="number"){var F=[];if(Array.isArray(y))for(var N=0;N<y.length;N+=4)F.push(y.slice(N,N+4));else for(var B=0;B<y.length;B+=4)F.push(y.subarray(B,B+4));y=F}for(var I=0;I<y.length;I++){var U=y[I];U=a(U,"uint8");var O=h(U,!1);if(f[O]==null){var X=R.length;f[O]=Math.floor(X/4),R[X]=U[0],R[X+1]=U[1],R[X+2]=U[2],R[X+3]=U[3]}z[I]=f[O]}return!this.tooManyColors&&R.length>L*4&&(this.tooManyColors=!0),this.updatePalette(R),z.length===1?z[0]:z},b.prototype.updatePalette=function(y){if(!this.tooManyColors){var f=this.maxColors,R=this.paletteTexture,L=Math.ceil(y.length*.25/f);if(L>1){y=y.slice();for(var z=y.length*.25%f;z<L*f;z++)y.push(0,0,0,0)}R.height<L&&R.resize(f,L),R.subimage({width:Math.min(y.length*.25,f),height:L,data:y},0,0)}},b.prototype.destroy=function(){return this.groups.forEach(function(y){y.sizeBuffer.destroy(),y.positionBuffer.destroy(),y.positionFractBuffer.destroy(),y.colorBuffer.destroy(),y.activation.forEach(function(f){return f&&f.destroy&&f.destroy()}),y.selectionBuffer.destroy(),y.elements&&y.elements.destroy()}),this.groups.length=0,this.paletteTexture.destroy(),this.markerTextures.forEach(function(y){return y&&y.destroy&&y.destroy()}),this};var v=ih(),u=function(f,R){var L=new g(f,R),z=L.render.bind(L);return v(z,{render:z,update:L.update.bind(L),draw:L.draw.bind(L),destroy:L.destroy.bind(L),regl:L.regl,gl:L.gl,canvas:L.gl.canvas,groups:L.groups,markers:L.markerCache,palette:L.palette}),z};H.exports=u}}),NP=De({"node_modules/earcut/src/earcut.js"(Y,H){"use strict";H.exports=p,H.exports.default=p;function p(N,B,I){I=I||2;var U=B&&B.length,O=U?B[0]*I:N.length,X=x(N,0,O,I,!0),J=[];if(!X||X.next===X.prev)return J;var se,le,ce,q,Z,ee,V;if(U&&(X=i(N,B,X,I)),N.length>80*I){se=ce=N[0],le=q=N[1];for(var oe=I;oe<O;oe+=I)Z=N[oe],ee=N[oe+1],Z<se&&(se=Z),ee<le&&(le=ee),Z>ce&&(ce=Z),ee>q&&(q=ee);V=Math.max(ce-se,q-le),V=V!==0?32767/V:0}return E(X,J,I,se,le,V,0),J}function x(N,B,I,U,O){var X,J;if(O===F(N,B,I,U)>0)for(X=B;X<I;X+=U)J=R(X,N[X],N[X+1],J);else for(X=I-U;X>=B;X-=U)J=R(X,N[X],N[X+1],J);return J&&A(J,J.next)&&(L(J),J=J.next),J}function S(N,B){if(!N)return N;B||(B=N);var I=N,U;do if(U=!1,!I.steiner&&(A(I,I.next)||w(I.prev,I,I.next)===0)){if(L(I),I=B=I.prev,I===I.next)break;U=!0}else I=I.next;while(U||I!==B);return B}function E(N,B,I,U,O,X,J){if(N){!J&&X&&c(N,U,O,X);for(var se=N,le,ce;N.prev!==N.next;){if(le=N.prev,ce=N.next,X?t(N,U,O,X):e(N)){B.push(le.i/I|0),B.push(N.i/I|0),B.push(ce.i/I|0),L(N),N=ce.next,se=ce.next;continue}if(N=ce,N===se){J?J===1?(N=r(S(N),B,I),E(N,B,I,U,O,X,2)):J===2&&o(N,B,I,U,O,X):E(S(N),B,I,U,O,X,1);break}}}}function e(N){var B=N.prev,I=N,U=N.next;if(w(B,I,U)>=0)return!1;for(var O=B.x,X=I.x,J=U.x,se=B.y,le=I.y,ce=U.y,q=O<X?O<J?O:J:X<J?X:J,Z=se<le?se<ce?se:ce:le<ce?le:ce,ee=O>X?O>J?O:J:X>J?X:J,V=se>le?se>ce?se:ce:le>ce?le:ce,oe=U.next;oe!==B;){if(oe.x>=q&&oe.x<=ee&&oe.y>=Z&&oe.y<=V&&l(O,se,X,le,J,ce,oe.x,oe.y)&&w(oe.prev,oe,oe.next)>=0)return!1;oe=oe.next}return!0}function t(N,B,I,U){var O=N.prev,X=N,J=N.next;if(w(O,X,J)>=0)return!1;for(var se=O.x,le=X.x,ce=J.x,q=O.y,Z=X.y,ee=J.y,V=se<le?se<ce?se:ce:le<ce?le:ce,oe=q<Z?q<ee?q:ee:Z<ee?Z:ee,ie=se>le?se>ce?se:ce:le>ce?le:ce,j=q>Z?q>ee?q:ee:Z>ee?Z:ee,Q=d(V,oe,B,I,U),re=d(ie,j,B,I,U),ue=N.prevZ,_e=N.nextZ;ue&&ue.z>=Q&&_e&&_e.z<=re;){if(ue.x>=V&&ue.x<=ie&&ue.y>=oe&&ue.y<=j&&ue!==O&&ue!==J&&l(se,q,le,Z,ce,ee,ue.x,ue.y)&&w(ue.prev,ue,ue.next)>=0||(ue=ue.prevZ,_e.x>=V&&_e.x<=ie&&_e.y>=oe&&_e.y<=j&&_e!==O&&_e!==J&&l(se,q,le,Z,ce,ee,_e.x,_e.y)&&w(_e.prev,_e,_e.next)>=0))return!1;_e=_e.nextZ}for(;ue&&ue.z>=Q;){if(ue.x>=V&&ue.x<=ie&&ue.y>=oe&&ue.y<=j&&ue!==O&&ue!==J&&l(se,q,le,Z,ce,ee,ue.x,ue.y)&&w(ue.prev,ue,ue.next)>=0)return!1;ue=ue.prevZ}for(;_e&&_e.z<=re;){if(_e.x>=V&&_e.x<=ie&&_e.y>=oe&&_e.y<=j&&_e!==O&&_e!==J&&l(se,q,le,Z,ce,ee,_e.x,_e.y)&&w(_e.prev,_e,_e.next)>=0)return!1;_e=_e.nextZ}return!0}function r(N,B,I){var U=N;do{var O=U.prev,X=U.next.next;!A(O,X)&&M(O,U,U.next,X)&&u(O,X)&&u(X,O)&&(B.push(O.i/I|0),B.push(U.i/I|0),B.push(X.i/I|0),L(U),L(U.next),U=N=X),U=U.next}while(U!==N);return S(U)}function o(N,B,I,U,O,X){var J=N;do{for(var se=J.next.next;se!==J.prev;){if(J.i!==se.i&&_(J,se)){var le=f(J,se);J=S(J,J.next),le=S(le,le.next),E(J,B,I,U,O,X,0),E(le,B,I,U,O,X,0);return}se=se.next}J=J.next}while(J!==N)}function i(N,B,I,U){var O=[],X,J,se,le,ce;for(X=0,J=B.length;X<J;X++)se=B[X]*U,le=X<J-1?B[X+1]*U:N.length,ce=x(N,se,le,U,!1),ce===ce.next&&(ce.steiner=!0),O.push(T(ce));for(O.sort(n),X=0;X<O.length;X++)I=a(O[X],I);return I}function n(N,B){return N.x-B.x}function a(N,B){var I=s(N,B);if(!I)return B;var U=f(I,N);return S(U,U.next),S(I,I.next)}function s(N,B){var I=B,U=N.x,O=N.y,X=-1/0,J;do{if(O<=I.y&&O>=I.next.y&&I.next.y!==I.y){var se=I.x+(O-I.y)*(I.next.x-I.x)/(I.next.y-I.y);if(se<=U&&se>X&&(X=se,J=I.x<I.next.x?I:I.next,se===U))return J}I=I.next}while(I!==B);if(!J)return null;var le=J,ce=J.x,q=J.y,Z=1/0,ee;I=J;do U>=I.x&&I.x>=ce&&U!==I.x&&l(O<q?U:X,O,ce,q,O<q?X:U,O,I.x,I.y)&&(ee=Math.abs(O-I.y)/(U-I.x),u(I,N)&&(ee<Z||ee===Z&&(I.x>J.x||I.x===J.x&&h(J,I)))&&(J=I,Z=ee)),I=I.next;while(I!==le);return J}function h(N,B){return w(N.prev,N,B.prev)<0&&w(B.next,N,N.next)<0}function c(N,B,I,U){var O=N;do O.z===0&&(O.z=d(O.x,O.y,B,I,U)),O.prevZ=O.prev,O.nextZ=O.next,O=O.next;while(O!==N);O.prevZ.nextZ=null,O.prevZ=null,m(O)}function m(N){var B,I,U,O,X,J,se,le,ce=1;do{for(I=N,N=null,X=null,J=0;I;){for(J++,U=I,se=0,B=0;B<ce&&(se++,U=U.nextZ,!!U);B++);for(le=ce;se>0||le>0&&U;)se!==0&&(le===0||!U||I.z<=U.z)?(O=I,I=I.nextZ,se--):(O=U,U=U.nextZ,le--),X?X.nextZ=O:N=O,O.prevZ=X,X=O;I=U}X.nextZ=null,ce*=2}while(J>1);return N}function d(N,B,I,U,O){return N=(N-I)*O|0,B=(B-U)*O|0,N=(N|N<<8)&16711935,N=(N|N<<4)&252645135,N=(N|N<<2)&858993459,N=(N|N<<1)&1431655765,B=(B|B<<8)&16711935,B=(B|B<<4)&252645135,B=(B|B<<2)&858993459,B=(B|B<<1)&1431655765,N|B<<1}function T(N){var B=N,I=N;do(B.x<I.x||B.x===I.x&&B.y<I.y)&&(I=B),B=B.next;while(B!==N);return I}function l(N,B,I,U,O,X,J,se){return(O-J)*(B-se)>=(N-J)*(X-se)&&(N-J)*(U-se)>=(I-J)*(B-se)&&(I-J)*(X-se)>=(O-J)*(U-se)}function _(N,B){return N.next.i!==B.i&&N.prev.i!==B.i&&!v(N,B)&&(u(N,B)&&u(B,N)&&y(N,B)&&(w(N.prev,N,B.prev)||w(N,B.prev,B))||A(N,B)&&w(N.prev,N,N.next)>0&&w(B.prev,B,B.next)>0)}function w(N,B,I){return(B.y-N.y)*(I.x-B.x)-(B.x-N.x)*(I.y-B.y)}function A(N,B){return N.x===B.x&&N.y===B.y}function M(N,B,I,U){var O=b(w(N,B,I)),X=b(w(N,B,U)),J=b(w(I,U,N)),se=b(w(I,U,B));return!!(O!==X&&J!==se||O===0&&g(N,I,B)||X===0&&g(N,U,B)||J===0&&g(I,N,U)||se===0&&g(I,B,U))}function g(N,B,I){return B.x<=Math.max(N.x,I.x)&&B.x>=Math.min(N.x,I.x)&&B.y<=Math.max(N.y,I.y)&&B.y>=Math.min(N.y,I.y)}function b(N){return N>0?1:N<0?-1:0}function v(N,B){var I=N;do{if(I.i!==N.i&&I.next.i!==N.i&&I.i!==B.i&&I.next.i!==B.i&&M(I,I.next,N,B))return!0;I=I.next}while(I!==N);return!1}function u(N,B){return w(N.prev,N,N.next)<0?w(N,B,N.next)>=0&&w(N,N.prev,B)>=0:w(N,B,N.prev)<0||w(N,N.next,B)<0}function y(N,B){var I=N,U=!1,O=(N.x+B.x)/2,X=(N.y+B.y)/2;do I.y>X!=I.next.y>X&&I.next.y!==I.y&&O<(I.next.x-I.x)*(X-I.y)/(I.next.y-I.y)+I.x&&(U=!U),I=I.next;while(I!==N);return U}function f(N,B){var I=new z(N.i,N.x,N.y),U=new z(B.i,B.x,B.y),O=N.next,X=B.prev;return N.next=B,B.prev=N,I.next=O,O.prev=I,U.next=I,I.prev=U,X.next=U,U.prev=X,U}function R(N,B,I,U){var O=new z(N,B,I);return U?(O.next=U.next,O.prev=U,U.next.prev=O,U.next=O):(O.prev=O,O.next=O),O}function L(N){N.next.prev=N.prev,N.prev.next=N.next,N.prevZ&&(N.prevZ.nextZ=N.nextZ),N.nextZ&&(N.nextZ.prevZ=N.prevZ)}function z(N,B,I){this.i=N,this.x=B,this.y=I,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}p.deviation=function(N,B,I,U){var O=B&&B.length,X=O?B[0]*I:N.length,J=Math.abs(F(N,0,X,I));if(O)for(var se=0,le=B.length;se<le;se++){var ce=B[se]*I,q=se<le-1?B[se+1]*I:N.length;J-=Math.abs(F(N,ce,q,I))}var Z=0;for(se=0;se<U.length;se+=3){var ee=U[se]*I,V=U[se+1]*I,oe=U[se+2]*I;Z+=Math.abs((N[ee]-N[oe])*(N[V+1]-N[ee+1])-(N[ee]-N[V])*(N[oe+1]-N[ee+1]))}return J===0&&Z===0?0:Math.abs((Z-J)/J)};function F(N,B,I,U){for(var O=0,X=B,J=I-U;X<I;X+=U)O+=(N[J]-N[X])*(N[X+1]+N[J+1]),J=X;return O}p.flatten=function(N){for(var B=N[0][0].length,I={vertices:[],holes:[],dimensions:B},U=0,O=0;O<N.length;O++){for(var X=0;X<N[O].length;X++)for(var J=0;J<B;J++)I.vertices.push(N[O][X][J]);O>0&&(U+=N[O-1].length,I.holes.push(U))}return I}}}),UP=De({"node_modules/array-normalize/index.js"(Y,H){"use strict";var p=sm();H.exports=x;function x(S,E,e){if(!S||S.length==null)throw Error("Argument should be an array");E==null&&(E=1),e==null&&(e=p(S,E));for(var t=0;t<E;t++){var r=e[E+t],o=e[t],i=t,n=S.length;if(r===1/0&&o===-1/0)for(i=t;i<n;i+=E)S[i]=S[i]===r?1:S[i]===o?0:.5;else if(r===1/0)for(i=t;i<n;i+=E)S[i]=S[i]===r?1:0;else if(o===-1/0)for(i=t;i<n;i+=E)S[i]=S[i]===o?0:1;else{var a=r-o;for(i=t;i<n;i+=E)isNaN(S[i])||(S[i]=a===0?.5:(S[i]-o)/a)}}return S}}}),jP=De({"node_modules/es6-weak-map/is-implemented.js"(Y,H){"use strict";H.exports=function(){var p,x;if(typeof WeakMap!="function")return!1;try{p=new WeakMap([[x={},"one"],[{},"two"],[{},"three"]])}catch{return!1}return!(String(p)!=="[object WeakMap]"||typeof p.set!="function"||p.set({},1)!==p||typeof p.delete!="function"||typeof p.has!="function"||p.get(x)!=="one")}}}),VP=De({"node_modules/es5-ext/function/noop.js"(Y,H){"use strict";H.exports=function(){}}}),u0=De({"node_modules/es5-ext/object/is-value.js"(Y,H){"use strict";var p=VP()();H.exports=function(x){return x!==p&&x!==null}}}),E5=De({"node_modules/es5-ext/object/set-prototype-of/is-implemented.js"(Y,H){"use strict";var p=Object.create,x=Object.getPrototypeOf,S={};H.exports=function(){var E=Object.setPrototypeOf,e=arguments[0]||p;return typeof E!="function"?!1:x(E(e(null),S))===S}}}),k5=De({"node_modules/es5-ext/object/is-object.js"(Y,H){"use strict";var p=u0(),x={function:!0,object:!0};H.exports=function(S){return p(S)&&x[typeof S]||!1}}}),gp=De({"node_modules/es5-ext/object/valid-value.js"(Y,H){"use strict";var p=u0();H.exports=function(x){if(!p(x))throw new TypeError("Cannot use null or undefined");return x}}}),qP=De({"node_modules/es5-ext/object/create.js"(Y,H){"use strict";var p=Object.create,x;E5()()||(x=C5()),H.exports=function(){var S,E,e;return!x||x.level!==1?p:(S={},E={},e={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(t){if(t==="__proto__"){E[t]={configurable:!0,enumerable:!1,writable:!0,value:void 0};return}E[t]=e}),Object.defineProperties(S,E),Object.defineProperty(x,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:S}),function(t,r){return p(t===null?S:t,r)})}()}}),C5=De({"node_modules/es5-ext/object/set-prototype-of/shim.js"(Y,H){"use strict";var p=k5(),x=gp(),S=Object.prototype.isPrototypeOf,E=Object.defineProperty,e={configurable:!0,enumerable:!1,writable:!0,value:void 0},t;t=function(r,o){if(x(r),o===null||p(o))return r;throw new TypeError("Prototype must be null or an object")},H.exports=function(r){var o,i;return r?(r.level===2?r.set?(i=r.set,o=function(n,a){return i.call(t(n,a),a),n}):o=function(n,a){return t(n,a).__proto__=a,n}:o=function n(a,s){var h;return t(a,s),h=S.call(n.nullPolyfill,a),h&&delete n.nullPolyfill.__proto__,s===null&&(s=n.nullPolyfill),a.__proto__=s,h&&E(n.nullPolyfill,"__proto__",e),a},Object.defineProperty(o,"level",{configurable:!1,enumerable:!1,writable:!1,value:r.level})):null}(function(){var r=Object.create(null),o={},i,n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(n){try{i=n.set,i.call(r,o)}catch{}if(Object.getPrototypeOf(r)===o)return{set:i,level:2}}return r.__proto__=o,Object.getPrototypeOf(r)===o?{level:2}:(r={},r.__proto__=o,Object.getPrototypeOf(r)===o?{level:1}:!1)}()),qP()}}),_b=De({"node_modules/es5-ext/object/set-prototype-of/index.js"(Y,H){"use strict";H.exports=E5()()?Object.setPrototypeOf:C5()}}),HP=De({"node_modules/es5-ext/object/valid-object.js"(Y,H){"use strict";var p=k5();H.exports=function(x){if(!p(x))throw new TypeError(x+" is not an Object");return x}}}),GP=De({"node_modules/es5-ext/string/random-uniq.js"(Y,H){"use strict";var p=Object.create(null),x=Math.random;H.exports=function(){var S;do S=x().toString(36).slice(2);while(p[S]);return S}}}),cm=De({"node_modules/type/value/is.js"(Y,H){"use strict";var p=void 0;H.exports=function(x){return x!==p&&x!==null}}}),xb=De({"node_modules/type/object/is.js"(Y,H){"use strict";var p=cm(),x={object:!0,function:!0,undefined:!0};H.exports=function(S){return p(S)?hasOwnProperty.call(x,typeof S):!1}}}),WP=De({"node_modules/type/prototype/is.js"(Y,H){"use strict";var p=xb();H.exports=function(x){if(!p(x))return!1;try{return x.constructor?x.constructor.prototype===x:!1}catch{return!1}}}}),XP=De({"node_modules/type/function/is.js"(Y,H){"use strict";var p=WP();H.exports=function(x){if(typeof x!="function"||!hasOwnProperty.call(x,"length"))return!1;try{if(typeof x.length!="number"||typeof x.call!="function"||typeof x.apply!="function")return!1}catch{return!1}return!p(x)}}}),L5=De({"node_modules/type/plain-function/is.js"(Y,H){"use strict";var p=XP(),x=/^\s*class[\s{/}]/,S=Function.prototype.toString;H.exports=function(E){return!(!p(E)||x.test(S.call(E)))}}}),YP=De({"node_modules/es5-ext/object/assign/is-implemented.js"(Y,H){"use strict";H.exports=function(){var p=Object.assign,x;return typeof p!="function"?!1:(x={foo:"raz"},p(x,{bar:"dwa"},{trzy:"trzy"}),x.foo+x.bar+x.trzy==="razdwatrzy")}}}),ZP=De({"node_modules/es5-ext/object/keys/is-implemented.js"(Y,H){"use strict";H.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}}),KP=De({"node_modules/es5-ext/object/keys/shim.js"(Y,H){"use strict";var p=u0(),x=Object.keys;H.exports=function(S){return x(p(S)?Object(S):S)}}}),$P=De({"node_modules/es5-ext/object/keys/index.js"(Y,H){"use strict";H.exports=ZP()()?Object.keys:KP()}}),JP=De({"node_modules/es5-ext/object/assign/shim.js"(Y,H){"use strict";var p=$P(),x=gp(),S=Math.max;H.exports=function(E,e){var t,r,o=S(arguments.length,2),i;for(E=Object(x(E)),i=function(n){try{E[n]=e[n]}catch(a){t||(t=a)}},r=1;r<o;++r)e=arguments[r],p(e).forEach(i);if(t!==void 0)throw t;return E}}}),bb=De({"node_modules/es5-ext/object/assign/index.js"(Y,H){"use strict";H.exports=YP()()?Object.assign:JP()}}),I5=De({"node_modules/es5-ext/object/normalize-options.js"(Y,H){"use strict";var p=u0(),x=Array.prototype.forEach,S=Object.create,E=function(e,t){var r;for(r in e)t[r]=e[r]};H.exports=function(e){var t=S(null);return x.call(arguments,function(r){p(r)&&E(Object(r),t)}),t}}}),QP=De({"node_modules/es5-ext/string/#/contains/is-implemented.js"(Y,H){"use strict";var p="razdwatrzy";H.exports=function(){return typeof p.contains!="function"?!1:p.contains("dwa")===!0&&p.contains("foo")===!1}}}),e8=De({"node_modules/es5-ext/string/#/contains/shim.js"(Y,H){"use strict";var p=String.prototype.indexOf;H.exports=function(x){return p.call(this,x,arguments[1])>-1}}}),P5=De({"node_modules/es5-ext/string/#/contains/index.js"(Y,H){"use strict";H.exports=QP()()?String.prototype.contains:e8()}}),yp=De({"node_modules/d/index.js"(Y,H){"use strict";var p=cm(),x=L5(),S=bb(),E=I5(),e=P5(),t=H.exports=function(r,o){var i,n,a,s,h;return arguments.length<2||typeof r!="string"?(s=o,o=r,r=null):s=arguments[2],p(r)?(i=e.call(r,"c"),n=e.call(r,"e"),a=e.call(r,"w")):(i=a=!0,n=!1),h={value:o,configurable:i,enumerable:n,writable:a},s?S(E(s),h):h};t.gs=function(r,o,i){var n,a,s,h;return typeof r!="string"?(s=i,i=o,o=r,r=null):s=arguments[3],p(o)?x(o)?p(i)?x(i)||(s=i,i=void 0):i=void 0:(s=o,o=i=void 0):o=void 0,p(r)?(n=e.call(r,"c"),a=e.call(r,"e")):(n=!0,a=!1),h={get:o,set:i,configurable:n,enumerable:a},s?S(E(s),h):h}}}),i1=De({"node_modules/es5-ext/function/is-arguments.js"(Y,H){"use strict";var p=Object.prototype.toString,x=p.call(function(){return arguments}());H.exports=function(S){return p.call(S)===x}}}),a1=De({"node_modules/es5-ext/string/is-string.js"(Y,H){"use strict";var p=Object.prototype.toString,x=p.call("");H.exports=function(S){return typeof S=="string"||S&&typeof S=="object"&&(S instanceof String||p.call(S)===x)||!1}}}),t8=De({"node_modules/ext/global-this/is-implemented.js"(Y,H){"use strict";H.exports=function(){return typeof globalThis!="object"||!globalThis?!1:globalThis.Array===Array}}}),r8=De({"node_modules/ext/global-this/implementation.js"(Y,H){var p=function(){if(typeof self=="object"&&self)return self;if(typeof window=="object"&&window)return window;throw new Error("Unable to resolve global `this`")};H.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return p()}try{return __global__||p()}finally{delete Object.prototype.__global__}}()}}),n1=De({"node_modules/ext/global-this/index.js"(Y,H){"use strict";H.exports=t8()()?globalThis:r8()}}),i8=De({"node_modules/es6-symbol/is-implemented.js"(Y,H){"use strict";var p=n1(),x={object:!0,symbol:!0};H.exports=function(){var S=p.Symbol,E;if(typeof S!="function")return!1;E=S("test symbol");try{String(E)}catch{return!1}return!(!x[typeof S.iterator]||!x[typeof S.toPrimitive]||!x[typeof S.toStringTag])}}}),a8=De({"node_modules/es6-symbol/is-symbol.js"(Y,H){"use strict";H.exports=function(p){return p?typeof p=="symbol"?!0:!p.constructor||p.constructor.name!=="Symbol"?!1:p[p.constructor.toStringTag]==="Symbol":!1}}}),R5=De({"node_modules/es6-symbol/validate-symbol.js"(Y,H){"use strict";var p=a8();H.exports=function(x){if(!p(x))throw new TypeError(x+" is not a symbol");return x}}}),n8=De({"node_modules/es6-symbol/lib/private/generate-name.js"(Y,H){"use strict";var p=yp(),x=Object.create,S=Object.defineProperty,E=Object.prototype,e=x(null);H.exports=function(t){for(var r=0,o,i;e[t+(r||"")];)++r;return t+=r||"",e[t]=!0,o="@@"+t,S(E,o,p.gs(null,function(n){i||(i=!0,S(this,o,p(n)),i=!1)})),o}}}),o8=De({"node_modules/es6-symbol/lib/private/setup/standard-symbols.js"(Y,H){"use strict";var p=yp(),x=n1().Symbol;H.exports=function(S){return Object.defineProperties(S,{hasInstance:p("",x&&x.hasInstance||S("hasInstance")),isConcatSpreadable:p("",x&&x.isConcatSpreadable||S("isConcatSpreadable")),iterator:p("",x&&x.iterator||S("iterator")),match:p("",x&&x.match||S("match")),replace:p("",x&&x.replace||S("replace")),search:p("",x&&x.search||S("search")),species:p("",x&&x.species||S("species")),split:p("",x&&x.split||S("split")),toPrimitive:p("",x&&x.toPrimitive||S("toPrimitive")),toStringTag:p("",x&&x.toStringTag||S("toStringTag")),unscopables:p("",x&&x.unscopables||S("unscopables"))})}}}),s8=De({"node_modules/es6-symbol/lib/private/setup/symbol-registry.js"(Y,H){"use strict";var p=yp(),x=R5(),S=Object.create(null);H.exports=function(E){return Object.defineProperties(E,{for:p(function(e){return S[e]?S[e]:S[e]=E(String(e))}),keyFor:p(function(e){var t;x(e);for(t in S)if(S[t]===e)return t})})}}}),l8=De({"node_modules/es6-symbol/polyfill.js"(Y,H){"use strict";var p=yp(),x=R5(),S=n1().Symbol,E=n8(),e=o8(),t=s8(),r=Object.create,o=Object.defineProperties,i=Object.defineProperty,n,a,s;if(typeof S=="function")try{String(S()),s=!0}catch{}else S=null;a=function(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return n(c)},H.exports=n=function h(c){var m;if(this instanceof h)throw new TypeError("Symbol is not a constructor");return s?S(c):(m=r(a.prototype),c=c===void 0?"":String(c),o(m,{__description__:p("",c),__name__:p("",E(c))}))},e(n),t(n),o(a.prototype,{constructor:p(n),toString:p("",function(){return this.__name__})}),o(n.prototype,{toString:p(function(){return"Symbol ("+x(this).__description__+")"}),valueOf:p(function(){return x(this)})}),i(n.prototype,n.toPrimitive,p("",function(){var h=x(this);return typeof h=="symbol"?h:h.toString()})),i(n.prototype,n.toStringTag,p("c","Symbol")),i(a.prototype,n.toStringTag,p("c",n.prototype[n.toStringTag])),i(a.prototype,n.toPrimitive,p("c",n.prototype[n.toPrimitive]))}}),c0=De({"node_modules/es6-symbol/index.js"(Y,H){"use strict";H.exports=i8()()?n1().Symbol:l8()}}),u8=De({"node_modules/es5-ext/array/#/clear.js"(Y,H){"use strict";var p=gp();H.exports=function(){return p(this).length=0,this}}}),Ag=De({"node_modules/es5-ext/object/valid-callable.js"(Y,H){"use strict";H.exports=function(p){if(typeof p!="function")throw new TypeError(p+" is not a function");return p}}}),c8=De({"node_modules/type/string/coerce.js"(Y,H){"use strict";var p=cm(),x=xb(),S=Object.prototype.toString;H.exports=function(E){if(!p(E))return null;if(x(E)){var e=E.toString;if(typeof e!="function"||e===S)return null}try{return""+E}catch{return null}}}}),f8=De({"node_modules/type/lib/safe-to-string.js"(Y,H){"use strict";H.exports=function(p){try{return p.toString()}catch{try{return String(p)}catch{return null}}}}}),h8=De({"node_modules/type/lib/to-short-string.js"(Y,H){"use strict";var p=f8(),x=/[\n\r\u2028\u2029]/g;H.exports=function(S){var E=p(S);return E===null?"<Non-coercible to string value>":(E.length>100&&(E=E.slice(0,99)+"\u2026"),E=E.replace(x,function(e){switch(e){case`
2197`:return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}}),E)}}}),D5=De({"node_modules/type/lib/resolve-exception.js"(Y,H){"use strict";var p=cm(),x=xb(),S=c8(),E=h8(),e=function(t,r){return t.replace("%v",E(r))};H.exports=function(t,r,o){if(!x(o))throw new TypeError(e(r,t));if(!p(t)){if("default"in o)return o.default;if(o.isOptional)return null}var i=S(o.errorMessage);throw p(i)||(i=r),new TypeError(e(i,t))}}}),d8=De({"node_modules/type/value/ensure.js"(Y,H){"use strict";var p=D5(),x=cm();H.exports=function(S){return x(S)?S:p(S,"Cannot use %v",arguments[1])}}}),v8=De({"node_modules/type/plain-function/ensure.js"(Y,H){"use strict";var p=D5(),x=L5();H.exports=function(S){return x(S)?S:p(S,"%v is not a plain function",arguments[1])}}}),p8=De({"node_modules/es5-ext/array/from/is-implemented.js"(Y,H){"use strict";H.exports=function(){var p=Array.from,x,S;return typeof p!="function"?!1:(x=["raz","dwa"],S=p(x),!!(S&&S!==x&&S[1]==="dwa"))}}}),m8=De({"node_modules/es5-ext/function/is-function.js"(Y,H){"use strict";var p=Object.prototype.toString,x=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);H.exports=function(S){return typeof S=="function"&&x(p.call(S))}}}),g8=De({"node_modules/es5-ext/math/sign/is-implemented.js"(Y,H){"use strict";H.exports=function(){var p=Math.sign;return typeof p!="function"?!1:p(10)===1&&p(-20)===-1}}}),y8=De({"node_modules/es5-ext/math/sign/shim.js"(Y,H){"use strict";H.exports=function(p){return p=Number(p),isNaN(p)||p===0?p:p>0?1:-1}}}),_8=De({"node_modules/es5-ext/math/sign/index.js"(Y,H){"use strict";H.exports=g8()()?Math.sign:y8()}}),x8=De({"node_modules/es5-ext/number/to-integer.js"(Y,H){"use strict";var p=_8(),x=Math.abs,S=Math.floor;H.exports=function(E){return isNaN(E)?0:(E=Number(E),E===0||!isFinite(E)?E:p(E)*S(x(E)))}}}),b8=De({"node_modules/es5-ext/number/to-pos-integer.js"(Y,H){"use strict";var p=x8(),x=Math.max;H.exports=function(S){return x(0,p(S))}}}),w8=De({"node_modules/es5-ext/array/from/shim.js"(Y,H){"use strict";var p=c0().iterator,x=i1(),S=m8(),E=b8(),e=Ag(),t=gp(),r=u0(),o=a1(),i=Array.isArray,n=Function.prototype.call,a={configurable:!0,enumerable:!0,writable:!0,value:null},s=Object.defineProperty;H.exports=function(h){var c=arguments[1],m=arguments[2],d,T,l,_,w,A,M,g,b,v;if(h=Object(t(h)),r(c)&&e(c),!this||this===Array||!S(this)){if(!c){if(x(h))return w=h.length,w!==1?Array.apply(null,h):(_=new Array(1),_[0]=h[0],_);if(i(h)){for(_=new Array(w=h.length),T=0;T<w;++T)_[T]=h[T];return _}}_=[]}else d=this;if(!i(h)){if((b=h[p])!==void 0){for(M=e(b).call(h),d&&(_=new d),g=M.next(),T=0;!g.done;)v=c?n.call(c,m,g.value,T):g.value,d?(a.value=v,s(_,T,a)):_[T]=v,g=M.next(),++T;w=T}else if(o(h)){for(w=h.length,d&&(_=new d),T=0,l=0;T<w;++T)v=h[T],T+1<w&&(A=v.charCodeAt(0),A>=55296&&A<=56319&&(v+=h[++T])),v=c?n.call(c,m,v,l):v,d?(a.value=v,s(_,l,a)):_[l]=v,++l;w=l}}if(w===void 0)for(w=E(h.length),d&&(_=new d(w)),T=0;T<w;++T)v=c?n.call(c,m,h[T],T):h[T],d?(a.value=v,s(_,T,a)):_[T]=v;return d&&(a.value=null,_.length=w),_}}}),T8=De({"node_modules/es5-ext/array/from/index.js"(Y,H){"use strict";H.exports=p8()()?Array.from:w8()}}),A8=De({"node_modules/es5-ext/object/copy.js"(Y,H){"use strict";var p=T8(),x=bb(),S=gp();H.exports=function(E){var e=Object(S(E)),t=arguments[1],r=Object(arguments[2]);if(e!==E&&!t)return e;var o={};return t?p(t,function(i){(r.ensure||i in E)&&(o[i]=E[i])}):x(o,E),o}}}),S8=De({"node_modules/es5-ext/object/_iterate.js"(Y,H){"use strict";var p=Ag(),x=gp(),S=Function.prototype.bind,E=Function.prototype.call,e=Object.keys,t=Object.prototype.propertyIsEnumerable;H.exports=function(r,o){return function(i,n){var a,s=arguments[2],h=arguments[3];return i=Object(x(i)),p(n),a=e(i),h&&a.sort(typeof h=="function"?S.call(h,i):void 0),typeof r!="function"&&(r=a[r]),E.call(r,a,function(c,m){return t.call(i,c)?E.call(n,s,i[c],c,i,m):o})}}}}),M8=De({"node_modules/es5-ext/object/for-each.js"(Y,H){"use strict";H.exports=S8()("forEach")}}),E8=De({"node_modules/es5-ext/object/map.js"(Y,H){"use strict";var p=Ag(),x=M8(),S=Function.prototype.call;H.exports=function(E,e){var t={},r=arguments[2];return p(e),x(E,function(o,i,n,a){t[i]=S.call(e,r,o,i,n,a)}),t}}}),k8=De({"node_modules/d/auto-bind.js"(Y,H){"use strict";var p=cm(),x=d8(),S=v8(),E=A8(),e=I5(),t=E8(),r=Function.prototype.bind,o=Object.defineProperty,i=Object.prototype.hasOwnProperty,n;n=function(a,s,h){var c=x(s)&&S(s.value),m;return m=E(s),delete m.writable,delete m.value,m.get=function(){return!h.overwriteDefinition&&i.call(this,a)?c:(s.value=r.call(c,h.resolveContext?h.resolveContext(this):this),o(this,a,s),this[a])},m},H.exports=function(a){var s=e(arguments[1]);return p(s.resolveContext)&&S(s.resolveContext),t(a,function(h,c){return n(c,h,s)})}}}),z5=De({"node_modules/es6-iterator/index.js"(Y,H){"use strict";var p=u8(),x=bb(),S=Ag(),E=gp(),e=yp(),t=k8(),r=c0(),o=Object.defineProperty,i=Object.defineProperties,n;H.exports=n=function(a,s){if(!(this instanceof n))throw new TypeError("Constructor requires 'new'");i(this,{__list__:e("w",E(a)),__context__:e("w",s),__nextIndex__:e("w",0)}),s&&(S(s.on),s.on("_add",this._onAdd),s.on("_delete",this._onDelete),s.on("_clear",this._onClear))},delete n.prototype.constructor,i(n.prototype,x({_next:e(function(){var a;if(this.__list__){if(this.__redo__&&(a=this.__redo__.shift(),a!==void 0))return a;if(this.__nextIndex__<this.__list__.length)return this.__nextIndex__++;this._unBind()}}),next:e(function(){return this._createResult(this._next())}),_createResult:e(function(a){return a===void 0?{done:!0,value:void 0}:{done:!1,value:this._resolve(a)}}),_resolve:e(function(a){return this.__list__[a]}),_unBind:e(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:e(function(){return"[object "+(this[r.toStringTag]||"Object")+"]"})},t({_onAdd:e(function(a){if(!(a>=this.__nextIndex__)){if(++this.__nextIndex__,!this.__redo__){o(this,"__redo__",e("c",[a]));return}this.__redo__.forEach(function(s,h){s>=a&&(this.__redo__[h]=++s)},this),this.__redo__.push(a)}}),_onDelete:e(function(a){var s;a>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(s=this.__redo__.indexOf(a),s!==-1&&this.__redo__.splice(s,1),this.__redo__.forEach(function(h,c){h>a&&(this.__redo__[c]=--h)},this)))}),_onClear:e(function(){this.__redo__&&p.call(this.__redo__),this.__nextIndex__=0})}))),o(n.prototype,r.iterator,e(function(){return this}))}}),C8=De({"node_modules/es6-iterator/array.js"(Y,H){"use strict";var p=_b(),x=P5(),S=yp(),E=c0(),e=z5(),t=Object.defineProperty,r;r=H.exports=function(o,i){if(!(this instanceof r))throw new TypeError("Constructor requires 'new'");e.call(this,o),i?x.call(i,"key+value")?i="key+value":x.call(i,"key")?i="key":i="value":i="value",t(this,"__kind__",S("",i))},p&&p(r,e),delete r.prototype.constructor,r.prototype=Object.create(e.prototype,{_resolve:S(function(o){return this.__kind__==="value"?this.__list__[o]:this.__kind__==="key+value"?[o,this.__list__[o]]:o})}),t(r.prototype,E.toStringTag,S("c","Array Iterator"))}}),L8=De({"node_modules/es6-iterator/string.js"(Y,H){"use strict";var p=_b(),x=yp(),S=c0(),E=z5(),e=Object.defineProperty,t;t=H.exports=function(r){if(!(this instanceof t))throw new TypeError("Constructor requires 'new'");r=String(r),E.call(this,r),e(this,"__length__",x("",r.length))},p&&p(t,E),delete t.prototype.constructor,t.prototype=Object.create(E.prototype,{_next:x(function(){if(this.__list__){if(this.__nextIndex__<this.__length__)return this.__nextIndex__++;this._unBind()}}),_resolve:x(function(r){var o=this.__list__[r],i;return this.__nextIndex__===this.__length__?o:(i=o.charCodeAt(0),i>=55296&&i<=56319?o+this.__list__[this.__nextIndex__++]:o)})}),e(t.prototype,S.toStringTag,x("c","String Iterator"))}}),I8=De({"node_modules/es6-iterator/is-iterable.js"(Y,H){"use strict";var p=i1(),x=u0(),S=a1(),E=c0().iterator,e=Array.isArray;H.exports=function(t){return x(t)?e(t)||S(t)||p(t)?!0:typeof t[E]=="function":!1}}}),P8=De({"node_modules/es6-iterator/valid-iterable.js"(Y,H){"use strict";var p=I8();H.exports=function(x){if(!p(x))throw new TypeError(x+" is not iterable");return x}}}),F5=De({"node_modules/es6-iterator/get.js"(Y,H){"use strict";var p=i1(),x=a1(),S=C8(),E=L8(),e=P8(),t=c0().iterator;H.exports=function(r){return typeof e(r)[t]=="function"?r[t]():p(r)?new S(r):x(r)?new E(r):new S(r)}}}),R8=De({"node_modules/es6-iterator/for-of.js"(Y,H){"use strict";var p=i1(),x=Ag(),S=a1(),E=F5(),e=Array.isArray,t=Function.prototype.call,r=Array.prototype.some;H.exports=function(o,i){var n,a=arguments[2],s,h,c,m,d,T,l;if(e(o)||p(o)?n="array":S(o)?n="string":o=E(o),x(i),h=function(){c=!0},n==="array"){r.call(o,function(_){return t.call(i,a,_,h),c});return}if(n==="string"){for(d=o.length,m=0;m<d&&(T=o[m],m+1<d&&(l=T.charCodeAt(0),l>=55296&&l<=56319&&(T+=o[++m])),t.call(i,a,T,h),!c);++m);return}for(s=o.next();!s.done;){if(t.call(i,a,s.value,h),c)return;s=o.next()}}}}),D8=De({"node_modules/es6-weak-map/is-native-implemented.js"(Y,H){"use strict";H.exports=function(){return typeof WeakMap!="function"?!1:Object.prototype.toString.call(new WeakMap)==="[object WeakMap]"}()}}),z8=De({"node_modules/es6-weak-map/polyfill.js"(Y,H){"use strict";var p=u0(),x=_b(),S=HP(),E=gp(),e=GP(),t=yp(),r=F5(),o=R8(),i=c0().toStringTag,n=D8(),a=Array.isArray,s=Object.defineProperty,h=Object.prototype.hasOwnProperty,c=Object.getPrototypeOf,m;H.exports=m=function(){var d=arguments[0],T;if(!(this instanceof m))throw new TypeError("Constructor requires 'new'");return T=n&&x&&WeakMap!==m?x(new WeakMap,c(this)):this,p(d)&&(a(d)||(d=r(d))),s(T,"__weakMapData__",t("c","$weakMap$"+e())),d&&o(d,function(l){E(l),T.set(l[0],l[1])}),T},n&&(x&&x(m,WeakMap),m.prototype=Object.create(WeakMap.prototype,{constructor:t(m)})),Object.defineProperties(m.prototype,{delete:t(function(d){return h.call(S(d),this.__weakMapData__)?(delete d[this.__weakMapData__],!0):!1}),get:t(function(d){if(h.call(S(d),this.__weakMapData__))return d[this.__weakMapData__]}),has:t(function(d){return h.call(S(d),this.__weakMapData__)}),set:t(function(d,T){return s(S(d),this.__weakMapData__,t("c",T)),this}),toString:t(function(){return"[object WeakMap]"})}),s(m.prototype,i,t("c","WeakMap"))}}),B5=De({"node_modules/es6-weak-map/index.js"(Y,H){"use strict";H.exports=jP()()?WeakMap:z8()}}),F8=De({"node_modules/array-find-index/index.js"(Y,H){"use strict";H.exports=function(p,x,S){if(typeof Array.prototype.findIndex=="function")return p.findIndex(x,S);if(typeof x!="function")throw new TypeError("predicate must be a function");var E=Object(p),e=E.length;if(e===0)return-1;for(var t=0;t<e;t++)if(x.call(S,E[t],t,E))return t;return-1}}}),O5=De({"node_modules/regl-line2d/index.js"(Y,H){"use strict";var p=a0(),x=sm(),S=ih(),E=Nv(),e=lm(),t=NP(),r=UP(),{float32:o,fract32:i}=yb(),n=B5(),a=Tg(),s=F8(),h=`
2198precision highp float;
2199
2200attribute vec2 aCoord, bCoord, aCoordFract, bCoordFract;

Callers

nothing calls this directly

Calls 5

tFunction · 0.70
SFunction · 0.70
pFunction · 0.70
ypFunction · 0.50
createMethod · 0.45

Tested by

no test coverage detected