@para-ui/core 2.1.25 → 2.1.26
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/AutoTips/index.d.ts +1 -0
- package/Collapse/index.d.ts +1 -0
- package/ComBox/index.d.ts +16 -0
- package/ComBox/index.js +16 -0
- package/ComBox/interface.d.ts +5 -0
- package/ComboSelect/index.js +1 -1
- package/Form/index.js +2 -2
- package/FormItem/index.js +2 -2
- package/GlobalContext/componentsProps.d.ts +8 -0
- package/GlobalContext/confirmLocale.d.ts +7 -0
- package/GlobalContext/index.d.ts +5 -7
- package/GlobalContext/index.js +1 -1
- package/InputLang/index.js +19 -19
- package/MultiBox/index.js +2 -2
- package/Pagination/index.js +1 -1
- package/ParauiProvider/index.js +1 -1
- package/README.md +8 -0
- package/Search/index.js +2 -2
- package/Select/index.d.ts +2 -3
- package/Select/index.js +1 -1
- package/Select/selectCom.d.ts +11 -0
- package/SelectInput/index.js +1 -1
- package/SingleBox/index.js +2 -2
- package/Table/index.js +1 -1
- package/TextField/index.js +2 -2
- package/TextField/textFieldCom.d.ts +11 -0
- package/Transfer/index.js +2 -2
- package/Upload/ImgCrop/interface.d.ts +1 -1
- package/Upload/index.js +1 -1
- package/Upload/lang/en_US.d.ts +1 -0
- package/Upload/lang/index.d.ts +2 -0
- package/Upload/lang/zh_CN.d.ts +1 -0
- package/cdn/ComBox/index.js +1 -0
- package/cdn/ComboSelect/index.js +1 -1
- package/cdn/Form/index.js +20 -20
- package/cdn/FormItem/index.js +5 -5
- package/cdn/GlobalContext/index.js +1 -1
- package/cdn/InputLang/index.js +2 -2
- package/cdn/MultiBox/index.js +4 -4
- package/cdn/Pagination/index.js +1 -1
- package/cdn/ParauiProvider/index.js +1 -1
- package/cdn/Search/index.js +19 -19
- package/cdn/Select/index.js +1 -1
- package/cdn/SelectInput/index.js +1 -1
- package/cdn/SingleBox/index.js +4 -4
- package/cdn/Table/index.js +4 -4
- package/cdn/TextField/index.js +4 -4
- package/cdn/Transfer/index.js +2 -2
- package/cdn/Upload/index.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* @website https://github.com/cssinjs/jss
|
|
7
7
|
* @license MIT
|
|
8
8
|
*/
|
|
9
|
-
Pt();var jt=Date.now(),At="fnValues"+jt,Ct="fnStyle"+ ++jt,Mt=function(){return{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=ve(e,{},r);return n[Ct]=t,n},onProcessStyle:function(e,t){if(At in t||Ct in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[At]=r,e},onUpdate:function(e,t,r,n){var i=t,o=i[Ct];o&&(i.style=o(e)||{});var a=i[At];if(a)for(var s in a)i.prop(s,a[s](e),n)}}},It="@global",zt="@global ",Tt=function(){function e(e,t,r){for(var n in this.type="global",this.at=It,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new nt(l({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Et=function(){function e(e,t,r){this.type="global",this.at=It,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(zt.length);this.rule=r.jss.createRule(n,t,l({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Nt=/\s*,\s*/g;function Lt(e,t){for(var r=e.split(Nt),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var Wt=function(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===It)return new Tt(e,t,r);if("@"===e[0]&&e.substr(0,zt.length)===zt)return new Et(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[It]:null;if(i){for(var o in i)t.addRule(o,i[o],l({},r,{selector:Lt(o,e.selector)}));delete n[It]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,It.length)===It){var o=Lt(i.substr(It.length),e.selector);t.addRule(o,n[i],l({},r,{selector:o})),delete n[i]}}(e,t))}}},qt=/\s*,\s*/g,Ft=/&/g,Bt=/\$([\w-]+)/g;var _t=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(qt),n=e.split(qt),i="",o=0;o<r.length;o++)for(var a=r[o],s=0;s<n.length;s++){var u=n[s];i&&(i+=", "),i+=-1!==u.indexOf("&")?u.replace(Ft,a):a+" "+u}return i}function r(e,t,r){if(r)return l({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=l({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,o){if("style"!==i.type)return n;var a,s,u=i,c=u.options.parent;for(var d in n){var f=-1!==d.indexOf("&"),p="@"===d[0];if(f||p){if(a=r(u,c,a),f){var h=t(d,u.selector);s||(s=e(c,o)),h=h.replace(Bt,s);var b=u.key+"-"+d;"replaceRule"in c?c.replaceRule(b,n[d],l({},a,{selector:h})):c.addRule(b,n[d],l({},a,{selector:h}))}else p&&c.addRule(d,{},a).addRule(u.key,n[d],{selector:u.selector});delete n[d]}}return n}}},Gt=/[A-Z]/g,Ut=/^ms-/,Vt={};function Ht(e){return"-"+e.toLowerCase()}var Dt=function(e){if(Vt.hasOwnProperty(e))return Vt[e];var t=e.replace(Gt,Ht);return Vt[e]=Ut.test(t)?"-"+t:t};function Jt(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Dt(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Jt):t.fallbacks=Jt(e.fallbacks)),t}var Yt=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Jt(e[t]);return e}return Jt(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Dt(t);return t===n?e:(r.prop(n,e),null)}}},$t=Ot&&CSS?CSS.px:"px",Xt=Ot&&CSS?CSS.ms:"ms",Kt=Ot&&CSS?CSS.percent:"%";function Qt(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var Zt=Qt({"animation-delay":Xt,"animation-duration":Xt,"background-position":$t,"background-position-x":$t,"background-position-y":$t,"background-size":$t,border:$t,"border-bottom":$t,"border-bottom-left-radius":$t,"border-bottom-right-radius":$t,"border-bottom-width":$t,"border-left":$t,"border-left-width":$t,"border-radius":$t,"border-right":$t,"border-right-width":$t,"border-top":$t,"border-top-left-radius":$t,"border-top-right-radius":$t,"border-top-width":$t,"border-width":$t,"border-block":$t,"border-block-end":$t,"border-block-end-width":$t,"border-block-start":$t,"border-block-start-width":$t,"border-block-width":$t,"border-inline":$t,"border-inline-end":$t,"border-inline-end-width":$t,"border-inline-start":$t,"border-inline-start-width":$t,"border-inline-width":$t,"border-start-start-radius":$t,"border-start-end-radius":$t,"border-end-start-radius":$t,"border-end-end-radius":$t,margin:$t,"margin-bottom":$t,"margin-left":$t,"margin-right":$t,"margin-top":$t,"margin-block":$t,"margin-block-end":$t,"margin-block-start":$t,"margin-inline":$t,"margin-inline-end":$t,"margin-inline-start":$t,padding:$t,"padding-bottom":$t,"padding-left":$t,"padding-right":$t,"padding-top":$t,"padding-block":$t,"padding-block-end":$t,"padding-block-start":$t,"padding-inline":$t,"padding-inline-end":$t,"padding-inline-start":$t,"mask-position-x":$t,"mask-position-y":$t,"mask-size":$t,height:$t,width:$t,"min-height":$t,"max-height":$t,"min-width":$t,"max-width":$t,bottom:$t,left:$t,top:$t,right:$t,inset:$t,"inset-block":$t,"inset-block-end":$t,"inset-block-start":$t,"inset-inline":$t,"inset-inline-end":$t,"inset-inline-start":$t,"box-shadow":$t,"text-shadow":$t,"column-gap":$t,"column-rule":$t,"column-rule-width":$t,"column-width":$t,"font-size":$t,"font-size-delta":$t,"letter-spacing":$t,"text-decoration-thickness":$t,"text-indent":$t,"text-stroke":$t,"text-stroke-width":$t,"word-spacing":$t,motion:$t,"motion-offset":$t,outline:$t,"outline-offset":$t,"outline-width":$t,perspective:$t,"perspective-origin-x":Kt,"perspective-origin-y":Kt,"transform-origin":Kt,"transform-origin-x":Kt,"transform-origin-y":Kt,"transform-origin-z":Kt,"transition-delay":Xt,"transition-duration":Xt,"vertical-align":$t,"flex-basis":$t,"shape-margin":$t,size:$t,gap:$t,grid:$t,"grid-gap":$t,"row-gap":$t,"grid-row-gap":$t,"grid-column-gap":$t,"grid-template-rows":$t,"grid-template-columns":$t,"grid-auto-rows":$t,"grid-auto-columns":$t,"box-shadow-x":$t,"box-shadow-y":$t,"box-shadow-blur":$t,"box-shadow-spread":$t,"font-line-height":$t,"text-shadow-x":$t,"text-shadow-y":$t,"text-shadow-blur":$t});function er(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=er(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=er(i,t[i],r);else for(var o in t)t[o]=er(e+"-"+o,t[o],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||Zt[e];return!a||0===t&&a===$t?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var tr=function(e){void 0===e&&(e={});var t=Qt(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=er(n,e[n],t);return e},onChangeValue:function(e,r){return er(r,e,t)}}};function rr(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nr="",ir="",or="",ar="",sr=de&&"ontouchstart"in document.documentElement;if(de){var ur={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},lr=document.createElement("p").style;for(var cr in ur)if(cr+"Transform"in lr){nr=cr,ir=ur[cr];break}"Webkit"===nr&&"msHyphens"in lr&&(nr="ms",ir=ur.ms,ar="edge"),"Webkit"===nr&&"-apple-trailing-word"in lr&&(or="apple")}var dr=nr,fr=ir,pr=or,hr=ar,br=sr;var gr={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===dr?"-webkit-"+e:fr+e)}},mr={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===dr?fr+"print-"+e:e)}},yr=/[-\s]+(.)?/g;function vr(e,t){return t?t.toUpperCase():""}function kr(e){return e.replace(yr,vr)}function xr(e){return kr("-"+e)}var wr,Sr={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===dr){var r="mask-image";if(kr(r)in t)return e;if(dr+xr(r)in t)return fr+e}return e}},Rr={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==pr||br?e:fr+e)}},Pr={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:fr+e)}},Or={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:fr+e)}},jr={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===dr||"ms"===dr&&"edge"!==hr?fr+e:e)}},Ar={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===dr||"ms"===dr||"apple"===pr?fr+e:e)}},Cr={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===dr?"WebkitColumn"+xr(e)in t&&fr+"column-"+e:"Moz"===dr&&("page"+xr(e)in t&&"page-"+e))}},Mr={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===dr)return e;var r=e.replace("-inline","");return dr+xr(r)in t&&fr+r}},Ir={supportedProperty:function(e,t){return kr(e)in t&&e}},zr={supportedProperty:function(e,t){var r=xr(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:dr+r in t?fr+e:"Webkit"!==dr&&"Webkit"+r in t&&"-webkit-"+e}},Tr={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===dr?""+fr+e:e)}},Er={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===dr?fr+"scroll-chaining":e)}},Nr={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Lr={supportedProperty:function(e,t){var r=Nr[e];return!!r&&(dr+xr(r)in t&&fr+r)}},Wr={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},qr=Object.keys(Wr),Fr=function(e){return fr+e},Br={supportedProperty:function(e,t,r){var n=r.multiple;if(qr.indexOf(e)>-1){var i=Wr[e];if(!Array.isArray(i))return dr+xr(i)in t&&fr+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(dr+xr(i[0])in t))return!1;return i.map(Fr)}return!1}},_r=[gr,mr,Sr,Rr,Pr,Or,jr,Ar,Cr,Mr,Ir,zr,Tr,Er,Lr,Br],Gr=_r.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Ur=_r.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,rr(t.noPrefill)),e}),[]),Vr={};if(de){wr=document.createElement("p");var Hr=window.getComputedStyle(document.documentElement,"");for(var Dr in Hr)isNaN(Dr)||(Vr[Hr[Dr]]=Hr[Dr]);Ur.forEach((function(e){return delete Vr[e]}))}function Jr(e,t){if(void 0===t&&(t={}),!wr)return e;if(null!=Vr[e])return Vr[e];"transition"!==e&&"transform"!==e||(t[e]=e in wr.style);for(var r=0;r<Gr.length&&(Vr[e]=Gr[r](e,wr.style,t),!Vr[e]);r++);try{wr.style[e]=""}catch(e){return!1}return Vr[e]}var Yr,$r={},Xr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Kr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Qr(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Jr(t):", "+Jr(r);return n||(t||r)}function Zr(e,t){var r=t;if(!Yr||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=$r[n])return $r[n];try{Yr.style[e]=r}catch(e){return $r[n]=!1,!1}if(Xr[e])r=r.replace(Kr,Qr);else if(""===Yr.style[e]&&("-ms-flex"===(r=fr+r)&&(Yr.style[e]="-ms-flexbox"),Yr.style[e]=r,""===Yr.style[e]))return $r[n]=!1,!1;return Yr.style[e]="",$r[n]=r,$r[n]}de&&(Yr=document.createElement("p"));var en=function(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var i=!1,o=Jr(r);o&&o!==r&&(i=!0);var a=!1,s=Zr(o,xe(n));s&&s!==n&&(a=!0),(i||a)&&(i&&delete t[r],t[o||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===dr?e:"@"+fr+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Zr(t,xe(e))||e}}};var tn=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)n[i[o]]=t[i[o]];return n}}};function rn(){return{plugins:[Mt(),Wt(),_t(),Yt(),tr(),"undefined"==typeof window?null:en(),tn()]}}var nn,on=Pt(rn()),an={disableGeneration:!1,generateClassName:i(),jss:on,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},sn=t().createContext(an);function un(e){var r=e.children,n=e.injectFirst,i=void 0!==n&&n,o=e.disableGeneration,a=void 0!==o&&o,s=u(e,["children","injectFirst","disableGeneration"]),c=l({},t().useContext(sn),{disableGeneration:a},s);if(!c.jss.options.insertionPoint&&i&&"undefined"!=typeof window){if(!nn){var d=document.head;nn=document.createComment("mui-inject-first"),d.insertBefore(nn,d.firstChild)}c.jss=Pt({plugins:rn().plugins,insertionPoint:nn})}return t().createElement(sn.Provider,{value:c},r)}var ln=t().createContext(null);var cn=function(e){var n=e.children,i=e.theme,o=t().useContext(ln),a=t().useMemo((function(){var e=null===o?i:function(e,t){return"function"==typeof t?t(e):l({},e,t)}(o,i);return null!=e&&(e[r]=null!==o),e}),[i,o]);return t().createElement(ln.Provider,{value:a},n)},dn=o(65395),fn=o.n(dn),pn=o(58543),hn=function(e){var r,n,i,o,a=e.ops,s=e.i18nData,u=e.lang,l=e.params,c=e.defI18nData;if("string"==typeof a)n=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';n=a.id}void 0!==n&&(void 0===(r=null===(i=s[u])||void 0===i?void 0:i[n])&&c&&(r=null===(o=c[u])||void 0===o?void 0:o[n]));return"string"!=typeof r?"{".concat(n,"}"):function(e,r){if(!r)return e;var n=!1,i=(e=e.replace(/\"/g,'\\"')).replace(/\{(.*?)\}/gi,(function(e,t){return"object"==typeof r[t]&&(n=!0),'",vars.'.concat(t,',"')}));return n?new Function("vars",'return ["'.concat(i,'"];'))(r).map((function(e){return t().createElement(t().Fragment,{key:Math.random()},e)})):new Function("vars",'return ["'.concat(i,"\"].join('');"))(r)}(r,l)};o(83452);function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){bn(e,t,r[t])}))}return e}var mn=function(e){var r,n=i({seed:e.seed||"",productionPrefix:e.productionPrefix||"paraui"});r=e.theme?le(gn({},e.theme)):le({});return t().useEffect((function(){var t=e.language||(0,pn.GetLanguage)(),r=(e.locale||{})[t]||{};null===dn.changeConfirmLocale||void 0===dn.changeConfirmLocale||(0,dn.changeConfirmLocale)(r)}),[e]),t().createElement(un,{generateClassName:n,injectFirst:!0},t().createElement(cn,{theme:r},t().createElement(fn().Provider,{value:gn({},e,{language:e.language||(0,pn.GetLanguage)(),intlFormat:function(t,r){return function(n,i){var o=e.language||(0,pn.GetLanguage)(),a=(e.locale||{})[o]||{};return a=bn({},o,a[t]||{}),hn({ops:n,i18nData:a,lang:o,params:i,defI18nData:r})}}})},e.children)))},yn=mn}(),a}()}));
|
|
9
|
+
Pt();var jt=Date.now(),At="fnValues"+jt,Ct="fnStyle"+ ++jt,Mt=function(){return{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var n=ve(e,{},r);return n[Ct]=t,n},onProcessStyle:function(e,t){if(At in t||Ct in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[At]=r,e},onUpdate:function(e,t,r,n){var i=t,o=i[Ct];o&&(i.style=o(e)||{});var a=i[At];if(a)for(var s in a)i.prop(s,a[s](e),n)}}},It="@global",zt="@global ",Tt=function(){function e(e,t,r){for(var n in this.type="global",this.at=It,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new nt(l({},r,{parent:this})),t)this.rules.add(n,t[n]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Et=function(){function e(e,t,r){this.type="global",this.at=It,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(zt.length);this.rule=r.jss.createRule(n,t,l({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Nt=/\s*,\s*/g;function Lt(e,t){for(var r=e.split(Nt),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var Wt=function(){return{onCreateRule:function(e,t,r){if(!e)return null;if(e===It)return new Tt(e,t,r);if("@"===e[0]&&e.substr(0,zt.length)===zt)return new Et(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[It]:null;if(i){for(var o in i)t.addRule(o,i[o],l({},r,{selector:Lt(o,e.selector)}));delete n[It]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,It.length)===It){var o=Lt(i.substr(It.length),e.selector);t.addRule(o,n[i],l({},r,{selector:o})),delete n[i]}}(e,t))}}},qt=/\s*,\s*/g,Ft=/&/g,Bt=/\$([\w-]+)/g;var _t=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(qt),n=e.split(qt),i="",o=0;o<r.length;o++)for(var a=r[o],s=0;s<n.length;s++){var u=n[s];i&&(i+=", "),i+=-1!==u.indexOf("&")?u.replace(Ft,a):a+" "+u}return i}function r(e,t,r){if(r)return l({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=l({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,o){if("style"!==i.type)return n;var a,s,u=i,c=u.options.parent;for(var d in n){var f=-1!==d.indexOf("&"),p="@"===d[0];if(f||p){if(a=r(u,c,a),f){var h=t(d,u.selector);s||(s=e(c,o)),h=h.replace(Bt,s);var b=u.key+"-"+d;"replaceRule"in c?c.replaceRule(b,n[d],l({},a,{selector:h})):c.addRule(b,n[d],l({},a,{selector:h}))}else p&&c.addRule(d,{},a).addRule(u.key,n[d],{selector:u.selector});delete n[d]}}return n}}},Gt=/[A-Z]/g,Ut=/^ms-/,Vt={};function Ht(e){return"-"+e.toLowerCase()}var Dt=function(e){if(Vt.hasOwnProperty(e))return Vt[e];var t=e.replace(Gt,Ht);return Vt[e]=Ut.test(t)?"-"+t:t};function Jt(e){var t={};for(var r in e){t[0===r.indexOf("--")?r:Dt(r)]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Jt):t.fallbacks=Jt(e.fallbacks)),t}var Yt=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Jt(e[t]);return e}return Jt(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=Dt(t);return t===n?e:(r.prop(n,e),null)}}},$t=Ot&&CSS?CSS.px:"px",Xt=Ot&&CSS?CSS.ms:"ms",Kt=Ot&&CSS?CSS.percent:"%";function Qt(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var Zt=Qt({"animation-delay":Xt,"animation-duration":Xt,"background-position":$t,"background-position-x":$t,"background-position-y":$t,"background-size":$t,border:$t,"border-bottom":$t,"border-bottom-left-radius":$t,"border-bottom-right-radius":$t,"border-bottom-width":$t,"border-left":$t,"border-left-width":$t,"border-radius":$t,"border-right":$t,"border-right-width":$t,"border-top":$t,"border-top-left-radius":$t,"border-top-right-radius":$t,"border-top-width":$t,"border-width":$t,"border-block":$t,"border-block-end":$t,"border-block-end-width":$t,"border-block-start":$t,"border-block-start-width":$t,"border-block-width":$t,"border-inline":$t,"border-inline-end":$t,"border-inline-end-width":$t,"border-inline-start":$t,"border-inline-start-width":$t,"border-inline-width":$t,"border-start-start-radius":$t,"border-start-end-radius":$t,"border-end-start-radius":$t,"border-end-end-radius":$t,margin:$t,"margin-bottom":$t,"margin-left":$t,"margin-right":$t,"margin-top":$t,"margin-block":$t,"margin-block-end":$t,"margin-block-start":$t,"margin-inline":$t,"margin-inline-end":$t,"margin-inline-start":$t,padding:$t,"padding-bottom":$t,"padding-left":$t,"padding-right":$t,"padding-top":$t,"padding-block":$t,"padding-block-end":$t,"padding-block-start":$t,"padding-inline":$t,"padding-inline-end":$t,"padding-inline-start":$t,"mask-position-x":$t,"mask-position-y":$t,"mask-size":$t,height:$t,width:$t,"min-height":$t,"max-height":$t,"min-width":$t,"max-width":$t,bottom:$t,left:$t,top:$t,right:$t,inset:$t,"inset-block":$t,"inset-block-end":$t,"inset-block-start":$t,"inset-inline":$t,"inset-inline-end":$t,"inset-inline-start":$t,"box-shadow":$t,"text-shadow":$t,"column-gap":$t,"column-rule":$t,"column-rule-width":$t,"column-width":$t,"font-size":$t,"font-size-delta":$t,"letter-spacing":$t,"text-decoration-thickness":$t,"text-indent":$t,"text-stroke":$t,"text-stroke-width":$t,"word-spacing":$t,motion:$t,"motion-offset":$t,outline:$t,"outline-offset":$t,"outline-width":$t,perspective:$t,"perspective-origin-x":Kt,"perspective-origin-y":Kt,"transform-origin":Kt,"transform-origin-x":Kt,"transform-origin-y":Kt,"transform-origin-z":Kt,"transition-delay":Xt,"transition-duration":Xt,"vertical-align":$t,"flex-basis":$t,"shape-margin":$t,size:$t,gap:$t,grid:$t,"grid-gap":$t,"row-gap":$t,"grid-row-gap":$t,"grid-column-gap":$t,"grid-template-rows":$t,"grid-template-columns":$t,"grid-auto-rows":$t,"grid-auto-columns":$t,"box-shadow-x":$t,"box-shadow-y":$t,"box-shadow-blur":$t,"box-shadow-spread":$t,"font-line-height":$t,"text-shadow-x":$t,"text-shadow-y":$t,"text-shadow-blur":$t});function er(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=er(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=er(i,t[i],r);else for(var o in t)t[o]=er(e+"-"+o,t[o],r);else if("number"==typeof t&&!1===isNaN(t)){var a=r[e]||Zt[e];return!a||0===t&&a===$t?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var tr=function(e){void 0===e&&(e={});var t=Qt(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=er(n,e[n],t);return e},onChangeValue:function(e,r){return er(r,e,t)}}};function rr(e){return function(e){if(Array.isArray(e))return U(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nr="",ir="",or="",ar="",sr=de&&"ontouchstart"in document.documentElement;if(de){var ur={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},lr=document.createElement("p").style;for(var cr in ur)if(cr+"Transform"in lr){nr=cr,ir=ur[cr];break}"Webkit"===nr&&"msHyphens"in lr&&(nr="ms",ir=ur.ms,ar="edge"),"Webkit"===nr&&"-apple-trailing-word"in lr&&(or="apple")}var dr=nr,fr=ir,pr=or,hr=ar,br=sr;var gr={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===dr?"-webkit-"+e:fr+e)}},mr={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===dr?fr+"print-"+e:e)}},yr=/[-\s]+(.)?/g;function vr(e,t){return t?t.toUpperCase():""}function kr(e){return e.replace(yr,vr)}function xr(e){return kr("-"+e)}var wr,Sr={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===dr){var r="mask-image";if(kr(r)in t)return e;if(dr+xr(r)in t)return fr+e}return e}},Rr={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==pr||br?e:fr+e)}},Pr={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:fr+e)}},Or={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:fr+e)}},jr={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===dr||"ms"===dr&&"edge"!==hr?fr+e:e)}},Ar={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===dr||"ms"===dr||"apple"===pr?fr+e:e)}},Cr={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===dr?"WebkitColumn"+xr(e)in t&&fr+"column-"+e:"Moz"===dr&&("page"+xr(e)in t&&"page-"+e))}},Mr={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===dr)return e;var r=e.replace("-inline","");return dr+xr(r)in t&&fr+r}},Ir={supportedProperty:function(e,t){return kr(e)in t&&e}},zr={supportedProperty:function(e,t){var r=xr(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:dr+r in t?fr+e:"Webkit"!==dr&&"Webkit"+r in t&&"-webkit-"+e}},Tr={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===dr?""+fr+e:e)}},Er={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===dr?fr+"scroll-chaining":e)}},Nr={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Lr={supportedProperty:function(e,t){var r=Nr[e];return!!r&&(dr+xr(r)in t&&fr+r)}},Wr={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},qr=Object.keys(Wr),Fr=function(e){return fr+e},Br={supportedProperty:function(e,t,r){var n=r.multiple;if(qr.indexOf(e)>-1){var i=Wr[e];if(!Array.isArray(i))return dr+xr(i)in t&&fr+i;if(!n)return!1;for(var o=0;o<i.length;o++)if(!(dr+xr(i[0])in t))return!1;return i.map(Fr)}return!1}},_r=[gr,mr,Sr,Rr,Pr,Or,jr,Ar,Cr,Mr,Ir,zr,Tr,Er,Lr,Br],Gr=_r.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Ur=_r.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,rr(t.noPrefill)),e}),[]),Vr={};if(de){wr=document.createElement("p");var Hr=window.getComputedStyle(document.documentElement,"");for(var Dr in Hr)isNaN(Dr)||(Vr[Hr[Dr]]=Hr[Dr]);Ur.forEach((function(e){return delete Vr[e]}))}function Jr(e,t){if(void 0===t&&(t={}),!wr)return e;if(null!=Vr[e])return Vr[e];"transition"!==e&&"transform"!==e||(t[e]=e in wr.style);for(var r=0;r<Gr.length&&(Vr[e]=Gr[r](e,wr.style,t),!Vr[e]);r++);try{wr.style[e]=""}catch(e){return!1}return Vr[e]}var Yr,$r={},Xr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Kr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Qr(e,t,r){if("var"===t)return"var";if("all"===t)return"all";if("all"===r)return", all";var n=t?Jr(t):", "+Jr(r);return n||(t||r)}function Zr(e,t){var r=t;if(!Yr||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=$r[n])return $r[n];try{Yr.style[e]=r}catch(e){return $r[n]=!1,!1}if(Xr[e])r=r.replace(Kr,Qr);else if(""===Yr.style[e]&&("-ms-flex"===(r=fr+r)&&(Yr.style[e]="-ms-flexbox"),Yr.style[e]=r,""===Yr.style[e]))return $r[n]=!1,!1;return Yr.style[e]="",$r[n]=r,$r[n]}de&&(Yr=document.createElement("p"));var en=function(){function e(t){for(var r in t){var n=t[r];if("fallbacks"===r&&Array.isArray(n))t[r]=n.map(e);else{var i=!1,o=Jr(r);o&&o!==r&&(i=!0);var a=!1,s=Zr(o,xe(n));s&&s!==n&&(a=!0),(i||a)&&(i&&delete t[r],t[o||r]=s||n)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===dr?e:"@"+fr+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Zr(t,xe(e))||e}}};var tn=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),o=0;o<i.length;o++)n[i[o]]=t[i[o]];return n}}};function rn(){return{plugins:[Mt(),Wt(),_t(),Yt(),tr(),"undefined"==typeof window?null:en(),tn()]}}var nn,on=Pt(rn()),an={disableGeneration:!1,generateClassName:i(),jss:on,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},sn=t().createContext(an);function un(e){var r=e.children,n=e.injectFirst,i=void 0!==n&&n,o=e.disableGeneration,a=void 0!==o&&o,s=u(e,["children","injectFirst","disableGeneration"]),c=l({},t().useContext(sn),{disableGeneration:a},s);if(!c.jss.options.insertionPoint&&i&&"undefined"!=typeof window){if(!nn){var d=document.head;nn=document.createComment("mui-inject-first"),d.insertBefore(nn,d.firstChild)}c.jss=Pt({plugins:rn().plugins,insertionPoint:nn})}return t().createElement(sn.Provider,{value:c},r)}var ln=t().createContext(null);var cn=function(e){var n=e.children,i=e.theme,o=t().useContext(ln),a=t().useMemo((function(){var e=null===o?i:function(e,t){return"function"==typeof t?t(e):l({},e,t)}(o,i);return null!=e&&(e[r]=null!==o),e}),[i,o]);return t().createElement(ln.Provider,{value:a},n)},dn=o(65395),fn=o.n(dn),pn=o(58543),hn=function(e){var r,n,i,o,a=e.ops,s=e.i18nData,u=e.lang,l=e.params,c=e.defI18nData;if("string"==typeof a)n=a;else if("object"==typeof a){if("string"!=typeof a.id)return'i18n intl object "id" is missing';n=a.id}void 0!==n&&(void 0===(r=null===(i=s[u])||void 0===i?void 0:i[n])&&c&&(r=null===(o=c[u])||void 0===o?void 0:o[n]));return"string"!=typeof r?"{".concat(n,"}"):function(e,r){if(!r)return e;var n=!1,i=(e=e.replace(/\"/g,'\\"')).replace(/\{(.*?)\}/gi,(function(e,t){return"object"==typeof r[t]&&(n=!0),'",vars.'.concat(t,',"')}));return n?new Function("vars",'return ["'.concat(i,'"];'))(r).map((function(e){return t().createElement(t().Fragment,{key:Math.random()},e)})):new Function("vars",'return ["'.concat(i,"\"].join('');"))(r)}(r,l)};o(83452);function bn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){bn(e,t,r[t])}))}return e}var mn=function(e){var r,n=i({seed:e.seed||"",productionPrefix:e.productionPrefix||"paraui"});r=e.theme?le(gn({},e.theme)):le({});return t().useEffect((function(){var t=e.language||(0,pn.GetLanguage)(),r=(e.locale||{})[t]||{};null===dn.changeConfirmLocale||void 0===dn.changeConfirmLocale||(0,dn.changeConfirmLocale)(r)}),[e.language,e.locale]),t().createElement(un,{generateClassName:n,injectFirst:!0},t().createElement(cn,{theme:r},t().createElement(fn().Provider,{value:gn({},e,{language:e.language||(0,pn.GetLanguage)(),intlFormat:function(t,r){return function(n,i){var o=e.language||(0,pn.GetLanguage)(),a=(e.locale||{})[o]||{};return a=bn({},o,a[t]||{}),hn({ops:n,i18nData:a,lang:o,params:i,defI18nData:r})}}})},e.children)))},yn=mn}(),a}()}));
|