@nocobase/plugin-theme-editor 1.9.0-beta.8 → 2.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/1a8ca1e21b09091e.js +10 -0
- package/dist/client/4acfe66b1504e9e2.js +10 -0
- package/dist/client/{f54828f43cde7d12.js → 56efc5f384c11f3a.js} +1 -1
- package/dist/client/{b00409d86c095c84.js → 717f252ea7b0f951.js} +1 -1
- package/dist/client/{25b861dac0654ce8.js → 9f56d6363d65244d.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +5 -5
- package/dist/server/builtinThemes.js +3 -1
- package/package.json +8 -8
- package/dist/client/c82595eedf47675d.js +0 -10
- package/dist/client/df1f6dbeeffce444.js +0 -10
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
(self.webpackChunk_nocobase_plugin_theme_editor=self.webpackChunk_nocobase_plugin_theme_editor||[]).push([["837"],{3722:function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,r){var n;return(n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{t:function(){return s}});let i=Math.round;function a(e,t){let r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)o[e]=t(o[e]||0,r[e]||"",e);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}let l=(e,t,r)=>0===r?e:e/100;function c(e,t){let r=t||255;return e>r?r:e<0?0:e}class s{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(n(this,"isValid",!0),n(this,"r",0),n(this,"g",0),n(this,"b",0),n(this,"a",1),n(this,"_h",void 0),n(this,"_s",void 0),n(this,"_l",void 0),n(this,"_v",void 0),n(this,"_max",void 0),n(this,"_min",void 0),n(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function r(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):r("rgb")?this.fromRgbString(t):r("hsl")?this.fromHslString(t):(r("hsv")||r("hsb"))&&this.fromHsvString(t)}else if(e instanceof s)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=c(e.r),this.g=c(e.g),this.b=c(e.b),this.a="number"==typeof e.a?c(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){let e=this.getMax()-this.getMin();0===e?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()-e/100;return o<0&&(o=0),this._c({h:t,s:r,l:o,a:this.a})}lighten(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()+e/100;return o>1&&(o=1),this._c({h:t,s:r,l:o,a:this.a})}mix(e,t=50){let r=this._c(e),o=t/100,n=e=>(r[e]-this[e])*o+this[e],a={r:i(n("r")),g:i(n("g")),b:i(n("b")),a:i(100*n("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),r=this.a+t.a*(1-this.a),o=e=>i((this[e]*this.a+t[e]*t.a*(1-this.a))/r);return this._c({r:o("r"),g:o("g"),b:o("b"),a:r})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let r=(this.g||0).toString(16);e+=2===r.length?r:"0"+r;let o=(this.b||0).toString(16);if(e+=2===o.length?o:"0"+o,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=i(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=i(100*this.getSaturation()),r=i(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${r}%,${this.a})`:`hsl(${e},${t}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,r){let o=this.clone();return o[e]=c(t,r),o}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function r(e,r){return parseInt(t[e]+t[r||e],16)}t.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=t[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=t[6]?r(6,7)/255:1)}fromHsl({h:e,s:t,l:r,a:o}){if(this._h=e%360,this._s=t,this._l=r,this.a="number"==typeof o?o:1,t<=0){let e=i(255*r);this.r=e,this.g=e,this.b=e}let n=0,a=0,l=0,c=e/60,s=(1-Math.abs(2*r-1))*t,d=s*(1-Math.abs(c%2-1));c>=0&&c<1?(n=s,a=d):c>=1&&c<2?(n=d,a=s):c>=2&&c<3?(a=s,l=d):c>=3&&c<4?(a=d,l=s):c>=4&&c<5?(n=d,l=s):c>=5&&c<6&&(n=s,l=d);let f=r-s/2;this.r=i((n+f)*255),this.g=i((a+f)*255),this.b=i((l+f)*255)}fromHsv({h:e,s:t,v:r,a:o}){this._h=e%360,this._s=t,this._v=r,this.a="number"==typeof o?o:1;let n=i(255*r);if(this.r=n,this.g=n,this.b=n,t<=0)return;let a=e/60,l=Math.floor(a),c=a-l,s=i(r*(1-t)*255),d=i(r*(1-t*c)*255),f=i(r*(1-t*(1-c))*255);switch(l){case 0:this.g=f,this.b=s;break;case 1:this.r=d,this.b=s;break;case 2:this.r=s,this.b=f;break;case 3:this.r=s,this.g=d;break;case 4:this.r=f,this.g=s;break;default:this.g=s,this.b=d}}fromHsvString(e){let t=a(e,l);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=a(e,l);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=a(e,(e,t)=>t.includes("%")?i(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},8582:function(e,t,r){"use strict";r.d(t,{D:function(){return eE}});var o,n,i,a,l,c,s,d=r(9665),f=r(8156),u=r.n(f),g=r(2298),h=r.n(g),p=function(e){function t(e,t,o){var n=t.trim().split(h);t=n;var i=n.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],o).trim();break;default:var c=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[c++]=r(e[s]+" ",n[l],o).trim()}return t}function r(e,t,r){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(p,"$1"+e.trim());case 58:return e.trim()+t.replace(p,"$1"+e.trim());default:if(0<+r&&0<t.indexOf("\f"))return t.replace(p,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,i){var a=e+";",l=2*t+3*r+4*i;if(944===l){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===T||2===T&&n(c,1)?"-webkit-"+c+c:c}if(0===T||2===T&&!n(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(w,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return u.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(v,"tb");break;case 232:c=a.replace(v,"tb-rl");break;case 220:c=a.replace(v,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(M,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(M,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===H.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,i).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+a}return a}function n(e,t){var r=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),P(2!==t?o:o.replace(B,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,r,o,n,i,a,l,s,d){for(var f,u=0,g=t;u<_;++u)switch(f=z[u].call(c,e,g,r,o,n,i,a,l,s,d)){case void 0:case!1:case!0:case null:break;default:g=f}if(g!==t)return g}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?T=1:(T=2,P=e):T=0),l}function c(e,r){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<_){var c=a(-1,r,l,l,k,C,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var f=function e(r,l,c,f,u){for(var g,h,p,v,x,M=0,B=0,H=0,w=0,z=0,P=0,E=p=g=0,D=0,F=0,R=0,O=0,W=c.length,X=W-1,G="",j="",N="",$="";D<W;){if(h=c.charCodeAt(D),D===X&&0!==B+w+H+M&&(0!==B&&(h=47===B?10:47),w=H=M=0,W++,X++),0===B+w+H+M){if(D===X&&(0<F&&(G=G.replace(d,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(D)}h=59}switch(h){case 123:for(g=(G=G.trim()).charCodeAt(0),p=1,O=++D;D<W;){switch(h=c.charCodeAt(D)){case 123:p++;break;case 125:p--;break;case 47:switch(h=c.charCodeAt(D+1)){case 42:case 47:e:{for(E=D+1;E<X;++E)switch(c.charCodeAt(E)){case 47:if(42===h&&42===c.charCodeAt(E-1)&&D+2!==E){D=E+1;break e}break;case 10:if(47===h){D=E+1;break e}}D=E}}break;case 91:h++;case 40:h++;case 34:case 39:for(;D++<X&&c.charCodeAt(D)!==h;);}if(0===p)break;D++}if(p=c.substring(O,D),0===g&&(g=(G=G.replace(s,"").trim()).charCodeAt(0)),64===g){switch(0<F&&(G=G.replace(d,"")),h=G.charCodeAt(1)){case 100:case 109:case 115:case 45:F=l;break;default:F=A}if(O=(p=e(l,F,p,h,u+1)).length,0<_&&(x=a(3,p,F=t(A,G,R),l,k,C,O,h,u,f),G=F.join(""),void 0!==x&&0===(O=(p=x.trim()).length)&&(h=0,p="")),0<O)switch(h){case 115:G=G.replace(y,i);case 100:case 109:case 45:p=G+"{"+p+"}";break;case 107:p=(G=G.replace(m,"$1 $2"))+"{"+p+"}",p=1===T||2===T&&n("@"+p,3)?"@-webkit-"+p+"@"+p:"@"+p;break;default:p=G+p,112===f&&(j+=p,p="")}else p=""}else p=e(l,t(l,G,R),p,f,u+1);N+=p,p=R=F=E=g=0,G="",h=c.charCodeAt(++D);break;case 125:case 59:if(1<(O=(G=(0<F?G.replace(d,""):G).trim()).length))switch(0===E&&(45===(g=G.charCodeAt(0))||96<g&&123>g)&&(O=(G=G.replace(" ",":")).length),0<_&&void 0!==(x=a(1,G,l,r,k,C,j.length,f,u,f))&&0===(O=(G=x.trim()).length)&&(G="\0\0"),g=G.charCodeAt(0),h=G.charCodeAt(1),g){case 0:break;case 64:if(105===h||99===h){$+=G+c.charAt(D);break}default:58!==G.charCodeAt(O-1)&&(j+=o(G,g,h,G.charCodeAt(2)))}R=F=E=g=0,G="",h=c.charCodeAt(++D)}}switch(h){case 13:case 10:47===B?B=0:0===1+g&&107!==f&&0<G.length&&(F=1,G+="\0"),0<_*L&&a(0,G,l,r,k,C,j.length,f,u,f),C=1,k++;break;case 59:case 125:if(0===B+w+H+M){C++;break}default:switch(C++,v=c.charAt(D),h){case 9:case 32:if(0===w+M+B)switch(z){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===w+B+M&&(F=R=1,v="\f"+v);break;case 108:if(0===w+B+M+I&&0<E)switch(D-E){case 2:112===z&&58===c.charCodeAt(D-3)&&(I=z);case 8:111===P&&(I=P)}break;case 58:0===w+B+M&&(E=D);break;case 44:0===B+H+w+M&&(F=1,v+="\r");break;case 34:case 39:0===B&&(w=w===h?0:0===w?h:w);break;case 91:0===w+B+H&&M++;break;case 93:0===w+B+H&&M--;break;case 41:0===w+B+M&&H--;break;case 40:0===w+B+M&&(0===g&&(2*z+3*P==533||(g=1)),H++);break;case 64:0===B+H+w+M+E+p&&(p=1);break;case 42:case 47:if(!(0<w+M+H))switch(B){case 0:switch(2*h+3*c.charCodeAt(D+1)){case 235:B=47;break;case 220:O=D,B=42}break;case 42:47===h&&42===z&&O+2!==D&&(33===c.charCodeAt(O+2)&&(j+=c.substring(O,D+1)),v="",B=0)}}0===B&&(G+=v)}P=z,z=h,D++}if(0<(O=j.length)){if(F=l,0<_&&void 0!==(x=a(2,j,F,r,k,C,O,f,u,f))&&0===(j=x).length)return $+j+N;if(j=F.join(",")+"{"+j+"}",0!=T*I){switch(2!==T||n(j,2)||(I=0),I){case 111:j=j.replace(S,":-moz-$1")+j;break;case 112:j=j.replace(b,"::-webkit-input-$1")+j.replace(b,"::-moz-$1")+j.replace(b,":-ms-input-$1")+j}I=0}}return $+j+N}(A,l,r,0,0);return 0<_&&void 0!==(c=a(-2,f,l,l,k,C,f.length,0,0,0))&&(f=c),I=0,C=k=1,f}var s=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,u=/zoo|gra/,g=/([,: ])(transform)/g,h=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,S=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,M=/-self|flex-/g,B=/[^]*?(:[rp][el]a[\w-]+)[^]*/,H=/stretch|:\s*\w+\-(?:conte|avail)/,w=/([^-])(image-set\()/,C=1,k=1,I=0,T=1,A=[],z=[],_=0,P=null,L=0,E="";return c.use=function e(t){switch(t){case void 0:case null:_=z.length=0;break;default:if("function"==typeof t)z[_++]=t;else if("object"==typeof t)for(var r=0,o=t.length;r<o;++r)e(t[r]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},m={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=(o=function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=o(e)),n[e]}),v=r(6905),y=r.n(v);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var M=function(e,t){for(var r=[e[0]],o=0,n=t.length;o<n;o+=1)r.push(t[o],e[o+1]);return r},B=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,d.typeOf)(e)},H=Object.freeze([]),w=Object.freeze({});function C(e){return"function"==typeof e}function k(e){return e.displayName||e.name||"Component"}function I(e){return e&&"string"==typeof e.styledComponentId}var T="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",A="undefined"!=typeof window&&"HTMLElement"in window,z=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY));function _(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)(n<<=1)<0&&_(16,""+e);this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=0,c=t.length;l<c;l++)this.tag.insertRule(a,t[l])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),o=r+t;this.groupSizes[e]=0;for(var n=r;n<o;n++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,i=o;i<n;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),L=new Map,E=new Map,D=1,F=function(e){if(L.has(e))return L.get(e);for(;E.has(D);)D++;var t=D++;return L.set(e,t),E.set(t,e),t},R=function(e,t){t>=D&&(D=t+1),L.set(e,t),E.set(t,e)},O="style["+T+'][data-styled-version="5.3.11"]',W=RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),X=function(e,t,r){for(var o,n=r.split(","),i=0,a=n.length;i<a;i++)(o=n[i])&&e.registerName(t,o)},G=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),o=[],n=0,i=r.length;n<i;n++){var a=r[n].trim();if(a){var l=a.match(W);if(l){var c=0|parseInt(l[1],10),s=l[2];0!==c&&(R(s,c),X(e,s,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(a)}}},j=function(){return r.nc},N=function(e){var t=document.head,r=e||t,o=document.createElement("style"),n=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var o=t[r];if(o&&1===o.nodeType&&o.hasAttribute(T))return o}}(r),i=void 0!==n?n.nextSibling:null;o.setAttribute(T,"active"),o.setAttribute("data-styled-version","5.3.11");var a=j();return a&&o.setAttribute("nonce",a),r.insertBefore(o,i),o},$=function(){function e(e){var t=this.element=N(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r<o;r++){var n=t[r];if(n.ownerNode===e)return n}_(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),q=function(){function e(e){var t=this.element=N(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(r,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),U=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Q=A,V={isServer:!A,useCSSOMInjection:!z},Y=function(){function e(e,t,r){void 0===e&&(e=w),void 0===t&&(t={}),this.options=x({},V,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&A&&Q&&(Q=!1,function(e){for(var t=document.querySelectorAll(O),r=0,o=t.length;r<o;r++){var n=t[r];n&&"active"!==n.getAttribute(T)&&(G(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this))}e.registerId=function(e){return F(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(x({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,r,o;return this.tag||(this.tag=(t=(e=this.options).isServer,r=e.useCSSOMInjection,o=e.target,new P(t?new U(o):r?new $(o):new q(o))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(F(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(F(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(F(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,o="",n=0;n<r;n++){var i,a=(i=n,E.get(i));if(void 0!==a){var l=e.names.get(a),c=t.getGroup(n);if(l&&c&&l.size){var s=T+".g"+n+'[id="'+a+'"]',d="";void 0!==l&&l.forEach(function(e){e.length>0&&(d+=e+",")}),o+=""+c+s+'{content:"'+d+'"}/*!sc*/\n'}}}return o}(this)},e}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=K(t%52)+r;return(K(t%52)+r).replace(Z,"$1-$2")}var ee=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},et=function(e){return ee(5381,e)};function er(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(C(r)&&!I(r))return!1}return!0}var eo=et("5.3.11"),en=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&er(e),this.componentId=t,this.baseHash=ee(eo,t),this.baseStyle=r,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var o=this.componentId,n=[];if(this.baseStyle&&n.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))n.push(this.staticRulesId);else{var i=ex(this.rules,e,t,r).join(""),a=J(ee(this.baseHash,i)>>>0);if(!t.hasNameForId(o,a)){var l=r(i,"."+a,void 0,o);t.insertRules(o,a,l)}n.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,s=ee(this.baseHash,r.hash),d="",f=0;f<c;f++){var u=this.rules[f];if("string"==typeof u)d+=u;else if(u){var g=ex(u,e,t,r),h=Array.isArray(g)?g.join(""):g;s=ee(s,h+f),d+=h}}if(d){var p=J(s>>>0);if(!t.hasNameForId(o,p)){var m=r(d,"."+p,void 0,o);t.insertRules(o,p,m)}n.push(p)}}return n.join(" ")},e}(),ei=/^\s*\/\/.*$/gm,ea=[":","[",".","#"];function el(e){var t,r,o,n,i=void 0===e?w:e,a=i.options,l=void 0===a?w:a,c=i.plugins,s=void 0===c?H:c,d=new p(l),f=[],u=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,o,n,i,a,l,c,s,d,f){switch(r){case 1:if(0===d&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===s)return o+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(n[0]+o),"";default:return o+(0===f?"/*|*/":"")}case -2:o.split("/*|*/}").forEach(t)}}}(function(e){f.push(e)}),g=function(e,o,i){return 0===o&&-1!==ea.indexOf(i[r.length])||i.match(n)?e:"."+t};function h(e,i,a,l){void 0===l&&(l="&");var c=e.replace(ei,""),s=i&&a?a+" "+i+" { "+c+" }":c;return t=l,o=RegExp("\\"+(r=i)+"\\b","g"),n=RegExp("(\\"+r+"\\b){2,}"),d(a||!i?"":i,s)}return d.use([].concat(s,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,g))},u,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=s.length?s.reduce(function(e,t){return t.name||_(15),ee(e,t.name)},5381).toString():"",h}var ec=u().createContext(),es=(ec.Consumer,u().createContext()),ed=(es.Consumer,new Y),ef=el();function eu(){return(0,f.useContext)(ec)||ed}function eg(e){var t=(0,f.useState)(e.stylisPlugins),r=t[0],o=t[1],n=eu(),i=(0,f.useMemo)(function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,f.useMemo)(function(){return el({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,f.useEffect)(function(){h()(r,e.stylisPlugins)||o(e.stylisPlugins)},[e.stylisPlugins]),u().createElement(ec.Provider,{value:i},u().createElement(es.Provider,{value:a},e.children))}var eh=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ef);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.toString=function(){return _(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ef),this.name+e.hash},e}(),ep=/([A-Z])/,em=/([A-Z])/g,eb=/^ms-/,eS=function(e){return"-"+e.toLowerCase()};function ev(e){return ep.test(e)?e.replace(em,eS).replace(eb,"-ms-"):e}var ey=function(e){return null==e||!1===e||""===e};function ex(e,t,r,o){if(Array.isArray(e)){for(var n,i=[],a=0,l=e.length;a<l;a+=1)""!==(n=ex(e[a],t,r,o))&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}return ey(e)?"":I(e)?"."+e.styledComponentId:C(e)?"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:ex(e(t),t,r,o):e instanceof eh?r?(e.inject(r,o),e.getName(o)):e:B(e)?function e(t,r){var o,n=[];for(var i in t)t.hasOwnProperty(i)&&!ey(t[i])&&(Array.isArray(t[i])&&t[i].isCss||C(t[i])?n.push(ev(i)+":",t[i],";"):B(t[i])?n.push.apply(n,e(t[i],i)):n.push(ev(i)+": "+(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||i in m||i.startsWith("--")?String(o).trim():o+"px")+";"));return r?[r+" {"].concat(n,["}"]):n}(e):e.toString()}var eM=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function eB(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return C(e)||B(e)?eM(ex(M(H,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:eM(ex(M(e,r)))}var eH=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ew=/(^-|-$)/g;function eC(e){return e.replace(eH,"-").replace(ew,"")}function ek(e){return"string"==typeof e}var eI=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eT=u().createContext();eT.Consumer;var eA={},ez=function(e){return function e(t,r,o){if(void 0===o&&(o=w),!(0,d.isValidElementType)(r))return _(1,String(r));var n=function(){return t(r,o,eB.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,r,x({},o,{},n))},n.attrs=function(n){return e(t,r,x({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},n}(function e(t,r,o){var n=I(t),i=!ek(t),a=r.attrs,l=void 0===a?H:a,c=r.componentId,s=void 0===c?(b=r.displayName,v=r.parentComponentId,eA[M="string"!=typeof b?"sc":eC(b)]=(eA[M]||0)+1,B=M+"-"+J(et("5.3.11"+M+eA[M])>>>0),v?v+"-"+B:B):c,d=r.displayName,g=void 0===d?ek(t)?"styled."+t:"Styled("+k(t)+")":d,h=r.displayName&&r.componentId?eC(r.displayName)+"-"+r.componentId:r.componentId||s,p=n&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,m=r.shouldForwardProp;n&&t.shouldForwardProp&&(m=r.shouldForwardProp?function(e,o,n){return t.shouldForwardProp(e,o,n)&&r.shouldForwardProp(e,o,n)}:t.shouldForwardProp);var b,v,M,B,T,A=new en(o,h,n?t.componentStyle:void 0),z=A.isStatic&&0===l.length,_=function(e,t){return function(e,t,r,o){var n,i,a,l,c,s,d,u=e.attrs,g=e.componentStyle,h=e.defaultProps,p=e.foldedComponentIds,m=e.shouldForwardProp,b=e.styledComponentId,v=e.target,y=(n=(0,f.useContext)(eT),void 0===(i=h)&&(i=w),a=t.theme!==i.theme&&t.theme||n||i.theme||w,void 0===a&&(a=w),l=x({},t,{theme:a}),c={},u.forEach(function(e){var t,r,o,n=e;for(t in C(n)&&(n=n(l)),n)l[t]=c[t]="className"===t?(r=c[t],o=n[t],r&&o?r+" "+o:r||o):n[t]}),[l,c]),M=y[0],B=y[1],H=(s=eu(),d=(0,f.useContext)(es)||ef,o?g.generateAndInjectStyles(w,s,d):g.generateAndInjectStyles(M,s,d)),k=B.$as||t.$as||B.as||t.as||v,I=ek(k),T=B!==t?x({},t,{},B):t,A={};for(var z in T)"$"!==z[0]&&"as"!==z&&("forwardedAs"===z?A.as=T[z]:(m?m(z,S,k):!I||S(z))&&(A[z]=T[z]));return t.style&&B.style!==t.style&&(A.style=x({},t.style,{},B.style)),A.className=Array.prototype.concat(p,b,H!==b?H:null,t.className,B.className).filter(Boolean).join(" "),A.ref=r,(0,f.createElement)(k,A)}(T,e,t,z)};return _.displayName=g,(T=u().forwardRef(_)).attrs=p,T.componentStyle=A,T.displayName=g,T.shouldForwardProp=m,T.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):H,T.styledComponentId=h,T.target=n?t.target:t,T.withComponent=function(t){var n=r.componentId,i=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(r=i[o])>=0||(n[r]=e[r]);return n}(r,["componentId"]),a=n&&n+"-"+(ek(t)?t:eC(k(t)));return e(t,x({},i,{attrs:p,componentId:a}),o)},Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function e(t){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];for(var i=0;i<o.length;i++){var a=o[i];if(eI(a))for(var l in a)"__proto__"!==l&&"constructor"!==l&&"prototype"!==l&&function(t,r,o){var n=t[o];eI(r)&&eI(n)?e(n,r):t[o]=r}(t,a[l],l)}return t}({},t.defaultProps,e):e}}),Object.defineProperty(T,"toString",{value:function(){return"."+T.styledComponentId}}),i&&y()(T,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),T},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){ez[e]=ez(e)}),(i=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=er(e),Y.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,r,o){var n=o(ex(this.rules,t,r,o).join(""),""),i=this.componentId+e;r.insertRules(i,i,n)},i.removeStyles=function(e,t){t.clearRules(this.componentId+e)},i.renderStyles=function(e,t,r,o){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,o)},(a=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=j();return"<style "+[r&&'nonce="'+r+'"',T+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?_(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return _(2);var t,r=((t={})[T]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=j();return o&&(r.nonce=o),[u().createElement("style",x({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?_(2):u().createElement(eg,{sheet:this.instance},e)},a.interleaveWithNodeStream=function(e){return _(3)};var e_=function(e,t){if(t)return"row";switch(e){case"horizontal":return"row";case"horizontal-reverse":return"row-reverse";case"vertical":default:return"column";case"vertical-reverse":return"column-reverse"}},eP=function(e,t){return"row"===e_(e,t)},eL=function(e){return"number"==typeof e?"".concat(e,"px"):e},eE=ez.div.attrs(function(){return{className:"layoutkit-flexbox"}})(s||(l=["\n // 是否显示\n display: ",";\n\n flex: ",";\n\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n\n width: ",";\n height: ",";\n\n padding: ",";\n\n > *:not(:last-child) {\n margin-right: ",";\n margin-bottom: ",";\n }\n"],c||(c=l.slice(0)),s=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(c)}}))),function(e){return e.hidden?"none":"flex"},function(e){return e.flex},function(e){return e_(e.direction,e.horizontal)},function(e){return e.distribution},function(e){return e.align},function(e){return eP(e.direction,e.horizontal)&&!e.width&&["space-between","space-around","space-evenly"].includes(e.distribution)?"100%":eL(e.width)},function(e){return eL(e.height)},function(e){return eL(e.padding)},function(e){return eP(e.direction,e.horizontal)&&eL(e.gap)},function(e){return"column"===e_(e.direction,e.horizontal)&&eL(e.gap)});r(3704)},2182:function(e,t,r){"use strict";function o(e,t){"string"==typeof(r=e)&&-1!==r.indexOf(".")&&1===parseFloat(r)&&(e="100%");var r,o,n="string"==typeof(o=e)&&-1!==o.indexOf("%");return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function n(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}function c(e,t,r){e=o(e,255);var n=Math.max(e,t=o(t,255),r=o(r,255)),i=Math.min(e,t,r),a=0,l=0,c=(n+i)/2;if(n===i)l=0,a=0;else{var s=n-i;switch(l=c>.5?s/(2-n-i):s/(n+i),n){case e:a=(t-r)/s+6*(t<r);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:l,l:c}}function s(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function d(e,t,r){e=o(e,255);var n=Math.max(e,t=o(t,255),r=o(r,255)),i=Math.min(e,t,r),a=0,l=n-i;if(n===i)a=0;else{switch(n){case e:a=(t-r)/l+6*(t<r);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:0===n?0:l/n,v:n}}function f(e,t,r,o){var n=[l(Math.round(e).toString(16)),l(Math.round(t).toString(16)),l(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}r.d(t,{C:function(){return v}});function u(e){return parseInt(e,16)}var g={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},h="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),p="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),m="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),b={CSS_UNIT:new RegExp(h),rgb:RegExp("rgb"+p),rgba:RegExp("rgba"+m),hsl:RegExp("hsl"+p),hsla:RegExp("hsla"+m),hsv:RegExp("hsv"+p),hsva:RegExp("hsva"+m),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 S(e){return!!b.CSS_UNIT.exec(String(e))}var v=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t={r:(z=t)>>16,g:(65280&z)>>8,b:255&z}),this.originalInput=t;var n,l,c,d,f,h,p,m,v,y,x,M,B,H,w,C,k,I,T,A,z,_,P=(H={r:0,g:0,b:0},w=1,C=null,k=null,I=null,T=!1,A=!1,"string"==typeof(n=t)&&(n=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(g[e])e=g[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=b.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=b.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=b.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=b.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=b.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=b.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=b.hex8.exec(e))?{r:u(r[1]),g:u(r[2]),b:u(r[3]),a:u(r[4])/255,format:t?"name":"hex8"}:(r=b.hex6.exec(e))?{r:u(r[1]),g:u(r[2]),b:u(r[3]),format:t?"name":"hex"}:(r=b.hex4.exec(e))?{r:u(r[1]+r[1]),g:u(r[2]+r[2]),b:u(r[3]+r[3]),a:u(r[4]+r[4])/255,format:t?"name":"hex8"}:!!(r=b.hex3.exec(e))&&{r:u(r[1]+r[1]),g:u(r[2]+r[2]),b:u(r[3]+r[3]),format:t?"name":"hex"}}(n)),"object"==typeof n&&(S(n.r)&&S(n.g)&&S(n.b)?(l=n.r,c=n.g,d=n.b,H={r:255*o(l,255),g:255*o(c,255),b:255*o(d,255)},T=!0,A="%"===String(n.r).substr(-1)?"prgb":"rgb"):S(n.h)&&S(n.s)&&S(n.v)?(C=a(n.s),k=a(n.v),f=n.h,h=C,p=k,f=6*o(f,360),h=o(h,100),p=o(p,100),m=Math.floor(f),v=f-m,y=p*(1-h),x=p*(1-v*h),M=p*(1-(1-v)*h),H={r:255*[p,x,y,y,M,p][B=m%6],g:255*[M,p,p,x,y,y][B],b:255*[y,y,M,p,p,x][B]},T=!0,A="hsv"):S(n.h)&&S(n.s)&&S(n.l)&&(C=a(n.s),I=a(n.l),H=function(e,t,r){if(e=o(e,360),t=o(t,100),r=o(r,100),0===t)i=r,a=r,n=r;else{var n,i,a,l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;n=s(c,l,e+1/3),i=s(c,l,e),a=s(c,l,e-1/3)}return{r:255*n,g:255*i,b:255*a}}(n.h,C,I),T=!0,A="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(w=n.a)),w=i(w),{ok:T,format:n.format||A,r:Math.min(255,Math.max(H.r,0)),g:Math.min(255,Math.max(H.g,0)),b:Math.min(255,Math.max(H.b,0)),a:w});this.originalInput=t,this.r=P.r,this.g=P.g,this.b=P.b,this.a=P.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(_=r.format)?_:P.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.isValid=P.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,r,o=this.toRgb(),n=o.r/255,i=o.g/255,a=o.b/255;return .2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=i(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=c(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=c(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),f(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){var t,r,o,n,i,a;return void 0===e&&(e=!1),t=this.r,r=this.g,o=this.b,n=this.a,i=e,a=[l(Math.round(t).toString(16)),l(Math.round(r).toString(16)),l(Math.round(o).toString(16)),l(Math.round(255*parseFloat(n)).toString(16))],i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*o(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*o(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+f(this.r,this.g,this.b,!1),t=0,r=Object.entries(g);t<r.length;t++){var o=r[t],n=o[0];if(e===o[1])return n}return!1},e.prototype.toString=function(e){var t=!!e;e=null!=e?e:this.format;var r=!1,o=this.a<1&&this.a>=0;return!t&&o&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=n(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=n(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=n(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=n(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var o=this.toRgb(),n=new e(t).toRgb(),i=r/100;return new e({r:(n.r-o.r)*i+o.r,g:(n.g-o.g)*i+o.g,b:(n.b-o.b)*i+o.b,a:(n.a-o.a)*i+o.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var o=this.toHsl(),n=360/r,i=[this];for(o.h=(o.h-(n*t>>1)+720)%360;--t;)o.h=(o.h+n)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),o=r.h,n=r.s,i=r.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:n,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),n=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,n=[this],i=360/t,a=1;a<t;a++)n.push(new e({h:(o+a*i)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}()},2119:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var o=r(3722),n=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function i(e,t,r){var o;return(o=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?o+=360:o>=360&&(o-=360),o}function a(e,t,r){var o;return 0===e.h&&0===e.s?e.s:((o=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(o=1),r&&5===t&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(100*o)/100)}function l(e,t,r){var o;return Math.round(100*Math.max(0,Math.min(1,r?e.v+.05*t:e.v-.15*t)))/100}function c(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],c=new o.t(e),s=c.toHsv(),d=5;d>0;d-=1){var f=new o.t({h:i(s,d,!0),s:a(s,d,!0),v:l(s,d,!0)});r.push(f)}r.push(c);for(var u=1;u<=4;u+=1){var g=new o.t({h:i(s,u),s:a(s,u),v:l(s,u)});r.push(g)}return"dark"===t.theme?n.map(function(e){var n=e.index,i=e.amount;return new o.t(t.backgroundColor||"#141414").mix(r[n],i).toHexString()}):r.map(function(e){return e.toHexString()})}var s={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];d.primary=d[5];var f=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];f.primary=f[5];var u=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];u.primary=u[5];var g=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];g.primary=g[5];var h=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];h.primary=h[5];var p=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];p.primary=p[5];var m=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];m.primary=m[5];var b=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];b.primary=b[5];var S=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];S.primary=S[5];var v=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];v.primary=v[5];var y=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];y.primary=y[5];var x=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];x.primary=x[5];var M=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];M.primary=M[5];var B={red:d,volcano:f,orange:u,gold:g,yellow:h,lime:p,green:m,cyan:b,blue:S,geekblue:v,purple:y,magenta:x,grey:M},H=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];H.primary=H[5];var w=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];w.primary=w[5];var C=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];C.primary=C[5];var k=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];k.primary=k[5];var I=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];I.primary=I[5];var T=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];T.primary=T[5];var A=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];A.primary=A[5];var z=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];z.primary=z[5];var _=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];_.primary=_[5];var P=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];P.primary=P[5];var L=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];L.primary=L[5];var E=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];E.primary=E[5];var D=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];D.primary=D[5];var F=r(6013),R=e=>{let t=e,r=e,o=e,n=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:n}},O=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},W=e=>{let t=function(e){let t=Array.from({length:10}).map((t,r)=>{let o=e*Math.pow(Math.E,(r-1)/5);return 2*Math.floor((r>1?Math.floor(o):Math.ceil(o))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),r=t.map(e=>e.size),o=t.map(e=>e.lineHeight),n=r[1],i=r[0],a=r[2],l=o[1],c=o[0],s=o[2];return{fontSizeSM:i,fontSize:n,fontSizeLG:a,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*n),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};let X=(e,t)=>new o.t(e).setA(t).toRgbString(),G=(e,t)=>new o.t(e).darken(t).toHexString(),j=e=>{let t=c(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},N=(e,t)=>{let r=e||"#fff",o=t||"#000";return{colorBgBase:r,colorTextBase:o,colorText:X(o,.88),colorTextSecondary:X(o,.65),colorTextTertiary:X(o,.45),colorTextQuaternary:X(o,.25),colorFill:X(o,.15),colorFillSecondary:X(o,.06),colorFillTertiary:X(o,.04),colorFillQuaternary:X(o,.02),colorBgSolid:X(o,1),colorBgSolidHover:X(o,.75),colorBgSolidActive:X(o,.95),colorBgLayout:G(r,4),colorBgContainer:G(r,0),colorBgElevated:G(r,0),colorBgSpotlight:X(o,.85),colorBgBlur:"transparent",colorBorder:G(r,15),colorBorderSecondary:G(r,6)}};function $(e){s.pink=s.magenta,B.pink=B.magenta;let t=Object.keys(F.M).map(t=>{let r=e[t]===s[t]?B[t]:c(e[t]);return Array.from({length:10},()=>1).reduce((e,o,n)=>(e[`${t}-${n+1}`]=r[n],e[`${t}${n+1}`]=r[n],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t,{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:c,colorPrimary:s,colorBgBase:d,colorTextBase:f}=e,u=r(s),g=r(i),h=r(a),p=r(l),m=r(c),b=n(d,f),S=r(e.colorLink||e.colorInfo),v=new o.t(p[1]).mix(new o.t(p[3]),50).toHexString();return Object.assign(Object.assign({},b),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:v,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new o.t("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:j,generateNeutralColorPalettes:N})),W(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}(e)),O(e)),function(e){let{motionUnit:t,motionBase:r,borderRadius:o,lineWidth:n}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:n+1},R(o))}(e))}},6013:function(e,t,r){"use strict";r.d(t,{M:function(){return o}});let o={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"};t.Z=Object.assign(Object.assign({},o),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
10
|
+
(self.webpackChunk_nocobase_plugin_theme_editor=self.webpackChunk_nocobase_plugin_theme_editor||[]).push([["572"],{3722:function(e,t,r){"use strict";function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function n(e,t,r){var n;return(n=function(e,t){if("object"!=o(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=o(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==o(n)?n:n+"")in e)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{t:function(){return s}});let i=Math.round;function a(e,t){let r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],o=r.map(e=>parseFloat(e));for(let e=0;e<3;e+=1)o[e]=t(o[e]||0,r[e]||"",e);return r[3]?o[3]=r[3].includes("%")?o[3]/100:o[3]:o[3]=1,o}let l=(e,t,r)=>0===r?e:e/100;function c(e,t){let r=t||255;return e>r?r:e<0?0:e}class s{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if(n(this,"isValid",!0),n(this,"r",0),n(this,"g",0),n(this,"b",0),n(this,"a",1),n(this,"_h",void 0),n(this,"_s",void 0),n(this,"_l",void 0),n(this,"_v",void 0),n(this,"_max",void 0),n(this,"_min",void 0),n(this,"_brightness",void 0),e)if("string"==typeof e){let t=e.trim();function r(e){return t.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(t)?this.fromHexString(t):r("rgb")?this.fromRgbString(t):r("hsl")?this.fromHslString(t):(r("hsv")||r("hsb"))&&this.fromHsvString(t)}else if(e instanceof s)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=c(e.r),this.g=c(e.g),this.b=c(e.b),this.a="number"==typeof e.a?c(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else if(t("hsv"))this.fromHsv(e);else throw Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e))}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){let t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){let t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}let t=e(this.r);return .2126*t+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){let e=this.getMax()-this.getMin();0===e?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/e+6*(this.g<this.b):this.g===this.getMax()?(this.b-this.r)/e+2:(this.r-this.g)/e+4))}return this._h}getSaturation(){if(void 0===this._s){let e=this.getMax()-this.getMin();0===e?this._s=0:this._s=e/this.getMax()}return this._s}getLightness(){return void 0===this._l&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return void 0===this._v&&(this._v=this.getMax()/255),this._v}getBrightness(){return void 0===this._brightness&&(this._brightness=(299*this.r+587*this.g+114*this.b)/1e3),this._brightness}darken(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()-e/100;return o<0&&(o=0),this._c({h:t,s:r,l:o,a:this.a})}lighten(e=10){let t=this.getHue(),r=this.getSaturation(),o=this.getLightness()+e/100;return o>1&&(o=1),this._c({h:t,s:r,l:o,a:this.a})}mix(e,t=50){let r=this._c(e),o=t/100,n=e=>(r[e]-this[e])*o+this[e],a={r:i(n("r")),g:i(n("g")),b:i(n("b")),a:i(100*n("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){let t=this._c(e),r=this.a+t.a*(1-this.a),o=e=>i((this[e]*this.a+t[e]*t.a*(1-this.a))/r);return this._c({r:o("r"),g:o("g"),b:o("b"),a:r})}isDark(){return 128>this.getBrightness()}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#",t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;let r=(this.g||0).toString(16);e+=2===r.length?r:"0"+r;let o=(this.b||0).toString(16);if(e+=2===o.length?o:"0"+o,"number"==typeof this.a&&this.a>=0&&this.a<1){let t=i(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){let e=this.getHue(),t=i(100*this.getSaturation()),r=i(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${r}%,${this.a})`:`hsl(${e},${t}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,r){let o=this.clone();return o[e]=c(t,r),o}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){let t=e.replace("#","");function r(e,r){return parseInt(t[e]+t[r||e],16)}t.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=t[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=t[6]?r(6,7)/255:1)}fromHsl({h:e,s:t,l:r,a:o}){if(this._h=e%360,this._s=t,this._l=r,this.a="number"==typeof o?o:1,t<=0){let e=i(255*r);this.r=e,this.g=e,this.b=e}let n=0,a=0,l=0,c=e/60,s=(1-Math.abs(2*r-1))*t,d=s*(1-Math.abs(c%2-1));c>=0&&c<1?(n=s,a=d):c>=1&&c<2?(n=d,a=s):c>=2&&c<3?(a=s,l=d):c>=3&&c<4?(a=d,l=s):c>=4&&c<5?(n=d,l=s):c>=5&&c<6&&(n=s,l=d);let f=r-s/2;this.r=i((n+f)*255),this.g=i((a+f)*255),this.b=i((l+f)*255)}fromHsv({h:e,s:t,v:r,a:o}){this._h=e%360,this._s=t,this._v=r,this.a="number"==typeof o?o:1;let n=i(255*r);if(this.r=n,this.g=n,this.b=n,t<=0)return;let a=e/60,l=Math.floor(a),c=a-l,s=i(r*(1-t)*255),d=i(r*(1-t*c)*255),f=i(r*(1-t*(1-c))*255);switch(l){case 0:this.g=f,this.b=s;break;case 1:this.r=d,this.b=s;break;case 2:this.r=s,this.b=f;break;case 3:this.r=s,this.g=d;break;case 4:this.r=f,this.g=s;break;default:this.g=s,this.b=d}}fromHsvString(e){let t=a(e,l);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){let t=a(e,l);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){let t=a(e,(e,t)=>t.includes("%")?i(e/100*255):e);this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},8582:function(e,t,r){"use strict";r.d(t,{D:function(){return eE}});var o,n,i,a,l,c,s,d=r(9665),f=r(8156),u=r.n(f),g=r(2298),h=r.n(g),p=function(e){function t(e,t,o){var n=t.trim().split(h);t=n;var i=n.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],o).trim();break;default:var c=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[c++]=r(e[s]+" ",n[l],o).trim()}return t}function r(e,t,r){var o=t.charCodeAt(0);switch(33>o&&(o=(t=t.trim()).charCodeAt(0)),o){case 38:return t.replace(p,"$1"+e.trim());case 58:return e.trim()+t.replace(p,"$1"+e.trim());default:if(0<+r&&0<t.indexOf("\f"))return t.replace(p,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,r,i){var a=e+";",l=2*t+3*r+4*i;if(944===l){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===T||2===T&&n(c,1)?"-webkit-"+c+c:c}if(0===T||2===T&&!n(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(w,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return u.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(v,"tb");break;case 232:c=a.replace(v,"tb-rl");break;case 220:c=a.replace(v,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(M,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(M,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===H.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,r,i).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===r+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(g,"$1-webkit-$2")+a}return a}function n(e,t){var r=e.indexOf(1===t?":":"{"),o=e.substring(0,3!==t?r:10);return r=e.substring(r+1,e.length-1),P(2!==t?o:o.replace(B,"$1"),r,t)}function i(e,t){var r=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return r!==t+";"?r.replace(x," or ($1)").substring(4):"("+t+")"}function a(e,t,r,o,n,i,a,l,s,d){for(var f,u=0,g=t;u<_;++u)switch(f=z[u].call(c,e,g,r,o,n,i,a,l,s,d)){case void 0:case!1:case!0:case null:break;default:g=f}if(g!==t)return g}function l(e){return void 0!==(e=e.prefix)&&(P=null,e?"function"!=typeof e?T=1:(T=2,P=e):T=0),l}function c(e,r){var l=e;if(33>l.charCodeAt(0)&&(l=l.trim()),l=[l],0<_){var c=a(-1,r,l,l,k,C,0,0,0,0);void 0!==c&&"string"==typeof c&&(r=c)}var f=function e(r,l,c,f,u){for(var g,h,p,v,x,M=0,B=0,H=0,w=0,z=0,P=0,E=p=g=0,D=0,F=0,R=0,O=0,W=c.length,X=W-1,G="",j="",N="",$="";D<W;){if(h=c.charCodeAt(D),D===X&&0!==B+w+H+M&&(0!==B&&(h=47===B?10:47),w=H=M=0,W++,X++),0===B+w+H+M){if(D===X&&(0<F&&(G=G.replace(d,"")),0<G.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:G+=c.charAt(D)}h=59}switch(h){case 123:for(g=(G=G.trim()).charCodeAt(0),p=1,O=++D;D<W;){switch(h=c.charCodeAt(D)){case 123:p++;break;case 125:p--;break;case 47:switch(h=c.charCodeAt(D+1)){case 42:case 47:e:{for(E=D+1;E<X;++E)switch(c.charCodeAt(E)){case 47:if(42===h&&42===c.charCodeAt(E-1)&&D+2!==E){D=E+1;break e}break;case 10:if(47===h){D=E+1;break e}}D=E}}break;case 91:h++;case 40:h++;case 34:case 39:for(;D++<X&&c.charCodeAt(D)!==h;);}if(0===p)break;D++}if(p=c.substring(O,D),0===g&&(g=(G=G.replace(s,"").trim()).charCodeAt(0)),64===g){switch(0<F&&(G=G.replace(d,"")),h=G.charCodeAt(1)){case 100:case 109:case 115:case 45:F=l;break;default:F=A}if(O=(p=e(l,F,p,h,u+1)).length,0<_&&(x=a(3,p,F=t(A,G,R),l,k,C,O,h,u,f),G=F.join(""),void 0!==x&&0===(O=(p=x.trim()).length)&&(h=0,p="")),0<O)switch(h){case 115:G=G.replace(y,i);case 100:case 109:case 45:p=G+"{"+p+"}";break;case 107:p=(G=G.replace(m,"$1 $2"))+"{"+p+"}",p=1===T||2===T&&n("@"+p,3)?"@-webkit-"+p+"@"+p:"@"+p;break;default:p=G+p,112===f&&(j+=p,p="")}else p=""}else p=e(l,t(l,G,R),p,f,u+1);N+=p,p=R=F=E=g=0,G="",h=c.charCodeAt(++D);break;case 125:case 59:if(1<(O=(G=(0<F?G.replace(d,""):G).trim()).length))switch(0===E&&(45===(g=G.charCodeAt(0))||96<g&&123>g)&&(O=(G=G.replace(" ",":")).length),0<_&&void 0!==(x=a(1,G,l,r,k,C,j.length,f,u,f))&&0===(O=(G=x.trim()).length)&&(G="\0\0"),g=G.charCodeAt(0),h=G.charCodeAt(1),g){case 0:break;case 64:if(105===h||99===h){$+=G+c.charAt(D);break}default:58!==G.charCodeAt(O-1)&&(j+=o(G,g,h,G.charCodeAt(2)))}R=F=E=g=0,G="",h=c.charCodeAt(++D)}}switch(h){case 13:case 10:47===B?B=0:0===1+g&&107!==f&&0<G.length&&(F=1,G+="\0"),0<_*L&&a(0,G,l,r,k,C,j.length,f,u,f),C=1,k++;break;case 59:case 125:if(0===B+w+H+M){C++;break}default:switch(C++,v=c.charAt(D),h){case 9:case 32:if(0===w+M+B)switch(z){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===w+B+M&&(F=R=1,v="\f"+v);break;case 108:if(0===w+B+M+I&&0<E)switch(D-E){case 2:112===z&&58===c.charCodeAt(D-3)&&(I=z);case 8:111===P&&(I=P)}break;case 58:0===w+B+M&&(E=D);break;case 44:0===B+H+w+M&&(F=1,v+="\r");break;case 34:case 39:0===B&&(w=w===h?0:0===w?h:w);break;case 91:0===w+B+H&&M++;break;case 93:0===w+B+H&&M--;break;case 41:0===w+B+M&&H--;break;case 40:0===w+B+M&&(0===g&&(2*z+3*P==533||(g=1)),H++);break;case 64:0===B+H+w+M+E+p&&(p=1);break;case 42:case 47:if(!(0<w+M+H))switch(B){case 0:switch(2*h+3*c.charCodeAt(D+1)){case 235:B=47;break;case 220:O=D,B=42}break;case 42:47===h&&42===z&&O+2!==D&&(33===c.charCodeAt(O+2)&&(j+=c.substring(O,D+1)),v="",B=0)}}0===B&&(G+=v)}P=z,z=h,D++}if(0<(O=j.length)){if(F=l,0<_&&void 0!==(x=a(2,j,F,r,k,C,O,f,u,f))&&0===(j=x).length)return $+j+N;if(j=F.join(",")+"{"+j+"}",0!=T*I){switch(2!==T||n(j,2)||(I=0),I){case 111:j=j.replace(S,":-moz-$1")+j;break;case 112:j=j.replace(b,"::-webkit-input-$1")+j.replace(b,"::-moz-$1")+j.replace(b,":-ms-input-$1")+j}I=0}}return $+j+N}(A,l,r,0,0);return 0<_&&void 0!==(c=a(-2,f,l,l,k,C,f.length,0,0,0))&&(f=c),I=0,C=k=1,f}var s=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,u=/zoo|gra/,g=/([,: ])(transform)/g,h=/,\r+?/g,p=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,S=/:(read-only)/g,v=/[svh]\w+-[tblr]{2}/,y=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,M=/-self|flex-/g,B=/[^]*?(:[rp][el]a[\w-]+)[^]*/,H=/stretch|:\s*\w+\-(?:conte|avail)/,w=/([^-])(image-set\()/,C=1,k=1,I=0,T=1,A=[],z=[],_=0,P=null,L=0,E="";return c.use=function e(t){switch(t){case void 0:case null:_=z.length=0;break;default:if("function"==typeof t)z[_++]=t;else if("object"==typeof t)for(var r=0,o=t.length;r<o;++r)e(t[r]);else L=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},m={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,S=(o=function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},n=Object.create(null),function(e){return void 0===n[e]&&(n[e]=o(e)),n[e]}),v=r(6905),y=r.n(v);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var M=function(e,t){for(var r=[e[0]],o=0,n=t.length;o<n;o+=1)r.push(t[o],e[o+1]);return r},B=function(e){return null!==e&&"object"==typeof e&&"[object Object]"===(e.toString?e.toString():Object.prototype.toString.call(e))&&!(0,d.typeOf)(e)},H=Object.freeze([]),w=Object.freeze({});function C(e){return"function"==typeof e}function k(e){return e.displayName||e.name||"Component"}function I(e){return e&&"string"==typeof e.styledComponentId}var T="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",A="undefined"!=typeof window&&"HTMLElement"in window,z=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&(void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY));function _(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];throw Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var P=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,n=o;e>=n;)(n<<=1)<0&&_(16,""+e);this.groupSizes=new Uint32Array(n),this.groupSizes.set(r),this.length=n;for(var i=o;i<n;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),l=0,c=t.length;l<c;l++)this.tag.insertRule(a,t[l])&&(this.groupSizes[e]++,a++)},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),o=r+t;this.groupSizes[e]=0;for(var n=r;n<o;n++)this.tag.deleteRule(r)}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],o=this.indexOfGroup(e),n=o+r,i=o;i<n;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),L=new Map,E=new Map,D=1,F=function(e){if(L.has(e))return L.get(e);for(;E.has(D);)D++;var t=D++;return L.set(e,t),E.set(t,e),t},R=function(e,t){t>=D&&(D=t+1),L.set(e,t),E.set(t,e)},O="style["+T+'][data-styled-version="5.3.11"]',W=RegExp("^"+T+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),X=function(e,t,r){for(var o,n=r.split(","),i=0,a=n.length;i<a;i++)(o=n[i])&&e.registerName(t,o)},G=function(e,t){for(var r=(t.textContent||"").split("/*!sc*/\n"),o=[],n=0,i=r.length;n<i;n++){var a=r[n].trim();if(a){var l=a.match(W);if(l){var c=0|parseInt(l[1],10),s=l[2];0!==c&&(R(s,c),X(e,s,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(a)}}},j=function(){return r.nc},N=function(e){var t=document.head,r=e||t,o=document.createElement("style"),n=function(e){for(var t=e.childNodes,r=t.length;r>=0;r--){var o=t[r];if(o&&1===o.nodeType&&o.hasAttribute(T))return o}}(r),i=void 0!==n?n.nextSibling:null;o.setAttribute(T,"active"),o.setAttribute("data-styled-version","5.3.11");var a=j();return a&&o.setAttribute("nonce",a),r.insertBefore(o,i),o},$=function(){function e(e){var t=this.element=N(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,o=t.length;r<o;r++){var n=t[r];if(n.ownerNode===e)return n}_(17)}(t),this.length=0}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),q=function(){function e(e){var t=this.element=N(e);this.nodes=t.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t),o=this.nodes[e];return this.element.insertBefore(r,o||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),U=function(){function e(e){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Q=A,V={isServer:!A,useCSSOMInjection:!z},Y=function(){function e(e,t,r){void 0===e&&(e=w),void 0===t&&(t={}),this.options=x({},V,{},e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&A&&Q&&(Q=!1,function(e){for(var t=document.querySelectorAll(O),r=0,o=t.length;r<o;r++){var n=t[r];n&&"active"!==n.getAttribute(T)&&(G(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this))}e.registerId=function(e){return F(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(x({},this.options,{},t),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){var e,t,r,o;return this.tag||(this.tag=(t=(e=this.options).isServer,r=e.useCSSOMInjection,o=e.target,new P(t?new U(o):r?new $(o):new q(o))))},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(F(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},t.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(F(e),r)},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},t.clearRules=function(e){this.getTag().clearGroup(F(e)),this.clearNames(e)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(e){for(var t=e.getTag(),r=t.length,o="",n=0;n<r;n++){var i,a=(i=n,E.get(i));if(void 0!==a){var l=e.names.get(a),c=t.getGroup(n);if(l&&c&&l.size){var s=T+".g"+n+'[id="'+a+'"]',d="";void 0!==l&&l.forEach(function(e){e.length>0&&(d+=e+",")}),o+=""+c+s+'{content:"'+d+'"}/*!sc*/\n'}}}return o}(this)},e}(),Z=/(a)(d)/gi,K=function(e){return String.fromCharCode(e+(e>25?39:97))};function J(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=K(t%52)+r;return(K(t%52)+r).replace(Z,"$1-$2")}var ee=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},et=function(e){return ee(5381,e)};function er(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(C(r)&&!I(r))return!1}return!0}var eo=et("5.3.11"),en=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&er(e),this.componentId=t,this.baseHash=ee(eo,t),this.baseStyle=r,Y.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var o=this.componentId,n=[];if(this.baseStyle&&n.push(this.baseStyle.generateAndInjectStyles(e,t,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(o,this.staticRulesId))n.push(this.staticRulesId);else{var i=ex(this.rules,e,t,r).join(""),a=J(ee(this.baseHash,i)>>>0);if(!t.hasNameForId(o,a)){var l=r(i,"."+a,void 0,o);t.insertRules(o,a,l)}n.push(a),this.staticRulesId=a}else{for(var c=this.rules.length,s=ee(this.baseHash,r.hash),d="",f=0;f<c;f++){var u=this.rules[f];if("string"==typeof u)d+=u;else if(u){var g=ex(u,e,t,r),h=Array.isArray(g)?g.join(""):g;s=ee(s,h+f),d+=h}}if(d){var p=J(s>>>0);if(!t.hasNameForId(o,p)){var m=r(d,"."+p,void 0,o);t.insertRules(o,p,m)}n.push(p)}}return n.join(" ")},e}(),ei=/^\s*\/\/.*$/gm,ea=[":","[",".","#"];function el(e){var t,r,o,n,i=void 0===e?w:e,a=i.options,l=void 0===a?w:a,c=i.plugins,s=void 0===c?H:c,d=new p(l),f=[],u=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,o,n,i,a,l,c,s,d,f){switch(r){case 1:if(0===d&&64===o.charCodeAt(0))return e(o+";"),"";break;case 2:if(0===s)return o+"/*|*/";break;case 3:switch(s){case 102:case 112:return e(n[0]+o),"";default:return o+(0===f?"/*|*/":"")}case -2:o.split("/*|*/}").forEach(t)}}}(function(e){f.push(e)}),g=function(e,o,i){return 0===o&&-1!==ea.indexOf(i[r.length])||i.match(n)?e:"."+t};function h(e,i,a,l){void 0===l&&(l="&");var c=e.replace(ei,""),s=i&&a?a+" "+i+" { "+c+" }":c;return t=l,o=RegExp("\\"+(r=i)+"\\b","g"),n=RegExp("(\\"+r+"\\b){2,}"),d(a||!i?"":i,s)}return d.use([].concat(s,[function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(r)>0&&(n[0]=n[0].replace(o,g))},u,function(e){if(-2===e){var t=f;return f=[],t}}])),h.hash=s.length?s.reduce(function(e,t){return t.name||_(15),ee(e,t.name)},5381).toString():"",h}var ec=u().createContext(),es=(ec.Consumer,u().createContext()),ed=(es.Consumer,new Y),ef=el();function eu(){return(0,f.useContext)(ec)||ed}function eg(e){var t=(0,f.useState)(e.stylisPlugins),r=t[0],o=t[1],n=eu(),i=(0,f.useMemo)(function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,f.useMemo)(function(){return el({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,f.useEffect)(function(){h()(r,e.stylisPlugins)||o(e.stylisPlugins)},[e.stylisPlugins]),u().createElement(ec.Provider,{value:i},u().createElement(es.Provider,{value:a},e.children))}var eh=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ef);var o=r.name+t.hash;e.hasNameForId(r.id,o)||e.insertRules(r.id,o,t(r.rules,o,"@keyframes"))},this.toString=function(){return _(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ef),this.name+e.hash},e}(),ep=/([A-Z])/,em=/([A-Z])/g,eb=/^ms-/,eS=function(e){return"-"+e.toLowerCase()};function ev(e){return ep.test(e)?e.replace(em,eS).replace(eb,"-ms-"):e}var ey=function(e){return null==e||!1===e||""===e};function ex(e,t,r,o){if(Array.isArray(e)){for(var n,i=[],a=0,l=e.length;a<l;a+=1)""!==(n=ex(e[a],t,r,o))&&(Array.isArray(n)?i.push.apply(i,n):i.push(n));return i}return ey(e)?"":I(e)?"."+e.styledComponentId:C(e)?"function"!=typeof e||e.prototype&&e.prototype.isReactComponent||!t?e:ex(e(t),t,r,o):e instanceof eh?r?(e.inject(r,o),e.getName(o)):e:B(e)?function e(t,r){var o,n=[];for(var i in t)t.hasOwnProperty(i)&&!ey(t[i])&&(Array.isArray(t[i])&&t[i].isCss||C(t[i])?n.push(ev(i)+":",t[i],";"):B(t[i])?n.push.apply(n,e(t[i],i)):n.push(ev(i)+": "+(null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||i in m||i.startsWith("--")?String(o).trim():o+"px")+";"));return r?[r+" {"].concat(n,["}"]):n}(e):e.toString()}var eM=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function eB(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return C(e)||B(e)?eM(ex(M(H,[e].concat(r)))):0===r.length&&1===e.length&&"string"==typeof e[0]?e:eM(ex(M(e,r)))}var eH=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ew=/(^-|-$)/g;function eC(e){return e.replace(eH,"-").replace(ew,"")}function ek(e){return"string"==typeof e}var eI=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},eT=u().createContext();eT.Consumer;var eA={},ez=function(e){return function e(t,r,o){if(void 0===o&&(o=w),!(0,d.isValidElementType)(r))return _(1,String(r));var n=function(){return t(r,o,eB.apply(void 0,arguments))};return n.withConfig=function(n){return e(t,r,x({},o,{},n))},n.attrs=function(n){return e(t,r,x({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},n}(function e(t,r,o){var n=I(t),i=!ek(t),a=r.attrs,l=void 0===a?H:a,c=r.componentId,s=void 0===c?(b=r.displayName,v=r.parentComponentId,eA[M="string"!=typeof b?"sc":eC(b)]=(eA[M]||0)+1,B=M+"-"+J(et("5.3.11"+M+eA[M])>>>0),v?v+"-"+B:B):c,d=r.displayName,g=void 0===d?ek(t)?"styled."+t:"Styled("+k(t)+")":d,h=r.displayName&&r.componentId?eC(r.displayName)+"-"+r.componentId:r.componentId||s,p=n&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,m=r.shouldForwardProp;n&&t.shouldForwardProp&&(m=r.shouldForwardProp?function(e,o,n){return t.shouldForwardProp(e,o,n)&&r.shouldForwardProp(e,o,n)}:t.shouldForwardProp);var b,v,M,B,T,A=new en(o,h,n?t.componentStyle:void 0),z=A.isStatic&&0===l.length,_=function(e,t){return function(e,t,r,o){var n,i,a,l,c,s,d,u=e.attrs,g=e.componentStyle,h=e.defaultProps,p=e.foldedComponentIds,m=e.shouldForwardProp,b=e.styledComponentId,v=e.target,y=(n=(0,f.useContext)(eT),void 0===(i=h)&&(i=w),a=t.theme!==i.theme&&t.theme||n||i.theme||w,void 0===a&&(a=w),l=x({},t,{theme:a}),c={},u.forEach(function(e){var t,r,o,n=e;for(t in C(n)&&(n=n(l)),n)l[t]=c[t]="className"===t?(r=c[t],o=n[t],r&&o?r+" "+o:r||o):n[t]}),[l,c]),M=y[0],B=y[1],H=(s=eu(),d=(0,f.useContext)(es)||ef,o?g.generateAndInjectStyles(w,s,d):g.generateAndInjectStyles(M,s,d)),k=B.$as||t.$as||B.as||t.as||v,I=ek(k),T=B!==t?x({},t,{},B):t,A={};for(var z in T)"$"!==z[0]&&"as"!==z&&("forwardedAs"===z?A.as=T[z]:(m?m(z,S,k):!I||S(z))&&(A[z]=T[z]));return t.style&&B.style!==t.style&&(A.style=x({},t.style,{},B.style)),A.className=Array.prototype.concat(p,b,H!==b?H:null,t.className,B.className).filter(Boolean).join(" "),A.ref=r,(0,f.createElement)(k,A)}(T,e,t,z)};return _.displayName=g,(T=u().forwardRef(_)).attrs=p,T.componentStyle=A,T.displayName=g,T.shouldForwardProp=m,T.foldedComponentIds=n?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):H,T.styledComponentId=h,T.target=n?t.target:t,T.withComponent=function(t){var n=r.componentId,i=function(e,t){if(null==e)return{};var r,o,n={},i=Object.keys(e);for(o=0;o<i.length;o++)t.indexOf(r=i[o])>=0||(n[r]=e[r]);return n}(r,["componentId"]),a=n&&n+"-"+(ek(t)?t:eC(k(t)));return e(t,x({},i,{attrs:p,componentId:a}),o)},Object.defineProperty(T,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=n?function e(t){for(var r=arguments.length,o=Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];for(var i=0;i<o.length;i++){var a=o[i];if(eI(a))for(var l in a)"__proto__"!==l&&"constructor"!==l&&"prototype"!==l&&function(t,r,o){var n=t[o];eI(r)&&eI(n)?e(n,r):t[o]=r}(t,a[l],l)}return t}({},t.defaultProps,e):e}}),Object.defineProperty(T,"toString",{value:function(){return"."+T.styledComponentId}}),i&&y()(T,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),T},e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){ez[e]=ez(e)}),(i=(function(e,t){this.rules=e,this.componentId=t,this.isStatic=er(e),Y.registerId(this.componentId+1)}).prototype).createStyles=function(e,t,r,o){var n=o(ex(this.rules,t,r,o).join(""),""),i=this.componentId+e;r.insertRules(i,i,n)},i.removeStyles=function(e,t){t.clearRules(this.componentId+e)},i.renderStyles=function(e,t,r,o){e>2&&Y.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,o)},(a=(function(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=j();return"<style "+[r&&'nonce="'+r+'"',T+'="true"','data-styled-version="5.3.11"'].filter(Boolean).join(" ")+">"+t+"</style>"},this.getStyleTags=function(){return e.sealed?_(2):e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)return _(2);var t,r=((t={})[T]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=j();return o&&(r.nonce=o),[u().createElement("style",x({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Y({isServer:!0}),this.sealed=!1}).prototype).collectStyles=function(e){return this.sealed?_(2):u().createElement(eg,{sheet:this.instance},e)},a.interleaveWithNodeStream=function(e){return _(3)};var e_=function(e,t){if(t)return"row";switch(e){case"horizontal":return"row";case"horizontal-reverse":return"row-reverse";case"vertical":default:return"column";case"vertical-reverse":return"column-reverse"}},eP=function(e,t){return"row"===e_(e,t)},eL=function(e){return"number"==typeof e?"".concat(e,"px"):e},eE=ez.div.attrs(function(){return{className:"layoutkit-flexbox"}})(s||(l=["\n // 是否显示\n display: ",";\n\n flex: ",";\n\n flex-direction: ",";\n justify-content: ",";\n align-items: ",";\n\n width: ",";\n height: ",";\n\n padding: ",";\n\n > *:not(:last-child) {\n margin-right: ",";\n margin-bottom: ",";\n }\n"],c||(c=l.slice(0)),s=Object.freeze(Object.defineProperties(l,{raw:{value:Object.freeze(c)}}))),function(e){return e.hidden?"none":"flex"},function(e){return e.flex},function(e){return e_(e.direction,e.horizontal)},function(e){return e.distribution},function(e){return e.align},function(e){return eP(e.direction,e.horizontal)&&!e.width&&["space-between","space-around","space-evenly"].includes(e.distribution)?"100%":eL(e.width)},function(e){return eL(e.height)},function(e){return eL(e.padding)},function(e){return eP(e.direction,e.horizontal)&&eL(e.gap)},function(e){return"column"===e_(e.direction,e.horizontal)&&eL(e.gap)});r(3704)},2182:function(e,t,r){"use strict";function o(e,t){"string"==typeof(r=e)&&-1!==r.indexOf(".")&&1===parseFloat(r)&&(e="100%");var r,o,n="string"==typeof(o=e)&&-1!==o.indexOf("%");return(e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),1e-6>Math.abs(e-t))?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function n(e){return Math.min(1,Math.max(0,e))}function i(e){return(isNaN(e=parseFloat(e))||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function l(e){return 1===e.length?"0"+e:String(e)}function c(e,t,r){e=o(e,255);var n=Math.max(e,t=o(t,255),r=o(r,255)),i=Math.min(e,t,r),a=0,l=0,c=(n+i)/2;if(n===i)l=0,a=0;else{var s=n-i;switch(l=c>.5?s/(2-n-i):s/(n+i),n){case e:a=(t-r)/s+6*(t<r);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:l,l:c}}function s(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function d(e,t,r){e=o(e,255);var n=Math.max(e,t=o(t,255),r=o(r,255)),i=Math.min(e,t,r),a=0,l=n-i;if(n===i)a=0;else{switch(n){case e:a=(t-r)/l+6*(t<r);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:0===n?0:l/n,v:n}}function f(e,t,r,o){var n=[l(Math.round(e).toString(16)),l(Math.round(t).toString(16)),l(Math.round(r).toString(16))];return o&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}r.d(t,{C:function(){return v}});function u(e){return parseInt(e,16)}var g={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",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:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},h="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),p="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),m="[\\s|\\(]+(".concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")[,|\\s]+(").concat(h,")\\s*\\)?"),b={CSS_UNIT:new RegExp(h),rgb:RegExp("rgb"+p),rgba:RegExp("rgba"+m),hsl:RegExp("hsl"+p),hsla:RegExp("hsla"+m),hsv:RegExp("hsv"+p),hsva:RegExp("hsva"+m),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 S(e){return!!b.CSS_UNIT.exec(String(e))}var v=function(){function e(t,r){if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t={r:(z=t)>>16,g:(65280&z)>>8,b:255&z}),this.originalInput=t;var n,l,c,d,f,h,p,m,v,y,x,M,B,H,w,C,k,I,T,A,z,_,P=(H={r:0,g:0,b:0},w=1,C=null,k=null,I=null,T=!1,A=!1,"string"==typeof(n=t)&&(n=function(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(g[e])e=g[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=b.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=b.rgba.exec(e))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=b.hsl.exec(e))?{h:r[1],s:r[2],l:r[3]}:(r=b.hsla.exec(e))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=b.hsv.exec(e))?{h:r[1],s:r[2],v:r[3]}:(r=b.hsva.exec(e))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=b.hex8.exec(e))?{r:u(r[1]),g:u(r[2]),b:u(r[3]),a:u(r[4])/255,format:t?"name":"hex8"}:(r=b.hex6.exec(e))?{r:u(r[1]),g:u(r[2]),b:u(r[3]),format:t?"name":"hex"}:(r=b.hex4.exec(e))?{r:u(r[1]+r[1]),g:u(r[2]+r[2]),b:u(r[3]+r[3]),a:u(r[4]+r[4])/255,format:t?"name":"hex8"}:!!(r=b.hex3.exec(e))&&{r:u(r[1]+r[1]),g:u(r[2]+r[2]),b:u(r[3]+r[3]),format:t?"name":"hex"}}(n)),"object"==typeof n&&(S(n.r)&&S(n.g)&&S(n.b)?(l=n.r,c=n.g,d=n.b,H={r:255*o(l,255),g:255*o(c,255),b:255*o(d,255)},T=!0,A="%"===String(n.r).substr(-1)?"prgb":"rgb"):S(n.h)&&S(n.s)&&S(n.v)?(C=a(n.s),k=a(n.v),f=n.h,h=C,p=k,f=6*o(f,360),h=o(h,100),p=o(p,100),m=Math.floor(f),v=f-m,y=p*(1-h),x=p*(1-v*h),M=p*(1-(1-v)*h),H={r:255*[p,x,y,y,M,p][B=m%6],g:255*[M,p,p,x,y,y][B],b:255*[y,y,M,p,p,x][B]},T=!0,A="hsv"):S(n.h)&&S(n.s)&&S(n.l)&&(C=a(n.s),I=a(n.l),H=function(e,t,r){if(e=o(e,360),t=o(t,100),r=o(r,100),0===t)i=r,a=r,n=r;else{var n,i,a,l=r<.5?r*(1+t):r+t-r*t,c=2*r-l;n=s(c,l,e+1/3),i=s(c,l,e),a=s(c,l,e-1/3)}return{r:255*n,g:255*i,b:255*a}}(n.h,C,I),T=!0,A="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(w=n.a)),w=i(w),{ok:T,format:n.format||A,r:Math.min(255,Math.max(H.r,0)),g:Math.min(255,Math.max(H.g,0)),b:Math.min(255,Math.max(H.b,0)),a:w});this.originalInput=t,this.r=P.r,this.g=P.g,this.b=P.b,this.a=P.a,this.roundA=Math.round(100*this.a)/100,this.format=null!=(_=r.format)?_:P.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.isValid=P.ok}return e.prototype.isDark=function(){return 128>this.getBrightness()},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e,t,r,o=this.toRgb(),n=o.r/255,i=o.g/255,a=o.b/255;return .2126*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.7152*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=i(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=d(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=d(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=c(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=c(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),f(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){var t,r,o,n,i,a;return void 0===e&&(e=!1),t=this.r,r=this.g,o=this.b,n=this.a,i=e,a=[l(Math.round(t).toString(16)),l(Math.round(r).toString(16)),l(Math.round(o).toString(16)),l(Math.round(255*parseFloat(n)).toString(16))],i&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*o(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*o(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+f(this.r,this.g,this.b,!1),t=0,r=Object.entries(g);t<r.length;t++){var o=r[t],n=o[0];if(e===o[1])return n}return!1},e.prototype.toString=function(e){var t=!!e;e=null!=e?e:this.format;var r=!1,o=this.a<1&&this.a>=0;return!t&&o&&(e.startsWith("hex")||"name"===e)?"name"===e&&0===this.a?this.toName():this.toRgbString():("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),("hex"===e||"hex6"===e)&&(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=n(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-(t/100*255)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-(t/100*255)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-(t/100*255)))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=n(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=n(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=n(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),o=(r.h+t)%360;return r.h=o<0?360+o:o,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var o=this.toRgb(),n=new e(t).toRgb(),i=r/100;return new e({r:(n.r-o.r)*i+o.r,g:(n.g-o.g)*i+o.g,b:(n.b-o.b)*i+o.b,a:(n.a-o.a)*i+o.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var o=this.toHsl(),n=360/r,i=[this];for(o.h=(o.h-(n*t>>1)+720)%360;--t;)o.h=(o.h+n)%360,i.push(new e(o));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),o=r.h,n=r.s,i=r.v,a=[],l=1/t;t--;)a.push(new e({h:o,s:n,v:i})),i=(i+l)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),o=new e(t).toRgb(),n=r.a+o.a*(1-r.a);return new e({r:(r.r*r.a+o.r*o.a*(1-r.a))/n,g:(r.g*r.a+o.g*o.a*(1-r.a))/n,b:(r.b*r.a+o.b*o.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),o=r.h,n=[this],i=360/t,a=1;a<t;a++)n.push(new e({h:(o+a*i)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}()},9366:function(e,t,r){"use strict";r.d(t,{Z:function(){return $}});var o=r(3722),n=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function i(e,t,r){var o;return(o=Math.round(e.h)>=60&&240>=Math.round(e.h)?r?Math.round(e.h)-2*t:Math.round(e.h)+2*t:r?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?o+=360:o>=360&&(o-=360),o}function a(e,t,r){var o;return 0===e.h&&0===e.s?e.s:((o=r?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(o=1),r&&5===t&&o>.1&&(o=.1),o<.06&&(o=.06),Math.round(100*o)/100)}function l(e,t,r){var o;return Math.round(100*Math.max(0,Math.min(1,r?e.v+.05*t:e.v-.15*t)))/100}function c(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],c=new o.t(e),s=c.toHsv(),d=5;d>0;d-=1){var f=new o.t({h:i(s,d,!0),s:a(s,d,!0),v:l(s,d,!0)});r.push(f)}r.push(c);for(var u=1;u<=4;u+=1){var g=new o.t({h:i(s,u),s:a(s,u),v:l(s,u)});r.push(g)}return"dark"===t.theme?n.map(function(e){var n=e.index,i=e.amount;return new o.t(t.backgroundColor||"#141414").mix(r[n],i).toHexString()}):r.map(function(e){return e.toHexString()})}var s={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},d=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];d.primary=d[5];var f=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];f.primary=f[5];var u=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];u.primary=u[5];var g=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];g.primary=g[5];var h=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];h.primary=h[5];var p=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];p.primary=p[5];var m=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];m.primary=m[5];var b=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];b.primary=b[5];var S=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];S.primary=S[5];var v=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];v.primary=v[5];var y=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];y.primary=y[5];var x=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];x.primary=x[5];var M=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];M.primary=M[5];var B={red:d,volcano:f,orange:u,gold:g,yellow:h,lime:p,green:m,cyan:b,blue:S,geekblue:v,purple:y,magenta:x,grey:M},H=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];H.primary=H[5];var w=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];w.primary=w[5];var C=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];C.primary=C[5];var k=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];k.primary=k[5];var I=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];I.primary=I[5];var T=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];T.primary=T[5];var A=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];A.primary=A[5];var z=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];z.primary=z[5];var _=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];_.primary=_[5];var P=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];P.primary=P[5];var L=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];L.primary=L[5];var E=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];E.primary=E[5];var D=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];D.primary=D[5];var F=r(6013),R=e=>{let t=e,r=e,o=e,n=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:n}},O=e=>{let{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}},W=e=>{let t=function(e){let t=Array.from({length:10}).map((t,r)=>{let o=e*Math.pow(Math.E,(r-1)/5);return 2*Math.floor((r>1?Math.floor(o):Math.ceil(o))/2)});return t[1]=e,t.map(e=>({size:e,lineHeight:(e+8)/e}))}(e),r=t.map(e=>e.size),o=t.map(e=>e.lineHeight),n=r[1],i=r[0],a=r[2],l=o[1],c=o[0],s=o[2];return{fontSizeSM:i,fontSize:n,fontSizeLG:a,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*n),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}};let X=(e,t)=>new o.t(e).setA(t).toRgbString(),G=(e,t)=>new o.t(e).darken(t).toHexString(),j=e=>{let t=c(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},N=(e,t)=>{let r=e||"#fff",o=t||"#000";return{colorBgBase:r,colorTextBase:o,colorText:X(o,.88),colorTextSecondary:X(o,.65),colorTextTertiary:X(o,.45),colorTextQuaternary:X(o,.25),colorFill:X(o,.15),colorFillSecondary:X(o,.06),colorFillTertiary:X(o,.04),colorFillQuaternary:X(o,.02),colorBgSolid:X(o,1),colorBgSolidHover:X(o,.75),colorBgSolidActive:X(o,.95),colorBgLayout:G(r,4),colorBgContainer:G(r,0),colorBgElevated:G(r,0),colorBgSpotlight:X(o,.85),colorBgBlur:"transparent",colorBorder:G(r,15),colorBorderSecondary:G(r,6)}};function $(e){s.pink=s.magenta,B.pink=B.magenta;let t=Object.keys(F.M).map(t=>{let r=e[t]===s[t]?B[t]:c(e[t]);return Array.from({length:10},()=>1).reduce((e,o,n)=>(e[`${t}-${n+1}`]=r[n],e[`${t}${n+1}`]=r[n],e),{})}).reduce((e,t)=>e=Object.assign(Object.assign({},e),t),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:r,generateNeutralColorPalettes:n}=t,{colorSuccess:i,colorWarning:a,colorError:l,colorInfo:c,colorPrimary:s,colorBgBase:d,colorTextBase:f}=e,u=r(s),g=r(i),h=r(a),p=r(l),m=r(c),b=n(d,f),S=r(e.colorLink||e.colorInfo),v=new o.t(p[1]).mix(new o.t(p[3]),50).toHexString();return Object.assign(Object.assign({},b),{colorPrimaryBg:u[1],colorPrimaryBgHover:u[2],colorPrimaryBorder:u[3],colorPrimaryBorderHover:u[4],colorPrimaryHover:u[5],colorPrimary:u[6],colorPrimaryActive:u[7],colorPrimaryTextHover:u[8],colorPrimaryText:u[9],colorPrimaryTextActive:u[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:p[1],colorErrorBgHover:p[2],colorErrorBgFilledHover:v,colorErrorBgActive:p[3],colorErrorBorder:p[3],colorErrorBorderHover:p[4],colorErrorHover:p[5],colorError:p[6],colorErrorActive:p[7],colorErrorTextHover:p[8],colorErrorText:p[9],colorErrorTextActive:p[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new o.t("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:j,generateNeutralColorPalettes:N})),W(e.fontSize)),function(e){let{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}(e)),O(e)),function(e){let{motionUnit:t,motionBase:r,borderRadius:o,lineWidth:n}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+2*t).toFixed(1)}s`,motionDurationSlow:`${(r+3*t).toFixed(1)}s`,lineWidthBold:n+1},R(o))}(e))}},6013:function(e,t,r){"use strict";r.d(t,{M:function(){return o}});let o={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"};t.Z=Object.assign(Object.assign({},o),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
11
11
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
12
12
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},9615:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var o=r(3722),n=r(6013);function i(e){return e>=0&&e<=255}var a=function(e,t){let{r:r,g:n,b:a,a:l}=new o.t(e).toRgb();if(l<1)return e;let{r:c,g:s,b:d}=new o.t(t).toRgb();for(let e=.01;e<=1;e+=.01){let t=Math.round((r-c*(1-e))/e),l=Math.round((n-s*(1-e))/e),f=Math.round((a-d*(1-e))/e);if(i(t)&&i(l)&&i(f))return new o.t({r:t,g:l,b:f,a:Math.round(100*e)/100}).toRgbString()}return new o.t({r:r,g:n,b:a,a:1}).toRgbString()},l=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r};function c(e){let{override:t}=e,r=l(e,["override"]),i=Object.assign({},t);Object.keys(n.Z).forEach(e=>{delete i[e]});let c=Object.assign(Object.assign({},r),i);return!1===c.motion&&(c.motionDurationFast="0s",c.motionDurationMid="0s",c.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},c),{colorFillContent:c.colorFillSecondary,colorFillContentHover:c.colorFill,colorFillAlter:c.colorFillQuaternary,colorBgContainerDisabled:c.colorFillTertiary,colorBorderBg:c.colorBgContainer,colorSplit:a(c.colorBorderSecondary,c.colorBgContainer),colorTextPlaceholder:c.colorTextQuaternary,colorTextDisabled:c.colorTextQuaternary,colorTextHeading:c.colorText,colorTextLabel:c.colorTextSecondary,colorTextDescription:c.colorTextTertiary,colorTextLightSolid:c.colorWhite,colorHighlight:c.colorError,colorBgTextHover:c.colorFillSecondary,colorBgTextActive:c.colorFill,colorIcon:c.colorTextTertiary,colorIconHover:c.colorText,colorErrorOutline:a(c.colorErrorBg,c.colorBgContainer),colorWarningOutline:a(c.colorWarningBg,c.colorBgContainer),fontSizeIcon:c.fontSizeSM,lineWidthFocus:3*c.lineWidth,lineWidth:c.lineWidth,controlOutlineWidth:2*c.lineWidth,controlInteractiveSize:c.controlHeight/2,controlItemBgHover:c.colorFillTertiary,controlItemBgActive:c.colorPrimaryBg,controlItemBgActiveHover:c.colorPrimaryBgHover,controlItemBgActiveDisabled:c.colorFill,controlTmpOutline:c.colorFillQuaternary,controlOutline:a(c.colorPrimaryBg,c.colorBgContainer),lineType:c.lineType,borderRadius:c.borderRadius,borderRadiusXS:c.borderRadiusXS,borderRadiusSM:c.borderRadiusSM,borderRadiusLG:c.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:c.sizeXXS,paddingXS:c.sizeXS,paddingSM:c.sizeSM,padding:c.size,paddingMD:c.sizeMD,paddingLG:c.sizeLG,paddingXL:c.sizeXL,paddingContentHorizontalLG:c.sizeLG,paddingContentVerticalLG:c.sizeMS,paddingContentHorizontal:c.sizeMS,paddingContentVertical:c.sizeSM,paddingContentHorizontalSM:c.size,paddingContentVerticalSM:c.sizeXS,marginXXS:c.sizeXXS,marginXS:c.sizeXS,marginSM:c.sizeSM,margin:c.size,marginMD:c.sizeMD,marginLG:c.sizeLG,marginXL:c.sizeXL,marginXXL:c.sizeXXL,boxShadow:`
|
|
13
13
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
package/dist/client/index.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@nocobase/client"),require("react"),require("@ant-design/cssinjs"),require("@emotion/css"),require("lodash"),require("@nocobase/utils/client"),require("@ant-design/icons"),require("antd")):"function"==typeof define&&define.amd?define("@nocobase/plugin-theme-editor",["react-i18next","@nocobase/client","react","@ant-design/cssinjs","@emotion/css","lodash","@nocobase/utils/client","@ant-design/icons","antd"],t):"object"==typeof exports?exports["@nocobase/plugin-theme-editor"]=t(require("react-i18next"),require("@nocobase/client"),require("react"),require("@ant-design/cssinjs"),require("@emotion/css"),require("lodash"),require("@nocobase/utils/client"),require("@ant-design/icons"),require("antd")):e["@nocobase/plugin-theme-editor"]=t(e["react-i18next"],e["@nocobase/client"],e.react,e["@ant-design/cssinjs"],e["@emotion/css"],e.lodash,e["@nocobase/utils/client"],e["@ant-design/icons"],e.antd)}(self,function(e,t,n,r,o,i,u,a,c){return function(){var l,s,f,d,p,m,h={1820:function(e,t,n){"use strict";n.r(t),n.d(t,{useThemeId:function(){return f}});var r=n(3772),o=n(7584),i=n(8156),u=n.n(i),a=n(1693),c=n(5217),l=n(9273),s=u().createContext({}),f=function(){return u().useContext(s)},d=function(e){var t,n,f,d=e.children,p=(0,r.useCurrentUserContext)(),m=(0,r.useGlobalTheme)().setTheme,h=(0,l.useThemeListContext)(),b=h.run,y=h.data,v=h.loading,g=(0,i.useMemo)(function(){return null==y?void 0:y.find(function(e){return e.default})},[y]),w=(0,i.useRef)(null),O=(0,r.useAPIClient)();(0,i.useEffect)(function(){var e=O.auth.getOption("theme");if(e)try{m((0,c.w)(JSON.parse(e)).config)}catch(e){(0,o.error)(e)}},[]),(0,i.useEffect)(function(){if(!y)return b();var e,t,n,o,i=null==p||null==(n=p.data)||null==(t=n.data)||null==(e=t.systemSettings)?void 0:e.themeId;null!=i&&(o=y.find(function(e){return e.id===i})),o||(o=g),o?(w.current=o.id,m(o.config),O.auth.setOption("theme",JSON.stringify(Object.assign(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},o),{config:(0,a.i)(o.config)})))):(m(r.defaultTheme),O.auth.setOption("theme",null))},[O.auth,null==p||null==(f=p.data)||null==(n=f.data)||null==(t=n.systemSettings)?void 0:t.themeId,y,b,m,g]);var j=v&&!y||p.loading?{}:{currentThemeId:w.current,defaultThemeId:null==g?void 0:g.id};return u().createElement(s.Provider,{value:j},d)};d.displayName="InitializeTheme",t.default=d},9273:function(e,t,n){"use strict";n.r(t),n.d(t,{ThemeListProvider:function(){return s},useThemeListContext:function(){return l}});var r=n(3772),o=n(7584),i=n(8156),u=n.n(i),a=n(5217),c=(0,i.createContext)(null);c.displayName="ThemeListContext";var l=function(){return u().useContext(c)},s=function(e){var t=e.children,n=(0,r.useRequest)({url:"themeConfig:list",params:{sort:"id",paginate:!1}},{manual:!0}),l=n.data,s=n.error,f=n.run,d=n.refresh,p=n.loading,m=(0,i.useMemo)(function(){var e;return null==l||null==(e=l.data)?void 0:e.map(function(e){return(0,a.w)(e)})},[l]);return s&&(0,o.error)(s),u().createElement(c.Provider,{value:{data:m,error:s,run:f,refresh:d,loading:p}},t)};s.displayName="ThemeListProvider"},6597:function(e,t,n){"use strict";n.d(t,{Y:function(){return l}});var r=n(3772),o=n(7584),i=n(8156);function u(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,o)}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function l(){var e,t,n=(0,r.useAPIClient)(),l=(0,r.useCurrentUserContext)();return{updateUserThemeSettings:(0,i.useCallback)((e=function(e){var t;return function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){var c=[i,a];if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,n.resource("users").updateTheme({values:{themeId:e}})];case 1:return r.sent(),l.mutate({data:c(a({},l.data.data),{systemSettings:c(a({},l.data.data.systemSettings||{}),{themeId:e})})}),[3,3];case 2:return t=r.sent(),console.log(o.error),(0,o.error)(t),[3,3];case 3:return[2]}})},t=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,"next",e)}function c(e){u(i,r,o,a,c,"throw",e)}a(void 0)})},function(e){return t.apply(this,arguments)}),[n,l])}}},1693:function(e,t,n){"use strict";n.d(t,{i:function(){return u}});var r=n(2721),o=n(467),i=n.n(o);function u(e){return(e=i().cloneDeep(e)).algorithm&&(Array.isArray(e.algorithm)?e.algorithm=e.algorithm.map(function(e){return a(e)}).filter(Boolean):e.algorithm=a(e.algorithm),i().isEmpty(e.algorithm)&&delete e.algorithm),e}function a(e){return"string"==typeof e?e:e.toString()===r.theme.darkAlgorithm.toString()?"darkAlgorithm":e.toString()===r.theme.compactAlgorithm.toString()?"compactAlgorithm":void 0}},5217:function(e,t,n){"use strict";n.d(t,{w:function(){return u}});var r=n(2721),o=n(467),i=n.n(o);function u(e){var t;return e=i().cloneDeep(e),i().isString(e.config.algorithm)&&(e.config.algorithm=r.theme[e.config.algorithm]),Array.isArray(null==(t=e.config)?void 0:t.algorithm)&&(e.config.algorithm=e.config.algorithm.map(function(e){return i().isString(e)?r.theme[e]:e})),e}},2748:function(e,t,n){"use strict";n.d(t,{$:function(){return i},A:function(){return o}});var r=n(3238),o="theme-editor";function i(){return(0,r.useTranslation)([o,"client"],{nsMode:"fallback"})}},3581:function(e){e.exports=function(e,t){return"undefined"!=typeof __deoptimization_sideEffect__&&__deoptimization_sideEffect__(e,t),t}},1143:function(e){"use strict";e.exports=r},482:function(e){"use strict";e.exports=a},4964:function(e){"use strict";e.exports=o},3772:function(e){"use strict";e.exports=t},7584:function(e){"use strict";e.exports=u},2721:function(e){"use strict";e.exports=c},467:function(e){"use strict";e.exports=i},8156:function(e){"use strict";e.exports=n},3238:function(t){"use strict";t.exports=e}},b={};function y(e){var t=b[e];if(void 0!==t)return t.exports;var n=b[e]={exports:{}};return h[e](n,n.exports,y),n.exports}y.m=h,y.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(t,{a:t}),t},y.d=function(e,t){for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.f={},y.e=function(e){return Promise.all(Object.keys(y.f).reduce(function(t,n){return y.f[n](e,t),t},[]))},y.u=function(e){return""+({549:"b00409d86c095c84",75:"c82595eedf47675d",751:"df1f6dbeeffce444",837:"25b861dac0654ce8",898:"f54828f43cde7d12"})[e]+".js"},y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l={},s="@nocobase/plugin-theme-editor:",y.l=function(e,t,n,r){if(l[e])return void l[e].push(t);if(void 0!==n)for(var o,i,u=document.getElementsByTagName("script"),a=0;a<u.length;a++){var c=u[a];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==s+n){o=c;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,y.nc&&o.setAttribute("nonce",y.nc),o.setAttribute("data-webpack",s+n),o.src=e),l[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(d);var r=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),i&&document.head.appendChild(o)},y.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nc=void 0,(f=window.__nocobase_public_path__||"/").endsWith("/")||(f+="/"),y.p=f+"static/plugins/@nocobase/plugin-theme-editor/dist/client/",d={909:0},y.f.j=function(e,t){var n=y.o(d,e)?d[e]:void 0;if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=d[e]=[t,r]});t.push(n[2]=r);var o=y.p+y.u(e),i=Error();y.l(o,function(t){if(y.o(d,e)&&(0!==(n=d[e])&&(d[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}},p=function(e,t){var n,r,o=t[0],i=t[1],u=t[2],a=0;if(o.some(function(e){return 0!==d[e]})){for(n in i)y.o(i,n)&&(y.m[n]=i[n]);u&&u(y)}for(e&&e(t);a<o.length;a++)r=o[a],y.o(d,r)&&d[r]&&d[r][0](),d[r]=0},(m=self.webpackChunk_nocobase_plugin_theme_editor=self.webpackChunk_nocobase_plugin_theme_editor||[]).forEach(p.bind(null,0)),m.push=p.bind(null,m.push.bind(m));var v={};return!function(){"use strict";y.r(v),y.d(v,{PluginThemeEditorClient:function(){return C},default:function(){return A}});var e=y(3772),t=y(2721),n=y(467),r=y.n(n),o=y(8156),i=y.n(o),u=y(7584),a=y(1820),c=y(9273),l=y(2748),s=y(6597),f=function(){var t=(0,l.$)().t,n=(0,c.useThemeListContext)(),r=n.run,f=n.error,d=n.data,p=(0,s.Y)().updateUserThemeSettings,m=(0,a.useThemeId)().currentThemeId,h=(0,o.useMemo)(function(){return null==d?void 0:d.filter(function(e){return e.optional}).map(function(e){return{label:t(e.config.name),value:e.id}})},[d,t]);return((0,o.useEffect)(function(){d||r()},[]),f)?((0,u.error)(f),null):i().createElement(e.SchemaSettingsSelectItem,{title:t("Theme"),options:h,value:m,onChange:function(e){p(e)}})},d=y(3581);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,o)}function h(e,t,n){return(h=O()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t="function"==typeof Map?new Map:void 0;return(w=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,b(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),g(n,e)})(e)}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O=function(){return!!e})()}function j(){var e,t,n=(e=["\n overflow: hidden;\n border-left: 1px solid ",";\n animation: 0.1s ease-out 0s 1 slideInFromRight;\n @keyframes slideInFromRight {\n 0% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(0);\n }\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return j=function(){return n},n}var x=(0,e.lazy)(function(){return d("imported_-1bkn1ue_component",Promise.resolve().then(y.bind(y,1820)))}),P=(0,e.lazy)(function(){return d("imported_-16ae68t_component",y.e("898").then(y.bind(y,7350)))},"ThemeEditorProvider").ThemeEditorProvider,S=(0,e.lazy)(function(){return d("imported_-19lv318_component",Promise.all([y.e("837"),y.e("549"),y.e("751")]).then(y.bind(y,3898)))}),_=(0,e.lazy)(function(){return d("imported_-ofsaik_component",Promise.resolve().then(y.bind(y,9273)))},"ThemeListProvider").ThemeListProvider,T=(0,e.lazy)(function(){return d("imported_-1mfft73_component",Promise.all([y.e("837"),y.e("549"),y.e("75")]).then(y.bind(y,7124)))}),E=(0,e.createStyles)(function(e){var t=e.css,n=e.token;return{editor:t(j(),n.colorBorderSecondary)}}),k=i().memo(function(n){var u,a,c=(u=i().useState(!1),function(e){if(Array.isArray(e))return e}(u)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(n=o.next()).done)&&(i.push(n.value),i.length!==t);u=!0);}catch(e){a=!0,r=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw r}}return i}}(u,2)||function(e,t){if(e){if("string"==typeof e)return p(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}(u,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],s=c[1],f=(0,e.useGlobalTheme)(),d=f.theme,m=f.setTheme,h=E().styles,b=(0,o.useMemo)(function(){return l?{transform:"rotate(0)",flexGrow:1,width:0,height:"100%"}:{flexGrow:1,width:0,height:"100%"}},[l]),y=i().createElement("div",{style:{display:"flex",overflow:"auto",height:"100%"}},i().createElement("div",{style:b},n.children),l?i().createElement("div",{className:h.editor},i().createElement(T,{onThemeChange:m})):null);return(null==d||null==(a=d.token)?void 0:a.motionUnit)||r().set(d,"token.motionUnit",e.defaultTheme.token.motionUnit),i().createElement(t.ConfigProvider,{theme:d},i().createElement(_,null,i().createElement(x,null,i().createElement(P,{open:l,setOpen:s},y))))});k.displayName="CustomThemeProvider";var C=function(t){var n;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=b(e),function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,O()?Reflect.construct(e,t||[],b(this).constructor):e.apply(this,t))}return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),t&&g(r,t),n=[{key:"load",value:function(){var t,n=this;return(t=function(){return function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){var c=[i,a];if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){return n.app.use(k),n.app.pluginSettingsManager.add(l.A,{title:'{{t("Theme editor", {ns:"'.concat(l.A,'"})}}'),icon:"BgColorsOutlined",Component:S,aclSnippet:"pm.theme-editor.themes"}),n.app.addUserCenterSettingsItem({name:"theme",sort:310,Component:f,useVisible:function(){return!((0,e.useOpenModeContext)()||{}).isMobile}}),[2]})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(r.prototype,n),r}(w(e.Plugin)),A=C}(),v}()});
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@nocobase/client"),require("react"),require("@ant-design/cssinjs"),require("@emotion/css"),require("lodash"),require("antd"),require("@nocobase/utils/client"),require("@ant-design/icons"),require("react-i18next")):"function"==typeof define&&define.amd?define("@nocobase/plugin-theme-editor",["@nocobase/client","react","@ant-design/cssinjs","@emotion/css","lodash","antd","@nocobase/utils/client","@ant-design/icons","react-i18next"],t):"object"==typeof exports?exports["@nocobase/plugin-theme-editor"]=t(require("@nocobase/client"),require("react"),require("@ant-design/cssinjs"),require("@emotion/css"),require("lodash"),require("antd"),require("@nocobase/utils/client"),require("@ant-design/icons"),require("react-i18next")):e["@nocobase/plugin-theme-editor"]=t(e["@nocobase/client"],e.react,e["@ant-design/cssinjs"],e["@emotion/css"],e.lodash,e.antd,e["@nocobase/utils/client"],e["@ant-design/icons"],e["react-i18next"])}(self,function(e,t,n,r,o,i,u,a,c){return function(){var l,s,f,d,p,m,h={8290:function(e,t,n){"use strict";n.r(t),n.d(t,{useThemeId:function(){return f}});var r=n(3772),o=n(7584),i=n(8156),u=n.n(i),a=n(9649),c=n(9181),l=n(9204),s=u().createContext({}),f=function(){return u().useContext(s)},d=function(e){var t,n,f,d=e.children,p=(0,r.useCurrentUserContext)(),m=(0,r.useGlobalTheme)().setTheme,h=(0,l.useThemeListContext)(),b=h.run,y=h.data,v=h.loading,g=(0,i.useMemo)(function(){return null==y?void 0:y.find(function(e){return e.default})},[y]),w=(0,i.useRef)(null),O=(0,r.useAPIClient)();(0,i.useEffect)(function(){var e=O.auth.getOption("theme");if(e)try{m((0,c.w)(JSON.parse(e)).config)}catch(e){(0,o.error)(e)}},[]),(0,i.useEffect)(function(){if(!y)return b();var e,t,n,o,i=null==p||null==(n=p.data)||null==(t=n.data)||null==(e=t.systemSettings)?void 0:e.themeId;null!=i&&(o=y.find(function(e){return e.id===i})),o||(o=g),o?(w.current=o.id,m(o.config),O.auth.setOption("theme",JSON.stringify(Object.assign(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},o),{config:(0,a.i)(o.config)})))):(m(r.defaultTheme),O.auth.setOption("theme",null))},[O.auth,null==p||null==(f=p.data)||null==(n=f.data)||null==(t=n.systemSettings)?void 0:t.themeId,y,b,m,g]);var j=v&&!y||p.loading?{}:{currentThemeId:w.current,defaultThemeId:null==g?void 0:g.id};return u().createElement(s.Provider,{value:j},d)};d.displayName="InitializeTheme",t.default=d},9204:function(e,t,n){"use strict";n.r(t),n.d(t,{ThemeListProvider:function(){return s},useThemeListContext:function(){return l}});var r=n(3772),o=n(7584),i=n(8156),u=n.n(i),a=n(9181),c=(0,i.createContext)(null);c.displayName="ThemeListContext";var l=function(){return u().useContext(c)},s=function(e){var t=e.children,n=(0,r.useRequest)({url:"themeConfig:list",params:{sort:"id",paginate:!1}},{manual:!0}),l=n.data,s=n.error,f=n.run,d=n.refresh,p=n.loading,m=(0,i.useMemo)(function(){var e;return null==l||null==(e=l.data)?void 0:e.map(function(e){return(0,a.w)(e)})},[l]);return s&&(0,o.error)(s),u().createElement(c.Provider,{value:{data:m,error:s,run:f,refresh:d,loading:p}},t)};s.displayName="ThemeListProvider"},4936:function(e,t,n){"use strict";n.d(t,{Y:function(){return l}});var r=n(3772),o=n(7584),i=n(8156);function u(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,o)}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function l(){var e,t,n=(0,r.useAPIClient)(),l=(0,r.useCurrentUserContext)();return{updateUserThemeSettings:(0,i.useCallback)((e=function(e){var t;return function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){var c=[i,a];if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,n.resource("users").updateTheme({values:{themeId:e}})];case 1:return r.sent(),l.mutate({data:c(a({},l.data.data),{systemSettings:c(a({},l.data.data.systemSettings||{}),{themeId:e})})}),[3,3];case 2:return t=r.sent(),console.log(o.error),(0,o.error)(t),[3,3];case 3:return[2]}})},t=function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,"next",e)}function c(e){u(i,r,o,a,c,"throw",e)}a(void 0)})},function(e){return t.apply(this,arguments)}),[n,l])}}},9649:function(e,t,n){"use strict";n.d(t,{i:function(){return u}});var r=n(2721),o=n(467),i=n.n(o);function u(e){return(e=i().cloneDeep(e)).algorithm&&(Array.isArray(e.algorithm)?e.algorithm=e.algorithm.map(function(e){return a(e)}).filter(Boolean):e.algorithm=a(e.algorithm),i().isEmpty(e.algorithm)&&delete e.algorithm),e}function a(e){return"string"==typeof e?e:e.toString()===r.theme.darkAlgorithm.toString()?"darkAlgorithm":e.toString()===r.theme.compactAlgorithm.toString()?"compactAlgorithm":void 0}},9181:function(e,t,n){"use strict";n.d(t,{w:function(){return u}});var r=n(2721),o=n(467),i=n.n(o);function u(e){var t;return e=i().cloneDeep(e),i().isString(e.config.algorithm)&&(e.config.algorithm=r.theme[e.config.algorithm]),Array.isArray(null==(t=e.config)?void 0:t.algorithm)&&(e.config.algorithm=e.config.algorithm.map(function(e){return i().isString(e)?r.theme[e]:e})),e}},8551:function(e,t,n){"use strict";n.d(t,{$:function(){return i},A:function(){return o}});var r=n(3238),o="theme-editor";function i(){return(0,r.useTranslation)([o,"client"],{nsMode:"fallback"})}},3581:function(e){e.exports=function(e,t){return"undefined"!=typeof __deoptimization_sideEffect__&&__deoptimization_sideEffect__(e,t),t}},1143:function(e){"use strict";e.exports=n},482:function(e){"use strict";e.exports=a},4964:function(e){"use strict";e.exports=r},3772:function(t){"use strict";t.exports=e},7584:function(e){"use strict";e.exports=u},2721:function(e){"use strict";e.exports=i},467:function(e){"use strict";e.exports=o},8156:function(e){"use strict";e.exports=t},3238:function(e){"use strict";e.exports=c}},b={};function y(e){var t=b[e];if(void 0!==t)return t.exports;var n=b[e]={exports:{}};return h[e](n,n.exports,y),n.exports}y.m=h,y.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return y.d(t,{a:t}),t},y.d=function(e,t){for(var n in t)y.o(t,n)&&!y.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},y.f={},y.e=function(e){return Promise.all(Object.keys(y.f).reduce(function(t,n){return y.f[n](e,t),t},[]))},y.u=function(e){return""+({327:"4acfe66b1504e9e2",39:"1a8ca1e21b09091e",572:"9f56d6363d65244d",595:"717f252ea7b0f951",793:"56efc5f384c11f3a"})[e]+".js"},y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l={},s="@nocobase/plugin-theme-editor:",y.l=function(e,t,n,r){if(l[e])return void l[e].push(t);if(void 0!==n)for(var o,i,u=document.getElementsByTagName("script"),a=0;a<u.length;a++){var c=u[a];if(c.getAttribute("src")==e||c.getAttribute("data-webpack")==s+n){o=c;break}}o||(i=!0,(o=document.createElement("script")).charset="utf-8",o.timeout=120,y.nc&&o.setAttribute("nonce",y.nc),o.setAttribute("data-webpack",s+n),o.src=e),l[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(d);var r=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),i&&document.head.appendChild(o)},y.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nc=void 0,(f=window.__nocobase_public_path__||"/").endsWith("/")||(f+="/"),y.p=f+"static/plugins/@nocobase/plugin-theme-editor/dist/client/",d={909:0},y.f.j=function(e,t){var n=y.o(d,e)?d[e]:void 0;if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=d[e]=[t,r]});t.push(n[2]=r);var o=y.p+y.u(e),i=Error();y.l(o,function(t){if(y.o(d,e)&&(0!==(n=d[e])&&(d[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}},p=function(e,t){var n,r,o=t[0],i=t[1],u=t[2],a=0;if(o.some(function(e){return 0!==d[e]})){for(n in i)y.o(i,n)&&(y.m[n]=i[n]);u&&u(y)}for(e&&e(t);a<o.length;a++)r=o[a],y.o(d,r)&&d[r]&&d[r][0](),d[r]=0},(m=self.webpackChunk_nocobase_plugin_theme_editor=self.webpackChunk_nocobase_plugin_theme_editor||[]).forEach(p.bind(null,0)),m.push=p.bind(null,m.push.bind(m));var v={};return!function(){"use strict";y.r(v),y.d(v,{PluginThemeEditorClient:function(){return C},default:function(){return A}});var e=y(3772),t=y(2721),n=y(467),r=y.n(n),o=y(8156),i=y.n(o),u=y(7584),a=y(8290),c=y(9204),l=y(8551),s=y(4936),f=function(){var t=(0,l.$)().t,n=(0,c.useThemeListContext)(),r=n.run,f=n.error,d=n.data,p=(0,s.Y)().updateUserThemeSettings,m=(0,a.useThemeId)().currentThemeId,h=(0,o.useMemo)(function(){return null==d?void 0:d.filter(function(e){return e.optional}).map(function(e){return{label:t(e.config.name),value:e.id}})},[d,t]);return((0,o.useEffect)(function(){d||r()},[]),f)?((0,u.error)(f),null):i().createElement(e.SchemaSettingsSelectItem,{title:t("Theme"),options:h,value:m,onChange:function(e){p(e)}})},d=y(3581);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,o,i,u){try{var a=e[i](u),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,o)}function h(e,t,n){return(h=O()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function b(e){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t="function"==typeof Map?new Map:void 0;return(w=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,b(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),g(n,e)})(e)}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O=function(){return!!e})()}function j(){var e,t,n=(e=["\n overflow: hidden;\n border-left: 1px solid ",";\n animation: 0.1s ease-out 0s 1 slideInFromRight;\n @keyframes slideInFromRight {\n 0% {\n transform: translateX(100%);\n }\n 100% {\n transform: translateX(0);\n }\n }\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return j=function(){return n},n}var x=(0,e.lazy)(function(){return d("imported_-1bkn1ue_component",Promise.resolve().then(y.bind(y,8290)))}),P=(0,e.lazy)(function(){return d("imported_-16ae68t_component",y.e("793").then(y.bind(y,3546)))},"ThemeEditorProvider").ThemeEditorProvider,S=(0,e.lazy)(function(){return d("imported_-19lv318_component",Promise.all([y.e("572"),y.e("595"),y.e("39")]).then(y.bind(y,8524)))}),_=(0,e.lazy)(function(){return d("imported_-ofsaik_component",Promise.resolve().then(y.bind(y,9204)))},"ThemeListProvider").ThemeListProvider,T=(0,e.lazy)(function(){return d("imported_-1mfft73_component",Promise.all([y.e("572"),y.e("595"),y.e("327")]).then(y.bind(y,9598)))}),E=(0,e.createStyles)(function(e){var t=e.css,n=e.token;return{editor:t(j(),n.colorBorderSecondary)}}),k=i().memo(function(n){var u,a,c=(u=i().useState(!1),function(e){if(Array.isArray(e))return e}(u)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(n=o.next()).done)&&(i.push(n.value),i.length!==t);u=!0);}catch(e){a=!0,r=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw r}}return i}}(u,2)||function(e,t){if(e){if("string"==typeof e)return p(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}}(u,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=c[0],s=c[1],f=(0,e.useGlobalTheme)(),d=f.theme,m=f.setTheme,h=E().styles,b=(0,o.useMemo)(function(){return l?{transform:"rotate(0)",flexGrow:1,width:0,height:"100%"}:{flexGrow:1,width:0,height:"100%"}},[l]),y=i().createElement("div",{style:{display:"flex",overflow:"hidden",height:"100%"}},i().createElement("div",{style:b},n.children),l?i().createElement("div",{className:h.editor},i().createElement(T,{onThemeChange:m})):null);return(null==d||null==(a=d.token)?void 0:a.motionUnit)||r().set(d,"token.motionUnit",e.defaultTheme.token.motionUnit),i().createElement(t.ConfigProvider,{theme:d},i().createElement(_,null,i().createElement(x,null,i().createElement(P,{open:l,setOpen:s},y))))});k.displayName="CustomThemeProvider";var C=function(t){var n;if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=b(e),function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,O()?Reflect.construct(e,t||[],b(this).constructor):e.apply(this,t))}return r.prototype=Object.create(t&&t.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),t&&g(r,t),n=[{key:"load",value:function(){var t,n=this;return(t=function(){return function(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){var c=[i,a];if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=t.call(e,u)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(t){return n.app.use(k),n.app.pluginSettingsManager.add(l.A,{title:'{{t("Theme editor", {ns:"'.concat(l.A,'"})}}'),icon:"BgColorsOutlined",Component:S,aclSnippet:"pm.theme-editor.themes"}),n.app.addUserCenterSettingsItem({name:"theme",sort:310,Component:f,useVisible:function(){return!((0,e.useOpenModeContext)()||{}).isMobile}}),[2]})},function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function u(e){m(i,r,o,u,a,"next",e)}function a(e){m(i,r,o,u,a,"throw",e)}u(void 0)})})()}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(r.prototype,n),r}(w(e.Plugin)),A=C}(),v}()});
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "
|
|
11
|
+
"@nocobase/client": "2.0.0-alpha.2",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"antd": "5.24.2",
|
|
14
14
|
"lodash": "4.17.21",
|
|
15
|
-
"@nocobase/server": "
|
|
15
|
+
"@nocobase/server": "2.0.0-alpha.2",
|
|
16
16
|
"@ant-design/cssinjs": "1.21.1",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
|
-
"@nocobase/utils": "
|
|
18
|
+
"@nocobase/utils": "2.0.0-alpha.2",
|
|
19
19
|
"react-i18next": "11.18.6",
|
|
20
|
-
"@nocobase/actions": "
|
|
21
|
-
"@nocobase/database": "
|
|
20
|
+
"@nocobase/actions": "2.0.0-alpha.2",
|
|
21
|
+
"@nocobase/database": "2.0.0-alpha.2",
|
|
22
22
|
"@emotion/css": "11.13.0"
|
|
23
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-theme-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.2",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"homepage": "https://docs.nocobase.com/handbook/theme-editor",
|
|
6
6
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/theme-editor",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"vanilla-jsoneditor": "^0.17.8"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@nocobase/actions": "
|
|
29
|
-
"@nocobase/client": "
|
|
30
|
-
"@nocobase/database": "
|
|
31
|
-
"@nocobase/server": "
|
|
32
|
-
"@nocobase/test": "
|
|
33
|
-
"@nocobase/utils": "
|
|
28
|
+
"@nocobase/actions": "2.x",
|
|
29
|
+
"@nocobase/client": "2.x",
|
|
30
|
+
"@nocobase/database": "2.x",
|
|
31
|
+
"@nocobase/server": "2.x",
|
|
32
|
+
"@nocobase/test": "2.x",
|
|
33
|
+
"@nocobase/utils": "2.x"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "1322f486b248bef53ed8c8f42f0a39dfd02125fd",
|
|
36
36
|
"keywords": [
|
|
37
37
|
"System management"
|
|
38
38
|
]
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
(self.webpackChunk_nocobase_plugin_theme_editor=self.webpackChunk_nocobase_plugin_theme_editor||[]).push([["75"],{5092:function(e,t,r){"use strict";var a=r(437).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=a(r(4823)).default},5498:function(e,t,r){"use strict";var a=r(437).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=a(r(4361)).default},4823:function(e,t,r){"use strict";var a=r(437).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(8249)),n=a(r(3881));t.default={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},l.default),timePickerLocale:Object.assign({},n.default)}},4361:function(e,t,r){"use strict";var a=r(437).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(1632)),n=a(r(2892));let o={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},l.default),timePickerLocale:Object.assign({},n.default)};o.lang.ok="确定",t.default=o},5386:function(e,t,r){"use strict";var a=r(437).default;t.default=void 0;var l=a(r(3815)),n=a(r(5092)),o=a(r(4823)),i=a(r(3881));let c="${label} is not a valid ${type}";t.default={locale:"en",Pagination:l.default,DatePicker:o.default,TimePicker:i.default,Calendar:n.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}}},3090:function(e,t,r){"use strict";var a=r(437).default;t.default=void 0;var l=a(r(2204)),n=a(r(5498)),o=a(r(4361)),i=a(r(2892));let c="${label}不是一个有效的${type}";t.default={locale:"zh-cn",Pagination:l.default,DatePicker:o.default,TimePicker:i.default,Calendar:n.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckAll:"全选",filterSearchPlaceholder:"在筛选项中搜索",emptyText:"暂无数据",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",deselectAll:"取消全选",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开",collapse:"收起"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新",scanned:"已扫描"},ColorPicker:{presetEmpty:"暂无",transparent:"无色",singleColor:"单色",gradientColor:"渐变色"}}},3881:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},2892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},7124:function(e,t,r){"use strict";r.r(t);var a=r(4964),l=r(3772),n=r(7584),o=r(2721),i=r(5386),c=r(3090),u=r(8156),s=r.n(u),d=r(4987),f=r(6597),p=r(2748),m=r(1693),h=r(7350),b=r(9273);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}function v(e,t,r,a,l,n,o){try{var i=e[n](o),c=i.value}catch(e){r(e);return}i.done?t(c):Promise.resolve(c).then(a,l)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,a,l=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n=[],o=!0,i=!1;try{for(l=l.call(e);!(o=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var P=(0,l.createStyles)(function(e){var t=e.token;return{editor:(0,a.css)({"& > div:nth-child(2)":{display:"none"}}),header:(0,a.css)({width:"100%",height:56,padding:"0 16px",borderBottom:"1px solid #F0F0F0",backgroundColor:"#fff","> .ant-space-item:first-child":{flex:1}}),errorPlaceholder:(0,a.css)({"&::placeholder":{color:t.colorErrorText}})}});t.default=function(e){var t,r,g=e.onThemeChange,$=P().styles,_=(0,l.useGlobalTheme)(),S=_.theme,O=_.setTheme,C=_.getCurrentSettingTheme,w=_.setCurrentEditingTheme,k=_.getCurrentEditingTheme,j=x(s().useState(S),2),T=j[0],E=j[1],M=(0,h.useThemeEditorContext)().setOpen,Y=(0,p.$)(),A=Y.t,D=Y.i18n,F=(0,b.useThemeListContext)().refresh,N=(0,l.useAPIClient)(),I=x(s().useState(S.name),2),U=I[0],R=I[1],q=x(s().useState(!1),2),L=q[0],z=q[1],B=(0,f.Y)().updateUserThemeSettings,K=x(s().useState(),2),Q=K[0],G=K[1];(0,u.useEffect)(function(){E(S)},[S]);var V=D.language,W=(t=function(){var e,t,r;return function(e,t){var r,a,l,n,o={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return n={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function i(n){return function(i){var c=[n,i];if(r)throw TypeError("Generator is already executing.");for(;o;)try{if(r=1,a&&(l=2&c[0]?a.return:c[0]?a.throw||((l=a.return)&&l.call(a),0):a.next)&&!(l=l.call(a,c[1])).done)return l;switch(a=0,l&&(c=[2&c[0],l.value]),c[0]){case 0:case 1:l=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,a=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(l=(l=o.trys).length>0&&l[l.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!l||c[1]>l[0]&&c[1]<l[3])){o.label=c[1];break}if(6===c[0]&&o.label<l[1]){o.label=l[1],l=c;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(c);break}l[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],a=0}finally{r=l=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}(this,function(a){switch(a.label){case 0:if(!U)return G("error"),[2];if(z(!0),!k())return[3,5];(e=k()).config=(0,m.i)(T),e.config.name=U,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,N.request({url:"themeConfig:update/".concat(e.id),method:"POST",data:e})];case 2:return a.sent(),null==F||F(),o.message.success(A("Saved successfully")),[3,4];case 3:return t=a.sent(),(0,n.error)(t),[3,4];case 4:return z(!1),M(!1),w(null),E(C()),[2];case 5:var l,i;return a.trys.push([5,8,,9]),[4,N.request({url:"themeConfig:create",method:"POST",data:{config:(l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},a=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),a.forEach(function(t){y(e,t,r[t])})}return e}({},(0,m.i)(T)),i=i={name:U},Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(i)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);r.push.apply(r,a)}return r})(Object(i)).forEach(function(e){Object.defineProperty(l,e,Object.getOwnPropertyDescriptor(i,e))}),l),optional:!0,isBuiltIn:!1}})];case 6:return[4,B(a.sent().data.data.id)];case 7:return a.sent(),null==F||F(),o.message.success(A("Saved successfully")),[3,9];case 8:return r=a.sent(),(0,n.error)(r),[3,9];case 9:return z(!1),M(!1),[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(a,l){var n=t.apply(e,r);function o(e){v(n,a,l,o,i,"next",e)}function i(e){v(n,a,l,o,i,"throw",e)}o(void 0)})},function(){return r.apply(this,arguments)});return s().createElement(s().Fragment,null,s().createElement(o.ConfigProvider,{theme:{inherit:!1},locale:"zh-CN"===V?c.default:i.default},s().createElement(o.Space,{className:$.header},s().createElement(o.Input,{className:(0,a.cx)(y({},$.errorPlaceholder,"error"===Q)),status:Q,placeholder:A("Please set a name for this theme"),value:U,onChange:function(e){e.target.value?G(""):G("error"),R(e.target.value)},onPressEnter:W}),s().createElement(o.Button,{type:"default",onClick:function(){M(!1),O(C()),w(null)}},A("Close")),s().createElement(o.Button,{loading:L,type:"primary",onClick:W},A("Save"))),s().createElement(d.$V,{className:$.editor,theme:{name:"Custom Theme",key:"test",config:T},style:{height:"calc(100vh - 56px)",width:540},onThemeChange:function(e){E(e.config),null==g||g(e.config)},locale:"zh-CN"===V?d.U1:d._z})))}},3815:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},2204:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"}},5311:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonLocale=void 0,t.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}},8249:function(e,t,r){"use strict";var a=r(9235).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(8949)),n=r(5311);t.default=(0,l.default)((0,l.default)({},n.commonLocale),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"})},1632:function(e,t,r){"use strict";var a=r(9235).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(r(8949)),n=r(5311);t.default=(0,l.default)((0,l.default)({},n.commonLocale),{},{locale:"zh_CN",today:"今天",now:"此刻",backToToday:"返回今天",ok:"确定",timeSelect:"选择时间",dateSelect:"选择日期",weekSelect:"选择周",clear:"清除",week:"周",month:"月",year:"年",previousMonth:"上个月 (翻页上键)",nextMonth:"下个月 (翻页下键)",monthSelect:"选择月份",yearSelect:"选择年份",decadeSelect:"选择年代",previousYear:"上一年 (Control键加左方向键)",nextYear:"下一年 (Control键加右方向键)",previousDecade:"上一年代",nextDecade:"下一年代",previousCentury:"上一世纪",nextCentury:"下一世纪",yearFormat:"YYYY年",cellDateFormat:"D",monthBeforeYear:!1})},437:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6602:function(e,t,r){var a=r(4145);e.exports=function(e,t,r){return(t=a(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},9235:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8949:function(e,t,r){var a=r(6602);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,a)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e},e.exports.__esModule=!0,e.exports.default=e.exports},2886:function(e,t,r){var a=r(781).default;e.exports=function(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var l=r.call(e,t||"default");if("object"!=a(l))return l;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},4145:function(e,t,r){var a=r(781).default,l=r(2886);e.exports=function(e){var t=l(e,"string");return"symbol"==a(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},781:function(e){function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}}]);
|