@sheetxl/studio-vanilla 0.3.22 → 0.3.23
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/browser/cjs/{Cj0QfkfoOkk5h2fI.cjs → 1YHhQAyuEBCdnxLq.cjs} +8 -8
- package/browser/cjs/{BVSgRPnwULlPvK0r.cjs → 9UJAgr17pC52FvNS.cjs} +1 -1
- package/browser/cjs/{C9ZfdCWfTjjXvpcL.cjs → B6jW4__3xi32ba5Z.cjs} +1 -1
- package/browser/cjs/{CXZ8i2VBM0munm-5.cjs → B8jcrNkTeVeivhoT.cjs} +2 -2
- package/browser/cjs/{xN1Qr58oMus531lJ.cjs → BRgJMarh4Bp58iM3.cjs} +2 -2
- package/browser/cjs/{KQ0ZDDyov-OELoWW.cjs → BV-ZJjmj_rGxcdgT.cjs} +2 -2
- package/browser/cjs/{Al2MQV8lh0riUNcV.cjs → BV0L9gP18W00UBzV.cjs} +2 -2
- package/browser/cjs/{Ditw9NZuBwrMozqm.cjs → BZzMK8bX8rQGjjSF.cjs} +1 -1
- package/browser/cjs/{CkhwVXE_ZUol5dJX.cjs → BclC9iWDSimHqVjL.cjs} +1 -1
- package/browser/cjs/{CHCyNo_BuuFCMXQB.cjs → BfF2oDUTv3b16mah.cjs} +2 -2
- package/browser/cjs/{DMB1rgM6a7YNSt5g.cjs → BvyNLM_Rh4usHxN8.cjs} +3 -3
- package/browser/cjs/{C0B7RJBThZ716zNn.cjs → CYXbh4ysBOipBqkj.cjs} +2 -2
- package/browser/cjs/{CUVgrmwYs_rPCnQo.cjs → Ck8EsgvaXxoWGWIo.cjs} +1 -1
- package/browser/cjs/{BcRAST0JeKEYbVo0.cjs → CnnLV8wvpNYrxBu8.cjs} +2 -2
- package/browser/cjs/{ChRojgd8XOaHbumL.cjs → CrvRa0OxpqstjOap.cjs} +3 -3
- package/browser/cjs/{BqFWpXnn-Mp8QJv3.cjs → CzvztZ4uxzxXxoJz.cjs} +1 -1
- package/browser/cjs/{E7YmtCLyNmiYVNWk.cjs → D2EeD2h3tDPA2kQP.cjs} +2 -2
- package/browser/cjs/{DmY_aQOOM0o5JVCU.cjs → DH0zi_Wry2AW6ZUU.cjs} +2 -2
- package/browser/cjs/{CCt310aPAkQrCxMS.cjs → DN04BBJX0G6Imvov.cjs} +1 -1
- package/browser/cjs/{YCo0jVF3gVFbhr47.cjs → FG67s6xYNluXdXvC.cjs} +6 -6
- package/browser/cjs/{f8iOur27WgxcCHu-.cjs → GIDXrrerjDR3B4EL.cjs} +2 -2
- package/browser/cjs/{BMnHJCYgczQeK7yj.cjs → Y4LVpioiIg6LVL0s.cjs} +1 -1
- package/browser/cjs/{l9_2SrMnTqLmsbOI.cjs → cAwpZ8WIPtGrZO6Z.cjs} +2 -2
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{QxpNuD32ALFmzlQy.cjs → s3GJkzAMIO6cYaSZ.cjs} +2 -2
- package/browser/cjs/{_LVZ0BveWOPpuZsg.cjs → t1zHQhUwG57XvWD1.cjs} +1 -1
- package/browser/cjs/{H07xNhSJd2mcr1hH.cjs → x3raNMkDfaCh0EE2.cjs} +2 -2
- package/browser/esm/{C4M4jeGZlVNRXm7h.mjs → -7YvwD_KW5dr0aQz.mjs} +2 -2
- package/{cdn/assets/B7VWV3mOfVfjQ8X_.js → browser/esm/2HfJU0aTT_Bt_C1k.mjs} +1 -1
- package/{cdn/assets/BepUubffj0mlwFa8.js → browser/esm/2x8k8K3PHoeCES5p.mjs} +1 -1
- package/browser/esm/{BzetCqLkU-ujyIa6.mjs → 79HTk8jodiQmQUBc.mjs} +1 -1
- package/browser/esm/{zWKltfCDHYd4idZe.mjs → B4oAHUD6p4G0iY0R.mjs} +3 -3
- package/browser/esm/{lbG2RsgOXyjZDEHl.mjs → BFEM5mApBCpmpVAr.mjs} +2 -2
- package/browser/esm/{NYl5Mtir4jBrX2Bf.mjs → Ba9xIFo2LyMdmGdT.mjs} +9 -9
- package/browser/esm/{DxAzbHPPjbApuIHy.mjs → BamlWP9tk7WuccNw.mjs} +1 -1
- package/browser/esm/{CDTxR4UuGL9hnyVm.mjs → Bxg6YZDSS6nuda9A.mjs} +5 -5
- package/browser/esm/{Bvm2NyEPClGdqKUy.mjs → C89TgIJ8wXM2zzi2.mjs} +2 -2
- package/browser/esm/{wVEbagpoPypbPgaY.mjs → CB7Nv3qsvLLOgCdi.mjs} +2 -2
- package/browser/esm/{CtuS8IiktfVft3-2.mjs → CTmlmL1xPxBY8Tlb.mjs} +2 -2
- package/browser/esm/{CgzfkkQm1-RgpYTA.mjs → C_RhbWkUPDzsDUSf.mjs} +1 -1
- package/browser/esm/{CIBfk61itqbRwite.mjs → CcrZdLwOlOP1_7C3.mjs} +2 -2
- package/browser/esm/{BM2ehWzirJGaipOU.mjs → CdLBlYIKGmFRx-71.mjs} +2 -2
- package/browser/esm/{6YmaJQdzRwhSVre4.mjs → D6SD1ZzY1e4yCRcj.mjs} +2 -2
- package/browser/esm/{wMHJqt8d8wuiEVt2.mjs → DAmWOxulMtL8YgeT.mjs} +1 -1
- package/browser/esm/{D069ZkZcG2gmg_7b.mjs → DE_K645GFpnL4ivw.mjs} +2 -2
- package/browser/esm/{0xjpAK3cwaMDV9ws.mjs → DLVmdsRKR3ocWEKQ.mjs} +4 -4
- package/browser/esm/{DVxbvTeHj5K4gMz3.mjs → DOw5s5gYeGN5hpDW.mjs} +1 -1
- package/browser/esm/{6D2H1sekqHDpLAP2.mjs → DhLjmvRs0NY_DZ3N.mjs} +6 -6
- package/browser/esm/{CdwVMHLVwbc0N19K.mjs → M2yggAbKlXnck1iP.mjs} +1 -1
- package/browser/esm/{DRg3GYJp7n-7FntR.mjs → ecAisjqAr4L--qoT.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{nvKJNEHHbBbZi85h.mjs → wDyitzkk-GLjBpKt.mjs} +3 -3
- package/browser/esm/{Dv-8RclwSH75AIHF.mjs → ykhbZtJZIjlAsmGI.mjs} +3 -3
- package/{cdn/assets/COdBjdGqn91UmCCl.js → browser/esm/z-hGrI35JHwTNTP_.mjs} +1 -1
- package/{browser/esm/B7VWV3mOfVfjQ8X_.mjs → cdn/assets/2HfJU0aTT_Bt_C1k.js} +1 -1
- package/{browser/esm/BepUubffj0mlwFa8.mjs → cdn/assets/2x8k8K3PHoeCES5p.js} +1 -1
- package/cdn/assets/{v9aUpZNQZTrvBVet.js → 4VblEpfT-PyAhsmR.js} +3 -3
- package/cdn/assets/{BzetCqLkU-ujyIa6.js → 79HTk8jodiQmQUBc.js} +1 -1
- package/cdn/assets/{kMP2DXQetalQAH6M.js → A1oHO70eKwm5DSq-.js} +2 -2
- package/cdn/assets/{DFnL9mT0Hl0cfYz6.js → B7RWhXxDehW7byde.js} +2 -2
- package/cdn/assets/{D3wtm9FlDiRQjj3B.js → BIfGXJcA1j3ynEgV.js} +3 -3
- package/cdn/assets/{DxAzbHPPjbApuIHy.js → BamlWP9tk7WuccNw.js} +1 -1
- package/cdn/assets/{CWsqA3Ll7AHX8Cva.js → CMuuO5WoKrQkwzyW.js} +6 -6
- package/cdn/assets/{Dqun-FbiLuvYAcjR.js → CRMhlvk60mWCKMAw.js} +2 -2
- package/cdn/assets/{DmewHFj3UXIGNvdL.js → CZGBrCOe8WBKcNj2.js} +2 -2
- package/cdn/assets/{CgzfkkQm1-RgpYTA.js → C_RhbWkUPDzsDUSf.js} +1 -1
- package/cdn/assets/{CG959UTjainIaPYP.js → CbqFTEgiQd1ugRvP.js} +2 -2
- package/cdn/assets/{DAj1Q2yb4fGOaolT.js → CouiAwxaYXEQB9xs.js} +2 -2
- package/cdn/assets/{DnOus5r53uarKXp6.js → CpUY6_QTzTzIBkUj.js} +8 -8
- package/cdn/assets/{DDm2BJ8TWhuyN1dy.js → Cv23kIrKRqUAx7-8.js} +5 -5
- package/cdn/assets/{DO3PWmAnZ8dSCKfV.js → CwG8s2nD00TiULpr.js} +2 -2
- package/cdn/assets/{XGZ2FihiQ4pNoB_c.js → D-WM3iaA-HrrxXg1.js} +2 -2
- package/cdn/assets/{BKBJ22OMfNFNhzuu.js → D0SKJ4ubhxGJJ73M.js} +4 -4
- package/cdn/assets/{wMHJqt8d8wuiEVt2.js → DAmWOxulMtL8YgeT.js} +1 -1
- package/cdn/assets/{BJhR94jgdT6uDwwg.js → DFxHkp-72ByBi6CY.js} +3 -3
- package/cdn/assets/{DVxbvTeHj5K4gMz3.js → DOw5s5gYeGN5hpDW.js} +1 -1
- package/cdn/assets/{Bc4ewZ0Tq_pVS6At.js → DkbJje9GbsmAU3p5.js} +2 -2
- package/cdn/assets/{C9nsjsZPMlLGZmmb.js → DvpoYWUaPeQoTmTt.js} +2 -2
- package/cdn/assets/{CdwVMHLVwbc0N19K.js → M2yggAbKlXnck1iP.js} +1 -1
- package/{browser/esm/COdBjdGqn91UmCCl.mjs → cdn/assets/z-hGrI35JHwTNTP_.js} +1 -1
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("react/jsx-runtime"),j=require("react"),I=require("./Cj0QfkfoOkk5h2fI.cjs"),_t=I.PR(I.Tc());function qt(e){return(qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(e)}var Gu=/^\s+/,Ju=/\s+$/;function O(e,r){if(r=r||{},(e=e||"")instanceof O)return e;if(!(this instanceof O))return new O(e,r);var t,n,o,f,i,u,a,l,h,b,p,g=(i={r:0,g:0,b:0},u=1,a=null,l=null,h=null,b=!1,p=!1,typeof(t=e)=="string"&&(t=function(c){c=c.replace(Gu,"").replace(Ju,"").toLowerCase();var s,d=!1;if(It[c])c=It[c],d=!0;else if(c=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(s=N.rgb.exec(c))?{r:s[1],g:s[2],b:s[3]}:(s=N.rgba.exec(c))?{r:s[1],g:s[2],b:s[3],a:s[4]}:(s=N.hsl.exec(c))?{h:s[1],s:s[2],l:s[3]}:(s=N.hsla.exec(c))?{h:s[1],s:s[2],l:s[3],a:s[4]}:(s=N.hsv.exec(c))?{h:s[1],s:s[2],v:s[3]}:(s=N.hsva.exec(c))?{h:s[1],s:s[2],v:s[3],a:s[4]}:(s=N.hex8.exec(c))?{r:$(s[1]),g:$(s[2]),b:$(s[3]),a:ve(s[4]),format:d?"name":"hex8"}:(s=N.hex6.exec(c))?{r:$(s[1]),g:$(s[2]),b:$(s[3]),format:d?"name":"hex"}:(s=N.hex4.exec(c))?{r:$(s[1]+""+s[1]),g:$(s[2]+""+s[2]),b:$(s[3]+""+s[3]),a:ve(s[4]+""+s[4]),format:d?"name":"hex8"}:!!(s=N.hex3.exec(c))&&{r:$(s[1]+""+s[1]),g:$(s[2]+""+s[2]),b:$(s[3]+""+s[3]),format:d?"name":"hex"}}(t)),qt(t)=="object"&&(Q(t.r)&&Q(t.g)&&Q(t.b)?(n=t.r,o=t.g,f=t.b,i={r:255*D(n,255),g:255*D(o,255),b:255*D(f,255)},b=!0,p=String(t.r).substr(-1)==="%"?"prgb":"rgb"):Q(t.h)&&Q(t.s)&&Q(t.v)?(a=vt(t.s),l=vt(t.v),i=function(c,s,d){c=6*D(c,360),s=D(s,100),d=D(d,100);var v=Math.floor(c),y=c-v,_=d*(1-s),m=d*(1-y*s),w=d*(1-(1-y)*s),C=v%6;return{r:255*[d,m,_,_,w,d][C],g:255*[w,d,d,m,_,_][C],b:255*[_,_,w,d,d,m][C]}}(t.h,a,l),b=!0,p="hsv"):Q(t.h)&&Q(t.s)&&Q(t.l)&&(a=vt(t.s),h=vt(t.l),i=function(c,s,d){var v,y,_;function m(A,P,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?A+6*(P-A)*M:M<.5?P:M<2/3?A+(P-A)*(2/3-M)*6:A}if(c=D(c,360),s=D(s,100),d=D(d,100),s===0)v=y=_=d;else{var w=d<.5?d*(1+s):d+s-d*s,C=2*d-w;v=m(C,w,c+1/3),y=m(C,w,c),_=m(C,w,c-1/3)}return{r:255*v,g:255*y,b:255*_}}(t.h,a,h),b=!0,p="hsl"),t.hasOwnProperty("a")&&(u=t.a)),u=xu(u),{ok:b,format:t.format||p,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:u});this._originalInput=e,this._r=g.r,this._g=g.g,this._b=g.b,this._a=g.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||g.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=g.ok}function le(e,r,t){e=D(e,255),r=D(r,255),t=D(t,255);var n,o,f=Math.max(e,r,t),i=Math.min(e,r,t),u=(f+i)/2;if(f==i)n=o=0;else{var a=f-i;switch(o=u>.5?a/(2-f-i):a/(f+i),f){case e:n=(r-t)/a+(r<t?6:0);break;case r:n=(t-e)/a+2;break;case t:n=(e-r)/a+4}n/=6}return{h:n,s:o,l:u}}function he(e,r,t){e=D(e,255),r=D(r,255),t=D(t,255);var n,o,f=Math.max(e,r,t),i=Math.min(e,r,t),u=f,a=f-i;if(o=f===0?0:a/f,f==i)n=0;else{switch(f){case e:n=(r-t)/a+(r<t?6:0);break;case r:n=(t-e)/a+2;break;case t:n=(e-r)/a+4}n/=6}return{h:n,s:o,v:u}}function pe(e,r,t,n){var o=[V(Math.round(e).toString(16)),V(Math.round(r).toString(16)),V(Math.round(t).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function de(e,r,t,n){return[V(ju(n)),V(Math.round(e).toString(16)),V(Math.round(r).toString(16)),V(Math.round(t).toString(16))].join("")}function Qu(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.s-=r/100,t.s=Tt(t.s),O(t)}function Zu(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.s+=r/100,t.s=Tt(t.s),O(t)}function ts(e){return O(e).desaturate(100)}function es(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.l+=r/100,t.l=Tt(t.l),O(t)}function rs(e,r){r=r===0?0:r||10;var t=O(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),O(t)}function ns(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.l-=r/100,t.l=Tt(t.l),O(t)}function os(e,r){var t=O(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,O(t)}function as(e){var r=O(e).toHsl();return r.h=(r.h+180)%360,O(r)}function be(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=O(e).toHsl(),n=[O(e)],o=360/r,f=1;f<r;f++)n.push(O({h:(t.h+f*o)%360,s:t.s,l:t.l}));return n}function is(e){var r=O(e).toHsl(),t=r.h;return[O(e),O({h:(t+72)%360,s:r.s,l:r.l}),O({h:(t+216)%360,s:r.s,l:r.l})]}function us(e,r,t){r=r||6,t=t||30;var n=O(e).toHsl(),o=360/t,f=[O(e)];for(n.h=(n.h-(o*r>>1)+720)%360;--r;)n.h=(n.h+o)%360,f.push(O(n));return f}function ss(e,r){r=r||6;for(var t=O(e).toHsv(),n=t.h,o=t.s,f=t.v,i=[],u=1/r;r--;)i.push(O({h:n,s:o,v:f})),f=(f+u)%1;return i}O.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=xu(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=he(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=he(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return this._a==1?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=le(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=le(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return this._a==1?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return pe(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return r=this._r,t=this._g,n=this._b,o=this._a,f=e,i=[V(Math.round(r).toString(16)),V(Math.round(t).toString(16)),V(Math.round(n).toString(16)),V(ju(o))],f&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("");var r,t,n,o,f,i},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*D(this._r,255))+"%",g:Math.round(100*D(this._g,255))+"%",b:Math.round(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*D(this._r,255))+"%, "+Math.round(100*D(this._g,255))+"%, "+Math.round(100*D(this._b,255))+"%)":"rgba("+Math.round(100*D(this._r,255))+"%, "+Math.round(100*D(this._g,255))+"%, "+Math.round(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(cs[pe(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+de(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=O(e);t="#"+de(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(t=this.toRgbString()),e==="prgb"&&(t=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(t=this.toHexString()),e==="hex3"&&(t=this.toHexString(!0)),e==="hex4"&&(t=this.toHex8String(!0)),e==="hex8"&&(t=this.toHex8String()),e==="name"&&(t=this.toName()),e==="hsl"&&(t=this.toHslString()),e==="hsv"&&(t=this.toHsvString()),t||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return O(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(es,arguments)},brighten:function(){return this._applyModification(rs,arguments)},darken:function(){return this._applyModification(ns,arguments)},desaturate:function(){return this._applyModification(Qu,arguments)},saturate:function(){return this._applyModification(Zu,arguments)},greyscale:function(){return this._applyModification(ts,arguments)},spin:function(){return this._applyModification(os,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(us,arguments)},complement:function(){return this._applyCombination(as,arguments)},monochromatic:function(){return this._applyCombination(ss,arguments)},splitcomplement:function(){return this._applyCombination(is,arguments)},triad:function(){return this._applyCombination(be,[3])},tetrad:function(){return this._applyCombination(be,[4])}},O.fromRatio=function(e,r){if(qt(e)=="object"){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=n==="a"?e[n]:vt(e[n]));e=t}return O(e,r)},O.equals=function(e,r){return!(!e||!r)&&O(e).toRgbString()==O(r).toRgbString()},O.random=function(){return O.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},O.mix=function(e,r,t){t=t===0?0:t||50;var n=O(e).toRgb(),o=O(r).toRgb(),f=t/100;return O({r:(o.r-n.r)*f+n.r,g:(o.g-n.g)*f+n.g,b:(o.b-n.b)*f+n.b,a:(o.a-n.a)*f+n.a})},O.readability=function(e,r){var t=O(e),n=O(r);return(Math.max(t.getLuminance(),n.getLuminance())+.05)/(Math.min(t.getLuminance(),n.getLuminance())+.05)},O.isReadable=function(e,r,t){var n,o,f,i,u,a=O.readability(e,r);switch(o=!1,(f=t,(i=((f=f||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&i!=="AAA"&&(i="AA"),(u=(f.size||"small").toLowerCase())!=="small"&&u!=="large"&&(u="small"),n={level:i,size:u}).level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},O.mostReadable=function(e,r,t){var n,o,f,i,u=null,a=0;o=(t=t||{}).includeFallbackColors,f=t.level,i=t.size;for(var l=0;l<r.length;l++)(n=O.readability(e,r[l]))>a&&(a=n,u=O(r[l]));return O.isReadable(e,u,{level:f,size:i})||!o?u:(t.includeFallbackColors=!1,O.mostReadable(e,["#fff","#000"],t))};var It=O.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},cs=O.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(It);function xu(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function D(e,r){var t;typeof(t=e)=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1&&(e="100%");var n=function(o){return typeof o=="string"&&o.indexOf("%")!=-1}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function Tt(e){return Math.min(1,Math.max(0,e))}function $(e){return parseInt(e,16)}function V(e){return e.length==1?"0"+e:""+e}function vt(e){return e<=1&&(e=100*e+"%"),e}function ju(e){return Math.round(255*parseFloat(e)).toString(16)}function ve(e){return $(e)/255}var et,wt,xt,N=(wt="[\\s|\\(]+("+(et="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+et+")[,|\\s]+("+et+")\\s*\\)?",xt="[\\s|\\(]+("+et+")[,|\\s]+("+et+")[,|\\s]+("+et+")[,|\\s]+("+et+")\\s*\\)?",{CSS_UNIT:new RegExp(et),rgb:new RegExp("rgb"+wt),rgba:new RegExp("rgba"+xt),hsl:new RegExp("hsl"+wt),hsla:new RegExp("hsla"+xt),hsv:new RegExp("hsv"+wt),hsva:new RegExp("hsva"+xt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Q(e){return!!N.CSS_UNIT.exec(e)}var ge,ye,me,_e,we,xe,je,Oe,Me,Se,ke,Ae,Ce,Ee,Re,Pe,Te,Le,Ue,Fe,De,Be,ze,He,We,$e,Ne,Ie,W={},ut={};function Ou(){if(ye)return ge;ye=1;var e=typeof I.Sa=="object"&&I.Sa&&I.Sa.Object===Object&&I.Sa;return ge=e}function K(){if(_e)return me;_e=1;var e=Ou(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return me=t}function gt(){if(xe)return we;xe=1;var e=K().Symbol;return we=e}function nt(){if(Ae)return ke;Ae=1;var e=gt(),r=function(){if(Oe)return je;Oe=1;var o=gt(),f=Object.prototype,i=f.hasOwnProperty,u=f.toString,a=o?o.toStringTag:void 0;return je=function(l){var h=i.call(l,a),b=l[a];try{l[a]=void 0;var p=!0}catch{}var g=u.call(l);return p&&(h?l[a]=b:delete l[a]),g}}(),t=function(){if(Se)return Me;Se=1;var o=Object.prototype.toString;return Me=function(f){return o.call(f)}}(),n=e?e.toStringTag:void 0;return ke=function(o){return o==null?o===void 0?"[object Undefined]":"[object Null]":n&&n in Object(o)?r(o):t(o)}}function X(){if(Ee)return Ce;Ee=1;var e=Array.isArray;return Ce=e}function Z(){return Pe?Re:(Pe=1,Re=function(e){return e!=null&&typeof e=="object"})}function Mu(){if(Ie)return Ne;Ie=1;var e=function(){if($e)return We;$e=1;var i=nt(),u=Z();return We=function(a){return u(a)&&i(a)=="[object Arguments]"}}(),r=Z(),t=Object.prototype,n=t.hasOwnProperty,o=t.propertyIsEnumerable,f=e(function(){return arguments}())?e:function(i){return r(i)&&n.call(i,"callee")&&!o.call(i,"callee")};return Ne=f}var Ve,Xe,Ye,qe,Ke,Ge,Je,Qe,Ze,tr,er,Lt={exports:{}};function Kt(){return Ye||(Ye=1,e=Lt,r=Lt.exports,t=K(),n=Xe?Ve:(Xe=1,Ve=function(){return!1}),o=r&&!r.nodeType&&r,f=o&&e&&!e.nodeType&&e,i=f&&f.exports===o?t.Buffer:void 0,u=(i?i.isBuffer:void 0)||n,e.exports=u),Lt.exports;var e,r,t,n,o,f,i,u}function Su(){if(Ke)return qe;Ke=1;var e=/^(?:0|[1-9]\d*)$/;return qe=function(r,t){var n=typeof r;return!!(t=t??9007199254740991)&&(n=="number"||n!="symbol"&&e.test(r))&&r>-1&&r%1==0&&r<t}}function Gt(){return Je?Ge:(Je=1,Ge=function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991})}function Vt(){return er?tr:(er=1,tr=function(e){return function(r){return e(r)}})}var rr,nr,or,ar,ir,ur,sr,cr,fr,lr,hr,pr,dr,br,vr,gr,yr,mr,_r,wr,xr,jr,Or,Mr,Sr,kr,Ar,Cr,Er,Rr,Pr,Tr,Lr,Ur,Fr,Dr,Br,zr,Hr,Wr,$r,Nr,Ir,Vr,Xr,Yr,qr,Kr,Gr,Jr,Qr,Zr,tn,en,rn,nn,on,an,un,sn,cn,fn,ln,hn,pn,dn,bn,vn,gn,yn,mn,_n,wn,xn,jn,On,Mn,Sn,kn,An,Cn,En,Rn,Pn,Tn,Ln,Un,Fn,Dn,Bn,zn,Hn,Wn,$n,Nn,In,Vn,Xn,Yn,qn,Kn,Gn,Jn,Qn,Zn,to,eo,ro,no,oo,ao,io,uo,so,co,fo,lo,ho,po,bo,vo,go,yo,mo,_o,wo,xo,jo,Oo,Mo,So,ko,Ao,Co,Eo,Ro,Po,To,Lo,Uo,Fo,Do,Bo,zo,Ho,Wo,$o,No,Io,Vo,Xo,Yo,qo,Ko,Go,Jo,Qo,Zo,ta,ea,ra,na,oa,aa,ia,ua,sa,ca,fa,la,ha,pa,da,ba,va,ga,ya,ma,_a,wa,xa,ja,Oa,Ma,Sa,ka,Aa,Ca,Ea,Ra,Pa,Ta,La,Ua,Fa,Da,Ba,za,Ha,Wa,$a,Na,Ia,Va,Xa,Ya,qa,Ka,Ga,Ja,Qa,Za,Ut={exports:{}};function Xt(){return rr||(rr=1,e=Ut,r=Ut.exports,t=Ou(),n=r&&!r.nodeType&&r,o=n&&e&&!e.nodeType&&e,f=o&&o.exports===n&&t.process,i=function(){try{return o&&o.require&&o.require("util").types||f&&f.binding&&f.binding("util")}catch{}}(),e.exports=i),Ut.exports;var e,r,t,n,o,f,i}function ku(){if(or)return nr;or=1;var e=function(){if(Ze)return Qe;Ze=1;var f=nt(),i=Gt(),u=Z(),a={};return a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,Qe=function(l){return u(l)&&i(l.length)&&!!a[f(l)]}}(),r=Vt(),t=Xt(),n=t&&t.isTypedArray,o=n?r(n):e;return nr=o}function Au(){if(ir)return ar;ir=1;var e=He?ze:(He=1,ze=function(u,a){for(var l=-1,h=Array(u);++l<u;)h[l]=a(l);return h}),r=Mu(),t=X(),n=Kt(),o=Su(),f=ku(),i=Object.prototype.hasOwnProperty;return ar=function(u,a){var l=t(u),h=!l&&r(u),b=!l&&!h&&n(u),p=!l&&!h&&!b&&f(u),g=l||h||b||p,c=g?e(u.length,String):[],s=c.length;for(var d in u)!a&&!i.call(u,d)||g&&(d=="length"||b&&(d=="offset"||d=="parent")||p&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||o(d,s))||c.push(d);return c}}function Jt(){if(sr)return ur;sr=1;var e=Object.prototype;return ur=function(r){var t=r&&r.constructor;return r===(typeof t=="function"&&t.prototype||e)}}function Cu(){return fr?cr:(fr=1,cr=function(e,r){return function(t){return e(r(t))}})}function ht(){return vr?br:(vr=1,br=function(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")})}function Eu(){if(yr)return gr;yr=1;var e=nt(),r=ht();return gr=function(t){if(!r(t))return!1;var n=e(t);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"}}function Ct(){if(_r)return mr;_r=1;var e=Eu(),r=Gt();return mr=function(t){return t!=null&&r(t.length)&&!e(t)}}function yt(){if(xr)return wr;xr=1;var e=Au(),r=function(){if(dr)return pr;dr=1;var n=Jt(),o=function(){if(hr)return lr;hr=1;var i=Cu()(Object.keys,Object);return lr=i}(),f=Object.prototype.hasOwnProperty;return pr=function(i){if(!n(i))return o(i);var u=[];for(var a in Object(i))f.call(i,a)&&a!="constructor"&&u.push(a);return u}}(),t=Ct();return wr=function(n){return t(n)?e(n):r(n)}}function Ru(){if(Or)return jr;Or=1;var e=function(){if(Be)return De;Be=1;var t=(Fe?Ue:(Fe=1,Ue=function(n){return function(o,f,i){for(var u=-1,a=Object(o),l=i(o),h=l.length;h--;){var b=l[n?h:++u];if(f(a[b],b,a)===!1)break}return o}}))();return De=t}(),r=yt();return jr=function(t,n){return t&&e(t,n,r)}}function Pu(){return Sr?Mr:(Sr=1,Mr=function(e){return e})}function Ft(){if(Er)return Cr;Er=1;var e=Ru(),r=function(){if(Ar)return kr;Ar=1;var t=Pu();return kr=function(n){return typeof n=="function"?n:t}}();return Cr=function(t,n){return t&&e(t,r(n))}}function Qt(){if(Pr)return Rr;Pr=1;var e=Cu()(Object.getPrototypeOf,Object);return Rr=e}function Tu(){return Fr?Ur:(Fr=1,Ur=function(e,r){for(var t=-1,n=e==null?0:e.length,o=Array(n);++t<n;)o[t]=r(e[t],t,e);return o})}function Zt(){return Hr?zr:(Hr=1,zr=function(e,r){return e===r||e!=e&&r!=r})}function jt(){if($r)return Wr;$r=1;var e=Zt();return Wr=function(r,t){for(var n=r.length;n--;)if(e(r[n][0],t))return n;return-1}}function kt(){if(Qr)return Jr;Qr=1;var e=Br?Dr:(Br=1,Dr=function(){this.__data__=[],this.size=0}),r=function(){if(Ir)return Nr;Ir=1;var i=jt(),u=Array.prototype.splice;return Nr=function(a){var l=this.__data__,h=i(l,a);return!(h<0||(h==l.length-1?l.pop():u.call(l,h,1),--this.size,0))}}(),t=function(){if(Xr)return Vr;Xr=1;var i=jt();return Vr=function(u){var a=this.__data__,l=i(a,u);return l<0?void 0:a[l][1]}}(),n=function(){if(qr)return Yr;qr=1;var i=jt();return Yr=function(u){return i(this.__data__,u)>-1}}(),o=function(){if(Gr)return Kr;Gr=1;var i=jt();return Kr=function(u,a){var l=this.__data__,h=i(l,u);return h<0?(++this.size,l.push([u,a])):l[h][1]=a,this}}();function f(i){var u=-1,a=i==null?0:i.length;for(this.clear();++u<a;){var l=i[u];this.set(l[0],l[1])}}return f.prototype.clear=e,f.prototype.delete=r,f.prototype.get=t,f.prototype.has=n,f.prototype.set=o,Jr=f}function Lu(){if(pn)return hn;pn=1;var e=Function.prototype.toString;return hn=function(r){if(r!=null){try{return e.call(r)}catch{}try{return r+""}catch{}}return""}}function rt(){if(mn)return yn;mn=1;var e=function(){if(bn)return dn;bn=1;var t=Eu(),n=function(){if(ln)return fn;ln=1;var p,g=function(){if(cn)return sn;cn=1;var s=K()["__core-js_shared__"];return sn=s}(),c=(p=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"";return fn=function(s){return!!c&&c in s}}(),o=ht(),f=Lu(),i=/^\[object .+?Constructor\]$/,u=Function.prototype,a=Object.prototype,l=u.toString,h=a.hasOwnProperty,b=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return dn=function(p){return!(!o(p)||n(p))&&(t(p)?b:i).test(f(p))}}(),r=gn?vn:(gn=1,vn=function(t,n){return t?.[n]});return yn=function(t,n){var o=r(t,n);return e(o)?o:void 0}}function te(){if(wn)return _n;wn=1;var e=rt()(K(),"Map");return _n=e}function Ot(){if(jn)return xn;jn=1;var e=rt()(Object,"create");return xn=e}function Mt(){if(Wn)return Hn;Wn=1;var e=zn?Bn:(zn=1,Bn=function(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null});return Hn=function(r,t){var n=r.__data__;return e(t)?n[typeof t=="string"?"string":"hash"]:n.map}}function ee(){if(Jn)return Gn;Jn=1;var e=function(){if(Dn)return Fn;Dn=1;var i=function(){if(Un)return Ln;Un=1;var l=function(){if(Mn)return On;Mn=1;var s=Ot();return On=function(){this.__data__=s?s(null):{},this.size=0}}(),h=kn?Sn:(kn=1,Sn=function(s){var d=this.has(s)&&delete this.__data__[s];return this.size-=d?1:0,d}),b=function(){if(Cn)return An;Cn=1;var s=Ot(),d=Object.prototype.hasOwnProperty;return An=function(v){var y=this.__data__;if(s){var _=y[v];return _==="__lodash_hash_undefined__"?void 0:_}return d.call(y,v)?y[v]:void 0}}(),p=function(){if(Rn)return En;Rn=1;var s=Ot(),d=Object.prototype.hasOwnProperty;return En=function(v){var y=this.__data__;return s?y[v]!==void 0:d.call(y,v)}}(),g=function(){if(Tn)return Pn;Tn=1;var s=Ot();return Pn=function(d,v){var y=this.__data__;return this.size+=this.has(d)?0:1,y[d]=s&&v===void 0?"__lodash_hash_undefined__":v,this}}();function c(s){var d=-1,v=s==null?0:s.length;for(this.clear();++d<v;){var y=s[d];this.set(y[0],y[1])}}return c.prototype.clear=l,c.prototype.delete=h,c.prototype.get=b,c.prototype.has=p,c.prototype.set=g,Ln=c}(),u=kt(),a=te();return Fn=function(){this.size=0,this.__data__={hash:new i,map:new(a||u),string:new i}}}(),r=function(){if(Nn)return $n;Nn=1;var i=Mt();return $n=function(u){var a=i(this,u).delete(u);return this.size-=a?1:0,a}}(),t=function(){if(Vn)return In;Vn=1;var i=Mt();return In=function(u){return i(this,u).get(u)}}(),n=function(){if(Yn)return Xn;Yn=1;var i=Mt();return Xn=function(u){return i(this,u).has(u)}}(),o=function(){if(Kn)return qn;Kn=1;var i=Mt();return qn=function(u,a){var l=i(this,u),h=l.size;return l.set(u,a),this.size+=l.size==h?0:1,this}}();function f(i){var u=-1,a=i==null?0:i.length;for(this.clear();++u<a;){var l=i[u];this.set(l[0],l[1])}}return f.prototype.clear=e,f.prototype.delete=r,f.prototype.get=t,f.prototype.has=n,f.prototype.set=o,Gn=f}function re(){if(eo)return to;eo=1;var e=kt(),r=function(){if(tn)return Zr;tn=1;var u=kt();return Zr=function(){this.__data__=new u,this.size=0}}(),t=rn?en:(rn=1,en=function(u){var a=this.__data__,l=a.delete(u);return this.size=a.size,l}),n=on?nn:(on=1,nn=function(u){return this.__data__.get(u)}),o=un?an:(un=1,an=function(u){return this.__data__.has(u)}),f=function(){if(Zn)return Qn;Zn=1;var u=kt(),a=te(),l=ee();return Qn=function(h,b){var p=this.__data__;if(p instanceof u){var g=p.__data__;if(!a||g.length<199)return g.push([h,b]),this.size=++p.size,this;p=this.__data__=new l(g)}return p.set(h,b),this.size=p.size,this}}();function i(u){var a=this.__data__=new e(u);this.size=a.size}return i.prototype.clear=r,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=o,i.prototype.set=f,to=i}function ti(){if(po)return ho;po=1;var e=function(){if(uo)return io;uo=1;var n=ee(),o=no?ro:(no=1,ro=function(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this}),f=ao?oo:(ao=1,oo=function(u){return this.__data__.has(u)});function i(u){var a=-1,l=u==null?0:u.length;for(this.__data__=new n;++a<l;)this.add(u[a])}return i.prototype.add=i.prototype.push=o,i.prototype.has=f,io=i}(),r=co?so:(co=1,so=function(n,o){for(var f=-1,i=n==null?0:n.length;++f<i;)if(o(n[f],f,n))return!0;return!1}),t=lo?fo:(lo=1,fo=function(n,o){return n.has(o)});return ho=function(n,o,f,i,u,a){var l=1&f,h=n.length,b=o.length;if(h!=b&&!(l&&b>h))return!1;var p=a.get(n),g=a.get(o);if(p&&g)return p==o&&g==n;var c=-1,s=!0,d=2&f?new e:void 0;for(a.set(n,o),a.set(o,n);++c<h;){var v=n[c],y=o[c];if(i)var _=l?i(y,v,c,o,n,a):i(v,y,c,n,o,a);if(_!==void 0){if(_)continue;s=!1;break}if(d){if(!r(o,function(m,w){if(!t(d,w)&&(v===m||u(v,m,f,i,a)))return d.push(w)})){s=!1;break}}else if(v!==y&&!u(v,y,f,i,a)){s=!1;break}}return a.delete(n),a.delete(o),s}}function Uu(){if(vo)return bo;vo=1;var e=K().Uint8Array;return bo=e}function Fu(){return Oo?jo:(Oo=1,jo=function(e,r){for(var t=-1,n=r.length,o=e.length;++t<n;)e[o+t]=r[t];return e})}function Du(){if(So)return Mo;So=1;var e=Fu(),r=X();return Mo=function(t,n,o){var f=n(t);return r(t)?f:e(f,o(t))}}function Bu(){return Eo?Co:(Eo=1,Co=function(){return[]})}function ne(){if(Po)return Ro;Po=1;var e=Ao?ko:(Ao=1,ko=function(o,f){for(var i=-1,u=o==null?0:o.length,a=0,l=[];++i<u;){var h=o[i];f(h,i,o)&&(l[a++]=h)}return l}),r=Bu(),t=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols;return Ro=n?function(o){return o==null?[]:(o=Object(o),e(n(o),function(f){return t.call(o,f)}))}:r}function zu(){if(Lo)return To;Lo=1;var e=Du(),r=ne(),t=yt();return To=function(n){return e(n,t,r)}}function At(){if(Xo)return Vo;Xo=1;var e=function(){if(Bo)return Do;Bo=1;var y=rt()(K(),"DataView");return Do=y}(),r=te(),t=function(){if(Ho)return zo;Ho=1;var y=rt()(K(),"Promise");return zo=y}(),n=function(){if($o)return Wo;$o=1;var y=rt()(K(),"Set");return Wo=y}(),o=function(){if(Io)return No;Io=1;var y=rt()(K(),"WeakMap");return No=y}(),f=nt(),i=Lu(),u="[object Map]",a="[object Promise]",l="[object Set]",h="[object WeakMap]",b="[object DataView]",p=i(e),g=i(r),c=i(t),s=i(n),d=i(o),v=f;return(e&&v(new e(new ArrayBuffer(1)))!=b||r&&v(new r)!=u||t&&v(t.resolve())!=a||n&&v(new n)!=l||o&&v(new o)!=h)&&(v=function(y){var _=f(y),m=_=="[object Object]"?y.constructor:void 0,w=m?i(m):"";if(w)switch(w){case p:return b;case g:return u;case c:return a;case s:return l;case d:return h}return _}),Vo=v}function fs(){if(qo)return Yo;qo=1;var e=re(),r=ti(),t=function(){if(xo)return wo;xo=1;var p=gt(),g=Uu(),c=Zt(),s=ti(),d=yo?go:(yo=1,go=function(m){var w=-1,C=Array(m.size);return m.forEach(function(A,P){C[++w]=[P,A]}),C}),v=_o?mo:(_o=1,mo=function(m){var w=-1,C=Array(m.size);return m.forEach(function(A){C[++w]=A}),C}),y=p?p.prototype:void 0,_=y?y.valueOf:void 0;return wo=function(m,w,C,A,P,M,F){switch(C){case"[object DataView]":if(m.byteLength!=w.byteLength||m.byteOffset!=w.byteOffset)return!1;m=m.buffer,w=w.buffer;case"[object ArrayBuffer]":return!(m.byteLength!=w.byteLength||!M(new g(m),new g(w)));case"[object Boolean]":case"[object Date]":case"[object Number]":return c(+m,+w);case"[object Error]":return m.name==w.name&&m.message==w.message;case"[object RegExp]":case"[object String]":return m==w+"";case"[object Map]":var B=d;case"[object Set]":var G=1&A;if(B||(B=v),m.size!=w.size&&!G)return!1;var Y=F.get(m);if(Y)return Y==w;A|=2,F.set(m,w);var J=s(B(m),B(w),A,P,M,F);return F.delete(m),J;case"[object Symbol]":if(_)return _.call(m)==_.call(w)}return!1}}(),n=function(){if(Fo)return Uo;Fo=1;var p=zu(),g=Object.prototype.hasOwnProperty;return Uo=function(c,s,d,v,y,_){var m=1&d,w=p(c),C=w.length;if(C!=p(s).length&&!m)return!1;for(var A=C;A--;){var P=w[A];if(!(m?P in s:g.call(s,P)))return!1}var M=_.get(c),F=_.get(s);if(M&&F)return M==s&&F==c;var B=!0;_.set(c,s),_.set(s,c);for(var G=m;++A<C;){var Y=c[P=w[A]],J=s[P];if(v)var pt=m?v(J,Y,P,s,c,_):v(Y,J,P,c,s,_);if(!(pt===void 0?Y===J||y(Y,J,d,v,_):pt)){B=!1;break}G||(G=P=="constructor")}if(B&&!G){var L=c.constructor,E=s.constructor;L==E||!("constructor"in c)||!("constructor"in s)||typeof L=="function"&&L instanceof L&&typeof E=="function"&&E instanceof E||(B=!1)}return _.delete(c),_.delete(s),B}}(),o=At(),f=X(),i=Kt(),u=ku(),a="[object Arguments]",l="[object Array]",h="[object Object]",b=Object.prototype.hasOwnProperty;return Yo=function(p,g,c,s,d,v){var y=f(p),_=f(g),m=y?l:o(p),w=_?l:o(g),C=(m=m==a?h:m)==h,A=(w=w==a?h:w)==h,P=m==w;if(P&&i(p)){if(!i(g))return!1;y=!0,C=!1}if(P&&!C)return v||(v=new e),y||u(p)?r(p,g,c,s,d,v):t(p,g,m,c,s,d,v);if(!(1&c)){var M=C&&b.call(p,"__wrapped__"),F=A&&b.call(g,"__wrapped__");if(M||F){var B=M?p.value():p,G=F?g.value():g;return v||(v=new e),d(B,G,c,s,v)}}return!!P&&(v||(v=new e),n(p,g,c,s,d,v))}}function Hu(){if(Go)return Ko;Go=1;var e=fs(),r=Z();return Ko=function t(n,o,f,i,u){return n===o||(n==null||o==null||!r(n)&&!r(o)?n!=n&&o!=o:e(n,o,f,i,t,u))}}function Wu(){if(ta)return Zo;ta=1;var e=ht();return Zo=function(r){return r==r&&!e(r)}}function $u(){return oa?na:(oa=1,na=function(e,r){return function(t){return t!=null&&t[e]===r&&(r!==void 0||e in Object(t))}})}function oe(){if(sa)return ua;sa=1;var e=nt(),r=Z();return ua=function(t){return typeof t=="symbol"||r(t)&&e(t)=="[object Symbol]"}}function ae(){if(fa)return ca;fa=1;var e=X(),r=oe(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return ca=function(o,f){if(e(o))return!1;var i=typeof o;return!(i!="number"&&i!="symbol"&&i!="boolean"&&o!=null&&!r(o))||n.test(o)||!t.test(o)||f!=null&&o in Object(f)}}function Nu(){if(xa)return wa;xa=1;var e=X(),r=ae(),t=function(){if(va)return ba;va=1;var o=function(){if(da)return pa;da=1;var a=function(){if(ha)return la;ha=1;var l=ee();function h(b,p){if(typeof b!="function"||p!=null&&typeof p!="function")throw new TypeError("Expected a function");var g=function(){var c=arguments,s=p?p.apply(this,c):c[0],d=g.cache;if(d.has(s))return d.get(s);var v=b.apply(this,c);return g.cache=d.set(s,v)||d,v};return g.cache=new(h.Cache||l),g}return h.Cache=l,la=h}();return pa=function(l){var h=a(l,function(p){return b.size===500&&b.clear(),p}),b=h.cache;return h}}(),f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=o(function(a){var l=[];return a.charCodeAt(0)===46&&l.push(""),a.replace(f,function(h,b,p,g){l.push(p?g.replace(i,"$1"):b||h)}),l});return ba=u}(),n=function(){if(_a)return ma;_a=1;var o=function(){if(ya)return ga;ya=1;var f=gt(),i=Tu(),u=X(),a=oe(),l=f?f.prototype:void 0,h=l?l.toString:void 0;return ga=function b(p){if(typeof p=="string")return p;if(u(p))return i(p,b)+"";if(a(p))return h?h.call(p):"";var g=p+"";return g=="0"&&1/p==-1/0?"-0":g}}();return ma=function(f){return f==null?"":o(f)}}();return wa=function(o,f){return e(o)?o:r(o,f)?[o]:t(n(o))}}function Et(){if(Oa)return ja;Oa=1;var e=oe();return ja=function(r){if(typeof r=="string"||e(r))return r;var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}}function Iu(){if(Sa)return Ma;Sa=1;var e=Nu(),r=Et();return Ma=function(t,n){for(var o=0,f=(n=e(n,t)).length;t!=null&&o<f;)t=t[r(n[o++])];return o&&o==f?t:void 0}}function ls(){if(Fa)return Ua;Fa=1;var e=Hu(),r=function(){if(Aa)return ka;Aa=1;var u=Iu();return ka=function(a,l,h){var b=a==null?void 0:u(a,l);return b===void 0?h:b}}(),t=function(){if(La)return Ta;La=1;var u=Ea?Ca:(Ea=1,Ca=function(l,h){return l!=null&&h in Object(l)}),a=function(){if(Pa)return Ra;Pa=1;var l=Nu(),h=Mu(),b=X(),p=Su(),g=Gt(),c=Et();return Ra=function(s,d,v){for(var y=-1,_=(d=l(d,s)).length,m=!1;++y<_;){var w=c(d[y]);if(!(m=s!=null&&v(s,w)))break;s=s[w]}return m||++y!=_?m:!!(_=s==null?0:s.length)&&g(_)&&p(w,_)&&(b(s)||h(s))}}();return Ta=function(l,h){return l!=null&&a(l,h,u)}}(),n=ae(),o=Wu(),f=$u(),i=Et();return Ua=function(u,a){return n(u)&&o(a)?f(i(u),a):function(l){var h=r(l,u);return h===void 0&&h===a?t(l,u):e(a,h,3)}}}function hs(){if(Qa)return Ja;Qa=1;var e=Tu(),r=function(){if(Ia)return Na;Ia=1;var o=function(){if(ia)return aa;ia=1;var l=function(){if(Qo)return Jo;Qo=1;var p=re(),g=Hu();return Jo=function(c,s,d,v){var y=d.length,_=y,m=!v;if(c==null)return!_;for(c=Object(c);y--;){var w=d[y];if(m&&w[2]?w[1]!==c[w[0]]:!(w[0]in c))return!1}for(;++y<_;){var C=(w=d[y])[0],A=c[C],P=w[1];if(m&&w[2]){if(A===void 0&&!(C in c))return!1}else{var M=new p;if(v)var F=v(A,P,C,c,s,M);if(!(F===void 0?g(P,A,3,v,M):F))return!1}}return!0}}(),h=function(){if(ra)return ea;ra=1;var p=Wu(),g=yt();return ea=function(c){for(var s=g(c),d=s.length;d--;){var v=s[d],y=c[v];s[d]=[v,y,p(y)]}return s}}(),b=$u();return aa=function(p){var g=h(p);return g.length==1&&g[0][2]?b(g[0][0],g[0][1]):function(c){return c===p||l(c,p,g)}}}(),f=ls(),i=Pu(),u=X(),a=function(){if($a)return Wa;$a=1;var l=Ba?Da:(Ba=1,Da=function(g){return function(c){return c?.[g]}}),h=function(){if(Ha)return za;Ha=1;var g=Iu();return za=function(c){return function(s){return g(s,c)}}}(),b=ae(),p=Et();return Wa=function(g){return b(g)?l(p(g)):h(g)}}();return Na=function(l){return typeof l=="function"?l:l==null?i:typeof l=="object"?u(l)?f(l[0],l[1]):o(l):a(l)}}(),t=function(){if(Ga)return Ka;Ga=1;var o=function(){if(qa)return Ya;qa=1;var i=Ru(),u=function(){if(Xa)return Va;Xa=1;var a=Ct();return Va=function(l,h){return function(b,p){if(b==null)return b;if(!a(b))return l(b,p);for(var g=b.length,c=h?g:-1,s=Object(b);(h?c--:++c<g)&&p(s[c],c,s)!==!1;);return b}}}()(i);return Ya=u}(),f=Ct();return Ka=function(i,u){var a=-1,l=f(i)?Array(i.length):[];return o(i,function(h,b,p){l[++a]=u(h,b,p)}),l}}(),n=X();return Ja=function(o,f){return(n(o)?e:t)(o,r(f,3))}}var ei,ri,ni,oi,ai,ii,ui,si,ci,fi,li,hi,pi,di,bi,vi,gi,yi,mi,_i,st={};function Vu(){if(ii)return ai;ii=1;var e=function(){if(oi)return ni;oi=1;var r=rt(),t=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch{}}();return ni=t}();return ai=function(r,t,n){t=="__proto__"&&e?e(r,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[t]=n}}function Xu(){if(si)return ui;si=1;var e=Vu(),r=Zt(),t=Object.prototype.hasOwnProperty;return ui=function(n,o,f){var i=n[o];t.call(n,o)&&r(i,f)&&(f!==void 0||o in n)||e(n,o,f)}}function St(){if(fi)return ci;fi=1;var e=Xu(),r=Vu();return ci=function(t,n,o,f){var i=!o;o||(o={});for(var u=-1,a=n.length;++u<a;){var l=n[u],h=f?f(o[l],t[l],l,o,t):void 0;h===void 0&&(h=t[l]),i?r(o,l,h):e(o,l,h)}return o}}function Dt(){if(yi)return gi;yi=1;var e=Au(),r=function(){if(vi)return bi;vi=1;var n=ht(),o=Jt(),f=di?pi:(di=1,pi=function(u){var a=[];if(u!=null)for(var l in Object(u))a.push(l);return a}),i=Object.prototype.hasOwnProperty;return bi=function(u){if(!n(u))return f(u);var a=o(u),l=[];for(var h in u)(h!="constructor"||!a&&i.call(u,h))&&l.push(h);return l}}(),t=Ct();return gi=function(n){return t(n)?e(n,!0):r(n)}}var wi,xi,ji,Oi,Mi,Si,ki,Ai,Ci,Ei,Ri,Pi,Ti,Li,Ui,Fi,Di,Bi,zi,Hi,Wi,$i,Ni,Ii,Vi,Xi,Yi,qi,Ki,Gi,Ji,Qi,Zi,tu,eu,ru,nu,Bt,ou,au,iu,uu,zt={exports:{}};function su(){if(ki)return Si;ki=1;var e=Fu(),r=Qt(),t=ne(),n=Bu(),o=Object.getOwnPropertySymbols;return Si=o?function(f){for(var i=[];f;)e(i,t(f)),f=r(f);return i}:n}function Ht(){if(Ui)return Li;Ui=1;var e=Uu();return Li=function(r){var t=new r.constructor(r.byteLength);return new e(t).set(new e(r)),t}}function ps(){if(ou)return Bt;ou=1;var e,r,t,n,o,f,i,u=re(),a=ri?ei:(ri=1,ei=function(E,x){for(var S=-1,k=E==null?0:E.length;++S<k&&x(E[S],S,E)!==!1;);return E}),l=Xu(),h=function(){if(hi)return li;hi=1;var E=St(),x=yt();return li=function(S,k){return S&&E(k,x(k),S)}}(),b=function(){if(_i)return mi;_i=1;var E=St(),x=Dt();return mi=function(S,k){return S&&E(k,x(k),S)}}(),p=(wi||(wi=1,e=zt,r=zt.exports,t=K(),n=r&&!r.nodeType&&r,o=n&&e&&!e.nodeType&&e,f=o&&o.exports===n?t.Buffer:void 0,i=f?f.allocUnsafe:void 0,e.exports=function(E,x){if(x)return E.slice();var S=E.length,k=i?i(S):new E.constructor(S);return E.copy(k),k}),zt.exports),g=ji?xi:(ji=1,xi=function(E,x){var S=-1,k=E.length;for(x||(x=Array(k));++S<k;)x[S]=E[S];return x}),c=function(){if(Mi)return Oi;Mi=1;var E=St(),x=ne();return Oi=function(S,k){return E(S,x(S),k)}}(),s=function(){if(Ci)return Ai;Ci=1;var E=St(),x=su();return Ai=function(S,k){return E(S,x(S),k)}}(),d=zu(),v=function(){if(Ri)return Ei;Ri=1;var E=Du(),x=su(),S=Dt();return Ei=function(k){return E(k,S,x)}}(),y=At(),_=function(){if(Ti)return Pi;Ti=1;var E=Object.prototype.hasOwnProperty;return Pi=function(x){var S=x.length,k=new x.constructor(S);return S&&typeof x[0]=="string"&&E.call(x,"index")&&(k.index=x.index,k.input=x.input),k}}(),m=function(){if(Vi)return Ii;Vi=1;var E=Ht(),x=function(){if(Di)return Fi;Di=1;var U=Ht();return Fi=function(R,T){var H=T?U(R.buffer):R.buffer;return new R.constructor(H,R.byteOffset,R.byteLength)}}(),S=function(){if(zi)return Bi;zi=1;var U=/\w*$/;return Bi=function(R){var T=new R.constructor(R.source,U.exec(R));return T.lastIndex=R.lastIndex,T}}(),k=function(){if(Wi)return Hi;Wi=1;var U=gt(),R=U?U.prototype:void 0,T=R?R.valueOf:void 0;return Hi=function(H){return T?Object(T.call(H)):{}}}(),q=function(){if(Ni)return $i;Ni=1;var U=Ht();return $i=function(R,T){var H=T?U(R.buffer):R.buffer;return new R.constructor(H,R.byteOffset,R.length)}}();return Ii=function(U,R,T){var H=U.constructor;switch(R){case"[object ArrayBuffer]":return E(U);case"[object Boolean]":case"[object Date]":return new H(+U);case"[object DataView]":return x(U,T);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(U,T);case"[object Map]":case"[object Set]":return new H;case"[object Number]":case"[object String]":return new H(U);case"[object RegExp]":return S(U);case"[object Symbol]":return k(U)}}}(),w=function(){if(Ki)return qi;Ki=1;var E=function(){if(Yi)return Xi;Yi=1;var k=ht(),q=Object.create;return Xi=function(){function U(){}return function(R){if(!k(R))return{};if(q)return q(R);U.prototype=R;var T=new U;return U.prototype=void 0,T}}()}(),x=Qt(),S=Jt();return qi=function(k){return typeof k.constructor!="function"||S(k)?{}:E(x(k))}}(),C=X(),A=Kt(),P=function(){if(Zi)return Qi;Zi=1;var E=function(){if(Ji)return Gi;Ji=1;var U=At(),R=Z();return Gi=function(T){return R(T)&&U(T)=="[object Map]"}}(),x=Vt(),S=Xt(),k=S&&S.isMap,q=k?x(k):E;return Qi=q}(),M=ht(),F=function(){if(nu)return ru;nu=1;var E=function(){if(eu)return tu;eu=1;var U=At(),R=Z();return tu=function(T){return R(T)&&U(T)=="[object Set]"}}(),x=Vt(),S=Xt(),k=S&&S.isSet,q=k?x(k):E;return ru=q}(),B=yt(),G=Dt(),Y="[object Arguments]",J="[object Function]",pt="[object Object]",L={};return L[Y]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object DataView]"]=L["[object Boolean]"]=L["[object Date]"]=L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Map]"]=L["[object Number]"]=L[pt]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object Symbol]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Error]"]=L[J]=L["[object WeakMap]"]=!1,Bt=function E(x,S,k,q,U,R){var T,H=1&S,mt=2&S,Ku=4&S;if(k&&(T=U?k(x,q,U,R):k(x)),T!==void 0)return T;if(!M(x))return x;var ue=C(x);if(ue){if(T=_(x),!H)return g(x,T)}else{var at=y(x),se=at==J||at=="[object GeneratorFunction]";if(A(x))return p(x,H);if(at==pt||at==Y||se&&!U){if(T=mt||se?{}:w(x),!H)return mt?s(x,b(T,x)):c(x,h(T,x))}else{if(!L[at])return U?x:{};T=m(x,at,H)}}R||(R=new u);var ce=R.get(x);if(ce)return ce;R.set(x,T),F(x)?x.forEach(function(tt){T.add(E(tt,S,k,tt,x,R))}):P(x)&&x.forEach(function(tt,it){T.set(it,E(tt,S,k,it,x,R))});var fe=ue?void 0:(Ku?mt?v:d:mt?G:B)(x);return a(fe||x,function(tt,it){fe&&(tt=x[it=tt]),l(T,it,E(tt,S,k,it,x,R))}),T},Bt}var cu,fu,ct={},ft={},lu,lt={},hu,pu,Wt={},ds=function(){if(pu)return W;pu=1,Object.defineProperty(W,"__esModule",{value:!0}),W.ReactCSS=W.loop=W.handleActive=W.handleHover=W.hover=void 0;var e=u(function(){if(Za)return ut;Za=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.flattenNames=void 0;var l=g(function(){if(Le)return Te;Le=1;var s=nt(),d=X(),v=Z();return Te=function(y){return typeof y=="string"||!d(y)&&v(y)&&s(y)=="[object String]"}}()),h=g(Ft()),b=g(function(){if(Lr)return Tr;Lr=1;var s=nt(),d=Qt(),v=Z(),y=Function.prototype,_=Object.prototype,m=y.toString,w=_.hasOwnProperty,C=m.call(Object);return Tr=function(A){if(!v(A)||s(A)!="[object Object]")return!1;var P=d(A);if(P===null)return!0;var M=w.call(P,"constructor")&&P.constructor;return typeof M=="function"&&M instanceof M&&m.call(M)==C}}()),p=g(hs());function g(s){return s&&s.__esModule?s:{default:s}}var c=ut.flattenNames=function s(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=[];return(0,p.default)(d,function(y){Array.isArray(y)?s(y).map(function(_){return v.push(_)}):(0,b.default)(y)?(0,h.default)(y,function(_,m){_===!0&&v.push(m),v.push(m+"-"+_)}):(0,l.default)(y)&&v.push(y)}),v};return ut.default=c,ut}()),r=u(function(){if(uu)return st;uu=1,Object.defineProperty(st,"__esModule",{value:!0}),st.mergeClasses=void 0;var l=p(Ft()),h=p(function(){if(iu)return au;iu=1;var c=ps();return au=function(s){return c(s,5)}}()),b=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c};function p(c){return c&&c.__esModule?c:{default:c}}var g=st.mergeClasses=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=c.default&&(0,h.default)(c.default)||{};return s.map(function(v){var y=c[v];return y&&(0,l.default)(y,function(_,m){d[m]||(d[m]={}),d[m]=b({},d[m],y[m])}),v}),d};return st.default=g,st}()),t=function(){if(cu)return ct;cu=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.autoprefix=void 0;var l,h=(l=Ft())&&l.__esModule?l:{default:l},b=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},p={borderRadius:function(c){return{msBorderRadius:c,MozBorderRadius:c,OBorderRadius:c,WebkitBorderRadius:c,borderRadius:c}},boxShadow:function(c){return{msBoxShadow:c,MozBoxShadow:c,OBoxShadow:c,WebkitBoxShadow:c,boxShadow:c}},userSelect:function(c){return{WebkitTouchCallout:c,KhtmlUserSelect:c,MozUserSelect:c,msUserSelect:c,WebkitUserSelect:c,userSelect:c}},flex:function(c){return{WebkitBoxFlex:c,MozBoxFlex:c,WebkitFlex:c,msFlex:c,flex:c}},flexBasis:function(c){return{WebkitFlexBasis:c,flexBasis:c}},justifyContent:function(c){return{WebkitJustifyContent:c,justifyContent:c}},transition:function(c){return{msTransition:c,MozTransition:c,OTransition:c,WebkitTransition:c,transition:c}},transform:function(c){return{msTransform:c,MozTransform:c,OTransform:c,WebkitTransform:c,transform:c}},absolute:function(c){var s=c&&c.split(" ");return{position:"absolute",top:s&&s[0],right:s&&s[1],bottom:s&&s[2],left:s&&s[3]}},extend:function(c,s){return s[c]||{extend:c}}},g=ct.autoprefix=function(c){var s={};return(0,h.default)(c,function(d,v){var y={};(0,h.default)(d,function(_,m){var w=p[m];w?y=b({},y,w(_)):y[m]=_}),s[v]=y}),s};return ct.default=g,ct}(),n=u(t),o=u(function(){if(fu)return ft;fu=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.hover=void 0;var l,h=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},b=(l=j)&&l.__esModule?l:{default:l};function p(c,s){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?c:s}var g=ft.hover=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){function v(){var y,_,m;(function(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")})(this,v);for(var w=arguments.length,C=Array(w),A=0;A<w;A++)C[A]=arguments[A];return _=m=p(this,(y=v.__proto__||Object.getPrototypeOf(v)).call.apply(y,[this].concat(C))),m.state={hover:!1},m.handleMouseOver=function(){return m.setState({hover:!0})},m.handleMouseOut=function(){return m.setState({hover:!1})},m.render=function(){return b.default.createElement(s,{onMouseOver:m.handleMouseOver,onMouseOut:m.handleMouseOut},b.default.createElement(c,h({},m.props,m.state)))},p(m,_)}return function(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}(v,d),v}(b.default.Component)};return ft.default=g,ft}()),f=u(function(){if(lu)return lt;lu=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.active=void 0;var l,h=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},b=(l=j)&&l.__esModule?l:{default:l};function p(c,s){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?c:s}var g=lt.active=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){function v(){var y,_,m;(function(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")})(this,v);for(var w=arguments.length,C=Array(w),A=0;A<w;A++)C[A]=arguments[A];return _=m=p(this,(y=v.__proto__||Object.getPrototypeOf(v)).call.apply(y,[this].concat(C))),m.state={active:!1},m.handleMouseDown=function(){return m.setState({active:!0})},m.handleMouseUp=function(){return m.setState({active:!1})},m.render=function(){return b.default.createElement(s,{onMouseDown:m.handleMouseDown,onMouseUp:m.handleMouseUp},b.default.createElement(c,h({},m.props,m.state)))},p(m,_)}return function(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}(v,d),v}(b.default.Component)};return lt.default=g,lt}()),i=u((hu||(hu=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.default=function(l,h){var b={},p=function(g){var c=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];b[g]=c};return l===0&&p("first-child"),l===h-1&&p("last-child"),(l===0||l%2==0)&&p("even"),Math.abs(l%2)===1&&p("odd"),p("nth-child",l),b}),Wt));function u(l){return l&&l.__esModule?l:{default:l}}W.hover=o.default,W.handleHover=o.default,W.handleActive=f.default,W.loop=i.default;var a=W.ReactCSS=function(l){for(var h=arguments.length,b=Array(h>1?h-1:0),p=1;p<h;p++)b[p-1]=arguments[p];var g=(0,e.default)(b),c=(0,r.default)(l,g);return(0,n.default)(c)};return W.default=a,W}();const ot=I.PR(ds);var $t={},bs=function(e,r,t,n){var o=e+"-"+r+"-"+t+(n?"-server":"");if($t[o])return $t[o];var f=function(i,u,a,l){if(typeof document>"u"&&!l)return null;var h=l?new l:document.createElement("canvas");h.width=2*a,h.height=2*a;var b=h.getContext("2d");return b?(b.fillStyle=i,b.fillRect(0,0,h.width,h.height),b.fillStyle=u,b.fillRect(0,0,a,a),b.translate(a,a),b.fillRect(0,0,a,a),h.toDataURL()):null}(e,r,t,n);return $t[o]=f,f},du=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ie=function(e){var r=e.white,t=e.grey,n=e.size,o=e.renderers,f=e.borderRadius,i=e.boxShadow,u=e.children,a=ot({default:{grid:{borderRadius:f,boxShadow:i,absolute:"0px 0px 0px 0px",background:"url("+bs(r,t,n,o.canvas)+") center left"}}});return j.isValidElement(u)?j.cloneElement(u,du({},u.props,{style:du({},u.props.style,a.grid)})):j.createElement("div",{style:a.grid})};ie.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var vs=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},gs=function(){function e(r,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function bu(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||typeof r!="object"&&typeof r!="function"?e:r}var ys=function(){function e(){var r,t,n;(function(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")})(this,e);for(var o=arguments.length,f=Array(o),i=0;i<o;i++)f[i]=arguments[i];return t=n=bu(this,(r=e.__proto__||Object.getPrototypeOf(e)).call.apply(r,[this].concat(f))),n.handleChange=function(u){var a=function(l,h,b,p,g){var c=g.clientWidth,s=g.clientHeight,d=typeof l.pageX=="number"?l.pageX:l.touches[0].pageX,v=typeof l.pageY=="number"?l.pageY:l.touches[0].pageY,y=d-(g.getBoundingClientRect().left+window.pageXOffset),_=v-(g.getBoundingClientRect().top+window.pageYOffset);if(b==="vertical"){var m;if(m=_<0?0:_>s?1:Math.round(100*_/s)/100,h.a!==m)return{h:h.h,s:h.s,l:h.l,a:m,source:"rgb"}}else{var w;if(p!==(w=y<0?0:y>c?1:Math.round(100*y/c)/100))return{h:h.h,s:h.s,l:h.l,a:w,source:"rgb"}}return null}(u,n.props.hsl,n.props.direction,n.props.a,n.container);a&&typeof n.props.onChange=="function"&&n.props.onChange(a,u)},n.handleMouseDown=function(u){n.handleChange(u),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},bu(n,t)}return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}(e,j.PureComponent||j.Component),gs(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var r=this,t=this.props.rgb,n=ot({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+`, 0) 0%,
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("react/jsx-runtime"),j=require("react"),I=require("./1YHhQAyuEBCdnxLq.cjs"),_t=I.PR(I.Tc());function qt(e){return(qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(e)}var Gu=/^\s+/,Ju=/\s+$/;function O(e,r){if(r=r||{},(e=e||"")instanceof O)return e;if(!(this instanceof O))return new O(e,r);var t,n,o,f,i,u,a,l,h,b,p,g=(i={r:0,g:0,b:0},u=1,a=null,l=null,h=null,b=!1,p=!1,typeof(t=e)=="string"&&(t=function(c){c=c.replace(Gu,"").replace(Ju,"").toLowerCase();var s,d=!1;if(It[c])c=It[c],d=!0;else if(c=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};return(s=N.rgb.exec(c))?{r:s[1],g:s[2],b:s[3]}:(s=N.rgba.exec(c))?{r:s[1],g:s[2],b:s[3],a:s[4]}:(s=N.hsl.exec(c))?{h:s[1],s:s[2],l:s[3]}:(s=N.hsla.exec(c))?{h:s[1],s:s[2],l:s[3],a:s[4]}:(s=N.hsv.exec(c))?{h:s[1],s:s[2],v:s[3]}:(s=N.hsva.exec(c))?{h:s[1],s:s[2],v:s[3],a:s[4]}:(s=N.hex8.exec(c))?{r:$(s[1]),g:$(s[2]),b:$(s[3]),a:ve(s[4]),format:d?"name":"hex8"}:(s=N.hex6.exec(c))?{r:$(s[1]),g:$(s[2]),b:$(s[3]),format:d?"name":"hex"}:(s=N.hex4.exec(c))?{r:$(s[1]+""+s[1]),g:$(s[2]+""+s[2]),b:$(s[3]+""+s[3]),a:ve(s[4]+""+s[4]),format:d?"name":"hex8"}:!!(s=N.hex3.exec(c))&&{r:$(s[1]+""+s[1]),g:$(s[2]+""+s[2]),b:$(s[3]+""+s[3]),format:d?"name":"hex"}}(t)),qt(t)=="object"&&(Q(t.r)&&Q(t.g)&&Q(t.b)?(n=t.r,o=t.g,f=t.b,i={r:255*D(n,255),g:255*D(o,255),b:255*D(f,255)},b=!0,p=String(t.r).substr(-1)==="%"?"prgb":"rgb"):Q(t.h)&&Q(t.s)&&Q(t.v)?(a=vt(t.s),l=vt(t.v),i=function(c,s,d){c=6*D(c,360),s=D(s,100),d=D(d,100);var v=Math.floor(c),y=c-v,_=d*(1-s),m=d*(1-y*s),w=d*(1-(1-y)*s),C=v%6;return{r:255*[d,m,_,_,w,d][C],g:255*[w,d,d,m,_,_][C],b:255*[_,_,w,d,d,m][C]}}(t.h,a,l),b=!0,p="hsv"):Q(t.h)&&Q(t.s)&&Q(t.l)&&(a=vt(t.s),h=vt(t.l),i=function(c,s,d){var v,y,_;function m(A,P,M){return M<0&&(M+=1),M>1&&(M-=1),M<1/6?A+6*(P-A)*M:M<.5?P:M<2/3?A+(P-A)*(2/3-M)*6:A}if(c=D(c,360),s=D(s,100),d=D(d,100),s===0)v=y=_=d;else{var w=d<.5?d*(1+s):d+s-d*s,C=2*d-w;v=m(C,w,c+1/3),y=m(C,w,c),_=m(C,w,c-1/3)}return{r:255*v,g:255*y,b:255*_}}(t.h,a,h),b=!0,p="hsl"),t.hasOwnProperty("a")&&(u=t.a)),u=xu(u),{ok:b,format:t.format||p,r:Math.min(255,Math.max(i.r,0)),g:Math.min(255,Math.max(i.g,0)),b:Math.min(255,Math.max(i.b,0)),a:u});this._originalInput=e,this._r=g.r,this._g=g.g,this._b=g.b,this._a=g.a,this._roundA=Math.round(100*this._a)/100,this._format=r.format||g.format,this._gradientType=r.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=g.ok}function le(e,r,t){e=D(e,255),r=D(r,255),t=D(t,255);var n,o,f=Math.max(e,r,t),i=Math.min(e,r,t),u=(f+i)/2;if(f==i)n=o=0;else{var a=f-i;switch(o=u>.5?a/(2-f-i):a/(f+i),f){case e:n=(r-t)/a+(r<t?6:0);break;case r:n=(t-e)/a+2;break;case t:n=(e-r)/a+4}n/=6}return{h:n,s:o,l:u}}function he(e,r,t){e=D(e,255),r=D(r,255),t=D(t,255);var n,o,f=Math.max(e,r,t),i=Math.min(e,r,t),u=f,a=f-i;if(o=f===0?0:a/f,f==i)n=0;else{switch(f){case e:n=(r-t)/a+(r<t?6:0);break;case r:n=(t-e)/a+2;break;case t:n=(e-r)/a+4}n/=6}return{h:n,s:o,v:u}}function pe(e,r,t,n){var o=[V(Math.round(e).toString(16)),V(Math.round(r).toString(16)),V(Math.round(t).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function de(e,r,t,n){return[V(ju(n)),V(Math.round(e).toString(16)),V(Math.round(r).toString(16)),V(Math.round(t).toString(16))].join("")}function Qu(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.s-=r/100,t.s=Tt(t.s),O(t)}function Zu(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.s+=r/100,t.s=Tt(t.s),O(t)}function ts(e){return O(e).desaturate(100)}function es(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.l+=r/100,t.l=Tt(t.l),O(t)}function rs(e,r){r=r===0?0:r||10;var t=O(e).toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(-r/100*255))),t.g=Math.max(0,Math.min(255,t.g-Math.round(-r/100*255))),t.b=Math.max(0,Math.min(255,t.b-Math.round(-r/100*255))),O(t)}function ns(e,r){r=r===0?0:r||10;var t=O(e).toHsl();return t.l-=r/100,t.l=Tt(t.l),O(t)}function os(e,r){var t=O(e).toHsl(),n=(t.h+r)%360;return t.h=n<0?360+n:n,O(t)}function as(e){var r=O(e).toHsl();return r.h=(r.h+180)%360,O(r)}function be(e,r){if(isNaN(r)||r<=0)throw new Error("Argument to polyad must be a positive number");for(var t=O(e).toHsl(),n=[O(e)],o=360/r,f=1;f<r;f++)n.push(O({h:(t.h+f*o)%360,s:t.s,l:t.l}));return n}function is(e){var r=O(e).toHsl(),t=r.h;return[O(e),O({h:(t+72)%360,s:r.s,l:r.l}),O({h:(t+216)%360,s:r.s,l:r.l})]}function us(e,r,t){r=r||6,t=t||30;var n=O(e).toHsl(),o=360/t,f=[O(e)];for(n.h=(n.h-(o*r>>1)+720)%360;--r;)n.h=(n.h+o)%360,f.push(O(n));return f}function ss(e,r){r=r||6;for(var t=O(e).toHsv(),n=t.h,o=t.s,f=t.v,i=[],u=1/r;r--;)i.push(O({h:n,s:o,v:f})),f=(f+u)%1;return i}O.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,r,t,n=this.toRgb();return e=n.r/255,r=n.g/255,t=n.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))},setAlpha:function(e){return this._a=xu(e),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var e=he(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=he(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.v);return this._a==1?"hsv("+r+", "+t+"%, "+n+"%)":"hsva("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=le(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=le(this._r,this._g,this._b),r=Math.round(360*e.h),t=Math.round(100*e.s),n=Math.round(100*e.l);return this._a==1?"hsl("+r+", "+t+"%, "+n+"%)":"hsla("+r+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return pe(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return r=this._r,t=this._g,n=this._b,o=this._a,f=e,i=[V(Math.round(r).toString(16)),V(Math.round(t).toString(16)),V(Math.round(n).toString(16)),V(ju(o))],f&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("");var r,t,n,o,f,i},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*D(this._r,255))+"%",g:Math.round(100*D(this._g,255))+"%",b:Math.round(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(100*D(this._r,255))+"%, "+Math.round(100*D(this._g,255))+"%, "+Math.round(100*D(this._b,255))+"%)":"rgba("+Math.round(100*D(this._r,255))+"%, "+Math.round(100*D(this._g,255))+"%, "+Math.round(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":!(this._a<1)&&(cs[pe(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var r="#"+de(this._r,this._g,this._b,this._a),t=r,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=O(e);t="#"+de(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+r+",endColorstr="+t+")"},toString:function(e){var r=!!e;e=e||this._format;var t=!1,n=this._a<1&&this._a>=0;return r||!n||e!=="hex"&&e!=="hex6"&&e!=="hex3"&&e!=="hex4"&&e!=="hex8"&&e!=="name"?(e==="rgb"&&(t=this.toRgbString()),e==="prgb"&&(t=this.toPercentageRgbString()),e!=="hex"&&e!=="hex6"||(t=this.toHexString()),e==="hex3"&&(t=this.toHexString(!0)),e==="hex4"&&(t=this.toHex8String(!0)),e==="hex8"&&(t=this.toHex8String()),e==="name"&&(t=this.toName()),e==="hsl"&&(t=this.toHslString()),e==="hsv"&&(t=this.toHsvString()),t||this.toHexString()):e==="name"&&this._a===0?this.toName():this.toRgbString()},clone:function(){return O(this.toString())},_applyModification:function(e,r){var t=e.apply(null,[this].concat([].slice.call(r)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(es,arguments)},brighten:function(){return this._applyModification(rs,arguments)},darken:function(){return this._applyModification(ns,arguments)},desaturate:function(){return this._applyModification(Qu,arguments)},saturate:function(){return this._applyModification(Zu,arguments)},greyscale:function(){return this._applyModification(ts,arguments)},spin:function(){return this._applyModification(os,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination(us,arguments)},complement:function(){return this._applyCombination(as,arguments)},monochromatic:function(){return this._applyCombination(ss,arguments)},splitcomplement:function(){return this._applyCombination(is,arguments)},triad:function(){return this._applyCombination(be,[3])},tetrad:function(){return this._applyCombination(be,[4])}},O.fromRatio=function(e,r){if(qt(e)=="object"){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=n==="a"?e[n]:vt(e[n]));e=t}return O(e,r)},O.equals=function(e,r){return!(!e||!r)&&O(e).toRgbString()==O(r).toRgbString()},O.random=function(){return O.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},O.mix=function(e,r,t){t=t===0?0:t||50;var n=O(e).toRgb(),o=O(r).toRgb(),f=t/100;return O({r:(o.r-n.r)*f+n.r,g:(o.g-n.g)*f+n.g,b:(o.b-n.b)*f+n.b,a:(o.a-n.a)*f+n.a})},O.readability=function(e,r){var t=O(e),n=O(r);return(Math.max(t.getLuminance(),n.getLuminance())+.05)/(Math.min(t.getLuminance(),n.getLuminance())+.05)},O.isReadable=function(e,r,t){var n,o,f,i,u,a=O.readability(e,r);switch(o=!1,(f=t,(i=((f=f||{level:"AA",size:"small"}).level||"AA").toUpperCase())!=="AA"&&i!=="AAA"&&(i="AA"),(u=(f.size||"small").toLowerCase())!=="small"&&u!=="large"&&(u="small"),n={level:i,size:u}).level+n.size){case"AAsmall":case"AAAlarge":o=a>=4.5;break;case"AAlarge":o=a>=3;break;case"AAAsmall":o=a>=7}return o},O.mostReadable=function(e,r,t){var n,o,f,i,u=null,a=0;o=(t=t||{}).includeFallbackColors,f=t.level,i=t.size;for(var l=0;l<r.length;l++)(n=O.readability(e,r[l]))>a&&(a=n,u=O(r[l]));return O.isReadable(e,u,{level:f,size:i})||!o?u:(t.includeFallbackColors=!1,O.mostReadable(e,["#fff","#000"],t))};var It=O.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},cs=O.hexNames=function(e){var r={};for(var t in e)e.hasOwnProperty(t)&&(r[e[t]]=t);return r}(It);function xu(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function D(e,r){var t;typeof(t=e)=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1&&(e="100%");var n=function(o){return typeof o=="string"&&o.indexOf("%")!=-1}(e);return e=Math.min(r,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*r,10)/100),Math.abs(e-r)<1e-6?1:e%r/parseFloat(r)}function Tt(e){return Math.min(1,Math.max(0,e))}function $(e){return parseInt(e,16)}function V(e){return e.length==1?"0"+e:""+e}function vt(e){return e<=1&&(e=100*e+"%"),e}function ju(e){return Math.round(255*parseFloat(e)).toString(16)}function ve(e){return $(e)/255}var et,wt,xt,N=(wt="[\\s|\\(]+("+(et="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+et+")[,|\\s]+("+et+")\\s*\\)?",xt="[\\s|\\(]+("+et+")[,|\\s]+("+et+")[,|\\s]+("+et+")[,|\\s]+("+et+")\\s*\\)?",{CSS_UNIT:new RegExp(et),rgb:new RegExp("rgb"+wt),rgba:new RegExp("rgba"+xt),hsl:new RegExp("hsl"+wt),hsla:new RegExp("hsla"+xt),hsv:new RegExp("hsv"+wt),hsva:new RegExp("hsva"+xt),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function Q(e){return!!N.CSS_UNIT.exec(e)}var ge,ye,me,_e,we,xe,je,Oe,Me,Se,ke,Ae,Ce,Ee,Re,Pe,Te,Le,Ue,Fe,De,Be,ze,He,We,$e,Ne,Ie,W={},ut={};function Ou(){if(ye)return ge;ye=1;var e=typeof I.Sa=="object"&&I.Sa&&I.Sa.Object===Object&&I.Sa;return ge=e}function K(){if(_e)return me;_e=1;var e=Ou(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return me=t}function gt(){if(xe)return we;xe=1;var e=K().Symbol;return we=e}function nt(){if(Ae)return ke;Ae=1;var e=gt(),r=function(){if(Oe)return je;Oe=1;var o=gt(),f=Object.prototype,i=f.hasOwnProperty,u=f.toString,a=o?o.toStringTag:void 0;return je=function(l){var h=i.call(l,a),b=l[a];try{l[a]=void 0;var p=!0}catch{}var g=u.call(l);return p&&(h?l[a]=b:delete l[a]),g}}(),t=function(){if(Se)return Me;Se=1;var o=Object.prototype.toString;return Me=function(f){return o.call(f)}}(),n=e?e.toStringTag:void 0;return ke=function(o){return o==null?o===void 0?"[object Undefined]":"[object Null]":n&&n in Object(o)?r(o):t(o)}}function X(){if(Ee)return Ce;Ee=1;var e=Array.isArray;return Ce=e}function Z(){return Pe?Re:(Pe=1,Re=function(e){return e!=null&&typeof e=="object"})}function Mu(){if(Ie)return Ne;Ie=1;var e=function(){if($e)return We;$e=1;var i=nt(),u=Z();return We=function(a){return u(a)&&i(a)=="[object Arguments]"}}(),r=Z(),t=Object.prototype,n=t.hasOwnProperty,o=t.propertyIsEnumerable,f=e(function(){return arguments}())?e:function(i){return r(i)&&n.call(i,"callee")&&!o.call(i,"callee")};return Ne=f}var Ve,Xe,Ye,qe,Ke,Ge,Je,Qe,Ze,tr,er,Lt={exports:{}};function Kt(){return Ye||(Ye=1,e=Lt,r=Lt.exports,t=K(),n=Xe?Ve:(Xe=1,Ve=function(){return!1}),o=r&&!r.nodeType&&r,f=o&&e&&!e.nodeType&&e,i=f&&f.exports===o?t.Buffer:void 0,u=(i?i.isBuffer:void 0)||n,e.exports=u),Lt.exports;var e,r,t,n,o,f,i,u}function Su(){if(Ke)return qe;Ke=1;var e=/^(?:0|[1-9]\d*)$/;return qe=function(r,t){var n=typeof r;return!!(t=t??9007199254740991)&&(n=="number"||n!="symbol"&&e.test(r))&&r>-1&&r%1==0&&r<t}}function Gt(){return Je?Ge:(Je=1,Ge=function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991})}function Vt(){return er?tr:(er=1,tr=function(e){return function(r){return e(r)}})}var rr,nr,or,ar,ir,ur,sr,cr,fr,lr,hr,pr,dr,br,vr,gr,yr,mr,_r,wr,xr,jr,Or,Mr,Sr,kr,Ar,Cr,Er,Rr,Pr,Tr,Lr,Ur,Fr,Dr,Br,zr,Hr,Wr,$r,Nr,Ir,Vr,Xr,Yr,qr,Kr,Gr,Jr,Qr,Zr,tn,en,rn,nn,on,an,un,sn,cn,fn,ln,hn,pn,dn,bn,vn,gn,yn,mn,_n,wn,xn,jn,On,Mn,Sn,kn,An,Cn,En,Rn,Pn,Tn,Ln,Un,Fn,Dn,Bn,zn,Hn,Wn,$n,Nn,In,Vn,Xn,Yn,qn,Kn,Gn,Jn,Qn,Zn,to,eo,ro,no,oo,ao,io,uo,so,co,fo,lo,ho,po,bo,vo,go,yo,mo,_o,wo,xo,jo,Oo,Mo,So,ko,Ao,Co,Eo,Ro,Po,To,Lo,Uo,Fo,Do,Bo,zo,Ho,Wo,$o,No,Io,Vo,Xo,Yo,qo,Ko,Go,Jo,Qo,Zo,ta,ea,ra,na,oa,aa,ia,ua,sa,ca,fa,la,ha,pa,da,ba,va,ga,ya,ma,_a,wa,xa,ja,Oa,Ma,Sa,ka,Aa,Ca,Ea,Ra,Pa,Ta,La,Ua,Fa,Da,Ba,za,Ha,Wa,$a,Na,Ia,Va,Xa,Ya,qa,Ka,Ga,Ja,Qa,Za,Ut={exports:{}};function Xt(){return rr||(rr=1,e=Ut,r=Ut.exports,t=Ou(),n=r&&!r.nodeType&&r,o=n&&e&&!e.nodeType&&e,f=o&&o.exports===n&&t.process,i=function(){try{return o&&o.require&&o.require("util").types||f&&f.binding&&f.binding("util")}catch{}}(),e.exports=i),Ut.exports;var e,r,t,n,o,f,i}function ku(){if(or)return nr;or=1;var e=function(){if(Ze)return Qe;Ze=1;var f=nt(),i=Gt(),u=Z(),a={};return a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,Qe=function(l){return u(l)&&i(l.length)&&!!a[f(l)]}}(),r=Vt(),t=Xt(),n=t&&t.isTypedArray,o=n?r(n):e;return nr=o}function Au(){if(ir)return ar;ir=1;var e=He?ze:(He=1,ze=function(u,a){for(var l=-1,h=Array(u);++l<u;)h[l]=a(l);return h}),r=Mu(),t=X(),n=Kt(),o=Su(),f=ku(),i=Object.prototype.hasOwnProperty;return ar=function(u,a){var l=t(u),h=!l&&r(u),b=!l&&!h&&n(u),p=!l&&!h&&!b&&f(u),g=l||h||b||p,c=g?e(u.length,String):[],s=c.length;for(var d in u)!a&&!i.call(u,d)||g&&(d=="length"||b&&(d=="offset"||d=="parent")||p&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||o(d,s))||c.push(d);return c}}function Jt(){if(sr)return ur;sr=1;var e=Object.prototype;return ur=function(r){var t=r&&r.constructor;return r===(typeof t=="function"&&t.prototype||e)}}function Cu(){return fr?cr:(fr=1,cr=function(e,r){return function(t){return e(r(t))}})}function ht(){return vr?br:(vr=1,br=function(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")})}function Eu(){if(yr)return gr;yr=1;var e=nt(),r=ht();return gr=function(t){if(!r(t))return!1;var n=e(t);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"}}function Ct(){if(_r)return mr;_r=1;var e=Eu(),r=Gt();return mr=function(t){return t!=null&&r(t.length)&&!e(t)}}function yt(){if(xr)return wr;xr=1;var e=Au(),r=function(){if(dr)return pr;dr=1;var n=Jt(),o=function(){if(hr)return lr;hr=1;var i=Cu()(Object.keys,Object);return lr=i}(),f=Object.prototype.hasOwnProperty;return pr=function(i){if(!n(i))return o(i);var u=[];for(var a in Object(i))f.call(i,a)&&a!="constructor"&&u.push(a);return u}}(),t=Ct();return wr=function(n){return t(n)?e(n):r(n)}}function Ru(){if(Or)return jr;Or=1;var e=function(){if(Be)return De;Be=1;var t=(Fe?Ue:(Fe=1,Ue=function(n){return function(o,f,i){for(var u=-1,a=Object(o),l=i(o),h=l.length;h--;){var b=l[n?h:++u];if(f(a[b],b,a)===!1)break}return o}}))();return De=t}(),r=yt();return jr=function(t,n){return t&&e(t,n,r)}}function Pu(){return Sr?Mr:(Sr=1,Mr=function(e){return e})}function Ft(){if(Er)return Cr;Er=1;var e=Ru(),r=function(){if(Ar)return kr;Ar=1;var t=Pu();return kr=function(n){return typeof n=="function"?n:t}}();return Cr=function(t,n){return t&&e(t,r(n))}}function Qt(){if(Pr)return Rr;Pr=1;var e=Cu()(Object.getPrototypeOf,Object);return Rr=e}function Tu(){return Fr?Ur:(Fr=1,Ur=function(e,r){for(var t=-1,n=e==null?0:e.length,o=Array(n);++t<n;)o[t]=r(e[t],t,e);return o})}function Zt(){return Hr?zr:(Hr=1,zr=function(e,r){return e===r||e!=e&&r!=r})}function jt(){if($r)return Wr;$r=1;var e=Zt();return Wr=function(r,t){for(var n=r.length;n--;)if(e(r[n][0],t))return n;return-1}}function kt(){if(Qr)return Jr;Qr=1;var e=Br?Dr:(Br=1,Dr=function(){this.__data__=[],this.size=0}),r=function(){if(Ir)return Nr;Ir=1;var i=jt(),u=Array.prototype.splice;return Nr=function(a){var l=this.__data__,h=i(l,a);return!(h<0||(h==l.length-1?l.pop():u.call(l,h,1),--this.size,0))}}(),t=function(){if(Xr)return Vr;Xr=1;var i=jt();return Vr=function(u){var a=this.__data__,l=i(a,u);return l<0?void 0:a[l][1]}}(),n=function(){if(qr)return Yr;qr=1;var i=jt();return Yr=function(u){return i(this.__data__,u)>-1}}(),o=function(){if(Gr)return Kr;Gr=1;var i=jt();return Kr=function(u,a){var l=this.__data__,h=i(l,u);return h<0?(++this.size,l.push([u,a])):l[h][1]=a,this}}();function f(i){var u=-1,a=i==null?0:i.length;for(this.clear();++u<a;){var l=i[u];this.set(l[0],l[1])}}return f.prototype.clear=e,f.prototype.delete=r,f.prototype.get=t,f.prototype.has=n,f.prototype.set=o,Jr=f}function Lu(){if(pn)return hn;pn=1;var e=Function.prototype.toString;return hn=function(r){if(r!=null){try{return e.call(r)}catch{}try{return r+""}catch{}}return""}}function rt(){if(mn)return yn;mn=1;var e=function(){if(bn)return dn;bn=1;var t=Eu(),n=function(){if(ln)return fn;ln=1;var p,g=function(){if(cn)return sn;cn=1;var s=K()["__core-js_shared__"];return sn=s}(),c=(p=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"";return fn=function(s){return!!c&&c in s}}(),o=ht(),f=Lu(),i=/^\[object .+?Constructor\]$/,u=Function.prototype,a=Object.prototype,l=u.toString,h=a.hasOwnProperty,b=RegExp("^"+l.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return dn=function(p){return!(!o(p)||n(p))&&(t(p)?b:i).test(f(p))}}(),r=gn?vn:(gn=1,vn=function(t,n){return t?.[n]});return yn=function(t,n){var o=r(t,n);return e(o)?o:void 0}}function te(){if(wn)return _n;wn=1;var e=rt()(K(),"Map");return _n=e}function Ot(){if(jn)return xn;jn=1;var e=rt()(Object,"create");return xn=e}function Mt(){if(Wn)return Hn;Wn=1;var e=zn?Bn:(zn=1,Bn=function(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null});return Hn=function(r,t){var n=r.__data__;return e(t)?n[typeof t=="string"?"string":"hash"]:n.map}}function ee(){if(Jn)return Gn;Jn=1;var e=function(){if(Dn)return Fn;Dn=1;var i=function(){if(Un)return Ln;Un=1;var l=function(){if(Mn)return On;Mn=1;var s=Ot();return On=function(){this.__data__=s?s(null):{},this.size=0}}(),h=kn?Sn:(kn=1,Sn=function(s){var d=this.has(s)&&delete this.__data__[s];return this.size-=d?1:0,d}),b=function(){if(Cn)return An;Cn=1;var s=Ot(),d=Object.prototype.hasOwnProperty;return An=function(v){var y=this.__data__;if(s){var _=y[v];return _==="__lodash_hash_undefined__"?void 0:_}return d.call(y,v)?y[v]:void 0}}(),p=function(){if(Rn)return En;Rn=1;var s=Ot(),d=Object.prototype.hasOwnProperty;return En=function(v){var y=this.__data__;return s?y[v]!==void 0:d.call(y,v)}}(),g=function(){if(Tn)return Pn;Tn=1;var s=Ot();return Pn=function(d,v){var y=this.__data__;return this.size+=this.has(d)?0:1,y[d]=s&&v===void 0?"__lodash_hash_undefined__":v,this}}();function c(s){var d=-1,v=s==null?0:s.length;for(this.clear();++d<v;){var y=s[d];this.set(y[0],y[1])}}return c.prototype.clear=l,c.prototype.delete=h,c.prototype.get=b,c.prototype.has=p,c.prototype.set=g,Ln=c}(),u=kt(),a=te();return Fn=function(){this.size=0,this.__data__={hash:new i,map:new(a||u),string:new i}}}(),r=function(){if(Nn)return $n;Nn=1;var i=Mt();return $n=function(u){var a=i(this,u).delete(u);return this.size-=a?1:0,a}}(),t=function(){if(Vn)return In;Vn=1;var i=Mt();return In=function(u){return i(this,u).get(u)}}(),n=function(){if(Yn)return Xn;Yn=1;var i=Mt();return Xn=function(u){return i(this,u).has(u)}}(),o=function(){if(Kn)return qn;Kn=1;var i=Mt();return qn=function(u,a){var l=i(this,u),h=l.size;return l.set(u,a),this.size+=l.size==h?0:1,this}}();function f(i){var u=-1,a=i==null?0:i.length;for(this.clear();++u<a;){var l=i[u];this.set(l[0],l[1])}}return f.prototype.clear=e,f.prototype.delete=r,f.prototype.get=t,f.prototype.has=n,f.prototype.set=o,Gn=f}function re(){if(eo)return to;eo=1;var e=kt(),r=function(){if(tn)return Zr;tn=1;var u=kt();return Zr=function(){this.__data__=new u,this.size=0}}(),t=rn?en:(rn=1,en=function(u){var a=this.__data__,l=a.delete(u);return this.size=a.size,l}),n=on?nn:(on=1,nn=function(u){return this.__data__.get(u)}),o=un?an:(un=1,an=function(u){return this.__data__.has(u)}),f=function(){if(Zn)return Qn;Zn=1;var u=kt(),a=te(),l=ee();return Qn=function(h,b){var p=this.__data__;if(p instanceof u){var g=p.__data__;if(!a||g.length<199)return g.push([h,b]),this.size=++p.size,this;p=this.__data__=new l(g)}return p.set(h,b),this.size=p.size,this}}();function i(u){var a=this.__data__=new e(u);this.size=a.size}return i.prototype.clear=r,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=o,i.prototype.set=f,to=i}function ti(){if(po)return ho;po=1;var e=function(){if(uo)return io;uo=1;var n=ee(),o=no?ro:(no=1,ro=function(u){return this.__data__.set(u,"__lodash_hash_undefined__"),this}),f=ao?oo:(ao=1,oo=function(u){return this.__data__.has(u)});function i(u){var a=-1,l=u==null?0:u.length;for(this.__data__=new n;++a<l;)this.add(u[a])}return i.prototype.add=i.prototype.push=o,i.prototype.has=f,io=i}(),r=co?so:(co=1,so=function(n,o){for(var f=-1,i=n==null?0:n.length;++f<i;)if(o(n[f],f,n))return!0;return!1}),t=lo?fo:(lo=1,fo=function(n,o){return n.has(o)});return ho=function(n,o,f,i,u,a){var l=1&f,h=n.length,b=o.length;if(h!=b&&!(l&&b>h))return!1;var p=a.get(n),g=a.get(o);if(p&&g)return p==o&&g==n;var c=-1,s=!0,d=2&f?new e:void 0;for(a.set(n,o),a.set(o,n);++c<h;){var v=n[c],y=o[c];if(i)var _=l?i(y,v,c,o,n,a):i(v,y,c,n,o,a);if(_!==void 0){if(_)continue;s=!1;break}if(d){if(!r(o,function(m,w){if(!t(d,w)&&(v===m||u(v,m,f,i,a)))return d.push(w)})){s=!1;break}}else if(v!==y&&!u(v,y,f,i,a)){s=!1;break}}return a.delete(n),a.delete(o),s}}function Uu(){if(vo)return bo;vo=1;var e=K().Uint8Array;return bo=e}function Fu(){return Oo?jo:(Oo=1,jo=function(e,r){for(var t=-1,n=r.length,o=e.length;++t<n;)e[o+t]=r[t];return e})}function Du(){if(So)return Mo;So=1;var e=Fu(),r=X();return Mo=function(t,n,o){var f=n(t);return r(t)?f:e(f,o(t))}}function Bu(){return Eo?Co:(Eo=1,Co=function(){return[]})}function ne(){if(Po)return Ro;Po=1;var e=Ao?ko:(Ao=1,ko=function(o,f){for(var i=-1,u=o==null?0:o.length,a=0,l=[];++i<u;){var h=o[i];f(h,i,o)&&(l[a++]=h)}return l}),r=Bu(),t=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols;return Ro=n?function(o){return o==null?[]:(o=Object(o),e(n(o),function(f){return t.call(o,f)}))}:r}function zu(){if(Lo)return To;Lo=1;var e=Du(),r=ne(),t=yt();return To=function(n){return e(n,t,r)}}function At(){if(Xo)return Vo;Xo=1;var e=function(){if(Bo)return Do;Bo=1;var y=rt()(K(),"DataView");return Do=y}(),r=te(),t=function(){if(Ho)return zo;Ho=1;var y=rt()(K(),"Promise");return zo=y}(),n=function(){if($o)return Wo;$o=1;var y=rt()(K(),"Set");return Wo=y}(),o=function(){if(Io)return No;Io=1;var y=rt()(K(),"WeakMap");return No=y}(),f=nt(),i=Lu(),u="[object Map]",a="[object Promise]",l="[object Set]",h="[object WeakMap]",b="[object DataView]",p=i(e),g=i(r),c=i(t),s=i(n),d=i(o),v=f;return(e&&v(new e(new ArrayBuffer(1)))!=b||r&&v(new r)!=u||t&&v(t.resolve())!=a||n&&v(new n)!=l||o&&v(new o)!=h)&&(v=function(y){var _=f(y),m=_=="[object Object]"?y.constructor:void 0,w=m?i(m):"";if(w)switch(w){case p:return b;case g:return u;case c:return a;case s:return l;case d:return h}return _}),Vo=v}function fs(){if(qo)return Yo;qo=1;var e=re(),r=ti(),t=function(){if(xo)return wo;xo=1;var p=gt(),g=Uu(),c=Zt(),s=ti(),d=yo?go:(yo=1,go=function(m){var w=-1,C=Array(m.size);return m.forEach(function(A,P){C[++w]=[P,A]}),C}),v=_o?mo:(_o=1,mo=function(m){var w=-1,C=Array(m.size);return m.forEach(function(A){C[++w]=A}),C}),y=p?p.prototype:void 0,_=y?y.valueOf:void 0;return wo=function(m,w,C,A,P,M,F){switch(C){case"[object DataView]":if(m.byteLength!=w.byteLength||m.byteOffset!=w.byteOffset)return!1;m=m.buffer,w=w.buffer;case"[object ArrayBuffer]":return!(m.byteLength!=w.byteLength||!M(new g(m),new g(w)));case"[object Boolean]":case"[object Date]":case"[object Number]":return c(+m,+w);case"[object Error]":return m.name==w.name&&m.message==w.message;case"[object RegExp]":case"[object String]":return m==w+"";case"[object Map]":var B=d;case"[object Set]":var G=1&A;if(B||(B=v),m.size!=w.size&&!G)return!1;var Y=F.get(m);if(Y)return Y==w;A|=2,F.set(m,w);var J=s(B(m),B(w),A,P,M,F);return F.delete(m),J;case"[object Symbol]":if(_)return _.call(m)==_.call(w)}return!1}}(),n=function(){if(Fo)return Uo;Fo=1;var p=zu(),g=Object.prototype.hasOwnProperty;return Uo=function(c,s,d,v,y,_){var m=1&d,w=p(c),C=w.length;if(C!=p(s).length&&!m)return!1;for(var A=C;A--;){var P=w[A];if(!(m?P in s:g.call(s,P)))return!1}var M=_.get(c),F=_.get(s);if(M&&F)return M==s&&F==c;var B=!0;_.set(c,s),_.set(s,c);for(var G=m;++A<C;){var Y=c[P=w[A]],J=s[P];if(v)var pt=m?v(J,Y,P,s,c,_):v(Y,J,P,c,s,_);if(!(pt===void 0?Y===J||y(Y,J,d,v,_):pt)){B=!1;break}G||(G=P=="constructor")}if(B&&!G){var L=c.constructor,E=s.constructor;L==E||!("constructor"in c)||!("constructor"in s)||typeof L=="function"&&L instanceof L&&typeof E=="function"&&E instanceof E||(B=!1)}return _.delete(c),_.delete(s),B}}(),o=At(),f=X(),i=Kt(),u=ku(),a="[object Arguments]",l="[object Array]",h="[object Object]",b=Object.prototype.hasOwnProperty;return Yo=function(p,g,c,s,d,v){var y=f(p),_=f(g),m=y?l:o(p),w=_?l:o(g),C=(m=m==a?h:m)==h,A=(w=w==a?h:w)==h,P=m==w;if(P&&i(p)){if(!i(g))return!1;y=!0,C=!1}if(P&&!C)return v||(v=new e),y||u(p)?r(p,g,c,s,d,v):t(p,g,m,c,s,d,v);if(!(1&c)){var M=C&&b.call(p,"__wrapped__"),F=A&&b.call(g,"__wrapped__");if(M||F){var B=M?p.value():p,G=F?g.value():g;return v||(v=new e),d(B,G,c,s,v)}}return!!P&&(v||(v=new e),n(p,g,c,s,d,v))}}function Hu(){if(Go)return Ko;Go=1;var e=fs(),r=Z();return Ko=function t(n,o,f,i,u){return n===o||(n==null||o==null||!r(n)&&!r(o)?n!=n&&o!=o:e(n,o,f,i,t,u))}}function Wu(){if(ta)return Zo;ta=1;var e=ht();return Zo=function(r){return r==r&&!e(r)}}function $u(){return oa?na:(oa=1,na=function(e,r){return function(t){return t!=null&&t[e]===r&&(r!==void 0||e in Object(t))}})}function oe(){if(sa)return ua;sa=1;var e=nt(),r=Z();return ua=function(t){return typeof t=="symbol"||r(t)&&e(t)=="[object Symbol]"}}function ae(){if(fa)return ca;fa=1;var e=X(),r=oe(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;return ca=function(o,f){if(e(o))return!1;var i=typeof o;return!(i!="number"&&i!="symbol"&&i!="boolean"&&o!=null&&!r(o))||n.test(o)||!t.test(o)||f!=null&&o in Object(f)}}function Nu(){if(xa)return wa;xa=1;var e=X(),r=ae(),t=function(){if(va)return ba;va=1;var o=function(){if(da)return pa;da=1;var a=function(){if(ha)return la;ha=1;var l=ee();function h(b,p){if(typeof b!="function"||p!=null&&typeof p!="function")throw new TypeError("Expected a function");var g=function(){var c=arguments,s=p?p.apply(this,c):c[0],d=g.cache;if(d.has(s))return d.get(s);var v=b.apply(this,c);return g.cache=d.set(s,v)||d,v};return g.cache=new(h.Cache||l),g}return h.Cache=l,la=h}();return pa=function(l){var h=a(l,function(p){return b.size===500&&b.clear(),p}),b=h.cache;return h}}(),f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,u=o(function(a){var l=[];return a.charCodeAt(0)===46&&l.push(""),a.replace(f,function(h,b,p,g){l.push(p?g.replace(i,"$1"):b||h)}),l});return ba=u}(),n=function(){if(_a)return ma;_a=1;var o=function(){if(ya)return ga;ya=1;var f=gt(),i=Tu(),u=X(),a=oe(),l=f?f.prototype:void 0,h=l?l.toString:void 0;return ga=function b(p){if(typeof p=="string")return p;if(u(p))return i(p,b)+"";if(a(p))return h?h.call(p):"";var g=p+"";return g=="0"&&1/p==-1/0?"-0":g}}();return ma=function(f){return f==null?"":o(f)}}();return wa=function(o,f){return e(o)?o:r(o,f)?[o]:t(n(o))}}function Et(){if(Oa)return ja;Oa=1;var e=oe();return ja=function(r){if(typeof r=="string"||e(r))return r;var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}}function Iu(){if(Sa)return Ma;Sa=1;var e=Nu(),r=Et();return Ma=function(t,n){for(var o=0,f=(n=e(n,t)).length;t!=null&&o<f;)t=t[r(n[o++])];return o&&o==f?t:void 0}}function ls(){if(Fa)return Ua;Fa=1;var e=Hu(),r=function(){if(Aa)return ka;Aa=1;var u=Iu();return ka=function(a,l,h){var b=a==null?void 0:u(a,l);return b===void 0?h:b}}(),t=function(){if(La)return Ta;La=1;var u=Ea?Ca:(Ea=1,Ca=function(l,h){return l!=null&&h in Object(l)}),a=function(){if(Pa)return Ra;Pa=1;var l=Nu(),h=Mu(),b=X(),p=Su(),g=Gt(),c=Et();return Ra=function(s,d,v){for(var y=-1,_=(d=l(d,s)).length,m=!1;++y<_;){var w=c(d[y]);if(!(m=s!=null&&v(s,w)))break;s=s[w]}return m||++y!=_?m:!!(_=s==null?0:s.length)&&g(_)&&p(w,_)&&(b(s)||h(s))}}();return Ta=function(l,h){return l!=null&&a(l,h,u)}}(),n=ae(),o=Wu(),f=$u(),i=Et();return Ua=function(u,a){return n(u)&&o(a)?f(i(u),a):function(l){var h=r(l,u);return h===void 0&&h===a?t(l,u):e(a,h,3)}}}function hs(){if(Qa)return Ja;Qa=1;var e=Tu(),r=function(){if(Ia)return Na;Ia=1;var o=function(){if(ia)return aa;ia=1;var l=function(){if(Qo)return Jo;Qo=1;var p=re(),g=Hu();return Jo=function(c,s,d,v){var y=d.length,_=y,m=!v;if(c==null)return!_;for(c=Object(c);y--;){var w=d[y];if(m&&w[2]?w[1]!==c[w[0]]:!(w[0]in c))return!1}for(;++y<_;){var C=(w=d[y])[0],A=c[C],P=w[1];if(m&&w[2]){if(A===void 0&&!(C in c))return!1}else{var M=new p;if(v)var F=v(A,P,C,c,s,M);if(!(F===void 0?g(P,A,3,v,M):F))return!1}}return!0}}(),h=function(){if(ra)return ea;ra=1;var p=Wu(),g=yt();return ea=function(c){for(var s=g(c),d=s.length;d--;){var v=s[d],y=c[v];s[d]=[v,y,p(y)]}return s}}(),b=$u();return aa=function(p){var g=h(p);return g.length==1&&g[0][2]?b(g[0][0],g[0][1]):function(c){return c===p||l(c,p,g)}}}(),f=ls(),i=Pu(),u=X(),a=function(){if($a)return Wa;$a=1;var l=Ba?Da:(Ba=1,Da=function(g){return function(c){return c?.[g]}}),h=function(){if(Ha)return za;Ha=1;var g=Iu();return za=function(c){return function(s){return g(s,c)}}}(),b=ae(),p=Et();return Wa=function(g){return b(g)?l(p(g)):h(g)}}();return Na=function(l){return typeof l=="function"?l:l==null?i:typeof l=="object"?u(l)?f(l[0],l[1]):o(l):a(l)}}(),t=function(){if(Ga)return Ka;Ga=1;var o=function(){if(qa)return Ya;qa=1;var i=Ru(),u=function(){if(Xa)return Va;Xa=1;var a=Ct();return Va=function(l,h){return function(b,p){if(b==null)return b;if(!a(b))return l(b,p);for(var g=b.length,c=h?g:-1,s=Object(b);(h?c--:++c<g)&&p(s[c],c,s)!==!1;);return b}}}()(i);return Ya=u}(),f=Ct();return Ka=function(i,u){var a=-1,l=f(i)?Array(i.length):[];return o(i,function(h,b,p){l[++a]=u(h,b,p)}),l}}(),n=X();return Ja=function(o,f){return(n(o)?e:t)(o,r(f,3))}}var ei,ri,ni,oi,ai,ii,ui,si,ci,fi,li,hi,pi,di,bi,vi,gi,yi,mi,_i,st={};function Vu(){if(ii)return ai;ii=1;var e=function(){if(oi)return ni;oi=1;var r=rt(),t=function(){try{var n=r(Object,"defineProperty");return n({},"",{}),n}catch{}}();return ni=t}();return ai=function(r,t,n){t=="__proto__"&&e?e(r,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):r[t]=n}}function Xu(){if(si)return ui;si=1;var e=Vu(),r=Zt(),t=Object.prototype.hasOwnProperty;return ui=function(n,o,f){var i=n[o];t.call(n,o)&&r(i,f)&&(f!==void 0||o in n)||e(n,o,f)}}function St(){if(fi)return ci;fi=1;var e=Xu(),r=Vu();return ci=function(t,n,o,f){var i=!o;o||(o={});for(var u=-1,a=n.length;++u<a;){var l=n[u],h=f?f(o[l],t[l],l,o,t):void 0;h===void 0&&(h=t[l]),i?r(o,l,h):e(o,l,h)}return o}}function Dt(){if(yi)return gi;yi=1;var e=Au(),r=function(){if(vi)return bi;vi=1;var n=ht(),o=Jt(),f=di?pi:(di=1,pi=function(u){var a=[];if(u!=null)for(var l in Object(u))a.push(l);return a}),i=Object.prototype.hasOwnProperty;return bi=function(u){if(!n(u))return f(u);var a=o(u),l=[];for(var h in u)(h!="constructor"||!a&&i.call(u,h))&&l.push(h);return l}}(),t=Ct();return gi=function(n){return t(n)?e(n,!0):r(n)}}var wi,xi,ji,Oi,Mi,Si,ki,Ai,Ci,Ei,Ri,Pi,Ti,Li,Ui,Fi,Di,Bi,zi,Hi,Wi,$i,Ni,Ii,Vi,Xi,Yi,qi,Ki,Gi,Ji,Qi,Zi,tu,eu,ru,nu,Bt,ou,au,iu,uu,zt={exports:{}};function su(){if(ki)return Si;ki=1;var e=Fu(),r=Qt(),t=ne(),n=Bu(),o=Object.getOwnPropertySymbols;return Si=o?function(f){for(var i=[];f;)e(i,t(f)),f=r(f);return i}:n}function Ht(){if(Ui)return Li;Ui=1;var e=Uu();return Li=function(r){var t=new r.constructor(r.byteLength);return new e(t).set(new e(r)),t}}function ps(){if(ou)return Bt;ou=1;var e,r,t,n,o,f,i,u=re(),a=ri?ei:(ri=1,ei=function(E,x){for(var S=-1,k=E==null?0:E.length;++S<k&&x(E[S],S,E)!==!1;);return E}),l=Xu(),h=function(){if(hi)return li;hi=1;var E=St(),x=yt();return li=function(S,k){return S&&E(k,x(k),S)}}(),b=function(){if(_i)return mi;_i=1;var E=St(),x=Dt();return mi=function(S,k){return S&&E(k,x(k),S)}}(),p=(wi||(wi=1,e=zt,r=zt.exports,t=K(),n=r&&!r.nodeType&&r,o=n&&e&&!e.nodeType&&e,f=o&&o.exports===n?t.Buffer:void 0,i=f?f.allocUnsafe:void 0,e.exports=function(E,x){if(x)return E.slice();var S=E.length,k=i?i(S):new E.constructor(S);return E.copy(k),k}),zt.exports),g=ji?xi:(ji=1,xi=function(E,x){var S=-1,k=E.length;for(x||(x=Array(k));++S<k;)x[S]=E[S];return x}),c=function(){if(Mi)return Oi;Mi=1;var E=St(),x=ne();return Oi=function(S,k){return E(S,x(S),k)}}(),s=function(){if(Ci)return Ai;Ci=1;var E=St(),x=su();return Ai=function(S,k){return E(S,x(S),k)}}(),d=zu(),v=function(){if(Ri)return Ei;Ri=1;var E=Du(),x=su(),S=Dt();return Ei=function(k){return E(k,S,x)}}(),y=At(),_=function(){if(Ti)return Pi;Ti=1;var E=Object.prototype.hasOwnProperty;return Pi=function(x){var S=x.length,k=new x.constructor(S);return S&&typeof x[0]=="string"&&E.call(x,"index")&&(k.index=x.index,k.input=x.input),k}}(),m=function(){if(Vi)return Ii;Vi=1;var E=Ht(),x=function(){if(Di)return Fi;Di=1;var U=Ht();return Fi=function(R,T){var H=T?U(R.buffer):R.buffer;return new R.constructor(H,R.byteOffset,R.byteLength)}}(),S=function(){if(zi)return Bi;zi=1;var U=/\w*$/;return Bi=function(R){var T=new R.constructor(R.source,U.exec(R));return T.lastIndex=R.lastIndex,T}}(),k=function(){if(Wi)return Hi;Wi=1;var U=gt(),R=U?U.prototype:void 0,T=R?R.valueOf:void 0;return Hi=function(H){return T?Object(T.call(H)):{}}}(),q=function(){if(Ni)return $i;Ni=1;var U=Ht();return $i=function(R,T){var H=T?U(R.buffer):R.buffer;return new R.constructor(H,R.byteOffset,R.length)}}();return Ii=function(U,R,T){var H=U.constructor;switch(R){case"[object ArrayBuffer]":return E(U);case"[object Boolean]":case"[object Date]":return new H(+U);case"[object DataView]":return x(U,T);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return q(U,T);case"[object Map]":case"[object Set]":return new H;case"[object Number]":case"[object String]":return new H(U);case"[object RegExp]":return S(U);case"[object Symbol]":return k(U)}}}(),w=function(){if(Ki)return qi;Ki=1;var E=function(){if(Yi)return Xi;Yi=1;var k=ht(),q=Object.create;return Xi=function(){function U(){}return function(R){if(!k(R))return{};if(q)return q(R);U.prototype=R;var T=new U;return U.prototype=void 0,T}}()}(),x=Qt(),S=Jt();return qi=function(k){return typeof k.constructor!="function"||S(k)?{}:E(x(k))}}(),C=X(),A=Kt(),P=function(){if(Zi)return Qi;Zi=1;var E=function(){if(Ji)return Gi;Ji=1;var U=At(),R=Z();return Gi=function(T){return R(T)&&U(T)=="[object Map]"}}(),x=Vt(),S=Xt(),k=S&&S.isMap,q=k?x(k):E;return Qi=q}(),M=ht(),F=function(){if(nu)return ru;nu=1;var E=function(){if(eu)return tu;eu=1;var U=At(),R=Z();return tu=function(T){return R(T)&&U(T)=="[object Set]"}}(),x=Vt(),S=Xt(),k=S&&S.isSet,q=k?x(k):E;return ru=q}(),B=yt(),G=Dt(),Y="[object Arguments]",J="[object Function]",pt="[object Object]",L={};return L[Y]=L["[object Array]"]=L["[object ArrayBuffer]"]=L["[object DataView]"]=L["[object Boolean]"]=L["[object Date]"]=L["[object Float32Array]"]=L["[object Float64Array]"]=L["[object Int8Array]"]=L["[object Int16Array]"]=L["[object Int32Array]"]=L["[object Map]"]=L["[object Number]"]=L[pt]=L["[object RegExp]"]=L["[object Set]"]=L["[object String]"]=L["[object Symbol]"]=L["[object Uint8Array]"]=L["[object Uint8ClampedArray]"]=L["[object Uint16Array]"]=L["[object Uint32Array]"]=!0,L["[object Error]"]=L[J]=L["[object WeakMap]"]=!1,Bt=function E(x,S,k,q,U,R){var T,H=1&S,mt=2&S,Ku=4&S;if(k&&(T=U?k(x,q,U,R):k(x)),T!==void 0)return T;if(!M(x))return x;var ue=C(x);if(ue){if(T=_(x),!H)return g(x,T)}else{var at=y(x),se=at==J||at=="[object GeneratorFunction]";if(A(x))return p(x,H);if(at==pt||at==Y||se&&!U){if(T=mt||se?{}:w(x),!H)return mt?s(x,b(T,x)):c(x,h(T,x))}else{if(!L[at])return U?x:{};T=m(x,at,H)}}R||(R=new u);var ce=R.get(x);if(ce)return ce;R.set(x,T),F(x)?x.forEach(function(tt){T.add(E(tt,S,k,tt,x,R))}):P(x)&&x.forEach(function(tt,it){T.set(it,E(tt,S,k,it,x,R))});var fe=ue?void 0:(Ku?mt?v:d:mt?G:B)(x);return a(fe||x,function(tt,it){fe&&(tt=x[it=tt]),l(T,it,E(tt,S,k,it,x,R))}),T},Bt}var cu,fu,ct={},ft={},lu,lt={},hu,pu,Wt={},ds=function(){if(pu)return W;pu=1,Object.defineProperty(W,"__esModule",{value:!0}),W.ReactCSS=W.loop=W.handleActive=W.handleHover=W.hover=void 0;var e=u(function(){if(Za)return ut;Za=1,Object.defineProperty(ut,"__esModule",{value:!0}),ut.flattenNames=void 0;var l=g(function(){if(Le)return Te;Le=1;var s=nt(),d=X(),v=Z();return Te=function(y){return typeof y=="string"||!d(y)&&v(y)&&s(y)=="[object String]"}}()),h=g(Ft()),b=g(function(){if(Lr)return Tr;Lr=1;var s=nt(),d=Qt(),v=Z(),y=Function.prototype,_=Object.prototype,m=y.toString,w=_.hasOwnProperty,C=m.call(Object);return Tr=function(A){if(!v(A)||s(A)!="[object Object]")return!1;var P=d(A);if(P===null)return!0;var M=w.call(P,"constructor")&&P.constructor;return typeof M=="function"&&M instanceof M&&m.call(M)==C}}()),p=g(hs());function g(s){return s&&s.__esModule?s:{default:s}}var c=ut.flattenNames=function s(){var d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],v=[];return(0,p.default)(d,function(y){Array.isArray(y)?s(y).map(function(_){return v.push(_)}):(0,b.default)(y)?(0,h.default)(y,function(_,m){_===!0&&v.push(m),v.push(m+"-"+_)}):(0,l.default)(y)&&v.push(y)}),v};return ut.default=c,ut}()),r=u(function(){if(uu)return st;uu=1,Object.defineProperty(st,"__esModule",{value:!0}),st.mergeClasses=void 0;var l=p(Ft()),h=p(function(){if(iu)return au;iu=1;var c=ps();return au=function(s){return c(s,5)}}()),b=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c};function p(c){return c&&c.__esModule?c:{default:c}}var g=st.mergeClasses=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=c.default&&(0,h.default)(c.default)||{};return s.map(function(v){var y=c[v];return y&&(0,l.default)(y,function(_,m){d[m]||(d[m]={}),d[m]=b({},d[m],y[m])}),v}),d};return st.default=g,st}()),t=function(){if(cu)return ct;cu=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.autoprefix=void 0;var l,h=(l=Ft())&&l.__esModule?l:{default:l},b=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},p={borderRadius:function(c){return{msBorderRadius:c,MozBorderRadius:c,OBorderRadius:c,WebkitBorderRadius:c,borderRadius:c}},boxShadow:function(c){return{msBoxShadow:c,MozBoxShadow:c,OBoxShadow:c,WebkitBoxShadow:c,boxShadow:c}},userSelect:function(c){return{WebkitTouchCallout:c,KhtmlUserSelect:c,MozUserSelect:c,msUserSelect:c,WebkitUserSelect:c,userSelect:c}},flex:function(c){return{WebkitBoxFlex:c,MozBoxFlex:c,WebkitFlex:c,msFlex:c,flex:c}},flexBasis:function(c){return{WebkitFlexBasis:c,flexBasis:c}},justifyContent:function(c){return{WebkitJustifyContent:c,justifyContent:c}},transition:function(c){return{msTransition:c,MozTransition:c,OTransition:c,WebkitTransition:c,transition:c}},transform:function(c){return{msTransform:c,MozTransform:c,OTransform:c,WebkitTransform:c,transform:c}},absolute:function(c){var s=c&&c.split(" ");return{position:"absolute",top:s&&s[0],right:s&&s[1],bottom:s&&s[2],left:s&&s[3]}},extend:function(c,s){return s[c]||{extend:c}}},g=ct.autoprefix=function(c){var s={};return(0,h.default)(c,function(d,v){var y={};(0,h.default)(d,function(_,m){var w=p[m];w?y=b({},y,w(_)):y[m]=_}),s[v]=y}),s};return ct.default=g,ct}(),n=u(t),o=u(function(){if(fu)return ft;fu=1,Object.defineProperty(ft,"__esModule",{value:!0}),ft.hover=void 0;var l,h=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},b=(l=j)&&l.__esModule?l:{default:l};function p(c,s){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?c:s}var g=ft.hover=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){function v(){var y,_,m;(function(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")})(this,v);for(var w=arguments.length,C=Array(w),A=0;A<w;A++)C[A]=arguments[A];return _=m=p(this,(y=v.__proto__||Object.getPrototypeOf(v)).call.apply(y,[this].concat(C))),m.state={hover:!1},m.handleMouseOver=function(){return m.setState({hover:!0})},m.handleMouseOut=function(){return m.setState({hover:!1})},m.render=function(){return b.default.createElement(s,{onMouseOver:m.handleMouseOver,onMouseOut:m.handleMouseOut},b.default.createElement(c,h({},m.props,m.state)))},p(m,_)}return function(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}(v,d),v}(b.default.Component)};return ft.default=g,ft}()),f=u(function(){if(lu)return lt;lu=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.active=void 0;var l,h=Object.assign||function(c){for(var s=1;s<arguments.length;s++){var d=arguments[s];for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(c[v]=d[v])}return c},b=(l=j)&&l.__esModule?l:{default:l};function p(c,s){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||typeof s!="object"&&typeof s!="function"?c:s}var g=lt.active=function(c){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"span";return function(d){function v(){var y,_,m;(function(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")})(this,v);for(var w=arguments.length,C=Array(w),A=0;A<w;A++)C[A]=arguments[A];return _=m=p(this,(y=v.__proto__||Object.getPrototypeOf(v)).call.apply(y,[this].concat(C))),m.state={active:!1},m.handleMouseDown=function(){return m.setState({active:!0})},m.handleMouseUp=function(){return m.setState({active:!1})},m.render=function(){return b.default.createElement(s,{onMouseDown:m.handleMouseDown,onMouseUp:m.handleMouseUp},b.default.createElement(c,h({},m.props,m.state)))},p(m,_)}return function(y,_){if(typeof _!="function"&&_!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _);y.prototype=Object.create(_&&_.prototype,{constructor:{value:y,enumerable:!1,writable:!0,configurable:!0}}),_&&(Object.setPrototypeOf?Object.setPrototypeOf(y,_):y.__proto__=_)}(v,d),v}(b.default.Component)};return lt.default=g,lt}()),i=u((hu||(hu=1,Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.default=function(l,h){var b={},p=function(g){var c=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];b[g]=c};return l===0&&p("first-child"),l===h-1&&p("last-child"),(l===0||l%2==0)&&p("even"),Math.abs(l%2)===1&&p("odd"),p("nth-child",l),b}),Wt));function u(l){return l&&l.__esModule?l:{default:l}}W.hover=o.default,W.handleHover=o.default,W.handleActive=f.default,W.loop=i.default;var a=W.ReactCSS=function(l){for(var h=arguments.length,b=Array(h>1?h-1:0),p=1;p<h;p++)b[p-1]=arguments[p];var g=(0,e.default)(b),c=(0,r.default)(l,g);return(0,n.default)(c)};return W.default=a,W}();const ot=I.PR(ds);var $t={},bs=function(e,r,t,n){var o=e+"-"+r+"-"+t+(n?"-server":"");if($t[o])return $t[o];var f=function(i,u,a,l){if(typeof document>"u"&&!l)return null;var h=l?new l:document.createElement("canvas");h.width=2*a,h.height=2*a;var b=h.getContext("2d");return b?(b.fillStyle=i,b.fillRect(0,0,h.width,h.height),b.fillStyle=u,b.fillRect(0,0,a,a),b.translate(a,a),b.fillRect(0,0,a,a),h.toDataURL()):null}(e,r,t,n);return $t[o]=f,f},du=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ie=function(e){var r=e.white,t=e.grey,n=e.size,o=e.renderers,f=e.borderRadius,i=e.boxShadow,u=e.children,a=ot({default:{grid:{borderRadius:f,boxShadow:i,absolute:"0px 0px 0px 0px",background:"url("+bs(r,t,n,o.canvas)+") center left"}}});return j.isValidElement(u)?j.cloneElement(u,du({},u.props,{style:du({},u.props.style,a.grid)})):j.createElement("div",{style:a.grid})};ie.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var vs=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},gs=function(){function e(r,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function bu(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||typeof r!="object"&&typeof r!="function"?e:r}var ys=function(){function e(){var r,t,n;(function(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")})(this,e);for(var o=arguments.length,f=Array(o),i=0;i<o;i++)f[i]=arguments[i];return t=n=bu(this,(r=e.__proto__||Object.getPrototypeOf(e)).call.apply(r,[this].concat(f))),n.handleChange=function(u){var a=function(l,h,b,p,g){var c=g.clientWidth,s=g.clientHeight,d=typeof l.pageX=="number"?l.pageX:l.touches[0].pageX,v=typeof l.pageY=="number"?l.pageY:l.touches[0].pageY,y=d-(g.getBoundingClientRect().left+window.pageXOffset),_=v-(g.getBoundingClientRect().top+window.pageYOffset);if(b==="vertical"){var m;if(m=_<0?0:_>s?1:Math.round(100*_/s)/100,h.a!==m)return{h:h.h,s:h.s,l:h.l,a:m,source:"rgb"}}else{var w;if(p!==(w=y<0?0:y>c?1:Math.round(100*y/c)/100))return{h:h.h,s:h.s,l:h.l,a:w,source:"rgb"}}return null}(u,n.props.hsl,n.props.direction,n.props.a,n.container);a&&typeof n.props.onChange=="function"&&n.props.onChange(a,u)},n.handleMouseDown=function(u){n.handleChange(u),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},bu(n,t)}return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}(e,j.PureComponent||j.Component),gs(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var r=this,t=this.props.rgb,n=ot({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+`, 0) 0%,
|
|
7
7
|
rgba(`+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+`, 0) 0%,
|
|
8
8
|
rgba(`+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:vs({},this.props.style)},{vertical:this.props.direction==="vertical",overwrite:!0});return j.createElement("div",{style:n.alpha},j.createElement("div",{style:n.checkboard},j.createElement(ie,{renderers:this.props.renderers})),j.createElement("div",{style:n.gradient}),j.createElement("div",{style:n.container,ref:function(o){return r.container=o},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},j.createElement("div",{style:n.pointer},this.props.pointer?j.createElement(this.props.pointer,this.props):j.createElement("div",{style:n.slider}))))}}]),e}(),ms=function(){function e(r,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}(),_s=[38,40],ws=1,dt=function(){function e(r){(function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")})(this,e);var t=function(n,o){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!o||typeof o!="object"&&typeof o!="function"?n:o}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.handleBlur=function(){t.state.blurValue&&t.setState({value:t.state.blurValue,blurValue:null})},t.handleChange=function(n){t.setUpdatedValue(n.target.value,n)},t.handleKeyDown=function(n){var o,f,i=(f=n.target.value,Number(String(f).replace(/%/g,"")));if(!isNaN(i)&&(o=n.keyCode,_s.indexOf(o)>-1)){var u=t.getArrowOffset(),a=n.keyCode===38?i+u:i-u;t.setUpdatedValue(a,n)}},t.handleDrag=function(n){if(t.props.dragLabel){var o=Math.round(t.props.value+n.movementX);o>=0&&o<=t.props.dragMax&&t.props.onChange&&t.props.onChange(t.getValueObjectWithLabel(o),n)}},t.handleMouseDown=function(n){t.props.dragLabel&&(n.preventDefault(),t.handleDrag(n),window.addEventListener("mousemove",t.handleDrag),window.addEventListener("mouseup",t.handleMouseUp))},t.handleMouseUp=function(){t.unbindEventListeners()},t.unbindEventListeners=function(){window.removeEventListener("mousemove",t.handleDrag),window.removeEventListener("mouseup",t.handleMouseUp)},t.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},t.inputId="rc-editable-input-"+ws++,t}return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}(e,j.PureComponent||j.Component),ms(e,[{key:"componentDidUpdate",value:function(r,t){this.props.value===this.state.value||r.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(r){return t={},n=this.props.label,o=r,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t;var t,n,o}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(r,t){var n=this.props.label?this.getValueObjectWithLabel(r):r;this.props.onChange&&this.props.onChange(n,t),this.setState({value:r})}},{key:"render",value:function(){var r=this,t=ot({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return j.createElement("div",{style:t.wrap},j.createElement("input",{id:this.inputId,style:t.input,ref:function(n){return r.input=n},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?j.createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}(),xs=function(){function e(r,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,t,n){return t&&e(r.prototype,t),n&&e(r,n),r}}();function vu(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||typeof r!="object"&&typeof r!="function"?e:r}var js=function(){function e(){var r,t,n;(function(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")})(this,e);for(var o=arguments.length,f=Array(o),i=0;i<o;i++)f[i]=arguments[i];return t=n=vu(this,(r=e.__proto__||Object.getPrototypeOf(e)).call.apply(r,[this].concat(f))),n.handleChange=function(u){var a=function(l,h,b,p){var g=p.clientWidth,c=p.clientHeight,s=typeof l.pageX=="number"?l.pageX:l.touches[0].pageX,d=typeof l.pageY=="number"?l.pageY:l.touches[0].pageY,v=s-(p.getBoundingClientRect().left+window.pageXOffset),y=d-(p.getBoundingClientRect().top+window.pageYOffset);if(h==="vertical"){var _;if(_=y<0?359:y>c?0:360*(-100*y/c+100)/100,b.h!==_)return{h:_,s:b.s,l:b.l,a:b.a,source:"hsl"}}else{var m;if(m=v<0?0:v>g?359:100*v/g*360/100,b.h!==m)return{h:m,s:b.s,l:b.l,a:b.a,source:"hsl"}}return null}(u,n.props.direction,n.props.hsl,n.container);a&&typeof n.props.onChange=="function"&&n.props.onChange(a,u)},n.handleMouseDown=function(u){n.handleChange(u),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},vu(n,t)}return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(r,t):r.__proto__=t)}(e,j.PureComponent||j.Component),xs(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var r=this,t=this.props.direction,n=t===void 0?"horizontal":t,o=ot({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:n==="vertical"});return j.createElement("div",{style:o.hue},j.createElement("div",{className:"hue-"+n,style:o.container,ref:function(f){return r.container=f},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},j.createElement("style",null,`
|
|
9
9
|
.hue-horizontal {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -13,7 +13,7 @@ const i = { reactUrl: "https://esm.sh/react@19.1.0", reactJsxTransform: "https:/
|
|
|
13
13
|
e.type = "importmap", e.textContent = JSON.stringify({ imports: { react: n, "react/jsx-runtime": a, "react-dom": s, "react-dom/client": c } }), document.head.appendChild(e), console.log("SheetXL: Import map injected:", e.textContent);
|
|
14
14
|
}
|
|
15
15
|
await new Promise((e) => setTimeout(e, 0));
|
|
16
|
-
const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./
|
|
16
|
+
const o = await Promise.all([import("react"), import("react/jsx-runtime"), import("react-dom"), import("react-dom/client"), import("./Ba9xIFo2LyMdmGdT.mjs").then((e) => e.b7)]);
|
|
17
17
|
return console.log("SheetXL: Dependencies resolved:", o), { React: o[0], ReactJSXTransform: o[1], ReactDOM: o[2], ReactDOMClient: o[3], StudioMUI: o[4] };
|
|
18
18
|
})(), r));
|
|
19
19
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import C, { memo as ne, useState as _, useRef as m, useCallback as re, useEffect as S } from "react";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Workbook as y, IRange as C } from "@sheetxl/sdk";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
7
7
|
*/
|
|
8
8
|
const k = async (a, p) => {
|
|
9
|
-
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./
|
|
9
|
+
const { trimLeadingBlankRow: i = !0, trimLeadingBlankColumn: u = !0, excludeHidden: h = !1, sheetKey: r = null, papaParseConfig: m = {} } = p || {}, f = await import("./C_RhbWkUPDzsDUSf.mjs").then((s) => s.p);
|
|
10
10
|
if (!a) throw new Error("workbook must be specified");
|
|
11
11
|
let t = null;
|
|
12
12
|
if (r === null ? t = a.getSelectedSheet() : typeof r == "number" ? t = a.getSheets().search()[r] : typeof r == "string" && (t = a.getSheets().getByName(r)), !t) throw new Error("invalid sheetKey specified");
|
|
@@ -27,7 +27,7 @@ const k = async (a, p) => {
|
|
|
27
27
|
const o = { ...m }, g = f.unparse(d, o);
|
|
28
28
|
return new TextEncoder().encode(g).buffer;
|
|
29
29
|
}, R = async (a, p) => {
|
|
30
|
-
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./
|
|
30
|
+
const { papaParseConfig: i, setValuesOptions: u, constructorOptions: h } = p ?? {}, r = await import("./C_RhbWkUPDzsDUSf.mjs").then((o) => o.p), m = new TextDecoder().decode(a);
|
|
31
31
|
let f = -1;
|
|
32
32
|
const t = new y(h), c = t.getSelectedSheet().getEntireRange().startIncrementalUpdates({ orientation: C.Orientation.Row }), d = p?.onProgress;
|
|
33
33
|
let e = 0;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t, jsxs as f } from "react/jsx-runtime";
|
|
2
2
|
import { memo as G, useState as x, useCallback as O, useEffect as H, useMemo as w } from "react";
|
|
3
3
|
import { NumberFormat as n } from "@sheetxl/sdk";
|
|
4
|
-
import { v as l, av as K, b as q, B as P, F as S, aw as A, ax as J, a as p, ay as c, T as Q, $, az as U } from "./
|
|
4
|
+
import { v as l, av as K, b as q, B as P, F as S, aw as A, ax as J, a as p, ay as c, T as Q, $, az as U } from "./Ba9xIFo2LyMdmGdT.mjs";
|
|
5
5
|
/**
|
|
6
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
6
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
7
7
|
*
|
|
8
8
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
9
9
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -8,7 +8,7 @@ import { IBorder as vn, Color as ra, IColor as W5, ITheme as gk, CommonUtils as
|
|
|
8
8
|
import * as kk from "react-dom";
|
|
9
9
|
import Hi, { unstable_batchedUpdates as bl, createPortal as A1 } from "react-dom";
|
|
10
10
|
/**
|
|
11
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
11
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
12
12
|
*
|
|
13
13
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
14
14
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -11732,7 +11732,7 @@ const dz = { mode: sx, reValidateMode: lx, shouldFocusError: !0 }, uz = ["Ok", "
|
|
|
11732
11732
|
t?.onDone?.(), o.hide();
|
|
11733
11733
|
} });
|
|
11734
11734
|
});
|
|
11735
|
-
}, fz = lt.lazy(() => import("./
|
|
11735
|
+
}, fz = lt.lazy(() => import("./CcrZdLwOlOP1_7C3.mjs")), QV = () => {
|
|
11736
11736
|
const { showModal: e } = R6();
|
|
11737
11737
|
return (t) => {
|
|
11738
11738
|
const { defaultOption: n = t.options?.[0], cancelOption: o = "Cancel", ...r } = t;
|
|
@@ -17490,7 +17490,7 @@ The content is not applied.` }), new Ze("pasteFormulas", A, { label: "Paste Form
|
|
|
17490
17490
|
Le.current = !0;
|
|
17491
17491
|
const Me = lt.lazy(async () => {
|
|
17492
17492
|
try {
|
|
17493
|
-
const De = await import("./
|
|
17493
|
+
const De = await import("./DAmWOxulMtL8YgeT.mjs");
|
|
17494
17494
|
return Le.current = !1, Pe.current = !0, R([...S]), De;
|
|
17495
17495
|
} catch (De) {
|
|
17496
17496
|
return console.warn(De), J.current?.(!1), null;
|
|
@@ -20747,7 +20747,7 @@ JS.displayName = "TabStrip";
|
|
|
20747
20747
|
const tH = (e) => q("svg", { ...e, viewBox: "0 0 48 48", children: [d("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), d("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), d("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), d("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), C$ = y0(null), QS = () => {
|
|
20748
20748
|
const e = ia(C$), [t] = de(() => new wk());
|
|
20749
20749
|
return Y(() => e || t, [e]);
|
|
20750
|
-
}, k$ = lt.lazy(() => import("./
|
|
20750
|
+
}, k$ = lt.lazy(() => import("./2HfJU0aTT_Bt_C1k.mjs")), E$ = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, sy = async (e, t, n) => {
|
|
20751
20751
|
const o = e.getModel();
|
|
20752
20752
|
if (!o) return;
|
|
20753
20753
|
const r = await t.languages.typescript.getTypeScriptWorker(), i = await r(o.uri), a = await i.getNavigationTree(o.uri.toString()), l = e.getPosition();
|
|
@@ -20903,7 +20903,7 @@ const M$ = We(ot((e, t) => {
|
|
|
20903
20903
|
}, []), O = be(null), I = Oe((D, F) => {
|
|
20904
20904
|
p.current = { monaco: F, editor: D }, T(!0), x("Loading Types");
|
|
20905
20905
|
const B = w.getScripts().getModules().search()[0]?.getSource() ?? "";
|
|
20906
|
-
D.setValue(B), import("./
|
|
20906
|
+
D.setValue(B), import("./DOw5s5gYeGN5hpDW.mjs").then(($) => $.c).then(($) => {
|
|
20907
20907
|
x(""), $.AutoTypings.create(D, { shareCache: !0, monaco: F, onError: (j) => {
|
|
20908
20908
|
j === "Not implemented yet" && (j = "Compile Errors"), console.warn("Error compiling types", j);
|
|
20909
20909
|
} }).then(async (j) => {
|
|
@@ -21085,7 +21085,7 @@ const M$ = We(ot((e, t) => {
|
|
|
21085
21085
|
r?.set(s, l);
|
|
21086
21086
|
const c = l.toRGBA().toString();
|
|
21087
21087
|
i?.set(c, l);
|
|
21088
|
-
}, D$ = lt.lazy(() => import("./
|
|
21088
|
+
}, D$ = lt.lazy(() => import("./DE_K645GFpnL4ivw.mjs")), tC = We(ot((e, t) => {
|
|
21089
21089
|
const { selectedColor: n = null, previewColor: o = e.selectedColor ?? null, recentColors: r, schemeLookup: i, disableAlpha: a = !1, previewDebounceTime: l = 100, initialPanelType: s, defaultButtonSize: c = 24, width: u, onElementLoad: h, onDone: p, onEyeDropStart: m, onEyeDropStop: f, onPreviewColor: g, onPreviewColorImmediate: y, onSelectColor: v, autoColor: b, autoColorLabel: w = "Automatic", autoColorPosition: k = is.Start, compareRGB: S = !1, darkMode: R = !1, ...T } = e, L = o || n, _ = Oe(g, [g]), M = Oe(y, [y]), x = Oe(v, [v]), C = Oe(m, [m]), O = Oe(f, [f]), [I, P] = de(!1), z = Ia(), A = Y(() => i || ra.getDefaultSchemeLookup(), [i]), D = Y(() => {
|
|
21090
21090
|
const re = /* @__PURE__ */ new Map(), ue = /* @__PURE__ */ new Map(), Ee = [];
|
|
21091
21091
|
or("Primary Background", "bg1", A, Ee, re, ue), or("Primary Text", "tx1", A, Ee, re, ue), or("Secondary Background", "bg2", A, Ee, re, ue), or("Secondary Text", "tx2", A, Ee, re, ue), or("Accent 1", "accent1", A, Ee, re, ue), or("Accent 2", "accent2", A, Ee, re, ue), or("Accent 3", "accent3", A, Ee, re, ue), or("Accent 4", "accent4", A, Ee, re, ue), or("Accent 5", "accent5", A, Ee, re, ue), or("Accent 6", "accent6", A, Ee, re, ue);
|
|
@@ -23293,7 +23293,7 @@ const I1 = We(ot((e, t) => {
|
|
|
23293
23293
|
return to({ ...S, children: T });
|
|
23294
23294
|
}, [v]);
|
|
23295
23295
|
return q($e, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...o }, ref: s4([a, l, t]), ...i, children: [d($e, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: g ?? m }), d($e, { sx: { display: v !== null && v.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: d(ua, { createPopupPanel: k, ref: c, parentFloat: w, createTooltip: ({ children: S }, R) => d(Hr, { label: "More", description: "More toolbar options…", disabled: R, children: S }), icon: d(hw, { children: d(WP, {}) }) }) })] });
|
|
23296
|
-
})), VC = "https://unpkg.com/@sheetxl/scripting-templates/dist", X$ = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./
|
|
23296
|
+
})), VC = "https://unpkg.com/@sheetxl/scripting-templates/dist", X$ = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (e, t) => (await import("./z-hGrI35JHwTNTP_.mjs")).fromBufferJSON(e, t) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (e, t) => (await import("./B4oAHUD6p4G0iY0R.mjs")).fromBufferCSV(e, t) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (e, t) => (await import("./DhLjmvRs0NY_DZ3N.mjs").then((n) => n.i)).fromBufferXLSX(e, t) }], Y$ = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (e, t) => (await import("./z-hGrI35JHwTNTP_.mjs")).toBufferJSON(e, t) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (e, t) => (await import("./B4oAHUD6p4G0iY0R.mjs")).toBufferCSV(e, t) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (e, t) => (await import("./DhLjmvRs0NY_DZ3N.mjs").then((n) => n.i)).toBufferXLSX(e, t) }];
|
|
23297
23297
|
class HC {
|
|
23298
23298
|
constructor(t = X$, n = Y$) {
|
|
23299
23299
|
this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...t]), this._writeFormatType = Object.freeze([...n]);
|
|
@@ -24645,7 +24645,7 @@ const kV = (e = !1, t = !1) => t ? null : { "& input:not(:focus):not(:hover)": {
|
|
|
24645
24645
|
}, value: f }), d($e, { ref: b, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: f !== y ? "italic" : void 0, fontFamily: (x) => x.typography.fontFamily, letterSpacing: "0.00938em" }, children: f || i })] }) }) });
|
|
24646
24646
|
}));
|
|
24647
24647
|
XC.displayName = "WorkbookTitle";
|
|
24648
|
-
const EV = lt.lazy(() => import("./
|
|
24648
|
+
const EV = lt.lazy(() => import("./Bxg6YZDSS6nuda9A.mjs").then((e) => e.B).then((e) => e.E)), YC = We(ot((e, t) => {
|
|
24649
24649
|
const { sx: n, style: o, className: r, licenseKey: i, ...a } = e;
|
|
24650
24650
|
return i && P2.setLicenseKey(i), d(At, { children: d(EV, { ...a, className: r, sx: n, style: o, ref: t }) });
|
|
24651
24651
|
}));
|
|
@@ -24815,7 +24815,7 @@ let ls;
|
|
|
24815
24815
|
const Wy = async (e) => ls || (ls = await (async (t, n) => {
|
|
24816
24816
|
try {
|
|
24817
24817
|
if (n?.selector && ek(n?.selector, n?.loading), !t) {
|
|
24818
|
-
const { resolveDependencies: o } = await import("
|
|
24818
|
+
const { resolveDependencies: o } = await import("./-7YvwD_KW5dr0aQz.mjs");
|
|
24819
24819
|
t = await o(n?.dependencies);
|
|
24820
24820
|
}
|
|
24821
24821
|
n?.licenseKey && await t.StudioMUI.LicenseManager.setLicenseKey(n.licenseKey), n?.selector && D1(n?.selector);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as g, jsxs as se, Fragment as Kt } from "react/jsx-runtime";
|
|
2
2
|
import * as ve from "react";
|
|
3
3
|
import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as G, useLayoutEffect as dt, useCallback as ne, Component as Gt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
|
|
4
|
-
import { g as xt, d as yt, u as Qe, e as En, f as Cn, h as Sn, j as Ln, l as Mn, s as je, m as wt, n as vt, o as Mt, p as Dn, q as Tn, r as Zt, t as On, x as Wn, v as ie, U as Xt, D as Dt, W as pt, X as Fn, w as ye, y as Jt, z as Nn, A as Qt, C as An, H as mt, K as Yt, L as Rn, N as In, O as Pn, Q as jn, R as Hn, V as zn, Z as _n, B as xe, _ as qn, E as Bn, $ as Vn, a0 as ht, a1 as $n, a2 as Un, a3 as Kn, a4 as Gn, a5 as Zn, a6 as Xn, J as Jn, a7 as ee, a8 as We, a9 as Tt, aa as Qn, ab as Yn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Fe, ai as ro, aj as ao, ak as io, al as so, am as Ot, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as _e } from "./
|
|
4
|
+
import { g as xt, d as yt, u as Qe, e as En, f as Cn, h as Sn, j as Ln, l as Mn, s as je, m as wt, n as vt, o as Mt, p as Dn, q as Tn, r as Zt, t as On, x as Wn, v as ie, U as Xt, D as Dt, W as pt, X as Fn, w as ye, y as Jt, z as Nn, A as Qt, C as An, H as mt, K as Yt, L as Rn, N as In, O as Pn, Q as jn, R as Hn, V as zn, Z as _n, B as xe, _ as qn, E as Bn, $ as Vn, a0 as ht, a1 as $n, a2 as Un, a3 as Kn, a4 as Gn, a5 as Zn, a6 as Xn, J as Jn, a7 as ee, a8 as We, a9 as Tt, aa as Qn, ab as Yn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Fe, ai as ro, aj as ao, ak as io, al as so, am as Ot, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as _e } from "./Ba9xIFo2LyMdmGdT.mjs";
|
|
5
5
|
import { createPortal as mo } from "react-dom";
|
|
6
6
|
import { CommonUtils as ot, UndoManager as ho, Workbook as Ft, PartialError as fo } from "@sheetxl/sdk";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
8
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
9
9
|
*
|
|
10
10
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
11
11
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -721,7 +721,7 @@ const kn = Me(ce((e, o) => {
|
|
|
721
721
|
const D = { ...S, onKeyDown: (B) => {
|
|
722
722
|
u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || S?.onKeyDown?.(B);
|
|
723
723
|
} };
|
|
724
|
-
return w(E, { sort: () => import("./
|
|
724
|
+
return w(E, { sort: () => import("./ecAisjqAr4L--qoT.mjs"), numberFormat: () => import("./BFEM5mApBCpmpVAr.mjs"), hyperlink: () => import("./D6SD1ZzY1e4yCRcj.mjs"), comments: () => import("./CB7Nv3qsvLLOgCdi.mjs"), find: () => import("./ykhbZtJZIjlAsmGI.mjs"), tableDetails: () => import("./C89TgIJ8wXM2zzi2.mjs"), tableNew: () => import("./CdLBlYIKGmFRx-71.mjs"), namedDetails: () => import("./CTmlmL1xPxBY8Tlb.mjs") }[E], D, P);
|
|
725
725
|
}, showOptions: R, showInputOptions: M, showError: (E) => {
|
|
726
726
|
let S, P = _e.Error, D = "Unknown Error";
|
|
727
727
|
typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof fo && (P = _e.Info), A(D, { type: P, enqueueProps: { error: S } });
|
|
@@ -818,7 +818,7 @@ const kn = Me(ce((e, o) => {
|
|
|
818
818
|
const { showModal: et } = Yn();
|
|
819
819
|
return G(() => {
|
|
820
820
|
const F = () => new Promise((X, p) => {
|
|
821
|
-
const v = T.lazy(() => import("./
|
|
821
|
+
const v = T.lazy(() => import("./DLVmdsRKR3ocWEKQ.mjs")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
|
|
822
822
|
$.hide();
|
|
823
823
|
}, TransitionProps: { onExited: () => {
|
|
824
824
|
X(!0);
|
|
@@ -934,7 +934,7 @@ const bn = Me(ce((e, o) => {
|
|
|
934
934
|
bn.displayName = "EagerStandaloneWorkbook";
|
|
935
935
|
const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), er = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: ge }, Symbol.toStringTag, { value: "Module" }));
|
|
936
936
|
export {
|
|
937
|
+
er as B,
|
|
937
938
|
ft as C,
|
|
938
|
-
er as D,
|
|
939
939
|
ge as f
|
|
940
940
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { memo as O, useState as r, useRef as M, useReducer as A, useMemo as E } from "react";
|
|
3
|
-
import { aL as W, V, aM as k, aN as Q, v as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./
|
|
3
|
+
import { aL as W, V, aM as k, aN as Q, v as x, aA as q, aB as G, B as n, aO as J, aP as K, ak as f, aQ as U, aR as X, ag as y, ah as b, ai as w, aS as S } from "./Ba9xIFo2LyMdmGdT.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as M, useState as x, useCallback as j } from "react";
|
|
3
|
-
import { v as r, b as S, B as V, F as $, T as z, a as h, ay as C } from "./
|
|
3
|
+
import { v as r, b as S, B as V, F as $, T as z, a as h, ay as C } from "./Ba9xIFo2LyMdmGdT.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as d, jsxs as k } from "react/jsx-runtime";
|
|
2
2
|
import { memo as E, useMemo as V, useState as p, useCallback as h } from "react";
|
|
3
|
-
import { v as u, b as L, B as S, aO as A, aP as G } from "./
|
|
3
|
+
import { v as u, b as L, B as S, aO as A, aP as G } from "./Ba9xIFo2LyMdmGdT.mjs";
|
|
4
4
|
/**
|
|
5
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
5
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.23
|
|
6
6
|
*
|
|
7
7
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
8
8
|
* License: The license can be found at https://www.sheetxl.com/license.
|