@konfuzio/document-validation-ui 0.2.1-dev.0 → 0.2.1-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/app.css +1 -1
- package/dist/index.html +1 -1
- package/dist/js/app.js +1 -1
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-vendors.js +1 -1
- package/dist/js/chunk-vendors.js.map +1 -1
- package/package.json +2 -2
- package/src/components/DocumentAnnotations/AnnotationContent.vue +0 -1
- package/src/components/DocumentPage/DocumentPage.vue +3 -6
- package/src/components/DocumentPage/SpanSelection.vue +11 -9
- package/src/store/selection.js +6 -4
package/dist/js/chunk-vendors.js
CHANGED
|
@@ -46,7 +46,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
46
46
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
47
|
PERFORMANCE OF THIS SOFTWARE.
|
|
48
48
|
***************************************************************************** */
|
|
49
|
-
var i=function(e,t){return i=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])},i(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function a(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{while((void 0===t||t-- >0)&&!(i=o.next()).done)s.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}},5451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ring=void 0;const i=n(4892),r=n(4723),o=n(5483),s=n(8871),a=2*Math.PI;class l extends r.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,a,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),a,0,!0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}t.Ring=l,l.prototype.className="Ring",l.prototype._centroid=!0,l.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,s._registerNode)(l),i.Factory.addGetterSetter(l,"innerRadius",0,(0,o.getNumberValidator)()),i.Factory.addGetterSetter(l,"outerRadius",0,(0,o.getNumberValidator)())},5461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSL=void 0;const i=n(4892),r=n(6536),o=n(5483);i.Factory.addGetterSetter(r.Node,"hue",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"saturation",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"luminance",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter);const s=function(e){const t=e.data,n=t.length,i=1,r=Math.pow(2,this.saturation()),o=Math.abs(this.hue()+360)%360,s=127*this.luminance(),a=i*r*Math.cos(o*Math.PI/180),l=i*r*Math.sin(o*Math.PI/180),c=.299*i+.701*a+.167*l,u=.587*i-.587*a+.33*l,d=.114*i-.114*a-.497*l,h=.299*i-.299*a-.328*l,p=.587*i+.413*a+.035*l,f=.114*i-.114*a+.293*l,m=.299*i-.3*a+1.25*l,g=.587*i-.586*a-1.05*l,v=.114*i+.886*a-.2*l;let y,b,w,k;for(let _=0;_<n;_+=4)y=t[_+0],b=t[_+1],w=t[_+2],k=t[_+3],t[_+0]=c*y+u*b+d*w+s,t[_+1]=h*y+p*b+f*w+s,t[_+2]=m*y+g*b+v*w+s,t[_+3]=k};t.HSL=s},5483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGBComponent=s,t.alphaComponent=a,t.getNumberValidator=l,t.getNumberOrArrayOfNumbersValidator=c,t.getNumberOrAutoValidator=u,t.getStringValidator=d,t.getStringOrGradientValidator=h,t.getFunctionValidator=p,t.getNumberArrayValidator=f,t.getBooleanValidator=m,t.getComponentValidator=g;const i=n(8871),r=n(4060);function o(e){return r.Util._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||r.Util._isBoolean(e)?e:Object.prototype.toString.call(e)}function s(e){return e>255?255:e<0?0:Math.round(e)}function a(e){return e>1?1:e<1e-4?1e-4:e}function l(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isNumber(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function c(e){if(i.Konva.isUnminified)return function(t,n){let i=r.Util._isNumber(t),s=r.Util._isArray(t)&&t.length==e;return i||s||r.Util.warn(o(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+e+")"),t}}function u(){if(i.Konva.isUnminified)return function(e,t){var n=r.Util._isNumber(e),i="auto"===e;return n||i||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function d(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isString(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function h(){if(i.Konva.isUnminified)return function(e,t){const n=r.Util._isString(e),i="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e["addColorStop"];return n||i||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function p(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isFunction(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a function.'),e}}function f(){if(i.Konva.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(r.Util._isArray(e)?e.forEach((function(e){r.Util._isNumber(e)||r.Util.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function m(){if(i.Konva.isUnminified)return function(e,t){var n=!0===e||!1===e;return n||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function g(e){if(i.Konva.isUnminified)return function(t,n){return void 0===t||null===t||r.Util.isObject(t)||r.Util.warn(o(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}},5553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kaleidoscope=void 0;const i=n(4892),r=n(6536),o=n(4060),s=n(5483),a=function(e,t,n){const i=e.data,r=t.data,o=e.width,s=e.height,a=n.polarCenterX||o/2,l=n.polarCenterY||s/2;let c=Math.sqrt(a*a+l*l),u=o-a,d=s-l;const h=Math.sqrt(u*u+d*d);c=h>c?h:c;const p=s,f=o,m=360/f*Math.PI/180;for(let g=0;g<f;g+=1){const e=Math.sin(g*m),t=Math.cos(g*m);for(let n=0;n<p;n+=1){u=Math.floor(a+c*n/p*t),d=Math.floor(l+c*n/p*e);let s=4*(d*o+u);const h=i[s+0],f=i[s+1],m=i[s+2],v=i[s+3];s=4*(g+n*o),r[s+0]=h,r[s+1]=f,r[s+2]=m,r[s+3]=v}}},l=function(e,t,n){const i=e.data,r=t.data,o=e.width,s=e.height,a=n.polarCenterX||o/2,l=n.polarCenterY||s/2;let c=Math.sqrt(a*a+l*l),u=o-a,d=s-l;const h=Math.sqrt(u*u+d*d);c=h>c?h:c;const p=s,f=o,m=n.polarRotation||0;let g,v;for(u=0;u<o;u+=1)for(d=0;d<s;d+=1){const e=u-a,t=d-l,n=Math.sqrt(e*e+t*t)*p/c;let s=(180*Math.atan2(t,e)/Math.PI+360+m)%360;s=s*f/360,g=Math.floor(s),v=Math.floor(n);let h=4*(v*o+g);const y=i[h+0],b=i[h+1],w=i[h+2],k=i[h+3];h=4*(d*o+u),r[h+0]=y,r[h+1]=b,r[h+2]=w,r[h+3]=k}},c=function(e){const t=e.width,n=e.height;let i,r,s,c,u,d,h,p,f,m,g=Math.round(this.kaleidoscopePower());const v=Math.round(this.kaleidoscopeAngle()),y=Math.floor(t*(v%360)/360);if(g<1)return;const b=o.Util.createCanvasElement();b.width=t,b.height=n;const w=b.getContext("2d").getImageData(0,0,t,n);o.Util.releaseCanvas(b),a(e,w,{polarCenterX:t/2,polarCenterY:n/2});let k=t/Math.pow(2,g);while(k<=8)k*=2,g-=1;k=Math.ceil(k);let _=k,S=0,x=_,C=1;for(y+k>t&&(S=_,x=0,C=-1),r=0;r<n;r+=1)for(i=S;i!==x;i+=C)s=Math.round(i+y)%t,f=4*(t*r+s),u=w.data[f+0],d=w.data[f+1],h=w.data[f+2],p=w.data[f+3],m=4*(t*r+i),w.data[m+0]=u,w.data[m+1]=d,w.data[m+2]=h,w.data[m+3]=p;for(r=0;r<n;r+=1)for(_=Math.floor(k),c=0;c<g;c+=1){for(i=0;i<_+1;i+=1)f=4*(t*r+i),u=w.data[f+0],d=w.data[f+1],h=w.data[f+2],p=w.data[f+3],m=4*(t*r+2*_-i-1),w.data[m+0]=u,w.data[m+1]=d,w.data[m+2]=h,w.data[m+3]=p;_*=2}l(w,e,{polarRotation:0})};t.Kaleidoscope=c,i.Factory.addGetterSetter(r.Node,"kaleidoscopePower",2,(0,s.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"kaleidoscopeAngle",0,(0,s.getNumberValidator)(),i.Factory.afterSetFilter)},5570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t2length=t.getQuadraticArcLength=t.getCubicArcLength=t.binomialCoefficients=t.cValues=t.tValues=void 0,t.tValues=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],t.cValues=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],t.binomialCoefficients=[[1],[1,1],[1,2,1],[1,3,3,1]];const n=(e,n,i)=>{let o,s;const a=20,l=i/2;o=0;for(let c=0;c<a;c++)s=l*t.tValues[a][c]+l,o+=t.cValues[a][c]*r(e,n,s);return l*o};t.getCubicArcLength=n;const i=(e,t,n)=>{void 0===n&&(n=1);const i=e[0]-2*e[1]+e[2],r=t[0]-2*t[1]+t[2],o=2*e[1]-2*e[0],s=2*t[1]-2*t[0],a=4*(i*i+r*r),l=4*(i*o+r*s),c=o*o+s*s;if(0===a)return n*Math.sqrt(Math.pow(e[2]-e[0],2)+Math.pow(t[2]-t[0],2));const u=l/(2*a),d=c/a,h=n+u,p=d-u*u,f=h*h+p>0?Math.sqrt(h*h+p):0,m=u*u+p>0?Math.sqrt(u*u+p):0,g=u+Math.sqrt(u*u+p)!==0?p*Math.log(Math.abs((h+f)/(u+m))):0;return Math.sqrt(a)/2*(h*f-u*m+g)};function r(e,t,n){const i=o(1,n,e),r=o(1,n,t),s=i*i+r*r;return Math.sqrt(s)}t.getQuadraticArcLength=i;const o=(e,n,i)=>{const r=i.length-1;let s,a;if(0===r)return 0;if(0===e){a=0;for(let e=0;e<=r;e++)a+=t.binomialCoefficients[r][e]*Math.pow(1-n,r-e)*Math.pow(n,e)*i[e];return a}s=new Array(r);for(let t=0;t<r;t++)s[t]=r*(i[t+1]-i[t]);return o(e-1,n,s)},s=(e,t,n)=>{let i=1,r=e/t,o=(e-n(r))/t,s=0;while(i>.001){const a=n(r+o),l=Math.abs(e-a)/t;if(l<i)i=l,r+=o;else{const s=n(r-o),a=Math.abs(e-s)/t;a<i?(i=a,r-=o):o/=2}if(s++,s>500)break}return r};t.t2length=s},5778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(8558);e.exports=i.Konva},5838:(e,t,n)=>{"use strict";n.d(t,{lk:()=>_,pd:()=>b});var i=n(5215),r=n(4237),o=n(7412),s=n(3816),a=n(2250),l=n(9277),c=n(986),u=n(4408);function d(){(0,l.O)("error",h),(0,l.O)("unhandledrejection",h)}function h(){var e=(0,u.Z7)();if(e){var t="internal_error";c.w&&o.vF.log("[Tracing] Transaction: "+t+" -> Global error occured"),e.setStatus(t)}}var p=n(9375),f=n(7253);function m(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function g(e,t,n){return(0,u.wt)(t)?void 0!==e.sampled?(e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e):("function"===typeof t.tracesSampler?(i=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(i)}})):void 0!==n.parentSampled?(i=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(i=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(i)}})),v(i)?i?(e.sampled=Math.random()<i,e.sampled?(c.w&&o.vF.log("[Tracing] starting "+e.op+" transaction - "+e.name),e):(c.w&&o.vF.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(i)+")"),e)):(c.w&&o.vF.log("[Tracing] Discarding transaction because "+("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(c.w&&o.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var i}function v(e){return(0,s.yr)(e)||"number"!==typeof e&&"boolean"!==typeof e?(c.w&&o.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(e)+" of type "+JSON.stringify(typeof e)+"."),!1):!(e<0||e>1)||(c.w&&o.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+e+"."),!1)}function y(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=new f.Z(e,this);return o=g(o,r,(0,i.Cl)({parentSampled:e.parentSampled,transactionContext:e},t)),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function b(e,t,n,r,o){var s=e.getClient(),a=s&&s.getOptions()||{},l=new p.zX(t,e,n,r);return l=g(l,a,(0,i.Cl)({parentSampled:t.parentSampled,transactionContext:t},o)),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function w(){var e=(0,r.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=y),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=m))}function k(){var t=(0,r.EU)();if(t.__SENTRY__){var n={mongodb:function(){var t=(0,a.fj)(e,"./integrations/node/mongo");return new t.Mongo},mongoose:function(){var t=(0,a.fj)(e,"./integrations/node/mongo");return new t.Mongo({mongoose:!0})},mysql:function(){var t=(0,a.fj)(e,"./integrations/node/mysql");return new t.Mysql},pg:function(){var t=(0,a.fj)(e,"./integrations/node/postgres");return new t.Postgres}},o=Object.keys(n).filter((function(e){return!!(0,a.Vw)(e)})).map((function(e){try{return n[e]()}catch(t){return}})).filter((function(e){return e}));o.length>0&&(t.__SENTRY__.integrations=(0,i.gz)(t.__SENTRY__.integrations||[],o))}}function _(){w(),(0,a.wD)()&&k(),d()}e=n.hmd(e)},5916:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var i=n(9726),r=n(5778);function o(e){if(!r.autoDrawEnabled){const t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const s={key:!0,style:!0,elm:!0,isRootInsert:!0},a=".vue-konva-event";function l(e,t,n,i){const r=e.__konvaNode,l={};let c=!1;for(let o in n){if(s.hasOwnProperty(o))continue;const e="on"===o.slice(0,2),i=n[o]!==t[o];if(e&&i){let e=o.slice(2).toLowerCase();"content"===e.slice(0,7)&&(e="content"+e.slice(7,1).toUpperCase()+e.slice(8)),null==r||r.off(e+a,n[o])}!t.hasOwnProperty(o)&&(null==r||r.setAttr(o,void 0))}for(let o in t){if(s.hasOwnProperty(o))continue;let e="on"===o.slice(0,2);const u=n[o]!==t[o];if(e&&u){let e=o.slice(2).toLowerCase();"content"===e.slice(0,7)&&(e="content"+e.slice(7,1).toUpperCase()+e.slice(8)),t[o]&&(null==r||r.off(e+a),null==r||r.on(e+a,t[o]))}!e&&(t[o]!==n[o]||i&&t[o]!==(null==r?void 0:r.getAttr(o)))&&(c=!0,l[o]=t[o])}c&&r&&(r.setAttrs(l),o(r))}const c="v";function u(e){function t(e){return null!=e&&e.__konvaNode?e:null!=e&&e.parent?t(e.parent):(console.error("vue-konva error: Can not find parent node"),null)}return t(e.parent)}function d(e){return e.component?e.component.__konvaNode||d(e.component.subTree):null}function h(e){const{el:t,component:n}=e,i=d(e);if(null!=t&&t.tagName&&n&&!i){const e=t.tagName.toLowerCase();return console.error(`vue-konva error: You are trying to render "${e}" inside your component tree. Looks like it is not a Konva node. You can render only Konva components inside the Stage.`),null}return i}function p(e){const t=e=>!(null==e||!e.hasOwnProperty("component")),n=e=>Array.isArray(e),i=e=>t(e)?[e,...i(e.children)]:n(e)?e.flatMap(i):[];return i(e.children)}function f(e,t){const n=p(e),i=[];n.forEach((e=>{const t=h(e);t&&i.push(t)}));let r=!1;i.forEach(((e,t)=>{e.getZIndex()!==t&&(e.setZIndex(t),r=!0)})),r&&o(t)}const m=(0,i.defineComponent)({name:"Stage",props:{config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:o}){const s=(0,i.getCurrentInstance)();if(!s)return;const a=(0,i.reactive)({}),c=(0,i.ref)(null),u=new r.Stage({width:e.config.width,height:e.config.height,container:document.createElement("div")});function d(){return null==s?void 0:s.__konvaNode}function h(){return null==s?void 0:s.__konvaNode}function p(){if(!s)return;const n=a||{},i={...t,...e.config};l(s,i,n,e.__useStrictMode),Object.assign(a,i)}return s.__konvaNode=u,p(),(0,i.onMounted)((()=>{c.value&&(c.value.innerHTML="",u.container(c.value)),p()})),(0,i.onUpdated)((()=>{p(),f(s.subTree,u)})),(0,i.onBeforeUnmount)((()=>{u.destroy()})),(0,i.watch)((()=>e.config),p,{deep:!0}),o({getStage:h,getNode:d}),console.log(t),()=>{var e;return(0,i.h)("div",{ref:c,style:null==t?void 0:t.style},null==(e=n.default)?void 0:e.call(n))}}}),g=".vue-konva-event",v={Group:!0,Layer:!0,FastLayer:!0,Label:!0};function y(e,t){return(0,i.defineComponent)({name:e,props:{config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},setup(n,{attrs:r,slots:s,expose:a}){const c=(0,i.getCurrentInstance)();if(!c)return;const d=(0,i.reactive)({}),h=new t;function p(){return null==c?void 0:c.__konvaNode}function m(){return null==c?void 0:c.__konvaNode}function y(){if(!c)return;const e={};for(const n in null==c?void 0:c.vnode.props)"on"===n.slice(0,2)&&(e[n]=c.vnode.props[n]);const t=d||{},i={...r,...n.config,...e};l(c,i,t,n.__useStrictMode),Object.assign(d,i)}c.__konvaNode=h,c.vnode.__konvaNode=h,y(),(0,i.onMounted)((()=>{var e;const t=null==(e=u(c))?void 0:e.__konvaNode;t&&"add"in t&&t.add(h),o(h)})),(0,i.onUnmounted)((()=>{o(h),h.destroy(),h.off(g)})),(0,i.onUpdated)((()=>{y(),f(c.subTree,h)})),(0,i.watch)((()=>n.config),y,{deep:!0}),a({getStage:m,getNode:p});const b=v.hasOwnProperty(e);return()=>{var e;return b?(0,i.h)("template",{},null==(e=s.default)?void 0:e.call(s)):null}}})}typeof window<"u"&&!window.Konva&&require("konva");const b={install:(e,t)=>{const n=(null==t?void 0:t.prefix)||c,i={Arc:r.Arc,Arrow:r.Arrow,Circle:r.Circle,Ellipse:r.Ellipse,FastLayer:r.FastLayer,Group:r.Group,Image:r.Image,Label:r.Label,Layer:r.Layer,Line:r.Line,Path:r.Path,Rect:r.Rect,RegularPolygon:r.RegularPolygon,Ring:r.Ring,Shape:r.Shape,Sprite:r.Sprite,Star:r.Star,Tag:r.Tag,Text:r.Text,TextPath:r.TextPath,Transformer:r.Transformer,Wedge:r.Wedge,...null==t?void 0:t.customNodes};[m,...Object.entries(i).map((([e,t])=>y(e,t)))].forEach((t=>{e.component(`${n}${t.name}`,t)}))}}},5992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Noise=void 0;const i=n(4892),r=n(6536),o=n(5483),s=function(e){const t=255*this.noise(),n=e.data,i=n.length,r=t/2;for(let o=0;o<i;o+=4)n[o+0]+=r-2*r*Math.random(),n[o+1]+=r-2*r*Math.random(),n[o+2]+=r-2*r*Math.random()};t.Noise=s,i.Factory.addGetterSetter(r.Node,"noise",.2,(0,o.getNumberValidator)(),i.Factory.afterSetFilter)},6188:(e,t,n)=>{"use strict";n.d(t,{CQO:()=>b,CeG:()=>p,Dfk:()=>a,Dnq:()=>o,GF6:()=>E,INu:()=>_,Jyw:()=>x,MjD:()=>k,Q2C:()=>C,QLR:()=>S,QRE:()=>c,Uec:()=>D,V3T:()=>m,VH5:()=>l,XGd:()=>i,cbP:()=>v,dmS:()=>u,jkA:()=>d,lEd:()=>r,mCl:()=>h,mEO:()=>f,nx5:()=>g,rVG:()=>N,tdl:()=>y,vmR:()=>s,z1G:()=>T});
|
|
49
|
+
var i=function(e,t){return i=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])},i(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function s(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function a(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),s=[];try{while((void 0===t||t-- >0)&&!(i=o.next()).done)s.push(i.value)}catch(a){r={error:a}}finally{try{i&&!i.done&&(n=o["return"])&&n.call(o)}finally{if(r)throw r.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}},5451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ring=void 0;const i=n(4892),r=n(4723),o=n(5483),s=n(8871),a=2*Math.PI;class l extends r.Shape{_sceneFunc(e){e.beginPath(),e.arc(0,0,this.innerRadius(),0,a,!1),e.moveTo(this.outerRadius(),0),e.arc(0,0,this.outerRadius(),a,0,!0),e.closePath(),e.fillStrokeShape(this)}getWidth(){return 2*this.outerRadius()}getHeight(){return 2*this.outerRadius()}setWidth(e){this.outerRadius(e/2)}setHeight(e){this.outerRadius(e/2)}}t.Ring=l,l.prototype.className="Ring",l.prototype._centroid=!0,l.prototype._attrsAffectingSize=["innerRadius","outerRadius"],(0,s._registerNode)(l),i.Factory.addGetterSetter(l,"innerRadius",0,(0,o.getNumberValidator)()),i.Factory.addGetterSetter(l,"outerRadius",0,(0,o.getNumberValidator)())},5461:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HSL=void 0;const i=n(4892),r=n(6536),o=n(5483);i.Factory.addGetterSetter(r.Node,"hue",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"saturation",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"luminance",0,(0,o.getNumberValidator)(),i.Factory.afterSetFilter);const s=function(e){const t=e.data,n=t.length,i=1,r=Math.pow(2,this.saturation()),o=Math.abs(this.hue()+360)%360,s=127*this.luminance(),a=i*r*Math.cos(o*Math.PI/180),l=i*r*Math.sin(o*Math.PI/180),c=.299*i+.701*a+.167*l,u=.587*i-.587*a+.33*l,d=.114*i-.114*a-.497*l,h=.299*i-.299*a-.328*l,p=.587*i+.413*a+.035*l,f=.114*i-.114*a+.293*l,m=.299*i-.3*a+1.25*l,g=.587*i-.586*a-1.05*l,v=.114*i+.886*a-.2*l;let y,b,w,k;for(let _=0;_<n;_+=4)y=t[_+0],b=t[_+1],w=t[_+2],k=t[_+3],t[_+0]=c*y+u*b+d*w+s,t[_+1]=h*y+p*b+f*w+s,t[_+2]=m*y+g*b+v*w+s,t[_+3]=k};t.HSL=s},5483:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RGBComponent=s,t.alphaComponent=a,t.getNumberValidator=l,t.getNumberOrArrayOfNumbersValidator=c,t.getNumberOrAutoValidator=u,t.getStringValidator=d,t.getStringOrGradientValidator=h,t.getFunctionValidator=p,t.getNumberArrayValidator=f,t.getBooleanValidator=m,t.getComponentValidator=g;const i=n(8871),r=n(4060);function o(e){return r.Util._isString(e)?'"'+e+'"':"[object Number]"===Object.prototype.toString.call(e)||r.Util._isBoolean(e)?e:Object.prototype.toString.call(e)}function s(e){return e>255?255:e<0?0:Math.round(e)}function a(e){return e>1?1:e<1e-4?1e-4:e}function l(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isNumber(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a number.'),e}}function c(e){if(i.Konva.isUnminified)return function(t,n){let i=r.Util._isNumber(t),s=r.Util._isArray(t)&&t.length==e;return i||s||r.Util.warn(o(t)+' is a not valid value for "'+n+'" attribute. The value should be a number or Array<number>('+e+")"),t}}function u(){if(i.Konva.isUnminified)return function(e,t){var n=r.Util._isNumber(e),i="auto"===e;return n||i||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a number or "auto".'),e}}function d(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isString(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a string.'),e}}function h(){if(i.Konva.isUnminified)return function(e,t){const n=r.Util._isString(e),i="[object CanvasGradient]"===Object.prototype.toString.call(e)||e&&e["addColorStop"];return n||i||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a string or a native gradient.'),e}}function p(){if(i.Konva.isUnminified)return function(e,t){return r.Util._isFunction(e)||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a function.'),e}}function f(){if(i.Konva.isUnminified)return function(e,t){const n=Int8Array?Object.getPrototypeOf(Int8Array):null;return n&&e instanceof n||(r.Util._isArray(e)?e.forEach((function(e){r.Util._isNumber(e)||r.Util.warn('"'+t+'" attribute has non numeric element '+e+". Make sure that all elements are numbers.")})):r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a array of numbers.')),e}}function m(){if(i.Konva.isUnminified)return function(e,t){var n=!0===e||!1===e;return n||r.Util.warn(o(e)+' is a not valid value for "'+t+'" attribute. The value should be a boolean.'),e}}function g(e){if(i.Konva.isUnminified)return function(t,n){return void 0===t||null===t||r.Util.isObject(t)||r.Util.warn(o(t)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+e),t}}},5553:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Kaleidoscope=void 0;const i=n(4892),r=n(6536),o=n(4060),s=n(5483),a=function(e,t,n){const i=e.data,r=t.data,o=e.width,s=e.height,a=n.polarCenterX||o/2,l=n.polarCenterY||s/2;let c=Math.sqrt(a*a+l*l),u=o-a,d=s-l;const h=Math.sqrt(u*u+d*d);c=h>c?h:c;const p=s,f=o,m=360/f*Math.PI/180;for(let g=0;g<f;g+=1){const e=Math.sin(g*m),t=Math.cos(g*m);for(let n=0;n<p;n+=1){u=Math.floor(a+c*n/p*t),d=Math.floor(l+c*n/p*e);let s=4*(d*o+u);const h=i[s+0],f=i[s+1],m=i[s+2],v=i[s+3];s=4*(g+n*o),r[s+0]=h,r[s+1]=f,r[s+2]=m,r[s+3]=v}}},l=function(e,t,n){const i=e.data,r=t.data,o=e.width,s=e.height,a=n.polarCenterX||o/2,l=n.polarCenterY||s/2;let c=Math.sqrt(a*a+l*l),u=o-a,d=s-l;const h=Math.sqrt(u*u+d*d);c=h>c?h:c;const p=s,f=o,m=n.polarRotation||0;let g,v;for(u=0;u<o;u+=1)for(d=0;d<s;d+=1){const e=u-a,t=d-l,n=Math.sqrt(e*e+t*t)*p/c;let s=(180*Math.atan2(t,e)/Math.PI+360+m)%360;s=s*f/360,g=Math.floor(s),v=Math.floor(n);let h=4*(v*o+g);const y=i[h+0],b=i[h+1],w=i[h+2],k=i[h+3];h=4*(d*o+u),r[h+0]=y,r[h+1]=b,r[h+2]=w,r[h+3]=k}},c=function(e){const t=e.width,n=e.height;let i,r,s,c,u,d,h,p,f,m,g=Math.round(this.kaleidoscopePower());const v=Math.round(this.kaleidoscopeAngle()),y=Math.floor(t*(v%360)/360);if(g<1)return;const b=o.Util.createCanvasElement();b.width=t,b.height=n;const w=b.getContext("2d").getImageData(0,0,t,n);o.Util.releaseCanvas(b),a(e,w,{polarCenterX:t/2,polarCenterY:n/2});let k=t/Math.pow(2,g);while(k<=8)k*=2,g-=1;k=Math.ceil(k);let _=k,S=0,x=_,C=1;for(y+k>t&&(S=_,x=0,C=-1),r=0;r<n;r+=1)for(i=S;i!==x;i+=C)s=Math.round(i+y)%t,f=4*(t*r+s),u=w.data[f+0],d=w.data[f+1],h=w.data[f+2],p=w.data[f+3],m=4*(t*r+i),w.data[m+0]=u,w.data[m+1]=d,w.data[m+2]=h,w.data[m+3]=p;for(r=0;r<n;r+=1)for(_=Math.floor(k),c=0;c<g;c+=1){for(i=0;i<_+1;i+=1)f=4*(t*r+i),u=w.data[f+0],d=w.data[f+1],h=w.data[f+2],p=w.data[f+3],m=4*(t*r+2*_-i-1),w.data[m+0]=u,w.data[m+1]=d,w.data[m+2]=h,w.data[m+3]=p;_*=2}l(w,e,{polarRotation:0})};t.Kaleidoscope=c,i.Factory.addGetterSetter(r.Node,"kaleidoscopePower",2,(0,s.getNumberValidator)(),i.Factory.afterSetFilter),i.Factory.addGetterSetter(r.Node,"kaleidoscopeAngle",0,(0,s.getNumberValidator)(),i.Factory.afterSetFilter)},5570:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.t2length=t.getQuadraticArcLength=t.getCubicArcLength=t.binomialCoefficients=t.cValues=t.tValues=void 0,t.tValues=[[],[],[-.5773502691896257,.5773502691896257],[0,-.7745966692414834,.7745966692414834],[-.33998104358485626,.33998104358485626,-.8611363115940526,.8611363115940526],[0,-.5384693101056831,.5384693101056831,-.906179845938664,.906179845938664],[.6612093864662645,-.6612093864662645,-.2386191860831969,.2386191860831969,-.932469514203152,.932469514203152],[0,.4058451513773972,-.4058451513773972,-.7415311855993945,.7415311855993945,-.9491079123427585,.9491079123427585],[-.1834346424956498,.1834346424956498,-.525532409916329,.525532409916329,-.7966664774136267,.7966664774136267,-.9602898564975363,.9602898564975363],[0,-.8360311073266358,.8360311073266358,-.9681602395076261,.9681602395076261,-.3242534234038089,.3242534234038089,-.6133714327005904,.6133714327005904],[-.14887433898163122,.14887433898163122,-.4333953941292472,.4333953941292472,-.6794095682990244,.6794095682990244,-.8650633666889845,.8650633666889845,-.9739065285171717,.9739065285171717],[0,-.26954315595234496,.26954315595234496,-.5190961292068118,.5190961292068118,-.7301520055740494,.7301520055740494,-.8870625997680953,.8870625997680953,-.978228658146057,.978228658146057],[-.1252334085114689,.1252334085114689,-.3678314989981802,.3678314989981802,-.5873179542866175,.5873179542866175,-.7699026741943047,.7699026741943047,-.9041172563704749,.9041172563704749,-.9815606342467192,.9815606342467192],[0,-.2304583159551348,.2304583159551348,-.44849275103644687,.44849275103644687,-.6423493394403402,.6423493394403402,-.8015780907333099,.8015780907333099,-.9175983992229779,.9175983992229779,-.9841830547185881,.9841830547185881],[-.10805494870734367,.10805494870734367,-.31911236892788974,.31911236892788974,-.5152486363581541,.5152486363581541,-.6872929048116855,.6872929048116855,-.827201315069765,.827201315069765,-.9284348836635735,.9284348836635735,-.9862838086968123,.9862838086968123],[0,-.20119409399743451,.20119409399743451,-.3941513470775634,.3941513470775634,-.5709721726085388,.5709721726085388,-.7244177313601701,.7244177313601701,-.8482065834104272,.8482065834104272,-.937273392400706,.937273392400706,-.9879925180204854,.9879925180204854],[-.09501250983763744,.09501250983763744,-.2816035507792589,.2816035507792589,-.45801677765722737,.45801677765722737,-.6178762444026438,.6178762444026438,-.755404408355003,.755404408355003,-.8656312023878318,.8656312023878318,-.9445750230732326,.9445750230732326,-.9894009349916499,.9894009349916499],[0,-.17848418149584785,.17848418149584785,-.3512317634538763,.3512317634538763,-.5126905370864769,.5126905370864769,-.6576711592166907,.6576711592166907,-.7815140038968014,.7815140038968014,-.8802391537269859,.8802391537269859,-.9506755217687678,.9506755217687678,-.9905754753144174,.9905754753144174],[-.0847750130417353,.0847750130417353,-.2518862256915055,.2518862256915055,-.41175116146284263,.41175116146284263,-.5597708310739475,.5597708310739475,-.6916870430603532,.6916870430603532,-.8037049589725231,.8037049589725231,-.8926024664975557,.8926024664975557,-.9558239495713977,.9558239495713977,-.9915651684209309,.9915651684209309],[0,-.16035864564022537,.16035864564022537,-.31656409996362983,.31656409996362983,-.46457074137596094,.46457074137596094,-.600545304661681,.600545304661681,-.7209661773352294,.7209661773352294,-.8227146565371428,.8227146565371428,-.9031559036148179,.9031559036148179,-.96020815213483,.96020815213483,-.9924068438435844,.9924068438435844],[-.07652652113349734,.07652652113349734,-.22778585114164507,.22778585114164507,-.37370608871541955,.37370608871541955,-.5108670019508271,.5108670019508271,-.636053680726515,.636053680726515,-.7463319064601508,.7463319064601508,-.8391169718222188,.8391169718222188,-.912234428251326,.912234428251326,-.9639719272779138,.9639719272779138,-.9931285991850949,.9931285991850949],[0,-.1455618541608951,.1455618541608951,-.2880213168024011,.2880213168024011,-.4243421202074388,.4243421202074388,-.5516188358872198,.5516188358872198,-.6671388041974123,.6671388041974123,-.7684399634756779,.7684399634756779,-.8533633645833173,.8533633645833173,-.9200993341504008,.9200993341504008,-.9672268385663063,.9672268385663063,-.9937521706203895,.9937521706203895],[-.06973927331972223,.06973927331972223,-.20786042668822127,.20786042668822127,-.34193582089208424,.34193582089208424,-.469355837986757,.469355837986757,-.5876404035069116,.5876404035069116,-.6944872631866827,.6944872631866827,-.7878168059792081,.7878168059792081,-.8658125777203002,.8658125777203002,-.926956772187174,.926956772187174,-.9700604978354287,.9700604978354287,-.9942945854823992,.9942945854823992],[0,-.1332568242984661,.1332568242984661,-.26413568097034495,.26413568097034495,-.3903010380302908,.3903010380302908,-.5095014778460075,.5095014778460075,-.6196098757636461,.6196098757636461,-.7186613631319502,.7186613631319502,-.8048884016188399,.8048884016188399,-.8767523582704416,.8767523582704416,-.9329710868260161,.9329710868260161,-.9725424712181152,.9725424712181152,-.9947693349975522,.9947693349975522],[-.06405689286260563,.06405689286260563,-.1911188674736163,.1911188674736163,-.3150426796961634,.3150426796961634,-.4337935076260451,.4337935076260451,-.5454214713888396,.5454214713888396,-.6480936519369755,.6480936519369755,-.7401241915785544,.7401241915785544,-.820001985973903,.820001985973903,-.8864155270044011,.8864155270044011,-.9382745520027328,.9382745520027328,-.9747285559713095,.9747285559713095,-.9951872199970213,.9951872199970213]],t.cValues=[[],[],[1,1],[.8888888888888888,.5555555555555556,.5555555555555556],[.6521451548625461,.6521451548625461,.34785484513745385,.34785484513745385],[.5688888888888889,.47862867049936647,.47862867049936647,.23692688505618908,.23692688505618908],[.3607615730481386,.3607615730481386,.46791393457269104,.46791393457269104,.17132449237917036,.17132449237917036],[.4179591836734694,.3818300505051189,.3818300505051189,.27970539148927664,.27970539148927664,.1294849661688697,.1294849661688697],[.362683783378362,.362683783378362,.31370664587788727,.31370664587788727,.22238103445337448,.22238103445337448,.10122853629037626,.10122853629037626],[.3302393550012598,.1806481606948574,.1806481606948574,.08127438836157441,.08127438836157441,.31234707704000286,.31234707704000286,.26061069640293544,.26061069640293544],[.29552422471475287,.29552422471475287,.26926671930999635,.26926671930999635,.21908636251598204,.21908636251598204,.1494513491505806,.1494513491505806,.06667134430868814,.06667134430868814],[.2729250867779006,.26280454451024665,.26280454451024665,.23319376459199048,.23319376459199048,.18629021092773426,.18629021092773426,.1255803694649046,.1255803694649046,.05566856711617366,.05566856711617366],[.24914704581340277,.24914704581340277,.2334925365383548,.2334925365383548,.20316742672306592,.20316742672306592,.16007832854334622,.16007832854334622,.10693932599531843,.10693932599531843,.04717533638651183,.04717533638651183],[.2325515532308739,.22628318026289723,.22628318026289723,.2078160475368885,.2078160475368885,.17814598076194574,.17814598076194574,.13887351021978725,.13887351021978725,.09212149983772845,.09212149983772845,.04048400476531588,.04048400476531588],[.2152638534631578,.2152638534631578,.2051984637212956,.2051984637212956,.18553839747793782,.18553839747793782,.15720316715819355,.15720316715819355,.12151857068790319,.12151857068790319,.08015808715976021,.08015808715976021,.03511946033175186,.03511946033175186],[.2025782419255613,.19843148532711158,.19843148532711158,.1861610000155622,.1861610000155622,.16626920581699392,.16626920581699392,.13957067792615432,.13957067792615432,.10715922046717194,.10715922046717194,.07036604748810812,.07036604748810812,.03075324199611727,.03075324199611727],[.1894506104550685,.1894506104550685,.18260341504492358,.18260341504492358,.16915651939500254,.16915651939500254,.14959598881657674,.14959598881657674,.12462897125553388,.12462897125553388,.09515851168249279,.09515851168249279,.062253523938647894,.062253523938647894,.027152459411754096,.027152459411754096],[.17944647035620653,.17656270536699264,.17656270536699264,.16800410215645004,.16800410215645004,.15404576107681028,.15404576107681028,.13513636846852548,.13513636846852548,.11188384719340397,.11188384719340397,.08503614831717918,.08503614831717918,.0554595293739872,.0554595293739872,.02414830286854793,.02414830286854793],[.1691423829631436,.1691423829631436,.16427648374583273,.16427648374583273,.15468467512626524,.15468467512626524,.14064291467065065,.14064291467065065,.12255520671147846,.12255520671147846,.10094204410628717,.10094204410628717,.07642573025488905,.07642573025488905,.0497145488949698,.0497145488949698,.02161601352648331,.02161601352648331],[.1610544498487837,.15896884339395434,.15896884339395434,.15276604206585967,.15276604206585967,.1426067021736066,.1426067021736066,.12875396253933621,.12875396253933621,.11156664554733399,.11156664554733399,.09149002162245,.09149002162245,.06904454273764123,.06904454273764123,.0448142267656996,.0448142267656996,.019461788229726478,.019461788229726478],[.15275338713072584,.15275338713072584,.14917298647260374,.14917298647260374,.14209610931838204,.14209610931838204,.13168863844917664,.13168863844917664,.11819453196151841,.11819453196151841,.10193011981724044,.10193011981724044,.08327674157670475,.08327674157670475,.06267204833410907,.06267204833410907,.04060142980038694,.04060142980038694,.017614007139152118,.017614007139152118],[.14608113364969041,.14452440398997005,.14452440398997005,.13988739479107315,.13988739479107315,.13226893863333747,.13226893863333747,.12183141605372853,.12183141605372853,.10879729916714838,.10879729916714838,.09344442345603386,.09344442345603386,.0761001136283793,.0761001136283793,.057134425426857205,.057134425426857205,.036953789770852494,.036953789770852494,.016017228257774335,.016017228257774335],[.13925187285563198,.13925187285563198,.13654149834601517,.13654149834601517,.13117350478706238,.13117350478706238,.12325237681051242,.12325237681051242,.11293229608053922,.11293229608053922,.10041414444288096,.10041414444288096,.08594160621706773,.08594160621706773,.06979646842452049,.06979646842452049,.052293335152683286,.052293335152683286,.03377490158481415,.03377490158481415,.0146279952982722,.0146279952982722],[.13365457218610619,.1324620394046966,.1324620394046966,.12890572218808216,.12890572218808216,.12304908430672953,.12304908430672953,.11499664022241136,.11499664022241136,.10489209146454141,.10489209146454141,.09291576606003515,.09291576606003515,.07928141177671895,.07928141177671895,.06423242140852585,.06423242140852585,.04803767173108467,.04803767173108467,.030988005856979445,.030988005856979445,.013411859487141771,.013411859487141771],[.12793819534675216,.12793819534675216,.1258374563468283,.1258374563468283,.12167047292780339,.12167047292780339,.1155056680537256,.1155056680537256,.10744427011596563,.10744427011596563,.09761865210411388,.09761865210411388,.08619016153195327,.08619016153195327,.0733464814110803,.0733464814110803,.05929858491543678,.05929858491543678,.04427743881741981,.04427743881741981,.028531388628933663,.028531388628933663,.0123412297999872,.0123412297999872]],t.binomialCoefficients=[[1],[1,1],[1,2,1],[1,3,3,1]];const n=(e,n,i)=>{let o,s;const a=20,l=i/2;o=0;for(let c=0;c<a;c++)s=l*t.tValues[a][c]+l,o+=t.cValues[a][c]*r(e,n,s);return l*o};t.getCubicArcLength=n;const i=(e,t,n)=>{void 0===n&&(n=1);const i=e[0]-2*e[1]+e[2],r=t[0]-2*t[1]+t[2],o=2*e[1]-2*e[0],s=2*t[1]-2*t[0],a=4*(i*i+r*r),l=4*(i*o+r*s),c=o*o+s*s;if(0===a)return n*Math.sqrt(Math.pow(e[2]-e[0],2)+Math.pow(t[2]-t[0],2));const u=l/(2*a),d=c/a,h=n+u,p=d-u*u,f=h*h+p>0?Math.sqrt(h*h+p):0,m=u*u+p>0?Math.sqrt(u*u+p):0,g=u+Math.sqrt(u*u+p)!==0?p*Math.log(Math.abs((h+f)/(u+m))):0;return Math.sqrt(a)/2*(h*f-u*m+g)};function r(e,t,n){const i=o(1,n,e),r=o(1,n,t),s=i*i+r*r;return Math.sqrt(s)}t.getQuadraticArcLength=i;const o=(e,n,i)=>{const r=i.length-1;let s,a;if(0===r)return 0;if(0===e){a=0;for(let e=0;e<=r;e++)a+=t.binomialCoefficients[r][e]*Math.pow(1-n,r-e)*Math.pow(n,e)*i[e];return a}s=new Array(r);for(let t=0;t<r;t++)s[t]=r*(i[t+1]-i[t]);return o(e-1,n,s)},s=(e,t,n)=>{let i=1,r=e/t,o=(e-n(r))/t,s=0;while(i>.001){const a=n(r+o),l=Math.abs(e-a)/t;if(l<i)i=l,r+=o;else{const s=n(r-o),a=Math.abs(e-s)/t;a<i?(i=a,r-=o):o/=2}if(s++,s>500)break}return r};t.t2length=s},5778:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(8558);e.exports=i.Konva},5838:(e,t,n)=>{"use strict";n.d(t,{lk:()=>_,pd:()=>b});var i=n(5215),r=n(4237),o=n(7412),s=n(3816),a=n(2250),l=n(9277),c=n(986),u=n(4408);function d(){(0,l.O)("error",h),(0,l.O)("unhandledrejection",h)}function h(){var e=(0,u.Z7)();if(e){var t="internal_error";c.w&&o.vF.log("[Tracing] Transaction: "+t+" -> Global error occured"),e.setStatus(t)}}var p=n(9375),f=n(7253);function m(){var e=this.getScope();if(e){var t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function g(e,t,n){return(0,u.wt)(t)?void 0!==e.sampled?(e.setMetadata({transactionSampling:{method:"explicitly_set"}}),e):("function"===typeof t.tracesSampler?(i=t.tracesSampler(n),e.setMetadata({transactionSampling:{method:"client_sampler",rate:Number(i)}})):void 0!==n.parentSampled?(i=n.parentSampled,e.setMetadata({transactionSampling:{method:"inheritance"}})):(i=t.tracesSampleRate,e.setMetadata({transactionSampling:{method:"client_rate",rate:Number(i)}})),v(i)?i?(e.sampled=Math.random()<i,e.sampled?(c.w&&o.vF.log("[Tracing] starting "+e.op+" transaction - "+e.name),e):(c.w&&o.vF.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = "+Number(i)+")"),e)):(c.w&&o.vF.log("[Tracing] Discarding transaction because "+("function"===typeof t.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),e.sampled=!1,e):(c.w&&o.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)):(e.sampled=!1,e);var i}function v(e){return(0,s.yr)(e)||"number"!==typeof e&&"boolean"!==typeof e?(c.w&&o.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got "+JSON.stringify(e)+" of type "+JSON.stringify(typeof e)+"."),!1):!(e<0||e>1)||(c.w&&o.vF.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got "+e+"."),!1)}function y(e,t){var n=this.getClient(),r=n&&n.getOptions()||{},o=new f.Z(e,this);return o=g(o,r,(0,i.Cl)({parentSampled:e.parentSampled,transactionContext:e},t)),o.sampled&&o.initSpanRecorder(r._experiments&&r._experiments.maxSpans),o}function b(e,t,n,r,o){var s=e.getClient(),a=s&&s.getOptions()||{},l=new p.zX(t,e,n,r);return l=g(l,a,(0,i.Cl)({parentSampled:t.parentSampled,transactionContext:t},o)),l.sampled&&l.initSpanRecorder(a._experiments&&a._experiments.maxSpans),l}function w(){var e=(0,r.EU)();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=y),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=m))}function k(){var t=(0,r.EU)();if(t.__SENTRY__){var n={mongodb:function(){var t=(0,a.fj)(e,"./integrations/node/mongo");return new t.Mongo},mongoose:function(){var t=(0,a.fj)(e,"./integrations/node/mongo");return new t.Mongo({mongoose:!0})},mysql:function(){var t=(0,a.fj)(e,"./integrations/node/mysql");return new t.Mysql},pg:function(){var t=(0,a.fj)(e,"./integrations/node/postgres");return new t.Postgres}},o=Object.keys(n).filter((function(e){return!!(0,a.Vw)(e)})).map((function(e){try{return n[e]()}catch(t){return}})).filter((function(e){return e}));o.length>0&&(t.__SENTRY__.integrations=(0,i.gz)(t.__SENTRY__.integrations||[],o))}}function _(){w(),(0,a.wD)()&&k(),d()}e=n.hmd(e)},5916:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var i=n(9726),r=n(5778);function o(e){if(!r.autoDrawEnabled){const t=e.getLayer()||e.getStage();t&&t.batchDraw()}}const s={key:!0,style:!0,elm:!0,isRootInsert:!0},a=".vue-konva-event";function l(e,t,n,i){const r=e.__konvaNode,l={};let c=!1;for(let o in n){if(s.hasOwnProperty(o))continue;const e="on"===o.slice(0,2),i=n[o]!==t[o];if(e&&i){let e=o.slice(2).toLowerCase();"content"===e.slice(0,7)&&(e="content"+e.slice(7,1).toUpperCase()+e.slice(8)),null==r||r.off(e+a,n[o])}!t.hasOwnProperty(o)&&(null==r||r.setAttr(o,void 0))}for(let o in t){if(s.hasOwnProperty(o))continue;let e="on"===o.slice(0,2);const u=n[o]!==t[o];if(e&&u){let e=o.slice(2).toLowerCase();"content"===e.slice(0,7)&&(e="content"+e.slice(7,1).toUpperCase()+e.slice(8)),t[o]&&(null==r||r.off(e+a),null==r||r.on(e+a,t[o]))}!e&&(t[o]!==n[o]||i&&t[o]!==(null==r?void 0:r.getAttr(o)))&&(c=!0,l[o]=t[o])}c&&r&&(r.setAttrs(l),o(r))}const c="v";function u(e){function t(e){return null!=e&&e.__konvaNode?e:null!=e&&e.parent?t(e.parent):(console.error("vue-konva error: Can not find parent node"),null)}return t(e.parent)}function d(e){return e.component?e.component.__konvaNode||d(e.component.subTree):null}function h(e){const{el:t,component:n}=e,i=d(e);if(null!=t&&t.tagName&&n&&!i){const e=t.tagName.toLowerCase();return console.error(`vue-konva error: You are trying to render "${e}" inside your component tree. Looks like it is not a Konva node. You can render only Konva components inside the Stage.`),null}return i}function p(e){const t=e=>!(null==e||!e.hasOwnProperty("component")),n=e=>Array.isArray(e),i=e=>t(e)?[e,...i(e.children)]:n(e)?e.flatMap(i):[];return i(e.children)}function f(e,t){const n=p(e),i=[];n.forEach((e=>{const t=h(e);t&&i.push(t)}));let r=!1;i.forEach(((e,t)=>{e.getZIndex()!==t&&(e.setZIndex(t),r=!0)})),r&&o(t)}const m=(0,i.defineComponent)({name:"Stage",props:{config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:o}){const s=(0,i.getCurrentInstance)();if(!s)return;const a=(0,i.reactive)({}),c=(0,i.ref)(null),u=new r.Stage({width:e.config.width,height:e.config.height,container:document.createElement("div")});function d(){return null==s?void 0:s.__konvaNode}function h(){return null==s?void 0:s.__konvaNode}function p(){if(!s)return;const n=a||{},i={...t,...e.config};l(s,i,n,e.__useStrictMode),Object.assign(a,i)}return s.__konvaNode=u,p(),(0,i.onMounted)((()=>{c.value&&(c.value.innerHTML="",u.container(c.value)),p()})),(0,i.onUpdated)((()=>{p(),f(s.subTree,u)})),(0,i.onBeforeUnmount)((()=>{u.destroy()})),(0,i.watch)((()=>e.config),p,{deep:!0}),o({getStage:h,getNode:d}),()=>{var e;return(0,i.h)("div",{ref:c,style:null==t?void 0:t.style},null==(e=n.default)?void 0:e.call(n))}}}),g=".vue-konva-event",v={Group:!0,Layer:!0,FastLayer:!0,Label:!0};function y(e,t){return(0,i.defineComponent)({name:e,props:{config:{type:Object,default:function(){return{}}},__useStrictMode:{type:Boolean}},setup(n,{attrs:r,slots:s,expose:a}){const c=(0,i.getCurrentInstance)();if(!c)return;const d=(0,i.reactive)({}),h=new t;function p(){return null==c?void 0:c.__konvaNode}function m(){return null==c?void 0:c.__konvaNode}function y(){if(!c)return;const e={};for(const n in null==c?void 0:c.vnode.props)"on"===n.slice(0,2)&&(e[n]=c.vnode.props[n]);const t=d||{},i={...r,...n.config,...e};l(c,i,t,n.__useStrictMode),Object.assign(d,i)}c.__konvaNode=h,c.vnode.__konvaNode=h,y(),(0,i.onMounted)((()=>{var e;const t=null==(e=u(c))?void 0:e.__konvaNode;t&&"add"in t&&t.add(h),o(h)})),(0,i.onUnmounted)((()=>{o(h),h.destroy(),h.off(g)})),(0,i.onUpdated)((()=>{y(),f(c.subTree,h)})),(0,i.watch)((()=>n.config),y,{deep:!0}),a({getStage:m,getNode:p});const b=v.hasOwnProperty(e);return()=>{var e;return b?(0,i.h)("template",{},null==(e=s.default)?void 0:e.call(s)):null}}})}typeof window<"u"&&!window.Konva&&require("konva");const b={install:(e,t)=>{const n=(null==t?void 0:t.prefix)||c,i={Arc:r.Arc,Arrow:r.Arrow,Circle:r.Circle,Ellipse:r.Ellipse,FastLayer:r.FastLayer,Group:r.Group,Image:r.Image,Label:r.Label,Layer:r.Layer,Line:r.Line,Path:r.Path,Rect:r.Rect,RegularPolygon:r.RegularPolygon,Ring:r.Ring,Shape:r.Shape,Sprite:r.Sprite,Star:r.Star,Tag:r.Tag,Text:r.Text,TextPath:r.TextPath,Transformer:r.Transformer,Wedge:r.Wedge,...null==t?void 0:t.customNodes};[m,...Object.entries(i).map((([e,t])=>y(e,t)))].forEach((t=>{e.component(`${n}${t.name}`,t)}))}}},5992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Noise=void 0;const i=n(4892),r=n(6536),o=n(5483),s=function(e){const t=255*this.noise(),n=e.data,i=n.length,r=t/2;for(let o=0;o<i;o+=4)n[o+0]+=r-2*r*Math.random(),n[o+1]+=r-2*r*Math.random(),n[o+2]+=r-2*r*Math.random()};t.Noise=s,i.Factory.addGetterSetter(r.Node,"noise",.2,(0,o.getNumberValidator)(),i.Factory.afterSetFilter)},6188:(e,t,n)=>{"use strict";n.d(t,{CQO:()=>b,CeG:()=>p,Dfk:()=>a,Dnq:()=>o,GF6:()=>E,INu:()=>_,Jyw:()=>x,MjD:()=>k,Q2C:()=>C,QLR:()=>S,QRE:()=>c,Uec:()=>D,V3T:()=>m,VH5:()=>l,XGd:()=>i,cbP:()=>v,dmS:()=>u,jkA:()=>d,lEd:()=>r,mCl:()=>h,mEO:()=>f,nx5:()=>g,rVG:()=>N,tdl:()=>y,vmR:()=>s,z1G:()=>T});
|
|
50
50
|
/*!
|
|
51
51
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
52
52
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|