diff --git a/admin-views/dist/assets/BarCode-2e61f70f.js b/admin-views/dist/assets/BarCode-24067404.js similarity index 99% rename from admin-views/dist/assets/BarCode-2e61f70f.js rename to admin-views/dist/assets/BarCode-24067404.js index dedb8ad7..8c3c77a1 100644 --- a/admin-views/dist/assets/BarCode-2e61f70f.js +++ b/admin-views/dist/assets/BarCode-24067404.js @@ -1 +1 @@ -import{f as At,p as Pt,R as te,ce as Tt}from"./index-91036dd3.js";var he={},U={},l={};Object.defineProperty(l,"__esModule",{value:!0});function Mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var kt=function t(e,r){Mt(this,t),this.data=e,this.text=r.text||e,this.options=r};l.default=kt;Object.defineProperty(U,"__esModule",{value:!0});U.CODE39=void 0;var It=function(){function t(e,r){for(var n=0;n=200){u=n.shift()-105;var y=h.SWAP[u];y!==void 0?o=e.next(n,a+1,y):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var $=e.getBar(u),Rt=u*a;return{result:$+o.result,checksum:Rt+o.checksum}}}]),e}(Wt.default);P.default=tn;var _e={};Object.defineProperty(_e,"__esModule",{value:!0});var g=f,ut=function(e){return e.match(new RegExp("^"+g.A_CHARS+"*"))[0].length},ft=function(e){return e.match(new RegExp("^"+g.B_CHARS+"*"))[0].length},ct=function(e){return e.match(new RegExp("^"+g.C_CHARS+"*"))[0]};function ve(t,e){var r=e?g.A_CHARS:g.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+String.fromCharCode(204)+lt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ve(t.substring(a.length),!e)}function lt(t){var e=ct(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=ut(t)>=ft(t);return e+String.fromCharCode(n?206:205)+ve(t,n)}_e.default=function(t){var e=void 0,r=ct(t).length;if(r>=2)e=g.C_START_CHAR+lt(t);else{var n=ut(t)>ft(t);e=(n?g.A_START_CHAR:g.B_START_CHAR)+ve(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return String.fromCharCode(203)+i})};Object.defineProperty(de,"__esModule",{value:!0});var nn=P,rn=ht(nn),an=_e,on=ht(an);function ht(t){return t&&t.__esModule?t:{default:t}}function un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ae(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function fn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cn=function(t){fn(e,t);function e(r,n){if(un(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ae(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,on.default)(r),n));else var a=ae(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ae(a)}return e}(rn.default);de.default=cn;var se={};Object.defineProperty(se,"__esModule",{value:!0});var ln=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return zn(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,Ue.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,Ue.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:S.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:S.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:S.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[S.SIDE_BIN,this.leftEncode(),S.MIDDLE_BIN,this.rightEncode(),S.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(Vn.default);V.default=Yn;Object.defineProperty(ge,"__esModule",{value:!0});var Zn=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Br(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==fe(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,x.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,x.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,x.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,x.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,x.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,x.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Cr.default);function fe(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}L.default=Xr;var me={};Object.defineProperty(me,"__esModule",{value:!0});var zr=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return zr(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=Kr[parseInt(a)][parseInt(n)];return(0,qr.default)(this.middleDigits,i)}}]),e}(Jr.default);function Je(t,e){for(var r=parseInt(t[t.length-1]),n=Zr[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(ki.default);Q.pharmacode=Li;var W={};Object.defineProperty(W,"__esModule",{value:!0});W.codabar=void 0;var Ni=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Et(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Eo(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}d.getMaximumHeightOfEncodings=Oo;d.getEncodingHeight=Ot;d.getBarcodePadding=Et;d.calculateEncodingAttributes=po;d.getTotalWidthOfEncodings=go;Object.defineProperty(Ie,"__esModule",{value:!0});var bo=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Ie.default=xo;var De={};Object.defineProperty(De,"__esModule",{value:!0});var Ro=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(y-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(y-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(z,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",z),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(z,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(z,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();De.default=ko;var je={};Object.defineProperty(je,"__esModule",{value:!0});var Io=function(){function t(e,r){for(var n=0;n"u"?"undefined":Uo(t))==="object"&&!t.nodeName)return{element:t,renderer:B.default.ObjectRenderer};throw new Jo.InvalidElementException}}function Qo(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,iu.default)(e),a._encodings=[],a._options=$t.default,a._errorHandler=new cu.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=xt()),a.options(n)[n.format](r,n).render()),a};ee.getModule=function(t){return E.default[t]};for(var tt in E.default)E.default.hasOwnProperty(tt)&&hu(E.default,tt);function hu(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var i=(0,G.default)(a._options,n);i=(0,uu.default)(i);var o=t[e],u=St(r,o,i);return a._encodings.push(u),a})}}function St(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new wt.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,mt.default)(a);for(var i=0;i=200){u=n.shift()-105;var y=h.SWAP[u];y!==void 0?o=e.next(n,a+1,y):((i===h.SET_A||i===h.SET_B)&&u===h.SHIFT&&(n[0]=i===h.SET_A?n[0]>95?n[0]-96:n[0]:n[0]<32?n[0]+96:n[0]),o=e.next(n,a+1,i))}else u=e.correctIndex(n,i),o=e.next(n,a+1,i);var $=e.getBar(u),Rt=u*a;return{result:$+o.result,checksum:Rt+o.checksum}}}]),e}(Wt.default);P.default=tn;var _e={};Object.defineProperty(_e,"__esModule",{value:!0});var g=f,ut=function(e){return e.match(new RegExp("^"+g.A_CHARS+"*"))[0].length},ft=function(e){return e.match(new RegExp("^"+g.B_CHARS+"*"))[0].length},ct=function(e){return e.match(new RegExp("^"+g.C_CHARS+"*"))[0]};function ve(t,e){var r=e?g.A_CHARS:g.B_CHARS,n=t.match(new RegExp("^("+r+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(n)return n[1]+String.fromCharCode(204)+lt(t.substring(n[1].length));var a=t.match(new RegExp("^"+r+"+"))[0];return a.length===t.length?t:a+String.fromCharCode(e?205:206)+ve(t.substring(a.length),!e)}function lt(t){var e=ct(t),r=e.length;if(r===t.length)return t;t=t.substring(r);var n=ut(t)>=ft(t);return e+String.fromCharCode(n?206:205)+ve(t,n)}_e.default=function(t){var e=void 0,r=ct(t).length;if(r>=2)e=g.C_START_CHAR+lt(t);else{var n=ut(t)>ft(t);e=(n?g.A_START_CHAR:g.B_START_CHAR)+ve(t,n)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(a,i){return String.fromCharCode(203)+i})};Object.defineProperty(de,"__esModule",{value:!0});var nn=P,rn=ht(nn),an=_e,on=ht(an);function ht(t){return t&&t.__esModule?t:{default:t}}function un(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ae(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function fn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cn=function(t){fn(e,t);function e(r,n){if(un(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(r))var a=ae(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,on.default)(r),n));else var a=ae(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r,n));return ae(a)}return e}(rn.default);de.default=cn;var se={};Object.defineProperty(se,"__esModule",{value:!0});var ln=function(){function t(e,r){for(var n=0;nn.width*10?n.width*10:n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return zn(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(n,a){return this.text.substr(n,a)}},{key:"leftEncode",value:function(n,a){return(0,Ue.default)(n,a)}},{key:"rightText",value:function(n,a){return this.text.substr(n,a)}},{key:"rightEncode",value:function(n,a){return(0,Ue.default)(n,a)}},{key:"encodeGuarded",value:function(){var n={fontSize:this.fontSize},a={height:this.guardHeight};return[{data:S.SIDE_BIN,options:a},{data:this.leftEncode(),text:this.leftText(),options:n},{data:S.MIDDLE_BIN,options:a},{data:this.rightEncode(),text:this.rightText(),options:n},{data:S.SIDE_BIN,options:a}]}},{key:"encodeFlat",value:function(){var n=[S.SIDE_BIN,this.leftEncode(),S.MIDDLE_BIN,this.rightEncode(),S.SIDE_BIN];return{data:n.join(""),text:this.text}}}]),e}(Vn.default);V.default=Yn;Object.defineProperty(ge,"__esModule",{value:!0});var Zn=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return Br(e,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==fe(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=(0,x.default)(this.data.substr(0,6),"LLLLLL"),n+="01010",n+=(0,x.default)(this.data.substr(6,6),"RRRRRR"),n+="101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101"+(0,x.default)(this.data[0],"L"),options:{height:this.guardHeight}}),n.push({data:(0,x.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),n.push({data:"01010",options:{height:this.guardHeight}}),n.push({data:(0,x.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),n.push({data:(0,x.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),n}}]),e}(Cr.default);function fe(t){var e=0,r;for(r=1;r<11;r+=2)e+=parseInt(t[r]);for(r=0;r<11;r+=2)e+=parseInt(t[r])*3;return(10-e%10)%10}L.default=Xr;var me={};Object.defineProperty(me,"__esModule",{value:!0});var zr=function(){function t(e,r){for(var n=0;nn.width*10?a.fontSize=n.width*10:a.fontSize=n.fontSize,a.guardHeight=n.height+a.fontSize/2+n.textMargin,a}return zr(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var n="";return n+="101",n+=this.encodeMiddleDigits(),n+="010101",{data:n,text:this.text}}},{key:"guardedEncoding",value:function(){var n=[];return this.displayValue&&n.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),n.push({data:"101",options:{height:this.guardHeight}}),n.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),n.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&n.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),n}},{key:"encodeMiddleDigits",value:function(){var n=this.upcA[0],a=this.upcA[this.upcA.length-1],i=Kr[parseInt(a)][parseInt(n)];return(0,qr.default)(this.middleDigits,i)}}]),e}(Jr.default);function Je(t,e){for(var r=parseInt(t[t.length-1]),n=Zr[r],a="",i=0,o=0;o=3&&this.number<=131070}}]),e}(ki.default);Q.pharmacode=Li;var W={};Object.defineProperty(W,"__esModule",{value:!0});W.codabar=void 0;var Ni=function(){function t(e,r){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom}function Et(t,e,r){if(r.displayValue&&ee&&(e=t[r].height);return e}function Eo(t,e,r){var n;if(r)n=r;else if(typeof document<"u")n=document.createElement("canvas").getContext("2d");else return 0;n.font=e.fontOptions+" "+e.fontSize+"px "+e.font;var a=n.measureText(t);if(!a)return 0;var i=a.width;return i}d.getMaximumHeightOfEncodings=Oo;d.getEncodingHeight=Ot;d.getBarcodePadding=Et;d.calculateEncodingAttributes=po;d.getTotalWidthOfEncodings=go;Object.defineProperty(Ie,"__esModule",{value:!0});var bo=function(){function t(e,r){for(var n=0;n0?(o=0,a.textAlign="left"):r.textAlign=="right"?(o=n.width-1,a.textAlign="right"):(o=n.width/2,a.textAlign="center"),a.fillText(n.text,o,u)}}},{key:"moveCanvasDrawing",value:function(r){var n=this.canvas.getContext("2d");n.translate(r.width,0)}},{key:"restoreCanvas",value:function(){var r=this.canvas.getContext("2d");r.restore()}}]),t}();Ie.default=xo;var De={};Object.defineProperty(De,"__esModule",{value:!0});var Ro=function(){function t(e,r){for(var n=0;n0&&(this.drawRect(y-n.width*u,o,n.width*u,n.height,r),u=0);u>0&&this.drawRect(y-n.width*(u-1),o,n.width*u,n.height,r)}},{key:"drawSVGText",value:function(r,n,a){var i=this.document.createElementNS(z,"text");if(n.displayValue){var o,u;i.setAttribute("style","font:"+n.fontOptions+" "+n.fontSize+"px "+n.font),n.textPosition=="top"?u=n.fontSize-n.textMargin:u=n.height+n.textMargin+n.fontSize,n.textAlign=="left"||a.barcodePadding>0?(o=0,i.setAttribute("text-anchor","start")):n.textAlign=="right"?(o=a.width-1,i.setAttribute("text-anchor","end")):(o=a.width/2,i.setAttribute("text-anchor","middle")),i.setAttribute("x",o),i.setAttribute("y",u),i.appendChild(this.document.createTextNode(a.text)),r.appendChild(i)}}},{key:"setSvgAttributes",value:function(r,n){var a=this.svg;a.setAttribute("width",r+"px"),a.setAttribute("height",n+"px"),a.setAttribute("x","0px"),a.setAttribute("y","0px"),a.setAttribute("viewBox","0 0 "+r+" "+n),a.setAttribute("xmlns",z),a.setAttribute("version","1.1"),a.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(r,n,a){var i=this.document.createElementNS(z,"g");return i.setAttribute("transform","translate("+r+", "+n+")"),a.appendChild(i),i}},{key:"setGroupOptions",value:function(r,n){r.setAttribute("style","fill:"+n.lineColor+";")}},{key:"drawRect",value:function(r,n,a,i,o){var u=this.document.createElementNS(z,"rect");return u.setAttribute("x",r),u.setAttribute("y",n),u.setAttribute("width",a),u.setAttribute("height",i),o.appendChild(u),u}}]),t}();De.default=ko;var je={};Object.defineProperty(je,"__esModule",{value:!0});var Io=function(){function t(e,r){for(var n=0;n"u"?"undefined":Uo(t))==="object"&&!t.nodeName)return{element:t,renderer:B.default.ObjectRenderer};throw new Jo.InvalidElementException}}function Qo(t){var e=document.querySelectorAll(t);if(e.length!==0){for(var r=[],n=0;n"u")throw Error("No element to render on was provided.");return a._renderProperties=(0,iu.default)(e),a._encodings=[],a._options=$t.default,a._errorHandler=new cu.default(a),typeof r<"u"&&(n=n||{},n.format||(n.format=xt()),a.options(n)[n.format](r,n).render()),a};ee.getModule=function(t){return E.default[t]};for(var tt in E.default)E.default.hasOwnProperty(tt)&&hu(E.default,tt);function hu(t,e){p.prototype[e]=p.prototype[e.toUpperCase()]=p.prototype[e.toLowerCase()]=function(r,n){var a=this;return a._errorHandler.wrapBarcodeCall(function(){n.text=typeof n.text>"u"?void 0:""+n.text;var i=(0,G.default)(a._options,n);i=(0,uu.default)(i);var o=t[e],u=St(r,o,i);return a._encodings.push(u),a})}}function St(t,e,r){t=""+t;var n=new e(t,r);if(!n.valid())throw new wt.InvalidInputException(n.constructor.name,t);var a=n.encode();a=(0,mt.default)(a);for(var i=0;i0&&arguments[0]!==void 0?arguments[0]:[],r=[];return(0,In.default)(e,function(n){Array.isArray(n)?t(n).map(function(a){return r.push(a)}):(0,Ln.default)(n)?(0,Dn.default)(n,function(a,i){a===!0&&r.push(i),r.push(i+"-"+a)}):(0,Bn.default)(n)&&r.push(n)}),r};ke.default=Gn;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.mergeClasses=void 0;var zn=mt,Un=Wr(zn),Wn=$n,Xn=Wr(Wn),Vn=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:[],n=e.default&&(0,Xn.default)(e.default)||{};return r.map(function(a){var i=e[a];return i&&(0,Un.default)(i,function(o,l){n[l]||(n[l]={}),n[l]=Vn({},n[l],i[l])}),a}),n};Fe.default=Kn;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.autoprefix=void 0;var qn=mt,qt=Zn(qn),Yn=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){aa(a,n);function a(){var i,o,l,u;na(this,a);for(var f=arguments.length,h=Array(f),c=0;c1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){fa(a,n);function a(){var i,o,l,u;ua(this,a);for(var f=arguments.length,h=Array(f),c=0;c1&&arguments[1]!==void 0?arguments[1]:!0;n[o]=l};return e===0&&a("first-child"),e===r-1&&a("last-child"),(e===0||e%2===0)&&a("even"),Math.abs(e%2)===1&&a("odd"),a("nth-child",e),n};yt.default=ca;Object.defineProperty(F,"__esModule",{value:!0});F.ReactCSS=F.loop=F.handleActive=wt=F.handleHover=F.hover=void 0;var pa=ke,da=me(pa),ga=Fe,ba=me(ga),va=Be,xa=me(va),ma=He,Xr=me(ma),ya=De,wa=me(ya),Ea=yt,Sa=me(Ea);function me(t){return t&&t.__esModule?t:{default:t}}F.hover=Xr.default;var wt=F.handleHover=Xr.default;F.handleActive=wa.default;F.loop=Sa.default;var Ca=F.ReactCSS=function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;al?p=1:p=Math.round(c*100/l)/100,r.a!==p)return{h:r.h,s:r.s,l:r.l,a:p,source:"rgb"}}else{var d=void 0;if(h<0?d=0:h>o?d=1:d=Math.round(h*100/o)/100,a!==d)return{h:r.h,s:r.s,l:r.l,a:d,source:"rgb"}}return null},ot={},Oa=function(e,r,n,a){if(typeof document>"u"&&!a)return null;var i=a?new a:document.createElement("canvas");i.width=n*2,i.height=n*2;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=r,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),i.toDataURL()):null},Ra=function(e,r,n,a){var i=e+"-"+r+"-"+n+(a?"-server":"");if(ot[i])return ot[i];var o=Oa(e,r,n,a);return ot[i]=o,o},Jt=Object.assign||function(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:[],r=[];return(0,In.default)(e,function(n){Array.isArray(n)?t(n).map(function(a){return r.push(a)}):(0,Ln.default)(n)?(0,Dn.default)(n,function(a,i){a===!0&&r.push(i),r.push(i+"-"+a)}):(0,Bn.default)(n)&&r.push(n)}),r};ke.default=Gn;var Fe={};Object.defineProperty(Fe,"__esModule",{value:!0});Fe.mergeClasses=void 0;var zn=mt,Un=Wr(zn),Wn=$n,Xn=Wr(Wn),Vn=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:[],n=e.default&&(0,Xn.default)(e.default)||{};return r.map(function(a){var i=e[a];return i&&(0,Un.default)(i,function(o,l){n[l]||(n[l]={}),n[l]=Vn({},n[l],i[l])}),a}),n};Fe.default=Kn;var Be={};Object.defineProperty(Be,"__esModule",{value:!0});Be.autoprefix=void 0;var qn=mt,qt=Zn(qn),Yn=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){aa(a,n);function a(){var i,o,l,u;na(this,a);for(var f=arguments.length,h=Array(f),c=0;c1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){fa(a,n);function a(){var i,o,l,u;ua(this,a);for(var f=arguments.length,h=Array(f),c=0;c1&&arguments[1]!==void 0?arguments[1]:!0;n[o]=l};return e===0&&a("first-child"),e===r-1&&a("last-child"),(e===0||e%2===0)&&a("even"),Math.abs(e%2)===1&&a("odd"),a("nth-child",e),n};yt.default=ca;Object.defineProperty(F,"__esModule",{value:!0});F.ReactCSS=F.loop=F.handleActive=wt=F.handleHover=F.hover=void 0;var pa=ke,da=me(pa),ga=Fe,ba=me(ga),va=Be,xa=me(va),ma=He,Xr=me(ma),ya=De,wa=me(ya),Ea=yt,Sa=me(Ea);function me(t){return t&&t.__esModule?t:{default:t}}F.hover=Xr.default;var wt=F.handleHover=Xr.default;F.handleActive=wa.default;F.loop=Sa.default;var Ca=F.ReactCSS=function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;al?p=1:p=Math.round(c*100/l)/100,r.a!==p)return{h:r.h,s:r.s,l:r.l,a:p,source:"rgb"}}else{var d=void 0;if(h<0?d=0:h>o?d=1:d=Math.round(h*100/o)/100,a!==d)return{h:r.h,s:r.s,l:r.l,a:d,source:"rgb"}}return null},ot={},Oa=function(e,r,n,a){if(typeof document>"u"&&!a)return null;var i=a?new a:document.createElement("canvas");i.width=n*2,i.height=n*2;var o=i.getContext("2d");return o?(o.fillStyle=e,o.fillRect(0,0,i.width,i.height),o.fillStyle=r,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),i.toDataURL()):null},Ra=function(e,r,n,a){var i=e+"-"+r+"-"+n+(a?"-server":"");if(ot[i])return ot[i];var o=Oa(e,r,n,a);return ot[i]=o,o},Jt=Object.assign||function(t){for(var e=1;e-1},Ia=function(e){return Number(String(e).replace(/%/g,""))},Ga=1,w=function(t){Ha(e,t);function e(r){Fa(this,e);var n=Ba(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(a){n.setUpdatedValue(a.target.value,a)},n.handleKeyDown=function(a){var i=Ia(a.target.value);if(!isNaN(i)&&ja(a.keyCode)){var o=n.getArrowOffset(),l=a.keyCode===Vr?i+o:i-o;n.setUpdatedValue(l,a)}},n.handleDrag=function(a){if(n.props.dragLabel){var i=Math.round(n.props.value+a.movementX);i>=0&&i<=n.props.dragMax&&n.props.onChange&&n.props.onChange(n.getValueObjectWithLabel(i),a)}},n.handleMouseDown=function(a){n.props.dragLabel&&(a.preventDefault(),n.handleDrag(a),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(r.value).toUpperCase(),blurValue:String(r.value).toUpperCase()},n.inputId="rc-editable-input-"+Ga++,n}return Ma(e,[{key:"componentDidUpdate",value:function(n,a){this.props.value!==this.state.value&&(n.value!==this.props.value||a.value!==this.state.value)&&(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(n){return ka({},this.props.label,n)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||Da}},{key:"setUpdatedValue",value:function(n,a){var i=this.props.label?this.getValueObjectWithLabel(n):n;this.props.onChange&&this.props.onChange(i,a),this.setState({value:n})}},{key:"render",value:function(){var n=this,a=y({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return $e("div",{style:a.wrap,children:[O("input",{id:this.inputId,style:a.input,ref:function(o){return n.input=o},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?O("label",{htmlFor:this.inputId,style:a.label,onMouseDown:this.handleMouseDown,children:this.props.label}):null]})}}]),e}(R.PureComponent||R.Component),za=function(e,r,n,a){var i=a.clientWidth,o=a.clientHeight,l=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,u=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,f=l-(a.getBoundingClientRect().left+window.pageXOffset),h=u-(a.getBoundingClientRect().top+window.pageYOffset);if(r==="vertical"){var c=void 0;if(h<0)c=359;else if(h>o)c=0;else{var p=-(h*100/o)+100;c=360*p/100}if(n.h!==c)return{h:c,s:n.s,l:n.l,a:n.a,source:"hsl"}}else{var d=void 0;if(f<0)d=0;else if(f>i)d=359;else{var v=f*100/i;d=360*v/100}if(n.h!==d)return{h:d,s:n.s,l:n.l,a:n.a,source:"hsl"}}return null},Ua=function(){function t(e,r){for(var n=0;n-1}function Qa(t,e){var r=this.__data__,n=Ze(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function I(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=yo}function Ee(t){return t!=null&&Ot(t.length)&&!St(t)}function wo(t){return X(t)&&Ee(t)}function Eo(){return!1}var tn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,sr=tn&&typeof module=="object"&&module&&!module.nodeType&&module,So=sr&&sr.exports===tn,ur=So?N.Buffer:void 0,Co=ur?ur.isBuffer:void 0,_o=Co||Eo;const Ve=_o;var Oo="[object Object]",Ro=Function.prototype,Ao=Object.prototype,rn=Ro.toString,To=Ao.hasOwnProperty,$o=rn.call(Object);function Po(t){if(!X(t)||Z(t)!=Oo)return!1;var e=Qr(t);if(e===null)return!0;var r=To.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&rn.call(r)==$o}var Mo="[object Arguments]",ko="[object Array]",Fo="[object Boolean]",Bo="[object Date]",Ho="[object Error]",Do="[object Function]",No="[object Map]",Lo="[object Number]",jo="[object Object]",Io="[object RegExp]",Go="[object Set]",zo="[object String]",Uo="[object WeakMap]",Wo="[object ArrayBuffer]",Xo="[object DataView]",Vo="[object Float32Array]",Ko="[object Float64Array]",qo="[object Int8Array]",Yo="[object Int16Array]",Zo="[object Int32Array]",Jo="[object Uint8Array]",Qo="[object Uint8ClampedArray]",el="[object Uint16Array]",tl="[object Uint32Array]",S={};S[Vo]=S[Ko]=S[qo]=S[Yo]=S[Zo]=S[Jo]=S[Qo]=S[el]=S[tl]=!0;S[Mo]=S[ko]=S[Wo]=S[Fo]=S[Xo]=S[Bo]=S[Ho]=S[Do]=S[No]=S[Lo]=S[jo]=S[Io]=S[Go]=S[zo]=S[Uo]=!1;function rl(t){return X(t)&&Ot(t.length)&&!!S[Z(t)]}function nl(t){return function(e){return t(e)}}var nn=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Te=nn&&typeof module=="object"&&module&&!module.nodeType&&module,al=Te&&Te.exports===nn,st=al&&Kr.process,il=function(){try{var t=Te&&Te.require&&Te.require("util").types;return t||st&&st.binding&&st.binding("util")}catch{}}();const fr=il;var hr=fr&&fr.isTypedArray,ol=hr?nl(hr):rl;const Rt=ol;function pt(t,e){if(!(e==="constructor"&&typeof t[e]=="function")&&e!="__proto__")return t[e]}var ll=Object.prototype,sl=ll.hasOwnProperty;function ul(t,e,r){var n=t[e];(!(sl.call(t,e)&&Ne(n,r))||r===void 0&&!(e in t))&&Ct(t,e,r)}function fl(t,e,r,n){var a=!r;r||(r={});for(var i=-1,o=e.length;++i-1&&t%1==0&&t0){if(++e>=Rl)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Pl=$l(Ol);const Ml=Pl;function kl(t,e){return Ml(Sl(t,e,Qe),t+"")}function Fl(t,e,r){if(!B(r))return!1;var n=typeof e;return(n=="number"?Ee(r)&&At(e,r.length):n=="string"&&e in r)?Ne(r[e],t):!1}function Bl(t){return kl(function(e,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=t.length>3&&typeof i=="function"?(a--,i):void 0,o&&Fl(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),e=Object(e);++n=e||U<0||c&&Se>=i}function E(){var _=ut();if(m(_))return $(_);l=setTimeout(E,x(_))}function $(_){return l=void 0,p&&n?d(_):(n=a=void 0,o)}function K(){l!==void 0&&clearTimeout(l),f=0,n=u=a=l=void 0}function P(){return l===void 0?o:$(ut())}function z(){var _=ut(),U=m(_);if(n=arguments,a=this,u=_,U){if(l===void 0)return v(u);if(c)return clearTimeout(l),l=setTimeout(E,e),d(u)}return l===void 0&&(l=setTimeout(E,e)),o}return z.cancel=K,z.flush=P,z}var Yl="Expected a function";function Zl(t,e,r){var n=!0,a=!0;if(typeof t!="function")throw new TypeError(Yl);return B(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),sn(t,e,{leading:n,maxWait:e,trailing:a})}var Jl=function(e,r,n){var a=n.getBoundingClientRect(),i=a.width,o=a.height,l=typeof e.pageX=="number"?e.pageX:e.touches[0].pageX,u=typeof e.pageY=="number"?e.pageY:e.touches[0].pageY,f=l-(n.getBoundingClientRect().left+window.pageXOffset),h=u-(n.getBoundingClientRect().top+window.pageYOffset);f<0?f=0:f>i&&(f=i),h<0?h=0:h>o&&(h=o);var c=f/i,p=1-h/o;return{h:r.h,s:c,v:p,a:r.a,source:"hsv"}},Ql=function(){function t(e,r){for(var n=0;n=0,i=!r&&a&&(e==="hex"||e==="hex6"||e==="hex3"||e==="hex4"||e==="hex8"||e==="name");return i?e==="name"&&this._a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return b(this.toString())},_applyModification:function(e,r){var n=e.apply(null,[this].concat([].slice.call(r)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(Cs,arguments)},brighten:function(){return this._applyModification(_s,arguments)},darken:function(){return this._applyModification(Os,arguments)},desaturate:function(){return this._applyModification(ws,arguments)},saturate:function(){return this._applyModification(Es,arguments)},greyscale:function(){return this._applyModification(Ss,arguments)},spin:function(){return this._applyModification(Rs,arguments)},_applyCombination:function(e,r){return e.apply(null,[this].concat([].slice.call(r)))},analogous:function(){return this._applyCombination($s,arguments)},complement:function(){return this._applyCombination(As,arguments)},monochromatic:function(){return this._applyCombination(Ps,arguments)},splitcomplement:function(){return this._applyCombination(Ts,arguments)},triad:function(){return this._applyCombination(mr,[3])},tetrad:function(){return this._applyCombination(mr,[4])}};b.fromRatio=function(t,e){if(Ke(t)=="object"){var r={};for(var n in t)t.hasOwnProperty(n)&&(n==="a"?r[n]=t[n]:r[n]=Oe(t[n]));t=r}return b(t,e)};function bs(t){var e={r:0,g:0,b:0},r=1,n=null,a=null,i=null,o=!1,l=!1;return typeof t=="string"&&(t=Hs(t)),Ke(t)=="object"&&(j(t.r)&&j(t.g)&&j(t.b)?(e=vs(t.r,t.g,t.b),o=!0,l=String(t.r).substr(-1)==="%"?"prgb":"rgb"):j(t.h)&&j(t.s)&&j(t.v)?(n=Oe(t.s),a=Oe(t.v),e=ms(t.h,n,a),o=!0,l="hsv"):j(t.h)&&j(t.s)&&j(t.l)&&(n=Oe(t.s),i=Oe(t.l),e=xs(t.h,n,i),o=!0,l="hsl"),t.hasOwnProperty("a")&&(r=t.a)),r=fn(r),{ok:o,format:t.format||l,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:r}}function vs(t,e,r){return{r:C(t,255)*255,g:C(e,255)*255,b:C(r,255)*255}}function gr(t,e,r){t=C(t,255),e=C(e,255),r=C(r,255);var n=Math.max(t,e,r),a=Math.min(t,e,r),i,o,l=(n+a)/2;if(n==a)i=o=0;else{var u=n-a;switch(o=l>.5?u/(2-n-a):u/(n+a),n){case t:i=(e-r)/u+(e1&&(c-=1),c<1/6?f+(h-f)*6*c:c<1/2?h:c<2/3?f+(h-f)*(2/3-c)*6:f}if(e===0)n=a=i=r;else{var l=r<.5?r*(1+e):r+e-r*e,u=2*r-l;n=o(u,l,t+1/3),a=o(u,l,t),i=o(u,l,t-1/3)}return{r:n*255,g:a*255,b:i*255}}function br(t,e,r){t=C(t,255),e=C(e,255),r=C(r,255);var n=Math.max(t,e,r),a=Math.min(t,e,r),i,o,l=n,u=n-a;if(o=n===0?0:u/n,n==a)i=0;else{switch(n){case t:i=(e-r)/u+(e>1)+720)%360;--e;)n.h=(n.h+a)%360,i.push(b(n));return i}function Ps(t,e){e=e||6;for(var r=b(t).toHsv(),n=r.h,a=r.s,i=r.v,o=[],l=1/e;e--;)o.push(b({h:n,s:a,v:i})),i=(i+l)%1;return o}b.mix=function(t,e,r){r=r===0?0:r||50;var n=b(t).toRgb(),a=b(e).toRgb(),i=r/100,o={r:(a.r-n.r)*i+n.r,g:(a.g-n.g)*i+n.g,b:(a.b-n.b)*i+n.b,a:(a.a-n.a)*i+n.a};return b(o)};b.readability=function(t,e){var r=b(t),n=b(e);return(Math.max(r.getLuminance(),n.getLuminance())+.05)/(Math.min(r.getLuminance(),n.getLuminance())+.05)};b.isReadable=function(t,e,r){var n=b.readability(t,e),a,i;switch(i=!1,a=Ds(r),a.level+a.size){case"AAsmall":case"AAAlarge":i=n>=4.5;break;case"AAlarge":i=n>=3;break;case"AAAsmall":i=n>=7;break}return i};b.mostReadable=function(t,e,r){var n=null,a=0,i,o,l,u;r=r||{},o=r.includeFallbackColors,l=r.level,u=r.size;for(var f=0;fa&&(a=i,n=b(e[f]));return b.isReadable(t,n,{level:l,size:u})||!o?n:(r.includeFallbackColors=!1,b.mostReadable(t,["#fff","#000"],r))};var dt=b.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Ms=b.hexNames=ks(dt);function ks(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[t[r]]=r);return e}function fn(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function C(t,e){Fs(t)&&(t="100%");var r=Bs(t);return t=Math.min(e,Math.max(0,parseFloat(t))),r&&(t=parseInt(t*e,10)/100),Math.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function rt(t){return Math.min(1,Math.max(0,t))}function M(t){return parseInt(t,16)}function Fs(t){return typeof t=="string"&&t.indexOf(".")!=-1&&parseFloat(t)===1}function Bs(t){return typeof t=="string"&&t.indexOf("%")!=-1}function D(t){return t.length==1?"0"+t:""+t}function Oe(t){return t<=1&&(t=t*100+"%"),t}function hn(t){return Math.round(parseFloat(t)*255).toString(16)}function yr(t){return M(t)/255}var H=function(){var t="[-\\+]?\\d+%?",e="[-\\+]?\\d*\\.\\d+%?",r="(?:"+e+")|(?:"+t+")",n="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?",a="[\\s|\\(]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")[,|\\s]+("+r+")\\s*\\)?";return{CSS_UNIT:new RegExp(r),rgb:new RegExp("rgb"+n),rgba:new RegExp("rgba"+a),hsl:new RegExp("hsl"+n),hsla:new RegExp("hsla"+a),hsv:new RegExp("hsv"+n),hsva:new RegExp("hsva"+a),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 j(t){return!!H.CSS_UNIT.exec(t)}function Hs(t){t=t.replace(ds,"").replace(gs,"").toLowerCase();var e=!1;if(dt[t])t=dt[t],e=!0;else if(t=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r;return(r=H.rgb.exec(t))?{r:r[1],g:r[2],b:r[3]}:(r=H.rgba.exec(t))?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=H.hsl.exec(t))?{h:r[1],s:r[2],l:r[3]}:(r=H.hsla.exec(t))?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=H.hsv.exec(t))?{h:r[1],s:r[2],v:r[3]}:(r=H.hsva.exec(t))?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=H.hex8.exec(t))?{r:M(r[1]),g:M(r[2]),b:M(r[3]),a:yr(r[4]),format:e?"name":"hex8"}:(r=H.hex6.exec(t))?{r:M(r[1]),g:M(r[2]),b:M(r[3]),format:e?"name":"hex"}:(r=H.hex4.exec(t))?{r:M(r[1]+""+r[1]),g:M(r[2]+""+r[2]),b:M(r[3]+""+r[3]),a:yr(r[4]+""+r[4]),format:e?"name":"hex8"}:(r=H.hex3.exec(t))?{r:M(r[1]+""+r[1]),g:M(r[2]+""+r[2]),b:M(r[3]+""+r[3]),format:e?"name":"hex"}:!1}function Ds(t){var e,r;return t=t||{level:"AA",size:"small"},e=(t.level||"AA").toUpperCase(),r=(t.size||"small").toLowerCase(),e!=="AA"&&e!=="AAA"&&(e="AA"),r!=="small"&&r!=="large"&&(r="small"),{level:e,size:r}}var wr=function(e){var r=["r","g","b","a","h","s","l","v"],n=0,a=0;return ps(r,function(i){if(e[i]&&(n+=1,isNaN(e[i])||(a+=1),i==="s"||i==="l")){var o=/^\d+%$/;o.test(e[i])&&(a+=1)}}),n===a?e:!1},Re=function(e,r){var n=e.hex?b(e.hex):b(e),a=n.toHsl(),i=n.toHsv(),o=n.toRgb(),l=n.toHex();a.s===0&&(a.h=r||0,i.h=r||0);var u=l==="000000"&&o.a===0;return{hsl:a,hex:u?"transparent":"#"+l,rgb:o,hsv:i,oldHue:e.h||r||a.h,source:e.source}},V=function(e){if(e==="transparent")return!0;var r=String(e).charAt(0)==="#"?1:0;return e.length!==4+r&&e.length<7+r&&b(e).isValid()},$t=function(e){if(!e)return"#fff";var r=Re(e);if(r.hex==="transparent")return"rgba(0,0,0,0.4)";var n=(r.rgb.r*299+r.rgb.g*587+r.rgb.b*114)/1e3;return n>=128?"#000":"#fff"},ft=function(e,r){var n=e.replace("°","");return b(r+" ("+n+")")._ok},je=Object.assign||function(t){for(var e=1;e1&&arguments[1]!==void 0?arguments[1]:"span";return function(n){Ws(a,n);function a(){var i,o,l,u;Us(this,a);for(var f=arguments.length,h=Array(f),c=0;cl))return!1;var f=i.get(t),h=i.get(e);if(f&&h)return f==e&&h==t;var c=-1,p=!0,d=r&nu?new qe:void 0;for(i.set(t,e),i.set(e,t);++c=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}var Ge=24,Of=wn.default=function(t){var e=t.fill,r=e===void 0?"currentColor":e,n=t.width,a=n===void 0?Ge:n,i=t.height,o=i===void 0?Ge:i,l=t.style,u=l===void 0?{}:l,f=_f(t,["fill","width","height","style"]);return jr.default.createElement("svg",Lr({viewBox:"0 0 "+Ge+" "+Ge,style:Lr({fill:r,width:a,height:o},u)},f),jr.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))},Rf=function(){function t(e,r){for(var n=0;n1&&(a.a=1),n.props.onChange({h:n.props.hsl.h,s:n.props.hsl.s,l:n.props.hsl.l,a:Math.round(a.a*100)/100,source:"rgb"},i)):(a.h||a.s||a.l)&&(typeof a.s=="string"&&a.s.includes("%")&&(a.s=a.s.replace("%","")),typeof a.l=="string"&&a.l.includes("%")&&(a.l=a.l.replace("%","")),a.s==1?a.s=.01:a.l==1&&(a.l=.01),n.props.onChange({h:a.h||n.props.hsl.h,s:Number(Nr(a.s)?n.props.hsl.s:a.s),l:Number(Nr(a.l)?n.props.hsl.l:a.l),source:"hsl"},i))},n.showHighlight=function(a){a.currentTarget.style.background="#eee"},n.hideHighlight=function(a){a.currentTarget.style.background="transparent"},r.hsl.a!==1&&r.view==="hex"?n.state={view:"rgb"}:n.state={view:r.view},n}return Rf(e,[{key:"render",value:function(){var n=this,a=y({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),i=void 0;return this.state.view==="hex"?i=s.createElement("div",{style:a.fields,className:"flexbox-fix"},s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):this.state.view==="rgb"?i=s.createElement("div",{style:a.fields,className:"flexbox-fix"},s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),s.createElement("div",{style:a.alpha},s.createElement(w,{style:{input:a.input,label:a.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):this.state.view==="hsl"&&(i=s.createElement("div",{style:a.fields,className:"flexbox-fix"},s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"s",value:Math.round(this.props.hsl.s*100)+"%",onChange:this.handleChange})),s.createElement("div",{style:a.field},s.createElement(w,{style:{input:a.input,label:a.label},label:"l",value:Math.round(this.props.hsl.l*100)+"%",onChange:this.handleChange})),s.createElement("div",{style:a.alpha},s.createElement(w,{style:{input:a.input,label:a.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),s.createElement("div",{style:a.wrap,className:"flexbox-fix"},i,s.createElement("div",{style:a.toggle},s.createElement("div",{style:a.icon,onClick:this.toggleViews,ref:function(l){return n.icon=l}},s.createElement(Of,{style:a.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(n,a){return n.hsl.a!==1&&a.view==="hex"?{view:"rgb"}:null}}]),e}(s.Component);En.defaultProps={view:"hex"};var Ir=function(){var e=y({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return s.createElement("div",{style:e.picker})},Pf=function(){var e=y({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return s.createElement("div",{style:e.picker})},Ht=function(e){var r=e.width,n=e.onChange,a=e.disableAlpha,i=e.rgb,o=e.hsl,l=e.hsv,u=e.hex,f=e.renderers,h=e.styles,c=h===void 0?{}:h,p=e.className,d=p===void 0?"":p,v=e.defaultView,x=y(A({default:{picker:{width:r,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},c),{disableAlpha:a});return s.createElement("div",{style:x.picker,className:"chrome-picker "+d},s.createElement("div",{style:x.saturation},s.createElement(tt,{style:x.Saturation,hsl:o,hsv:l,pointer:Pf,onChange:n})),s.createElement("div",{style:x.body},s.createElement("div",{style:x.controls,className:"flexbox-fix"},s.createElement("div",{style:x.color},s.createElement("div",{style:x.swatch},s.createElement("div",{style:x.active}),s.createElement(ye,{renderers:f}))),s.createElement("div",{style:x.toggles},s.createElement("div",{style:x.hue},s.createElement(we,{style:x.Hue,hsl:o,pointer:Ir,onChange:n})),s.createElement("div",{style:x.alpha},s.createElement(Et,{style:x.Alpha,rgb:i,hsl:o,pointer:Ir,renderers:f,onChange:n})))),s.createElement(En,{rgb:i,hsl:o,hex:u,view:v,onChange:n,disableAlpha:a})))};Ht.propTypes={width:g.oneOfType([g.string,g.number]),disableAlpha:g.bool,styles:g.object,defaultView:g.oneOf(["hex","rgb","hsl"])};Ht.defaultProps={width:225,disableAlpha:!1,styles:{}};T(Ht);var Mf=function(e){var r=e.color,n=e.onClick,a=n===void 0?function(){}:n,i=e.onSwatchHover,o=e.active,l=y({default:{color:{background:r,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:$t(r),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:o,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return s.createElement(ee,{style:l.color,color:r,onClick:a,onHover:i,focusStyle:{boxShadow:"0 0 4px "+r}},s.createElement("div",{style:l.dot}))},kf=function(e){var r=e.hex,n=e.rgb,a=e.onChange,i=y({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:r},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),o=function(u,f){u.r||u.g||u.b?a({r:u.r||n.r,g:u.g||n.g,b:u.b||n.b,source:"rgb"},f):a({hex:u.hex,source:"hex"},f)};return s.createElement("div",{style:i.fields,className:"flexbox-fix"},s.createElement("div",{style:i.active}),s.createElement(w,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:r,onChange:o}),s.createElement(w,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:n.r,onChange:o}),s.createElement(w,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:n.g,onChange:o}),s.createElement(w,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:n.b,onChange:o}))},Dt=function(e){var r=e.onChange,n=e.onSwatchHover,a=e.colors,i=e.hex,o=e.rgb,l=e.styles,u=l===void 0?{}:l,f=e.className,h=f===void 0?"":f,c=y(A({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},u)),p=function(v,x){v.hex?V(v.hex)&&r({hex:v.hex,source:"hex"},x):r(v,x)};return s.createElement(Le,{style:c.Compact,styles:u},s.createElement("div",{style:c.compact,className:"compact-picker "+h},s.createElement("div",null,te(a,function(d){return s.createElement(Mf,{key:d,color:d,active:d.toLowerCase()===i,onClick:p,onSwatchHover:n})}),s.createElement("div",{style:c.clear})),s.createElement(kf,{hex:i,rgb:o,onChange:p})))};Dt.propTypes={colors:g.arrayOf(g.string),styles:g.object};Dt.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}};T(Dt);var Ff=function(e){var r=e.hover,n=e.color,a=e.onClick,i=e.onSwatchHover,o={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},l=y({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:o}},{hover:r});return s.createElement("div",{style:l.swatch},s.createElement(ee,{color:n,onClick:a,onHover:i,focusStyle:o}))};const Bf=wt(Ff);var Nt=function(e){var r=e.width,n=e.colors,a=e.onChange,i=e.onSwatchHover,o=e.triangle,l=e.styles,u=l===void 0?{}:l,f=e.className,h=f===void 0?"":f,c=y(A({default:{card:{width:r,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},u),{"hide-triangle":o==="hide","top-left-triangle":o==="top-left","top-right-triangle":o==="top-right","bottom-left-triangle":o==="bottom-left","bottom-right-triangle":o==="bottom-right"}),p=function(v,x){return a({hex:v,source:"hex"},x)};return s.createElement("div",{style:c.card,className:"github-picker "+h},s.createElement("div",{style:c.triangleShadow}),s.createElement("div",{style:c.triangle}),te(n,function(d){return s.createElement(Bf,{color:d,key:d,onClick:p,onSwatchHover:i})}))};Nt.propTypes={width:g.oneOfType([g.string,g.number]),colors:g.arrayOf(g.string),triangle:g.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:g.object};Nt.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}};const oh=T(Nt);var Hf=function(e){var r=e.direction,n=y({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:r==="vertical"});return s.createElement("div",{style:n.picker})},Df=Object.assign||function(t){for(var e=1;e.5});return s.createElement("div",{style:n.picker})},If=function(){var e=y({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return s.createElement("div",{style:e.pointer},s.createElement("div",{style:e.left},s.createElement("div",{style:e.leftInside})),s.createElement("div",{style:e.right},s.createElement("div",{style:e.rightInside})))},Gr=function(e){var r=e.onClick,n=e.label,a=e.children,i=e.active,o=y({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return s.createElement("div",{style:o.button,onClick:r},n||a)},Gf=function(e){var r=e.rgb,n=e.currentColor,a=y({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+r.r+","+r.g+", "+r.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return s.createElement("div",null,s.createElement("div",{style:a.label},"new"),s.createElement("div",{style:a.swatches},s.createElement("div",{style:a.new}),s.createElement("div",{style:a.current})),s.createElement("div",{style:a.label},"current"))},zf=function(){function t(e,r){for(var n=0;n100&&(h.a=100),h.a/=100,r({h:a.h,s:a.s,l:a.l,a:h.a,source:"rgb"},c))};return s.createElement("div",{style:l.fields,className:"flexbox-fix"},s.createElement("div",{style:l.double},s.createElement(w,{style:{input:l.input,label:l.label},label:"hex",value:i.replace("#",""),onChange:u})),s.createElement("div",{style:l.single},s.createElement(w,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:u,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:l.single},s.createElement(w,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:u,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:l.single},s.createElement(w,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:u,dragLabel:"true",dragMax:"255"})),s.createElement("div",{style:l.alpha},s.createElement(w,{style:{input:l.input,label:l.label},label:"a",value:Math.round(n.a*100),onChange:u,dragLabel:"true",dragMax:"100"})))},Kf=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}var ze=24,th=Cn.default=function(t){var e=t.fill,r=e===void 0?"currentColor":e,n=t.width,a=n===void 0?ze:n,i=t.height,o=i===void 0?ze:i,l=t.style,u=l===void 0?{}:l,f=eh(t,["fill","width","height","style"]);return Ur.default.createElement("svg",zr({viewBox:"0 0 "+ze+" "+ze,style:zr({fill:r,width:a,height:o},u)},f),Ur.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))},rh=function(e){var r=e.color,n=e.onClick,a=n===void 0?function(){}:n,i=e.onSwatchHover,o=e.first,l=e.last,u=e.active,f=y({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:r,marginBottom:"1px"},check:{color:$t(r),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:o,last:l,active:u,"color-#FFFFFF":r==="#FFFFFF",transparent:r==="transparent"});return s.createElement(ee,{color:r,style:f.color,onClick:a,onHover:i,focusStyle:{boxShadow:"0 0 4px "+r}},s.createElement("div",{style:f.check},s.createElement(th,null)))},nh=function(e){var r=e.onClick,n=e.onSwatchHover,a=e.group,i=e.active,o=y({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return s.createElement("div",{style:o.group},te(a,function(l,u){return s.createElement(rh,{key:l,color:l,active:l.toLowerCase()===i,first:u===0,last:u===a.length-1,onClick:r,onSwatchHover:n})}))},zt=function(e){var r=e.width,n=e.height,a=e.onChange,i=e.onSwatchHover,o=e.colors,l=e.hex,u=e.styles,f=u===void 0?{}:u,h=e.className,c=h===void 0?"":h,p=y(A({default:{picker:{width:r,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},f)),d=function(x,m){return a({hex:x,source:"hex"},m)};return s.createElement("div",{style:p.picker,className:"swatches-picker "+c},s.createElement(Le,null,s.createElement("div",{style:p.overflow},s.createElement("div",{style:p.body},te(o,function(v){return s.createElement(nh,{key:v.toString(),group:v,active:l,onClick:d,onSwatchHover:i})}),s.createElement("div",{style:p.clear})))))};zt.propTypes={width:g.oneOfType([g.string,g.number]),height:g.oneOfType([g.string,g.number]),colors:g.arrayOf(g.arrayOf(g.string)),styles:g.object};zt.defaultProps={width:320,height:240,colors:[[re[900],re[700],re[500],re[300],re[100]],[ne[900],ne[700],ne[500],ne[300],ne[100]],[ae[900],ae[700],ae[500],ae[300],ae[100]],[ie[900],ie[700],ie[500],ie[300],ie[100]],[oe[900],oe[700],oe[500],oe[300],oe[100]],[le[900],le[700],le[500],le[300],le[100]],[se[900],se[700],se[500],se[300],se[100]],[ue[900],ue[700],ue[500],ue[300],ue[100]],[fe[900],fe[700],fe[500],fe[300],fe[100]],["#194D33",Ae[700],Ae[500],Ae[300],Ae[100]],[he[900],he[700],he[500],he[300],he[100]],[ce[900],ce[700],ce[500],ce[300],ce[100]],[pe[900],pe[700],pe[500],pe[300],pe[100]],[de[900],de[700],de[500],de[300],de[100]],[ge[900],ge[700],ge[500],ge[300],ge[100]],[be[900],be[700],be[500],be[300],be[100]],[ve[900],ve[700],ve[500],ve[300],ve[100]],[xe[900],xe[700],xe[500],xe[300],xe[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}};T(zt);var Ut=function(e){var r=e.onChange,n=e.onSwatchHover,a=e.hex,i=e.colors,o=e.width,l=e.triangle,u=e.styles,f=u===void 0?{}:u,h=e.className,c=h===void 0?"":h,p=y(A({default:{card:{width:o,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},f),{"hide-triangle":l==="hide","top-left-triangle":l==="top-left","top-right-triangle":l==="top-right"}),d=function(x,m){V(x)&&r({hex:x,source:"hex"},m)};return s.createElement("div",{style:p.card,className:"twitter-picker "+c},s.createElement("div",{style:p.triangleShadow}),s.createElement("div",{style:p.triangle}),s.createElement("div",{style:p.body},te(i,function(v,x){return s.createElement(ee,{key:x,color:v,hex:v,style:p.swatch,onClick:d,onHover:n,focusStyle:{boxShadow:"0 0 4px "+v}})}),s.createElement("div",{style:p.hash},"#"),s.createElement(w,{label:null,style:{input:p.input},value:a.replace("#",""),onChange:d}),s.createElement("div",{style:p.clear})))};Ut.propTypes={width:g.oneOfType([g.string,g.number]),triangle:g.oneOf(["hide","top-left","top-right"]),colors:g.arrayOf(g.string),styles:g.object};Ut.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}};T(Ut);var Wt=function(e){var r=y({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(e.hsl.s*100)+"%, "+Math.round(e.hsl.l*100)+"%)"}}});return s.createElement("div",{style:r.picker})};Wt.propTypes={hsl:g.shape({h:g.number,s:g.number,l:g.number,a:g.number})};Wt.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var Xt=function(e){var r=y({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return s.createElement("div",{style:r.picker})};Xt.propTypes={hsl:g.shape({h:g.number,s:g.number,l:g.number,a:g.number})};Xt.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var ah=function(e){var r=e.onChange,n=e.rgb,a=e.hsl,i=e.hex,o=e.hsv,l=function(d,v){if(d.hex)V(d.hex)&&r({hex:d.hex,source:"hex"},v);else if(d.rgb){var x=d.rgb.split(",");ft(d.rgb,"rgb")&&r({r:x[0],g:x[1],b:x[2],a:1,source:"rgb"},v)}else if(d.hsv){var m=d.hsv.split(",");ft(d.hsv,"hsv")&&(m[2]=m[2].replace("%",""),m[1]=m[1].replace("%",""),m[0]=m[0].replace("°",""),m[1]==1?m[1]=.01:m[2]==1&&(m[2]=.01),r({h:Number(m[0]),s:Number(m[1]),v:Number(m[2]),source:"hsv"},v))}else if(d.hsl){var E=d.hsl.split(",");ft(d.hsl,"hsl")&&(E[2]=E[2].replace("%",""),E[1]=E[1].replace("%",""),E[0]=E[0].replace("°",""),c[1]==1?c[1]=.01:c[2]==1&&(c[2]=.01),r({h:Number(E[0]),s:Number(E[1]),v:Number(E[2]),source:"hsl"},v))}},u=y({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),f=n.r+", "+n.g+", "+n.b,h=Math.round(a.h)+"°, "+Math.round(a.s*100)+"%, "+Math.round(a.l*100)+"%",c=Math.round(o.h)+"°, "+Math.round(o.s*100)+"%, "+Math.round(o.v*100)+"%";return s.createElement("div",{style:u.wrap,className:"flexbox-fix"},s.createElement("div",{style:u.fields},s.createElement("div",{style:u.double},s.createElement(w,{style:{input:u.input,label:u.label},label:"hex",value:i,onChange:l})),s.createElement("div",{style:u.column},s.createElement("div",{style:u.single},s.createElement(w,{style:{input:u.input2,label:u.label2},label:"rgb",value:f,onChange:l})),s.createElement("div",{style:u.single},s.createElement(w,{style:{input:u.input2,label:u.label2},label:"hsv",value:c,onChange:l})),s.createElement("div",{style:u.single},s.createElement(w,{style:{input:u.input2,label:u.label2},label:"hsl",value:h,onChange:l})))))},Vt=function(e){var r=e.width,n=e.onChange,a=e.rgb,i=e.hsl,o=e.hsv,l=e.hex,u=e.header,f=e.styles,h=f===void 0?{}:f,c=e.className,p=c===void 0?"":c,d=y(A({default:{picker:{width:r,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+a.r+", "+a.g+", "+a.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},h));return s.createElement("div",{style:d.picker,className:"google-picker "+p},s.createElement("div",{style:d.head},u),s.createElement("div",{style:d.swatch}),s.createElement("div",{style:d.saturation},s.createElement(tt,{hsl:i,hsv:o,pointer:Wt,onChange:n})),s.createElement("div",{style:d.body},s.createElement("div",{style:d.controls,className:"flexbox-fix"},s.createElement("div",{style:d.hue},s.createElement(we,{style:d.Hue,hsl:i,radius:"4px",pointer:Xt,onChange:n}))),s.createElement(ah,{rgb:a,hsl:i,hex:l,hsv:o,onChange:n})))};Vt.propTypes={width:g.oneOfType([g.string,g.number]),styles:g.object,header:g.string};Vt.defaultProps={width:652,styles:{},header:"Color picker"};T(Vt);export{oh as G,lh as S,b as t}; diff --git a/admin-views/dist/assets/Google-4f51758a.js.gz b/admin-views/dist/assets/Google-4f51758a.js.gz new file mode 100644 index 00000000..43e65a0e Binary files /dev/null and b/admin-views/dist/assets/Google-4f51758a.js.gz differ diff --git a/admin-views/dist/assets/Markdown-d2b9cfd4.js b/admin-views/dist/assets/Markdown-36b3dcf0.js similarity index 99% rename from admin-views/dist/assets/Markdown-d2b9cfd4.js rename to admin-views/dist/assets/Markdown-36b3dcf0.js index ba8c254b..ff886fff 100644 --- a/admin-views/dist/assets/Markdown-d2b9cfd4.js +++ b/admin-views/dist/assets/Markdown-36b3dcf0.js @@ -1,4 +1,4 @@ -import{cv as Kr,f as Xr,p as nt,ay as rt,az as tt,R as Hn}from"./index-91036dd3.js";var q={};const ot="Á",et="á",st="Ă",ct="ă",it="∾",at="∿",lt="∾̳",ut="Â",pt="â",ft="´",ht="А",dt="а",mt="Æ",gt="æ",bt="⁡",_t="𝔄",kt="𝔞",xt="À",vt="à",yt="ℵ",Ct="ℵ",wt="Α",At="α",qt="Ā",Dt="ā",Et="⨿",St="&",Ft="&",Tt="⩕",Rt="⩓",Lt="∧",zt="⩜",It="⩘",Bt="⩚",Mt="∠",Nt="⦤",Pt="∠",Ot="⦨",Ut="⦩",Vt="⦪",$t="⦫",Gt="⦬",Ht="⦭",jt="⦮",Zt="⦯",Jt="∡",Yt="∟",Wt="⊾",Qt="⦝",Kt="∢",Xt="Å",no="⍼",ro="Ą",to="ą",oo="𝔸",eo="𝕒",so="⩯",co="≈",io="⩰",ao="≊",lo="≋",uo="'",po="⁡",fo="≈",ho="≊",mo="Å",go="å",bo="𝒜",_o="𝒶",ko="≔",xo="*",vo="≈",yo="≍",Co="Ã",wo="ã",Ao="Ä",qo="ä",Do="∳",Eo="⨑",So="≌",Fo="϶",To="‵",Ro="∽",Lo="⋍",zo="∖",Io="⫧",Bo="⊽",Mo="⌅",No="⌆",Po="⌅",Oo="⎵",Uo="⎶",Vo="≌",$o="Б",Go="б",Ho="„",jo="∵",Zo="∵",Jo="∵",Yo="⦰",Wo="϶",Qo="ℬ",Ko="ℬ",Xo="Β",ne="β",re="ℶ",te="≬",oe="𝔅",ee="𝔟",se="⋂",ce="◯",ie="⋃",ae="⨀",le="⨁",ue="⨂",pe="⨆",fe="★",he="▽",de="△",me="⨄",ge="⋁",be="⋀",_e="⤍",ke="⧫",xe="▪",ve="▴",ye="▾",Ce="◂",we="▸",Ae="␣",qe="▒",De="░",Ee="▓",Se="█",Fe="=⃥",Te="≡⃥",Re="⫭",Le="⌐",ze="𝔹",Ie="𝕓",Be="⊥",Me="⊥",Ne="⋈",Pe="⧉",Oe="┐",Ue="╕",Ve="╖",$e="╗",Ge="┌",He="╒",je="╓",Ze="╔",Je="─",Ye="═",We="┬",Qe="╤",Ke="╥",Xe="╦",ns="┴",rs="╧",ts="╨",os="╩",es="⊟",ss="⊞",cs="⊠",is="┘",as="╛",ls="╜",us="╝",ps="└",fs="╘",hs="╙",ds="╚",ms="│",gs="║",bs="┼",_s="╪",ks="╫",xs="╬",vs="┤",ys="╡",Cs="╢",ws="╣",As="├",qs="╞",Ds="╟",Es="╠",Ss="‵",Fs="˘",Ts="˘",Rs="¦",Ls="𝒷",zs="ℬ",Is="⁏",Bs="∽",Ms="⋍",Ns="⧅",Ps="\\",Os="⟈",Us="•",Vs="•",$s="≎",Gs="⪮",Hs="≏",js="≎",Zs="≏",Js="Ć",Ys="ć",Ws="⩄",Qs="⩉",Ks="⩋",Xs="∩",nc="⋒",rc="⩇",tc="⩀",oc="ⅅ",ec="∩︀",sc="⁁",cc="ˇ",ic="ℭ",ac="⩍",lc="Č",uc="č",pc="Ç",fc="ç",hc="Ĉ",dc="ĉ",mc="∰",gc="⩌",bc="⩐",_c="Ċ",kc="ċ",xc="¸",vc="¸",yc="⦲",Cc="¢",wc="·",Ac="·",qc="𝔠",Dc="ℭ",Ec="Ч",Sc="ч",Fc="✓",Tc="✓",Rc="Χ",Lc="χ",zc="ˆ",Ic="≗",Bc="↺",Mc="↻",Nc="⊛",Pc="⊚",Oc="⊝",Uc="⊙",Vc="®",$c="Ⓢ",Gc="⊖",Hc="⊕",jc="⊗",Zc="○",Jc="⧃",Yc="≗",Wc="⨐",Qc="⫯",Kc="⧂",Xc="∲",ni="”",ri="’",ti="♣",oi="♣",ei=":",si="∷",ci="⩴",ii="≔",ai="≔",li=",",ui="@",pi="∁",fi="∘",hi="∁",di="ℂ",mi="≅",gi="⩭",bi="≡",_i="∮",ki="∯",xi="∮",vi="𝕔",yi="ℂ",Ci="∐",wi="∐",Ai="©",qi="©",Di="℗",Ei="∳",Si="↵",Fi="✗",Ti="⨯",Ri="𝒞",Li="𝒸",zi="⫏",Ii="⫑",Bi="⫐",Mi="⫒",Ni="⋯",Pi="⤸",Oi="⤵",Ui="⋞",Vi="⋟",$i="↶",Gi="⤽",Hi="⩈",ji="⩆",Zi="≍",Ji="∪",Yi="⋓",Wi="⩊",Qi="⊍",Ki="⩅",Xi="∪︀",na="↷",ra="⤼",ta="⋞",oa="⋟",ea="⋎",sa="⋏",ca="¤",ia="↶",aa="↷",la="⋎",ua="⋏",pa="∲",fa="∱",ha="⌭",da="†",ma="‡",ga="ℸ",ba="↓",_a="↡",ka="⇓",xa="‐",va="⫤",ya="⊣",Ca="⤏",wa="˝",Aa="Ď",qa="ď",Da="Д",Ea="д",Sa="‡",Fa="⇊",Ta="ⅅ",Ra="ⅆ",La="⤑",za="⩷",Ia="°",Ba="∇",Ma="Δ",Na="δ",Pa="⦱",Oa="⥿",Ua="𝔇",Va="𝔡",$a="⥥",Ga="⇃",Ha="⇂",ja="´",Za="˙",Ja="˝",Ya="`",Wa="˜",Qa="⋄",Ka="⋄",Xa="⋄",nl="♦",rl="♦",tl="¨",ol="ⅆ",el="ϝ",sl="⋲",cl="÷",il="÷",al="⋇",ll="⋇",ul="Ђ",pl="ђ",fl="⌞",hl="⌍",dl="$",ml="𝔻",gl="𝕕",bl="¨",_l="˙",kl="⃜",xl="≐",vl="≑",yl="≐",Cl="∸",wl="∔",Al="⊡",ql="⌆",Dl="∯",El="¨",Sl="⇓",Fl="⇐",Tl="⇔",Rl="⫤",Ll="⟸",zl="⟺",Il="⟹",Bl="⇒",Ml="⊨",Nl="⇑",Pl="⇕",Ol="∥",Ul="⤓",Vl="↓",$l="↓",Gl="⇓",Hl="⇵",jl="̑",Zl="⇊",Jl="⇃",Yl="⇂",Wl="⥐",Ql="⥞",Kl="⥖",Xl="↽",nu="⥟",ru="⥗",tu="⇁",ou="↧",eu="⊤",su="⤐",cu="⌟",iu="⌌",au="𝒟",lu="𝒹",uu="Ѕ",pu="ѕ",fu="⧶",hu="Đ",du="đ",mu="⋱",gu="▿",bu="▾",_u="⇵",ku="⥯",xu="⦦",vu="Џ",yu="џ",Cu="⟿",wu="É",Au="é",qu="⩮",Du="Ě",Eu="ě",Su="Ê",Fu="ê",Tu="≖",Ru="≕",Lu="Э",zu="э",Iu="⩷",Bu="Ė",Mu="ė",Nu="≑",Pu="ⅇ",Ou="≒",Uu="𝔈",Vu="𝔢",$u="⪚",Gu="È",Hu="è",ju="⪖",Zu="⪘",Ju="⪙",Yu="∈",Wu="⏧",Qu="ℓ",Ku="⪕",Xu="⪗",np="Ē",rp="ē",tp="∅",op="∅",ep="◻",sp="∅",cp="▫",ip=" ",ap=" ",lp=" ",up="Ŋ",pp="ŋ",fp=" ",hp="Ę",dp="ę",mp="𝔼",gp="𝕖",bp="⋕",_p="⧣",kp="⩱",xp="ε",vp="Ε",yp="ε",Cp="ϵ",wp="≖",Ap="≕",qp="≂",Dp="⪖",Ep="⪕",Sp="⩵",Fp="=",Tp="≂",Rp="≟",Lp="⇌",zp="≡",Ip="⩸",Bp="⧥",Mp="⥱",Np="≓",Pp="ℯ",Op="ℰ",Up="≐",Vp="⩳",$p="≂",Gp="Η",Hp="η",jp="Ð",Zp="ð",Jp="Ë",Yp="ë",Wp="€",Qp="!",Kp="∃",Xp="∃",nf="ℰ",rf="ⅇ",tf="ⅇ",of="≒",ef="Ф",sf="ф",cf="♀",af="ffi",lf="ff",uf="ffl",pf="𝔉",ff="𝔣",hf="fi",df="◼",mf="▪",gf="fj",bf="♭",_f="fl",kf="▱",xf="ƒ",vf="𝔽",yf="𝕗",Cf="∀",wf="∀",Af="⋔",qf="⫙",Df="ℱ",Ef="⨍",Sf="½",Ff="⅓",Tf="¼",Rf="⅕",Lf="⅙",zf="⅛",If="⅔",Bf="⅖",Mf="¾",Nf="⅗",Pf="⅜",Of="⅘",Uf="⅚",Vf="⅝",$f="⅞",Gf="⁄",Hf="⌢",jf="𝒻",Zf="ℱ",Jf="ǵ",Yf="Γ",Wf="γ",Qf="Ϝ",Kf="ϝ",Xf="⪆",nh="Ğ",rh="ğ",th="Ģ",oh="Ĝ",eh="ĝ",sh="Г",ch="г",ih="Ġ",ah="ġ",lh="≥",uh="≧",ph="⪌",fh="⋛",hh="≥",dh="≧",mh="⩾",gh="⪩",bh="⩾",_h="⪀",kh="⪂",xh="⪄",vh="⋛︀",yh="⪔",Ch="𝔊",wh="𝔤",Ah="≫",qh="⋙",Dh="⋙",Eh="ℷ",Sh="Ѓ",Fh="ѓ",Th="⪥",Rh="≷",Lh="⪒",zh="⪤",Ih="⪊",Bh="⪊",Mh="⪈",Nh="≩",Ph="⪈",Oh="≩",Uh="⋧",Vh="𝔾",$h="𝕘",Gh="`",Hh="≥",jh="⋛",Zh="≧",Jh="⪢",Yh="≷",Wh="⩾",Qh="≳",Kh="𝒢",Xh="ℊ",nd="≳",rd="⪎",td="⪐",od="⪧",ed="⩺",sd=">",cd=">",id="≫",ad="⋗",ld="⦕",ud="⩼",pd="⪆",fd="⥸",hd="⋗",dd="⋛",md="⪌",gd="≷",bd="≳",_d="≩︀",kd="≩︀",xd="ˇ",vd=" ",yd="½",Cd="ℋ",wd="Ъ",Ad="ъ",qd="⥈",Dd="↔",Ed="⇔",Sd="↭",Fd="^",Td="ℏ",Rd="Ĥ",Ld="ĥ",zd="♥",Id="♥",Bd="…",Md="⊹",Nd="𝔥",Pd="ℌ",Od="ℋ",Ud="⤥",Vd="⤦",$d="⇿",Gd="∻",Hd="↩",jd="↪",Zd="𝕙",Jd="ℍ",Yd="―",Wd="─",Qd="𝒽",Kd="ℋ",Xd="ℏ",nm="Ħ",rm="ħ",tm="≎",om="≏",em="⁃",sm="‐",cm="Í",im="í",am="⁣",lm="Î",um="î",pm="И",fm="и",hm="İ",dm="Е",mm="е",gm="¡",bm="⇔",_m="𝔦",km="ℑ",xm="Ì",vm="ì",ym="ⅈ",Cm="⨌",wm="∭",Am="⧜",qm="℩",Dm="IJ",Em="ij",Sm="Ī",Fm="ī",Tm="ℑ",Rm="ⅈ",Lm="ℐ",zm="ℑ",Im="ı",Bm="ℑ",Mm="⊷",Nm="Ƶ",Pm="⇒",Om="℅",Um="∞",Vm="⧝",$m="ı",Gm="⊺",Hm="∫",jm="∬",Zm="ℤ",Jm="∫",Ym="⊺",Wm="⋂",Qm="⨗",Km="⨼",Xm="⁣",ng="⁢",rg="Ё",tg="ё",og="Į",eg="į",sg="𝕀",cg="𝕚",ig="Ι",ag="ι",lg="⨼",ug="¿",pg="𝒾",fg="ℐ",hg="∈",dg="⋵",mg="⋹",gg="⋴",bg="⋳",_g="∈",kg="⁢",xg="Ĩ",vg="ĩ",yg="І",Cg="і",wg="Ï",Ag="ï",qg="Ĵ",Dg="ĵ",Eg="Й",Sg="й",Fg="𝔍",Tg="𝔧",Rg="ȷ",Lg="𝕁",zg="𝕛",Ig="𝒥",Bg="𝒿",Mg="Ј",Ng="ј",Pg="Є",Og="є",Ug="Κ",Vg="κ",$g="ϰ",Gg="Ķ",Hg="ķ",jg="К",Zg="к",Jg="𝔎",Yg="𝔨",Wg="ĸ",Qg="Х",Kg="х",Xg="Ќ",n0="ќ",r0="𝕂",t0="𝕜",o0="𝒦",e0="𝓀",s0="⇚",c0="Ĺ",i0="ĺ",a0="⦴",l0="ℒ",u0="Λ",p0="λ",f0="⟨",h0="⟪",d0="⦑",m0="⟨",g0="⪅",b0="ℒ",_0="«",k0="⇤",x0="⤟",v0="←",y0="↞",C0="⇐",w0="⤝",A0="↩",q0="↫",D0="⤹",E0="⥳",S0="↢",F0="⤙",T0="⤛",R0="⪫",L0="⪭",z0="⪭︀",I0="⤌",B0="⤎",M0="❲",N0="{",P0="[",O0="⦋",U0="⦏",V0="⦍",$0="Ľ",G0="ľ",H0="Ļ",j0="ļ",Z0="⌈",J0="{",Y0="Л",W0="л",Q0="⤶",K0="“",X0="„",nb="⥧",rb="⥋",tb="↲",ob="≤",eb="≦",sb="⟨",cb="⇤",ib="←",ab="←",lb="⇐",ub="⇆",pb="↢",fb="⌈",hb="⟦",db="⥡",mb="⥙",gb="⇃",bb="⌊",_b="↽",kb="↼",xb="⇇",vb="↔",yb="↔",Cb="⇔",wb="⇆",Ab="⇋",qb="↭",Db="⥎",Eb="↤",Sb="⊣",Fb="⥚",Tb="⋋",Rb="⧏",Lb="⊲",zb="⊴",Ib="⥑",Bb="⥠",Mb="⥘",Nb="↿",Pb="⥒",Ob="↼",Ub="⪋",Vb="⋚",$b="≤",Gb="≦",Hb="⩽",jb="⪨",Zb="⩽",Jb="⩿",Yb="⪁",Wb="⪃",Qb="⋚︀",Kb="⪓",Xb="⪅",n_="⋖",r_="⋚",t_="⪋",o_="⋚",e_="≦",s_="≶",c_="≶",i_="⪡",a_="≲",l_="⩽",u_="≲",p_="⥼",f_="⌊",h_="𝔏",d_="𝔩",m_="≶",g_="⪑",b_="⥢",__="↽",k_="↼",x_="⥪",v_="▄",y_="Љ",C_="љ",w_="⇇",A_="≪",q_="⋘",D_="⌞",E_="⇚",S_="⥫",F_="◺",T_="Ŀ",R_="ŀ",L_="⎰",z_="⎰",I_="⪉",B_="⪉",M_="⪇",N_="≨",P_="⪇",O_="≨",U_="⋦",V_="⟬",$_="⇽",G_="⟦",H_="⟵",j_="⟵",Z_="⟸",J_="⟷",Y_="⟷",W_="⟺",Q_="⟼",K_="⟶",X_="⟶",nk="⟹",rk="↫",tk="↬",ok="⦅",ek="𝕃",sk="𝕝",ck="⨭",ik="⨴",ak="∗",lk="_",uk="↙",pk="↘",fk="◊",hk="◊",dk="⧫",mk="(",gk="⦓",bk="⇆",_k="⌟",kk="⇋",xk="⥭",vk="‎",yk="⊿",Ck="‹",wk="𝓁",Ak="ℒ",qk="↰",Dk="↰",Ek="≲",Sk="⪍",Fk="⪏",Tk="[",Rk="‘",Lk="‚",zk="Ł",Ik="ł",Bk="⪦",Mk="⩹",Nk="<",Pk="<",Ok="≪",Uk="⋖",Vk="⋋",$k="⋉",Gk="⥶",Hk="⩻",jk="◃",Zk="⊴",Jk="◂",Yk="⦖",Wk="⥊",Qk="⥦",Kk="≨︀",Xk="≨︀",nx="¯",rx="♂",tx="✠",ox="✠",ex="↦",sx="↦",cx="↧",ix="↤",ax="↥",lx="▮",ux="⨩",px="М",fx="м",hx="—",dx="∺",mx="∡",gx=" ",bx="ℳ",_x="𝔐",kx="𝔪",xx="℧",vx="µ",yx="*",Cx="⫰",wx="∣",Ax="·",qx="⊟",Dx="−",Ex="∸",Sx="⨪",Fx="∓",Tx="⫛",Rx="…",Lx="∓",zx="⊧",Ix="𝕄",Bx="𝕞",Mx="∓",Nx="𝓂",Px="ℳ",Ox="∾",Ux="Μ",Vx="μ",$x="⊸",Gx="⊸",Hx="∇",jx="Ń",Zx="ń",Jx="∠⃒",Yx="≉",Wx="⩰̸",Qx="≋̸",Kx="ʼn",Xx="≉",nv="♮",rv="ℕ",tv="♮",ov=" ",ev="≎̸",sv="≏̸",cv="⩃",iv="Ň",av="ň",lv="Ņ",uv="ņ",pv="≇",fv="⩭̸",hv="⩂",dv="Н",mv="н",gv="–",bv="⤤",_v="↗",kv="⇗",xv="↗",vv="≠",yv="≐̸",Cv="​",wv="​",Av="​",qv="​",Dv="≢",Ev="⤨",Sv="≂̸",Fv="≫",Tv="≪",Rv=` +import{cv as Kr,f as Xr,p as nt,ay as rt,az as tt,R as Hn}from"./index-a61a86fd.js";var q={};const ot="Á",et="á",st="Ă",ct="ă",it="∾",at="∿",lt="∾̳",ut="Â",pt="â",ft="´",ht="А",dt="а",mt="Æ",gt="æ",bt="⁡",_t="𝔄",kt="𝔞",xt="À",vt="à",yt="ℵ",Ct="ℵ",wt="Α",At="α",qt="Ā",Dt="ā",Et="⨿",St="&",Ft="&",Tt="⩕",Rt="⩓",Lt="∧",zt="⩜",It="⩘",Bt="⩚",Mt="∠",Nt="⦤",Pt="∠",Ot="⦨",Ut="⦩",Vt="⦪",$t="⦫",Gt="⦬",Ht="⦭",jt="⦮",Zt="⦯",Jt="∡",Yt="∟",Wt="⊾",Qt="⦝",Kt="∢",Xt="Å",no="⍼",ro="Ą",to="ą",oo="𝔸",eo="𝕒",so="⩯",co="≈",io="⩰",ao="≊",lo="≋",uo="'",po="⁡",fo="≈",ho="≊",mo="Å",go="å",bo="𝒜",_o="𝒶",ko="≔",xo="*",vo="≈",yo="≍",Co="Ã",wo="ã",Ao="Ä",qo="ä",Do="∳",Eo="⨑",So="≌",Fo="϶",To="‵",Ro="∽",Lo="⋍",zo="∖",Io="⫧",Bo="⊽",Mo="⌅",No="⌆",Po="⌅",Oo="⎵",Uo="⎶",Vo="≌",$o="Б",Go="б",Ho="„",jo="∵",Zo="∵",Jo="∵",Yo="⦰",Wo="϶",Qo="ℬ",Ko="ℬ",Xo="Β",ne="β",re="ℶ",te="≬",oe="𝔅",ee="𝔟",se="⋂",ce="◯",ie="⋃",ae="⨀",le="⨁",ue="⨂",pe="⨆",fe="★",he="▽",de="△",me="⨄",ge="⋁",be="⋀",_e="⤍",ke="⧫",xe="▪",ve="▴",ye="▾",Ce="◂",we="▸",Ae="␣",qe="▒",De="░",Ee="▓",Se="█",Fe="=⃥",Te="≡⃥",Re="⫭",Le="⌐",ze="𝔹",Ie="𝕓",Be="⊥",Me="⊥",Ne="⋈",Pe="⧉",Oe="┐",Ue="╕",Ve="╖",$e="╗",Ge="┌",He="╒",je="╓",Ze="╔",Je="─",Ye="═",We="┬",Qe="╤",Ke="╥",Xe="╦",ns="┴",rs="╧",ts="╨",os="╩",es="⊟",ss="⊞",cs="⊠",is="┘",as="╛",ls="╜",us="╝",ps="└",fs="╘",hs="╙",ds="╚",ms="│",gs="║",bs="┼",_s="╪",ks="╫",xs="╬",vs="┤",ys="╡",Cs="╢",ws="╣",As="├",qs="╞",Ds="╟",Es="╠",Ss="‵",Fs="˘",Ts="˘",Rs="¦",Ls="𝒷",zs="ℬ",Is="⁏",Bs="∽",Ms="⋍",Ns="⧅",Ps="\\",Os="⟈",Us="•",Vs="•",$s="≎",Gs="⪮",Hs="≏",js="≎",Zs="≏",Js="Ć",Ys="ć",Ws="⩄",Qs="⩉",Ks="⩋",Xs="∩",nc="⋒",rc="⩇",tc="⩀",oc="ⅅ",ec="∩︀",sc="⁁",cc="ˇ",ic="ℭ",ac="⩍",lc="Č",uc="č",pc="Ç",fc="ç",hc="Ĉ",dc="ĉ",mc="∰",gc="⩌",bc="⩐",_c="Ċ",kc="ċ",xc="¸",vc="¸",yc="⦲",Cc="¢",wc="·",Ac="·",qc="𝔠",Dc="ℭ",Ec="Ч",Sc="ч",Fc="✓",Tc="✓",Rc="Χ",Lc="χ",zc="ˆ",Ic="≗",Bc="↺",Mc="↻",Nc="⊛",Pc="⊚",Oc="⊝",Uc="⊙",Vc="®",$c="Ⓢ",Gc="⊖",Hc="⊕",jc="⊗",Zc="○",Jc="⧃",Yc="≗",Wc="⨐",Qc="⫯",Kc="⧂",Xc="∲",ni="”",ri="’",ti="♣",oi="♣",ei=":",si="∷",ci="⩴",ii="≔",ai="≔",li=",",ui="@",pi="∁",fi="∘",hi="∁",di="ℂ",mi="≅",gi="⩭",bi="≡",_i="∮",ki="∯",xi="∮",vi="𝕔",yi="ℂ",Ci="∐",wi="∐",Ai="©",qi="©",Di="℗",Ei="∳",Si="↵",Fi="✗",Ti="⨯",Ri="𝒞",Li="𝒸",zi="⫏",Ii="⫑",Bi="⫐",Mi="⫒",Ni="⋯",Pi="⤸",Oi="⤵",Ui="⋞",Vi="⋟",$i="↶",Gi="⤽",Hi="⩈",ji="⩆",Zi="≍",Ji="∪",Yi="⋓",Wi="⩊",Qi="⊍",Ki="⩅",Xi="∪︀",na="↷",ra="⤼",ta="⋞",oa="⋟",ea="⋎",sa="⋏",ca="¤",ia="↶",aa="↷",la="⋎",ua="⋏",pa="∲",fa="∱",ha="⌭",da="†",ma="‡",ga="ℸ",ba="↓",_a="↡",ka="⇓",xa="‐",va="⫤",ya="⊣",Ca="⤏",wa="˝",Aa="Ď",qa="ď",Da="Д",Ea="д",Sa="‡",Fa="⇊",Ta="ⅅ",Ra="ⅆ",La="⤑",za="⩷",Ia="°",Ba="∇",Ma="Δ",Na="δ",Pa="⦱",Oa="⥿",Ua="𝔇",Va="𝔡",$a="⥥",Ga="⇃",Ha="⇂",ja="´",Za="˙",Ja="˝",Ya="`",Wa="˜",Qa="⋄",Ka="⋄",Xa="⋄",nl="♦",rl="♦",tl="¨",ol="ⅆ",el="ϝ",sl="⋲",cl="÷",il="÷",al="⋇",ll="⋇",ul="Ђ",pl="ђ",fl="⌞",hl="⌍",dl="$",ml="𝔻",gl="𝕕",bl="¨",_l="˙",kl="⃜",xl="≐",vl="≑",yl="≐",Cl="∸",wl="∔",Al="⊡",ql="⌆",Dl="∯",El="¨",Sl="⇓",Fl="⇐",Tl="⇔",Rl="⫤",Ll="⟸",zl="⟺",Il="⟹",Bl="⇒",Ml="⊨",Nl="⇑",Pl="⇕",Ol="∥",Ul="⤓",Vl="↓",$l="↓",Gl="⇓",Hl="⇵",jl="̑",Zl="⇊",Jl="⇃",Yl="⇂",Wl="⥐",Ql="⥞",Kl="⥖",Xl="↽",nu="⥟",ru="⥗",tu="⇁",ou="↧",eu="⊤",su="⤐",cu="⌟",iu="⌌",au="𝒟",lu="𝒹",uu="Ѕ",pu="ѕ",fu="⧶",hu="Đ",du="đ",mu="⋱",gu="▿",bu="▾",_u="⇵",ku="⥯",xu="⦦",vu="Џ",yu="џ",Cu="⟿",wu="É",Au="é",qu="⩮",Du="Ě",Eu="ě",Su="Ê",Fu="ê",Tu="≖",Ru="≕",Lu="Э",zu="э",Iu="⩷",Bu="Ė",Mu="ė",Nu="≑",Pu="ⅇ",Ou="≒",Uu="𝔈",Vu="𝔢",$u="⪚",Gu="È",Hu="è",ju="⪖",Zu="⪘",Ju="⪙",Yu="∈",Wu="⏧",Qu="ℓ",Ku="⪕",Xu="⪗",np="Ē",rp="ē",tp="∅",op="∅",ep="◻",sp="∅",cp="▫",ip=" ",ap=" ",lp=" ",up="Ŋ",pp="ŋ",fp=" ",hp="Ę",dp="ę",mp="𝔼",gp="𝕖",bp="⋕",_p="⧣",kp="⩱",xp="ε",vp="Ε",yp="ε",Cp="ϵ",wp="≖",Ap="≕",qp="≂",Dp="⪖",Ep="⪕",Sp="⩵",Fp="=",Tp="≂",Rp="≟",Lp="⇌",zp="≡",Ip="⩸",Bp="⧥",Mp="⥱",Np="≓",Pp="ℯ",Op="ℰ",Up="≐",Vp="⩳",$p="≂",Gp="Η",Hp="η",jp="Ð",Zp="ð",Jp="Ë",Yp="ë",Wp="€",Qp="!",Kp="∃",Xp="∃",nf="ℰ",rf="ⅇ",tf="ⅇ",of="≒",ef="Ф",sf="ф",cf="♀",af="ffi",lf="ff",uf="ffl",pf="𝔉",ff="𝔣",hf="fi",df="◼",mf="▪",gf="fj",bf="♭",_f="fl",kf="▱",xf="ƒ",vf="𝔽",yf="𝕗",Cf="∀",wf="∀",Af="⋔",qf="⫙",Df="ℱ",Ef="⨍",Sf="½",Ff="⅓",Tf="¼",Rf="⅕",Lf="⅙",zf="⅛",If="⅔",Bf="⅖",Mf="¾",Nf="⅗",Pf="⅜",Of="⅘",Uf="⅚",Vf="⅝",$f="⅞",Gf="⁄",Hf="⌢",jf="𝒻",Zf="ℱ",Jf="ǵ",Yf="Γ",Wf="γ",Qf="Ϝ",Kf="ϝ",Xf="⪆",nh="Ğ",rh="ğ",th="Ģ",oh="Ĝ",eh="ĝ",sh="Г",ch="г",ih="Ġ",ah="ġ",lh="≥",uh="≧",ph="⪌",fh="⋛",hh="≥",dh="≧",mh="⩾",gh="⪩",bh="⩾",_h="⪀",kh="⪂",xh="⪄",vh="⋛︀",yh="⪔",Ch="𝔊",wh="𝔤",Ah="≫",qh="⋙",Dh="⋙",Eh="ℷ",Sh="Ѓ",Fh="ѓ",Th="⪥",Rh="≷",Lh="⪒",zh="⪤",Ih="⪊",Bh="⪊",Mh="⪈",Nh="≩",Ph="⪈",Oh="≩",Uh="⋧",Vh="𝔾",$h="𝕘",Gh="`",Hh="≥",jh="⋛",Zh="≧",Jh="⪢",Yh="≷",Wh="⩾",Qh="≳",Kh="𝒢",Xh="ℊ",nd="≳",rd="⪎",td="⪐",od="⪧",ed="⩺",sd=">",cd=">",id="≫",ad="⋗",ld="⦕",ud="⩼",pd="⪆",fd="⥸",hd="⋗",dd="⋛",md="⪌",gd="≷",bd="≳",_d="≩︀",kd="≩︀",xd="ˇ",vd=" ",yd="½",Cd="ℋ",wd="Ъ",Ad="ъ",qd="⥈",Dd="↔",Ed="⇔",Sd="↭",Fd="^",Td="ℏ",Rd="Ĥ",Ld="ĥ",zd="♥",Id="♥",Bd="…",Md="⊹",Nd="𝔥",Pd="ℌ",Od="ℋ",Ud="⤥",Vd="⤦",$d="⇿",Gd="∻",Hd="↩",jd="↪",Zd="𝕙",Jd="ℍ",Yd="―",Wd="─",Qd="𝒽",Kd="ℋ",Xd="ℏ",nm="Ħ",rm="ħ",tm="≎",om="≏",em="⁃",sm="‐",cm="Í",im="í",am="⁣",lm="Î",um="î",pm="И",fm="и",hm="İ",dm="Е",mm="е",gm="¡",bm="⇔",_m="𝔦",km="ℑ",xm="Ì",vm="ì",ym="ⅈ",Cm="⨌",wm="∭",Am="⧜",qm="℩",Dm="IJ",Em="ij",Sm="Ī",Fm="ī",Tm="ℑ",Rm="ⅈ",Lm="ℐ",zm="ℑ",Im="ı",Bm="ℑ",Mm="⊷",Nm="Ƶ",Pm="⇒",Om="℅",Um="∞",Vm="⧝",$m="ı",Gm="⊺",Hm="∫",jm="∬",Zm="ℤ",Jm="∫",Ym="⊺",Wm="⋂",Qm="⨗",Km="⨼",Xm="⁣",ng="⁢",rg="Ё",tg="ё",og="Į",eg="į",sg="𝕀",cg="𝕚",ig="Ι",ag="ι",lg="⨼",ug="¿",pg="𝒾",fg="ℐ",hg="∈",dg="⋵",mg="⋹",gg="⋴",bg="⋳",_g="∈",kg="⁢",xg="Ĩ",vg="ĩ",yg="І",Cg="і",wg="Ï",Ag="ï",qg="Ĵ",Dg="ĵ",Eg="Й",Sg="й",Fg="𝔍",Tg="𝔧",Rg="ȷ",Lg="𝕁",zg="𝕛",Ig="𝒥",Bg="𝒿",Mg="Ј",Ng="ј",Pg="Є",Og="є",Ug="Κ",Vg="κ",$g="ϰ",Gg="Ķ",Hg="ķ",jg="К",Zg="к",Jg="𝔎",Yg="𝔨",Wg="ĸ",Qg="Х",Kg="х",Xg="Ќ",n0="ќ",r0="𝕂",t0="𝕜",o0="𝒦",e0="𝓀",s0="⇚",c0="Ĺ",i0="ĺ",a0="⦴",l0="ℒ",u0="Λ",p0="λ",f0="⟨",h0="⟪",d0="⦑",m0="⟨",g0="⪅",b0="ℒ",_0="«",k0="⇤",x0="⤟",v0="←",y0="↞",C0="⇐",w0="⤝",A0="↩",q0="↫",D0="⤹",E0="⥳",S0="↢",F0="⤙",T0="⤛",R0="⪫",L0="⪭",z0="⪭︀",I0="⤌",B0="⤎",M0="❲",N0="{",P0="[",O0="⦋",U0="⦏",V0="⦍",$0="Ľ",G0="ľ",H0="Ļ",j0="ļ",Z0="⌈",J0="{",Y0="Л",W0="л",Q0="⤶",K0="“",X0="„",nb="⥧",rb="⥋",tb="↲",ob="≤",eb="≦",sb="⟨",cb="⇤",ib="←",ab="←",lb="⇐",ub="⇆",pb="↢",fb="⌈",hb="⟦",db="⥡",mb="⥙",gb="⇃",bb="⌊",_b="↽",kb="↼",xb="⇇",vb="↔",yb="↔",Cb="⇔",wb="⇆",Ab="⇋",qb="↭",Db="⥎",Eb="↤",Sb="⊣",Fb="⥚",Tb="⋋",Rb="⧏",Lb="⊲",zb="⊴",Ib="⥑",Bb="⥠",Mb="⥘",Nb="↿",Pb="⥒",Ob="↼",Ub="⪋",Vb="⋚",$b="≤",Gb="≦",Hb="⩽",jb="⪨",Zb="⩽",Jb="⩿",Yb="⪁",Wb="⪃",Qb="⋚︀",Kb="⪓",Xb="⪅",n_="⋖",r_="⋚",t_="⪋",o_="⋚",e_="≦",s_="≶",c_="≶",i_="⪡",a_="≲",l_="⩽",u_="≲",p_="⥼",f_="⌊",h_="𝔏",d_="𝔩",m_="≶",g_="⪑",b_="⥢",__="↽",k_="↼",x_="⥪",v_="▄",y_="Љ",C_="љ",w_="⇇",A_="≪",q_="⋘",D_="⌞",E_="⇚",S_="⥫",F_="◺",T_="Ŀ",R_="ŀ",L_="⎰",z_="⎰",I_="⪉",B_="⪉",M_="⪇",N_="≨",P_="⪇",O_="≨",U_="⋦",V_="⟬",$_="⇽",G_="⟦",H_="⟵",j_="⟵",Z_="⟸",J_="⟷",Y_="⟷",W_="⟺",Q_="⟼",K_="⟶",X_="⟶",nk="⟹",rk="↫",tk="↬",ok="⦅",ek="𝕃",sk="𝕝",ck="⨭",ik="⨴",ak="∗",lk="_",uk="↙",pk="↘",fk="◊",hk="◊",dk="⧫",mk="(",gk="⦓",bk="⇆",_k="⌟",kk="⇋",xk="⥭",vk="‎",yk="⊿",Ck="‹",wk="𝓁",Ak="ℒ",qk="↰",Dk="↰",Ek="≲",Sk="⪍",Fk="⪏",Tk="[",Rk="‘",Lk="‚",zk="Ł",Ik="ł",Bk="⪦",Mk="⩹",Nk="<",Pk="<",Ok="≪",Uk="⋖",Vk="⋋",$k="⋉",Gk="⥶",Hk="⩻",jk="◃",Zk="⊴",Jk="◂",Yk="⦖",Wk="⥊",Qk="⥦",Kk="≨︀",Xk="≨︀",nx="¯",rx="♂",tx="✠",ox="✠",ex="↦",sx="↦",cx="↧",ix="↤",ax="↥",lx="▮",ux="⨩",px="М",fx="м",hx="—",dx="∺",mx="∡",gx=" ",bx="ℳ",_x="𝔐",kx="𝔪",xx="℧",vx="µ",yx="*",Cx="⫰",wx="∣",Ax="·",qx="⊟",Dx="−",Ex="∸",Sx="⨪",Fx="∓",Tx="⫛",Rx="…",Lx="∓",zx="⊧",Ix="𝕄",Bx="𝕞",Mx="∓",Nx="𝓂",Px="ℳ",Ox="∾",Ux="Μ",Vx="μ",$x="⊸",Gx="⊸",Hx="∇",jx="Ń",Zx="ń",Jx="∠⃒",Yx="≉",Wx="⩰̸",Qx="≋̸",Kx="ʼn",Xx="≉",nv="♮",rv="ℕ",tv="♮",ov=" ",ev="≎̸",sv="≏̸",cv="⩃",iv="Ň",av="ň",lv="Ņ",uv="ņ",pv="≇",fv="⩭̸",hv="⩂",dv="Н",mv="н",gv="–",bv="⤤",_v="↗",kv="⇗",xv="↗",vv="≠",yv="≐̸",Cv="​",wv="​",Av="​",qv="​",Dv="≢",Ev="⤨",Sv="≂̸",Fv="≫",Tv="≪",Rv=` `,Lv="∄",zv="∄",Iv="𝔑",Bv="𝔫",Mv="≧̸",Nv="≱",Pv="≱",Ov="≧̸",Uv="⩾̸",Vv="⩾̸",$v="⋙̸",Gv="≵",Hv="≫⃒",jv="≯",Zv="≯",Jv="≫̸",Yv="↮",Wv="⇎",Qv="⫲",Kv="∋",Xv="⋼",ny="⋺",ry="∋",ty="Њ",oy="њ",ey="↚",sy="⇍",cy="‥",iy="≦̸",ay="≰",ly="↚",uy="⇍",py="↮",fy="⇎",hy="≰",dy="≦̸",my="⩽̸",gy="⩽̸",by="≮",_y="⋘̸",ky="≴",xy="≪⃒",vy="≮",yy="⋪",Cy="⋬",wy="≪̸",Ay="∤",qy="⁠",Dy=" ",Ey="𝕟",Sy="ℕ",Fy="⫬",Ty="¬",Ry="≢",Ly="≭",zy="∦",Iy="∉",By="≠",My="≂̸",Ny="∄",Py="≯",Oy="≱",Uy="≧̸",Vy="≫̸",$y="≹",Gy="⩾̸",Hy="≵",jy="≎̸",Zy="≏̸",Jy="∉",Yy="⋵̸",Wy="⋹̸",Qy="∉",Ky="⋷",Xy="⋶",nC="⧏̸",rC="⋪",tC="⋬",oC="≮",eC="≰",sC="≸",cC="≪̸",iC="⩽̸",aC="≴",lC="⪢̸",uC="⪡̸",pC="∌",fC="∌",hC="⋾",dC="⋽",mC="⊀",gC="⪯̸",bC="⋠",_C="∌",kC="⧐̸",xC="⋫",vC="⋭",yC="⊏̸",CC="⋢",wC="⊐̸",AC="⋣",qC="⊂⃒",DC="⊈",EC="⊁",SC="⪰̸",FC="⋡",TC="≿̸",RC="⊃⃒",LC="⊉",zC="≁",IC="≄",BC="≇",MC="≉",NC="∤",PC="∦",OC="∦",UC="⫽⃥",VC="∂̸",$C="⨔",GC="⊀",HC="⋠",jC="⊀",ZC="⪯̸",JC="⪯̸",YC="⤳̸",WC="↛",QC="⇏",KC="↝̸",XC="↛",nw="⇏",rw="⋫",tw="⋭",ow="⊁",ew="⋡",sw="⪰̸",cw="𝒩",iw="𝓃",aw="∤",lw="∦",uw="≁",pw="≄",fw="≄",hw="∤",dw="∦",mw="⋢",gw="⋣",bw="⊄",_w="⫅̸",kw="⊈",xw="⊂⃒",vw="⊈",yw="⫅̸",Cw="⊁",ww="⪰̸",Aw="⊅",qw="⫆̸",Dw="⊉",Ew="⊃⃒",Sw="⊉",Fw="⫆̸",Tw="≹",Rw="Ñ",Lw="ñ",zw="≸",Iw="⋪",Bw="⋬",Mw="⋫",Nw="⋭",Pw="Ν",Ow="ν",Uw="#",Vw="№",$w=" ",Gw="≍⃒",Hw="⊬",jw="⊭",Zw="⊮",Jw="⊯",Yw="≥⃒",Ww=">⃒",Qw="⤄",Kw="⧞",Xw="⤂",nA="≤⃒",rA="<⃒",tA="⊴⃒",oA="⤃",eA="⊵⃒",sA="∼⃒",cA="⤣",iA="↖",aA="⇖",lA="↖",uA="⤧",pA="Ó",fA="ó",hA="⊛",dA="Ô",mA="ô",gA="⊚",bA="О",_A="о",kA="⊝",xA="Ő",vA="ő",yA="⨸",CA="⊙",wA="⦼",AA="Œ",qA="œ",DA="⦿",EA="𝔒",SA="𝔬",FA="˛",TA="Ò",RA="ò",LA="⧁",zA="⦵",IA="Ω",BA="∮",MA="↺",NA="⦾",PA="⦻",OA="‾",UA="⧀",VA="Ō",$A="ō",GA="Ω",HA="ω",jA="Ο",ZA="ο",JA="⦶",YA="⊖",WA="𝕆",QA="𝕠",KA="⦷",XA="“",n1="‘",r1="⦹",t1="⊕",o1="↻",e1="⩔",s1="∨",c1="⩝",i1="ℴ",a1="ℴ",l1="ª",u1="º",p1="⊶",f1="⩖",h1="⩗",d1="⩛",m1="Ⓢ",g1="𝒪",b1="ℴ",_1="Ø",k1="ø",x1="⊘",v1="Õ",y1="õ",C1="⨶",w1="⨷",A1="⊗",q1="Ö",D1="ö",E1="⌽",S1="‾",F1="⏞",T1="⎴",R1="⏜",L1="¶",z1="∥",I1="∥",B1="⫳",M1="⫽",N1="∂",P1="∂",O1="П",U1="п",V1="%",$1=".",G1="‰",H1="⊥",j1="‱",Z1="𝔓",J1="𝔭",Y1="Φ",W1="φ",Q1="ϕ",K1="ℳ",X1="☎",nq="Π",rq="π",tq="⋔",oq="ϖ",eq="ℏ",sq="ℎ",cq="ℏ",iq="⨣",aq="⊞",lq="⨢",uq="+",pq="∔",fq="⨥",hq="⩲",dq="±",mq="±",gq="⨦",bq="⨧",_q="±",kq="ℌ",xq="⨕",vq="𝕡",yq="ℙ",Cq="£",wq="⪷",Aq="⪻",qq="≺",Dq="≼",Eq="⪷",Sq="≺",Fq="≼",Tq="≺",Rq="⪯",Lq="≼",zq="≾",Iq="⪯",Bq="⪹",Mq="⪵",Nq="⋨",Pq="⪯",Oq="⪳",Uq="≾",Vq="′",$q="″",Gq="ℙ",Hq="⪹",jq="⪵",Zq="⋨",Jq="∏",Yq="∏",Wq="⌮",Qq="⌒",Kq="⌓",Xq="∝",nD="∝",rD="∷",tD="∝",oD="≾",eD="⊰",sD="𝒫",cD="𝓅",iD="Ψ",aD="ψ",lD=" ",uD="𝔔",pD="𝔮",fD="⨌",hD="𝕢",dD="ℚ",mD="⁗",gD="𝒬",bD="𝓆",_D="ℍ",kD="⨖",xD="?",vD="≟",yD='"',CD='"',wD="⇛",AD="∽̱",qD="Ŕ",DD="ŕ",ED="√",SD="⦳",FD="⟩",TD="⟫",RD="⦒",LD="⦥",zD="⟩",ID="»",BD="⥵",MD="⇥",ND="⤠",PD="⤳",OD="→",UD="↠",VD="⇒",$D="⤞",GD="↪",HD="↬",jD="⥅",ZD="⥴",JD="⤖",YD="↣",WD="↝",QD="⤚",KD="⤜",XD="∶",nE="ℚ",rE="⤍",tE="⤏",oE="⤐",eE="❳",sE="}",cE="]",iE="⦌",aE="⦎",lE="⦐",uE="Ř",pE="ř",fE="Ŗ",hE="ŗ",dE="⌉",mE="}",gE="Р",bE="р",_E="⤷",kE="⥩",xE="”",vE="”",yE="↳",CE="ℜ",wE="ℛ",AE="ℜ",qE="ℝ",DE="ℜ",EE="▭",SE="®",FE="®",TE="∋",RE="⇋",LE="⥯",zE="⥽",IE="⌋",BE="𝔯",ME="ℜ",NE="⥤",PE="⇁",OE="⇀",UE="⥬",VE="Ρ",$E="ρ",GE="ϱ",HE="⟩",jE="⇥",ZE="→",JE="→",YE="⇒",WE="⇄",QE="↣",KE="⌉",XE="⟧",nS="⥝",rS="⥕",tS="⇂",oS="⌋",eS="⇁",sS="⇀",cS="⇄",iS="⇌",aS="⇉",lS="↝",uS="↦",pS="⊢",fS="⥛",hS="⋌",dS="⧐",mS="⊳",gS="⊵",bS="⥏",_S="⥜",kS="⥔",xS="↾",vS="⥓",yS="⇀",CS="˚",wS="≓",AS="⇄",qS="⇌",DS="‏",ES="⎱",SS="⎱",FS="⫮",TS="⟭",RS="⇾",LS="⟧",zS="⦆",IS="𝕣",BS="ℝ",MS="⨮",NS="⨵",PS="⥰",OS=")",US="⦔",VS="⨒",$S="⇉",GS="⇛",HS="›",jS="𝓇",ZS="ℛ",JS="↱",YS="↱",WS="]",QS="’",KS="’",XS="⋌",nF="⋊",rF="▹",tF="⊵",oF="▸",eF="⧎",sF="⧴",cF="⥨",iF="℞",aF="Ś",lF="ś",uF="‚",pF="⪸",fF="Š",hF="š",dF="⪼",mF="≻",gF="≽",bF="⪰",_F="⪴",kF="Ş",xF="ş",vF="Ŝ",yF="ŝ",CF="⪺",wF="⪶",AF="⋩",qF="⨓",DF="≿",EF="С",SF="с",FF="⊡",TF="⋅",RF="⩦",LF="⤥",zF="↘",IF="⇘",BF="↘",MF="§",NF=";",PF="⤩",OF="∖",UF="∖",VF="✶",$F="𝔖",GF="𝔰",HF="⌢",jF="♯",ZF="Щ",JF="щ",YF="Ш",WF="ш",QF="↓",KF="←",XF="∣",nT="∥",rT="→",tT="↑",oT="­",eT="Σ",sT="σ",cT="ς",iT="ς",aT="∼",lT="⩪",uT="≃",pT="≃",fT="⪞",hT="⪠",dT="⪝",mT="⪟",gT="≆",bT="⨤",_T="⥲",kT="←",xT="∘",vT="∖",yT="⨳",CT="⧤",wT="∣",AT="⌣",qT="⪪",DT="⪬",ET="⪬︀",ST="Ь",FT="ь",TT="⌿",RT="⧄",LT="/",zT="𝕊",IT="𝕤",BT="♠",MT="♠",NT="∥",PT="⊓",OT="⊓︀",UT="⊔",VT="⊔︀",$T="√",GT="⊏",HT="⊑",jT="⊏",ZT="⊑",JT="⊐",YT="⊒",WT="⊐",QT="⊒",KT="□",XT="□",n2="⊓",r2="⊏",t2="⊑",o2="⊐",e2="⊒",s2="⊔",c2="▪",i2="□",a2="▪",l2="→",u2="𝒮",p2="𝓈",f2="∖",h2="⌣",d2="⋆",m2="⋆",g2="☆",b2="★",_2="ϵ",k2="ϕ",x2="¯",v2="⊂",y2="⋐",C2="⪽",w2="⫅",A2="⊆",q2="⫃",D2="⫁",E2="⫋",S2="⊊",F2="⪿",T2="⥹",R2="⊂",L2="⋐",z2="⊆",I2="⫅",B2="⊆",M2="⊊",N2="⫋",P2="⫇",O2="⫕",U2="⫓",V2="⪸",$2="≻",G2="≽",H2="≻",j2="⪰",Z2="≽",J2="≿",Y2="⪰",W2="⪺",Q2="⪶",K2="⋩",X2="≿",nR="∋",rR="∑",tR="∑",oR="♪",eR="¹",sR="²",cR="³",iR="⊃",aR="⋑",lR="⪾",uR="⫘",pR="⫆",fR="⊇",hR="⫄",dR="⊃",mR="⊇",gR="⟉",bR="⫗",_R="⥻",kR="⫂",xR="⫌",vR="⊋",yR="⫀",CR="⊃",wR="⋑",AR="⊇",qR="⫆",DR="⊋",ER="⫌",SR="⫈",FR="⫔",TR="⫖",RR="⤦",LR="↙",zR="⇙",IR="↙",BR="⤪",MR="ß",NR=" ",PR="⌖",OR="Τ",UR="τ",VR="⎴",$R="Ť",GR="ť",HR="Ţ",jR="ţ",ZR="Т",JR="т",YR="⃛",WR="⌕",QR="𝔗",KR="𝔱",XR="∴",nL="∴",rL="∴",tL="Θ",oL="θ",eL="ϑ",sL="ϑ",cL="≈",iL="∼",aL="  ",lL=" ",uL=" ",pL="≈",fL="∼",hL="Þ",dL="þ",mL="˜",gL="∼",bL="≃",_L="≅",kL="≈",xL="⨱",vL="⊠",yL="×",CL="⨰",wL="∭",AL="⤨",qL="⌶",DL="⫱",EL="⊤",SL="𝕋",FL="𝕥",TL="⫚",RL="⤩",LL="‴",zL="™",IL="™",BL="▵",ML="▿",NL="◃",PL="⊴",OL="≜",UL="▹",VL="⊵",$L="◬",GL="≜",HL="⨺",jL="⃛",ZL="⨹",JL="⧍",YL="⨻",WL="⏢",QL="𝒯",KL="𝓉",XL="Ц",nz="ц",rz="Ћ",tz="ћ",oz="Ŧ",ez="ŧ",sz="≬",cz="↞",iz="↠",az="Ú",lz="ú",uz="↑",pz="↟",fz="⇑",hz="⥉",dz="Ў",mz="ў",gz="Ŭ",bz="ŭ",_z="Û",kz="û",xz="У",vz="у",yz="⇅",Cz="Ű",wz="ű",Az="⥮",qz="⥾",Dz="𝔘",Ez="𝔲",Sz="Ù",Fz="ù",Tz="⥣",Rz="↿",Lz="↾",zz="▀",Iz="⌜",Bz="⌜",Mz="⌏",Nz="◸",Pz="Ū",Oz="ū",Uz="¨",Vz="_",$z="⏟",Gz="⎵",Hz="⏝",jz="⋃",Zz="⊎",Jz="Ų",Yz="ų",Wz="𝕌",Qz="𝕦",Kz="⤒",Xz="↑",nI="↑",rI="⇑",tI="⇅",oI="↕",eI="↕",sI="⇕",cI="⥮",iI="↿",aI="↾",lI="⊎",uI="↖",pI="↗",fI="υ",hI="ϒ",dI="ϒ",mI="Υ",gI="υ",bI="↥",_I="⊥",kI="⇈",xI="⌝",vI="⌝",yI="⌎",CI="Ů",wI="ů",AI="◹",qI="𝒰",DI="𝓊",EI="⋰",SI="Ũ",FI="ũ",TI="▵",RI="▴",LI="⇈",zI="Ü",II="ü",BI="⦧",MI="⦜",NI="ϵ",PI="ϰ",OI="∅",UI="ϕ",VI="ϖ",$I="∝",GI="↕",HI="⇕",jI="ϱ",ZI="ς",JI="⊊︀",YI="⫋︀",WI="⊋︀",QI="⫌︀",KI="ϑ",XI="⊲",nB="⊳",rB="⫨",tB="⫫",oB="⫩",eB="В",sB="в",cB="⊢",iB="⊨",aB="⊩",lB="⊫",uB="⫦",pB="⊻",fB="∨",hB="⋁",dB="≚",mB="⋮",gB="|",bB="‖",_B="|",kB="‖",xB="∣",vB="|",yB="❘",CB="≀",wB=" ",AB="𝔙",qB="𝔳",DB="⊲",EB="⊂⃒",SB="⊃⃒",FB="𝕍",TB="𝕧",RB="∝",LB="⊳",zB="𝒱",IB="𝓋",BB="⫋︀",MB="⊊︀",NB="⫌︀",PB="⊋︀",OB="⊪",UB="⦚",VB="Ŵ",$B="ŵ",GB="⩟",HB="∧",jB="⋀",ZB="≙",JB="℘",YB="𝔚",WB="𝔴",QB="𝕎",KB="𝕨",XB="℘",nM="≀",rM="≀",tM="𝒲",oM="𝓌",eM="⋂",sM="◯",cM="⋃",iM="▽",aM="𝔛",lM="𝔵",uM="⟷",pM="⟺",fM="Ξ",hM="ξ",dM="⟵",mM="⟸",gM="⟼",bM="⋻",_M="⨀",kM="𝕏",xM="𝕩",vM="⨁",yM="⨂",CM="⟶",wM="⟹",AM="𝒳",qM="𝓍",DM="⨆",EM="⨄",SM="△",FM="⋁",TM="⋀",RM="Ý",LM="ý",zM="Я",IM="я",BM="Ŷ",MM="ŷ",NM="Ы",PM="ы",OM="¥",UM="𝔜",VM="𝔶",$M="Ї",GM="ї",HM="𝕐",jM="𝕪",ZM="𝒴",JM="𝓎",YM="Ю",WM="ю",QM="ÿ",KM="Ÿ",XM="Ź",n3="ź",r3="Ž",t3="ž",o3="З",e3="з",s3="Ż",c3="ż",i3="ℨ",a3="​",l3="Ζ",u3="ζ",p3="𝔷",f3="ℨ",h3="Ж",d3="ж",m3="⇝",g3="𝕫",b3="ℤ",_3="𝒵",k3="𝓏",x3="‍",v3="‌",y3={Aacute:ot,aacute:et,Abreve:st,abreve:ct,ac:it,acd:at,acE:lt,Acirc:ut,acirc:pt,acute:ft,Acy:ht,acy:dt,AElig:mt,aelig:gt,af:bt,Afr:_t,afr:kt,Agrave:xt,agrave:vt,alefsym:yt,aleph:Ct,Alpha:wt,alpha:At,Amacr:qt,amacr:Dt,amalg:Et,amp:St,AMP:Ft,andand:Tt,And:Rt,and:Lt,andd:zt,andslope:It,andv:Bt,ang:Mt,ange:Nt,angle:Pt,angmsdaa:Ot,angmsdab:Ut,angmsdac:Vt,angmsdad:$t,angmsdae:Gt,angmsdaf:Ht,angmsdag:jt,angmsdah:Zt,angmsd:Jt,angrt:Yt,angrtvb:Wt,angrtvbd:Qt,angsph:Kt,angst:Xt,angzarr:no,Aogon:ro,aogon:to,Aopf:oo,aopf:eo,apacir:so,ap:co,apE:io,ape:ao,apid:lo,apos:uo,ApplyFunction:po,approx:fo,approxeq:ho,Aring:mo,aring:go,Ascr:bo,ascr:_o,Assign:ko,ast:xo,asymp:vo,asympeq:yo,Atilde:Co,atilde:wo,Auml:Ao,auml:qo,awconint:Do,awint:Eo,backcong:So,backepsilon:Fo,backprime:To,backsim:Ro,backsimeq:Lo,Backslash:zo,Barv:Io,barvee:Bo,barwed:Mo,Barwed:No,barwedge:Po,bbrk:Oo,bbrktbrk:Uo,bcong:Vo,Bcy:$o,bcy:Go,bdquo:Ho,becaus:jo,because:Zo,Because:Jo,bemptyv:Yo,bepsi:Wo,bernou:Qo,Bernoullis:Ko,Beta:Xo,beta:ne,beth:re,between:te,Bfr:oe,bfr:ee,bigcap:se,bigcirc:ce,bigcup:ie,bigodot:ae,bigoplus:le,bigotimes:ue,bigsqcup:pe,bigstar:fe,bigtriangledown:he,bigtriangleup:de,biguplus:me,bigvee:ge,bigwedge:be,bkarow:_e,blacklozenge:ke,blacksquare:xe,blacktriangle:ve,blacktriangledown:ye,blacktriangleleft:Ce,blacktriangleright:we,blank:Ae,blk12:qe,blk14:De,blk34:Ee,block:Se,bne:Fe,bnequiv:Te,bNot:Re,bnot:Le,Bopf:ze,bopf:Ie,bot:Be,bottom:Me,bowtie:Ne,boxbox:Pe,boxdl:Oe,boxdL:Ue,boxDl:Ve,boxDL:$e,boxdr:Ge,boxdR:He,boxDr:je,boxDR:Ze,boxh:Je,boxH:Ye,boxhd:We,boxHd:Qe,boxhD:Ke,boxHD:Xe,boxhu:ns,boxHu:rs,boxhU:ts,boxHU:os,boxminus:es,boxplus:ss,boxtimes:cs,boxul:is,boxuL:as,boxUl:ls,boxUL:us,boxur:ps,boxuR:fs,boxUr:hs,boxUR:ds,boxv:ms,boxV:gs,boxvh:bs,boxvH:_s,boxVh:ks,boxVH:xs,boxvl:vs,boxvL:ys,boxVl:Cs,boxVL:ws,boxvr:As,boxvR:qs,boxVr:Ds,boxVR:Es,bprime:Ss,breve:Fs,Breve:Ts,brvbar:Rs,bscr:Ls,Bscr:zs,bsemi:Is,bsim:Bs,bsime:Ms,bsolb:Ns,bsol:Ps,bsolhsub:Os,bull:Us,bullet:Vs,bump:$s,bumpE:Gs,bumpe:Hs,Bumpeq:js,bumpeq:Zs,Cacute:Js,cacute:Ys,capand:Ws,capbrcup:Qs,capcap:Ks,cap:Xs,Cap:nc,capcup:rc,capdot:tc,CapitalDifferentialD:oc,caps:ec,caret:sc,caron:cc,Cayleys:ic,ccaps:ac,Ccaron:lc,ccaron:uc,Ccedil:pc,ccedil:fc,Ccirc:hc,ccirc:dc,Cconint:mc,ccups:gc,ccupssm:bc,Cdot:_c,cdot:kc,cedil:xc,Cedilla:vc,cemptyv:yc,cent:Cc,centerdot:wc,CenterDot:Ac,cfr:qc,Cfr:Dc,CHcy:Ec,chcy:Sc,check:Fc,checkmark:Tc,Chi:Rc,chi:Lc,circ:zc,circeq:Ic,circlearrowleft:Bc,circlearrowright:Mc,circledast:Nc,circledcirc:Pc,circleddash:Oc,CircleDot:Uc,circledR:Vc,circledS:$c,CircleMinus:Gc,CirclePlus:Hc,CircleTimes:jc,cir:Zc,cirE:Jc,cire:Yc,cirfnint:Wc,cirmid:Qc,cirscir:Kc,ClockwiseContourIntegral:Xc,CloseCurlyDoubleQuote:ni,CloseCurlyQuote:ri,clubs:ti,clubsuit:oi,colon:ei,Colon:si,Colone:ci,colone:ii,coloneq:ai,comma:li,commat:ui,comp:pi,compfn:fi,complement:hi,complexes:di,cong:mi,congdot:gi,Congruent:bi,conint:_i,Conint:ki,ContourIntegral:xi,copf:vi,Copf:yi,coprod:Ci,Coproduct:wi,copy:Ai,COPY:qi,copysr:Di,CounterClockwiseContourIntegral:Ei,crarr:Si,cross:Fi,Cross:Ti,Cscr:Ri,cscr:Li,csub:zi,csube:Ii,csup:Bi,csupe:Mi,ctdot:Ni,cudarrl:Pi,cudarrr:Oi,cuepr:Ui,cuesc:Vi,cularr:$i,cularrp:Gi,cupbrcap:Hi,cupcap:ji,CupCap:Zi,cup:Ji,Cup:Yi,cupcup:Wi,cupdot:Qi,cupor:Ki,cups:Xi,curarr:na,curarrm:ra,curlyeqprec:ta,curlyeqsucc:oa,curlyvee:ea,curlywedge:sa,curren:ca,curvearrowleft:ia,curvearrowright:aa,cuvee:la,cuwed:ua,cwconint:pa,cwint:fa,cylcty:ha,dagger:da,Dagger:ma,daleth:ga,darr:ba,Darr:_a,dArr:ka,dash:xa,Dashv:va,dashv:ya,dbkarow:Ca,dblac:wa,Dcaron:Aa,dcaron:qa,Dcy:Da,dcy:Ea,ddagger:Sa,ddarr:Fa,DD:Ta,dd:Ra,DDotrahd:La,ddotseq:za,deg:Ia,Del:Ba,Delta:Ma,delta:Na,demptyv:Pa,dfisht:Oa,Dfr:Ua,dfr:Va,dHar:$a,dharl:Ga,dharr:Ha,DiacriticalAcute:ja,DiacriticalDot:Za,DiacriticalDoubleAcute:Ja,DiacriticalGrave:Ya,DiacriticalTilde:Wa,diam:Qa,diamond:Ka,Diamond:Xa,diamondsuit:nl,diams:rl,die:tl,DifferentialD:ol,digamma:el,disin:sl,div:cl,divide:il,divideontimes:al,divonx:ll,DJcy:ul,djcy:pl,dlcorn:fl,dlcrop:hl,dollar:dl,Dopf:ml,dopf:gl,Dot:bl,dot:_l,DotDot:kl,doteq:xl,doteqdot:vl,DotEqual:yl,dotminus:Cl,dotplus:wl,dotsquare:Al,doublebarwedge:ql,DoubleContourIntegral:Dl,DoubleDot:El,DoubleDownArrow:Sl,DoubleLeftArrow:Fl,DoubleLeftRightArrow:Tl,DoubleLeftTee:Rl,DoubleLongLeftArrow:Ll,DoubleLongLeftRightArrow:zl,DoubleLongRightArrow:Il,DoubleRightArrow:Bl,DoubleRightTee:Ml,DoubleUpArrow:Nl,DoubleUpDownArrow:Pl,DoubleVerticalBar:Ol,DownArrowBar:Ul,downarrow:Vl,DownArrow:$l,Downarrow:Gl,DownArrowUpArrow:Hl,DownBreve:jl,downdownarrows:Zl,downharpoonleft:Jl,downharpoonright:Yl,DownLeftRightVector:Wl,DownLeftTeeVector:Ql,DownLeftVectorBar:Kl,DownLeftVector:Xl,DownRightTeeVector:nu,DownRightVectorBar:ru,DownRightVector:tu,DownTeeArrow:ou,DownTee:eu,drbkarow:su,drcorn:cu,drcrop:iu,Dscr:au,dscr:lu,DScy:uu,dscy:pu,dsol:fu,Dstrok:hu,dstrok:du,dtdot:mu,dtri:gu,dtrif:bu,duarr:_u,duhar:ku,dwangle:xu,DZcy:vu,dzcy:yu,dzigrarr:Cu,Eacute:wu,eacute:Au,easter:qu,Ecaron:Du,ecaron:Eu,Ecirc:Su,ecirc:Fu,ecir:Tu,ecolon:Ru,Ecy:Lu,ecy:zu,eDDot:Iu,Edot:Bu,edot:Mu,eDot:Nu,ee:Pu,efDot:Ou,Efr:Uu,efr:Vu,eg:$u,Egrave:Gu,egrave:Hu,egs:ju,egsdot:Zu,el:Ju,Element:Yu,elinters:Wu,ell:Qu,els:Ku,elsdot:Xu,Emacr:np,emacr:rp,empty:tp,emptyset:op,EmptySmallSquare:ep,emptyv:sp,EmptyVerySmallSquare:cp,emsp13:ip,emsp14:ap,emsp:lp,ENG:up,eng:pp,ensp:fp,Eogon:hp,eogon:dp,Eopf:mp,eopf:gp,epar:bp,eparsl:_p,eplus:kp,epsi:xp,Epsilon:vp,epsilon:yp,epsiv:Cp,eqcirc:wp,eqcolon:Ap,eqsim:qp,eqslantgtr:Dp,eqslantless:Ep,Equal:Sp,equals:Fp,EqualTilde:Tp,equest:Rp,Equilibrium:Lp,equiv:zp,equivDD:Ip,eqvparsl:Bp,erarr:Mp,erDot:Np,escr:Pp,Escr:Op,esdot:Up,Esim:Vp,esim:$p,Eta:Gp,eta:Hp,ETH:jp,eth:Zp,Euml:Jp,euml:Yp,euro:Wp,excl:Qp,exist:Kp,Exists:Xp,expectation:nf,exponentiale:rf,ExponentialE:tf,fallingdotseq:of,Fcy:ef,fcy:sf,female:cf,ffilig:af,fflig:lf,ffllig:uf,Ffr:pf,ffr:ff,filig:hf,FilledSmallSquare:df,FilledVerySmallSquare:mf,fjlig:gf,flat:bf,fllig:_f,fltns:kf,fnof:xf,Fopf:vf,fopf:yf,forall:Cf,ForAll:wf,fork:Af,forkv:qf,Fouriertrf:Df,fpartint:Ef,frac12:Sf,frac13:Ff,frac14:Tf,frac15:Rf,frac16:Lf,frac18:zf,frac23:If,frac25:Bf,frac34:Mf,frac35:Nf,frac38:Pf,frac45:Of,frac56:Uf,frac58:Vf,frac78:$f,frasl:Gf,frown:Hf,fscr:jf,Fscr:Zf,gacute:Jf,Gamma:Yf,gamma:Wf,Gammad:Qf,gammad:Kf,gap:Xf,Gbreve:nh,gbreve:rh,Gcedil:th,Gcirc:oh,gcirc:eh,Gcy:sh,gcy:ch,Gdot:ih,gdot:ah,ge:lh,gE:uh,gEl:ph,gel:fh,geq:hh,geqq:dh,geqslant:mh,gescc:gh,ges:bh,gesdot:_h,gesdoto:kh,gesdotol:xh,gesl:vh,gesles:yh,Gfr:Ch,gfr:wh,gg:Ah,Gg:qh,ggg:Dh,gimel:Eh,GJcy:Sh,gjcy:Fh,gla:Th,gl:Rh,glE:Lh,glj:zh,gnap:Ih,gnapprox:Bh,gne:Mh,gnE:Nh,gneq:Ph,gneqq:Oh,gnsim:Uh,Gopf:Vh,gopf:$h,grave:Gh,GreaterEqual:Hh,GreaterEqualLess:jh,GreaterFullEqual:Zh,GreaterGreater:Jh,GreaterLess:Yh,GreaterSlantEqual:Wh,GreaterTilde:Qh,Gscr:Kh,gscr:Xh,gsim:nd,gsime:rd,gsiml:td,gtcc:od,gtcir:ed,gt:sd,GT:cd,Gt:id,gtdot:ad,gtlPar:ld,gtquest:ud,gtrapprox:pd,gtrarr:fd,gtrdot:hd,gtreqless:dd,gtreqqless:md,gtrless:gd,gtrsim:bd,gvertneqq:_d,gvnE:kd,Hacek:xd,hairsp:vd,half:yd,hamilt:Cd,HARDcy:wd,hardcy:Ad,harrcir:qd,harr:Dd,hArr:Ed,harrw:Sd,Hat:Fd,hbar:Td,Hcirc:Rd,hcirc:Ld,hearts:zd,heartsuit:Id,hellip:Bd,hercon:Md,hfr:Nd,Hfr:Pd,HilbertSpace:Od,hksearow:Ud,hkswarow:Vd,hoarr:$d,homtht:Gd,hookleftarrow:Hd,hookrightarrow:jd,hopf:Zd,Hopf:Jd,horbar:Yd,HorizontalLine:Wd,hscr:Qd,Hscr:Kd,hslash:Xd,Hstrok:nm,hstrok:rm,HumpDownHump:tm,HumpEqual:om,hybull:em,hyphen:sm,Iacute:cm,iacute:im,ic:am,Icirc:lm,icirc:um,Icy:pm,icy:fm,Idot:hm,IEcy:dm,iecy:mm,iexcl:gm,iff:bm,ifr:_m,Ifr:km,Igrave:xm,igrave:vm,ii:ym,iiiint:Cm,iiint:wm,iinfin:Am,iiota:qm,IJlig:Dm,ijlig:Em,Imacr:Sm,imacr:Fm,image:Tm,ImaginaryI:Rm,imagline:Lm,imagpart:zm,imath:Im,Im:Bm,imof:Mm,imped:Nm,Implies:Pm,incare:Om,in:"∈",infin:Um,infintie:Vm,inodot:$m,intcal:Gm,int:Hm,Int:jm,integers:Zm,Integral:Jm,intercal:Ym,Intersection:Wm,intlarhk:Qm,intprod:Km,InvisibleComma:Xm,InvisibleTimes:ng,IOcy:rg,iocy:tg,Iogon:og,iogon:eg,Iopf:sg,iopf:cg,Iota:ig,iota:ag,iprod:lg,iquest:ug,iscr:pg,Iscr:fg,isin:hg,isindot:dg,isinE:mg,isins:gg,isinsv:bg,isinv:_g,it:kg,Itilde:xg,itilde:vg,Iukcy:yg,iukcy:Cg,Iuml:wg,iuml:Ag,Jcirc:qg,jcirc:Dg,Jcy:Eg,jcy:Sg,Jfr:Fg,jfr:Tg,jmath:Rg,Jopf:Lg,jopf:zg,Jscr:Ig,jscr:Bg,Jsercy:Mg,jsercy:Ng,Jukcy:Pg,jukcy:Og,Kappa:Ug,kappa:Vg,kappav:$g,Kcedil:Gg,kcedil:Hg,Kcy:jg,kcy:Zg,Kfr:Jg,kfr:Yg,kgreen:Wg,KHcy:Qg,khcy:Kg,KJcy:Xg,kjcy:n0,Kopf:r0,kopf:t0,Kscr:o0,kscr:e0,lAarr:s0,Lacute:c0,lacute:i0,laemptyv:a0,lagran:l0,Lambda:u0,lambda:p0,lang:f0,Lang:h0,langd:d0,langle:m0,lap:g0,Laplacetrf:b0,laquo:_0,larrb:k0,larrbfs:x0,larr:v0,Larr:y0,lArr:C0,larrfs:w0,larrhk:A0,larrlp:q0,larrpl:D0,larrsim:E0,larrtl:S0,latail:F0,lAtail:T0,lat:R0,late:L0,lates:z0,lbarr:I0,lBarr:B0,lbbrk:M0,lbrace:N0,lbrack:P0,lbrke:O0,lbrksld:U0,lbrkslu:V0,Lcaron:$0,lcaron:G0,Lcedil:H0,lcedil:j0,lceil:Z0,lcub:J0,Lcy:Y0,lcy:W0,ldca:Q0,ldquo:K0,ldquor:X0,ldrdhar:nb,ldrushar:rb,ldsh:tb,le:ob,lE:eb,LeftAngleBracket:sb,LeftArrowBar:cb,leftarrow:ib,LeftArrow:ab,Leftarrow:lb,LeftArrowRightArrow:ub,leftarrowtail:pb,LeftCeiling:fb,LeftDoubleBracket:hb,LeftDownTeeVector:db,LeftDownVectorBar:mb,LeftDownVector:gb,LeftFloor:bb,leftharpoondown:_b,leftharpoonup:kb,leftleftarrows:xb,leftrightarrow:vb,LeftRightArrow:yb,Leftrightarrow:Cb,leftrightarrows:wb,leftrightharpoons:Ab,leftrightsquigarrow:qb,LeftRightVector:Db,LeftTeeArrow:Eb,LeftTee:Sb,LeftTeeVector:Fb,leftthreetimes:Tb,LeftTriangleBar:Rb,LeftTriangle:Lb,LeftTriangleEqual:zb,LeftUpDownVector:Ib,LeftUpTeeVector:Bb,LeftUpVectorBar:Mb,LeftUpVector:Nb,LeftVectorBar:Pb,LeftVector:Ob,lEg:Ub,leg:Vb,leq:$b,leqq:Gb,leqslant:Hb,lescc:jb,les:Zb,lesdot:Jb,lesdoto:Yb,lesdotor:Wb,lesg:Qb,lesges:Kb,lessapprox:Xb,lessdot:n_,lesseqgtr:r_,lesseqqgtr:t_,LessEqualGreater:o_,LessFullEqual:e_,LessGreater:s_,lessgtr:c_,LessLess:i_,lesssim:a_,LessSlantEqual:l_,LessTilde:u_,lfisht:p_,lfloor:f_,Lfr:h_,lfr:d_,lg:m_,lgE:g_,lHar:b_,lhard:__,lharu:k_,lharul:x_,lhblk:v_,LJcy:y_,ljcy:C_,llarr:w_,ll:A_,Ll:q_,llcorner:D_,Lleftarrow:E_,llhard:S_,lltri:F_,Lmidot:T_,lmidot:R_,lmoustache:L_,lmoust:z_,lnap:I_,lnapprox:B_,lne:M_,lnE:N_,lneq:P_,lneqq:O_,lnsim:U_,loang:V_,loarr:$_,lobrk:G_,longleftarrow:H_,LongLeftArrow:j_,Longleftarrow:Z_,longleftrightarrow:J_,LongLeftRightArrow:Y_,Longleftrightarrow:W_,longmapsto:Q_,longrightarrow:K_,LongRightArrow:X_,Longrightarrow:nk,looparrowleft:rk,looparrowright:tk,lopar:ok,Lopf:ek,lopf:sk,loplus:ck,lotimes:ik,lowast:ak,lowbar:lk,LowerLeftArrow:uk,LowerRightArrow:pk,loz:fk,lozenge:hk,lozf:dk,lpar:mk,lparlt:gk,lrarr:bk,lrcorner:_k,lrhar:kk,lrhard:xk,lrm:vk,lrtri:yk,lsaquo:Ck,lscr:wk,Lscr:Ak,lsh:qk,Lsh:Dk,lsim:Ek,lsime:Sk,lsimg:Fk,lsqb:Tk,lsquo:Rk,lsquor:Lk,Lstrok:zk,lstrok:Ik,ltcc:Bk,ltcir:Mk,lt:Nk,LT:Pk,Lt:Ok,ltdot:Uk,lthree:Vk,ltimes:$k,ltlarr:Gk,ltquest:Hk,ltri:jk,ltrie:Zk,ltrif:Jk,ltrPar:Yk,lurdshar:Wk,luruhar:Qk,lvertneqq:Kk,lvnE:Xk,macr:nx,male:rx,malt:tx,maltese:ox,Map:"⤅",map:ex,mapsto:sx,mapstodown:cx,mapstoleft:ix,mapstoup:ax,marker:lx,mcomma:ux,Mcy:px,mcy:fx,mdash:hx,mDDot:dx,measuredangle:mx,MediumSpace:gx,Mellintrf:bx,Mfr:_x,mfr:kx,mho:xx,micro:vx,midast:yx,midcir:Cx,mid:wx,middot:Ax,minusb:qx,minus:Dx,minusd:Ex,minusdu:Sx,MinusPlus:Fx,mlcp:Tx,mldr:Rx,mnplus:Lx,models:zx,Mopf:Ix,mopf:Bx,mp:Mx,mscr:Nx,Mscr:Px,mstpos:Ox,Mu:Ux,mu:Vx,multimap:$x,mumap:Gx,nabla:Hx,Nacute:jx,nacute:Zx,nang:Jx,nap:Yx,napE:Wx,napid:Qx,napos:Kx,napprox:Xx,natural:nv,naturals:rv,natur:tv,nbsp:ov,nbump:ev,nbumpe:sv,ncap:cv,Ncaron:iv,ncaron:av,Ncedil:lv,ncedil:uv,ncong:pv,ncongdot:fv,ncup:hv,Ncy:dv,ncy:mv,ndash:gv,nearhk:bv,nearr:_v,neArr:kv,nearrow:xv,ne:vv,nedot:yv,NegativeMediumSpace:Cv,NegativeThickSpace:wv,NegativeThinSpace:Av,NegativeVeryThinSpace:qv,nequiv:Dv,nesear:Ev,nesim:Sv,NestedGreaterGreater:Fv,NestedLessLess:Tv,NewLine:Rv,nexist:Lv,nexists:zv,Nfr:Iv,nfr:Bv,ngE:Mv,nge:Nv,ngeq:Pv,ngeqq:Ov,ngeqslant:Uv,nges:Vv,nGg:$v,ngsim:Gv,nGt:Hv,ngt:jv,ngtr:Zv,nGtv:Jv,nharr:Yv,nhArr:Wv,nhpar:Qv,ni:Kv,nis:Xv,nisd:ny,niv:ry,NJcy:ty,njcy:oy,nlarr:ey,nlArr:sy,nldr:cy,nlE:iy,nle:ay,nleftarrow:ly,nLeftarrow:uy,nleftrightarrow:py,nLeftrightarrow:fy,nleq:hy,nleqq:dy,nleqslant:my,nles:gy,nless:by,nLl:_y,nlsim:ky,nLt:xy,nlt:vy,nltri:yy,nltrie:Cy,nLtv:wy,nmid:Ay,NoBreak:qy,NonBreakingSpace:Dy,nopf:Ey,Nopf:Sy,Not:Fy,not:Ty,NotCongruent:Ry,NotCupCap:Ly,NotDoubleVerticalBar:zy,NotElement:Iy,NotEqual:By,NotEqualTilde:My,NotExists:Ny,NotGreater:Py,NotGreaterEqual:Oy,NotGreaterFullEqual:Uy,NotGreaterGreater:Vy,NotGreaterLess:$y,NotGreaterSlantEqual:Gy,NotGreaterTilde:Hy,NotHumpDownHump:jy,NotHumpEqual:Zy,notin:Jy,notindot:Yy,notinE:Wy,notinva:Qy,notinvb:Ky,notinvc:Xy,NotLeftTriangleBar:nC,NotLeftTriangle:rC,NotLeftTriangleEqual:tC,NotLess:oC,NotLessEqual:eC,NotLessGreater:sC,NotLessLess:cC,NotLessSlantEqual:iC,NotLessTilde:aC,NotNestedGreaterGreater:lC,NotNestedLessLess:uC,notni:pC,notniva:fC,notnivb:hC,notnivc:dC,NotPrecedes:mC,NotPrecedesEqual:gC,NotPrecedesSlantEqual:bC,NotReverseElement:_C,NotRightTriangleBar:kC,NotRightTriangle:xC,NotRightTriangleEqual:vC,NotSquareSubset:yC,NotSquareSubsetEqual:CC,NotSquareSuperset:wC,NotSquareSupersetEqual:AC,NotSubset:qC,NotSubsetEqual:DC,NotSucceeds:EC,NotSucceedsEqual:SC,NotSucceedsSlantEqual:FC,NotSucceedsTilde:TC,NotSuperset:RC,NotSupersetEqual:LC,NotTilde:zC,NotTildeEqual:IC,NotTildeFullEqual:BC,NotTildeTilde:MC,NotVerticalBar:NC,nparallel:PC,npar:OC,nparsl:UC,npart:VC,npolint:$C,npr:GC,nprcue:HC,nprec:jC,npreceq:ZC,npre:JC,nrarrc:YC,nrarr:WC,nrArr:QC,nrarrw:KC,nrightarrow:XC,nRightarrow:nw,nrtri:rw,nrtrie:tw,nsc:ow,nsccue:ew,nsce:sw,Nscr:cw,nscr:iw,nshortmid:aw,nshortparallel:lw,nsim:uw,nsime:pw,nsimeq:fw,nsmid:hw,nspar:dw,nsqsube:mw,nsqsupe:gw,nsub:bw,nsubE:_w,nsube:kw,nsubset:xw,nsubseteq:vw,nsubseteqq:yw,nsucc:Cw,nsucceq:ww,nsup:Aw,nsupE:qw,nsupe:Dw,nsupset:Ew,nsupseteq:Sw,nsupseteqq:Fw,ntgl:Tw,Ntilde:Rw,ntilde:Lw,ntlg:zw,ntriangleleft:Iw,ntrianglelefteq:Bw,ntriangleright:Mw,ntrianglerighteq:Nw,Nu:Pw,nu:Ow,num:Uw,numero:Vw,numsp:$w,nvap:Gw,nvdash:Hw,nvDash:jw,nVdash:Zw,nVDash:Jw,nvge:Yw,nvgt:Ww,nvHarr:Qw,nvinfin:Kw,nvlArr:Xw,nvle:nA,nvlt:rA,nvltrie:tA,nvrArr:oA,nvrtrie:eA,nvsim:sA,nwarhk:cA,nwarr:iA,nwArr:aA,nwarrow:lA,nwnear:uA,Oacute:pA,oacute:fA,oast:hA,Ocirc:dA,ocirc:mA,ocir:gA,Ocy:bA,ocy:_A,odash:kA,Odblac:xA,odblac:vA,odiv:yA,odot:CA,odsold:wA,OElig:AA,oelig:qA,ofcir:DA,Ofr:EA,ofr:SA,ogon:FA,Ograve:TA,ograve:RA,ogt:LA,ohbar:zA,ohm:IA,oint:BA,olarr:MA,olcir:NA,olcross:PA,oline:OA,olt:UA,Omacr:VA,omacr:$A,Omega:GA,omega:HA,Omicron:jA,omicron:ZA,omid:JA,ominus:YA,Oopf:WA,oopf:QA,opar:KA,OpenCurlyDoubleQuote:XA,OpenCurlyQuote:n1,operp:r1,oplus:t1,orarr:o1,Or:e1,or:s1,ord:c1,order:i1,orderof:a1,ordf:l1,ordm:u1,origof:p1,oror:f1,orslope:h1,orv:d1,oS:m1,Oscr:g1,oscr:b1,Oslash:_1,oslash:k1,osol:x1,Otilde:v1,otilde:y1,otimesas:C1,Otimes:w1,otimes:A1,Ouml:q1,ouml:D1,ovbar:E1,OverBar:S1,OverBrace:F1,OverBracket:T1,OverParenthesis:R1,para:L1,parallel:z1,par:I1,parsim:B1,parsl:M1,part:N1,PartialD:P1,Pcy:O1,pcy:U1,percnt:V1,period:$1,permil:G1,perp:H1,pertenk:j1,Pfr:Z1,pfr:J1,Phi:Y1,phi:W1,phiv:Q1,phmmat:K1,phone:X1,Pi:nq,pi:rq,pitchfork:tq,piv:oq,planck:eq,planckh:sq,plankv:cq,plusacir:iq,plusb:aq,pluscir:lq,plus:uq,plusdo:pq,plusdu:fq,pluse:hq,PlusMinus:dq,plusmn:mq,plussim:gq,plustwo:bq,pm:_q,Poincareplane:kq,pointint:xq,popf:vq,Popf:yq,pound:Cq,prap:wq,Pr:Aq,pr:qq,prcue:Dq,precapprox:Eq,prec:Sq,preccurlyeq:Fq,Precedes:Tq,PrecedesEqual:Rq,PrecedesSlantEqual:Lq,PrecedesTilde:zq,preceq:Iq,precnapprox:Bq,precneqq:Mq,precnsim:Nq,pre:Pq,prE:Oq,precsim:Uq,prime:Vq,Prime:$q,primes:Gq,prnap:Hq,prnE:jq,prnsim:Zq,prod:Jq,Product:Yq,profalar:Wq,profline:Qq,profsurf:Kq,prop:Xq,Proportional:nD,Proportion:rD,propto:tD,prsim:oD,prurel:eD,Pscr:sD,pscr:cD,Psi:iD,psi:aD,puncsp:lD,Qfr:uD,qfr:pD,qint:fD,qopf:hD,Qopf:dD,qprime:mD,Qscr:gD,qscr:bD,quaternions:_D,quatint:kD,quest:xD,questeq:vD,quot:yD,QUOT:CD,rAarr:wD,race:AD,Racute:qD,racute:DD,radic:ED,raemptyv:SD,rang:FD,Rang:TD,rangd:RD,range:LD,rangle:zD,raquo:ID,rarrap:BD,rarrb:MD,rarrbfs:ND,rarrc:PD,rarr:OD,Rarr:UD,rArr:VD,rarrfs:$D,rarrhk:GD,rarrlp:HD,rarrpl:jD,rarrsim:ZD,Rarrtl:JD,rarrtl:YD,rarrw:WD,ratail:QD,rAtail:KD,ratio:XD,rationals:nE,rbarr:rE,rBarr:tE,RBarr:oE,rbbrk:eE,rbrace:sE,rbrack:cE,rbrke:iE,rbrksld:aE,rbrkslu:lE,Rcaron:uE,rcaron:pE,Rcedil:fE,rcedil:hE,rceil:dE,rcub:mE,Rcy:gE,rcy:bE,rdca:_E,rdldhar:kE,rdquo:xE,rdquor:vE,rdsh:yE,real:CE,realine:wE,realpart:AE,reals:qE,Re:DE,rect:EE,reg:SE,REG:FE,ReverseElement:TE,ReverseEquilibrium:RE,ReverseUpEquilibrium:LE,rfisht:zE,rfloor:IE,rfr:BE,Rfr:ME,rHar:NE,rhard:PE,rharu:OE,rharul:UE,Rho:VE,rho:$E,rhov:GE,RightAngleBracket:HE,RightArrowBar:jE,rightarrow:ZE,RightArrow:JE,Rightarrow:YE,RightArrowLeftArrow:WE,rightarrowtail:QE,RightCeiling:KE,RightDoubleBracket:XE,RightDownTeeVector:nS,RightDownVectorBar:rS,RightDownVector:tS,RightFloor:oS,rightharpoondown:eS,rightharpoonup:sS,rightleftarrows:cS,rightleftharpoons:iS,rightrightarrows:aS,rightsquigarrow:lS,RightTeeArrow:uS,RightTee:pS,RightTeeVector:fS,rightthreetimes:hS,RightTriangleBar:dS,RightTriangle:mS,RightTriangleEqual:gS,RightUpDownVector:bS,RightUpTeeVector:_S,RightUpVectorBar:kS,RightUpVector:xS,RightVectorBar:vS,RightVector:yS,ring:CS,risingdotseq:wS,rlarr:AS,rlhar:qS,rlm:DS,rmoustache:ES,rmoust:SS,rnmid:FS,roang:TS,roarr:RS,robrk:LS,ropar:zS,ropf:IS,Ropf:BS,roplus:MS,rotimes:NS,RoundImplies:PS,rpar:OS,rpargt:US,rppolint:VS,rrarr:$S,Rrightarrow:GS,rsaquo:HS,rscr:jS,Rscr:ZS,rsh:JS,Rsh:YS,rsqb:WS,rsquo:QS,rsquor:KS,rthree:XS,rtimes:nF,rtri:rF,rtrie:tF,rtrif:oF,rtriltri:eF,RuleDelayed:sF,ruluhar:cF,rx:iF,Sacute:aF,sacute:lF,sbquo:uF,scap:pF,Scaron:fF,scaron:hF,Sc:dF,sc:mF,sccue:gF,sce:bF,scE:_F,Scedil:kF,scedil:xF,Scirc:vF,scirc:yF,scnap:CF,scnE:wF,scnsim:AF,scpolint:qF,scsim:DF,Scy:EF,scy:SF,sdotb:FF,sdot:TF,sdote:RF,searhk:LF,searr:zF,seArr:IF,searrow:BF,sect:MF,semi:NF,seswar:PF,setminus:OF,setmn:UF,sext:VF,Sfr:$F,sfr:GF,sfrown:HF,sharp:jF,SHCHcy:ZF,shchcy:JF,SHcy:YF,shcy:WF,ShortDownArrow:QF,ShortLeftArrow:KF,shortmid:XF,shortparallel:nT,ShortRightArrow:rT,ShortUpArrow:tT,shy:oT,Sigma:eT,sigma:sT,sigmaf:cT,sigmav:iT,sim:aT,simdot:lT,sime:uT,simeq:pT,simg:fT,simgE:hT,siml:dT,simlE:mT,simne:gT,simplus:bT,simrarr:_T,slarr:kT,SmallCircle:xT,smallsetminus:vT,smashp:yT,smeparsl:CT,smid:wT,smile:AT,smt:qT,smte:DT,smtes:ET,SOFTcy:ST,softcy:FT,solbar:TT,solb:RT,sol:LT,Sopf:zT,sopf:IT,spades:BT,spadesuit:MT,spar:NT,sqcap:PT,sqcaps:OT,sqcup:UT,sqcups:VT,Sqrt:$T,sqsub:GT,sqsube:HT,sqsubset:jT,sqsubseteq:ZT,sqsup:JT,sqsupe:YT,sqsupset:WT,sqsupseteq:QT,square:KT,Square:XT,SquareIntersection:n2,SquareSubset:r2,SquareSubsetEqual:t2,SquareSuperset:o2,SquareSupersetEqual:e2,SquareUnion:s2,squarf:c2,squ:i2,squf:a2,srarr:l2,Sscr:u2,sscr:p2,ssetmn:f2,ssmile:h2,sstarf:d2,Star:m2,star:g2,starf:b2,straightepsilon:_2,straightphi:k2,strns:x2,sub:v2,Sub:y2,subdot:C2,subE:w2,sube:A2,subedot:q2,submult:D2,subnE:E2,subne:S2,subplus:F2,subrarr:T2,subset:R2,Subset:L2,subseteq:z2,subseteqq:I2,SubsetEqual:B2,subsetneq:M2,subsetneqq:N2,subsim:P2,subsub:O2,subsup:U2,succapprox:V2,succ:$2,succcurlyeq:G2,Succeeds:H2,SucceedsEqual:j2,SucceedsSlantEqual:Z2,SucceedsTilde:J2,succeq:Y2,succnapprox:W2,succneqq:Q2,succnsim:K2,succsim:X2,SuchThat:nR,sum:rR,Sum:tR,sung:oR,sup1:eR,sup2:sR,sup3:cR,sup:iR,Sup:aR,supdot:lR,supdsub:uR,supE:pR,supe:fR,supedot:hR,Superset:dR,SupersetEqual:mR,suphsol:gR,suphsub:bR,suplarr:_R,supmult:kR,supnE:xR,supne:vR,supplus:yR,supset:CR,Supset:wR,supseteq:AR,supseteqq:qR,supsetneq:DR,supsetneqq:ER,supsim:SR,supsub:FR,supsup:TR,swarhk:RR,swarr:LR,swArr:zR,swarrow:IR,swnwar:BR,szlig:MR,Tab:NR,target:PR,Tau:OR,tau:UR,tbrk:VR,Tcaron:$R,tcaron:GR,Tcedil:HR,tcedil:jR,Tcy:ZR,tcy:JR,tdot:YR,telrec:WR,Tfr:QR,tfr:KR,there4:XR,therefore:nL,Therefore:rL,Theta:tL,theta:oL,thetasym:eL,thetav:sL,thickapprox:cL,thicksim:iL,ThickSpace:aL,ThinSpace:lL,thinsp:uL,thkap:pL,thksim:fL,THORN:hL,thorn:dL,tilde:mL,Tilde:gL,TildeEqual:bL,TildeFullEqual:_L,TildeTilde:kL,timesbar:xL,timesb:vL,times:yL,timesd:CL,tint:wL,toea:AL,topbot:qL,topcir:DL,top:EL,Topf:SL,topf:FL,topfork:TL,tosa:RL,tprime:LL,trade:zL,TRADE:IL,triangle:BL,triangledown:ML,triangleleft:NL,trianglelefteq:PL,triangleq:OL,triangleright:UL,trianglerighteq:VL,tridot:$L,trie:GL,triminus:HL,TripleDot:jL,triplus:ZL,trisb:JL,tritime:YL,trpezium:WL,Tscr:QL,tscr:KL,TScy:XL,tscy:nz,TSHcy:rz,tshcy:tz,Tstrok:oz,tstrok:ez,twixt:sz,twoheadleftarrow:cz,twoheadrightarrow:iz,Uacute:az,uacute:lz,uarr:uz,Uarr:pz,uArr:fz,Uarrocir:hz,Ubrcy:dz,ubrcy:mz,Ubreve:gz,ubreve:bz,Ucirc:_z,ucirc:kz,Ucy:xz,ucy:vz,udarr:yz,Udblac:Cz,udblac:wz,udhar:Az,ufisht:qz,Ufr:Dz,ufr:Ez,Ugrave:Sz,ugrave:Fz,uHar:Tz,uharl:Rz,uharr:Lz,uhblk:zz,ulcorn:Iz,ulcorner:Bz,ulcrop:Mz,ultri:Nz,Umacr:Pz,umacr:Oz,uml:Uz,UnderBar:Vz,UnderBrace:$z,UnderBracket:Gz,UnderParenthesis:Hz,Union:jz,UnionPlus:Zz,Uogon:Jz,uogon:Yz,Uopf:Wz,uopf:Qz,UpArrowBar:Kz,uparrow:Xz,UpArrow:nI,Uparrow:rI,UpArrowDownArrow:tI,updownarrow:oI,UpDownArrow:eI,Updownarrow:sI,UpEquilibrium:cI,upharpoonleft:iI,upharpoonright:aI,uplus:lI,UpperLeftArrow:uI,UpperRightArrow:pI,upsi:fI,Upsi:hI,upsih:dI,Upsilon:mI,upsilon:gI,UpTeeArrow:bI,UpTee:_I,upuparrows:kI,urcorn:xI,urcorner:vI,urcrop:yI,Uring:CI,uring:wI,urtri:AI,Uscr:qI,uscr:DI,utdot:EI,Utilde:SI,utilde:FI,utri:TI,utrif:RI,uuarr:LI,Uuml:zI,uuml:II,uwangle:BI,vangrt:MI,varepsilon:NI,varkappa:PI,varnothing:OI,varphi:UI,varpi:VI,varpropto:$I,varr:GI,vArr:HI,varrho:jI,varsigma:ZI,varsubsetneq:JI,varsubsetneqq:YI,varsupsetneq:WI,varsupsetneqq:QI,vartheta:KI,vartriangleleft:XI,vartriangleright:nB,vBar:rB,Vbar:tB,vBarv:oB,Vcy:eB,vcy:sB,vdash:cB,vDash:iB,Vdash:aB,VDash:lB,Vdashl:uB,veebar:pB,vee:fB,Vee:hB,veeeq:dB,vellip:mB,verbar:gB,Verbar:bB,vert:_B,Vert:kB,VerticalBar:xB,VerticalLine:vB,VerticalSeparator:yB,VerticalTilde:CB,VeryThinSpace:wB,Vfr:AB,vfr:qB,vltri:DB,vnsub:EB,vnsup:SB,Vopf:FB,vopf:TB,vprop:RB,vrtri:LB,Vscr:zB,vscr:IB,vsubnE:BB,vsubne:MB,vsupnE:NB,vsupne:PB,Vvdash:OB,vzigzag:UB,Wcirc:VB,wcirc:$B,wedbar:GB,wedge:HB,Wedge:jB,wedgeq:ZB,weierp:JB,Wfr:YB,wfr:WB,Wopf:QB,wopf:KB,wp:XB,wr:nM,wreath:rM,Wscr:tM,wscr:oM,xcap:eM,xcirc:sM,xcup:cM,xdtri:iM,Xfr:aM,xfr:lM,xharr:uM,xhArr:pM,Xi:fM,xi:hM,xlarr:dM,xlArr:mM,xmap:gM,xnis:bM,xodot:_M,Xopf:kM,xopf:xM,xoplus:vM,xotime:yM,xrarr:CM,xrArr:wM,Xscr:AM,xscr:qM,xsqcup:DM,xuplus:EM,xutri:SM,xvee:FM,xwedge:TM,Yacute:RM,yacute:LM,YAcy:zM,yacy:IM,Ycirc:BM,ycirc:MM,Ycy:NM,ycy:PM,yen:OM,Yfr:UM,yfr:VM,YIcy:$M,yicy:GM,Yopf:HM,yopf:jM,Yscr:ZM,yscr:JM,YUcy:YM,yucy:WM,yuml:QM,Yuml:KM,Zacute:XM,zacute:n3,Zcaron:r3,zcaron:t3,Zcy:o3,zcy:e3,Zdot:s3,zdot:c3,zeetrf:i3,ZeroWidthSpace:a3,Zeta:l3,zeta:u3,zfr:p3,Zfr:f3,ZHcy:h3,zhcy:d3,zigrarr:m3,zopf:g3,Zopf:b3,Zscr:_3,zscr:k3,zwj:x3,zwnj:v3};var Fr=y3,zn=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,J={},jn={};function C3(t){var n,r,o=jn[t];if(o)return o;for(o=jn[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n"u"&&(r=!0),c=C3(n),o=0,e=t.length;o=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&i<=57343)){a+=encodeURIComponent(t[o]+t[o+1]),o++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[o])}return a}ln.defaultChars=";/?:@&=+$,-_.!~*'()#";ln.componentChars="-_.!~*'()";var w3=ln,Zn={};function A3(t){var n,r,o=Zn[t];if(o)return o;for(o=Zn[t]=[],n=0;n<128;n++)r=String.fromCharCode(n),o.push(r);for(n=0;n=55296&&u<=57343?p+="���":p+=String.fromCharCode(u),e+=6;continue}if((i&248)===240&&e+91114111?p+="����":(u-=65536,p+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),e+=9;continue}p+="�"}return p})}un.defaultChars=";/?:@&=+$,#";un.componentChars="";var q3=un,D3=function(n){var r="";return r+=n.protocol||"",r+=n.slashes?"//":"",r+=n.auth?n.auth+"@":"",n.hostname&&n.hostname.indexOf(":")!==-1?r+="["+n.hostname+"]":r+=n.hostname||"",r+=n.port?":"+n.port:"",r+=n.pathname||"",r+=n.search||"",r+=n.hash||"",r};function cn(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var E3=/^([a-z0-9.+-]+:)/i,S3=/:[0-9]*$/,F3=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,T3=["<",">",'"',"`"," ","\r",` `," "],R3=["{","}","|","\\","^","`"].concat(T3),L3=["'"].concat(R3),Jn=["%","/","?",";","#"].concat(L3),Yn=["/","?","#"],z3=255,Wn=/^[+a-z0-9A-Z_-]{0,63}$/,I3=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Qn={javascript:!0,"javascript:":!0},Kn={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function B3(t,n){if(t&&t instanceof cn)return t;var r=new cn;return r.parse(t,n),r}cn.prototype.parse=function(t,n){var r,o,e,s,i,c=t;if(c=c.trim(),!n&&t.split("#").length===1){var a=F3.exec(c);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=E3.exec(c);if(l&&(l=l[0],e=l.toLowerCase(),this.protocol=l,c=c.substr(l.length)),(n||l||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=c.substr(0,2)==="//",i&&!(l&&Qn[l])&&(c=c.substr(2),this.slashes=!0)),!Qn[l]&&(i||l&&!Kn[l])){var u=-1;for(r=0;r127?k+="x":k+=x[d];if(!k.match(Wn)){var y=m.slice(0,r),C=m.slice(r+1),_=x.match(I3);_&&(y.push(_[1]),C.unshift(_[2])),C.length&&(c=C.join(".")+c),this.hostname=y.join(".");break}}}}this.hostname.length>z3&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");D!==-1&&(this.hash=c.substr(D),c=c.slice(0,D));var F=c.indexOf("?");return F!==-1&&(this.search=c.substr(F),c=c.slice(0,F)),c&&(this.pathname=c),Kn[e]&&this.hostname&&!this.pathname&&(this.pathname=""),this};cn.prototype.parseHost=function(t){var n=S3.exec(t);n&&(n=n[0],n!==":"&&(this.port=n.substr(1)),t=t.substr(0,t.length-n.length)),t&&(this.hostname=t)};var M3=B3;J.encode=w3;J.decode=q3;J.format=D3;J.parse=M3;var O={},_n,Xn;function Tr(){return Xn||(Xn=1,_n=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),_n}var kn,nr;function Rr(){return nr||(nr=1,kn=/[\0-\x1F\x7F-\x9F]/),kn}var xn,rr;function N3(){return rr||(rr=1,xn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),xn}var vn,tr;function Lr(){return tr||(tr=1,vn=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),vn}var or;function P3(){return or||(or=1,O.Any=Tr(),O.Cc=Rr(),O.Cf=N3(),O.P=zn,O.Z=Lr()),O}(function(t){function n(g){return Object.prototype.toString.call(g)}function r(g){return n(g)==="[object String]"}var o=Object.prototype.hasOwnProperty;function e(g,S){return o.call(g,S)}function s(g){var S=Array.prototype.slice.call(arguments,1);return S.forEach(function(A){if(A){if(typeof A!="object")throw new TypeError(A+"must be object");Object.keys(A).forEach(function(N){g[N]=A[N]})}}),g}function i(g,S,A){return[].concat(g.slice(0,S),A,g.slice(S+1))}function c(g){return!(g>=55296&&g<=57343||g>=64976&&g<=65007||(g&65535)===65535||(g&65535)===65534||g>=0&&g<=8||g===11||g>=14&&g<=31||g>=127&&g<=159||g>1114111)}function a(g){if(g>65535){g-=65536;var S=55296+(g>>10),A=56320+(g&1023);return String.fromCharCode(S,A)}return String.fromCharCode(g)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,p=new RegExp(l.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,f=Fr;function b(g,S){var A=0;return e(f,S)?f[S]:S.charCodeAt(0)===35&&h.test(S)&&(A=S[1].toLowerCase()==="x"?parseInt(S.slice(2),16):parseInt(S.slice(1),10),c(A))?a(A):g}function m(g){return g.indexOf("\\")<0?g:g.replace(l,"$1")}function x(g){return g.indexOf("\\")<0&&g.indexOf("&")<0?g:g.replace(p,function(S,A,N){return A||b(S,N)})}var k=/[&<>"]/,d=/[&<>"]/g,v={"&":"&","<":"<",">":">",'"':"""};function y(g){return v[g]}function C(g){return k.test(g)?g.replace(d,y):g}var _=/[.?*+^$[\]\\(){}|-]/g;function D(g){return g.replace(_,"\\$&")}function F(g){switch(g){case 9:case 32:return!0}return!1}function $(g){if(g>=8192&&g<=8202)return!0;switch(g){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var w=zn;function E(g){return w.test(g)}function Q(g){switch(g){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function G(g){return g=g.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(g=g.replace(/ẞ/g,"ß")),g.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=J,t.lib.ucmicro=P3(),t.assign=s,t.isString=r,t.has=e,t.unescapeMd=m,t.unescapeAll=x,t.isValidEntityCode=c,t.fromCodePoint=a,t.escapeHtml=C,t.arrayReplaceAt=i,t.isSpace=F,t.isWhiteSpace=$,t.isMdAsciiPunct=Q,t.isPunctChar=E,t.escapeRE=D,t.normalizeReference=G})(q);var pn={},O3=function(n,r,o){var e,s,i,c,a=-1,l=n.posMax,u=n.pos;for(n.pos=r+1,e=1;n.pos32))return a;if(e===41){if(s===0)break;s--}r++}return c===r||s!==0||(a.str=er(n.slice(c,r)),a.lines=i,a.pos=r,a.ok=!0),a},V3=q.unescapeAll,$3=function(n,r,o){var e,s,i=0,c=r,a={ok:!1,pos:0,lines:0,str:""};if(r>=o||(s=n.charCodeAt(r),s!==34&&s!==39&&s!==40))return a;for(r++,s===40&&(s=41);r"+V(t[n].content)+""};B.code_block=function(t,n,r,o,e){var s=t[n];return""+V(t[n].content)+` `};B.fence=function(t,n,r,o,e){var s=t[n],i=s.info?H3(s.info).trim():"",c="",a="",l,u,p,h,f;return i&&(p=i.split(/(\s+)/g),c=p[0],a=p.slice(2).join("")),r.highlight?l=r.highlight(s.content,c,a)||V(s.content):l=V(s.content),l.indexOf("{var r;return o(e,n.prototype)?!0:((r=e.constructor)===null||r===void 0?void 0:r.name)===n.name},It=e=>{const n=typeof e;return e===null?"null":n==="object"&&Array.isArray(e)?"array":n==="object"&&jt(e,String,(o,r)=>r.isPrototypeOf(o))?"string":n},tn=e=>n=>It(n)===e,ot=e=>n=>typeof n===e,Ot=e=>n=>e===n,xt=(e,n)=>dt(e)&&jt(e,n,(o,r)=>cn(o)===r),j=tn("string"),dt=tn("object"),Mo=e=>xt(e,Object),gt=tn("array"),U=Ot(null),at=ot("boolean"),bn=Ot(void 0),Zt=e=>e==null,Pe=e=>!Zt(e),ie=ot("function"),Ro=ot("number"),Ce=(e,n)=>{if(gt(e)){for(let o=0,r=e.length;o{},T=(e,n)=>(...o)=>e(n.apply(null,o)),un=(e,n)=>o=>e(n(o)),st=e=>()=>e,Bn=e=>e,Yt=(e,n)=>e===n;function Xe(e,...n){return(...o)=>{const r=n.concat(o);return e.apply(null,r)}}const fo=e=>n=>!e(n),Zo=e=>()=>{throw new Error(e)},wt=e=>e(),fn=e=>{e()},De=st(!1),lt=st(!0);class F{constructor(n,o){this.tag=n,this.value=o}static some(n){return new F(!0,n)}static none(){return F.singletonNone}fold(n,o){return this.tag?o(this.value):n()}isSome(){return this.tag}isNone(){return!this.tag}map(n){return this.tag?F.some(n(this.value)):F.none()}bind(n){return this.tag?n(this.value):F.none()}exists(n){return this.tag&&n(this.value)}forall(n){return!this.tag||n(this.value)}filter(n){return!this.tag||n(this.value)?this:F.none()}getOr(n){return this.tag?this.value:n}or(n){return this.tag?this:n}getOrThunk(n){return this.tag?this.value:n()}orThunk(n){return this.tag?this:n()}getOrDie(n){if(this.tag)return this.value;throw new Error(n??"Called getOrDie on None")}static from(n){return Pe(n)?F.some(n):F.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(n){this.tag&&n(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}F.singletonNone=new F(!1);const qo=Array.prototype.slice,Qn=Array.prototype.indexOf,ft=Array.prototype.push,mt=(e,n)=>Qn.call(e,n),on=(e,n)=>{const o=mt(e,n);return o===-1?F.none():F.some(o)},X=(e,n)=>mt(e,n)>-1,be=(e,n)=>{for(let o=0,r=e.length;o{const o=e.length,r=new Array(o);for(let c=0;c{for(let o=0,r=e.length;o{for(let o=e.length-1;o>=0;o--){const r=e[o];n(r,o)}},Fe=(e,n)=>{const o=[],r=[];for(let c=0,u=e.length;c{const o=[];for(let r=0,c=e.length;r(Me(e,(r,c)=>{o=n(o,r,c)}),o),Q=(e,n,o)=>(ae(e,(r,c)=>{o=n(o,r,c)}),o),Se=(e,n,o)=>{for(let r=0,c=e.length;rSe(e,n,De),zt=(e,n)=>{for(let o=0,r=e.length;o{const n=[];for(let o=0,r=e.length;o$n(ve(e,n)),Rn=(e,n)=>{for(let o=0,r=e.length;o{const n=qo.call(e,0);return n.reverse(),n},Po=(e,n)=>qe(e,o=>!X(n,o)),qn=(e,n)=>{const o={};for(let r=0,c=e.length;r{const o=qo.call(e,0);return o.sort(n),o},to=(e,n)=>n>=0&&nto(e,0),bo=e=>to(e,e.length-1),as=ie(Array.from)?Array.from:e=>qo.call(e),Rs=(e,n)=>{for(let o=0;o{const o=[],r=ie(n)?c=>be(o,u=>n(u,c)):c=>X(o,c);for(let c=0,u=e.length;c{const o=Yo(e);for(let r=0,c=o.length;rkr(e,(o,r)=>({k:r,v:n(o,r)})),kr=(e,n)=>{const o={};return Tt(e,(r,c)=>{const u=n(r,c);o[u.k]=u.v}),o},Vr=e=>(n,o)=>{e[o]=n},qr=(e,n,o,r)=>{Tt(e,(c,u)=>{(n(c,u)?o:r)(c,u)})},Xr=(e,n)=>{const o={},r={};return qr(e,n,Vr(o),Vr(r)),{t:o,f:r}},_s=(e,n)=>{const o={};return qr(e,n,Vr(o),Oe),o},ia=(e,n)=>{const o=[];return Tt(e,(r,c)=>{o.push(n(r,c))}),o},Ur=e=>ia(e,Bn),Cs=(e,n)=>Kn(e,n)?F.from(e[n]):F.none(),Kn=(e,n)=>oa.call(e,n),ar=(e,n)=>Kn(e,n)&&e[n]!==void 0&&e[n]!==null,Ee=(e,n,o=Co)=>En(o).eq(e,n),Ge=e=>{const n={};return ae(e,o=>{n[o]={}}),Yo(n)},Wt=e=>e.length!==void 0,kn=Array.isArray,Ao=e=>{if(kn(e))return e;{const n=[];for(let o=0,r=e.length;o{if(!e)return!1;if(o=o||e,Wt(e)){for(let r=0,c=e.length;r{const o=[];return Xo(e,(r,c)=>{o.push(n(r,c,e))}),o},Gs=(e,n)=>{const o=[];return Xo(e,(r,c)=>{(!n||n(r,c,e))&&o.push(r)}),o},cr=(e,n)=>{if(e){for(let o=0,r=e.length;o{let c=bn(o)?e[0]:o;for(let u=0;u{for(let r=0,c=e.length;re[e.length-1],Ye=e=>{let n=!1,o;return(...r)=>(n||(n=!0,o=e.apply(null,r)),o)},Sn=(e,n,o,r)=>{const c=e.isiOS()&&/ipad/i.test(o)===!0,u=e.isiOS()&&!c,m=e.isiOS()||e.isAndroid(),b=m||r("(pointer:coarse)"),k=c||!u&&m&&r("(min-device-width:768px)"),E=u||m&&!k,D=n.isSafari()&&e.isiOS()&&/safari/i.test(o)===!1,N=!E&&!k&&!D;return{isiPad:st(c),isiPhone:st(u),isTablet:st(k),isPhone:st(E),isTouch:st(b),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:st(D),isDesktop:st(N)}},Yn=(e,n)=>{for(let o=0;o{const o=Yn(e,n);if(!o)return{major:0,minor:0};const r=c=>Number(n.replace(o,"$"+c));return mo(r(1),r(2))},Ks=(e,n)=>{const o=String(n).toLowerCase();return e.length===0?ke():To(e,o)},ke=()=>mo(0,0),mo=(e,n)=>({major:e,minor:n}),fe={nu:mo,detect:Ks,unknown:ke},ge=(e,n)=>Rs(n.brands,o=>{const r=o.brand.toLowerCase();return Ie(e,c=>{var u;return r===((u=c.brand)===null||u===void 0?void 0:u.toLowerCase())}).map(c=>({current:c.name,version:fe.nu(parseInt(o.version,10),0)}))}),yt=(e,n)=>{const o=String(n).toLowerCase();return Ie(e,r=>r.search(o))},_t=(e,n)=>yt(e,n).map(o=>{const r=fe.detect(o.versionRegexes,n);return{current:o.name,version:r}}),Xt=(e,n)=>yt(e,n).map(o=>{const r=fe.detect(o.versionRegexes,n);return{current:o.name,version:r}}),xn=(e,n)=>e.substring(n),_n=(e,n,o)=>n===""||e.length>=n.length&&e.substr(o,o+n.length)===n,wn=(e,n)=>no(e,n)?xn(e,n.length):e,On=(e,n,o=0,r)=>{const c=e.indexOf(n,o);return c!==-1?bn(r)?!0:c+n.length<=r:!1},no=(e,n)=>_n(e,n,0),ds=(e,n)=>_n(e,n,e.length-n.length),Hs=e=>n=>n.replace(e,""),va=Hs(/^\s+|\s+$/g),Gr=Hs(/^\s+/g),oc=Hs(/\s+$/g),yo=e=>e.length>0,os=e=>!yo(e),Us=(e,n)=>n<=0?"":new Array(n+1).join(e),ka=(e,n=10)=>{const o=parseInt(e,n);return isNaN(o)?F.none():F.some(o)},la=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Jr=e=>n=>On(n,e),js=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>On(e,"edge/")&&On(e,"chrome")&&On(e,"safari")&&On(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,la],search:e=>On(e,"chrome")&&!On(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>On(e,"msie")||On(e,"trident")},{name:"Opera",versionRegexes:[la,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Jr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Jr("firefox")},{name:"Safari",versionRegexes:[la,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(On(e,"safari")||On(e,"mobile/"))&&On(e,"applewebkit")}],du=[{name:"Windows",search:Jr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>On(e,"iphone")||On(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Jr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Jr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Jr("linux"),versionRegexes:[]},{name:"Solaris",search:Jr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Jr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Jr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],mi={browsers:st(js),oses:st(du)},fs="Edge",Oa="Chromium",za="IE",Mr="Opera",Ki="Firefox",sc="Safari",Da=()=>Sc({current:void 0,version:fe.unknown()}),Sc=e=>{const n=e.current,o=e.version,r=c=>()=>n===c;return{current:n,version:o,isEdge:r(fs),isChromium:r(Oa),isIE:r(za),isOpera:r(Mr),isFirefox:r(Ki),isSafari:r(sc)}},xc={unknown:Da,nu:Sc,edge:st(fs),chromium:st(Oa),ie:st(za),opera:st(Mr),firefox:st(Ki),safari:st(sc)},Ic="Windows",Ni="iOS",Yi="Android",qa="Linux",Kc="macOS",gi="Solaris",Xi="FreeBSD",pi="ChromeOS",Z=()=>pe({current:void 0,version:fe.unknown()}),pe=e=>{const n=e.current,o=e.version,r=c=>()=>n===c;return{current:n,version:o,isWindows:r(Ic),isiOS:r(Ni),isAndroid:r(Yi),isMacOS:r(Kc),isLinux:r(qa),isSolaris:r(gi),isFreeBSD:r(Xi),isChromeOS:r(pi)}},Ae={unknown:Z,nu:pe,windows:st(Ic),ios:st(Ni),android:st(Yi),linux:st(qa),macos:st(Kc),solaris:st(gi),freebsd:st(Xi),chromeos:st(pi)},Rt={detect:(e,n,o)=>{const r=mi.browsers(),c=mi.oses(),u=n.bind(k=>ge(r,k)).orThunk(()=>_t(r,e)).fold(xc.unknown,xc.nu),m=Xt(c,e).fold(Ae.unknown,Ae.nu),b=Sn(m,u,e,o);return{browser:u,os:m,deviceType:b}}},eo=e=>window.matchMedia(e).matches;let ps=Ye(()=>Rt.detect(navigator.userAgent,F.from(navigator.userAgentData),eo));const Ys=()=>ps(),$s=navigator.userAgent,hr=Ys(),cs=hr.browser,_r=hr.os,Yc=hr.deviceType,hi=$s.indexOf("Windows Phone")!==-1,nn={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:cs.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!cs.isIE(),windowsPhone:hi,browser:{current:cs.current,version:cs.version,isChromium:cs.isChromium,isEdge:cs.isEdge,isFirefox:cs.isFirefox,isIE:cs.isIE,isOpera:cs.isOpera,isSafari:cs.isSafari},os:{current:_r.current,version:_r.version,isAndroid:_r.isAndroid,isChromeOS:_r.isChromeOS,isFreeBSD:_r.isFreeBSD,isiOS:_r.isiOS,isLinux:_r.isLinux,isMacOS:_r.isMacOS,isSolaris:_r.isSolaris,isWindows:_r.isWindows},deviceType:{isDesktop:Yc.isDesktop,isiPad:Yc.isiPad,isiPhone:Yc.isiPhone,isPhone:Yc.isPhone,isTablet:Yc.isTablet,isTouch:Yc.isTouch,isWebView:Yc.isWebView}},fu=/^\s*|\s*$/g,br=e=>Zt(e)?"":(""+e).replace(fu,""),B=(e,n)=>n?n==="array"&&kn(e)?!0:typeof e===n:e!==void 0,Y=(e,n,o={})=>{const r=j(e)?e.split(n||","):e||[];let c=r.length;for(;c--;)o[r[c]]={};return o},se=Kn,Ke=(e,...n)=>{for(let o=0;on.call(r,c,u,o)===!1?!1:(en(c,n,o,r),!0)))},Et={trim:br,isArray:kn,is:B,toArray:Ao,makeMap:Y,each:Xo,map:wr,grep:Gs,inArray:cr,hasOwn:se,extend:Ke,walk:en,resolve:(e,n=window)=>{const o=e.split(".");for(let r=0,c=o.length;rgt(e)?e:e===""?[]:wr(e.split(n||","),br),_addCacheSuffix:e=>{const n=nn.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e}},Ws=(e,n,o=Yt)=>e.exists(r=>o(r,n)),Ga=(e,n,o=Yt)=>sa(e,n,o).getOr(e.isNone()&&n.isNone()),zr=e=>{const n=[],o=r=>{n.push(r)};for(let r=0;re.isSome()&&n.isSome()?F.some(o(e.getOrDie(),n.getOrDie())):F.none(),Mi=(e,n,o,r)=>e.isSome()&&n.isSome()&&o.isSome()?F.some(r(e.getOrDie(),n.getOrDie(),o.getOrDie())):F.none(),q=(e,n)=>e?F.some(n):F.none(),ue=typeof window<"u"?window:Function("return this;")(),Be=(e,n)=>{let o=n??ue;for(let r=0;r{const o=e.split(".");return Be(o,n)},ln=(e,n)=>ht(e,n),Jo=(e,n)=>{const o=ln(e,n);if(o==null)throw new Error(e+" not available on this browser");return o},Cr=Object.getPrototypeOf,wa=e=>Jo("HTMLElement",e),ts=e=>{const n=ht("ownerDocument.defaultView",e);return dt(e)&&(wa(n).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Cr(e).constructor.name))},Kr=8,Br=9,ra=11,Ka=1,$l=3,Xs=e=>e.dom.nodeName.toLowerCase(),or=e=>e.dom.nodeType,Ra=e=>n=>or(n)===e,ep=e=>or(e)===Kr||Xs(e)==="#comment",Pr=e=>rc(e)&&ts(e.dom),rc=Ra(Ka),Ya=Ra($l),tp=Ra(Br),Vm=Ra(ra),Ji=e=>n=>rc(n)&&Xs(n)===e,md=(e,n,o)=>{if(j(o)||at(o)||Ro(o))e.setAttribute(n,o+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple")},ir=(e,n,o)=>{md(e.dom,n,o)},bi=(e,n)=>{const o=e.dom;Tt(n,(r,c)=>{md(o,c,r)})},Fa=(e,n)=>{const o=e.dom.getAttribute(n);return o===null?void 0:o},hl=(e,n)=>F.from(Fa(e,n)),aa=(e,n)=>{const o=e.dom;return o&&o.hasAttribute?o.hasAttribute(n):!1},Yr=(e,n)=>{e.dom.removeAttribute(n)},Bi=e=>{const n=e.dom.attributes;return n==null||n.length===0},gd=e=>Q(e.dom.attributes,(n,o)=>(n[o.name]=o.value,n),{}),Pi=(e,n)=>{const o=Fa(e,n);return o===void 0||o===""?[]:o.split(" ")},mu=(e,n,o)=>{const c=Pi(e,n).concat([o]);return ir(e,n,c.join(" ")),!0},Il=(e,n,o)=>{const r=qe(Pi(e,n),c=>c!==o);return r.length>0?ir(e,n,r.join(" ")):Yr(e,n),!1},Na=e=>e.dom.classList!==void 0,tf=e=>Pi(e,"class"),bc=(e,n)=>mu(e,"class",n),bl=(e,n)=>Il(e,"class",n),yl=(e,n)=>X(tf(e),n)?bl(e,n):bc(e,n),Lu=(e,n)=>{Na(e)?e.dom.classList.add(n):bc(e,n)},gu=e=>{(Na(e)?e.dom.classList:tf(e)).length===0&&Yr(e,"class")},Ll=(e,n)=>{Na(e)?e.dom.classList.remove(n):bl(e,n),gu(e)},Um=(e,n)=>{const o=Na(e)?e.dom.classList.toggle(n):yl(e,n);return gu(e),o},Hl=(e,n)=>Na(e)&&e.dom.classList.contains(n),jm=(e,n)=>{const r=(n||document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1){const c="HTML does not have a single root node";throw console.error(c,e),new Error(c)}return Hu(r.childNodes[0])},nf=(e,n)=>{const r=(n||document).createElement(e);return Hu(r)},Wm=(e,n)=>{const r=(n||document).createTextNode(e);return Hu(r)},Hu=e=>{if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},le={fromHtml:jm,fromTag:nf,fromText:Wm,fromDom:Hu,fromPoint:(e,n,o)=>F.from(e.dom.elementFromPoint(n,o)).map(Hu)},pu=(e,n)=>{const o=[],r=u=>(o.push(u),n(u));let c=n(e);do c=c.bind(r);while(c.isSome());return o},Fi=(e,n)=>{const o=e.dom;if(o.nodeType!==Ka)return!1;{const r=o;if(r.matches!==void 0)return r.matches(n);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(n);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(n);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")}},em=e=>e.nodeType!==Ka&&e.nodeType!==Br&&e.nodeType!==ra||e.childElementCount===0,yy=(e,n)=>{const o=n===void 0?document:n.dom;return em(o)?[]:ve(o.querySelectorAll(e),le.fromDom)},op=(e,n)=>{const o=n===void 0?document:n.dom;return em(o)?F.none():F.from(o.querySelector(e)).map(le.fromDom)},Ns=(e,n)=>e.dom===n.dom,$a=(e,n)=>{const o=e.dom,r=n.dom;return o===r?!1:o.contains(r)},Qi=e=>le.fromDom(e.dom.ownerDocument),yi=e=>tp(e)?e:Qi(e),tm=e=>le.fromDom(yi(e).dom.documentElement),hu=e=>le.fromDom(yi(e).dom.defaultView),Lc=e=>F.from(e.dom.parentNode).map(le.fromDom),pd=e=>F.from(e.dom.parentElement).map(le.fromDom),Zm=(e,n)=>{const o=ie(n)?n:De;let r=e.dom;const c=[];for(;r.parentNode!==null&&r.parentNode!==void 0;){const u=r.parentNode,m=le.fromDom(u);if(c.push(m),o(m)===!0)break;r=u}return c},qm=e=>{const n=o=>qe(o,r=>!Ns(e,r));return Lc(e).map(Ia).map(n).getOr([])},vi=e=>F.from(e.dom.previousSibling).map(le.fromDom),of=e=>F.from(e.dom.nextSibling).map(le.fromDom),Gm=e=>An(pu(e,vi)),Xc=e=>pu(e,of),Ia=e=>ve(e.dom.childNodes,le.fromDom),bu=(e,n)=>{const o=e.dom.childNodes;return F.from(o[n]).map(le.fromDom)},hd=e=>bu(e,0),ki=e=>bu(e,e.dom.childNodes.length-1),Hc=e=>e.dom.childNodes.length,sf=e=>e.dom.hasChildNodes(),sp=e=>{const n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return le.fromDom(n)},rf=e=>Vm(e)&&Pe(e.dom.host),Km=ie(Element.prototype.attachShadow)&&ie(Node.prototype.getRootNode),af=st(Km),$i=Km?e=>le.fromDom(e.dom.getRootNode()):yi,rp=e=>rf(e)?e:sp(yi(e)),vy=e=>rf(e)?e:le.fromDom(yi(e).dom.body),ap=e=>{const n=$i(e);return rf(n)?F.some(n):F.none()},Ym=e=>le.fromDom(e.dom.host),cf=e=>{if(af()&&Pe(e.target)){const n=le.fromDom(e.target);if(rc(n)&&nm(n)&&e.composed&&e.composedPath){const o=e.composedPath();if(o)return mn(o)}}return F.from(e.target)},nm=e=>Pe(e.dom.shadowRoot),bd=e=>{const n=Ya(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;const o=n.ownerDocument;return ap(le.fromDom(n)).fold(()=>o.body.contains(n),un(bd,Ym))};var yr=(e,n,o,r,c)=>e(o,r)?F.some(o):ie(c)&&c(o)?F.none():n(o,r,c);const Fr=(e,n,o)=>{let r=e.dom;const c=ie(o)?o:De;for(;r.parentNode;){r=r.parentNode;const u=le.fromDom(r);if(n(u))return F.some(u);if(c(u))break}return F.none()},Vc=(e,n,o)=>yr((c,u)=>u(c),Fr,e,n,o),Xm=(e,n)=>{const o=e.dom;return o.parentNode?Jm(le.fromDom(o.parentNode),r=>!Ns(e,r)&&n(r)):F.none()},Jm=(e,n)=>{const o=c=>n(le.fromDom(c));return Ie(e.dom.childNodes,o).map(le.fromDom)},Xa=(e,n)=>{const o=r=>{for(let c=0;cFr(e,r=>Fi(r,n),o),Tc=(e,n)=>op(n,e),vl=(e,n,o)=>yr((c,u)=>Fi(c,u),Vu,e,n,o),om=e=>vl(e,"[contenteditable]"),Fo=(e,n=!1)=>bd(e)?e.dom.isContentEditable:om(e).fold(st(n),o=>Uc(o)==="true"),Uc=e=>e.dom.contentEditable,yu=e=>e.style!==void 0&&ie(e.style.getPropertyValue),yd=(e,n,o)=>{if(!j(o))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);yu(e)&&e.style.setProperty(n,o)},Qm=(e,n)=>{yu(e)&&e.style.removeProperty(n)},x=(e,n,o)=>{const r=e.dom;yd(r,n,o)},R=(e,n)=>{const o=e.dom;Tt(n,(r,c)=>{yd(o,c,r)})},H=(e,n)=>{const o=e.dom,c=window.getComputedStyle(o).getPropertyValue(n);return c===""&&!bd(e)?ce(o,n):c},ce=(e,n)=>yu(e)?e.style.getPropertyValue(n):"",me=(e,n)=>{const o=e.dom,r=ce(o,n);return F.from(r).filter(c=>c.length>0)},Dt=e=>{const n={},o=e.dom;if(yu(o))for(let r=0;r{const o=e.dom;Qm(o,n),Ws(hl(e,"style").map(va),"")&&Yr(e,"style")},Nn=e=>e.dom.offsetWidth,Xn=(e,n)=>{Lc(e).each(r=>{r.dom.insertBefore(n.dom,e.dom)})},io=(e,n)=>{of(e).fold(()=>{Lc(e).each(c=>{Vs(c,n)})},r=>{Xn(r,n)})},Sr=(e,n)=>{hd(e).fold(()=>{Vs(e,n)},r=>{e.dom.insertBefore(n.dom,r.dom)})},Vs=(e,n)=>{e.dom.appendChild(n.dom)},Ii=(e,n)=>{Xn(e,n),Vs(n,e)},vd=(e,n)=>{ae(n,(o,r)=>{const c=r===0?e:n[r-1];io(c,o)})},sr=(e,n)=>{ae(n,o=>{Vs(e,o)})},vu=e=>{e.dom.textContent="",ae(Ia(e),n=>{Es(n)})},Es=e=>{const n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},Jc=e=>{const n=Ia(e);n.length>0&&vd(e,n),Es(e)},lf=(e,n)=>{const r=(n||document).createElement("div");return r.innerHTML=e,Ia(le.fromDom(r))},kd=e=>ve(e,le.fromDom),Qo=e=>e.dom.innerHTML,uf=(e,n)=>{const r=Qi(e).dom,c=le.fromDom(r.createDocumentFragment()),u=lf(n,r);sr(c,u),vu(e),Vs(e,c)},xh=e=>{const n=le.fromTag("div"),o=le.fromDom(e.dom.cloneNode(!0));return Vs(n,o),Qo(n)},Th=(e,n,o,r,c,u,m)=>({target:e,x:n,y:o,stop:r,prevent:c,kill:u,raw:m}),y_=e=>{const n=le.fromDom(cf(e).getOr(e.target)),o=()=>e.stopPropagation(),r=()=>e.preventDefault(),c=T(r,o);return Th(n,e.clientX,e.clientY,o,r,c,e)},ky=(e,n)=>o=>{e(o)&&n(y_(o))},cp=(e,n,o,r,c)=>{const u=ky(o,r);return e.dom.addEventListener(n,u,c),{unbind:Xe(eg,e,n,u,c)}},Eh=(e,n,o,r)=>cp(e,n,o,r,!1),eg=(e,n,o,r)=>{e.dom.removeEventListener(n,o,r)},df=(e,n)=>({left:e,top:n,translate:(r,c)=>df(e+r,n+c)}),sm=df,wy=e=>{const n=e.getBoundingClientRect();return sm(n.left,n.top)},kl=(e,n)=>e!==void 0?e:n!==void 0?n:0,Hv=e=>{const n=e.dom.ownerDocument,o=n.body,r=n.defaultView,c=n.documentElement;if(o===e.dom)return sm(o.offsetLeft,o.offsetTop);const u=kl(r==null?void 0:r.pageYOffset,c.scrollTop),m=kl(r==null?void 0:r.pageXOffset,c.scrollLeft),b=kl(c.clientTop,o.clientTop),k=kl(c.clientLeft,o.clientLeft);return rm(e).translate(m-k,u-b)},rm=e=>{const n=e.dom,r=n.ownerDocument.body;return r===n?sm(r.offsetLeft,r.offsetTop):bd(e)?wy(n):sm(0,0)},el=e=>{const n=e!==void 0?e.dom:document,o=n.body.scrollLeft||n.documentElement.scrollLeft,r=n.body.scrollTop||n.documentElement.scrollTop;return sm(o,r)},Ah=(e,n,o)=>{const c=(o!==void 0?o.dom:document).defaultView;c&&c.scrollTo(e,n)},Oh=(e,n)=>{Ys().browser.isSafari()&&ie(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},zh=e=>{const n=e===void 0?window:e;return Ys().browser.isFirefox()?F.none():F.from(n.visualViewport)},ip=(e,n,o,r)=>({x:e,y:n,width:o,height:r,right:e+o,bottom:n+r}),Dh=e=>{const n=e===void 0?window:e,o=n.document,r=el(le.fromDom(o));return zh(n).fold(()=>{const c=n.document.documentElement,u=c.clientWidth,m=c.clientHeight;return ip(r.left,r.top,u,m)},c=>ip(Math.max(c.pageLeft,r.left),Math.max(c.pageTop,r.top),c.width,c.height))},Rh=(e,n)=>qe(Ia(e),n),Nh=(e,n)=>{let o=[];return ae(Ia(e),r=>{n(r)&&(o=o.concat([r])),o=o.concat(Nh(r,n))}),o},La=(e,n)=>yy(n,e),Vv=(e,n,o)=>Vu(e,n,o).isSome();class vr{constructor(n,o){this.node=n,this.rootNode=o,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(n){return this.node=this.findSibling(this.node,"firstChild","nextSibling",n),this.node}prev(n){return this.node=this.findSibling(this.node,"lastChild","previousSibling",n),this.node}prev2(n){return this.node=this.findPreviousNode(this.node,n),this.node}findSibling(n,o,r,c){if(n){if(!c&&n[o])return n[o];if(n!==this.rootNode){let u=n[r];if(u)return u;for(let m=n.parentNode;m&&m!==this.rootNode;m=m.parentNode)if(u=m[r],u)return u}}}findPreviousNode(n,o){if(n){const r=n.previousSibling;if(this.rootNode&&r===this.rootNode)return;if(r){if(!o){for(let u=r.lastChild;u;u=u.lastChild)if(!u.lastChild)return u}return r}const c=n.parentNode;if(c&&c!==this.rootNode)return c}}}const Jn=e=>n=>!!n&&n.nodeType===e,ku=e=>!!e&&!Object.getPrototypeOf(e),gn=Jn(1),ff=e=>{const n=e.toLowerCase();return o=>Pe(o)&&o.nodeName.toLowerCase()===n},wl=e=>{const n=e.map(o=>o.toLowerCase());return o=>{if(o&&o.nodeName){const r=o.nodeName.toLowerCase();return X(n,r)}return!1}},Uu=(e,n)=>{const o=n.toLowerCase().split(" ");return r=>{if(gn(r)){const c=r.ownerDocument.defaultView;if(c)for(let u=0;un=>gn(n)&&n.hasAttribute(e),am=(e,n)=>o=>gn(o)&&o.getAttribute(e)===n,wu=e=>gn(e)&&e.hasAttribute("data-mce-bogus"),Ja=e=>gn(e)&&e.getAttribute("data-mce-bogus")==="all",tl=e=>gn(e)&&e.tagName==="TABLE",tg=e=>n=>!!(gn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e)),lp=wl(["textarea","input"]),Bt=Jn(3),Mh=Jn(4),mf=Jn(7),ju=Jn(8),_l=Jn(9),up=Jn(11),Qr=ff("br"),jr=ff("img"),Qa=tg("true"),As=tg("false"),_u=wl(["td","th"]),ac=wl(["td","th","caption"]),Cl=wl(["video","audio","object","embed"]),cc=ff("li"),yc=ff("details"),dp=ff("summary"),vt="\uFEFF",fr=" ",Bh=e=>e===vt,ua=e=>e.replace(/\uFEFF/g,""),fp=((e,n)=>{const o=u=>{if(!e(u))throw new Error("Can only get "+n+" value of a "+n+" node");return r(u).getOr("")},r=u=>e(u)?F.from(u.dom.nodeValue):F.none();return{get:o,getOption:r,set:(u,m)=>{if(!e(u))throw new Error("Can only set raw "+n+" value of a "+n+" node");u.dom.nodeValue=m}}})(Ya,"text"),wi=e=>fp.get(e),_y=e=>fp.getOption(e),Wu=(e,n)=>fp.set(e,n),Cy=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Li=["td","th"],Is=["thead","tbody","tfoot"],Cu=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],gf=["h1","h2","h3","h4","h5","h6"],vc=["li","dd","dt"],Ph=["ul","ol","dl"],pf=["pre","script","textarea","style"],Sy=["pre"].concat(gf),_a=e=>{let n;return o=>(n=n||qn(e,lt),Kn(n,Xs(o)))},Hi=_a(Cy),$e=e=>Xs(e)==="table",jc=e=>rc(e)&&!Hi(e),_i=e=>rc(e)&&Xs(e)==="br",Vi=_a(Cu),Ui=_a(Ph),Ca=_a(vc),Ha=_a(Is),cm=_a(Li),Ci=_a(pf),Fh=_a(Sy),po=e=>Fh(e)||jc(e),w=e=>{const n=[];let o=e.dom;for(;o;)n.push(le.fromDom(o)),o=o.lastChild;return n},S=e=>{const n=La(e,"br"),o=qe(w(e).slice(-1),_i);n.length===o.length&&ae(o,Es)},L=()=>{const e=le.fromTag("br");return ir(e,"data-mce-bogus","1"),e},G=e=>{vu(e),Vs(e,L())},we=e=>{ki(e).each(n=>{vi(n).each(o=>{Hi(e)&&_i(n)&&Hi(o)&&Es(n)})})},Qe=vt,Pt=Bh,qt=ua,vo=gn,Oo=Bt,xr=e=>(Oo(e)&&(e=e.parentNode),vo(e)&&e.hasAttribute("data-mce-caret")),ks=e=>Oo(e)&&Pt(e.data),Ps=e=>xr(e)||ks(e),ei=e=>e.firstChild!==e.lastChild||!Qr(e.firstChild),nl=(e,n)=>{var o;const c=((o=e.ownerDocument)!==null&&o!==void 0?o:document).createTextNode(Qe),u=e.parentNode;if(n){const m=e.previousSibling;if(Oo(m)){if(Ps(m))return m;if(_d(m))return m.splitText(m.data.length-1)}u==null||u.insertBefore(c,e)}else{const m=e.nextSibling;if(Oo(m)){if(Ps(m))return m;if(hf(m))return m.splitText(1),m}e.nextSibling?u==null||u.insertBefore(c,e.nextSibling):u==null||u.appendChild(c)}return c},Sl=e=>{const n=e.container();return Bt(n)?n.data.charAt(e.offset())===Qe||e.isAtStart()&&ks(n.previousSibling):!1},Su=e=>{const n=e.container();return Bt(n)?n.data.charAt(e.offset()-1)===Qe||e.isAtEnd()&&ks(n.nextSibling):!1},Zu=(e,n,o)=>{var r;const u=((r=n.ownerDocument)!==null&&r!==void 0?r:document).createElement(e);u.setAttribute("data-mce-caret",o?"before":"after"),u.setAttribute("data-mce-bogus","all"),u.appendChild(L().dom);const m=n.parentNode;return o?m==null||m.insertBefore(u,n):n.nextSibling?m==null||m.insertBefore(u,n.nextSibling):m==null||m.appendChild(u),u},hf=e=>Oo(e)&&e.data[0]===Qe,_d=e=>Oo(e)&&e.data[e.data.length-1]===Qe,bf=e=>{var n;const o=e.getElementsByTagName("br"),r=o[o.length-1];wu(r)&&((n=r.parentNode)===null||n===void 0||n.removeChild(r))},yf=e=>e&&e.hasAttribute("data-mce-caret")?(bf(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,da=e=>xr(e.startContainer),ji=Qa,ng=As,vf=Qr,Ms=Bt,Zs=wl(["script","style","textarea"]),Va=wl(["img","input","textarea","hr","iframe","video","audio","object","embed"]),ti=wl(["table"]),$h=Ps,ic=e=>$h(e)?!1:Ms(e)?!Zs(e.parentNode):Va(e)||vf(e)||ti(e)||Cd(e),Ec=e=>gn(e)&&e.getAttribute("unselectable")==="true",Cd=e=>!Ec(e)&&ng(e),xu=(e,n)=>{for(let o=e.parentNode;o&&o!==n;o=o.parentNode){if(Cd(o))return!1;if(ji(o))return!0}return!0},hT=e=>Cd(e)?!Q(as(e.getElementsByTagName("*")),(n,o)=>n||ji(o),!1):!1,og=e=>Va(e)||hT(e),sg=(e,n)=>ic(e)&&xu(e,n),im=/^[ \t\r\n]*$/,lm=e=>im.test(e),mp=e=>{for(const n of e)if(!Bh(n))return!1;return!0},Uv=e=>" \f \v".indexOf(e)!==-1,jv=e=>e===` +import{f as bq,p as yq,R as kW,ay as vq,az as kq,q as wq,a6 as _q,a2 as wW,a5 as Cq,k as eq}from"./index-a61a86fd.js";var tq={exports:{}};(function(es){(function(){var xo=function(e){if(e===null)return"null";if(e===void 0)return"undefined";var n=typeof e;return n==="object"&&(Array.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="Array")?"array":n==="object"&&(String.prototype.isPrototypeOf(e)||e.constructor&&e.constructor.name==="String")?"string":n},_o=function(e){return["undefined","boolean","number","string","function","xml","null"].indexOf(e)!==-1},Ln=function(e,n){var o=Array.prototype.slice.call(e);return o.sort(n)},uo=function(e,n){return ho(function(o,r){return e.eq(n(o),n(r))})},ho=function(e){return{eq:e}},Fn=ho(function(e,n){return e===n}),nt=Fn,pn=function(e){return ho(function(n,o){if(n.length!==o.length)return!1;for(var r=n.length,c=0;c{var r;return o(e,n.prototype)?!0:((r=e.constructor)===null||r===void 0?void 0:r.name)===n.name},It=e=>{const n=typeof e;return e===null?"null":n==="object"&&Array.isArray(e)?"array":n==="object"&&jt(e,String,(o,r)=>r.isPrototypeOf(o))?"string":n},tn=e=>n=>It(n)===e,ot=e=>n=>typeof n===e,Ot=e=>n=>e===n,xt=(e,n)=>dt(e)&&jt(e,n,(o,r)=>cn(o)===r),j=tn("string"),dt=tn("object"),Mo=e=>xt(e,Object),gt=tn("array"),U=Ot(null),at=ot("boolean"),bn=Ot(void 0),Zt=e=>e==null,Pe=e=>!Zt(e),ie=ot("function"),Ro=ot("number"),Ce=(e,n)=>{if(gt(e)){for(let o=0,r=e.length;o{},T=(e,n)=>(...o)=>e(n.apply(null,o)),un=(e,n)=>o=>e(n(o)),st=e=>()=>e,Bn=e=>e,Yt=(e,n)=>e===n;function Xe(e,...n){return(...o)=>{const r=n.concat(o);return e.apply(null,r)}}const fo=e=>n=>!e(n),Zo=e=>()=>{throw new Error(e)},wt=e=>e(),fn=e=>{e()},De=st(!1),lt=st(!0);class F{constructor(n,o){this.tag=n,this.value=o}static some(n){return new F(!0,n)}static none(){return F.singletonNone}fold(n,o){return this.tag?o(this.value):n()}isSome(){return this.tag}isNone(){return!this.tag}map(n){return this.tag?F.some(n(this.value)):F.none()}bind(n){return this.tag?n(this.value):F.none()}exists(n){return this.tag&&n(this.value)}forall(n){return!this.tag||n(this.value)}filter(n){return!this.tag||n(this.value)?this:F.none()}getOr(n){return this.tag?this.value:n}or(n){return this.tag?this:n}getOrThunk(n){return this.tag?this.value:n()}orThunk(n){return this.tag?this:n()}getOrDie(n){if(this.tag)return this.value;throw new Error(n??"Called getOrDie on None")}static from(n){return Pe(n)?F.some(n):F.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(n){this.tag&&n(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}F.singletonNone=new F(!1);const qo=Array.prototype.slice,Qn=Array.prototype.indexOf,ft=Array.prototype.push,mt=(e,n)=>Qn.call(e,n),on=(e,n)=>{const o=mt(e,n);return o===-1?F.none():F.some(o)},X=(e,n)=>mt(e,n)>-1,be=(e,n)=>{for(let o=0,r=e.length;o{const o=e.length,r=new Array(o);for(let c=0;c{for(let o=0,r=e.length;o{for(let o=e.length-1;o>=0;o--){const r=e[o];n(r,o)}},Fe=(e,n)=>{const o=[],r=[];for(let c=0,u=e.length;c{const o=[];for(let r=0,c=e.length;r(Me(e,(r,c)=>{o=n(o,r,c)}),o),Q=(e,n,o)=>(ae(e,(r,c)=>{o=n(o,r,c)}),o),Se=(e,n,o)=>{for(let r=0,c=e.length;rSe(e,n,De),zt=(e,n)=>{for(let o=0,r=e.length;o{const n=[];for(let o=0,r=e.length;o$n(ve(e,n)),Rn=(e,n)=>{for(let o=0,r=e.length;o{const n=qo.call(e,0);return n.reverse(),n},Po=(e,n)=>qe(e,o=>!X(n,o)),qn=(e,n)=>{const o={};for(let r=0,c=e.length;r{const o=qo.call(e,0);return o.sort(n),o},to=(e,n)=>n>=0&&nto(e,0),bo=e=>to(e,e.length-1),as=ie(Array.from)?Array.from:e=>qo.call(e),Rs=(e,n)=>{for(let o=0;o{const o=[],r=ie(n)?c=>be(o,u=>n(u,c)):c=>X(o,c);for(let c=0,u=e.length;c{const o=Yo(e);for(let r=0,c=o.length;rkr(e,(o,r)=>({k:r,v:n(o,r)})),kr=(e,n)=>{const o={};return Tt(e,(r,c)=>{const u=n(r,c);o[u.k]=u.v}),o},Vr=e=>(n,o)=>{e[o]=n},qr=(e,n,o,r)=>{Tt(e,(c,u)=>{(n(c,u)?o:r)(c,u)})},Xr=(e,n)=>{const o={},r={};return qr(e,n,Vr(o),Vr(r)),{t:o,f:r}},_s=(e,n)=>{const o={};return qr(e,n,Vr(o),Oe),o},ia=(e,n)=>{const o=[];return Tt(e,(r,c)=>{o.push(n(r,c))}),o},Ur=e=>ia(e,Bn),Cs=(e,n)=>Kn(e,n)?F.from(e[n]):F.none(),Kn=(e,n)=>oa.call(e,n),ar=(e,n)=>Kn(e,n)&&e[n]!==void 0&&e[n]!==null,Ee=(e,n,o=Co)=>En(o).eq(e,n),Ge=e=>{const n={};return ae(e,o=>{n[o]={}}),Yo(n)},Wt=e=>e.length!==void 0,kn=Array.isArray,Ao=e=>{if(kn(e))return e;{const n=[];for(let o=0,r=e.length;o{if(!e)return!1;if(o=o||e,Wt(e)){for(let r=0,c=e.length;r{const o=[];return Xo(e,(r,c)=>{o.push(n(r,c,e))}),o},Gs=(e,n)=>{const o=[];return Xo(e,(r,c)=>{(!n||n(r,c,e))&&o.push(r)}),o},cr=(e,n)=>{if(e){for(let o=0,r=e.length;o{let c=bn(o)?e[0]:o;for(let u=0;u{for(let r=0,c=e.length;re[e.length-1],Ye=e=>{let n=!1,o;return(...r)=>(n||(n=!0,o=e.apply(null,r)),o)},Sn=(e,n,o,r)=>{const c=e.isiOS()&&/ipad/i.test(o)===!0,u=e.isiOS()&&!c,m=e.isiOS()||e.isAndroid(),b=m||r("(pointer:coarse)"),k=c||!u&&m&&r("(min-device-width:768px)"),E=u||m&&!k,D=n.isSafari()&&e.isiOS()&&/safari/i.test(o)===!1,N=!E&&!k&&!D;return{isiPad:st(c),isiPhone:st(u),isTablet:st(k),isPhone:st(E),isTouch:st(b),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:st(D),isDesktop:st(N)}},Yn=(e,n)=>{for(let o=0;o{const o=Yn(e,n);if(!o)return{major:0,minor:0};const r=c=>Number(n.replace(o,"$"+c));return mo(r(1),r(2))},Ks=(e,n)=>{const o=String(n).toLowerCase();return e.length===0?ke():To(e,o)},ke=()=>mo(0,0),mo=(e,n)=>({major:e,minor:n}),fe={nu:mo,detect:Ks,unknown:ke},ge=(e,n)=>Rs(n.brands,o=>{const r=o.brand.toLowerCase();return Ie(e,c=>{var u;return r===((u=c.brand)===null||u===void 0?void 0:u.toLowerCase())}).map(c=>({current:c.name,version:fe.nu(parseInt(o.version,10),0)}))}),yt=(e,n)=>{const o=String(n).toLowerCase();return Ie(e,r=>r.search(o))},_t=(e,n)=>yt(e,n).map(o=>{const r=fe.detect(o.versionRegexes,n);return{current:o.name,version:r}}),Xt=(e,n)=>yt(e,n).map(o=>{const r=fe.detect(o.versionRegexes,n);return{current:o.name,version:r}}),xn=(e,n)=>e.substring(n),_n=(e,n,o)=>n===""||e.length>=n.length&&e.substr(o,o+n.length)===n,wn=(e,n)=>no(e,n)?xn(e,n.length):e,On=(e,n,o=0,r)=>{const c=e.indexOf(n,o);return c!==-1?bn(r)?!0:c+n.length<=r:!1},no=(e,n)=>_n(e,n,0),ds=(e,n)=>_n(e,n,e.length-n.length),Hs=e=>n=>n.replace(e,""),va=Hs(/^\s+|\s+$/g),Gr=Hs(/^\s+/g),oc=Hs(/\s+$/g),yo=e=>e.length>0,os=e=>!yo(e),Us=(e,n)=>n<=0?"":new Array(n+1).join(e),ka=(e,n=10)=>{const o=parseInt(e,n);return isNaN(o)?F.none():F.some(o)},la=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Jr=e=>n=>On(n,e),js=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>On(e,"edge/")&&On(e,"chrome")&&On(e,"safari")&&On(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,la],search:e=>On(e,"chrome")&&!On(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>On(e,"msie")||On(e,"trident")},{name:"Opera",versionRegexes:[la,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Jr("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Jr("firefox")},{name:"Safari",versionRegexes:[la,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(On(e,"safari")||On(e,"mobile/"))&&On(e,"applewebkit")}],du=[{name:"Windows",search:Jr("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>On(e,"iphone")||On(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Jr("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Jr("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Jr("linux"),versionRegexes:[]},{name:"Solaris",search:Jr("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Jr("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Jr("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],mi={browsers:st(js),oses:st(du)},fs="Edge",Oa="Chromium",za="IE",Mr="Opera",Ki="Firefox",sc="Safari",Da=()=>Sc({current:void 0,version:fe.unknown()}),Sc=e=>{const n=e.current,o=e.version,r=c=>()=>n===c;return{current:n,version:o,isEdge:r(fs),isChromium:r(Oa),isIE:r(za),isOpera:r(Mr),isFirefox:r(Ki),isSafari:r(sc)}},xc={unknown:Da,nu:Sc,edge:st(fs),chromium:st(Oa),ie:st(za),opera:st(Mr),firefox:st(Ki),safari:st(sc)},Ic="Windows",Ni="iOS",Yi="Android",qa="Linux",Kc="macOS",gi="Solaris",Xi="FreeBSD",pi="ChromeOS",Z=()=>pe({current:void 0,version:fe.unknown()}),pe=e=>{const n=e.current,o=e.version,r=c=>()=>n===c;return{current:n,version:o,isWindows:r(Ic),isiOS:r(Ni),isAndroid:r(Yi),isMacOS:r(Kc),isLinux:r(qa),isSolaris:r(gi),isFreeBSD:r(Xi),isChromeOS:r(pi)}},Ae={unknown:Z,nu:pe,windows:st(Ic),ios:st(Ni),android:st(Yi),linux:st(qa),macos:st(Kc),solaris:st(gi),freebsd:st(Xi),chromeos:st(pi)},Rt={detect:(e,n,o)=>{const r=mi.browsers(),c=mi.oses(),u=n.bind(k=>ge(r,k)).orThunk(()=>_t(r,e)).fold(xc.unknown,xc.nu),m=Xt(c,e).fold(Ae.unknown,Ae.nu),b=Sn(m,u,e,o);return{browser:u,os:m,deviceType:b}}},eo=e=>window.matchMedia(e).matches;let ps=Ye(()=>Rt.detect(navigator.userAgent,F.from(navigator.userAgentData),eo));const Ys=()=>ps(),$s=navigator.userAgent,hr=Ys(),cs=hr.browser,_r=hr.os,Yc=hr.deviceType,hi=$s.indexOf("Windows Phone")!==-1,nn={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:cs.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!cs.isIE(),windowsPhone:hi,browser:{current:cs.current,version:cs.version,isChromium:cs.isChromium,isEdge:cs.isEdge,isFirefox:cs.isFirefox,isIE:cs.isIE,isOpera:cs.isOpera,isSafari:cs.isSafari},os:{current:_r.current,version:_r.version,isAndroid:_r.isAndroid,isChromeOS:_r.isChromeOS,isFreeBSD:_r.isFreeBSD,isiOS:_r.isiOS,isLinux:_r.isLinux,isMacOS:_r.isMacOS,isSolaris:_r.isSolaris,isWindows:_r.isWindows},deviceType:{isDesktop:Yc.isDesktop,isiPad:Yc.isiPad,isiPhone:Yc.isiPhone,isPhone:Yc.isPhone,isTablet:Yc.isTablet,isTouch:Yc.isTouch,isWebView:Yc.isWebView}},fu=/^\s*|\s*$/g,br=e=>Zt(e)?"":(""+e).replace(fu,""),B=(e,n)=>n?n==="array"&&kn(e)?!0:typeof e===n:e!==void 0,Y=(e,n,o={})=>{const r=j(e)?e.split(n||","):e||[];let c=r.length;for(;c--;)o[r[c]]={};return o},se=Kn,Ke=(e,...n)=>{for(let o=0;on.call(r,c,u,o)===!1?!1:(en(c,n,o,r),!0)))},Et={trim:br,isArray:kn,is:B,toArray:Ao,makeMap:Y,each:Xo,map:wr,grep:Gs,inArray:cr,hasOwn:se,extend:Ke,walk:en,resolve:(e,n=window)=>{const o=e.split(".");for(let r=0,c=o.length;rgt(e)?e:e===""?[]:wr(e.split(n||","),br),_addCacheSuffix:e=>{const n=nn.cacheSuffix;return n&&(e+=(e.indexOf("?")===-1?"?":"&")+n),e}},Ws=(e,n,o=Yt)=>e.exists(r=>o(r,n)),Ga=(e,n,o=Yt)=>sa(e,n,o).getOr(e.isNone()&&n.isNone()),zr=e=>{const n=[],o=r=>{n.push(r)};for(let r=0;re.isSome()&&n.isSome()?F.some(o(e.getOrDie(),n.getOrDie())):F.none(),Mi=(e,n,o,r)=>e.isSome()&&n.isSome()&&o.isSome()?F.some(r(e.getOrDie(),n.getOrDie(),o.getOrDie())):F.none(),q=(e,n)=>e?F.some(n):F.none(),ue=typeof window<"u"?window:Function("return this;")(),Be=(e,n)=>{let o=n??ue;for(let r=0;r{const o=e.split(".");return Be(o,n)},ln=(e,n)=>ht(e,n),Jo=(e,n)=>{const o=ln(e,n);if(o==null)throw new Error(e+" not available on this browser");return o},Cr=Object.getPrototypeOf,wa=e=>Jo("HTMLElement",e),ts=e=>{const n=ht("ownerDocument.defaultView",e);return dt(e)&&(wa(n).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Cr(e).constructor.name))},Kr=8,Br=9,ra=11,Ka=1,$l=3,Xs=e=>e.dom.nodeName.toLowerCase(),or=e=>e.dom.nodeType,Ra=e=>n=>or(n)===e,ep=e=>or(e)===Kr||Xs(e)==="#comment",Pr=e=>rc(e)&&ts(e.dom),rc=Ra(Ka),Ya=Ra($l),tp=Ra(Br),Vm=Ra(ra),Ji=e=>n=>rc(n)&&Xs(n)===e,md=(e,n,o)=>{if(j(o)||at(o)||Ro(o))e.setAttribute(n,o+"");else throw console.error("Invalid call to Attribute.set. Key ",n,":: Value ",o,":: Element ",e),new Error("Attribute value was not simple")},ir=(e,n,o)=>{md(e.dom,n,o)},bi=(e,n)=>{const o=e.dom;Tt(n,(r,c)=>{md(o,c,r)})},Fa=(e,n)=>{const o=e.dom.getAttribute(n);return o===null?void 0:o},hl=(e,n)=>F.from(Fa(e,n)),aa=(e,n)=>{const o=e.dom;return o&&o.hasAttribute?o.hasAttribute(n):!1},Yr=(e,n)=>{e.dom.removeAttribute(n)},Bi=e=>{const n=e.dom.attributes;return n==null||n.length===0},gd=e=>Q(e.dom.attributes,(n,o)=>(n[o.name]=o.value,n),{}),Pi=(e,n)=>{const o=Fa(e,n);return o===void 0||o===""?[]:o.split(" ")},mu=(e,n,o)=>{const c=Pi(e,n).concat([o]);return ir(e,n,c.join(" ")),!0},Il=(e,n,o)=>{const r=qe(Pi(e,n),c=>c!==o);return r.length>0?ir(e,n,r.join(" ")):Yr(e,n),!1},Na=e=>e.dom.classList!==void 0,tf=e=>Pi(e,"class"),bc=(e,n)=>mu(e,"class",n),bl=(e,n)=>Il(e,"class",n),yl=(e,n)=>X(tf(e),n)?bl(e,n):bc(e,n),Lu=(e,n)=>{Na(e)?e.dom.classList.add(n):bc(e,n)},gu=e=>{(Na(e)?e.dom.classList:tf(e)).length===0&&Yr(e,"class")},Ll=(e,n)=>{Na(e)?e.dom.classList.remove(n):bl(e,n),gu(e)},Um=(e,n)=>{const o=Na(e)?e.dom.classList.toggle(n):yl(e,n);return gu(e),o},Hl=(e,n)=>Na(e)&&e.dom.classList.contains(n),jm=(e,n)=>{const r=(n||document).createElement("div");if(r.innerHTML=e,!r.hasChildNodes()||r.childNodes.length>1){const c="HTML does not have a single root node";throw console.error(c,e),new Error(c)}return Hu(r.childNodes[0])},nf=(e,n)=>{const r=(n||document).createElement(e);return Hu(r)},Wm=(e,n)=>{const r=(n||document).createTextNode(e);return Hu(r)},Hu=e=>{if(e==null)throw new Error("Node cannot be null or undefined");return{dom:e}},le={fromHtml:jm,fromTag:nf,fromText:Wm,fromDom:Hu,fromPoint:(e,n,o)=>F.from(e.dom.elementFromPoint(n,o)).map(Hu)},pu=(e,n)=>{const o=[],r=u=>(o.push(u),n(u));let c=n(e);do c=c.bind(r);while(c.isSome());return o},Fi=(e,n)=>{const o=e.dom;if(o.nodeType!==Ka)return!1;{const r=o;if(r.matches!==void 0)return r.matches(n);if(r.msMatchesSelector!==void 0)return r.msMatchesSelector(n);if(r.webkitMatchesSelector!==void 0)return r.webkitMatchesSelector(n);if(r.mozMatchesSelector!==void 0)return r.mozMatchesSelector(n);throw new Error("Browser lacks native selectors")}},em=e=>e.nodeType!==Ka&&e.nodeType!==Br&&e.nodeType!==ra||e.childElementCount===0,yy=(e,n)=>{const o=n===void 0?document:n.dom;return em(o)?[]:ve(o.querySelectorAll(e),le.fromDom)},op=(e,n)=>{const o=n===void 0?document:n.dom;return em(o)?F.none():F.from(o.querySelector(e)).map(le.fromDom)},Ns=(e,n)=>e.dom===n.dom,$a=(e,n)=>{const o=e.dom,r=n.dom;return o===r?!1:o.contains(r)},Qi=e=>le.fromDom(e.dom.ownerDocument),yi=e=>tp(e)?e:Qi(e),tm=e=>le.fromDom(yi(e).dom.documentElement),hu=e=>le.fromDom(yi(e).dom.defaultView),Lc=e=>F.from(e.dom.parentNode).map(le.fromDom),pd=e=>F.from(e.dom.parentElement).map(le.fromDom),Zm=(e,n)=>{const o=ie(n)?n:De;let r=e.dom;const c=[];for(;r.parentNode!==null&&r.parentNode!==void 0;){const u=r.parentNode,m=le.fromDom(u);if(c.push(m),o(m)===!0)break;r=u}return c},qm=e=>{const n=o=>qe(o,r=>!Ns(e,r));return Lc(e).map(Ia).map(n).getOr([])},vi=e=>F.from(e.dom.previousSibling).map(le.fromDom),of=e=>F.from(e.dom.nextSibling).map(le.fromDom),Gm=e=>An(pu(e,vi)),Xc=e=>pu(e,of),Ia=e=>ve(e.dom.childNodes,le.fromDom),bu=(e,n)=>{const o=e.dom.childNodes;return F.from(o[n]).map(le.fromDom)},hd=e=>bu(e,0),ki=e=>bu(e,e.dom.childNodes.length-1),Hc=e=>e.dom.childNodes.length,sf=e=>e.dom.hasChildNodes(),sp=e=>{const n=e.dom.head;if(n==null)throw new Error("Head is not available yet");return le.fromDom(n)},rf=e=>Vm(e)&&Pe(e.dom.host),Km=ie(Element.prototype.attachShadow)&&ie(Node.prototype.getRootNode),af=st(Km),$i=Km?e=>le.fromDom(e.dom.getRootNode()):yi,rp=e=>rf(e)?e:sp(yi(e)),vy=e=>rf(e)?e:le.fromDom(yi(e).dom.body),ap=e=>{const n=$i(e);return rf(n)?F.some(n):F.none()},Ym=e=>le.fromDom(e.dom.host),cf=e=>{if(af()&&Pe(e.target)){const n=le.fromDom(e.target);if(rc(n)&&nm(n)&&e.composed&&e.composedPath){const o=e.composedPath();if(o)return mn(o)}}return F.from(e.target)},nm=e=>Pe(e.dom.shadowRoot),bd=e=>{const n=Ya(e)?e.dom.parentNode:e.dom;if(n==null||n.ownerDocument===null)return!1;const o=n.ownerDocument;return ap(le.fromDom(n)).fold(()=>o.body.contains(n),un(bd,Ym))};var yr=(e,n,o,r,c)=>e(o,r)?F.some(o):ie(c)&&c(o)?F.none():n(o,r,c);const Fr=(e,n,o)=>{let r=e.dom;const c=ie(o)?o:De;for(;r.parentNode;){r=r.parentNode;const u=le.fromDom(r);if(n(u))return F.some(u);if(c(u))break}return F.none()},Vc=(e,n,o)=>yr((c,u)=>u(c),Fr,e,n,o),Xm=(e,n)=>{const o=e.dom;return o.parentNode?Jm(le.fromDom(o.parentNode),r=>!Ns(e,r)&&n(r)):F.none()},Jm=(e,n)=>{const o=c=>n(le.fromDom(c));return Ie(e.dom.childNodes,o).map(le.fromDom)},Xa=(e,n)=>{const o=r=>{for(let c=0;cFr(e,r=>Fi(r,n),o),Tc=(e,n)=>op(n,e),vl=(e,n,o)=>yr((c,u)=>Fi(c,u),Vu,e,n,o),om=e=>vl(e,"[contenteditable]"),Fo=(e,n=!1)=>bd(e)?e.dom.isContentEditable:om(e).fold(st(n),o=>Uc(o)==="true"),Uc=e=>e.dom.contentEditable,yu=e=>e.style!==void 0&&ie(e.style.getPropertyValue),yd=(e,n,o)=>{if(!j(o))throw console.error("Invalid call to CSS.set. Property ",n,":: Value ",o,":: Element ",e),new Error("CSS value must be a string: "+o);yu(e)&&e.style.setProperty(n,o)},Qm=(e,n)=>{yu(e)&&e.style.removeProperty(n)},x=(e,n,o)=>{const r=e.dom;yd(r,n,o)},R=(e,n)=>{const o=e.dom;Tt(n,(r,c)=>{yd(o,c,r)})},H=(e,n)=>{const o=e.dom,c=window.getComputedStyle(o).getPropertyValue(n);return c===""&&!bd(e)?ce(o,n):c},ce=(e,n)=>yu(e)?e.style.getPropertyValue(n):"",me=(e,n)=>{const o=e.dom,r=ce(o,n);return F.from(r).filter(c=>c.length>0)},Dt=e=>{const n={},o=e.dom;if(yu(o))for(let r=0;r{const o=e.dom;Qm(o,n),Ws(hl(e,"style").map(va),"")&&Yr(e,"style")},Nn=e=>e.dom.offsetWidth,Xn=(e,n)=>{Lc(e).each(r=>{r.dom.insertBefore(n.dom,e.dom)})},io=(e,n)=>{of(e).fold(()=>{Lc(e).each(c=>{Vs(c,n)})},r=>{Xn(r,n)})},Sr=(e,n)=>{hd(e).fold(()=>{Vs(e,n)},r=>{e.dom.insertBefore(n.dom,r.dom)})},Vs=(e,n)=>{e.dom.appendChild(n.dom)},Ii=(e,n)=>{Xn(e,n),Vs(n,e)},vd=(e,n)=>{ae(n,(o,r)=>{const c=r===0?e:n[r-1];io(c,o)})},sr=(e,n)=>{ae(n,o=>{Vs(e,o)})},vu=e=>{e.dom.textContent="",ae(Ia(e),n=>{Es(n)})},Es=e=>{const n=e.dom;n.parentNode!==null&&n.parentNode.removeChild(n)},Jc=e=>{const n=Ia(e);n.length>0&&vd(e,n),Es(e)},lf=(e,n)=>{const r=(n||document).createElement("div");return r.innerHTML=e,Ia(le.fromDom(r))},kd=e=>ve(e,le.fromDom),Qo=e=>e.dom.innerHTML,uf=(e,n)=>{const r=Qi(e).dom,c=le.fromDom(r.createDocumentFragment()),u=lf(n,r);sr(c,u),vu(e),Vs(e,c)},xh=e=>{const n=le.fromTag("div"),o=le.fromDom(e.dom.cloneNode(!0));return Vs(n,o),Qo(n)},Th=(e,n,o,r,c,u,m)=>({target:e,x:n,y:o,stop:r,prevent:c,kill:u,raw:m}),y_=e=>{const n=le.fromDom(cf(e).getOr(e.target)),o=()=>e.stopPropagation(),r=()=>e.preventDefault(),c=T(r,o);return Th(n,e.clientX,e.clientY,o,r,c,e)},ky=(e,n)=>o=>{e(o)&&n(y_(o))},cp=(e,n,o,r,c)=>{const u=ky(o,r);return e.dom.addEventListener(n,u,c),{unbind:Xe(eg,e,n,u,c)}},Eh=(e,n,o,r)=>cp(e,n,o,r,!1),eg=(e,n,o,r)=>{e.dom.removeEventListener(n,o,r)},df=(e,n)=>({left:e,top:n,translate:(r,c)=>df(e+r,n+c)}),sm=df,wy=e=>{const n=e.getBoundingClientRect();return sm(n.left,n.top)},kl=(e,n)=>e!==void 0?e:n!==void 0?n:0,Hv=e=>{const n=e.dom.ownerDocument,o=n.body,r=n.defaultView,c=n.documentElement;if(o===e.dom)return sm(o.offsetLeft,o.offsetTop);const u=kl(r==null?void 0:r.pageYOffset,c.scrollTop),m=kl(r==null?void 0:r.pageXOffset,c.scrollLeft),b=kl(c.clientTop,o.clientTop),k=kl(c.clientLeft,o.clientLeft);return rm(e).translate(m-k,u-b)},rm=e=>{const n=e.dom,r=n.ownerDocument.body;return r===n?sm(r.offsetLeft,r.offsetTop):bd(e)?wy(n):sm(0,0)},el=e=>{const n=e!==void 0?e.dom:document,o=n.body.scrollLeft||n.documentElement.scrollLeft,r=n.body.scrollTop||n.documentElement.scrollTop;return sm(o,r)},Ah=(e,n,o)=>{const c=(o!==void 0?o.dom:document).defaultView;c&&c.scrollTo(e,n)},Oh=(e,n)=>{Ys().browser.isSafari()&&ie(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(n)},zh=e=>{const n=e===void 0?window:e;return Ys().browser.isFirefox()?F.none():F.from(n.visualViewport)},ip=(e,n,o,r)=>({x:e,y:n,width:o,height:r,right:e+o,bottom:n+r}),Dh=e=>{const n=e===void 0?window:e,o=n.document,r=el(le.fromDom(o));return zh(n).fold(()=>{const c=n.document.documentElement,u=c.clientWidth,m=c.clientHeight;return ip(r.left,r.top,u,m)},c=>ip(Math.max(c.pageLeft,r.left),Math.max(c.pageTop,r.top),c.width,c.height))},Rh=(e,n)=>qe(Ia(e),n),Nh=(e,n)=>{let o=[];return ae(Ia(e),r=>{n(r)&&(o=o.concat([r])),o=o.concat(Nh(r,n))}),o},La=(e,n)=>yy(n,e),Vv=(e,n,o)=>Vu(e,n,o).isSome();class vr{constructor(n,o){this.node=n,this.rootNode=o,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(n){return this.node=this.findSibling(this.node,"firstChild","nextSibling",n),this.node}prev(n){return this.node=this.findSibling(this.node,"lastChild","previousSibling",n),this.node}prev2(n){return this.node=this.findPreviousNode(this.node,n),this.node}findSibling(n,o,r,c){if(n){if(!c&&n[o])return n[o];if(n!==this.rootNode){let u=n[r];if(u)return u;for(let m=n.parentNode;m&&m!==this.rootNode;m=m.parentNode)if(u=m[r],u)return u}}}findPreviousNode(n,o){if(n){const r=n.previousSibling;if(this.rootNode&&r===this.rootNode)return;if(r){if(!o){for(let u=r.lastChild;u;u=u.lastChild)if(!u.lastChild)return u}return r}const c=n.parentNode;if(c&&c!==this.rootNode)return c}}}const Jn=e=>n=>!!n&&n.nodeType===e,ku=e=>!!e&&!Object.getPrototypeOf(e),gn=Jn(1),ff=e=>{const n=e.toLowerCase();return o=>Pe(o)&&o.nodeName.toLowerCase()===n},wl=e=>{const n=e.map(o=>o.toLowerCase());return o=>{if(o&&o.nodeName){const r=o.nodeName.toLowerCase();return X(n,r)}return!1}},Uu=(e,n)=>{const o=n.toLowerCase().split(" ");return r=>{if(gn(r)){const c=r.ownerDocument.defaultView;if(c)for(let u=0;un=>gn(n)&&n.hasAttribute(e),am=(e,n)=>o=>gn(o)&&o.getAttribute(e)===n,wu=e=>gn(e)&&e.hasAttribute("data-mce-bogus"),Ja=e=>gn(e)&&e.getAttribute("data-mce-bogus")==="all",tl=e=>gn(e)&&e.tagName==="TABLE",tg=e=>n=>!!(gn(n)&&(n.contentEditable===e||n.getAttribute("data-mce-contenteditable")===e)),lp=wl(["textarea","input"]),Bt=Jn(3),Mh=Jn(4),mf=Jn(7),ju=Jn(8),_l=Jn(9),up=Jn(11),Qr=ff("br"),jr=ff("img"),Qa=tg("true"),As=tg("false"),_u=wl(["td","th"]),ac=wl(["td","th","caption"]),Cl=wl(["video","audio","object","embed"]),cc=ff("li"),yc=ff("details"),dp=ff("summary"),vt="\uFEFF",fr=" ",Bh=e=>e===vt,ua=e=>e.replace(/\uFEFF/g,""),fp=((e,n)=>{const o=u=>{if(!e(u))throw new Error("Can only get "+n+" value of a "+n+" node");return r(u).getOr("")},r=u=>e(u)?F.from(u.dom.nodeValue):F.none();return{get:o,getOption:r,set:(u,m)=>{if(!e(u))throw new Error("Can only set raw "+n+" value of a "+n+" node");u.dom.nodeValue=m}}})(Ya,"text"),wi=e=>fp.get(e),_y=e=>fp.getOption(e),Wu=(e,n)=>fp.set(e,n),Cy=["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"],Li=["td","th"],Is=["thead","tbody","tfoot"],Cu=["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"],gf=["h1","h2","h3","h4","h5","h6"],vc=["li","dd","dt"],Ph=["ul","ol","dl"],pf=["pre","script","textarea","style"],Sy=["pre"].concat(gf),_a=e=>{let n;return o=>(n=n||qn(e,lt),Kn(n,Xs(o)))},Hi=_a(Cy),$e=e=>Xs(e)==="table",jc=e=>rc(e)&&!Hi(e),_i=e=>rc(e)&&Xs(e)==="br",Vi=_a(Cu),Ui=_a(Ph),Ca=_a(vc),Ha=_a(Is),cm=_a(Li),Ci=_a(pf),Fh=_a(Sy),po=e=>Fh(e)||jc(e),w=e=>{const n=[];let o=e.dom;for(;o;)n.push(le.fromDom(o)),o=o.lastChild;return n},S=e=>{const n=La(e,"br"),o=qe(w(e).slice(-1),_i);n.length===o.length&&ae(o,Es)},L=()=>{const e=le.fromTag("br");return ir(e,"data-mce-bogus","1"),e},G=e=>{vu(e),Vs(e,L())},we=e=>{ki(e).each(n=>{vi(n).each(o=>{Hi(e)&&_i(n)&&Hi(o)&&Es(n)})})},Qe=vt,Pt=Bh,qt=ua,vo=gn,Oo=Bt,xr=e=>(Oo(e)&&(e=e.parentNode),vo(e)&&e.hasAttribute("data-mce-caret")),ks=e=>Oo(e)&&Pt(e.data),Ps=e=>xr(e)||ks(e),ei=e=>e.firstChild!==e.lastChild||!Qr(e.firstChild),nl=(e,n)=>{var o;const c=((o=e.ownerDocument)!==null&&o!==void 0?o:document).createTextNode(Qe),u=e.parentNode;if(n){const m=e.previousSibling;if(Oo(m)){if(Ps(m))return m;if(_d(m))return m.splitText(m.data.length-1)}u==null||u.insertBefore(c,e)}else{const m=e.nextSibling;if(Oo(m)){if(Ps(m))return m;if(hf(m))return m.splitText(1),m}e.nextSibling?u==null||u.insertBefore(c,e.nextSibling):u==null||u.appendChild(c)}return c},Sl=e=>{const n=e.container();return Bt(n)?n.data.charAt(e.offset())===Qe||e.isAtStart()&&ks(n.previousSibling):!1},Su=e=>{const n=e.container();return Bt(n)?n.data.charAt(e.offset()-1)===Qe||e.isAtEnd()&&ks(n.nextSibling):!1},Zu=(e,n,o)=>{var r;const u=((r=n.ownerDocument)!==null&&r!==void 0?r:document).createElement(e);u.setAttribute("data-mce-caret",o?"before":"after"),u.setAttribute("data-mce-bogus","all"),u.appendChild(L().dom);const m=n.parentNode;return o?m==null||m.insertBefore(u,n):n.nextSibling?m==null||m.insertBefore(u,n.nextSibling):m==null||m.appendChild(u),u},hf=e=>Oo(e)&&e.data[0]===Qe,_d=e=>Oo(e)&&e.data[e.data.length-1]===Qe,bf=e=>{var n;const o=e.getElementsByTagName("br"),r=o[o.length-1];wu(r)&&((n=r.parentNode)===null||n===void 0||n.removeChild(r))},yf=e=>e&&e.hasAttribute("data-mce-caret")?(bf(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,da=e=>xr(e.startContainer),ji=Qa,ng=As,vf=Qr,Ms=Bt,Zs=wl(["script","style","textarea"]),Va=wl(["img","input","textarea","hr","iframe","video","audio","object","embed"]),ti=wl(["table"]),$h=Ps,ic=e=>$h(e)?!1:Ms(e)?!Zs(e.parentNode):Va(e)||vf(e)||ti(e)||Cd(e),Ec=e=>gn(e)&&e.getAttribute("unselectable")==="true",Cd=e=>!Ec(e)&&ng(e),xu=(e,n)=>{for(let o=e.parentNode;o&&o!==n;o=o.parentNode){if(Cd(o))return!1;if(ji(o))return!0}return!0},hT=e=>Cd(e)?!Q(as(e.getElementsByTagName("*")),(n,o)=>n||ji(o),!1):!1,og=e=>Va(e)||hT(e),sg=(e,n)=>ic(e)&&xu(e,n),im=/^[ \t\r\n]*$/,lm=e=>im.test(e),mp=e=>{for(const n of e)if(!Bh(n))return!1;return!0},Uv=e=>" \f \v".indexOf(e)!==-1,jv=e=>e===` `||e==="\r",fa=(e,n)=>n=0?jv(e[n]):!1,xy=(e,n=4,o=!0,r=!0)=>{const c=Us(" ",n),u=e.replace(/\t/g,c);return Q(u,(b,k)=>Uv(k)||k===fr?b.pcIsSpace||b.str===""&&o||b.str.length===u.length-1&&r||fa(u,b.str.length+1)?{pcIsSpace:!1,str:b.str+fr}:{pcIsSpace:!0,str:b.str+" "}:{pcIsSpace:jv(k),str:b.str+k},{pcIsSpace:!1,str:""}).str},qu=(e,n)=>{const o=le.fromDom(n),r=le.fromDom(e);return Vv(r,"pre,code",Xe(Ns,o))},um=(e,n)=>Bt(e)&&lm(e.data)&&!qu(e,n),rg=e=>gn(e)&&e.nodeName==="A"&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id")),Sd=(e,n)=>ic(e)&&!um(e,n)||rg(e)||ol(e),ol=Qc("data-mce-bookmark"),Ih=Qc("data-mce-bogus"),Lh=am("data-mce-bogus","all"),bT=(e,n)=>{let o=0;if(Sd(e,e))return!1;{let r=e.firstChild;if(!r)return!0;const c=new vr(r,e);do{if(n){if(Lh(r)){r=c.next(!0);continue}if(Ih(r)){r=c.next();continue}}if(Qr(r)){o++,r=c.next();continue}if(Sd(r,e))return!1;r=c.next()}while(r);return o<=1}},ma=(e,n=!0)=>bT(e.dom,n),ag="data-mce-block",dm=e=>qe(Yo(e),n=>!/[A-Z]/.test(n)),Ty=e=>dm(e).join(","),Hh=(e,n)=>Pe(n.querySelector(e))?(n.setAttribute(ag,"true"),n.getAttribute("data-mce-selected")==="inline-boundary"&&n.removeAttribute("data-mce-selected"),!0):(n.removeAttribute(ag),!1),kf=(e,n)=>{const o=Ty(e.getTransparentElements()),r=Ty(e.getBlockElements());return qe(n.querySelectorAll(o),c=>Hh(r,c))},Gu=(e,n)=>{var o;const r=n?"lastChild":"firstChild";for(let c=e[r];c;c=c[r])if(ma(le.fromDom(c))){(o=c.parentNode)===null||o===void 0||o.removeChild(c);return}},Vl=(e,n)=>{const o=document.createRange(),r=e.parentNode;if(r){o.setStartBefore(e),o.setEndBefore(n);const c=o.extractContents();Gu(c,!0),o.setStartAfter(n),o.setEndAfter(e);const u=o.extractContents();Gu(u,!1),ma(le.fromDom(c))||r.insertBefore(c,e),ma(le.fromDom(n))||r.insertBefore(n,e),ma(le.fromDom(u))||r.insertBefore(u,e),r.removeChild(e)}},cg=(e,n,o)=>{const r=e.getBlockElements(),c=le.fromDom(n),u=b=>Xs(b)in r,m=b=>Ns(b,c);ae(kd(o),b=>{Fr(b,u,m).each(k=>{const E=Rh(b,D=>u(D)&&!e.isValidChild(Xs(k),Xs(D)));if(E.length>0){const D=pd(k);ae(E,N=>{Fr(N,u,m).each(I=>{Vl(I.dom,N.dom)})}),D.each(N=>kf(e,N.dom))}})})},fm=(e,n,o)=>{ae([...o,...mm(e,n)?[n]:[]],r=>ae(La(le.fromDom(r),r.nodeName.toLowerCase()),c=>{Zv(e,c.dom)&&Jc(c)}))},Ey=(e,n)=>{const o=kf(e,n);cg(e,n,o),fm(e,n,o)},Ay=(e,n)=>{if(zy(e,n)){const o=Ty(e.getBlockElements());Hh(o,n)}},Wv=(e,n,o)=>{const r=u=>Ns(u,le.fromDom(n)),c=Zm(le.fromDom(o),r);to(c,c.length-2).filter(rc).fold(()=>Ey(e,n),u=>Ey(e,u.dom))},gp=e=>e.hasAttribute(ag),Oy=(e,n)=>Kn(e.getTransparentElements(),n),zy=(e,n)=>gn(n)&&Oy(e,n.nodeName),mm=(e,n)=>zy(e,n)&&gp(n),Zv=(e,n)=>zy(e,n)&&!gp(n),Ds=(e,n)=>n.type===1&&Oy(e,n.name)&&j(n.attr(ag)),oo=Ys().browser,gm=e=>Ie(e,rc),Dy=e=>oo.isFirefox()&&Xs(e)==="table"?gm(Ia(e)).filter(n=>Xs(n)==="caption").bind(n=>gm(Xc(n)).map(o=>{const r=o.dom.offsetTop,c=n.dom.offsetTop,u=n.dom.offsetHeight;return r<=c?-u:0})).getOr(0):0,Vh=(e,n)=>e.children&&X(e.children,n),yT=(e,n,o)=>{let r=0,c=0;const u=e.ownerDocument;if(o=o||e,n){if(o===e&&n.getBoundingClientRect&&H(le.fromDom(e),"position")==="static"){const b=n.getBoundingClientRect();return r=b.left+(u.documentElement.scrollLeft||e.scrollLeft)-u.documentElement.clientLeft,c=b.top+(u.documentElement.scrollTop||e.scrollTop)-u.documentElement.clientTop,{x:r,y:c}}let m=n;for(;m&&m!==o&&m.nodeType&&!Vh(m,o);){const b=m;r+=b.offsetLeft||0,c+=b.offsetTop||0,m=b.offsetParent}for(m=n.parentNode;m&&m!==o&&m.nodeType&&!Vh(m,o);)r-=m.scrollLeft||0,c-=m.scrollTop||0,m=m.parentNode;c+=Dy(le.fromDom(n))}return{x:r,y:c}},qv=(e,n={})=>{let o=0;const r={},c=le.fromDom(e),u=yi(c),m=K=>{n.referrerPolicy=K},b=K=>{n.contentCssCors=K},k=K=>{Vs(rp(c),K)},E=K=>{const ne=rp(c);Tc(ne,"#"+K).each(Es)},D=K=>Cs(r,K).getOrThunk(()=>({id:"mce-u"+o++,passed:[],failed:[],count:0})),N=K=>new Promise((ne,Te)=>{let ze;const Re=Et._addCacheSuffix(K),Ve=D(Re);r[Re]=Ve,Ve.count++;const St=(tt,Nt)=>{ae(tt,fn),Ve.status=Nt,Ve.passed=[],Ve.failed=[],ze&&(ze.onload=null,ze.onerror=null,ze=null)},Kt=()=>St(Ve.passed,2),rn=()=>St(Ve.failed,3);if(ne&&Ve.passed.push(ne),Te&&Ve.failed.push(Te),Ve.status===1)return;if(Ve.status===2){Kt();return}if(Ve.status===3){rn();return}Ve.status=1;const et=le.fromTag("link",u.dom);bi(et,{rel:"stylesheet",type:"text/css",id:Ve.id}),n.contentCssCors&&ir(et,"crossOrigin","anonymous"),n.referrerPolicy&&ir(et,"referrerpolicy",n.referrerPolicy),ze=et.dom,ze.onload=Kt,ze.onerror=rn,k(et),ir(et,"href",Re)}),I=K=>Promise.allSettled(ve(K,Te=>N(Te).then(st(Te)))).then(Te=>{const ze=Fe(Te,Re=>Re.status==="fulfilled");return ze.fail.length>0?Promise.reject(ve(ze.fail,Re=>Re.reason)):ve(ze.pass,Re=>Re.value)}),ee=K=>{const ne=Et._addCacheSuffix(K);Cs(r,ne).each(Te=>{--Te.count===0&&(delete r[ne],E(Te.id))})};return{load:N,loadAll:I,unload:ee,unloadAll:K=>{ae(K,ne=>{ee(ne)})},_setReferrerPolicy:m,_setContentCssCors:b}},Gv=(()=>{const e=new WeakMap;return{forElement:(o,r)=>{const u=$i(o).dom;return F.from(e.get(u)).getOrThunk(()=>{const m=qv(u,r);return e.set(u,m),m})}}})(),Ry=e=>e.nodeName.toLowerCase()==="span",Kv=(e,n)=>Pe(e)&&(Sd(e,n)||jc(le.fromDom(e))),kt=(e,n)=>{const o=new vr(e,n).prev(!1),r=new vr(e,n).next(!1),c=bn(o)||Kv(o,n),u=bn(r)||Kv(r,n);return c&&u},Ny=e=>Ry(e)&&e.getAttribute("data-mce-type")==="bookmark",vT=(e,n)=>Bt(e)&&e.data.length>0&&kt(e,n),My=e=>gn(e)?e.childNodes.length>0:!1,kT=e=>up(e)||_l(e),pm=(e,n,o)=>{var r;const c=o||n;if(gn(n)&&Ny(n))return n;const u=n.childNodes;for(let m=u.length-1;m>=0;m--)pm(e,u[m],c);if(gn(n)){const m=n.childNodes;m.length===1&&Ny(m[0])&&((r=n.parentNode)===null||r===void 0||r.insertBefore(m[0],n))}return!kT(n)&&!Sd(n,c)&&!My(n)&&!vT(n,c)&&e.remove(n),n},Yv=Et.makeMap,xd=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,By=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ig=/[<>&\"\']/g,Or=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,Td={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},wf={'"':""","'":"'","<":"<",">":">","&":"&","`":"`"},Tu={"<":"<",">":">","&":"&",""":'"',"'":"'"},Xv=e=>{const n=le.fromTag("div").dom;return n.innerHTML=e,n.textContent||n.innerText||e},Py=(e,n)=>{const o={};if(e){const r=e.split(",");n=n||10;for(let c=0;ce.replace(n?xd:By,o=>wf[o]||o),wT=e=>(""+e).replace(ig,n=>wf[n]||n),Jv=(e,n)=>e.replace(n?xd:By,o=>o.length>1?"&#"+((o.charCodeAt(0)-55296)*1024+(o.charCodeAt(1)-56320)+65536)+";":wf[o]||"&#"+o.charCodeAt(0)+";"),Qv=(e,n,o)=>{const r=o||_f;return e.replace(n?xd:By,c=>wf[c]||r[c]||c)},bm={encodeRaw:v_,encodeAllRaw:wT,encodeNumeric:Jv,encodeNamed:Qv,getEncodeFunc:(e,n)=>{const o=Py(n)||_f,r=(m,b)=>m.replace(b?xd:By,k=>wf[k]!==void 0?wf[k]:o[k]!==void 0?o[k]:k.length>1?"&#"+((k.charCodeAt(0)-55296)*1024+(k.charCodeAt(1)-56320)+65536)+";":"&#"+k.charCodeAt(0)+";"),c=(m,b)=>Qv(m,b,o),u=Yv(e.replace(/\+/g,","));return u.named&&u.numeric?r:u.named?n?c:Qv:u.numeric?Jv:v_},decode:e=>e.replace(Or,(n,o)=>o?(o.charAt(0).toLowerCase()==="x"?o=parseInt(o.substr(1),16):o=parseInt(o,10),o>65535?(o-=65536,String.fromCharCode(55296+(o>>10),56320+(o&1023))):Td[o]||String.fromCharCode(o)):Tu[n]||_f[n]||Xv(n))},lc=(e,n)=>(e=Et.trim(e),e?e.split(n||" "):[]),e0=e=>new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$"),Tn=e=>{const n=/^(~)?(.+)$/;return Dn(lc(e,","),o=>{const r=n.exec(o);if(r){const c=r[1]==="~",u=c?"span":"div",m=r[2];return[{inline:c,cloneName:u,name:m}]}else return[]})},t0=e=>{let n,o,r,c;if(n="id accesskey class dir lang style tabindex title role",o="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",r="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment",e!=="html4"){const u="a ins del canvas map";n+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",o+=" article aside details dialog figure main header footer hgroup section nav "+u,r+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"}return e!=="html5-strict"&&(n+=" xml:lang",r=[r,"acronym applet basefont big font strike tt"].join(" "),o=[o,"center dir isindex noframes"].join(" "),c=[o,r].join(" ")),c=c||[o,r].join(" "),{globalAttributes:n,blockContent:o,phrasingContent:r,flowContent:c}},_T=e=>{const{globalAttributes:n,phrasingContent:o,flowContent:r}=t0(e),c={},u=(b,k="",E="")=>{const D=lc(E),N=lc(b);let I=N.length;for(;I--;){const ee=lc([n,k].join(" "));c[N[I]]={attributes:qn(ee,st({})),attributesOrder:ee,children:qn(D,st({}))}}},m=(b,k)=>{const E=lc(b),D=lc(k);let N=E.length;for(;N--;){const I=c[E[N]];for(let ee=0,oe=D.length;ee{u(E,"",o)}),ae(lc("center dir isindex noframes"),E=>{u(E,"",r)})),u("html","manifest","head body"),u("head","","base command link meta noscript script style title"),u("title hr noscript br"),u("base","href target"),u("link","href rel media hreflang type sizes hreflang"),u("meta","name http-equiv content charset"),u("style","media type scoped"),u("script","src async defer type charset"),u("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",r),u("dd div","",r),u("address dt caption","",e==="html4"?o:r),u("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",o),u("blockquote","cite",r),u("ol","reversed start type","li"),u("ul","","li"),u("li","value",r),u("dl","","dt dd"),u("a","href target rel media hreflang type",e==="html4"?o:r),u("q","cite",o),u("ins del","cite datetime",r),u("img","src sizes srcset alt usemap ismap width height"),u("iframe","src name width height",r),u("embed","src type width height"),u("object","data type typemustmatch name usemap form width height",[r,"param"].join(" ")),u("param","name value"),u("map","name",[r,"area"].join(" ")),u("area","alt coords shape href target rel media hreflang type"),u("table","border","caption colgroup thead tfoot tbody tr"+(e==="html4"?" col":"")),u("colgroup","span","col"),u("col","span"),u("tbody thead tfoot","","tr"),u("tr","","td th"),u("td","colspan rowspan headers",r),u("th","colspan rowspan headers scope abbr",r),u("form","accept-charset action autocomplete enctype method name novalidate target",r),u("fieldset","disabled form name",[r,"legend"].join(" ")),u("label","form for",o),u("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),u("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value",e==="html4"?r:o),u("select","disabled form multiple name required size","option optgroup"),u("optgroup","disabled label","option"),u("option","disabled label selected value"),u("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),u("menu","type label",[r,"li"].join(" ")),u("noscript","",r),e!=="html4"&&(u("wbr"),u("ruby","",[o,"rt rp"].join(" ")),u("figcaption","",r),u("mark rt rp summary bdi","",o),u("canvas","width height",r),u("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[r,"track source"].join(" ")),u("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[r,"track source"].join(" ")),u("picture","","img source"),u("source","src srcset type media sizes"),u("track","kind src srclang label default"),u("datalist","",[o,"option"].join(" ")),u("article section nav aside main header footer","",r),u("hgroup","","h1 h2 h3 h4 h5 h6"),u("figure","",[r,"figcaption"].join(" ")),u("time","datetime",o),u("dialog","open",r),u("command","type label icon disabled checked radiogroup command"),u("output","for form name",o),u("progress","value max",o),u("meter","value min max low high optimum",o),u("details","open",[r,"summary"].join(" ")),u("keygen","autofocus challenge disabled form keytype name")),e!=="html5-strict"&&(m("script","language xml:space"),m("style","xml:space"),m("object","declare classid code codebase codetype archive standby align border hspace vspace"),m("embed","align name hspace vspace"),m("param","valuetype type"),m("a","charset name rev shape coords"),m("br","clear"),m("applet","codebase archive code object alt name width height align hspace vspace"),m("img","name longdesc align border hspace vspace"),m("iframe","longdesc frameborder marginwidth marginheight scrolling align"),m("font basefont","size color face"),m("input","usemap align"),m("select"),m("textarea"),m("h1 h2 h3 h4 h5 h6 div p legend caption","align"),m("ul","type compact"),m("li","type"),m("ol dl menu dir","compact"),m("pre","width xml:space"),m("hr","align noshade size width"),m("isindex","prompt"),m("table","summary width frame rules cellspacing cellpadding align bgcolor"),m("col","width align char charoff valign"),m("colgroup","width align char charoff valign"),m("thead","align char charoff valign"),m("tr","align char charoff valign bgcolor"),m("th","axis align char charoff valign nowrap bgcolor width height"),m("form","accept"),m("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),m("tfoot","align char charoff valign"),m("tbody","align char charoff valign"),m("area","nohref"),m("body","background bgcolor text link vlink alink")),e!=="html4"&&(m("input button select textarea","autofocus"),m("input textarea","placeholder"),m("a","download"),m("link script img","crossorigin"),m("img","loading"),m("iframe","sandbox seamless allow allowfullscreen loading")),e!=="html4"&&ae([c.video,c.audio],b=>{delete b.children.audio,delete b.children.video}),ae(lc("a form meter progress dfn"),b=>{c[b]&&delete c[b].children[b]}),delete c.caption.children.table,delete c.script,c},n0=e=>e==="-"?"remove":"add",k_=e=>{const n=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;return Dn(lc(e,","),o=>{const r=n.exec(o);if(r){const c=r[1],u=c?n0(c):"replace",m=r[2],b=lc(r[3],"|");return[{operation:u,name:m,validChildren:b}]}else return[]})},CT=(e,n)=>{const o=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,r=/[*?+]/,{attributes:c,attributesOrder:u}=n;return ae(lc(e,"|"),m=>{const b=o.exec(m);if(b){const k={},E=b[1],D=b[2].replace(/[\\:]:/g,":"),N=b[3],I=b[4];if(E==="!"&&(n.attributesRequired=n.attributesRequired||[],n.attributesRequired.push(D),k.required=!0),E==="-"){delete c[D],u.splice(Et.inArray(u,D),1);return}if(N&&(N==="="?(n.attributesDefault=n.attributesDefault||[],n.attributesDefault.push({name:D,value:I}),k.defaultValue=I):N==="~"?(n.attributesForced=n.attributesForced||[],n.attributesForced.push({name:D,value:I}),k.forcedValue=I):N==="<"&&(k.validValues=Et.makeMap(I,"?"))),r.test(D)){const ee=k;n.attributePatterns=n.attributePatterns||[],ee.pattern=e0(D),n.attributePatterns.push(ee)}else c[D]||u.push(D),c[D]=k}})},Cf=(e,n)=>{Tt(e.attributes,(o,r)=>{n.attributes[r]=o}),n.attributesOrder.push(...e.attributesOrder)},ym=(e,n)=>{const o=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;return Dn(lc(n,","),r=>{const c=o.exec(r);if(c){const u=c[1],m=c[2],b=c[3],k=c[4],E=c[5],D={attributes:{},attributesOrder:[]};if(e.each(N=>Cf(N,D)),u==="#"?D.paddEmpty=!0:u==="-"&&(D.removeEmpty=!0),k==="!"&&(D.removeEmptyAttrs=!0),E&&CT(E,D),b&&(D.outputName=m),m==="@")if(e.isNone())e=F.some(D);else return[];return[b?{name:m,element:D,aliasName:b}:{name:m,element:D}]}else return[]})},Sf={},Uh=Et.makeMap,xl=Et.each,Fy=Et.extend,w_=Et.explode,pp=(e,n={})=>{const o=Uh(e," ",Uh(e.toUpperCase()," "));return Fy(o,n)},Ul=e=>pp("td th li dt dd figcaption caption details summary",e.getTextBlockElements()),o0=(e,n)=>{if(e){const o={};return j(e)&&(e={"*":e}),xl(e,(r,c)=>{o[c]=o[c.toUpperCase()]=n==="map"?Uh(r,/[, ]/):w_(r,/[, ]/)}),o}else return},Ku=(e={})=>{var n;const o={},r={};let c=[];const u={},m={},b=(Mn,ss,ur)=>{const Nr=e[Mn];if(Nr)return Uh(Nr,/[, ]/,Uh(Nr.toUpperCase(),/[, ]/));{let gr=Sf[Mn];return gr||(gr=pp(ss,ur),Sf[Mn]=gr),gr}},k=(n=e.schema)!==null&&n!==void 0?n:"html5",E=_T(k);e.verify_html===!1&&(e.valid_elements="*[*]");const D=o0(e.valid_styles),N=o0(e.invalid_styles,"map"),I=o0(e.valid_classes,"map"),ee=b("whitespace_elements","pre script noscript style textarea video audio iframe object code"),oe=b("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),K=b("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),ne=b("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),Te="td th iframe video audio object script code",ze=b("non_empty_elements",Te+" pre",K),Re=b("move_caret_before_on_enter_elements",Te+" table",K),Ve=b("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),St=b("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",Ve),Kt=b("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp"),rn=b("transparent_elements","a ins del canvas map");xl("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),Mn=>{m[Mn]=new RegExp("]*>","gi")});const et=Mn=>{const ss=F.from(o["@"]),ur=/[*?+]/;ae(ym(ss,Mn??""),({name:Nr,element:gr,aliasName:Pc})=>{if(Pc&&(o[Pc]=gr),ur.test(Nr)){const fd=gr;fd.pattern=e0(Nr),c.push(fd)}else o[Nr]=gr})},tt=Mn=>{c=[],ae(Yo(o),ss=>{delete o[ss]}),et(Mn)},Nt=Mn=>{delete Sf.text_block_elements,delete Sf.block_elements,ae(Tn(Mn??""),({inline:ss,name:ur,cloneName:Nr})=>{if(r[ur]=r[Nr],u[ur]=Nr,ze[ur.toUpperCase()]={},ze[ur]={},ss||(St[ur.toUpperCase()]={},St[ur]={}),!o[ur]){let gr=o[Nr];gr=Fy({},gr),delete gr.removeEmptyAttrs,delete gr.removeEmpty,o[ur]=gr}Tt(r,(gr,Pc)=>{gr[Nr]&&(r[Pc]=gr=Fy({},r[Pc]),gr[ur]=gr[Nr])})})},jn=Mn=>{ae(k_(Mn??""),({operation:ss,name:ur,validChildren:Nr})=>{const gr=ss==="replace"?{"#comment":{}}:r[ur];ae(Nr,Pc=>{ss==="remove"?delete gr[Pc]:gr[Pc]={}}),r[ur]=gr})},ro=Mn=>{const ss=o[Mn];if(ss)return ss;let ur=c.length;for(;ur--;){const Nr=c[ur];if(Nr.pattern.test(Mn))return Nr}};e.valid_elements?(tt(e.valid_elements),xl(E,(Mn,ss)=>{r[ss]=Mn.children})):(xl(E,(Mn,ss)=>{o[ss]={attributes:Mn.attributes,attributesOrder:Mn.attributesOrder},r[ss]=Mn.children}),xl(lc("strong/b em/i"),Mn=>{const ss=lc(Mn,"/");o[ss[1]].outputName=ss[0]}),xl(Kt,(Mn,ss)=>{o[ss]&&(e.padd_empty_block_inline_children&&(o[ss].paddInEmptyBlock=!0),o[ss].removeEmpty=!0)}),xl(lc("ol ul blockquote a table tbody"),Mn=>{o[Mn]&&(o[Mn].removeEmpty=!0)}),xl(lc("p h1 h2 h3 h4 h5 h6 th td pre div address caption li summary"),Mn=>{o[Mn]&&(o[Mn].paddEmpty=!0)}),xl(lc("span"),Mn=>{o[Mn].removeEmptyAttrs=!0})),Nt(e.custom_elements),jn(e.valid_children),et(e.extended_valid_elements),jn("+ol[ul|ol],+ul[ul|ol]"),xl({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},(Mn,ss)=>{o[ss]&&(o[ss].parentsRequired=lc(Mn))}),e.invalid_elements&&xl(w_(e.invalid_elements),Mn=>{o[Mn]&&delete o[Mn]}),ro("span")||et("span[!data-mce-type|*]");const Uo=st(D),ls=st(N),tr=st(I),Ss=st(ne),ca=st(St),fi=st(Ve),hc=st(Kt),Lt=st(Object.seal(K)),Hn=st(oe),Bs=st(ze),Os=st(Re),Vn=st(ee),Wn=st(rn),Vt=st(Object.seal(m)),So=(Mn,ss)=>{const ur=r[Mn.toLowerCase()];return!!(ur&&ur[ss.toLowerCase()])},ms=(Mn,ss)=>{const ur=ro(Mn);if(ur)if(ss){if(ur.attributes[ss])return!0;const Nr=ur.attributePatterns;if(Nr){let gr=Nr.length;for(;gr--;)if(Nr[gr].pattern.test(ss))return!0}}else return!0;return!1},nr=st(u);return{type:k,children:r,elements:o,getValidStyles:Uo,getValidClasses:tr,getBlockElements:ca,getInvalidStyles:ls,getVoidElements:Lt,getTextBlockElements:fi,getTextInlineElements:hc,getBoolAttrs:Ss,getElementRule:ro,getSelfClosingElements:Hn,getNonEmptyElements:Bs,getMoveCaretBeforeOnEnterElements:Os,getWhitespaceElements:Vn,getTransparentElements:Wn,getSpecialElements:Vt,isValidChild:So,isValid:ms,getCustomElements:nr,addValidElements:et,setValidElements:tt,addCustomElements:Nt,addValidChildren:jn}},$y=(e={},n)=>{const o=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,r=/\s*([^:]+):\s*([^;]+);?/g,c=/\s+$/,u={};let m,b;const k=vt;n&&(m=n.getValidStyles(),b=n.getInvalidStyles());const E=(`\\" \\' \\; \\: ; : `+k).split(" ");for(let N=0;N{const I={};let ee=!1;const oe=e.url_converter,K=e.url_converter_scope||D,ne=(et,tt,Nt)=>{const jn=I[et+"-top"+tt];if(!jn)return;const ro=I[et+"-right"+tt];if(!ro)return;const Uo=I[et+"-bottom"+tt];if(!Uo)return;const ls=I[et+"-left"+tt];if(!ls)return;const tr=[jn,ro,Uo,ls];let Ss=tr.length-1;for(;Ss--&&tr[Ss]===tr[Ss+1];);Ss>-1&&Nt||(I[et+tt]=Ss===-1?tr[0]:tr.join(" "),delete I[et+"-top"+tt],delete I[et+"-right"+tt],delete I[et+"-bottom"+tt],delete I[et+"-left"+tt])},Te=et=>{const tt=I[et];if(!tt)return;const Nt=tt.indexOf(",")>-1?[tt]:tt.split(" ");let jn=Nt.length;for(;jn--;)if(Nt[jn]!==Nt[0])return!1;return I[et]=Nt[0],!0},ze=(et,tt,Nt,jn)=>{Te(tt)&&Te(Nt)&&Te(jn)&&(I[et]=I[tt]+" "+I[Nt]+" "+I[jn],delete I[tt],delete I[Nt],delete I[jn])},Re=et=>(ee=!0,u[et]),Ve=(et,tt)=>(ee&&(et=et.replace(/\uFEFF[0-9]/g,Nt=>u[Nt])),tt||(et=et.replace(/\\([\'\";:])/g,"$1")),et),St=et=>String.fromCharCode(parseInt(et.slice(1),16)),Kt=et=>et.replace(/\\[0-9a-f]+/gi,St),rn=(et,tt,Nt,jn,ro,Uo)=>{if(ro=ro||Uo,ro)return ro=Ve(ro),"'"+ro.replace(/\'/g,"\\'")+"'";if(tt=Ve(tt||Nt||jn||""),!e.allow_script_urls){const ls=tt.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(ls)||!e.allow_svg_data_urls&&/^data:image\/svg/i.test(ls))return""}return oe&&(tt=oe.call(K,tt,"style")),"url('"+tt.replace(/\'/g,"\\'")+"')"};if(N){N=N.replace(/[\u0000-\u001F]/g,""),N=N.replace(/\\[\"\';:\uFEFF]/g,Re).replace(/\"[^\"]+\"|\'[^\']+\'/g,tt=>tt.replace(/[;:]/g,Re));let et;for(;et=r.exec(N);){r.lastIndex=et.index+et[0].length;let tt=et[1].replace(c,"").toLowerCase(),Nt=et[2].replace(c,"");if(tt&&Nt){if(tt=Kt(tt),Nt=Kt(Nt),tt.indexOf(k)!==-1||tt.indexOf('"')!==-1||!e.allow_script_urls&&(tt==="behavior"||/expression\s*\(|\/\*|\*\//.test(Nt)))continue;tt==="font-weight"&&Nt==="700"?Nt="bold":(tt==="color"||tt==="background-color")&&(Nt=Nt.toLowerCase()),Nt=Nt.replace(o,rn),I[tt]=ee?Ve(Nt,!0):Nt}}ne("border","",!0),ne("border","-width"),ne("border","-color"),ne("border","-style"),ne("padding",""),ne("margin",""),ze("border","border-width","border-style","border-color"),I.border==="medium none"&&delete I.border,I["border-image"]==="none"&&delete I["border-image"]}return I},serialize:(N,I)=>{let ee="";const oe=(ne,Te)=>{const ze=Te[ne];if(ze)for(let Re=0,Ve=ze.length;Re0?" ":"")+St+": "+Kt+";")}},K=(ne,Te)=>{if(!b||!Te)return!0;let ze=b["*"];return ze&&ze[ne]?!1:(ze=b[Te],!(ze&&ze[ne]))};return I&&m?(oe("*",m),oe(I,m)):Tt(N,(ne,Te)=>{ne&&K(Te,I)&&(ee+=(ee.length>0?" ":"")+Te+": "+ne+";")}),ee}};return D},ST={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},__=e=>e instanceof Event||ie(e.initEvent),vm=e=>e.isDefaultPrevented===lt||e.isDefaultPrevented===De,Eu=e=>Zt(e.preventDefault)||__(e),Wi=(e,n)=>{const o=n??{};for(const r in e)Kn(ST,r)||(o[r]=e[r]);return Pe(e.composedPath)&&(o.composedPath=()=>e.composedPath()),Pe(e.getModifierState)&&(o.getModifierState=r=>e.getModifierState(r)),o},Iy=(e,n,o,r)=>{var c;const u=Wi(n,r);return u.type=e,Zt(u.target)&&(u.target=(c=u.srcElement)!==null&&c!==void 0?c:o),Eu(n)&&(u.preventDefault=()=>{u.defaultPrevented=!0,u.isDefaultPrevented=lt,ie(n.preventDefault)&&n.preventDefault()},u.stopPropagation=()=>{u.cancelBubble=!0,u.isPropagationStopped=lt,ie(n.stopPropagation)&&n.stopPropagation()},u.stopImmediatePropagation=()=>{u.isImmediatePropagationStopped=lt,u.stopPropagation()},vm(u)||(u.isDefaultPrevented=u.defaultPrevented===!0?lt:De,u.isPropagationStopped=u.cancelBubble===!0?lt:De,u.isImmediatePropagationStopped=De)),u},xT="mce-data-",TT=/^(?:mouse|contextmenu)|click/,Ly=(e,n,o,r)=>{e.addEventListener(n,o,r||!1)},sl=(e,n,o,r)=>{e.removeEventListener(n,o,r||!1)},Hy=e=>Pe(e)&&TT.test(e.type),hp=(e,n)=>{const o=Iy(e.type,e,document,n);if(Hy(e)&&bn(e.pageX)&&!bn(e.clientX)){const r=o.target.ownerDocument||document,c=r.documentElement,u=r.body,m=o;m.pageX=e.clientX+(c&&c.scrollLeft||u&&u.scrollLeft||0)-(c&&c.clientLeft||u&&u.clientLeft||0),m.pageY=e.clientY+(c&&c.scrollTop||u&&u.scrollTop||0)-(c&&c.clientTop||u&&u.clientTop||0)}return o},C_=(e,n,o)=>{const r=e.document,c={type:"ready"};if(o.domLoaded){n(c);return}const u=()=>r.readyState==="complete"||r.readyState==="interactive"&&r.body,m=()=>{sl(e,"DOMContentLoaded",m),sl(e,"load",m),o.domLoaded||(o.domLoaded=!0,n(c)),e=null};u()?m():Ly(e,"DOMContentLoaded",m),o.domLoaded||Ly(e,"load",m)};class Ed{constructor(){this.domLoaded=!1,this.events={},this.count=1,this.expando=xT+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(n,o,r,c){const u=this;let m;const b=window,k=I=>{u.executeHandlers(hp(I||b.event),E)};if(!n||Bt(n)||ju(n))return r;let E;n[u.expando]?E=n[u.expando]:(E=u.count++,n[u.expando]=E,u.events[E]={}),c=c||n;const D=o.split(" ");let N=D.length;for(;N--;){let I=D[N],ee=k,oe=!1,K=!1;if(I==="DOMContentLoaded"&&(I="ready"),u.domLoaded&&I==="ready"&&n.readyState==="complete"){r.call(c,hp({type:I}));continue}!u.hasFocusIn&&(I==="focusin"||I==="focusout")&&(oe=!0,K=I==="focusin"?"focus":"blur",ee=ne=>{const Te=hp(ne||b.event);Te.type=Te.type==="focus"?"focusin":"focusout",u.executeHandlers(Te,E)}),m=u.events[E][I],m?I==="ready"&&u.domLoaded?r(hp({type:I})):m.push({func:r,scope:c}):(u.events[E][I]=m=[{func:r,scope:c}],m.fakeName=K,m.capture=oe,m.nativeHandler=ee,I==="ready"?C_(n,ee,u):Ly(n,K||I,ee,oe))}return n=m=null,r}unbind(n,o,r){if(!n||Bt(n)||ju(n))return this;const c=n[this.expando];if(c){let u=this.events[c];if(o){const m=o.split(" ");let b=m.length;for(;b--;){const k=m[b],E=u[k];if(E){if(r){let D=E.length;for(;D--;)if(E[D].func===r){const N=E.nativeHandler,I=E.fakeName,ee=E.capture,oe=E.slice(0,D).concat(E.slice(D+1));oe.nativeHandler=N,oe.fakeName=I,oe.capture=ee,u[k]=oe}}(!r||E.length===0)&&(delete u[k],sl(n,E.fakeName||k,E.nativeHandler,E.capture))}}}else Tt(u,(m,b)=>{sl(n,m.fakeName||b,m.nativeHandler,m.capture)}),u={};for(const m in u)if(Kn(u,m))return this;delete this.events[c];try{delete n[this.expando]}catch{n[this.expando]=null}}return this}fire(n,o,r){return this.dispatch(n,o,r)}dispatch(n,o,r){if(!n||Bt(n)||ju(n))return this;const c=hp({type:o,target:n},r);do{const u=n[this.expando];u&&this.executeHandlers(c,u),n=n.parentNode||n.ownerDocument||n.defaultView||n.parentWindow}while(n&&!c.isPropagationStopped());return this}clean(n){if(!n||Bt(n)||ju(n))return this;if(n[this.expando]&&this.unbind(n),n.getElementsByTagName||(n=n.document),n&&n.getElementsByTagName){this.unbind(n);const o=n.getElementsByTagName("*");let r=o.length;for(;r--;)n=o[r],n[this.expando]&&this.unbind(n)}return this}destroy(){this.events={}}cancel(n){return n&&(n.preventDefault(),n.stopImmediatePropagation()),!1}executeHandlers(n,o){const r=this.events[o],c=r&&r[n.type];if(c)for(let u=0,m=c.length;u{Zt(o)||o===""?Yr(e,n):ir(e,n,o)},jh=e=>e.replace(/[A-Z]/g,n=>"-"+n.toLowerCase()),bp=(e,n)=>{let o=0;if(e)for(let r=e.nodeType,c=e.previousSibling;c;c=c.previousSibling){const u=c.nodeType;n&&Bt(c)&&(u===r||!c.data.length)||(o++,r=u)}return o},a0=(e,n)=>{const o=Fa(n,"style"),r=e.serialize(e.parse(o),Xs(n));km(n,lg,r)},c0=(e,n)=>Ro(e)?Kn(r0,n)?e+"":e+"px":e,x_=(e,n,o)=>{const r=jh(n);Zt(o)||o===""?co(e,r):x(e,r,c0(o,r))},ET=(e,n,o)=>{const r=n.keep_values,c={set:(m,b,k)=>{const E=le.fromDom(m);ie(n.url_converter)&&Pe(b)&&(b=n.url_converter.call(n.url_converter_scope||o(),String(b),k,m));const D="data-mce-"+k;km(E,D,b),km(E,k,b)},get:(m,b)=>{const k=le.fromDom(m);return Fa(k,"data-mce-"+b)||Fa(k,b)}},u={style:{set:(m,b)=>{const k=le.fromDom(m);r&&km(k,lg,b),Yr(k,"style"),j(b)&&R(k,e.parse(b))},get:m=>{const b=le.fromDom(m),k=Fa(b,lg)||Fa(b,"style");return e.serialize(e.parse(k),Xs(b))}}};return r&&(u.href=u.src=c),u},qs=(e,n={})=>{const o={},r=window,c={};let u=0;const m=!0,b=!0,k=Gv.forElement(le.fromDom(e),{contentCssCors:n.contentCssCors,referrerPolicy:n.referrerPolicy}),E=[],D=n.schema?n.schema:Ku({}),N=$y({url_converter:n.url_converter,url_converter_scope:n.url_converter_scope},n.schema),I=n.ownEvents?new Ed:Ed.Event,ee=D.getBlockElements(),oe=je=>j(je)?Kn(ee,je):gn(je)&&(Kn(ee,je.nodeName)||mm(D,je)),K=je=>je&&e&&j(je)?e.getElementById(je):je,ne=je=>{const Ze=K(je);return Pe(Ze)?le.fromDom(Ze):null},Te=(je,Ze,Ht="")=>{let Ft;const ao=ne(je);if(Pe(ao)&&rc(ao)){const zs=gy[Ze];zs&&zs.get?Ft=zs.get(ao.dom,Ze):Ft=Fa(ao,Ze)}return Pe(Ft)?Ft:Ht},ze=je=>{const Ze=K(je);return Zt(Ze)?[]:Ze.attributes},Re=(je,Ze,Ht)=>{Hn(je,Ft=>{if(gn(Ft)){const ao=le.fromDom(Ft),zs=Ht===""?null:Ht,Hr=Fa(ao,Ze),Fc=gy[Ze];Fc&&Fc.set?Fc.set(ao.dom,zs,Ze):km(ao,Ze,zs),Hr!==zs&&n.onSetAttrib&&n.onSetAttrib({attrElm:ao.dom,attrName:Ze,attrValue:zs})}})},Ve=(je,Ze)=>je.cloneNode(Ze),St=()=>n.root_element||e.body,Kt=je=>{const Ze=Dh(je);return{x:Ze.x,y:Ze.y,w:Ze.width,h:Ze.height}},rn=(je,Ze)=>yT(e.body,K(je),Ze),et=(je,Ze,Ht)=>{Hn(je,Ft=>{const ao=le.fromDom(Ft);x_(ao,Ze,Ht),n.update_styles&&a0(N,ao)})},tt=(je,Ze)=>{Hn(je,Ht=>{const Ft=le.fromDom(Ht);Tt(Ze,(ao,zs)=>{x_(Ft,zs,ao)}),n.update_styles&&a0(N,Ft)})},Nt=(je,Ze,Ht)=>{const Ft=K(je);if(!(Zt(Ft)||!gn(Ft)))return Ht?H(le.fromDom(Ft),jh(Ze)):(Ze=Ze.replace(/-(\D)/g,(ao,zs)=>zs.toUpperCase()),Ze==="float"&&(Ze="cssFloat"),Ft.style?Ft.style[Ze]:void 0)},jn=je=>{const Ze=K(je);if(!Ze)return{w:0,h:0};let Ht=Nt(Ze,"width"),Ft=Nt(Ze,"height");return(!Ht||Ht.indexOf("px")===-1)&&(Ht="0"),(!Ft||Ft.indexOf("px")===-1)&&(Ft="0"),{w:parseInt(Ht,10)||Ze.offsetWidth||Ze.clientWidth,h:parseInt(Ft,10)||Ze.offsetHeight||Ze.clientHeight}},ro=je=>{const Ze=K(je),Ht=rn(Ze),Ft=jn(Ze);return{x:Ht.x,y:Ht.y,w:Ft.w,h:Ft.h}},Uo=(je,Ze)=>{if(!je)return!1;const Ht=gt(je)?je:[je];return be(Ht,Ft=>Fi(le.fromDom(Ft),Ze))},ls=(je,Ze,Ht,Ft)=>{const ao=[];let zs=K(je);Ft=Ft===void 0;const Hr=Ht||(St().nodeName!=="BODY"?St().parentNode:null);if(j(Ze))if(Ze==="*")Ze=gn;else{const Fc=Ze;Ze=$c=>Uo($c,Fc)}for(;zs&&!(zs===Hr||Zt(zs.nodeType)||_l(zs)||up(zs));){if(!Ze||Ze(zs))if(Ft)ao.push(zs);else return[zs];zs=zs.parentNode}return Ft?ao:null},tr=(je,Ze,Ht)=>{const Ft=ls(je,Ze,Ht,!1);return Ft&&Ft.length>0?Ft[0]:null},Ss=(je,Ze,Ht)=>{let Ft=Ze;if(je){j(Ze)&&(Ft=ao=>Uo(ao,Ze));for(let ao=je[Ht];ao;ao=ao[Ht])if(ie(Ft)&&Ft(ao))return ao}return null},ca=(je,Ze)=>Ss(je,Ze,"nextSibling"),fi=(je,Ze)=>Ss(je,Ze,"previousSibling"),hc=je=>ie(je.querySelectorAll),Lt=(je,Ze)=>{var Ht,Ft;const ao=(Ft=(Ht=K(Ze))!==null&&Ht!==void 0?Ht:n.root_element)!==null&&Ft!==void 0?Ft:e;return hc(ao)?as(ao.querySelectorAll(je)):[]},Hn=function(je,Ze,Ht){const Ft=Ht??this;if(gt(je)){const ao=[];return s0(je,(zs,Hr)=>{const Fc=K(zs);Fc&&ao.push(Ze.call(Ft,Fc,Hr))}),ao}else{const ao=K(je);return ao?Ze.call(Ft,ao):!1}},Bs=(je,Ze)=>{Hn(je,Ht=>{Tt(Ze,(Ft,ao)=>{Re(Ht,ao,Ft)})})},Os=(je,Ze)=>{Hn(je,Ht=>{const Ft=le.fromDom(Ht);uf(Ft,Ze)})},Vn=(je,Ze,Ht,Ft,ao)=>Hn(je,zs=>{const Hr=j(Ze)?e.createElement(Ze):Ze;return Pe(Ht)&&Bs(Hr,Ht),Ft&&(!j(Ft)&&Ft.nodeType?Hr.appendChild(Ft):j(Ft)&&Os(Hr,Ft)),ao?Hr:zs.appendChild(Hr)}),Wn=(je,Ze,Ht)=>Vn(e.createElement(je),je,Ze,Ht,!0),Vt=bm.decode,So=bm.encodeAllRaw,ms=(je,Ze,Ht="")=>{let Ft="<"+je;for(const ao in Ze)ar(Ze,ao)&&(Ft+=" "+ao+'="'+So(Ze[ao])+'"');return os(Ht)&&Kn(D.getVoidElements(),je)?Ft+" />":Ft+">"+Ht+""},nr=je=>{const Ze=e.createElement("div"),Ht=e.createDocumentFragment();Ht.appendChild(Ze),je&&(Ze.innerHTML=je);let Ft;for(;Ft=Ze.firstChild;)Ht.appendChild(Ft);return Ht.removeChild(Ze),Ht},Mn=(je,Ze)=>Hn(je,Ht=>{const Ft=le.fromDom(Ht);return Ze&&ae(Ia(Ft),ao=>{Ya(ao)&&ao.dom.length===0?Es(ao):Xn(Ft,ao)}),Es(Ft),Ft.dom}),ss=je=>Hn(je,Ze=>{const Ht=Ze.attributes;for(let Ft=Ht.length-1;Ft>=0;Ft--)Ze.removeAttributeNode(Ht.item(Ft))}),ur=je=>N.parse(je),Nr=(je,Ze)=>N.serialize(je,Ze),gr=je=>{if(Jd!==qs.DOM&&e===document){if(o[je])return;o[je]=!0}let Ze=e.getElementById("mceDefaultStyles");if(!Ze){Ze=e.createElement("style"),Ze.id="mceDefaultStyles",Ze.type="text/css";const Ht=e.head;Ht.firstChild?Ht.insertBefore(Ze,Ht.firstChild):Ht.appendChild(Ze)}Ze.styleSheet?Ze.styleSheet.cssText+=je:Ze.appendChild(e.createTextNode(je))},Pc=je=>{je||(je=""),ae(je.split(","),Ze=>{c[Ze]=!0,k.load(Ze).catch(Oe)})},fd=(je,Ze,Ht)=>{Hn(je,Ft=>{if(gn(Ft)){const ao=le.fromDom(Ft),zs=Ze.split(" ");ae(zs,Hr=>{Pe(Ht)?(Ht?Lu:Ll)(ao,Hr):Um(ao,Hr)})}})},iu=(je,Ze)=>{fd(je,Ze,!0)},Yd=(je,Ze)=>{fd(je,Ze,!1)},Jf=(je,Ze)=>{const Ht=ne(je),Ft=Ze.split(" ");return Pe(Ht)&&Rn(Ft,ao=>Hl(Ht,ao))},Kg=je=>{Hn(je,Ze=>co(le.fromDom(Ze),"display"))},kh=je=>{Hn(je,Ze=>x(le.fromDom(Ze),"display","none"))},Yg=je=>{const Ze=ne(je);return Pe(Ze)&&Ws(me(Ze,"display"),"none")},a_=je=>(je||"mce_")+u++,iT=je=>{const Ze=ne(je);return Pe(Ze)?gn(Ze.dom)?Ze.dom.outerHTML:xh(Ze):""},c_=(je,Ze)=>{Hn(je,Ht=>{gn(Ht)&&(Ht.outerHTML=Ze)})},i_=(je,Ze)=>{const Ht=K(Ze);return Hn(je,Ft=>{const ao=Ht==null?void 0:Ht.parentNode,zs=Ht==null?void 0:Ht.nextSibling;return ao&&(zs?ao.insertBefore(Ft,zs):ao.appendChild(Ft)),Ft})},l_=(je,Ze,Ht)=>Hn(Ze,Ft=>{var ao;const zs=gt(Ze)?je.cloneNode(!0):je;return Ht&&s0(S_(Ft.childNodes),Hr=>{zs.appendChild(Hr)}),(ao=Ft.parentNode)===null||ao===void 0||ao.replaceChild(zs,Ft),Ft}),u_=(je,Ze)=>{if(je.nodeName!==Ze.toUpperCase()){const Ht=Wn(Ze);return s0(ze(je),Ft=>{Re(Ht,Ft.nodeName,Te(je,Ft.nodeName))}),l_(Ht,je,!0),Ht}else return je},d_=(je,Ze)=>{let Ht=je;for(;Ht;){let Ft=Ze;for(;Ft&&Ht!==Ft;)Ft=Ft.parentNode;if(Ht===Ft)break;Ht=Ht.parentNode}return!Ht&&je.ownerDocument?je.ownerDocument.documentElement:Ht},Xd=je=>{if(gn(je)){const Ze=je.nodeName.toLowerCase()==="a"&&!Te(je,"href")&&Te(je,"id");if(Te(je,"name")||Te(je,"data-mce-bookmark")||Ze)return!0}return!1},my=(je,Ze,Ht)=>{let Ft=0;if(Xd(je))return!1;const ao=je.firstChild;if(ao){const zs=new vr(ao,je),Hr=D?D.getWhitespaceElements():{},Fc=Ze||(D?D.getNonEmptyElements():null);let $c=ao;do{if(gn($c)){const p_=$c.getAttribute("data-mce-bogus");if(p_){$c=zs.next(p_==="all");continue}const $v=$c.nodeName.toLowerCase();if(Fc&&Fc[$v]){if($v==="br"){Ft++,$c=zs.next();continue}return!1}if(Xd($c))return!1}if(ju($c)||Bt($c)&&!lm($c.data)&&(!(Ht!=null&&Ht.includeZwsp)||!mp($c.data))||Bt($c)&&$c.parentNode&&Hr[$c.parentNode.nodeName]&&lm($c.data))return!1;$c=zs.next()}while($c)}return Ft<=1},wh=()=>e.createRange(),Xg=(je,Ze,Ht)=>{let Ft=wh(),ao,zs;if(je&&Ze&&je.parentNode&&Ze.parentNode){const Hr=je.parentNode;return Ft.setStart(Hr,bp(je)),Ft.setEnd(Ze.parentNode,bp(Ze)),ao=Ft.extractContents(),Ft=wh(),Ft.setStart(Ze.parentNode,bp(Ze)+1),Ft.setEnd(Hr,bp(je)+1),zs=Ft.extractContents(),Hr.insertBefore(pm(Jd,ao),je),Ht?Hr.insertBefore(Ht,je):Hr.insertBefore(Ze,je),Hr.insertBefore(pm(Jd,zs),je),Mn(je),Ht||Ze}else return},f_=(je,Ze,Ht,Ft)=>{if(gt(je)){let ao=je.length;const zs=[];for(;ao--;)zs[ao]=f_(je[ao],Ze,Ht,Ft);return zs}else return n.collect&&(je===e||je===r)&&E.push([je,Ze,Ht,Ft]),I.bind(je,Ze,Ht,Ft||Jd)},m_=(je,Ze,Ht)=>{if(gt(je)){let Ft=je.length;const ao=[];for(;Ft--;)ao[Ft]=m_(je[Ft],Ze,Ht);return ao}else{if(E.length>0&&(je===e||je===r)){let Ft=E.length;for(;Ft--;){const[ao,zs,Hr]=E[Ft];je===ao&&(!Ze||Ze===zs)&&(!Ht||Ht===Hr)&&I.unbind(ao,zs,Hr)}}return I.unbind(je,Ze,Ht)}},Qf=(je,Ze,Ht)=>I.dispatch(je,Ze,Ht),Jg=(je,Ze,Ht)=>I.dispatch(je,Ze,Ht),g_=je=>{if(je&&gn(je)){const Ze=je.getAttribute("data-mce-contenteditable");return Ze&&Ze!=="inherit"?Ze:je.contentEditable!=="inherit"?je.contentEditable:null}else return null},Jd={doc:e,settings:n,win:r,files:c,stdMode:m,boxModel:b,styleSheetLoader:k,boundEvents:E,styles:N,schema:D,events:I,isBlock:oe,root:null,clone:Ve,getRoot:St,getViewPort:Kt,getRect:ro,getSize:jn,getParent:tr,getParents:ls,get:K,getNext:ca,getPrev:fi,select:Lt,is:Uo,add:Vn,create:Wn,createHTML:ms,createFragment:nr,remove:Mn,setStyle:et,getStyle:Nt,setStyles:tt,removeAllAttribs:ss,setAttrib:Re,setAttribs:Bs,getAttrib:Te,getPos:rn,parseStyle:ur,serializeStyle:Nr,addStyle:gr,loadCSS:Pc,addClass:iu,removeClass:Yd,hasClass:Jf,toggleClass:fd,show:Kg,hide:kh,isHidden:Yg,uniqueId:a_,setHTML:Os,getOuterHTML:iT,setOuterHTML:c_,decode:Vt,encode:So,insertAfter:i_,replace:l_,rename:u_,findCommonAncestor:d_,run:Hn,getAttribs:ze,isEmpty:my,createRng:wh,nodeIndex:bp,split:Xg,bind:f_,unbind:m_,fire:Jg,dispatch:Qf,getContentEditable:g_,getContentEditableParent:je=>{const Ze=St();let Ht=null;for(let Ft=je;Ft&&Ft!==Ze&&(Ht=g_(Ft),Ht===null);Ft=Ft.parentNode);return Ht},isEditable:je=>{if(Pe(je)){const Ze=gn(je)?je:je.parentElement;return Pe(Ze)&&Fo(le.fromDom(Ze))}else return!1},destroy:()=>{if(E.length>0){let je=E.length;for(;je--;){const[Ze,Ht,Ft]=E[je];I.unbind(Ze,Ht,Ft)}}Tt(c,(je,Ze)=>{k.unload(Ze),delete c[Ze]})},isChildOf:(je,Ze)=>je===Ze||Ze.contains(je),dumpRng:je=>"startContainer: "+je.startContainer.nodeName+", startOffset: "+je.startOffset+", endContainer: "+je.endContainer.nodeName+", endOffset: "+je.endOffset},gy=ET(N,n,st(Jd));return Jd};qs.DOM=qs(document),qs.nodeIndex=bp;const i0=qs.DOM,T_=0,E_=1,Wh=2,AT=3;class Ad{constructor(n={}){this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=!1,this.settings=n}_setReferrerPolicy(n){this.settings.referrerPolicy=n}loadScript(n){return new Promise((o,r)=>{const c=i0;let u;const m=()=>{c.remove(E),u&&(u.onerror=u.onload=u=null)},b=()=>{m(),o()},k=()=>{m(),r("Failed to load script: "+n)},E=c.uniqueId();u=document.createElement("script"),u.id=E,u.type="text/javascript",u.src=Et._addCacheSuffix(n),this.settings.referrerPolicy&&c.setAttrib(u,"referrerpolicy",this.settings.referrerPolicy),u.onload=b,u.onerror=k,(document.getElementsByTagName("head")[0]||document.body).appendChild(u)})}isDone(n){return this.states[n]===Wh}markDone(n){this.states[n]=Wh}add(n){const o=this;return o.queue.push(n),o.states[n]===void 0&&(o.states[n]=T_),new Promise((c,u)=>{o.scriptLoadedCallbacks[n]||(o.scriptLoadedCallbacks[n]=[]),o.scriptLoadedCallbacks[n].push({resolve:c,reject:u})})}load(n){return this.add(n)}remove(n){delete this.states[n],delete this.scriptLoadedCallbacks[n]}loadQueue(){const n=this.queue;return this.queue=[],this.loadScripts(n)}loadScripts(n){const o=this,r=(k,E)=>{Cs(o.scriptLoadedCallbacks,E).each(D=>{ae(D,N=>N[k](E))}),delete o.scriptLoadedCallbacks[E]},c=k=>{const E=qe(k,D=>D.status==="rejected");return E.length>0?Promise.reject(Dn(E,({reason:D})=>gt(D)?D:[D])):Promise.resolve()},u=k=>Promise.allSettled(ve(k,E=>o.states[E]===Wh?(r("resolve",E),Promise.resolve()):o.states[E]===AT?(r("reject",E),Promise.reject(E)):(o.states[E]=E_,o.loadScript(E).then(()=>{o.states[E]=Wh,r("resolve",E);const D=o.queue;return D.length>0?(o.queue=[],u(D).then(c)):Promise.resolve()},()=>(o.states[E]=AT,r("reject",E),Promise.reject(E)))))),m=k=>(o.loading=!0,u(k).then(E=>{o.loading=!1;const D=o.queueLoadedCallbacks.shift();return F.from(D).each(fn),c(E)})),b=Ge(n);return o.loading?new Promise((k,E)=>{o.queueLoadedCallbacks.push(()=>{m(b).then(k,E)})}):m(b)}}Ad.ScriptLoader=new Ad;const Ma=e=>{let n=e;return{get:()=>n,set:c=>{n=c}}},Zh=(e,n)=>{const o=e.indexOf(n);return o!==-1&&e.indexOf(n,o+1)>o},yp=e=>dt(e)&&Kn(e,"raw"),A_=e=>gt(e)&&e.length>1,qh={},l0=Ma("en"),ga=()=>Cs(qh,l0.get()),jl={getData:()=>Lo(qh,e=>({...e})),setCode:e=>{e&&l0.set(e)},getCode:()=>l0.get(),add:(e,n)=>{let o=qh[e];o||(qh[e]=o={});const r=ve(Yo(n),c=>c.toLowerCase());Tt(n,(c,u)=>{const m=u.toLowerCase();m!==u&&Zh(r,m)?(Kn(n,m)||(o[m]=c),o[u]=c):o[m]=c})},translate:e=>{const n=ga().getOr({}),o=m=>ie(m)?Object.prototype.toString.call(m):r(m)?"":""+m,r=m=>m===""||m===null||m===void 0,c=m=>{const b=o(m);return Kn(n,b)?o(n[b]):Cs(n,b.toLowerCase()).map(o).getOr(b)},u=m=>m.replace(/{context:\w+}$/,"");if(r(e))return"";if(yp(e))return o(e.raw);if(A_(e)){const m=e.slice(1),b=c(e[0]).replace(/\{([0-9]+)\}/g,(k,E)=>Kn(m,E)?o(m[E]):k);return u(b)}return u(c(e))},isRtl:()=>ga().bind(e=>Cs(e,"_dir")).exists(e=>e==="rtl"),hasCode:e=>Kn(qh,e)},pa=()=>{const e=[],n={},o={},r=[],c=(K,ne)=>{const Te=qe(r,ze=>ze.name===K&&ze.state===ne);ae(Te,ze=>ze.resolve())},u=K=>Kn(n,K),m=K=>Kn(o,K),b=K=>{if(o[K])return o[K].instance},k=(K,ne)=>{const Te=jl.getCode(),ze=","+(ne||"")+",";!Te||ne&&ze.indexOf(","+Te+",")===-1||Ad.ScriptLoader.add(n[K]+"/langs/"+Te+".js")},E=(K,ne)=>{pa.languageLoad!==!1&&(u(K)?k(K,ne):oe(K,"loaded").then(()=>k(K,ne)))},D=(K,ne)=>(e.push(ne),o[K]={instance:ne},c(K,"added"),ne),N=K=>{delete n[K],delete o[K]},I=(K,ne)=>j(ne)?j(K)?{prefix:"",resource:ne,suffix:""}:{prefix:K.prefix,resource:ne,suffix:K.suffix}:ne,ee=(K,ne)=>{if(n[K])return Promise.resolve();let Te=j(ne)?ne:ne.prefix+ne.resource+ne.suffix;Te.indexOf("/")!==0&&Te.indexOf("://")===-1&&(Te=pa.baseURL+"/"+Te),n[K]=Te.substring(0,Te.lastIndexOf("/"));const ze=()=>(c(K,"loaded"),Promise.resolve());return o[K]?ze():Ad.ScriptLoader.add(Te).then(ze)},oe=(K,ne="added")=>ne==="added"&&m(K)||ne==="loaded"&&u(K)?Promise.resolve():new Promise(Te=>{r.push({name:K,state:ne,resolve:Te})});return{items:e,urls:n,lookup:o,get:b,requireLangPack:E,add:D,remove:N,createUrl:I,load:ee,waitFor:oe}};pa.languageLoad=!0,pa.baseURL="",pa.PluginManager=pa(),pa.ThemeManager=pa(),pa.ModelManager=pa();const Sa=e=>{const n=Ma(F.none()),o=()=>n.get().each(e);return{clear:()=>{o(),n.set(F.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:b=>{o(),n.set(F.some(b))}}},zT=e=>{const n=Ma(F.none()),o=()=>n.get().each(b=>clearInterval(b));return{clear:()=>{o(),n.set(F.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:b=>{o(),n.set(F.some(setInterval(b,e)))}}},Yu=()=>{const e=Sa(Oe);return{...e,on:o=>e.get().each(o)}},Gh=(e,n)=>{let o=null;return{cancel:()=>{U(o)||(clearTimeout(o),o=null)},throttle:(...u)=>{U(o)&&(o=setTimeout(()=>{o=null,e.apply(null,u)},n))}}},Vy=(e,n)=>{let o=null;const r=()=>{U(o)||(clearTimeout(o),o=null)};return{cancel:r,throttle:(...u)=>{r(),o=setTimeout(()=>{o=null,e.apply(null,u)},n)}}},Wl=st("mce-annotation"),al=st("data-mce-annotation"),ug=st("data-mce-annotation-uid"),vp=st("data-mce-annotation-active"),Kh=st("data-mce-annotation-classes"),Yh=st("data-mce-annotation-attrs"),O_=e=>n=>Ns(n,e),d0=(e,n)=>{const o=e.selection.getRng(),r=le.fromDom(o.startContainer),c=le.fromDom(e.getBody()),u=n.fold(()=>"."+Wl(),k=>`[${al()}="${k}"]`),m=bu(r,o.startOffset).getOr(r);return vl(m,u,O_(c)).bind(k=>hl(k,`${ug()}`).bind(E=>hl(k,`${al()}`).map(D=>{const N=D_(e,E);return{uid:E,name:D,elements:N}})))},DT=e=>rc(e)&&Hl(e,Wl()),z_=(e,n)=>aa(e,"data-mce-bogus")||Vv(e,'[data-mce-bogus="all"]',O_(n)),D_=(e,n)=>{const o=le.fromDom(e.getBody()),r=La(o,`[${ug()}="${n}"]`);return qe(r,c=>!z_(c,o))},f0=(e,n)=>{const o=le.fromDom(e.getBody()),r=La(o,`[${al()}="${n}"]`),c={};return ae(r,u=>{if(!z_(u,o)){const m=Fa(u,ug()),b=Cs(c,m).getOr([]);c[m]=b.concat([u])}}),c},R_=(e,n)=>{const o=Ma({}),r=()=>({listeners:[],previous:Yu()}),c=(N,I)=>{u(N,ee=>(I(ee),ee))},u=(N,I)=>{const ee=o.get(),oe=Cs(ee,N).getOrThunk(r),K=I(oe);ee[N]=K,o.set(ee)},m=(N,I,ee)=>{c(N,oe=>{ae(oe.listeners,K=>K(!0,N,{uid:I,nodes:ve(ee,ne=>ne.dom)}))})},b=N=>{c(N,I=>{ae(I.listeners,ee=>ee(!1,N))})},k=(N,I)=>{ae(D_(e,N),ee=>{I?ir(ee,vp(),"true"):Yr(ee,vp())})},E=Vy(()=>{const N=Gn(n.getNames());ae(N,I=>{u(I,ee=>{const oe=ee.previous.get();return d0(e,F.some(I)).fold(()=>{oe.each(K=>{b(I),ee.previous.clear(),k(K,!1)})},({uid:K,name:ne,elements:Te})=>{Ws(oe,K)||(oe.each(ze=>k(ze,!1)),m(ne,K,Te),ee.previous.set(K),k(K,!0))}),{previous:ee.previous,listeners:ee.listeners}})})},30);return e.on("remove",()=>{E.cancel()}),e.on("NodeChange",()=>{E.throttle()}),{addListener:(N,I)=>{u(N,ee=>({previous:ee.previous,listeners:ee.listeners.concat([I])}))}}},$O=(e,n)=>{const o=al(),r=u=>F.from(u.attr(o)).bind(n.lookup),c=u=>{var m,b;u.attr(ug(),null),u.attr(al(),null),u.attr(vp(),null);const k=F.from(u.attr(Yh())).map(I=>I.split(",")).getOr([]),E=F.from(u.attr(Kh())).map(I=>I.split(",")).getOr([]);ae(k,I=>u.attr(I,null));const D=(b=(m=u.attr("class"))===null||m===void 0?void 0:m.split(" "))!==null&&b!==void 0?b:[],N=Po(D,[Wl()].concat(E));u.attr("class",N.length>0?N.join(" "):null),u.attr(Kh(),null),u.attr(Yh(),null)};e.serializer.addTempAttr(vp()),e.serializer.addAttributeFilter(o,u=>{for(const m of u)r(m).each(b=>{b.persistent===!1&&(m.name==="span"?m.unwrap():c(m))})})},Uy=()=>{const e={};return{register:(c,u)=>{e[c]={name:c,settings:u}},lookup:c=>Cs(e,c).map(u=>u.settings),getNames:()=>Yo(e)}};let N_=0;const $r=e=>{const o=new Date().getTime(),r=Math.floor(Math.random()*1e9);return N_++,e+"_"+r+N_+String(o)},m0=(e,n)=>{ae(n,o=>{Lu(e,o)})},g0=(e,n)=>{ae(n,o=>{Ll(e,o)})},M_=(e,n)=>le.fromDom(e.dom.cloneNode(n)),Tf=e=>M_(e,!1),Ac=e=>M_(e,!0),xi=(e,n)=>{const o=le.fromTag(n),r=gd(e);return bi(o,r),o},B_=(e,n)=>{const o=xi(e,n);io(e,o);const r=Ia(e);return sr(o,r),Es(e),o},p0=(e,n,o=De)=>{const r=new vr(e,n),c=u=>{let m;do m=r[u]();while(m&&!Bt(m)&&!o(m));return F.from(m).filter(Bt)};return{current:()=>F.from(r.current()).filter(Bt),next:()=>c("next"),prev:()=>c("prev"),prev2:()=>c("prev2")}},wm=(e,n)=>{const o=n||(m=>e.isBlock(m)||Qr(m)||As(m)),r=(m,b,k,E)=>{if(Bt(m)){const D=E(m,b,m.data);if(D!==-1)return F.some({container:m,offset:D})}return k().bind(D=>r(D.container,D.offset,k,E))};return{backwards:(m,b,k,E)=>{const D=p0(m,E??e.getRoot(),o);return r(m,b,()=>D.prev().map(N=>({container:N,offset:N.length})),k).getOrNull()},forwards:(m,b,k,E)=>{const D=p0(m,E??e.getRoot(),o);return r(m,b,()=>D.next().map(N=>({container:N,offset:0})),k).getOrNull()}}},dg=Math.round,fg=e=>e?{left:dg(e.left),top:dg(e.top),bottom:dg(e.bottom),right:dg(e.right),width:dg(e.width),height:dg(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},jy=(e,n)=>(e=fg(e),n||(e.left=e.left+e.width),e.right=e.left,e.width=0,e),Ef=(e,n)=>e.left===n.left&&e.top===n.top&&e.bottom===n.bottom&&e.right===n.right,Wy=(e,n,o)=>e>=0&&e<=Math.min(n.height,o.height)/2,Wr=(e,n)=>{const o=Math.min(n.height/2,e.height/2);return e.bottom-on.bottom?!1:Wy(n.top-e.bottom,e,n)},cl=(e,n)=>e.top>n.bottom?!0:e.bottomn>=e.left&&n<=e.right&&o>=e.top&&o<=e.bottom,RT=e=>Q(e,(n,o)=>n.fold(()=>F.some(o),r=>{const c=Math.min(o.left,r.left),u=Math.min(o.top,r.top),m=Math.max(o.right,r.right),b=Math.max(o.bottom,r.bottom);return F.some({top:u,right:m,bottom:b,left:c,width:m-c,height:b-u})}),F.none()),h0=(e,n,o)=>{const r=Math.max(Math.min(n,e.left+e.width),e.left),c=Math.max(Math.min(o,e.top+e.height),e.top);return Math.sqrt((n-r)*(n-r)+(o-c)*(o-c))},NT=(e,n)=>Math.max(0,Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top)),mg=(e,n,o)=>Math.min(Math.max(e,n),o),wp=e=>{const n=e.startContainer,o=e.startOffset;return n===e.endContainer&&n.hasChildNodes()&&e.endOffset===o+1?n.childNodes[o]:null},Zl=(e,n)=>{if(gn(e)&&e.hasChildNodes()){const o=e.childNodes,r=mg(n,0,o.length-1);return o[r]}else return e},b0=(e,n)=>{if(!(n<0&&gn(e)&&e.hasChildNodes()))return Zl(e,n)},P_=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-゙︯-゚]"),F_=e=>j(e)&&e.charCodeAt(0)>=768&&P_.test(e),MT=(...e)=>n=>{for(let o=0;on=>{for(let o=0;oe?e.createRange():qs.DOM.createRng(),hs=e=>j(e)&&/[\r\n\t ]/.test(e),Ti=e=>!!e.setStart&&!!e.setEnd,Of=e=>{const n=e.startContainer,o=e.startOffset;if(hs(e.toString())&&L_(n.parentNode)&&Bt(n)){const r=n.data;if(hs(r[o-1])||hs(r[o+1]))return!0}return!1},v0=e=>{const n=e.ownerDocument,o=_p(n),r=n.createTextNode(fr),c=e.parentNode;c.insertBefore(r,e),o.setStart(r,0),o.setEnd(r,1);const u=fg(o.getBoundingClientRect());return c.removeChild(r),u},Dr=e=>{const n=e.startContainer,o=e.endContainer,r=e.startOffset,c=e.endOffset;if(n===o&&Bt(o)&&r===0&&c===1){const u=e.cloneRange();return u.setEndAfter(o),zf(u)}else return null},k0=e=>e.left===0&&e.right===0&&e.top===0&&e.bottom===0,zf=e=>{var n;let o;const r=e.getClientRects();return r.length>0?o=fg(r[0]):o=fg(e.getBoundingClientRect()),!Ti(e)&&Af(e)&&k0(o)?v0(e):k0(o)&&Ti(e)&&(n=Dr(e))!==null&&n!==void 0?n:o},xa=(e,n)=>{const o=jy(e,n);return o.width=1,o.right=o.left+1,o},Od=e=>{const n=[],o=m=>{m.height!==0&&(n.length>0&&Ef(m,n[n.length-1])||n.push(m))},r=(m,b)=>{const k=_p(m.ownerDocument);if(b0&&(k.setStart(m,b-1),k.setEnd(m,b),Of(k)||o(xa(zf(k),!1))),b{const r=()=>(Gy(e),n===0),c=()=>Gy(e)?n>=e.data.length:n>=e.childNodes.length,u=()=>{const D=_p(e.ownerDocument);return D.setStart(e,n),D.setEnd(e,n),D},m=()=>(o||(o=Od(ct(e,n))),o),b=()=>m().length>0,k=D=>D&&e===D.container()&&n===D.offset(),E=D=>il(e,D?n-1:n);return{container:st(e),offset:st(n),toRange:u,getClientRects:m,isVisible:b,isAtStart:r,isAtEnd:c,isEqual:k,getNode:E}};ct.fromRangeStart=e=>ct(e.startContainer,e.startOffset),ct.fromRangeEnd=e=>ct(e.endContainer,e.endOffset),ct.after=e=>ct(e.parentNode,Ky(e)+1),ct.before=e=>ct(e.parentNode,Ky(e)),ct.isAbove=(e,n)=>sa(mn(n.getClientRects()),bo(e.getClientRects()),Wr).getOr(!1),ct.isBelow=(e,n)=>sa(bo(n.getClientRects()),mn(e.getClientRects()),cl).getOr(!1),ct.isAtStart=e=>e?e.isAtStart():!1,ct.isAtEnd=e=>e?e.isAtEnd():!1,ct.isTextPosition=e=>e?Bt(e.container()):!1,ct.isElementPosition=e=>!ct.isTextPosition(e);const Yy=(e,n)=>{Bt(n)&&n.data.length===0&&e.remove(n)},BT=(e,n,o)=>{n.insertNode(o),Yy(e,o.previousSibling),Yy(e,o.nextSibling)},Xy=(e,n,o)=>{const r=F.from(o.firstChild),c=F.from(o.lastChild);n.insertNode(o),r.each(u=>Yy(e,u.previousSibling)),c.each(u=>Yy(e,u.nextSibling))},zd=(e,n,o)=>{up(o)?Xy(e,n,o):BT(e,n,o)},Tl=Bt,Xh=wu,Jy=qs.nodeIndex,w0=e=>{const n=e.parentNode;return Xh(n)?w0(n):n},Qy=e=>e?de(e.childNodes,(n,o)=>(Xh(o)&&o.nodeName!=="BR"?n=n.concat(Qy(o)):n.push(o),n),[]):[],H_=(e,n)=>{let o=e;for(;(o=o.previousSibling)&&Tl(o);)n+=o.data.length;return n},_m=e=>n=>e===n,ql=e=>{let n,o;n=Qy(w0(e)),o=re(n,_m(e),e),n=n.slice(0,o+1);const r=de(n,(c,u,m)=>(Tl(u)&&Tl(n[m-1])&&c++,c),0);return n=Gs(n,wl([e.nodeName])),o=re(n,_m(e),e),o-r},Zi=e=>(Tl(e)?"text()":e.nodeName.toLowerCase())+"["+ql(e)+"]",Oc=(e,n,o)=>{const r=[];for(let c=n.parentNode;c&&c!==e&&!(o&&o(c));c=c.parentNode)r.push(c);return r},V_=(e,n)=>{let o=[],r=n.container(),c=n.offset(),u;if(Tl(r))u=H_(r,c);else{const b=r.childNodes;c>=b.length?(u="after",c=b.length-1):u="before",r=b[c]}o.push(Zi(r));let m=Oc(e,r);return m=Gs(m,fo(wu)),o=o.concat(wr(m,b=>Zi(b))),o.reverse().join("/")+","+u},Cm=(e,n,o)=>{let r=Qy(e);return r=Gs(r,(c,u)=>!Tl(c)||!Tl(r[u-1])),r=Gs(r,wl([n])),r[o]},U_=(e,n)=>{let o=e,r=0;for(;Tl(o);){const c=o.data.length;if(n>=r&&n<=r+c){e=o,n=n-r;break}if(!Tl(o.nextSibling)){e=o,n=c;break}r+=c,o=o.nextSibling}return Tl(e)&&n>e.data.length&&(n=e.data.length),ct(e,n)},Jh=(e,n)=>{if(!n)return null;const o=n.split(","),r=o[0].split("/"),c=o.length>1?o[1]:"before",u=de(r,(m,b)=>{const k=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(b);return k?(k[1]==="text()"&&(k[1]="#text"),Cm(m,k[1],parseInt(k[2],10))):null},e);if(!u)return null;if(!Tl(u)&&u.parentNode){let m;return c==="after"?m=Jy(u)+1:m=Jy(u),ct(u.parentNode,m)}return U_(u,parseInt(c,10))},pg=As,_0=(e,n,o)=>{let r=e(n.data.slice(0,o)).length;for(let c=n.previousSibling;c&&Bt(c);c=c.previousSibling)r+=e(c.data).length;return r},e1=(e,n,o,r,c)=>{const u=c?r.startContainer:r.endContainer;let m=c?r.startOffset:r.endOffset;const b=[],k=e.getRoot();if(Bt(u))b.push(o?_0(n,u,m):m);else{let E=0;const D=u.childNodes;m>=D.length&&D.length&&(E=1,m=Math.max(0,D.length-1)),b.push(e.nodeIndex(D[m],o)+E)}for(let E=u;E&&E!==k;E=E.parentNode)b.push(e.nodeIndex(E,o));return b},j_=(e,n,o,r)=>{const c=n.dom,u=e1(c,e,o,r,!0),m=n.isForward(),b=da(r)?{isFakeCaret:!0}:{};if(n.isCollapsed())return{start:u,forward:m,...b};{const k=e1(c,e,o,r,!1);return{start:u,end:k,forward:m,...b}}},t1=(e,n,o)=>{let r=0;return Et.each(e.select(n),c=>{if(c.getAttribute("data-mce-bogus")!=="all"){if(c===o)return!1;r++;return}}),r},C0=(e,n)=>{let o=n?e.startContainer:e.endContainer,r=n?e.startOffset:e.endOffset;if(gn(o)&&o.nodeName==="TR"){const c=o.childNodes;o=c[Math.min(n?r:r-1,c.length-1)],o&&(r=n?0:o.childNodes.length,n?e.setStart(o,r):e.setEnd(o,r))}},Ua=e=>(C0(e,!0),C0(e,!1),e),kc=(e,n)=>{if(gn(e)&&(e=Zl(e,n),pg(e)))return e;if(Ps(e)){Bt(e)&&xr(e)&&(e=e.parentNode);let o=e.previousSibling;if(pg(o)||(o=e.nextSibling,pg(o)))return o}},qi=e=>kc(e.startContainer,e.startOffset)||kc(e.endContainer,e.endOffset),Ir=(e,n,o)=>{const r=o.getNode(),c=o.getRng();if(r.nodeName==="IMG"||pg(r)){const m=r.nodeName;return{name:m,index:t1(o.dom,m,r)}}const u=qi(c);if(u){const m=u.tagName;return{name:m,index:t1(o.dom,m,u)}}return j_(e,o,n,c)},wc=e=>{const n=e.getRng();return{start:V_(e.dom.getRoot(),ct.fromRangeStart(n)),end:V_(e.dom.getRoot(),ct.fromRangeEnd(n)),forward:e.isForward()}},uc=e=>({rng:e.getRng(),forward:e.isForward()}),n1=(e,n,o)=>{const r={"data-mce-type":"bookmark",id:n,style:"overflow:hidden;line-height:0px"};return o?e.create("span",r,""):e.create("span",r)},o1=(e,n)=>{const o=e.dom;let r=e.getRng();const c=o.uniqueId(),u=e.isCollapsed(),m=e.getNode(),b=m.nodeName,k=e.isForward();if(b==="IMG")return{name:b,index:t1(o,b,m)};const E=Ua(r.cloneRange());if(!u){E.collapse(!1);const N=n1(o,c+"_end",n);zd(o,E,N)}r=Ua(r),r.collapse(!0);const D=n1(o,c+"_start",n);return zd(o,r,D),e.moveToBookmark({id:c,keep:!0,forward:k}),{id:c,forward:k}},W_=(e,n,o=!1)=>n===2?Ir(qt,o,e):n===3?wc(e):n?uc(e):o1(e,!1),s1=Xe(Ir,Bn,!0),S0=e=>{const n=u=>u(e),o=st(e),r=()=>c,c={tag:!0,inner:e,fold:(u,m)=>m(e),isValue:lt,isError:De,map:u=>zc.value(u(e)),mapError:r,bind:n,exists:n,forall:n,getOr:o,or:r,getOrThunk:o,orThunk:r,getOrDie:o,each:u=>{u(e)},toOptional:()=>F.some(e)};return c},x0=e=>{const n=()=>o,o={tag:!1,inner:e,fold:(r,c)=>r(e),isValue:De,isError:lt,map:n,mapError:r=>zc.error(r(e)),bind:n,exists:De,forall:lt,getOr:Bn,or:Bn,getOrThunk:wt,orThunk:wt,getOrDie:Zo(String(e)),each:Oe,toOptional:F.none};return o},zc={value:S0,error:x0,fromOption:(e,n)=>e.fold(()=>x0(n),S0)},Df={generate:e=>{if(!gt(e))throw new Error("cases must be an array");if(e.length===0)throw new Error("there must be at least one case");const n=[],o={};return ae(e,(r,c)=>{const u=Yo(r);if(u.length!==1)throw new Error("one and only one name per case");const m=u[0],b=r[m];if(o[m]!==void 0)throw new Error("duplicate key detected:"+m);if(m==="cata")throw new Error("cannot have a case named cata (sorry)");if(!gt(b))throw new Error("case arguments must be an array");n.push(m),o[m]=(...k)=>{const E=k.length;if(E!==b.length)throw new Error("Wrong number of arguments to case "+m+". Expected "+b.length+" ("+b+"), got "+E);return{fold:(...N)=>{if(N.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+N.length);return N[c].apply(null,k)},match:N=>{const I=Yo(N);if(n.length!==I.length)throw new Error("Wrong number of arguments to match. Expected: "+n.join(",")+` Actual: `+I.join(","));if(!Rn(n,oe=>X(I,oe)))throw new Error("Not all branches were specified when using match. Specified: "+I.join(", ")+` Required: `+n.join(", "));return N[m].apply(null,k)},log:N=>{console.log(N,{constructors:n,constructor:m,params:k})}}}}),o}};Df.generate([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const PT=e=>{const n=[],o=[];return ae(e,r=>{r.fold(c=>{n.push(c)},c=>{o.push(c)})}),{errors:n,values:o}},FT=e=>e.type==="inline-command"||e.type==="inline-format",$T=e=>e.type==="block-command"||e.type==="block-format",T0=e=>{const n=r=>zc.error({message:r,pattern:e}),o=(r,c,u)=>{if(e.format!==void 0){let m;if(gt(e.format)){if(!Rn(e.format,j))return n(r+" pattern has non-string items in the `format` array");m=e.format}else if(j(e.format))m=[e.format];else return n(r+" pattern has non-string `format` parameter");return zc.value(c(m))}else return e.cmd!==void 0?j(e.cmd)?zc.value(u(e.cmd,e.value)):n(r+" pattern has non-string `cmd` parameter"):n(r+" pattern is missing both `format` and `cmd` parameters")};if(!dt(e))return n("Raw pattern is not an object");if(!j(e.start))return n("Raw pattern is missing `start` parameter");if(e.end!==void 0){if(!j(e.end))return n("Inline pattern has non-string `end` parameter");if(e.start.length===0&&e.end.length===0)return n("Inline pattern has empty `start` and `end` parameters");let r=e.start,c=e.end;return c.length===0&&(c=r,r=""),o("Inline",u=>({type:"inline-format",start:r,end:c,format:u}),(u,m)=>({type:"inline-command",start:r,end:c,cmd:u,value:m}))}else return e.replacement!==void 0?j(e.replacement)?e.start.length===0?n("Replacement pattern has empty `start` parameter"):zc.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):n("Replacement pattern has non-string `replacement` parameter"):e.start.length===0?n("Block pattern has empty `start` parameter"):o("Block",r=>({type:"block-format",start:e.start,format:r[0]}),(r,c)=>({type:"block-command",start:e.start,cmd:r,value:c}))},q_=e=>qe(e,$T),G_=e=>qe(e,FT),r1=(e,n)=>({inlinePatterns:G_(e),blockPatterns:q_(e),dynamicPatternsLookup:n}),K_=e=>{const n=PT(ve(e,T0));return ae(n.errors,o=>console.error(o.message,o.pattern)),n.values},Y_=e=>n=>{const o=e(n);return K_(o)},$t=Ys().deviceType,IT=$t.isTouch(),_c=qs.DOM,LT=e=>{const n=e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(",");return Q(n,(o,r)=>{const c=r.split("="),u=c[0],m=c.length>1?c[1]:u;return o[va(u)]=va(m),o},{})},E0=e=>xt(e,RegExp),yn=e=>n=>n.options.get(e),Wc=e=>j(e)||dt(e),X_=(e,n="")=>o=>{const r=j(o);if(r)if(o.indexOf("=")!==-1){const c=LT(o);return{value:Cs(c,e.id).getOr(n),valid:r}}else return{value:o,valid:r};else return{valid:!1,message:"Must be a string."}},J_=e=>{const n=e.options.register;n("id",{processor:"string",default:e.id}),n("selector",{processor:"string"}),n("target",{processor:"object"}),n("suffix",{processor:"string"}),n("cache_suffix",{processor:"string"}),n("base_url",{processor:"string"}),n("referrer_policy",{processor:"string",default:""}),n("language_load",{processor:"boolean",default:!0}),n("inline",{processor:"boolean",default:!1}),n("iframe_attrs",{processor:"object",default:{}}),n("doctype",{processor:"string",default:""}),n("document_base_url",{processor:"string",default:e.documentBaseUrl}),n("body_id",{processor:X_(e,"tinymce"),default:"tinymce"}),n("body_class",{processor:X_(e),default:""}),n("content_security_policy",{processor:"string",default:""}),n("br_in_pre",{processor:"boolean",default:!0}),n("forced_root_block",{processor:o=>{const r=j(o)&&yo(o);return r?{value:o,valid:r}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),n("forced_root_block_attrs",{processor:"object",default:{}}),n("newline_behavior",{processor:o=>{const r=X(["block","linebreak","invert","default"],o);return r?{value:o,valid:r}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),n("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),n("no_newline_selector",{processor:"string",default:""}),n("keep_styles",{processor:"boolean",default:!0}),n("end_container_on_empty_block",{processor:o=>at(o)?{valid:!0,value:o}:j(o)?{valid:!0,value:o}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),n("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),n("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),n("font_size_classes",{processor:"string",default:""}),n("automatic_uploads",{processor:"boolean",default:!0}),n("images_reuse_filename",{processor:"boolean",default:!1}),n("images_replace_blob_uris",{processor:"boolean",default:!0}),n("icons",{processor:"string",default:""}),n("icons_url",{processor:"string",default:""}),n("images_upload_url",{processor:"string",default:""}),n("images_upload_base_path",{processor:"string",default:""}),n("images_upload_credentials",{processor:"boolean",default:!1}),n("images_upload_handler",{processor:"function"}),n("language",{processor:"string",default:"en"}),n("language_url",{processor:"string",default:""}),n("entity_encoding",{processor:"string",default:"named"}),n("indent",{processor:"boolean",default:!0}),n("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),n("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,details,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),n("indent_use_margin",{processor:"boolean",default:!1}),n("indentation",{processor:"string",default:"40px"}),n("content_css",{processor:o=>{const r=o===!1||j(o)||Ce(o,j);return r?j(o)?{value:ve(o.split(","),va),valid:r}:gt(o)?{value:o,valid:r}:o===!1?{value:[],valid:r}:{value:o,valid:r}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:u2(e)?[]:["default"]}),n("content_style",{processor:"string"}),n("content_css_cors",{processor:"boolean",default:!1}),n("font_css",{processor:o=>{const r=j(o)||Ce(o,j);return r?{value:gt(o)?o:ve(o.split(","),va),valid:r}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),n("inline_boundaries",{processor:"boolean",default:!0}),n("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),n("object_resizing",{processor:o=>{const r=at(o)||j(o);return r?o===!1||$t.isiPhone()||$t.isiPad()?{value:"",valid:r}:{value:o===!0?"table,img,figure.image,div,video,iframe":o,valid:r}:{valid:!1,message:"Must be boolean or a string"}},default:!IT}),n("resize_img_proportional",{processor:"boolean",default:!0}),n("event_root",{processor:"object"}),n("service_message",{processor:"string"}),n("theme",{processor:o=>o===!1||j(o)||ie(o),default:"silver"}),n("theme_url",{processor:"string"}),n("formats",{processor:"object"}),n("format_empty_lines",{processor:"boolean",default:!1}),n("format_noneditable_selector",{processor:"string",default:""}),n("preview_styles",{processor:o=>{const r=o===!1||j(o);return r?{value:o===!1?"":o,valid:r}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),n("custom_ui_selector",{processor:"string",default:""}),n("hidden_input",{processor:"boolean",default:!0}),n("submit_patch",{processor:"boolean",default:!0}),n("encoding",{processor:"string"}),n("add_form_submit_trigger",{processor:"boolean",default:!0}),n("add_unload_trigger",{processor:"boolean",default:!0}),n("custom_undo_redo_levels",{processor:"number",default:0}),n("disable_nodechange",{processor:"boolean",default:!1}),n("readonly",{processor:"boolean",default:!1}),n("editable_root",{processor:"boolean",default:!0}),n("plugins",{processor:"string[]",default:[]}),n("external_plugins",{processor:"object"}),n("forced_plugins",{processor:"string[]"}),n("model",{processor:"string",default:e.hasPlugin("rtc")?"plugin":"dom"}),n("model_url",{processor:"string"}),n("block_unsupported_drop",{processor:"boolean",default:!0}),n("visual",{processor:"boolean",default:!0}),n("visual_table_class",{processor:"string",default:"mce-item-table"}),n("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),n("iframe_aria_text",{processor:"string",default:"Rich Text Area. Press ALT-0 for help."}),n("setup",{processor:"function"}),n("init_instance_callback",{processor:"function"}),n("url_converter",{processor:"function",default:e.convertURL}),n("url_converter_scope",{processor:"object",default:e}),n("urlconverter_callback",{processor:"function"}),n("allow_conditional_comments",{processor:"boolean",default:!1}),n("allow_html_data_urls",{processor:"boolean",default:!1}),n("allow_svg_data_urls",{processor:"boolean"}),n("allow_html_in_named_anchor",{processor:"boolean",default:!1}),n("allow_script_urls",{processor:"boolean",default:!1}),n("allow_unsafe_link_target",{processor:"boolean",default:!1}),n("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),n("fix_list_elements",{processor:"boolean",default:!1}),n("preserve_cdata",{processor:"boolean",default:!1}),n("remove_trailing_brs",{processor:"boolean",default:!0}),n("pad_empty_with_br",{processor:"boolean",default:!1}),n("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),n("element_format",{processor:"string",default:"html"}),n("entities",{processor:"string"}),n("schema",{processor:"string",default:"html5"}),n("convert_urls",{processor:"boolean",default:!0}),n("relative_urls",{processor:"boolean",default:!0}),n("remove_script_host",{processor:"boolean",default:!0}),n("custom_elements",{processor:"string"}),n("extended_valid_elements",{processor:"string"}),n("invalid_elements",{processor:"string"}),n("invalid_styles",{processor:Wc}),n("valid_children",{processor:"string"}),n("valid_classes",{processor:Wc}),n("valid_elements",{processor:"string"}),n("valid_styles",{processor:Wc}),n("verify_html",{processor:"boolean",default:!0}),n("auto_focus",{processor:o=>j(o)||o===!0}),n("browser_spellcheck",{processor:"boolean",default:!1}),n("protect",{processor:"array"}),n("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),n("deprecation_warnings",{processor:"boolean",default:!0}),n("a11y_advanced_options",{processor:"boolean",default:!1}),n("api_key",{processor:"string"}),n("paste_block_drop",{processor:"boolean",default:!1}),n("paste_data_images",{processor:"boolean",default:!0}),n("paste_preprocess",{processor:"function"}),n("paste_postprocess",{processor:"function"}),n("paste_webkit_styles",{processor:"string",default:"none"}),n("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),n("paste_merge_formats",{processor:"boolean",default:!0}),n("smart_paste",{processor:"boolean",default:!0}),n("paste_as_text",{processor:"boolean",default:!1}),n("paste_tab_spaces",{processor:"number",default:4}),n("text_patterns",{processor:o=>Ce(o,dt)||o===!1?{value:K_(o===!1?[]:o),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}]}),n("text_patterns_lookup",{processor:o=>ie(o)?{value:Y_(o),valid:!0}:{valid:!1,message:"Must be a single function"},default:o=>[]}),n("noneditable_class",{processor:"string",default:"mceNonEditable"}),n("editable_class",{processor:"string",default:"mceEditable"}),n("noneditable_regexp",{processor:o=>Ce(o,E0)?{value:o,valid:!0}:E0(o)?{value:[o],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),n("table_tab_navigation",{processor:"boolean",default:!0}),n("highlight_on_focus",{processor:"boolean",default:!1}),n("xss_sanitization",{processor:"boolean",default:!0}),n("details_initial_state",{processor:o=>{const r=X(["inherited","collapsed","expanded"],o);return r?{value:o,valid:r}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),n("details_serialized_state",{processor:o=>{const r=X(["inherited","collapsed","expanded"],o);return r?{value:o,valid:r}:{valid:!1,message:"Must be one of: inherited, collapsed, or expanded."}},default:"inherited"}),n("init_content_sync",{processor:"boolean",default:!1}),n("newdocument_content",{processor:"string",default:""}),e.on("ScriptsLoaded",()=>{n("directionality",{processor:"string",default:jl.isRtl()?"rtl":void 0}),n("placeholder",{processor:"string",default:_c.getAttrib(e.getElement(),"placeholder")})})},Gl=yn("iframe_attrs"),a1=yn("doctype"),Cp=yn("document_base_url"),Xu=yn("body_id"),Kl=yn("body_class"),hg=yn("content_security_policy"),Au=yn("br_in_pre"),ni=yn("forced_root_block"),Sp=yn("forced_root_block_attrs"),A0=yn("newline_behavior"),Q_=yn("br_newline_selector"),e2=yn("no_newline_selector"),O0=yn("keep_styles"),HT=yn("end_container_on_empty_block"),z0=yn("automatic_uploads"),t2=yn("images_reuse_filename"),VT=yn("images_replace_blob_uris"),n2=yn("icons"),UT=yn("icons_url"),jT=yn("images_upload_url"),D0=yn("images_upload_base_path"),WT=yn("images_upload_credentials"),o2=yn("images_upload_handler"),ZT=yn("content_css_cors"),xp=yn("referrer_policy"),s2=yn("language"),qT=yn("language_url"),r2=yn("indent_use_margin"),GT=yn("indentation"),a2=yn("content_css"),c1=yn("content_style"),Sm=yn("font_css"),Tp=yn("directionality"),Rr=yn("inline_boundaries_selector"),R0=yn("object_resizing"),Ei=yn("resize_img_proportional"),Ep=yn("placeholder"),ec=yn("event_root"),c2=yn("service_message"),Dd=yn("theme"),KT=yn("theme_url"),i1=yn("model"),i2=yn("model_url"),Qh=yn("inline_boundaries"),YT=yn("formats"),XT=yn("preview_styles"),JT=yn("format_empty_lines"),eb=yn("format_noneditable_selector"),l2=yn("custom_ui_selector"),u2=yn("inline"),bg=yn("hidden_input"),QT=yn("submit_patch"),eE=yn("add_form_submit_trigger"),tE=yn("add_unload_trigger"),d2=yn("custom_undo_redo_levels"),N0=yn("disable_nodechange"),Rf=yn("readonly"),f2=yn("editable_root"),m2=yn("content_css_cors"),l1=yn("plugins"),nE=yn("external_plugins"),Nf=yn("block_unsupported_drop"),u1=yn("visual"),d1=yn("visual_table_class"),tb=yn("visual_anchor_class"),g2=yn("iframe_aria_text"),Rd=yn("setup"),f1=yn("init_instance_callback"),p2=yn("urlconverter_callback"),Ju=yn("auto_focus"),xm=yn("browser_spellcheck"),M0=yn("protect"),h2=yn("paste_block_drop"),m1=yn("paste_data_images"),oE=yn("paste_preprocess"),b2=yn("paste_postprocess"),sE=yn("newdocument_content"),rE=yn("paste_webkit_styles"),y2=yn("paste_remove_styles_if_webkit"),v2=yn("paste_merge_formats"),k2=yn("smart_paste"),aE=yn("paste_as_text"),cE=yn("paste_tab_spaces"),iE=yn("allow_html_data_urls"),w2=yn("text_patterns"),B0=yn("text_patterns_lookup"),P0=yn("noneditable_class"),lE=yn("editable_class"),uE=yn("noneditable_regexp"),g1=yn("preserve_cdata"),_2=yn("highlight_on_focus"),p1=yn("xss_sanitization"),nb=yn("init_content_sync"),h1=e=>e.options.isSet("text_patterns_lookup"),F0=e=>Et.explode(e.options.get("font_size_style_values")),C2=e=>Et.explode(e.options.get("font_size_classes")),S2=e=>e.options.get("encoding")==="xml",$0=e=>Et.explode(e.options.get("images_file_types")),dE=yn("table_tab_navigation"),x2=yn("details_initial_state"),ob=yn("details_serialized_state"),fE=gn,b1=Bt,T2=e=>{const n=e.parentNode;n&&n.removeChild(e)},E2=e=>{const n=qt(e);return{count:e.length-n.length,text:n}},A2=e=>{let n;for(;(n=e.data.lastIndexOf(Qe))!==-1;)e.deleteData(n,1)},y1=(e,n)=>(ja(e),n),mE=(e,n)=>{const o=E2(e.data.substr(0,n.offset())),r=E2(e.data.substr(n.offset()));return(o.text+r.text).length>0?(A2(e),ct(e,n.offset()-o.count)):n},sb=(e,n)=>{const o=n.container(),r=on(as(o.childNodes),e).map(c=>cb1(e)&&n.container()===e?mE(e,n):y1(e,n),pE=(e,n)=>n.container()===e.parentNode?sb(e,n):y1(e,n),O2=(e,n)=>ct.isTextPosition(n)?gE(e,n):pE(e,n),ja=e=>{fE(e)&&Ps(e)&&(ei(e)?e.removeAttribute("data-mce-caret"):T2(e)),b1(e)&&(A2(e),e.data.length===0&&T2(e))},hE=As,Ap=Cl,bE=_u,rb="*[contentEditable=false],video,audio,embed,object",I0=(e,n,o)=>{const r=jy(n.getBoundingClientRect(),o);let c,u;if(e.tagName==="BODY"){const b=e.ownerDocument.documentElement;c=e.scrollLeft||b.scrollLeft,u=e.scrollTop||b.scrollTop}else{const b=e.getBoundingClientRect();c=e.scrollLeft-b.left,u=e.scrollTop-b.top}r.left+=c,r.right+=c,r.top+=u,r.bottom+=u,r.width=1;let m=n.offsetWidth-n.clientWidth;return m>0&&(o&&(m*=-1),r.left+=m,r.right+=m),r},yE=e=>{var n,o;const r=La(le.fromDom(e),rb);for(let c=0;c{const c=Yu();let u,m;const b=ni(e),k=e.dom,E=(K,ne)=>{let Te;if(D(),bE(ne))return null;if(o(ne)){const ze=Zu(b,ne,K),Re=I0(n,ne,K);k.setStyle(ze,"top",Re.top),m=ze;const Ve=k.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});k.setStyles(Ve,{...Re}),k.add(n,Ve),c.set({caret:Ve,element:ne,before:K}),K&&k.addClass(Ve,"mce-visual-caret-before"),N(),Te=ne.ownerDocument.createRange(),Te.setStart(ze,0),Te.setEnd(ze,0)}else return m=nl(ne,K),Te=ne.ownerDocument.createRange(),Tm(m.nextSibling)?(Te.setStart(m,0),Te.setEnd(m,0)):(Te.setStart(m,1),Te.setEnd(m,1)),Te;return Te},D=()=>{yE(n),m&&(ja(m),m=null),c.on(K=>{k.remove(K.caret),c.clear()}),u&&(clearInterval(u),u=void 0)},N=()=>{u=setInterval(()=>{c.on(K=>{r()?k.toggleClass(K.caret,"mce-visual-caret-hidden"):k.addClass(K.caret,"mce-visual-caret-hidden")})},500)};return{show:E,hide:D,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{c.on(K=>{const ne=I0(n,K.element,K.before);k.setStyles(K.caret,{...ne})})},destroy:()=>clearInterval(u)}},L0=()=>nn.browser.isFirefox(),Tm=e=>hE(e)||Ap(e),Op=e=>(Tm(e)||tl(e)&&L0())&&pd(le.fromDom(e)).exists(Fo),Ai=Qa,yg=As,z2=Cl,D2=Uu("display","block table table-cell table-caption list-item"),H0=Ps,V0=xr,U0=gn,kE=Bt,ab=ic,v1=e=>e>0,Em=e=>e<0,cb=(e,n)=>{let o;for(;o=e(n);)if(!V0(o))return o;return null},Qu=(e,n,o,r,c)=>{const u=new vr(e,r),m=yg(e)||V0(e);let b;if(Em(n)){if(m&&(b=cb(u.prev.bind(u),!0),o(b)))return b;for(;b=cb(u.prev.bind(u),c);)if(o(b))return b}if(v1(n)){if(m&&(b=cb(u.next.bind(u),!0),o(b)))return b;for(;b=cb(u.next.bind(u),c);)if(o(b))return b}return null},wE=(e,n)=>{const o=c=>Ai(c.dom),r=c=>c.dom===n;return Fr(le.fromDom(e),o,r).map(c=>c.dom).getOr(n)},Nd=(e,n)=>{for(;e&&e!==n;){if(D2(e))return e;e=e.parentNode}return null},Ou=(e,n,o)=>Nd(e.container(),o)===Nd(n.container(),o),zp=(e,n)=>{if(!n)return F.none();const o=n.container(),r=n.offset();return U0(o)?F.from(o.childNodes[r+e]):F.none()},j0=(e,n)=>{var o;const c=((o=n.ownerDocument)!==null&&o!==void 0?o:document).createRange();return e?(c.setStartBefore(n),c.setEndBefore(n)):(c.setStartAfter(n),c.setEndAfter(n)),c},Dp=(e,n,o)=>Nd(n,e)===Nd(o,e),Mf=(e,n,o)=>{const r=e?"previousSibling":"nextSibling";let c=o;for(;c&&c!==n;){let u=c[r];if(u&&H0(u)&&(u=u[r]),yg(u)||z2(u)){if(Dp(n,u,c))return u;break}if(ab(u))break;c=c.parentNode}return null},Rp=Xe(j0,!0),vg=Xe(j0,!1),W0=(e,n,o)=>{let r;const c=Xe(Mf,!0,n),u=Xe(Mf,!1,n),m=o.startContainer,b=o.startOffset;if(xr(m)){const k=kE(m)?m.parentNode:m,E=k.getAttribute("data-mce-caret");if(E==="before"&&(r=k.nextSibling,Op(r)))return Rp(r);if(E==="after"&&(r=k.previousSibling,Op(r)))return vg(r)}if(!o.collapsed)return o;if(Bt(m)){if(H0(m)){if(e===1){if(r=u(m),r)return Rp(r);if(r=c(m),r)return vg(r)}if(e===-1){if(r=c(m),r)return vg(r);if(r=u(m),r)return Rp(r)}return o}if(_d(m)&&b>=m.data.length-1)return e===1&&(r=u(m),r)?Rp(r):o;if(hf(m)&&b<=1)return e===-1&&(r=c(m),r)?vg(r):o;if(b===m.data.length)return r=u(m),r?Rp(r):o;if(b===0)return r=c(m),r?vg(r):o}return o},R2=(e,n)=>zp(e?0:-1,n).filter(yg),kg=(e,n,o)=>{const r=W0(e,n,o);return e===-1?ct.fromRangeStart(r):ct.fromRangeEnd(r)},wg=e=>F.from(e.getNode()).map(le.fromDom),N2=e=>F.from(e.getNode(!0)).map(le.fromDom),k1=(e,n)=>{let o=n;for(;o=e(o);)if(o.isVisible())return o;return o},Np=(e,n)=>{const o=Ou(e,n);return!o&&Qr(e.getNode())?!0:o};var dc;(function(e){e[e.Backwards=-1]="Backwards",e[e.Forwards=1]="Forwards"})(dc||(dc={}));const _E=As,ed=Bt,Z0=gn,Mp=Qr,_g=ic,q0=og,w1=sg,CE=(e,n)=>{const o=[];let r=e;for(;r&&r!==n;)o.push(r),r=r.parentNode;return o},M2=(e,n)=>e.hasChildNodes()&&n{if(v1(e)){if(_g(n.previousSibling)&&!ed(n.previousSibling))return ct.before(n);if(ed(n))return ct(n,0)}if(Em(e)){if(_g(n.nextSibling)&&!ed(n.nextSibling))return ct.after(n);if(ed(n))return ct(n,n.data.length)}return Em(e)?Mp(n)?ct.before(n):ct.after(n):ct.before(n)},B2=(e,n)=>{const o=n.nextSibling;return o&&_g(o)?ed(o)?ct(o,0):ct.before(o):P2(dc.Forwards,ct.after(n),e)},P2=(e,n,o)=>{let r,c,u,m;if(!Z0(o)||!n)return null;if(n.isEqual(ct.after(o))&&o.lastChild){if(m=ct.after(o.lastChild),Em(e)&&_g(o.lastChild)&&Z0(o.lastChild))return Mp(o.lastChild)?ct.before(o.lastChild):m}else m=n;const b=m.container();let k=m.offset();if(ed(b)){if(Em(e)&&k>0)return ct(b,--k);if(v1(e)&&k0&&(c=M2(b,k-1),_g(c)))return!q0(c)&&(u=Qu(c,e,w1,c),u)?ed(u)?ct(u,u.data.length):ct.after(u):ed(c)?ct(c,c.data.length):ct.before(c);if(v1(e)&&k({next:n=>P2(dc.Forwards,n,e),prev:n=>P2(dc.Backwards,n,e)}),LO=(e,n,o)=>{const r=e?ct.before(o):ct.after(o);return El(e,n,r)},lb=e=>Qr(e)?ct.before(e):ct.after(e),F2=e=>ct.isTextPosition(e)?e.offset()===0:ic(e.getNode()),Zc=e=>{if(ct.isTextPosition(e)){const n=e.container();return e.offset()===n.data.length}else return ic(e.getNode(!0))},_1=(e,n)=>!ct.isTextPosition(e)&&!ct.isTextPosition(n)&&e.getNode()===n.getNode(!0),Cg=e=>!ct.isTextPosition(e)&&Qr(e.getNode()),Sg=(e,n,o)=>e?!_1(n,o)&&!Cg(n)&&Zc(n)&&F2(o):!_1(o,n)&&F2(n)&&Zc(o),El=(e,n,o)=>{const r=Am(n);return F.from(e?r.next(o):r.prev(o))},Om=(e,n,o)=>El(e,n,o).bind(r=>Ou(o,r,n)&&Sg(e,o,r)?El(e,n,r):F.some(r)),G0=(e,n,o,r)=>Om(e,n,o).bind(c=>r(c)?G0(e,n,c,r):F.some(c)),Bp=(e,n)=>{const o=e?n.firstChild:n.lastChild;return Bt(o)?F.some(ct(o,e?0:o.data.length)):o?ic(o)?F.some(e?ct.before(o):lb(o)):LO(e,n,o):F.none()},Gi=Xe(El,!0),oi=Xe(El,!1),ha=Xe(Bp,!0),Al=Xe(Bp,!1),C1="_mce_caret",Dc=e=>gn(e)&&e.id===C1,zm=(e,n)=>{let o=n;for(;o&&o!==e;){if(Dc(o))return o;o=o.parentNode}return null},Pp=e=>j(e.start),ub=e=>Kn(e,"rng"),K0=e=>Kn(e,"id"),Y0=e=>Kn(e,"name"),Bf=e=>Et.isArray(e.start),db=e=>!Y0(e)&&at(e.forward)?e.forward:!0,td=(e,n)=>(gn(n)&&e.isBlock(n)&&!n.innerHTML&&(n.innerHTML='
'),n),SE=(e,n)=>{const o=F.from(Jh(e.getRoot(),n.start)),r=F.from(Jh(e.getRoot(),n.end));return sa(o,r,(c,u)=>{const m=e.createRng();return m.setStart(c.container(),c.offset()),m.setEnd(u.container(),u.offset()),{range:m,forward:db(n)}})},X0=(e,n)=>{var o;const c=((o=e.ownerDocument)!==null&&o!==void 0?o:document).createTextNode(Qe);e.appendChild(c),n.setStart(c,0),n.setEnd(c,0)},$2=e=>!e.hasChildNodes(),HO=(e,n)=>Al(e).fold(De,o=>(n.setStart(o.container(),o.offset()),n.setEnd(o.container(),o.offset()),!0)),I2=(e,n,o)=>$2(n)&&zm(e,n)?(X0(n,o),!0):!1,L2=(e,n,o,r)=>{const c=o[n?"start":"end"],u=e.getRoot();if(c){let m=u,b=c[0];for(let k=c.length-1;m&&k>=1;k--){const E=m.childNodes;if(I2(u,m,r))return!0;if(c[k]>E.length-1)return I2(u,m,r)?!0:HO(m,r);m=E[c[k]]}Bt(m)&&(b=Math.min(c[0],m.data.length)),gn(m)&&(b=Math.min(c[0],m.childNodes.length)),n?r.setStart(m,b):r.setEnd(m,b)}return!0},J0=e=>Bt(e)&&e.data.length>0,Q0=(e,n,o)=>{const r=e.get(o.id+"_"+n),c=r==null?void 0:r.parentNode,u=o.keep;if(r&&c){let m,b;if(n==="start"?u?r.hasChildNodes()?(m=r.firstChild,b=1):J0(r.nextSibling)?(m=r.nextSibling,b=0):J0(r.previousSibling)?(m=r.previousSibling,b=r.previousSibling.data.length):(m=c,b=e.nodeIndex(r)+1):(m=c,b=e.nodeIndex(r)):u?r.hasChildNodes()?(m=r.firstChild,b=1):J0(r.previousSibling)?(m=r.previousSibling,b=r.previousSibling.data.length):(m=c,b=e.nodeIndex(r)):(m=c,b=e.nodeIndex(r)),!u){const k=r.previousSibling,E=r.nextSibling;Et.each(Et.grep(r.childNodes),N=>{Bt(N)&&(N.data=N.data.replace(/\uFEFF/g,""))});let D;for(;D=e.get(o.id+"_"+n);)e.remove(D,!0);if(Bt(E)&&Bt(k)&&!nn.browser.isOpera()){const N=k.data.length;k.appendData(E.data),e.remove(E),m=k,b=N}}return F.some(ct(m,b))}else return F.none()},ek=(e,n)=>{const o=e.createRng();return L2(e,!0,n,o)&&L2(e,!1,n,o)?F.some({range:o,forward:db(n)}):F.none()},H2=(e,n)=>{const o=Q0(e,"start",n),r=Q0(e,"end",n);return sa(o,r.or(o),(c,u)=>{const m=e.createRng();return m.setStart(td(e,c.container()),c.offset()),m.setEnd(td(e,u.container()),u.offset()),{range:m,forward:db(n)}})},V2=(e,n)=>F.from(e.select(n.name)[n.index]).map(o=>{const r=e.createRng();return r.selectNode(o),{range:r,forward:!0}}),U2=(e,n)=>{const o=e.dom;if(n){if(Bf(n))return ek(o,n);if(Pp(n))return SE(o,n);if(K0(n))return H2(o,n);if(Y0(n))return V2(o,n);if(ub(n))return F.some({range:n.rng,forward:db(n)})}return F.none()},xE=(e,n,o)=>W_(e,n,o),TE=(e,n)=>{U2(e,n).each(({range:o,forward:r})=>{e.setRng(o,r)})},Ol=e=>gn(e)&&e.tagName==="SPAN"&&e.getAttribute("data-mce-type")==="bookmark",is=(e=>n=>e===n)(fr),Yl=e=>e!==""&&` \f diff --git a/admin-views/dist/assets/Tinymce-219a1b40.js.gz b/admin-views/dist/assets/Tinymce-219a1b40.js.gz new file mode 100644 index 00000000..637ad2f8 Binary files /dev/null and b/admin-views/dist/assets/Tinymce-219a1b40.js.gz differ diff --git a/admin-views/dist/assets/codemirror-7fdb92e4.js.gz b/admin-views/dist/assets/codemirror-7fdb92e4.js.gz deleted file mode 100644 index c9f2417d..00000000 Binary files a/admin-views/dist/assets/codemirror-7fdb92e4.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/codemirror-7fdb92e4.js b/admin-views/dist/assets/codemirror-f52141d0.js similarity index 99% rename from admin-views/dist/assets/codemirror-7fdb92e4.js rename to admin-views/dist/assets/codemirror-f52141d0.js index 547ae6e0..91175c95 100644 --- a/admin-views/dist/assets/codemirror-7fdb92e4.js +++ b/admin-views/dist/assets/codemirror-f52141d0.js @@ -1,4 +1,4 @@ -import{f as fu,Q as hu}from"./index-91036dd3.js";function cu(_t,pi){for(var X=0;XDe[oe]})}}}return Object.freeze(Object.defineProperty(_t,Symbol.toStringTag,{value:"Module"}))}var _o={exports:{}};(function(_t,pi){(function(X,De){_t.exports=De()})(hu,function(){var X=navigator.userAgent,De=navigator.platform,oe=/gecko\/\d/i.test(X),bt=/MSIE \d/.test(X),On=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(X),Mr=/Edge\/(\d+)/.exec(X),A=bt||On||Mr,E=A&&(bt?document.documentMode||6:+(Mr||On)[1]),ie=!Mr&&/WebKit\//.test(X),Yo=ie&&/Qt\/\d+\.\d+/.test(X),Ue=!Mr&&/Chrome\/(\d+)/.exec(X),Wn=Ue&&+Ue[1],we=/Opera\//.test(X),Dr=/Apple Computer/.test(navigator.vendor),qo=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(X),Zo=/PhantomJS/.test(X),Xt=Dr&&(/Mobile\/\w+/.test(X)||navigator.maxTouchPoints>2),Nr=/Android/.test(X),Yt=Xt||Nr||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(X),me=Xt||/Mac/.test(De),Qo=/\bCrOS\b/.test(X),Jo=/win/i.test(De),tt=we&&X.match(/Version\/(\d*\.\d*)/);tt&&(tt=Number(tt[1])),tt&&tt>=15&&(we=!1,ie=!0);var Hn=me&&(Yo||we&&(tt==null||tt<12.11)),vi=oe||A&&E>=9;function xt(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var rt=function(e,t){var i=e.className,r=xt(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function Ke(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function ve(e,t){return Ke(e).appendChild(t)}function k(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var l=0;l=t)return o+(t-l);o+=a-l,o+=i-o%i,l=a+1}}var Xe=function(){this.id=null,this.f=null,this.time=0,this.handler=yi(this.onTimeout,this)};Xe.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Xe.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(o,t-n);if(n+=l-r,n+=i-n%i,r=l+1,n>=t)return r}}var Wr=[""];function xi(e){for(;Wr.length<=e;)Wr.push(W(Wr)+" ");return Wr[e]}function W(e){return e[e.length-1]}function Hr(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Vo.test(e))}function Fr(e,t){return t?t.source.indexOf("\\w")>-1&&Ci(e)?!0:t.test(e):Ci(e)}function In(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var $o=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function wi(e){return e.charCodeAt(0)>=768&&$o.test(e)}function Bn(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,l=r<0?Math.ceil(n):Math.floor(n);if(l==t)return e(l)?t:i;e(l)?i=l:t=l+r}}function ea(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,l=0;lt||t==i&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,i),o.level==1?"rtl":"ltr",l),n=!0)}n||r(t,i,"ltr")}var Jt=null;function jt(e,t,i){var r;Jt=null;for(var n=0;nt)return n;l.to==t&&(l.from!=l.to&&i=="before"?r=n:Jt=n),l.from==t&&(l.from!=l.to&&i!="before"?r=n:Jt=n)}return r??Jt}var ta=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,l=/[LRr]/,o=/[Lb1n]/,a=/[1n]/;function s(u,f,h){this.level=u,this.from=f,this.to=h}return function(u,f){var h=f=="ltr"?"L":"R";if(u.length==0||f=="ltr"&&!r.test(u))return!1;for(var d=u.length,c=[],p=0;p-1&&(r[t]=n.slice(0,l).concat(n.slice(l+1)))}}}function G(e,t){var i=Si(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function wt(e){e.prototype.on=function(t,i){T(this,t,i)},e.prototype.off=function(t,i){ge(this,t,i)}}function ae(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Gn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Li(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Vt(e){ae(e),Gn(e)}function ki(e){return e.target||e.srcElement}function Un(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),me&&e.ctrlKey&&t==1&&(t=3),t}var ra=function(){if(A&&E<9)return!1;var e=k("div");return"draggable"in e||"dragDrop"in e}(),Ti;function ia(e){if(Ti==null){var t=k("span","​");ve(e,k("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Ti=t.offsetWidth<=1&&t.offsetHeight>2&&!(A&&E<8))}var i=Ti?k("span","​"):k("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var Mi;function na(e){if(Mi!=null)return Mi;var t=ve(e,document.createTextNode("AخA")),i=it(t,0,1).getBoundingClientRect(),r=it(t,1,2).getBoundingClientRect();return Ke(e),!i||i.left==i.right?!1:Mi=r.right-i.right<3}var Di=` +import{f as fu,Q as hu}from"./index-a61a86fd.js";function cu(_t,pi){for(var X=0;XDe[oe]})}}}return Object.freeze(Object.defineProperty(_t,Symbol.toStringTag,{value:"Module"}))}var _o={exports:{}};(function(_t,pi){(function(X,De){_t.exports=De()})(hu,function(){var X=navigator.userAgent,De=navigator.platform,oe=/gecko\/\d/i.test(X),bt=/MSIE \d/.test(X),On=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(X),Mr=/Edge\/(\d+)/.exec(X),A=bt||On||Mr,E=A&&(bt?document.documentMode||6:+(Mr||On)[1]),ie=!Mr&&/WebKit\//.test(X),Yo=ie&&/Qt\/\d+\.\d+/.test(X),Ue=!Mr&&/Chrome\/(\d+)/.exec(X),Wn=Ue&&+Ue[1],we=/Opera\//.test(X),Dr=/Apple Computer/.test(navigator.vendor),qo=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(X),Zo=/PhantomJS/.test(X),Xt=Dr&&(/Mobile\/\w+/.test(X)||navigator.maxTouchPoints>2),Nr=/Android/.test(X),Yt=Xt||Nr||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(X),me=Xt||/Mac/.test(De),Qo=/\bCrOS\b/.test(X),Jo=/win/i.test(De),tt=we&&X.match(/Version\/(\d*\.\d*)/);tt&&(tt=Number(tt[1])),tt&&tt>=15&&(we=!1,ie=!0);var Hn=me&&(Yo||we&&(tt==null||tt<12.11)),vi=oe||A&&E>=9;function xt(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var rt=function(e,t){var i=e.className,r=xt(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function Ke(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function ve(e,t){return Ke(e).appendChild(t)}function k(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var l=0;l=t)return o+(t-l);o+=a-l,o+=i-o%i,l=a+1}}var Xe=function(){this.id=null,this.f=null,this.time=0,this.handler=yi(this.onTimeout,this)};Xe.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},Xe.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(o,t-n);if(n+=l-r,n+=i-n%i,r=l+1,n>=t)return r}}var Wr=[""];function xi(e){for(;Wr.length<=e;)Wr.push(W(Wr)+" ");return Wr[e]}function W(e){return e[e.length-1]}function Hr(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Vo.test(e))}function Fr(e,t){return t?t.source.indexOf("\\w")>-1&&Ci(e)?!0:t.test(e):Ci(e)}function In(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var $o=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function wi(e){return e.charCodeAt(0)>=768&&$o.test(e)}function Bn(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,l=r<0?Math.ceil(n):Math.floor(n);if(l==t)return e(l)?t:i;e(l)?i=l:t=l+r}}function ea(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,l=0;lt||t==i&&o.to==t)&&(r(Math.max(o.from,t),Math.min(o.to,i),o.level==1?"rtl":"ltr",l),n=!0)}n||r(t,i,"ltr")}var Jt=null;function jt(e,t,i){var r;Jt=null;for(var n=0;nt)return n;l.to==t&&(l.from!=l.to&&i=="before"?r=n:Jt=n),l.from==t&&(l.from!=l.to&&i!="before"?r=n:Jt=n)}return r??Jt}var ta=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,l=/[LRr]/,o=/[Lb1n]/,a=/[1n]/;function s(u,f,h){this.level=u,this.from=f,this.to=h}return function(u,f){var h=f=="ltr"?"L":"R";if(u.length==0||f=="ltr"&&!r.test(u))return!1;for(var d=u.length,c=[],p=0;p-1&&(r[t]=n.slice(0,l).concat(n.slice(l+1)))}}}function G(e,t){var i=Si(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function wt(e){e.prototype.on=function(t,i){T(this,t,i)},e.prototype.off=function(t,i){ge(this,t,i)}}function ae(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Gn(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Li(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function Vt(e){ae(e),Gn(e)}function ki(e){return e.target||e.srcElement}function Un(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),me&&e.ctrlKey&&t==1&&(t=3),t}var ra=function(){if(A&&E<9)return!1;var e=k("div");return"draggable"in e||"dragDrop"in e}(),Ti;function ia(e){if(Ti==null){var t=k("span","​");ve(e,k("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Ti=t.offsetWidth<=1&&t.offsetHeight>2&&!(A&&E<8))}var i=Ti?k("span","​"):k("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var Mi;function na(e){if(Mi!=null)return Mi;var t=ve(e,document.createTextNode("AخA")),i=it(t,0,1).getBoundingClientRect(),r=it(t,1,2).getBoundingClientRect();return Ke(e),!i||i.left==i.right?!1:Mi=r.right-i.right<3}var Di=` b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],r=e.length;t<=r;){var n=e.indexOf(` `,t);n==-1&&(n=e.length);var l=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),o=l.indexOf("\r");o!=-1?(i.push(l.slice(0,o)),t+=o+1):(i.push(l),t=n+1)}return i}:function(e){return e.split(/\r\n?|\n/)},la=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},oa=function(){var e=k("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Ni=null;function aa(e){if(Ni!=null)return Ni;var t=ve(e,k("span","x")),i=t.getBoundingClientRect(),r=it(t,0,1).getBoundingClientRect();return Ni=Math.abs(i.left-r.left)>1}var Ai={},St={};function sa(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ai[e]=t}function ua(e,t){St[e]=t}function Pr(e){if(typeof e=="string"&&St.hasOwnProperty(e))e=St[e];else if(e&&typeof e.name=="string"&&St.hasOwnProperty(e.name)){var t=St[e.name];typeof t=="string"&&(t={name:t}),e=En(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Pr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Pr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Oi(e,t){t=Pr(t);var i=Ai[t.name];if(!i)return Oi(e,"text/plain");var r=i(e,t);if(Lt.hasOwnProperty(t.name)){var n=Lt[t.name];for(var l in n)n.hasOwnProperty(l)&&(r.hasOwnProperty(l)&&(r["_"+l]=r[l]),r[l]=n[l])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var o in t.modeProps)r[o]=t.modeProps[o];return r}var Lt={};function fa(e,t){var i=Lt.hasOwnProperty(e)?Lt[e]:Lt[e]={};lt(t,i)}function ot(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var n=t[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function Wi(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function Kn(e,t,i){return e.startState?e.startState(t,i):!0}var U=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};U.prototype.eol=function(){return this.pos>=this.string.length},U.prototype.sol=function(){return this.pos==this.lineStart},U.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},U.prototype.next=function(){if(this.post},U.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},U.prototype.skipToEnd=function(){this.pos=this.string.length},U.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},U.prototype.backUp=function(e){this.pos-=e},U.prototype.column=function(){return this.lastColumnPos0?null:(l&&t!==!1&&(this.pos+=l[0].length),l)}},U.prototype.current=function(){return this.string.slice(this.start,this.pos)},U.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},U.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},U.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function w(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var n=i.children[r],l=n.chunkSize();if(t=e.first&&ti?g(i,w(e,i).text.length):ha(t,w(e,t.line).text.length)}function ha(e,t){var i=e.ch;return i==null||i>t?g(e.line,t):i<0?g(e.line,0):e}function Xn(e,t){for(var i=[],r=0;rthis.maxLookAhead&&(this.maxLookAhead=e),t},Oe.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Oe.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Oe.fromSaved=function(e,t,i){return t instanceof Br?new Oe(e,ot(e.mode,t.state),i,t.lookAhead):new Oe(e,ot(e.mode,t),i)},Oe.prototype.save=function(e){var t=e!==!1?ot(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Br(t,this.maxLookAhead):t};function Yn(e,t,i,r){var n=[e.state.modeGen],l={};Vn(e,t.text,e.doc.mode,i,function(u,f){return n.push(u,f)},l,r);for(var o=i.state,a=function(u){i.baseTokens=n;var f=e.state.overlays[u],h=1,d=0;i.state=!0,Vn(e,t.text,f.mode,i,function(c,p){for(var v=h;dc&&n.splice(h,1,c,n[h+1],y),h+=2,d=Math.min(c,y)}if(p)if(f.opaque)n.splice(v,h-v,c,"overlay "+p),h=v+2;else for(;ve.options.maxHighlightLength&&ot(e.doc.mode,r.state),l=Yn(e,t,r);n&&(r.state=n),t.stateAfter=r.save(!n),t.styles=l.styles,l.classes?t.styleClasses=l.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function er(e,t,i){var r=e.doc,n=e.display;if(!r.mode.startState)return new Oe(r,!0,t);var l=ca(e,t,i),o=l>r.first&&w(r,l-1).stateAfter,a=o?Oe.fromSaved(r,o,l):new Oe(r,Kn(r.mode),l);return r.iter(l,t,function(s){Ii(e,s.text,a);var u=a.line;s.stateAfter=u==t-1||u%5==0||u>=n.viewFrom&&ut.start)return l}throw new Error("Mode "+e.name+" failed to advance stream.")}var Qn=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function Jn(e,t,i,r){var n=e.doc,l=n.mode,o;t=D(n,t);var a=w(n,t.line),s=er(e,t.line,i),u=new U(a.text,e.options.tabSize,s),f;for(r&&(f=[]);(r||u.pose.options.maxHighlightLength?(a=!1,o&&Ii(e,t,r,f.pos),f.pos=t.length,h=null):h=jn(Bi(i,f,r.state,d),l),d){var c=d[0].name;c&&(h="m-"+(h?c+" "+h:c))}if(!a||u!=h){for(;so;--a){if(a<=l.first)return l.first;var s=w(l,a-1),u=s.stateAfter;if(u&&(!i||a+(u instanceof Br?u.lookAhead:0)<=l.modeFrontier))return a;var f=xe(s.text,null,e.options.tabSize);(n==null||r>f)&&(n=a-1,r=f)}return n}function da(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontieri;r--){var n=w(e,r).stateAfter;if(n&&(!(n instanceof Br)||r+n.lookAhead=t:l.to>t);(r||(r=[])).push(new Rr(o,l.from,s?null:l.to))}}return r}function ba(e,t,i){var r;if(e)for(var n=0;n=t:l.to>t);if(a||l.from==t&&o.type=="bookmark"&&(!i||l.marker.insertLeft)){var s=l.from==null||(o.inclusiveLeft?l.from<=t:l.from0&&a)for(var C=0;C0)){var f=[s,1],h=M(u.from,a.from),d=M(u.to,a.to);(h<0||!o.inclusiveLeft&&!h)&&f.push({from:u.from,to:a.from}),(d>0||!o.inclusiveRight&&!d)&&f.push({from:a.to,to:u.to}),n.splice.apply(n,f),s+=f.length-3}}return n}function tl(e){var t=e.markedSpans;if(t){for(var i=0;it)&&(!r||zi(r,l.marker)<0)&&(r=l.marker)}return r}function ll(e,t,i,r,n){var l=w(e,t),o=Ee&&l.markedSpans;if(o)for(var a=0;a=0&&h<=0||f<=0&&h>=0)&&(f<=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?M(u.to,i)>=0:M(u.to,i)>0)||f>=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?M(u.from,r)<=0:M(u.from,r)<0)))return!0}}}function Le(e){for(var t;t=nl(e);)e=t.find(-1,!0).line;return e}function wa(e){for(var t;t=Ur(e);)e=t.find(1,!0).line;return e}function Sa(e){for(var t,i;t=Ur(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Gi(e,t){var i=w(e,t),r=Le(i);return i==r?t:H(r)}function ol(e,t){if(t>e.lastLine())return t;var i=w(e,t),r;if(!Ye(e,i))return t;for(;r=Ur(i);)i=r.find(1,!0).line;return H(i)+1}function Ye(e,t){var i=Ee&&t.markedSpans;if(i){for(var r=void 0,n=0;nt.maxLineLength&&(t.maxLineLength=n,t.maxLine=r)})}var kt=function(e,t,i){this.text=e,rl(this,t),this.height=i?i(this):1};kt.prototype.lineNo=function(){return H(this)},wt(kt);function La(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),tl(e),rl(e,i);var n=r?r(e):1;n!=e.height&&Ae(e,n)}function ka(e){e.parent=null,tl(e)}var Ta={},Ma={};function al(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?Ma:Ta;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function sl(e,t){var i=Ct("span",null,null,ie?"padding-right: .1px":null),r={pre:Ct("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var l=n?t.rest[n-1]:t.line,o=void 0;r.pos=0,r.addToken=Na,na(e.display.measure)&&(o=Pe(l,e.doc.direction))&&(r.addToken=Oa(r.addToken,o)),r.map=[];var a=t!=e.display.externalMeasured&&H(l);Wa(l,r,qn(e,l,a)),l.styleClasses&&(l.styleClasses.bgClass&&(r.bgClass=gi(l.styleClasses.bgClass,r.bgClass||"")),l.styleClasses.textClass&&(r.textClass=gi(l.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(ia(e.display.measure))),n==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(ie){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return G(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=gi(r.pre.className,r.textClass||"")),r}function Da(e){var t=k("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Na(e,t,i,r,n,l,o){if(t){var a=e.splitSpaces?Aa(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,f;if(!s.test(t))e.col+=t.length,f=document.createTextNode(a),e.map.push(e.pos,e.pos+t.length,f),A&&E<9&&(u=!0),e.pos+=t.length;else{f=document.createDocumentFragment();for(var h=0;;){s.lastIndex=h;var d=s.exec(t),c=d?d.index-h:t.length-h;if(c){var p=document.createTextNode(a.slice(h,h+c));A&&E<9?f.appendChild(k("span",[p])):f.appendChild(p),e.map.push(e.pos,e.pos+c,p),e.col+=c,e.pos+=c}if(!d)break;h+=c+1;var v=void 0;if(d[0]==" "){var y=e.cm.options.tabSize,m=y-e.col%y;v=f.appendChild(k("span",xi(m),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text"," "),e.col+=m}else d[0]=="\r"||d[0]==` diff --git a/admin-views/dist/assets/codemirror-f52141d0.js.gz b/admin-views/dist/assets/codemirror-f52141d0.js.gz new file mode 100644 index 00000000..4f7d36ae Binary files /dev/null and b/admin-views/dist/assets/codemirror-f52141d0.js.gz differ diff --git a/admin-views/dist/assets/cssMode-654fb69e.js.gz b/admin-views/dist/assets/cssMode-654fb69e.js.gz deleted file mode 100644 index 8e7e1787..00000000 Binary files a/admin-views/dist/assets/cssMode-654fb69e.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/cssMode-654fb69e.js b/admin-views/dist/assets/cssMode-d4cd1730.js similarity index 99% rename from admin-views/dist/assets/cssMode-654fb69e.js rename to admin-views/dist/assets/cssMode-d4cd1730.js index 20dd64cf..2699580f 100644 --- a/admin-views/dist/assets/cssMode-654fb69e.js +++ b/admin-views/dist/assets/cssMode-d4cd1730.js @@ -1,4 +1,4 @@ -import{e as x,R as Me,l as v,a as T,U as Pe}from"./editor.main-a369f260.js";import"./index-91036dd3.js";var Fe=2*60*1e3,je=function(){function n(t){var a=this;this._defaults=t,this._worker=null,this._idleCheckInterval=window.setInterval(function(){return a._checkIfIdle()},30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return a._stopWorker()})}return n.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},n.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},n.prototype._checkIfIdle=function(){if(this._worker){var t=Date.now()-this._lastUsedTime;t>Fe&&this._stopWorker()}},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=x.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var t=this,a=[],r=0;r0&&(s.arguments=i),s}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.title)&&u.string(e.command)}n.is=a})(P||(P={}));var A;(function(n){function t(i,o){return{range:i,newText:o}}n.replace=t;function a(i,o){return{range:{start:i,end:i},newText:o}}n.insert=a;function r(i){return{range:i,newText:""}}n.del=r;function e(i){var o=i;return u.objectLiteral(o)&&u.string(o.newText)&&m.is(o.range)}n.is=e})(A||(A={}));var R;(function(n){function t(r,e,i){var o={label:r};return e!==void 0&&(o.needsConfirmation=e),i!==void 0&&(o.description=i),o}n.create=t;function a(r){var e=r;return e!==void 0&&u.objectLiteral(e)&&u.string(e.label)&&(u.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(u.string(e.description)||e.description===void 0)}n.is=a})(R||(R={}));var _;(function(n){function t(a){var r=a;return typeof r=="string"}n.is=t})(_||(_={}));var E;(function(n){function t(i,o,s){return{range:i,newText:o,annotationId:s}}n.replace=t;function a(i,o,s){return{range:{start:i,end:i},newText:o,annotationId:s}}n.insert=a;function r(i,o){return{range:i,newText:"",annotationId:o}}n.del=r;function e(i){var o=i;return A.is(o)&&(R.is(o.annotationId)||_.is(o.annotationId))}n.is=e})(E||(E={}));var V;(function(n){function t(r,e){return{textDocument:r,edits:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&O.is(e.textDocument)&&Array.isArray(e.edits)}n.is=a})(V||(V={}));var L;(function(n){function t(r,e,i){var o={kind:"create",uri:r};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(o.options=e),i!==void 0&&(o.annotationId=i),o}n.create=t;function a(r){var e=r;return e&&e.kind==="create"&&u.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||u.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||u.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(L||(L={}));var S;(function(n){function t(r,e,i,o){var s={kind:"rename",oldUri:r,newUri:e};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}n.create=t;function a(r){var e=r;return e&&e.kind==="rename"&&u.string(e.oldUri)&&u.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||u.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||u.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(S||(S={}));var F;(function(n){function t(r,e,i){var o={kind:"delete",uri:r};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(o.options=e),i!==void 0&&(o.annotationId=i),o}n.create=t;function a(r){var e=r;return e&&e.kind==="delete"&&u.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||u.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||u.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(F||(F={}));var q;(function(n){function t(a){var r=a;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(e){return u.string(e.kind)?L.is(e)||S.is(e)||F.is(e):V.is(e)}))}n.is=t})(q||(q={}));var W=function(){function n(t,a){this.edits=t,this.changeAnnotations=a}return n.prototype.insert=function(t,a,r){var e,i;if(r===void 0?e=A.insert(t,a):_.is(r)?(i=r,e=E.insert(t,a,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),e=E.insert(t,a,i)),this.edits.push(e),i!==void 0)return i},n.prototype.replace=function(t,a,r){var e,i;if(r===void 0?e=A.replace(t,a):_.is(r)?(i=r,e=E.replace(t,a,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),e=E.replace(t,a,i)),this.edits.push(e),i!==void 0)return i},n.prototype.delete=function(t,a){var r,e;if(a===void 0?r=A.del(t):_.is(a)?(e=a,r=E.del(t,a)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(a),r=E.del(t,e)),this.edits.push(r),e!==void 0)return e},n.prototype.add=function(t){this.edits.push(t)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),ae=function(){function n(t){this._annotations=t===void 0?Object.create(null):t,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(t,a){var r;if(_.is(t)?r=t:(r=this.nextId(),a=t),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(a===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=a,this._size++,r},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}();(function(){function n(t){var a=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new ae(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(V.is(r)){var e=new W(r.edits,a._changeAnnotations);a._textEditChanges[r.textDocument.uri]=e}})):t.changes&&Object.keys(t.changes).forEach(function(r){var e=new W(t.changes[r]);a._textEditChanges[r]=e})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(t){if(O.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a={uri:t.uri,version:t.version},r=this._textEditChanges[a.uri];if(!r){var e=[],i={textDocument:a,edits:e};this._workspaceEdit.documentChanges.push(i),r=new W(e,this._changeAnnotations),this._textEditChanges[a.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[t];if(!r){var e=[];this._workspaceEdit.changes[t]=e,r=new W(e),this._textEditChanges[t]=r}return r}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(t,a,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(a)||_.is(a)?e=a:r=a;var i,o;if(e===void 0?i=L.create(t,r):(o=_.is(e)?e:this._changeAnnotations.manage(e),i=L.create(t,r,o)),this._workspaceEdit.documentChanges.push(i),o!==void 0)return o},n.prototype.renameFile=function(t,a,r,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;R.is(r)||_.is(r)?i=r:e=r;var o,s;if(i===void 0?o=S.create(t,a,e):(s=_.is(i)?i:this._changeAnnotations.manage(i),o=S.create(t,a,e,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n.prototype.deleteFile=function(t,a,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(a)||_.is(a)?e=a:r=a;var i,o;if(e===void 0?i=F.create(t,r):(o=_.is(e)?e:this._changeAnnotations.manage(e),i=F.create(t,r,o)),this._workspaceEdit.documentChanges.push(i),o!==void 0)return o},n})();var oe;(function(n){function t(r){return{uri:r}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)}n.is=a})(oe||(oe={}));var ue;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&u.integer(e.version)}n.is=a})(ue||(ue={}));var O;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&(e.version===null||u.integer(e.version))}n.is=a})(O||(O={}));var se;(function(n){function t(r,e,i,o){return{uri:r,languageId:e,version:i,text:o}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&u.string(e.languageId)&&u.integer(e.version)&&u.string(e.text)}n.is=a})(se||(se={}));var j;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(j||(j={}));(function(n){function t(a){var r=a;return r===n.PlainText||r===n.Markdown}n.is=t})(j||(j={}));var Q;(function(n){function t(a){var r=a;return u.objectLiteral(a)&&j.is(r.kind)&&u.string(r.value)}n.is=t})(Q||(Q={}));var l;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(l||(l={}));var G;(function(n){n.PlainText=1,n.Snippet=2})(G||(G={}));var ce;(function(n){n.Deprecated=1})(ce||(ce={}));var de;(function(n){function t(r,e,i){return{newText:r,insert:e,replace:i}}n.create=t;function a(r){var e=r;return e&&u.string(e.newText)&&m.is(e.insert)&&m.is(e.replace)}n.is=a})(de||(de={}));var fe;(function(n){n.asIs=1,n.adjustIndentation=2})(fe||(fe={}));var ge;(function(n){function t(a){return{label:a}}n.create=t})(ge||(ge={}));var le;(function(n){function t(a,r){return{items:a||[],isIncomplete:!!r}}n.create=t})(le||(le={}));var z;(function(n){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=t;function a(r){var e=r;return u.string(e)||u.objectLiteral(e)&&u.string(e.language)&&u.string(e.value)}n.is=a})(z||(z={}));var he;(function(n){function t(a){var r=a;return!!r&&u.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||u.typedArray(r.contents,z.is))&&(a.range===void 0||m.is(a.range))}n.is=t})(he||(he={}));var ve;(function(n){function t(a,r){return r?{label:a,documentation:r}:{label:a}}n.create=t})(ve||(ve={}));var pe;(function(n){function t(a,r){for(var e=[],i=2;i=0;f--){var p=c[f],b=i.offsetAt(p.range.start),d=i.offsetAt(p.range.end);if(d<=g)s=s.substring(0,b)+p.newText+s.substring(d,s.length);else throw new Error("Overlapping edit");g=b}return s}n.applyEdits=r;function e(i,o){if(i.length<=1)return i;var s=i.length/2|0,c=i.slice(0,s),g=i.slice(s);e(c,o),e(g,o);for(var f=0,p=0,b=0;fFe&&this._stopWorker()}},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=x.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var t=this,a=[],r=0;r0&&(s.arguments=i),s}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.title)&&u.string(e.command)}n.is=a})(P||(P={}));var A;(function(n){function t(i,o){return{range:i,newText:o}}n.replace=t;function a(i,o){return{range:{start:i,end:i},newText:o}}n.insert=a;function r(i){return{range:i,newText:""}}n.del=r;function e(i){var o=i;return u.objectLiteral(o)&&u.string(o.newText)&&m.is(o.range)}n.is=e})(A||(A={}));var R;(function(n){function t(r,e,i){var o={label:r};return e!==void 0&&(o.needsConfirmation=e),i!==void 0&&(o.description=i),o}n.create=t;function a(r){var e=r;return e!==void 0&&u.objectLiteral(e)&&u.string(e.label)&&(u.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(u.string(e.description)||e.description===void 0)}n.is=a})(R||(R={}));var _;(function(n){function t(a){var r=a;return typeof r=="string"}n.is=t})(_||(_={}));var E;(function(n){function t(i,o,s){return{range:i,newText:o,annotationId:s}}n.replace=t;function a(i,o,s){return{range:{start:i,end:i},newText:o,annotationId:s}}n.insert=a;function r(i,o){return{range:i,newText:"",annotationId:o}}n.del=r;function e(i){var o=i;return A.is(o)&&(R.is(o.annotationId)||_.is(o.annotationId))}n.is=e})(E||(E={}));var V;(function(n){function t(r,e){return{textDocument:r,edits:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&O.is(e.textDocument)&&Array.isArray(e.edits)}n.is=a})(V||(V={}));var L;(function(n){function t(r,e,i){var o={kind:"create",uri:r};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(o.options=e),i!==void 0&&(o.annotationId=i),o}n.create=t;function a(r){var e=r;return e&&e.kind==="create"&&u.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||u.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||u.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(L||(L={}));var S;(function(n){function t(r,e,i,o){var s={kind:"rename",oldUri:r,newUri:e};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(s.options=i),o!==void 0&&(s.annotationId=o),s}n.create=t;function a(r){var e=r;return e&&e.kind==="rename"&&u.string(e.oldUri)&&u.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||u.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||u.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(S||(S={}));var F;(function(n){function t(r,e,i){var o={kind:"delete",uri:r};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(o.options=e),i!==void 0&&(o.annotationId=i),o}n.create=t;function a(r){var e=r;return e&&e.kind==="delete"&&u.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||u.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||u.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||_.is(e.annotationId))}n.is=a})(F||(F={}));var q;(function(n){function t(a){var r=a;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(e){return u.string(e.kind)?L.is(e)||S.is(e)||F.is(e):V.is(e)}))}n.is=t})(q||(q={}));var W=function(){function n(t,a){this.edits=t,this.changeAnnotations=a}return n.prototype.insert=function(t,a,r){var e,i;if(r===void 0?e=A.insert(t,a):_.is(r)?(i=r,e=E.insert(t,a,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),e=E.insert(t,a,i)),this.edits.push(e),i!==void 0)return i},n.prototype.replace=function(t,a,r){var e,i;if(r===void 0?e=A.replace(t,a):_.is(r)?(i=r,e=E.replace(t,a,r)):(this.assertChangeAnnotations(this.changeAnnotations),i=this.changeAnnotations.manage(r),e=E.replace(t,a,i)),this.edits.push(e),i!==void 0)return i},n.prototype.delete=function(t,a){var r,e;if(a===void 0?r=A.del(t):_.is(a)?(e=a,r=E.del(t,a)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(a),r=E.del(t,e)),this.edits.push(r),e!==void 0)return e},n.prototype.add=function(t){this.edits.push(t)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(t){if(t===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),ae=function(){function n(t){this._annotations=t===void 0?Object.create(null):t,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(t,a){var r;if(_.is(t)?r=t:(r=this.nextId(),a=t),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(a===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=a,this._size++,r},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}();(function(){function n(t){var a=this;this._textEditChanges=Object.create(null),t!==void 0?(this._workspaceEdit=t,t.documentChanges?(this._changeAnnotations=new ae(t.changeAnnotations),t.changeAnnotations=this._changeAnnotations.all(),t.documentChanges.forEach(function(r){if(V.is(r)){var e=new W(r.edits,a._changeAnnotations);a._textEditChanges[r.textDocument.uri]=e}})):t.changes&&Object.keys(t.changes).forEach(function(r){var e=new W(t.changes[r]);a._textEditChanges[r]=e})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(t){if(O.is(t)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a={uri:t.uri,version:t.version},r=this._textEditChanges[a.uri];if(!r){var e=[],i={textDocument:a,edits:e};this._workspaceEdit.documentChanges.push(i),r=new W(e,this._changeAnnotations),this._textEditChanges[a.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[t];if(!r){var e=[];this._workspaceEdit.changes[t]=e,r=new W(e),this._textEditChanges[t]=r}return r}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(t,a,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(a)||_.is(a)?e=a:r=a;var i,o;if(e===void 0?i=L.create(t,r):(o=_.is(e)?e:this._changeAnnotations.manage(e),i=L.create(t,r,o)),this._workspaceEdit.documentChanges.push(i),o!==void 0)return o},n.prototype.renameFile=function(t,a,r,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i;R.is(r)||_.is(r)?i=r:e=r;var o,s;if(i===void 0?o=S.create(t,a,e):(s=_.is(i)?i:this._changeAnnotations.manage(i),o=S.create(t,a,e,s)),this._workspaceEdit.documentChanges.push(o),s!==void 0)return s},n.prototype.deleteFile=function(t,a,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;R.is(a)||_.is(a)?e=a:r=a;var i,o;if(e===void 0?i=F.create(t,r):(o=_.is(e)?e:this._changeAnnotations.manage(e),i=F.create(t,r,o)),this._workspaceEdit.documentChanges.push(i),o!==void 0)return o},n})();var oe;(function(n){function t(r){return{uri:r}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)}n.is=a})(oe||(oe={}));var ue;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&u.integer(e.version)}n.is=a})(ue||(ue={}));var O;(function(n){function t(r,e){return{uri:r,version:e}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&(e.version===null||u.integer(e.version))}n.is=a})(O||(O={}));var se;(function(n){function t(r,e,i,o){return{uri:r,languageId:e,version:i,text:o}}n.create=t;function a(r){var e=r;return u.defined(e)&&u.string(e.uri)&&u.string(e.languageId)&&u.integer(e.version)&&u.string(e.text)}n.is=a})(se||(se={}));var j;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(j||(j={}));(function(n){function t(a){var r=a;return r===n.PlainText||r===n.Markdown}n.is=t})(j||(j={}));var Q;(function(n){function t(a){var r=a;return u.objectLiteral(a)&&j.is(r.kind)&&u.string(r.value)}n.is=t})(Q||(Q={}));var l;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(l||(l={}));var G;(function(n){n.PlainText=1,n.Snippet=2})(G||(G={}));var ce;(function(n){n.Deprecated=1})(ce||(ce={}));var de;(function(n){function t(r,e,i){return{newText:r,insert:e,replace:i}}n.create=t;function a(r){var e=r;return e&&u.string(e.newText)&&m.is(e.insert)&&m.is(e.replace)}n.is=a})(de||(de={}));var fe;(function(n){n.asIs=1,n.adjustIndentation=2})(fe||(fe={}));var ge;(function(n){function t(a){return{label:a}}n.create=t})(ge||(ge={}));var le;(function(n){function t(a,r){return{items:a||[],isIncomplete:!!r}}n.create=t})(le||(le={}));var z;(function(n){function t(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=t;function a(r){var e=r;return u.string(e)||u.objectLiteral(e)&&u.string(e.language)&&u.string(e.value)}n.is=a})(z||(z={}));var he;(function(n){function t(a){var r=a;return!!r&&u.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||u.typedArray(r.contents,z.is))&&(a.range===void 0||m.is(a.range))}n.is=t})(he||(he={}));var ve;(function(n){function t(a,r){return r?{label:a,documentation:r}:{label:a}}n.create=t})(ve||(ve={}));var pe;(function(n){function t(a,r){for(var e=[],i=2;i=0;f--){var p=c[f],b=i.offsetAt(p.range.start),d=i.offsetAt(p.range.end);if(d<=g)s=s.substring(0,b)+p.newText+s.substring(d,s.length);else throw new Error("Overlapping edit");g=b}return s}n.applyEdits=r;function e(i,o){if(i.length<=1)return i;var s=i.length/2|0,c=i.slice(0,s),g=i.slice(s);e(c,o),e(g,o);for(var f=0,p=0,b=0;f0&&t.push(a.length),this._lineOffsets=t}return this._lineOffsets},n.prototype.positionAt=function(t){t=Math.max(Math.min(t,this._content.length),0);var a=this.getLineOffsets(),r=0,e=a.length;if(e===0)return k.create(0,t);for(;rt?e=i:r=i+1}var o=r-1;return k.create(o,t-a[o])},n.prototype.offsetAt=function(t){var a=this.getLineOffsets();if(t.line>=a.length)return this._content.length;if(t.line<0)return 0;var r=a[t.line],e=t.line+1"u"}n.undefined=r;function e(d){return d===!0||d===!1}n.boolean=e;function i(d){return t.call(d)==="[object String]"}n.string=i;function o(d){return t.call(d)==="[object Number]"}n.number=o;function s(d,y,N){return t.call(d)==="[object Number]"&&y<=d&&d<=N}n.numberRange=s;function c(d){return t.call(d)==="[object Number]"&&-2147483648<=d&&d<=2147483647}n.integer=c;function g(d){return t.call(d)==="[object Number]"&&0<=d&&d<=2147483647}n.uinteger=g;function f(d){return t.call(d)==="[object Function]"}n.func=f;function p(d){return d!==null&&typeof d=="object"}n.objectLiteral=p;function b(d,y){return Array.isArray(d)&&d.every(y)}n.typedArray=b})(u||(u={}));var We=function(){function n(t,a,r){var e=this;this._languageId=t,this._worker=a,this._disposables=[],this._listener=Object.create(null);var i=function(s){var c=s.getLanguageId();if(c===e._languageId){var g;e._listener[s.uri.toString()]=s.onDidChangeContent(function(){window.clearTimeout(g),g=window.setTimeout(function(){return e._doValidate(s.uri,c)},500)}),e._doValidate(s.uri,c)}},o=function(s){x.setModelMarkers(s,e._languageId,[]);var c=s.uri.toString(),g=e._listener[c];g&&(g.dispose(),delete e._listener[c])};this._disposables.push(x.onDidCreateModel(i)),this._disposables.push(x.onWillDisposeModel(o)),this._disposables.push(x.onDidChangeModelLanguage(function(s){o(s.model),i(s.model)})),r.onDidChange(function(s){x.getModels().forEach(function(c){c.getLanguageId()===e._languageId&&(o(c),i(c))})}),this._disposables.push({dispose:function(){for(var s in e._listener)e._listener[s].dispose()}}),x.getModels().forEach(i)}return n.prototype.dispose=function(){this._disposables.forEach(function(t){return t&&t.dispose()}),this._disposables=[]},n.prototype._doValidate=function(t,a){this._worker(t).then(function(r){return r.doValidation(t.toString())}).then(function(r){var e=r.map(function(o){return He(t,o)}),i=x.getModel(t);i&&i.getLanguageId()===a&&x.setModelMarkers(i,a,e)}).then(void 0,function(r){console.error(r)})},n}();function Ue(n){switch(n){case I.Error:return T.Error;case I.Warning:return T.Warning;case I.Information:return T.Info;case I.Hint:return T.Hint;default:return T.Info}}function He(n,t){var a=typeof t.code=="number"?String(t.code):t.code;return{severity:Ue(t.severity),startLineNumber:t.range.start.line+1,startColumn:t.range.start.character+1,endLineNumber:t.range.end.line+1,endColumn:t.range.end.character+1,message:t.message,code:a,source:t.source}}function C(n){if(n)return{character:n.column-1,line:n.lineNumber-1}}function Ve(n){if(n)return{start:{line:n.startLineNumber-1,character:n.startColumn-1},end:{line:n.endLineNumber-1,character:n.endColumn-1}}}function w(n){if(n)return new Me(n.start.line+1,n.start.character+1,n.end.line+1,n.end.character+1)}function Oe(n){return typeof n.insert<"u"&&typeof n.replace<"u"}function ze(n){var t=v.CompletionItemKind;switch(n){case l.Text:return t.Text;case l.Method:return t.Method;case l.Function:return t.Function;case l.Constructor:return t.Constructor;case l.Field:return t.Field;case l.Variable:return t.Variable;case l.Class:return t.Class;case l.Interface:return t.Interface;case l.Module:return t.Module;case l.Property:return t.Property;case l.Unit:return t.Unit;case l.Value:return t.Value;case l.Enum:return t.Enum;case l.Keyword:return t.Keyword;case l.Snippet:return t.Snippet;case l.Color:return t.Color;case l.File:return t.File;case l.Reference:return t.Reference}return t.Property}function J(n){if(n)return{range:w(n.range),text:n.newText}}function Xe(n){return n&&n.command==="editor.action.triggerSuggest"?{id:n.command,title:n.title,arguments:n.arguments}:void 0}var $e=function(){function n(t){this._worker=t}return Object.defineProperty(n.prototype,"triggerCharacters",{get:function(){return["/","-",":"]},enumerable:!1,configurable:!0}),n.prototype.provideCompletionItems=function(t,a,r,e){var i=t.uri;return this._worker(i).then(function(o){return o.doComplete(i.toString(),C(a))}).then(function(o){if(o){var s=t.getWordUntilPosition(a),c=new Me(a.lineNumber,s.startColumn,a.lineNumber,s.endColumn),g=o.items.map(function(f){var p={label:f.label,insertText:f.insertText||f.label,sortText:f.sortText,filterText:f.filterText,documentation:f.documentation,detail:f.detail,command:Xe(f.command),range:c,kind:ze(f.kind)};return f.textEdit&&(Oe(f.textEdit)?p.range={insert:w(f.textEdit.insert),replace:w(f.textEdit.replace)}:p.range=w(f.textEdit.range),p.insertText=f.textEdit.newText),f.additionalTextEdits&&(p.additionalTextEdits=f.additionalTextEdits.map(J)),f.insertTextFormat===G.Snippet&&(p.insertTextRules=v.CompletionItemInsertTextRule.InsertAsSnippet),p});return{isIncomplete:o.isIncomplete,suggestions:g}}})},n}();function Be(n){return n&&typeof n=="object"&&typeof n.kind=="string"}function Te(n){return typeof n=="string"?{value:n}:Be(n)?n.kind==="plaintext"?{value:n.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:n.value}:{value:"```"+n.language+` `+n.value+"\n```\n"}}function qe(n){if(n)return Array.isArray(n)?n.map(Te):[Te(n)]}var Qe=function(){function n(t){this._worker=t}return n.prototype.provideHover=function(t,a,r){var e=t.uri;return this._worker(e).then(function(i){return i.doHover(e.toString(),C(a))}).then(function(i){if(i)return{range:w(i.range),contents:qe(i.contents)}})},n}();function Ge(n){switch(n){case M.Read:return v.DocumentHighlightKind.Read;case M.Write:return v.DocumentHighlightKind.Write;case M.Text:return v.DocumentHighlightKind.Text}return v.DocumentHighlightKind.Text}var Je=function(){function n(t){this._worker=t}return n.prototype.provideDocumentHighlights=function(t,a,r){var e=t.uri;return this._worker(e).then(function(i){return i.findDocumentHighlights(e.toString(),C(a))}).then(function(i){if(i)return i.map(function(o){return{range:w(o.range),kind:Ge(o.kind)}})})},n}();function Le(n){return{uri:Pe.parse(n.uri),range:w(n.range)}}var Ye=function(){function n(t){this._worker=t}return n.prototype.provideDefinition=function(t,a,r){var e=t.uri;return this._worker(e).then(function(i){return i.findDefinition(e.toString(),C(a))}).then(function(i){if(i)return[Le(i)]})},n}(),Ze=function(){function n(t){this._worker=t}return n.prototype.provideReferences=function(t,a,r,e){var i=t.uri;return this._worker(i).then(function(o){return o.findReferences(i.toString(),C(a))}).then(function(o){if(o)return o.map(Le)})},n}();function Ke(n){if(!(!n||!n.changes)){var t=[];for(var a in n.changes)for(var r=Pe.parse(a),e=0,i=n.changes[a];eY[R]})}}}return Object.freeze(Object.defineProperty(J,Symbol.toStringTag,{value:"Module"}))}var Tt={exports:{}};const Yt=Rt(Bt);(function(J,rt){(function(Y,R){J.exports=R(Yt)})(self,function($){return(()=>{var Y={"./index.js":(L,K,mt)=>{mt.r(K);var O=mt("echarts/lib/echarts");O.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(f){return{fill:f.get("color")}},visualDrawType:"fill",optionUpdated:function(){var f=this.option;f.gridSize=Math.max(Math.floor(f.gridSize),4)},getInitialData:function(f,o){var a=O.helper.createDimensions(f.data,{coordDimensions:["value"]}),l=new O.List(a,this);return l.initData(f.data),l},defaultOption:{maskImage:null,shape:"circle",keepAspect:!1,left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,textStyle:{fontWeight:"normal"}}}),O.extendChartView({type:"wordCloud",render:function(f,o,a){var l=this.group;l.removeAll();var t=f.getData(),x=f.get("gridSize");f.layoutInstance.ondraw=function(d,r,T,P){var B=t.getItemModel(T),q=B.getModel("textStyle"),b=new O.graphic.Text({style:O.helper.createTextStyle(q),scaleX:1/P.info.mu,scaleY:1/P.info.mu,x:(P.gx+P.info.gw/2)*x,y:(P.gy+P.info.gh/2)*x,rotation:P.rot});b.setStyle({x:P.info.fillTextOffsetX,y:P.info.fillTextOffsetY+r*.5,text:d,verticalAlign:"middle",fill:t.getItemVisual(T,"style").fill,fontSize:r}),l.add(b),t.setItemGraphicEl(T,b),b.ensureState("emphasis").style=O.helper.createTextStyle(B.getModel(["emphasis","textStyle"]),{state:"emphasis"}),b.ensureState("blur").style=O.helper.createTextStyle(B.getModel(["blur","textStyle"]),{state:"blur"}),O.helper.enableHoverEmphasis(b,B.get(["emphasis","focus"]),B.get(["emphasis","blurScope"])),b.stateTransition={duration:f.get("animation")?f.get(["stateAnimation","duration"]):0,easing:f.get(["stateAnimation","easing"])},b.__highDownDispatcher=!0},this._model=f},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}});/*! +import{cv as Rt,f as Lt}from"./index-a61a86fd.js";import{h as Bt}from"./index-a466bea1.js";function Xt(J,rt){for(var $=0;$Y[R]})}}}return Object.freeze(Object.defineProperty(J,Symbol.toStringTag,{value:"Module"}))}var Tt={exports:{}};const Yt=Rt(Bt);(function(J,rt){(function(Y,R){J.exports=R(Yt)})(self,function($){return(()=>{var Y={"./index.js":(L,K,mt)=>{mt.r(K);var O=mt("echarts/lib/echarts");O.extendSeriesModel({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(f){return{fill:f.get("color")}},visualDrawType:"fill",optionUpdated:function(){var f=this.option;f.gridSize=Math.max(Math.floor(f.gridSize),4)},getInitialData:function(f,o){var a=O.helper.createDimensions(f.data,{coordDimensions:["value"]}),l=new O.List(a,this);return l.initData(f.data),l},defaultOption:{maskImage:null,shape:"circle",keepAspect:!1,left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,textStyle:{fontWeight:"normal"}}}),O.extendChartView({type:"wordCloud",render:function(f,o,a){var l=this.group;l.removeAll();var t=f.getData(),x=f.get("gridSize");f.layoutInstance.ondraw=function(d,r,T,P){var B=t.getItemModel(T),q=B.getModel("textStyle"),b=new O.graphic.Text({style:O.helper.createTextStyle(q),scaleX:1/P.info.mu,scaleY:1/P.info.mu,x:(P.gx+P.info.gw/2)*x,y:(P.gy+P.info.gh/2)*x,rotation:P.rot});b.setStyle({x:P.info.fillTextOffsetX,y:P.info.fillTextOffsetY+r*.5,text:d,verticalAlign:"middle",fill:t.getItemVisual(T,"style").fill,fontSize:r}),l.add(b),t.setItemGraphicEl(T,b),b.ensureState("emphasis").style=O.helper.createTextStyle(B.getModel(["emphasis","textStyle"]),{state:"emphasis"}),b.ensureState("blur").style=O.helper.createTextStyle(B.getModel(["blur","textStyle"]),{state:"blur"}),O.helper.enableHoverEmphasis(b,B.get(["emphasis","focus"]),B.get(["emphasis","blurScope"])),b.stateTransition={duration:f.get("animation")?f.get(["stateAnimation","duration"]):0,easing:f.get(["stateAnimation","easing"])},b.__highDownDispatcher=!0},this._model=f},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}});/*! * wordcloud2.js * http://timdream.org/wordcloud2.js/ * diff --git a/admin-views/dist/assets/echarts-wordcloud-d3f6dff9.js.gz b/admin-views/dist/assets/echarts-wordcloud-d3f6dff9.js.gz new file mode 100644 index 00000000..d04829e2 Binary files /dev/null and b/admin-views/dist/assets/echarts-wordcloud-d3f6dff9.js.gz differ diff --git a/admin-views/dist/assets/editor.main-a369f260.js.gz b/admin-views/dist/assets/editor.main-a369f260.js.gz deleted file mode 100644 index f454438b..00000000 Binary files a/admin-views/dist/assets/editor.main-a369f260.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/editor.main-a369f260.js b/admin-views/dist/assets/editor.main-ad4f8984.js similarity index 99% rename from admin-views/dist/assets/editor.main-a369f260.js rename to admin-views/dist/assets/editor.main-ad4f8984.js index 251b1833..ce63f18f 100644 --- a/admin-views/dist/assets/editor.main-a369f260.js +++ b/admin-views/dist/assets/editor.main-ad4f8984.js @@ -1,4 +1,4 @@ -import{aQ as ce}from"./index-91036dd3.js";function IB(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,function(i,n){const o=n[0];return typeof e[o]<"u"?e[o]:i}),t}function p(s,e,...t){return IB(e,t)}var Fw;const m_="en";let tb=!1,ib=!1,__=!1,wR=!1,SR=!1,WD=!1,gm,Bw=m_,EB,Na;const Et=typeof self=="object"?self:typeof global=="object"?global:{};let qi;typeof Et.vscode<"u"&&typeof Et.vscode.process<"u"?qi=Et.vscode.process:typeof process<"u"&&(qi=process);const NB=typeof((Fw=qi==null?void 0:qi.versions)===null||Fw===void 0?void 0:Fw.electron)=="string"&&qi.type==="renderer";if(typeof navigator=="object"&&!NB)Na=navigator.userAgent,tb=Na.indexOf("Windows")>=0,ib=Na.indexOf("Macintosh")>=0,WD=(Na.indexOf("Macintosh")>=0||Na.indexOf("iPad")>=0||Na.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,__=Na.indexOf("Linux")>=0,SR=!0,gm=navigator.language,Bw=gm;else if(typeof qi=="object"){tb=qi.platform==="win32",ib=qi.platform==="darwin",__=qi.platform==="linux",__&&qi.env.SNAP&&qi.env.SNAP_REVISION,gm=m_,Bw=m_;const s=qi.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s),t=e.availableLanguages["*"];gm=e.locale,Bw=t||m_,EB=e._translationsConfigFile}catch{}wR=!0}else console.error("Unable to resolve platform.");const Ai=tb,Me=ib,Cn=__,uo=wR,Tu=SR,lr=WD,TB=Na,qS=function(){if(Et.setImmediate)return Et.setImmediate.bind(Et);if(typeof Et.postMessage=="function"&&!Et.importScripts){let t=[];Et.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let o=0,r=t.length;o{const o=++i;t.push({id:o,callback:n}),Et.postMessage({vscodeSetImmediateId:o},"*")}}if(typeof(qi==null?void 0:qi.nextTick)=="function")return qi.nextTick.bind(qi);const e=Promise.resolve();return t=>e.then(t)}(),Ms=ib||WD?2:tb?1:3;let VI=!0,HI=!1;function yR(){if(!HI){HI=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,VI=new Uint16Array(s.buffer)[0]===512+1}return VI}const LR="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function AB(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of LR)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const DR=AB();function nb(s){let e=DR;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const RB={maxLen:1e3,windowSize:15,timeBudget:150};function sb(s,e,t,i,n=RB){if(t.length>n.maxLen){let d=s-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,s+n.maxLen/2),sb(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-o>=n.timeBudget);d++){const h=r-n.windowSize*d;e.lastIndex=Math.max(0,h);const c=MB(e,t,r,a);if(!c&&l||(l=c,h<=0))break;a=h}if(l){let d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function MB(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Ta=8;class xR{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class OB{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class kR{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class pi{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}compute(e,t,i){return i}}class Au{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class _h{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function pe(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class ze extends _h{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return pe(e,this.defaultValue)}}function GS(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class St extends _h{constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return GS(e,t,i,n)}validate(e){return St.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class er extends _h{constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(er.float(e,this.defaultValue))}}class kn extends _h{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return kn.string(e,this.defaultValue)}}function mn(s,e,t){return typeof s!="string"||t.indexOf(s)===-1?e:s}class ti extends _h{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return mn(e,this.defaultValue,this._allowedValues)}}class sf extends pi{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function PB(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class FB extends pi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),p("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:p("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class BB extends pi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:pe(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:pe(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function WB(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var wi;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(wi||(wi={}));function VB(s){switch(s){case"line":return wi.Line;case"block":return wi.Block;case"underline":return wi.Underline;case"line-thin":return wi.LineThin;case"block-outline":return wi.BlockOutline;case"underline-thin":return wi.UnderlineThin}}class HB extends Au{constructor(){super(126,[65,33])}compute(e,t,i){const n=["monaco-editor"];return t.get(33)&&n.push(t.get(33)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(65)==="default"?n.push("mouse-default"):t.get(65)==="copy"&&n.push("mouse-copy"),t.get(99)&&n.push("showUnused"),t.get(124)&&n.push("showDeprecated"),n.join(" ")}}class zB extends ze{constructor(){super(32,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class UB extends pi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(35,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Me},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:pe(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mn(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mn(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:pe(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:pe(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:pe(t.loop,this.defaultValue.loop)}}}class zn extends pi{constructor(){super(44,"fontLigatures",zn.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?zn.OFF:e==="true"?zn.ON:e:e?zn.ON:zn.OFF}}zn.OFF='"liga" off, "calt" off';zn.ON='"liga" on, "calt" on';class $B extends Au{constructor(){super(43)}compute(e,t,i){return e.fontInfo}}class jB extends _h{constructor(){super(45,"fontSize",Hi.fontSize,{type:"number",minimum:6,maximum:100,default:Hi.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){let t=er.float(e,this.defaultValue);return t===0?Hi.fontSize:er.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class Zo extends pi{constructor(){super(46,"fontWeight",Hi.fontWeight,{anyOf:[{type:"number",minimum:Zo.MINIMUM_VALUE,maximum:Zo.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:Zo.SUGGESTION_VALUES}],default:Hi.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(St.clampedInt(e,Hi.fontWeight,Zo.MINIMUM_VALUE,Zo.MAXIMUM_VALUE))}}Zo.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];Zo.MINIMUM_VALUE=1;Zo.MAXIMUM_VALUE=1e3;class KB extends pi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(50,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mn(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mn(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mn(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mn(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=a.multipleImplementations)!==null&&o!==void 0?o:mn(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mn(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:kn.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:kn.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:kn.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:kn.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:kn.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class qB extends pi{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(52,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),delay:St.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:pe(t.sticky,this.defaultValue.sticky),above:pe(t.above,this.defaultValue.above)}}}class Nc extends Au{constructor(){super(129,[49,57,37,64,91,59,60,93,116,119,120,121,2])}compute(e,t,i){return Nc.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:o}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,c=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const f=e.minimap.maxColumn,g=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,C=e.viewLineCount,b=e.remainingWidth,v=e.isViewportWrapping,w=c?2:3;let y=Math.floor(o*n);const k=y/o;let L=!1,D=!1,N=w*u,B=u/o,O=1;if(g==="fill"||g==="fit"){const{typicalViewportLineCount:we,extraLinesBeyondLastLine:Se,desiredRatio:Tt,minimapLineCount:bt}=Nc.computeContainedMinimapLineCount({viewLineCount:C,scrollBeyondLastLine:h,height:n,lineHeight:l,pixelRatio:o});if(C/bt>1)L=!0,D=!0,u=1,N=1,B=u/o;else{let Pt=!1,ht=u+1;if(g==="fit"){const Sn=Math.ceil((C+Se)*N);v&&a&&b<=t.stableFitRemainingWidth?(Pt=!0,ht=t.stableFitMaxMinimapScale):Pt=Sn>y}if(g==="fill"||Pt){L=!0;const Sn=u;N=Math.min(l*o,Math.max(1,Math.floor(1/Tt))),v&&a&&b<=t.stableFitRemainingWidth&&(ht=t.stableFitMaxMinimapScale),u=Math.min(ht,Math.max(1,Math.floor(N/w))),u>Sn&&(O=Math.min(2,u/Sn)),B=u/o/O,y=Math.ceil(Math.max(we,C+Se)*N),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const $=Math.floor(f*B),K=Math.min($,Math.max(0,Math.floor((b-_-2)*B/(d+B)))+Ta);let le=Math.floor(o*K);const de=le/o;le=Math.floor(le*O);const _e=c?1:2,De=m==="left"?0:i-K-_;return{renderMinimap:_e,minimapLeft:De,minimapWidth:K,minimapHeightIsEditorHeight:L,minimapIsSampling:D,minimapScale:u,minimapLineHeight:N,minimapCanvasInnerWidth:le,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:de,minimapCanvasOuterHeight:k}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,h=t.viewLineCount,c=e.get(121),u=c==="inherit"?e.get(120):c,f=u==="inherit"?e.get(116):u,g=e.get(119),m=e.get(2),_=t.isDominatedByLongLines,C=e.get(49),b=e.get(59).renderType!==0,v=e.get(60),w=e.get(93),y=e.get(64),k=e.get(91),L=k.verticalScrollbarSize,D=k.verticalHasArrows,N=k.arrowSize,B=k.horizontalScrollbarSize,O=e.get(57),$=e.get(37);let K;if(typeof O=="string"&&/^\d+(\.\d+)?ch$/.test(O)){const Xs=parseFloat(O.substr(0,O.length-2));K=St.clampedInt(Xs*a,0,0,1e3)}else K=St.clampedInt(O,0,0,1e3);$&&(K+=16);let le=0;if(b){const Xs=Math.max(r,v);le=Math.round(Xs*l)}let de=0;C&&(de=o);let _e=0,De=_e+de,we=De+le,Se=we+K;const Tt=i-de-le-K;let bt=!1,xt=!1,Pt=-1;m!==2&&(u==="inherit"&&_?(bt=!0,xt=!0):f==="on"||f==="bounded"?xt=!0:f==="wordWrapColumn"&&(Pt=g));const ht=Nc._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:w,minimap:y,verticalScrollbarWidth:L,viewLineCount:h,remainingWidth:Tt,isViewportWrapping:xt},t.memory||new kR);ht.renderMinimap!==0&&ht.minimapLeft===0&&(_e+=ht.minimapWidth,De+=ht.minimapWidth,we+=ht.minimapWidth,Se+=ht.minimapWidth);const Sn=Tt-ht.minimapWidth,No=Math.max(1,Math.floor((Sn-L-2)/a)),xr=D?N:0;return xt&&(Pt=Math.max(1,No),f==="bounded"&&(Pt=Math.min(Pt,g))),{width:i,height:n,glyphMarginLeft:_e,glyphMarginWidth:de,lineNumbersLeft:De,lineNumbersWidth:le,decorationsLeft:we,decorationsWidth:K,contentLeft:Se,contentWidth:Sn,minimap:ht,viewportColumn:No,isWordWrapMinified:bt,isViewportWrapping:xt,wrappingColumn:Pt,verticalScrollbarWidth:L,horizontalScrollbarHeight:B,overviewRuler:{top:xr,width:L,height:n-2*xr,right:0}}}}class GB extends pi{constructor(){const e={enabled:!0};super(56,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:p("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:pe(e.enabled,this.defaultValue.enabled)}}}class ZB extends pi{constructor(){const e={enabled:!0,fontSize:0,fontFamily:""};super(125,"inlayHints",e,{"editor.inlayHints.enabled":{type:"boolean",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor.")},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. A default of 90% of `#editor.fontSize#` is used when the configured value is less than `5` or greater than the editor font size.")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),fontSize:St.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:kn.string(t.fontFamily,this.defaultValue.fontFamily)}}}class YB extends er{constructor(){super(58,"lineHeight",Hi.lineHeight,e=>er.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height. +import{aQ as ce}from"./index-a61a86fd.js";function IB(s,e){let t;return e.length===0?t=s:t=s.replace(/\{(\d+)\}/g,function(i,n){const o=n[0];return typeof e[o]<"u"?e[o]:i}),t}function p(s,e,...t){return IB(e,t)}var Fw;const m_="en";let tb=!1,ib=!1,__=!1,wR=!1,SR=!1,WD=!1,gm,Bw=m_,EB,Na;const Et=typeof self=="object"?self:typeof global=="object"?global:{};let qi;typeof Et.vscode<"u"&&typeof Et.vscode.process<"u"?qi=Et.vscode.process:typeof process<"u"&&(qi=process);const NB=typeof((Fw=qi==null?void 0:qi.versions)===null||Fw===void 0?void 0:Fw.electron)=="string"&&qi.type==="renderer";if(typeof navigator=="object"&&!NB)Na=navigator.userAgent,tb=Na.indexOf("Windows")>=0,ib=Na.indexOf("Macintosh")>=0,WD=(Na.indexOf("Macintosh")>=0||Na.indexOf("iPad")>=0||Na.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,__=Na.indexOf("Linux")>=0,SR=!0,gm=navigator.language,Bw=gm;else if(typeof qi=="object"){tb=qi.platform==="win32",ib=qi.platform==="darwin",__=qi.platform==="linux",__&&qi.env.SNAP&&qi.env.SNAP_REVISION,gm=m_,Bw=m_;const s=qi.env.VSCODE_NLS_CONFIG;if(s)try{const e=JSON.parse(s),t=e.availableLanguages["*"];gm=e.locale,Bw=t||m_,EB=e._translationsConfigFile}catch{}wR=!0}else console.error("Unable to resolve platform.");const Ai=tb,Me=ib,Cn=__,uo=wR,Tu=SR,lr=WD,TB=Na,qS=function(){if(Et.setImmediate)return Et.setImmediate.bind(Et);if(typeof Et.postMessage=="function"&&!Et.importScripts){let t=[];Et.addEventListener("message",n=>{if(n.data&&n.data.vscodeSetImmediateId)for(let o=0,r=t.length;o{const o=++i;t.push({id:o,callback:n}),Et.postMessage({vscodeSetImmediateId:o},"*")}}if(typeof(qi==null?void 0:qi.nextTick)=="function")return qi.nextTick.bind(qi);const e=Promise.resolve();return t=>e.then(t)}(),Ms=ib||WD?2:tb?1:3;let VI=!0,HI=!1;function yR(){if(!HI){HI=!0;const s=new Uint8Array(2);s[0]=1,s[1]=2,VI=new Uint16Array(s.buffer)[0]===512+1}return VI}const LR="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function AB(s=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const t of LR)s.indexOf(t)>=0||(e+="\\"+t);return e+="\\s]+)",new RegExp(e,"g")}const DR=AB();function nb(s){let e=DR;if(s&&s instanceof RegExp)if(s.global)e=s;else{let t="g";s.ignoreCase&&(t+="i"),s.multiline&&(t+="m"),s.unicode&&(t+="u"),e=new RegExp(s.source,t)}return e.lastIndex=0,e}const RB={maxLen:1e3,windowSize:15,timeBudget:150};function sb(s,e,t,i,n=RB){if(t.length>n.maxLen){let d=s-n.maxLen/2;return d<0?d=0:i+=d,t=t.substring(d,s+n.maxLen/2),sb(s,e,t,i,n)}const o=Date.now(),r=s-1-i;let a=-1,l=null;for(let d=1;!(Date.now()-o>=n.timeBudget);d++){const h=r-n.windowSize*d;e.lastIndex=Math.max(0,h);const c=MB(e,t,r,a);if(!c&&l||(l=c,h<=0))break;a=h}if(l){let d={word:l[0],startColumn:i+1+l.index,endColumn:i+1+l.index+l[0].length};return e.lastIndex=0,d}return null}function MB(s,e,t,i){let n;for(;n=s.exec(e);){const o=n.index||0;if(o<=t&&s.lastIndex>=t)return n;if(i>0&&o>i)return null}return null}const Ta=8;class xR{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class OB{constructor(){this._values=[]}_read(e){return this._values[e]}get(e){return this._values[e]}_write(e,t){this._values[e]=t}}class kR{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class pi{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}compute(e,t,i){return i}}class Au{constructor(e,t=null){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0,this.deps=t}validate(e){return this.defaultValue}}class _h{constructor(e,t,i,n){this.id=e,this.name=t,this.defaultValue=i,this.schema=n}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,t,i){return i}}function pe(s,e){return typeof s>"u"?e:s==="false"?!1:!!s}class ze extends _h{constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="boolean",n.default=i),super(e,t,i,n)}validate(e){return pe(e,this.defaultValue)}}function GS(s,e,t,i){if(typeof s>"u")return e;let n=parseInt(s,10);return isNaN(n)?e:(n=Math.max(t,n),n=Math.min(i,n),n|0)}class St extends _h{constructor(e,t,i,n,o,r=void 0){typeof r<"u"&&(r.type="integer",r.default=i,r.minimum=n,r.maximum=o),super(e,t,i,r),this.minimum=n,this.maximum=o}static clampedInt(e,t,i,n){return GS(e,t,i,n)}validate(e){return St.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class er extends _h{constructor(e,t,i,n,o){typeof o<"u"&&(o.type="number",o.default=i),super(e,t,i,o),this.validationFn=n}static clamp(e,t,i){return ei?i:e}static float(e,t){if(typeof e=="number")return e;if(typeof e>"u")return t;const i=parseFloat(e);return isNaN(i)?t:i}validate(e){return this.validationFn(er.float(e,this.defaultValue))}}class kn extends _h{static string(e,t){return typeof e!="string"?t:e}constructor(e,t,i,n=void 0){typeof n<"u"&&(n.type="string",n.default=i),super(e,t,i,n)}validate(e){return kn.string(e,this.defaultValue)}}function mn(s,e,t){return typeof s!="string"||t.indexOf(s)===-1?e:s}class ti extends _h{constructor(e,t,i,n,o=void 0){typeof o<"u"&&(o.type="string",o.enum=n,o.default=i),super(e,t,i,o),this._allowedValues=n}validate(e){return mn(e,this.defaultValue,this._allowedValues)}}class sf extends pi{constructor(e,t,i,n,o,r,a=void 0){typeof a<"u"&&(a.type="string",a.enum=o,a.default=n),super(e,t,i,a),this._allowedValues=o,this._convert=r}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function PB(s){switch(s){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class FB extends pi{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[p("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),p("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader. Word wrapping will be disabled."),p("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:p("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers. Setting to on will disable word wrapping.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,t,i){return i===0?e.accessibilitySupport:i}}class BB extends pi{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(19,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:p("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:p("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertSpace:pe(t.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:pe(t.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function WB(s){switch(s){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var wi;(function(s){s[s.Line=1]="Line",s[s.Block=2]="Block",s[s.Underline=3]="Underline",s[s.LineThin=4]="LineThin",s[s.BlockOutline=5]="BlockOutline",s[s.UnderlineThin=6]="UnderlineThin"})(wi||(wi={}));function VB(s){switch(s){case"line":return wi.Line;case"block":return wi.Block;case"underline":return wi.Underline;case"line-thin":return wi.LineThin;case"block-outline":return wi.BlockOutline;case"underline-thin":return wi.UnderlineThin}}class HB extends Au{constructor(){super(126,[65,33])}compute(e,t,i){const n=["monaco-editor"];return t.get(33)&&n.push(t.get(33)),e.extraEditorClassName&&n.push(e.extraEditorClassName),t.get(65)==="default"?n.push("mouse-default"):t.get(65)==="copy"&&n.push("mouse-copy"),t.get(99)&&n.push("showUnused"),t.get(124)&&n.push("showDeprecated"),n.join(" ")}}class zB extends ze{constructor(){super(32,"emptySelectionClipboard",!0,{description:p("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,t,i){return i&&e.emptySelectionClipboard}}class UB extends pi{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(35,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:p("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[p("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),p("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),p("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:p("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[p("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),p("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),p("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:p("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:p("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:Me},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:p("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:p("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{cursorMoveOnType:pe(t.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":mn(t.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":mn(t.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:pe(t.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:pe(t.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:pe(t.loop,this.defaultValue.loop)}}}class zn extends pi{constructor(){super(44,"fontLigatures",zn.OFF,{anyOf:[{type:"boolean",description:p("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:p("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:p("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?zn.OFF:e==="true"?zn.ON:e:e?zn.ON:zn.OFF}}zn.OFF='"liga" off, "calt" off';zn.ON='"liga" on, "calt" on';class $B extends Au{constructor(){super(43)}compute(e,t,i){return e.fontInfo}}class jB extends _h{constructor(){super(45,"fontSize",Hi.fontSize,{type:"number",minimum:6,maximum:100,default:Hi.fontSize,description:p("fontSize","Controls the font size in pixels.")})}validate(e){let t=er.float(e,this.defaultValue);return t===0?Hi.fontSize:er.clamp(t,6,100)}compute(e,t,i){return e.fontInfo.fontSize}}class Zo extends pi{constructor(){super(46,"fontWeight",Hi.fontWeight,{anyOf:[{type:"number",minimum:Zo.MINIMUM_VALUE,maximum:Zo.MAXIMUM_VALUE,errorMessage:p("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:Zo.SUGGESTION_VALUES}],default:Hi.fontWeight,description:p("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(St.clampedInt(e,Hi.fontWeight,Zo.MINIMUM_VALUE,Zo.MAXIMUM_VALUE))}}Zo.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];Zo.MINIMUM_VALUE=1;Zo.MAXIMUM_VALUE=1e3;class KB extends pi{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},t={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[p("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),p("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),p("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]},i=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(50,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:p("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:p("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleDeclarations":Object.assign({description:p("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleImplementations":Object.assign({description:p("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},t),"editor.gotoLocation.multipleReferences":Object.assign({description:p("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},t),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:i,description:p("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:i,description:p("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:i,description:p("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:i,description:p("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:i,description:p("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var t,i,n,o,r;if(!e||typeof e!="object")return this.defaultValue;const a=e;return{multiple:mn(a.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(t=a.multipleDefinitions)!==null&&t!==void 0?t:mn(a.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(i=a.multipleTypeDefinitions)!==null&&i!==void 0?i:mn(a.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(n=a.multipleDeclarations)!==null&&n!==void 0?n:mn(a.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=a.multipleImplementations)!==null&&o!==void 0?o:mn(a.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(r=a.multipleReferences)!==null&&r!==void 0?r:mn(a.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:kn.string(a.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:kn.string(a.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:kn.string(a.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:kn.string(a.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:kn.string(a.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class qB extends pi{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(52,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:p("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,description:p("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:p("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:p("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),delay:St.clampedInt(t.delay,this.defaultValue.delay,0,1e4),sticky:pe(t.sticky,this.defaultValue.sticky),above:pe(t.above,this.defaultValue.above)}}}class Nc extends Au{constructor(){super(129,[49,57,37,64,91,59,60,93,116,119,120,121,2])}compute(e,t,i){return Nc.computeLayout(t,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const t=e.height/e.lineHeight,i=e.scrollBeyondLastLine?t-1:0,n=(e.viewLineCount+i)/(e.pixelRatio*e.height),o=Math.floor(e.viewLineCount/n);return{typicalViewportLineCount:t,extraLinesBeyondLastLine:i,desiredRatio:n,minimapLineCount:o}}static _computeMinimapLayout(e,t){const i=e.outerWidth,n=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*n),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:n};const r=t.stableMinimapLayoutInput,a=r&&e.outerHeight===r.outerHeight&&e.lineHeight===r.lineHeight&&e.typicalHalfwidthCharacterWidth===r.typicalHalfwidthCharacterWidth&&e.pixelRatio===r.pixelRatio&&e.scrollBeyondLastLine===r.scrollBeyondLastLine&&e.minimap.enabled===r.minimap.enabled&&e.minimap.side===r.minimap.side&&e.minimap.size===r.minimap.size&&e.minimap.showSlider===r.minimap.showSlider&&e.minimap.renderCharacters===r.minimap.renderCharacters&&e.minimap.maxColumn===r.minimap.maxColumn&&e.minimap.scale===r.minimap.scale&&e.verticalScrollbarWidth===r.verticalScrollbarWidth&&e.isViewportWrapping===r.isViewportWrapping,l=e.lineHeight,d=e.typicalHalfwidthCharacterWidth,h=e.scrollBeyondLastLine,c=e.minimap.renderCharacters;let u=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const f=e.minimap.maxColumn,g=e.minimap.size,m=e.minimap.side,_=e.verticalScrollbarWidth,C=e.viewLineCount,b=e.remainingWidth,v=e.isViewportWrapping,w=c?2:3;let y=Math.floor(o*n);const k=y/o;let L=!1,D=!1,N=w*u,B=u/o,O=1;if(g==="fill"||g==="fit"){const{typicalViewportLineCount:we,extraLinesBeyondLastLine:Se,desiredRatio:Tt,minimapLineCount:bt}=Nc.computeContainedMinimapLineCount({viewLineCount:C,scrollBeyondLastLine:h,height:n,lineHeight:l,pixelRatio:o});if(C/bt>1)L=!0,D=!0,u=1,N=1,B=u/o;else{let Pt=!1,ht=u+1;if(g==="fit"){const Sn=Math.ceil((C+Se)*N);v&&a&&b<=t.stableFitRemainingWidth?(Pt=!0,ht=t.stableFitMaxMinimapScale):Pt=Sn>y}if(g==="fill"||Pt){L=!0;const Sn=u;N=Math.min(l*o,Math.max(1,Math.floor(1/Tt))),v&&a&&b<=t.stableFitRemainingWidth&&(ht=t.stableFitMaxMinimapScale),u=Math.min(ht,Math.max(1,Math.floor(N/w))),u>Sn&&(O=Math.min(2,u/Sn)),B=u/o/O,y=Math.ceil(Math.max(we,C+Se)*N),v?(t.stableMinimapLayoutInput=e,t.stableFitRemainingWidth=b,t.stableFitMaxMinimapScale=u):(t.stableMinimapLayoutInput=null,t.stableFitRemainingWidth=0)}}}const $=Math.floor(f*B),K=Math.min($,Math.max(0,Math.floor((b-_-2)*B/(d+B)))+Ta);let le=Math.floor(o*K);const de=le/o;le=Math.floor(le*O);const _e=c?1:2,De=m==="left"?0:i-K-_;return{renderMinimap:_e,minimapLeft:De,minimapWidth:K,minimapHeightIsEditorHeight:L,minimapIsSampling:D,minimapScale:u,minimapLineHeight:N,minimapCanvasInnerWidth:le,minimapCanvasInnerHeight:y,minimapCanvasOuterWidth:de,minimapCanvasOuterHeight:k}}static computeLayout(e,t){const i=t.outerWidth|0,n=t.outerHeight|0,o=t.lineHeight|0,r=t.lineNumbersDigitCount|0,a=t.typicalHalfwidthCharacterWidth,l=t.maxDigitWidth,d=t.pixelRatio,h=t.viewLineCount,c=e.get(121),u=c==="inherit"?e.get(120):c,f=u==="inherit"?e.get(116):u,g=e.get(119),m=e.get(2),_=t.isDominatedByLongLines,C=e.get(49),b=e.get(59).renderType!==0,v=e.get(60),w=e.get(93),y=e.get(64),k=e.get(91),L=k.verticalScrollbarSize,D=k.verticalHasArrows,N=k.arrowSize,B=k.horizontalScrollbarSize,O=e.get(57),$=e.get(37);let K;if(typeof O=="string"&&/^\d+(\.\d+)?ch$/.test(O)){const Xs=parseFloat(O.substr(0,O.length-2));K=St.clampedInt(Xs*a,0,0,1e3)}else K=St.clampedInt(O,0,0,1e3);$&&(K+=16);let le=0;if(b){const Xs=Math.max(r,v);le=Math.round(Xs*l)}let de=0;C&&(de=o);let _e=0,De=_e+de,we=De+le,Se=we+K;const Tt=i-de-le-K;let bt=!1,xt=!1,Pt=-1;m!==2&&(u==="inherit"&&_?(bt=!0,xt=!0):f==="on"||f==="bounded"?xt=!0:f==="wordWrapColumn"&&(Pt=g));const ht=Nc._computeMinimapLayout({outerWidth:i,outerHeight:n,lineHeight:o,typicalHalfwidthCharacterWidth:a,pixelRatio:d,scrollBeyondLastLine:w,minimap:y,verticalScrollbarWidth:L,viewLineCount:h,remainingWidth:Tt,isViewportWrapping:xt},t.memory||new kR);ht.renderMinimap!==0&&ht.minimapLeft===0&&(_e+=ht.minimapWidth,De+=ht.minimapWidth,we+=ht.minimapWidth,Se+=ht.minimapWidth);const Sn=Tt-ht.minimapWidth,No=Math.max(1,Math.floor((Sn-L-2)/a)),xr=D?N:0;return xt&&(Pt=Math.max(1,No),f==="bounded"&&(Pt=Math.min(Pt,g))),{width:i,height:n,glyphMarginLeft:_e,glyphMarginWidth:de,lineNumbersLeft:De,lineNumbersWidth:le,decorationsLeft:we,decorationsWidth:K,contentLeft:Se,contentWidth:Sn,minimap:ht,viewportColumn:No,isWordWrapMinified:bt,isViewportWrapping:xt,wrappingColumn:Pt,verticalScrollbarWidth:L,horizontalScrollbarHeight:B,overviewRuler:{top:xr,width:L,height:n-2*xr,right:0}}}}class GB extends pi{constructor(){const e={enabled:!0};super(56,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:p("codeActions","Enables the code action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:pe(e.enabled,this.defaultValue.enabled)}}}class ZB extends pi{constructor(){const e={enabled:!0,fontSize:0,fontFamily:""};super(125,"inlayHints",e,{"editor.inlayHints.enabled":{type:"boolean",default:e.enabled,description:p("inlayHints.enable","Enables the inlay hints in the editor.")},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:p("inlayHints.fontSize","Controls font size of inlay hints in the editor. A default of 90% of `#editor.fontSize#` is used when the configured value is less than `5` or greater than the editor font size.")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:p("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the `#editor.fontFamily#` is used.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),fontSize:St.clampedInt(t.fontSize,this.defaultValue.fontSize,0,100),fontFamily:kn.string(t.fontFamily,this.defaultValue.fontFamily)}}}class YB extends er{constructor(){super(58,"lineHeight",Hi.lineHeight,e=>er.clamp(e,0,150),{markdownDescription:p("lineHeight",`Controls the line height. - Use 0 to automatically compute the line height from the font size. - Values between 0 and 8 will be used as a multiplier with the font size. - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,t,i){return e.fontInfo.lineHeight}}class XB extends pi{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};super(64,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:p("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[p("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),p("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),p("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:p("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:p("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:p("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:p("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:p("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:p("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),size:mn(t.size,this.defaultValue.size,["proportional","fill","fit"]),side:mn(t.side,this.defaultValue.side,["right","left"]),showSlider:mn(t.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:pe(t.renderCharacters,this.defaultValue.renderCharacters),scale:St.clampedInt(t.scale,1,1,3),maxColumn:St.clampedInt(t.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function QB(s){return s==="ctrlCmd"?Me?"metaKey":"ctrlKey":"altKey"}class JB extends pi{constructor(){super(74,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:p("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{top:St.clampedInt(t.top,0,0,1e3),bottom:St.clampedInt(t.bottom,0,0,1e3)}}}class e5 extends pi{constructor(){const e={enabled:!0,cycle:!1};super(75,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:p("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:p("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),cycle:pe(t.cycle,this.defaultValue.cycle)}}}class t5 extends Au{constructor(){super(127)}compute(e,t,i){return e.pixelRatio}}class i5 extends pi{constructor(){const e={other:!0,comments:!1,strings:!1};super(78,"quickSuggestions",e,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:e.strings,description:p("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:e.comments,description:p("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:e.other,description:p("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:e,description:p("quickSuggestions","Controls whether suggestions should automatically show up while typing.")}),this.defaultValue=e}validate(e){if(typeof e=="boolean")return e;if(e&&typeof e=="object"){const t=e,i={other:pe(t.other,this.defaultValue.other),comments:pe(t.comments,this.defaultValue.comments),strings:pe(t.strings,this.defaultValue.strings)};return i.other&&i.comments&&i.strings?!0:!i.other&&!i.comments&&!i.strings?!1:i}return this.defaultValue}}class n5 extends pi{constructor(){super(59,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[p("lineNumbers.off","Line numbers are not rendered."),p("lineNumbers.on","Line numbers are rendered as absolute number."),p("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),p("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:p("lineNumbers","Controls the display of line numbers.")})}validate(e){let t=this.defaultValue.renderType,i=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(t=4,i=e):e==="interval"?t=3:e==="relative"?t=2:e==="on"?t=1:t=0),{renderType:t,renderFn:i}}}function VD(s){const e=s.get(86);return e==="editable"?s.get(80):e!=="on"}class s5 extends pi{constructor(){const e=[],t={type:"number",description:p("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(90,"rulers",e,{type:"array",items:{anyOf:[t,{type:["object"],properties:{column:t,color:{type:"string",description:p("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:p("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){let t=[];for(let i of e)if(typeof i=="number")t.push({column:St.clampedInt(i,0,0,1e4),color:null});else if(i&&typeof i=="object"){const n=i;t.push({column:St.clampedInt(n.column,0,0,1e4),color:n.color})}return t.sort((i,n)=>i.column-n.column),t}return this.defaultValue}}function zI(s,e){if(typeof s!="string")return e;switch(s){case"hidden":return 2;case"visible":return 3;default:return 1}}let o5=class extends pi{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(91,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),p("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),p("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[p("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),p("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),p("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:p("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:p("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:p("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:p("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e,i=St.clampedInt(t.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),n=St.clampedInt(t.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:St.clampedInt(t.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:zI(t.vertical,this.defaultValue.vertical),horizontal:zI(t.horizontal,this.defaultValue.horizontal),useShadows:pe(t.useShadows,this.defaultValue.useShadows),verticalHasArrows:pe(t.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:pe(t.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:pe(t.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:pe(t.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:i,horizontalSliderSize:St.clampedInt(t.horizontalSliderSize,i,0,1e3),verticalScrollbarSize:n,verticalSliderSize:St.clampedInt(t.verticalSliderSize,n,0,1e3),scrollByPage:pe(t.scrollByPage,this.defaultValue.scrollByPage)}}};class r5 extends pi{constructor(){const e={enabled:!0,mode:"subwordSmart"};super(54,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:p("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{enabled:pe(t.enabled,this.defaultValue.enabled),mode:mn(t.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"])}}}class a5 extends pi{constructor(){const e={enabled:Gi.bracketPairColorizationOptions.enabled};super(12,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,description:p("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use 'workbench.colorCustomizations' to override the bracket highlight colors.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:pe(e.enabled,this.defaultValue.enabled)}}}class l5 extends pi{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(13,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairs.true","Enables bracket pair guides."),p("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),p("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:p("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[p("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),p("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),p("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:p("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:p("editor.guides.highlightActiveBracketPair","Controls whether bracket pair guides are enabled or not.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:p("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:"boolean",default:e.highlightActiveIndentation,description:p("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{bracketPairs:UI(t.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:UI(t.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:pe(t.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:pe(t.indentation,this.defaultValue.indentation),highlightActiveIndentation:pe(t.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation)}}}function UI(s,e,t){const i=t.indexOf(s);return i===-1?e:t[i]}class d5 extends pi{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(105,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[p("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),p("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:p("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:p("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:p("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:p("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:p("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:p("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:p("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:p("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:p("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:p("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:p("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:p("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const t=e;return{insertMode:mn(t.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:pe(t.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:pe(t.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:pe(t.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:pe(t.shareSuggestSelections,this.defaultValue.shareSuggestSelections),showIcons:pe(t.showIcons,this.defaultValue.showIcons),showStatusBar:pe(t.showStatusBar,this.defaultValue.showStatusBar),preview:pe(t.preview,this.defaultValue.preview),previewMode:mn(t.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:pe(t.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:pe(t.showMethods,this.defaultValue.showMethods),showFunctions:pe(t.showFunctions,this.defaultValue.showFunctions),showConstructors:pe(t.showConstructors,this.defaultValue.showConstructors),showDeprecated:pe(t.showDeprecated,this.defaultValue.showDeprecated),showFields:pe(t.showFields,this.defaultValue.showFields),showVariables:pe(t.showVariables,this.defaultValue.showVariables),showClasses:pe(t.showClasses,this.defaultValue.showClasses),showStructs:pe(t.showStructs,this.defaultValue.showStructs),showInterfaces:pe(t.showInterfaces,this.defaultValue.showInterfaces),showModules:pe(t.showModules,this.defaultValue.showModules),showProperties:pe(t.showProperties,this.defaultValue.showProperties),showEvents:pe(t.showEvents,this.defaultValue.showEvents),showOperators:pe(t.showOperators,this.defaultValue.showOperators),showUnits:pe(t.showUnits,this.defaultValue.showUnits),showValues:pe(t.showValues,this.defaultValue.showValues),showConstants:pe(t.showConstants,this.defaultValue.showConstants),showEnums:pe(t.showEnums,this.defaultValue.showEnums),showEnumMembers:pe(t.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:pe(t.showKeywords,this.defaultValue.showKeywords),showWords:pe(t.showWords,this.defaultValue.showWords),showColors:pe(t.showColors,this.defaultValue.showColors),showFiles:pe(t.showFiles,this.defaultValue.showFiles),showReferences:pe(t.showReferences,this.defaultValue.showReferences),showFolders:pe(t.showFolders,this.defaultValue.showFolders),showTypeParameters:pe(t.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:pe(t.showSnippets,this.defaultValue.showSnippets),showUsers:pe(t.showUsers,this.defaultValue.showUsers),showIssues:pe(t.showIssues,this.defaultValue.showIssues)}}}class h5 extends pi{constructor(){super(101,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:p("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:pe(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class c5 extends Au{constructor(){super(128,[80])}compute(e,t,i){return t.get(80)?!0:e.tabFocusMode}}function u5(s){switch(s){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}}class f5 extends Au{constructor(){super(130,[129])}compute(e,t,i){const n=t.get(129);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:n.isWordWrapMinified,isViewportWrapping:n.isViewportWrapping,wrappingColumn:n.wrappingColumn}}}const g5="Consolas, 'Courier New', monospace",p5="Menlo, Monaco, 'Courier New', monospace",m5="'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",Hi={fontFamily:Me?p5:Cn?m5:g5,fontWeight:"normal",fontSize:Me?12:14,lineHeight:0,letterSpacing:0},Gi={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!1}},mc=[];function Q(s){return mc[s.id]=s,s}const Do={acceptSuggestionOnCommitCharacter:Q(new ze(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:p("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:Q(new ti(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",p("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:p("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:Q(new FB),accessibilityPageSize:Q(new St(3,"accessibilityPageSize",10,1,1073741824,{description:p("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default.")})),ariaLabel:Q(new kn(4,"ariaLabel",p("editorViewAccessibleLabel","Editor content"))),autoClosingBrackets:Q(new ti(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),p("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:p("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:Q(new ti(6,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:Q(new ti(7,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",p("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:p("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:Q(new ti(8,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",p("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),p("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:p("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:Q(new sf(9,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],PB,{enumDescriptions:[p("editor.autoIndent.none","The editor will not insert indentation automatically."),p("editor.autoIndent.keep","The editor will keep the current line's indentation."),p("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),p("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),p("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:p("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:Q(new ze(10,"automaticLayout",!1)),autoSurround:Q(new ti(11,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[p("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),p("editor.autoSurround.quotes","Surround with quotes but not brackets."),p("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:p("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:Q(new a5),bracketPairGuides:Q(new l5),stickyTabStops:Q(new ze(103,"stickyTabStops",!1,{description:p("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:Q(new ze(14,"codeLens",!0,{description:p("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:Q(new kn(15,"codeLensFontFamily","",{description:p("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:Q(new St(16,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:p("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to `0`, the 90% of `#editor.fontSize#` is used.")})),colorDecorators:Q(new ze(17,"colorDecorators",!0,{description:p("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),columnSelection:Q(new ze(18,"columnSelection",!1,{description:p("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:Q(new BB),contextmenu:Q(new ze(20,"contextmenu",!0)),copyWithSyntaxHighlighting:Q(new ze(21,"copyWithSyntaxHighlighting",!0,{description:p("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:Q(new sf(22,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],WB,{description:p("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:Q(new ze(23,"cursorSmoothCaretAnimation",!1,{description:p("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:Q(new sf(24,"cursorStyle",wi.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],VB,{description:p("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:Q(new St(25,"cursorSurroundingLines",0,0,1073741824,{description:p("cursorSurroundingLines","Controls the minimal number of visible leading and trailing lines surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:Q(new ti(26,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[p("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),p("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:p("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:Q(new St(27,"cursorWidth",0,0,1073741824,{markdownDescription:p("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:Q(new ze(28,"disableLayerHinting",!1)),disableMonospaceOptimizations:Q(new ze(29,"disableMonospaceOptimizations",!1)),domReadOnly:Q(new ze(30,"domReadOnly",!1)),dragAndDrop:Q(new ze(31,"dragAndDrop",!0,{description:p("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:Q(new zB),extraEditorClassName:Q(new kn(33,"extraEditorClassName","")),fastScrollSensitivity:Q(new er(34,"fastScrollSensitivity",5,s=>s<=0?5:s,{markdownDescription:p("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:Q(new UB),fixedOverflowWidgets:Q(new ze(36,"fixedOverflowWidgets",!1)),folding:Q(new ze(37,"folding",!0,{description:p("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:Q(new ti(38,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[p("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),p("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:p("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:Q(new ze(39,"foldingHighlight",!0,{description:p("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:Q(new ze(40,"foldingImportsByDefault",!1,{description:p("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),unfoldOnClickAfterEndOfLine:Q(new ze(41,"unfoldOnClickAfterEndOfLine",!1,{description:p("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:Q(new kn(42,"fontFamily",Hi.fontFamily,{description:p("fontFamily","Controls the font family.")})),fontInfo:Q(new $B),fontLigatures2:Q(new zn),fontSize:Q(new jB),fontWeight:Q(new Zo),formatOnPaste:Q(new ze(47,"formatOnPaste",!1,{description:p("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:Q(new ze(48,"formatOnType",!1,{description:p("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:Q(new ze(49,"glyphMargin",!0,{description:p("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:Q(new KB),hideCursorInOverviewRuler:Q(new ze(51,"hideCursorInOverviewRuler",!1,{description:p("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:Q(new qB),inDiffEditor:Q(new ze(53,"inDiffEditor",!1)),letterSpacing:Q(new er(55,"letterSpacing",Hi.letterSpacing,s=>er.clamp(s,-5,20),{description:p("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:Q(new GB),lineDecorationsWidth:Q(new _h(57,"lineDecorationsWidth",10)),lineHeight:Q(new YB),lineNumbers:Q(new n5),lineNumbersMinChars:Q(new St(60,"lineNumbersMinChars",5,1,300)),linkedEditing:Q(new ze(61,"linkedEditing",!1,{description:p("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols, e.g. HTML tags, are updated while editing.")})),links:Q(new ze(62,"links",!0,{description:p("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:Q(new ti(63,"matchBrackets","always",["always","near","never"],{description:p("matchBrackets","Highlight matching brackets.")})),minimap:Q(new XB),mouseStyle:Q(new ti(65,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:Q(new er(66,"mouseWheelScrollSensitivity",1,s=>s===0?1:s,{markdownDescription:p("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:Q(new ze(67,"mouseWheelZoom",!1,{markdownDescription:p("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:Q(new ze(68,"multiCursorMergeOverlapping",!0,{description:p("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:Q(new sf(69,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],QB,{markdownEnumDescriptions:[p("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),p("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:p({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the multicursor modifier. [Read more](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:Q(new ti(70,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[p("multiCursorPaste.spread","Each cursor pastes a single line of the text."),p("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:p("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),occurrencesHighlight:Q(new ze(71,"occurrencesHighlight",!0,{description:p("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:Q(new ze(72,"overviewRulerBorder",!0,{description:p("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:Q(new St(73,"overviewRulerLanes",3,0,3)),padding:Q(new JB),parameterHints:Q(new e5),peekWidgetDefaultFocus:Q(new ti(76,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[p("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),p("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:p("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:Q(new ze(77,"definitionLinkOpensInPeek",!1,{description:p("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:Q(new i5),quickSuggestionsDelay:Q(new St(79,"quickSuggestionsDelay",10,0,1073741824,{description:p("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:Q(new ze(80,"readOnly",!1)),renameOnType:Q(new ze(81,"renameOnType",!1,{description:p("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:p("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:Q(new ze(82,"renderControlCharacters",!0,{description:p("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:Q(new ze(83,"renderFinalNewline",!0,{description:p("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:Q(new ti(84,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",p("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:p("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:Q(new ze(85,"renderLineHighlightOnlyWhenFocus",!1,{description:p("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:Q(new ti(86,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:Q(new ti(87,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",p("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),p("renderWhitespace.selection","Render whitespace characters only on selected text."),p("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:p("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:Q(new St(88,"revealHorizontalRightPadding",30,0,1e3)),roundedSelection:Q(new ze(89,"roundedSelection",!0,{description:p("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:Q(new s5),scrollbar:Q(new o5),scrollBeyondLastColumn:Q(new St(92,"scrollBeyondLastColumn",5,0,1073741824,{description:p("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:Q(new ze(93,"scrollBeyondLastLine",!0,{description:p("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:Q(new ze(94,"scrollPredominantAxis",!0,{description:p("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:Q(new ze(95,"selectionClipboard",!0,{description:p("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:Cn})),selectionHighlight:Q(new ze(96,"selectionHighlight",!0,{description:p("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:Q(new ze(97,"selectOnLineNumbers",!0)),showFoldingControls:Q(new ti(98,"showFoldingControls","mouseover",["always","mouseover"],{enumDescriptions:[p("showFoldingControls.always","Always show the folding controls."),p("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:p("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:Q(new ze(99,"showUnused",!0,{description:p("showUnused","Controls fading out of unused code.")})),showDeprecated:Q(new ze(124,"showDeprecated",!0,{description:p("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:Q(new ZB),snippetSuggestions:Q(new ti(100,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[p("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),p("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),p("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),p("snippetSuggestions.none","Do not show snippet suggestions.")],description:p("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:Q(new h5),smoothScrolling:Q(new ze(102,"smoothScrolling",!1,{description:p("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:Q(new St(104,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:Q(new d5),inlineSuggest:Q(new r5),suggestFontSize:Q(new St(106,"suggestFontSize",0,0,1e3,{markdownDescription:p("suggestFontSize","Font size for the suggest widget. When set to `0`, the value of `#editor.fontSize#` is used.")})),suggestLineHeight:Q(new St(107,"suggestLineHeight",0,0,1e3,{markdownDescription:p("suggestLineHeight","Line height for the suggest widget. When set to `0`, the value of `#editor.lineHeight#` is used. The minimum value is 8.")})),suggestOnTriggerCharacters:Q(new ze(108,"suggestOnTriggerCharacters",!0,{description:p("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:Q(new ti(109,"suggestSelection","recentlyUsed",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[p("suggestSelection.first","Always select the first suggestion."),p("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),p("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:p("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:Q(new ti(110,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[p("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),p("tabCompletion.off","Disable tab completions."),p("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:p("tabCompletion","Enables tab completions.")})),tabIndex:Q(new St(111,"tabIndex",0,-1,1073741824)),unusualLineTerminators:Q(new ti(112,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[p("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),p("unusualLineTerminators.off","Unusual line terminators are ignored."),p("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:p("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:Q(new ze(113,"useShadowDOM",!0)),useTabStops:Q(new ze(114,"useTabStops",!0,{description:p("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordSeparators:Q(new kn(115,"wordSeparators",LR,{description:p("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:Q(new ti(116,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[p("wordWrap.off","Lines will never wrap."),p("wordWrap.on","Lines will wrap at the viewport width."),p({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),p({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:p({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:Q(new kn(117,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:Q(new kn(118,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:Q(new St(119,"wordWrapColumn",80,1,1073741824,{markdownDescription:p({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:Q(new ti(120,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:Q(new ti(121,"wordWrapOverride2","inherit",["off","on","inherit"])),wrappingIndent:Q(new sf(122,"wrappingIndent",1,"same",["none","same","indent","deepIndent"],u5,{enumDescriptions:[p("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),p("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),p("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),p("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:p("wrappingIndent","Controls the indentation of wrapped lines.")})),wrappingStrategy:Q(new ti(123,"wrappingStrategy","simple",["simple","advanced"],{enumDescriptions:[p("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),p("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],description:p("wrappingStrategy","Controls the algorithm that computes wrapping points.")})),editorClassName:Q(new HB),pixelRatio:Q(new t5),tabFocusMode:Q(new c5),layoutInfo:Q(new Nc),wrappingInfo:Q(new f5)};class _5{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?new Error(e.message+` @@ -615,7 +615,7 @@ ${e.toString()}`}}class SC{constructor(e=new qg,t=!1,i){this._activeInstantiatio `),this}appendMarkdown(e){return this.value+=e,this}appendCodeblock(e,t){return this.value+="\n```",this.value+=e,this.value+=` `,this.value+=t,this.value+="\n```\n",this}}function hg(s){return L2(s)?!s.value:Array.isArray(s)?s.every(hg):!0}function L2(s){return s instanceof ma?!0:s&&typeof s=="object"?typeof s.value=="string"&&(typeof s.isTrusted=="boolean"||s.isTrusted===void 0)&&(typeof s.supportThemeIcons=="boolean"||s.supportThemeIcons===void 0):!1}function xG(s){return s.replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&")}function rS(s){return s&&s.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}function kG(s){const e=[],t=s.split("|").map(n=>n.trim());s=t[0];const i=t[1];if(i){const n=/height=(\d+)/.exec(i),o=/width=(\d+)/.exec(i),r=n?n[1]:"",a=o?o[1]:"",l=isFinite(parseInt(a)),d=isFinite(parseInt(r));l&&e.push(`width="${a}"`),d&&e.push(`height="${r}"`)}return{href:s,dimensions:e}}var vL=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};function IG(s,e){Gs(e)?s.title=e:e!=null&&e.markdownNotSupportedFallback?s.title=e.markdownNotSupportedFallback:s.removeAttribute("title")}class EG{constructor(e,t,i){this.hoverDelegate=e,this.target=t,this.fadeInAnimation=i}update(e,t){var i;return vL(this,void 0,void 0,function*(){if(this._cancellationTokenSource&&(this._cancellationTokenSource.dispose(!0),this._cancellationTokenSource=void 0),this.isDisposed)return;let n;if(e===void 0||Gs(e)||e instanceof HTMLElement)n=e;else if(!Wf(e.markdown))n=(i=e.markdown)!==null&&i!==void 0?i:e.markdownNotSupportedFallback;else{this._hoverWidget||this.show(p("iconLabel.loading","Loading..."),t),this._cancellationTokenSource=new ln;const o=this._cancellationTokenSource.token;if(n=yield e.markdown(o),this.isDisposed||o.isCancellationRequested)return}this.show(n,t)})}show(e,t){const i=this._hoverWidget;if(this.hasContent(e)){const n={content:e,target:this.target,showPointer:this.hoverDelegate.placement==="element",hoverPosition:2,skipFadeInAnimation:!this.fadeInAnimation||!!i};this._hoverWidget=this.hoverDelegate.showHover(n,t)}i==null||i.dispose()}hasContent(e){return e?L2(e)?!!e.value:!0:!1}get isDisposed(){var e;return(e=this._hoverWidget)===null||e===void 0?void 0:e.isDisposed}dispose(){var e,t;(e=this._hoverWidget)===null||e===void 0||e.dispose(),(t=this._cancellationTokenSource)===null||t===void 0||t.dispose(!0),this._cancellationTokenSource=void 0}}function NG(s,e,t){let i,n;const o=(h,c)=>{var u;h&&(n==null||n.dispose(),n=void 0),c&&(i==null||i.dispose(),i=void 0),(u=s.onDidHideHover)===null||u===void 0||u.call(s)},r=(h,c,u)=>new hn(()=>vL(this,void 0,void 0,function*(){(!n||n.isDisposed)&&(n=new EG(s,u||e,h>0),yield n.update(t,c))}),h),a=()=>{if(i)return;const h=new X,c=g=>o(!1,g.fromElement===e);h.add(q(e,ue.MOUSE_LEAVE,c,!0));const u=()=>o(!0,!0);h.add(q(e,ue.MOUSE_DOWN,u,!0));const f={targetElements:[e],dispose:()=>{}};if(s.placement===void 0||s.placement==="mouse"){const g=m=>f.x=m.x+10;h.add(q(e,ue.MOUSE_MOVE,g,!0))}h.add(r(s.delay,!1,f)),i=h},l=q(e,ue.MOUSE_OVER,a,!0);return{show:h=>{o(!1,!0),r(0,h)},hide:()=>{o(!0,!0)},update:h=>vL(this,void 0,void 0,function*(){t=h,yield n==null?void 0:n.update(t)}),dispose:()=>{l.dispose(),o(!0,!0)}}}class aS{constructor(e){this._element=e}get element(){return this._element}set textContent(e){this.disposed||e===this._textContent||(this._textContent=e,this._element.textContent=e)}set className(e){this.disposed||e===this._className||(this._className=e,this._element.className=e)}set empty(e){this.disposed||e===this._empty||(this._empty=e,this._element.style.marginLeft=e?"0":"")}dispose(){this.disposed=!0}}class Xk extends H{constructor(e,t){super(),this.customHovers=new Map,this.domNode=this._register(new aS(U(e,Y(".monaco-icon-label")))),this.labelContainer=U(this.domNode.element,Y(".monaco-icon-label-container"));const i=U(this.labelContainer,Y("span.monaco-icon-name-container"));this.descriptionContainer=this._register(new aS(U(this.labelContainer,Y("span.monaco-icon-description-container")))),t!=null&&t.supportHighlights||t!=null&&t.supportIcons?this.nameNode=new RG(i,!!t.supportIcons):this.nameNode=new TG(i),t!=null&&t.supportDescriptionHighlights?this.descriptionNodeFactory=()=>new Cl(U(this.descriptionContainer.element,Y("span.label-description")),!!t.supportIcons):this.descriptionNodeFactory=()=>this._register(new aS(U(this.descriptionContainer.element,Y("span.label-description")))),this.hoverDelegate=t==null?void 0:t.hoverDelegate}get element(){return this.domNode.element}setLabel(e,t,i){const n=["monaco-icon-label"];i&&(i.extraClasses&&n.push(...i.extraClasses),i.italic&&n.push("italic"),i.strikethrough&&n.push("strikethrough")),this.domNode.className=n.join(" "),this.setupHover(i!=null&&i.descriptionTitle?this.labelContainer:this.element,i==null?void 0:i.title),this.nameNode.setLabel(e,i),(t||this.descriptionNode)&&(this.descriptionNode||(this.descriptionNode=this.descriptionNodeFactory()),this.descriptionNode instanceof Cl?(this.descriptionNode.set(t||"",i?i.descriptionMatches:void 0),this.setupHover(this.descriptionNode.element,i==null?void 0:i.descriptionTitle)):(this.descriptionNode.textContent=t||"",this.setupHover(this.descriptionNode.element,(i==null?void 0:i.descriptionTitle)||""),this.descriptionNode.empty=!t))}setupHover(e,t){const i=this.customHovers.get(e);if(i&&(i.dispose(),this.customHovers.delete(e)),!t){e.removeAttribute("title");return}if(!this.hoverDelegate)IG(e,t);else{const n=NG(this.hoverDelegate,e,t);n&&this.customHovers.set(e,n)}}dispose(){super.dispose();for(const e of this.customHovers.values())e.dispose();this.customHovers.clear()}}class TG{constructor(e){this.container=e,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&po(this.options,t)))if(this.label=e,this.options=t,typeof e=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=U(this.container,Y("a.label-name",{id:t==null?void 0:t.domId}))),this.singleLabel.textContent=e;else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;for(let i=0;i{const o={start:i,end:i+n.length},r=t.map(a=>Bi.intersect(o,a)).filter(a=>!Bi.isEmpty(a)).map(({start:a,end:l})=>({start:a-i,end:l-i}));return i=o.end+e.length,r})}class RG{constructor(e,t){this.container=e,this.supportIcons=t,this.label=void 0,this.singleLabel=void 0}setLabel(e,t){if(!(this.label===e&&po(this.options,t)))if(this.label=e,this.options=t,typeof e=="string")this.singleLabel||(this.container.innerText="",this.container.classList.remove("multiple"),this.singleLabel=new Cl(U(this.container,Y("a.label-name",{id:t==null?void 0:t.domId})),this.supportIcons)),this.singleLabel.set(e,t==null?void 0:t.matches,void 0,t==null?void 0:t.labelEscapeNewLines);else{this.container.innerText="",this.container.classList.add("multiple"),this.singleLabel=void 0;const i=(t==null?void 0:t.separator)||"/",n=AG(e,i,t==null?void 0:t.matches);for(let o=0;o{const s=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:s,collatorIsNumeric:s.resolvedOptions().numeric}});function MG(s,e,t=!1){const i=s||"",n=e||"",o=UT.value.collator.compare(i,n);return UT.value.collatorIsNumeric&&o===0&&i!==n?in.length)return 1}return 0}var D2=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},FG=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const Ho=Y;class BG{constructor(e){this.hidden=!1,this._onChecked=new M,this.onChecked=this._onChecked.event,Object.assign(this,e)}get checked(){return!!this._checked}set checked(e){e!==this._checked&&(this._checked=e,this._onChecked.fire(e))}dispose(){this._onChecked.dispose()}}class Qp{get templateId(){return Qp.ID}renderTemplate(e){const t=Object.create(null);t.toDisposeElement=[],t.toDisposeTemplate=[],t.entry=U(e,Ho(".quick-input-list-entry"));const i=U(t.entry,Ho("label.quick-input-list-label"));t.toDisposeTemplate.push(ii(i,ue.CLICK,d=>{t.checkbox.offsetParent||d.preventDefault()})),t.checkbox=U(i,Ho("input.quick-input-list-checkbox")),t.checkbox.type="checkbox",t.toDisposeTemplate.push(ii(t.checkbox,ue.CHANGE,d=>{t.element.checked=t.checkbox.checked}));const n=U(i,Ho(".quick-input-list-rows")),o=U(n,Ho(".quick-input-list-row")),r=U(n,Ho(".quick-input-list-row"));t.label=new Xk(o,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const a=U(o,Ho(".quick-input-list-entry-keybinding"));t.keybinding=new Qk(a,Ms);const l=U(r,Ho(".quick-input-list-label-meta"));return t.detail=new Cl(l,!0),t.separator=U(t.entry,Ho(".quick-input-list-separator")),t.actionBar=new pa(t.entry),t.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),t.toDisposeTemplate.push(t.actionBar),t}renderElement(e,t,i){i.toDisposeElement=qe(i.toDisposeElement),i.element=e,i.checkbox.checked=e.checked,i.toDisposeElement.push(e.onChecked(d=>i.checkbox.checked=d));const{labelHighlights:n,descriptionHighlights:o,detailHighlights:r}=e,a=Object.create(null);a.matches=n||[],a.descriptionTitle=e.saneDescription,a.descriptionMatches=o||[],a.extraClasses=e.item.iconClasses,a.italic=e.item.italic,a.strikethrough=e.item.strikethrough,i.label.setLabel(e.saneLabel,e.saneDescription,a),i.keybinding.set(e.item.keybinding),i.detail.set(e.saneDetail,r),e.separator&&e.separator.label?(i.separator.textContent=e.separator.label,i.separator.style.display=""):i.separator.style.display="none",i.entry.classList.toggle("quick-input-list-separator-border",!!e.separator),i.actionBar.clear();const l=e.item.buttons;l&&l.length?(i.actionBar.push(l.map((d,h)=>{let c=d.iconClass||(d.iconPath?bL(d.iconPath):void 0);d.alwaysVisible&&(c=c?`${c} always-visible`:"always-visible");const u=new Us(`id-${h}`,"",c,!0,()=>FG(this,void 0,void 0,function*(){e.fireButtonTriggered({button:d,item:e.item})}));return u.tooltip=d.tooltip||"",u}),{icon:!0,label:!1}),i.entry.classList.add("has-actions")):i.entry.classList.remove("has-actions")}disposeElement(e,t,i){i.toDisposeElement=qe(i.toDisposeElement)}disposeTemplate(e){e.toDisposeElement=qe(e.toDisposeElement),e.toDisposeTemplate=qe(e.toDisposeTemplate)}}Qp.ID="listelement";class WG{getHeight(e){return e.saneDetail?44:22}getTemplateId(e){return Qp.ID}}var qt;(function(s){s[s.First=1]="First",s[s.Second=2]="Second",s[s.Last=3]="Last",s[s.Next=4]="Next",s[s.Previous=5]="Previous",s[s.NextPage=6]="NextPage",s[s.PreviousPage=7]="PreviousPage"})(qt||(qt={}));class Jk{constructor(e,t,i){this.parent=e,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new M,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new M,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new M,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new M,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new M,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new M,this.onKeyDown=this._onKeyDown.event,this._onLeave=new M,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=t,this.container=U(this.parent,Ho(".quick-input-list"));const n=new WG,o=new HG;this.list=i.createList("QuickInput",this.container,n,[new Qp],{identityProvider:{getId:r=>r.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:o}),this.list.getHTMLElement().id=t,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(r=>{const a=new Ot(r);switch(a.keyCode){case 10:this.toggleCheckbox();break;case 31:(Me?r.metaKey:r.ctrlKey)&&this.list.setFocus(tn(this.list.length));break;case 16:const l=this.list.getFocus();l.length===1&&l[0]===0&&this._onLeave.fire();break;case 18:const d=this.list.getFocus();d.length===1&&d[0]===this.list.length-1&&this._onLeave.fire();break}this._onKeyDown.fire(a)})),this.disposables.push(this.list.onMouseDown(r=>{r.browserEvent.button!==2&&r.browserEvent.preventDefault()})),this.disposables.push(q(this.container,ue.CLICK,r=>{(r.x||r.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(r=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(r=>{typeof r.index=="number"&&(r.browserEvent.preventDefault(),this.list.setSelection([r.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return he.map(this.list.onDidChangeFocus,e=>e.elements.map(t=>t.item))}get onDidChangeSelection(){return he.map(this.list.onDidChangeSelection,e=>({items:e.elements.map(t=>t.item),event:e.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(e){this.list.scrollTop=e}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(e,t=!0){for(let i=0,n=e.length;i{t.hidden||(t.checked=e)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(e){this.elementDisposables=qe(this.elementDisposables);const t=i=>this.fireButtonTriggered(i);this.inputElements=e,this.elements=e.reduce((i,n,o)=>{var r,a,l;if(n.type!=="separator"){const d=o&&e[o-1],h=n.label&&n.label.replace(/\r?\n/g," "),c=n.meta&&n.meta.replace(/\r?\n/g," "),u=n.description&&n.description.replace(/\r?\n/g," "),f=n.detail&&n.detail.replace(/\r?\n/g," "),g=n.ariaLabel||[h,u,f].map(m=>HW(m)).filter(m=>!!m).join(", ");i.push(new BG({index:o,item:n,saneLabel:h,saneMeta:c,saneAriaLabel:g,saneDescription:u,saneDetail:f,labelHighlights:(r=n.highlights)===null||r===void 0?void 0:r.label,descriptionHighlights:(a=n.highlights)===null||a===void 0?void 0:a.description,detailHighlights:(l=n.highlights)===null||l===void 0?void 0:l.detail,checked:!1,separator:d&&d.type==="separator"?d:void 0,fireButtonTriggered:t}))}return i},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(i=>i.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((i,n,o)=>(i.set(n.item,o),i),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(e=>e.item)}setFocusedElements(e){if(this.list.setFocus(e.filter(t=>this.elementsToIndexes.has(t)).map(t=>this.elementsToIndexes.get(t))),e.length>0){const t=this.list.getFocus()[0];typeof t=="number"&&this.list.reveal(t)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(e){this.list.setSelection(e.filter(t=>this.elementsToIndexes.has(t)).map(t=>this.elementsToIndexes.get(t)))}getCheckedElements(){return this.elements.filter(e=>e.checked).map(e=>e.item)}setCheckedElements(e){try{this._fireCheckedEvents=!1;const t=new Set;for(const i of e)t.add(i);for(const i of this.elements)i.checked=t.has(i.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(e){this.list.getHTMLElement().style.pointerEvents=e?"":"none"}focus(e){if(!this.list.length)return;switch(e===qt.Next&&this.list.getFocus()[0]===this.list.length-1&&(e=qt.First),e===qt.Previous&&this.list.getFocus()[0]===0&&(e=qt.Last),e===qt.Second&&this.list.length<2&&(e=qt.First),e){case qt.First:this.list.focusFirst();break;case qt.Second:this.list.focusNth(1);break;case qt.Last:this.list.focusLast();break;case qt.Next:this.list.focusNext();break;case qt.Previous:this.list.focusPrevious();break;case qt.NextPage:this.list.focusNextPage();break;case qt.PreviousPage:this.list.focusPreviousPage();break}const t=this.list.getFocus()[0];typeof t=="number"&&this.list.reveal(t)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(e){this.list.getHTMLElement().style.maxHeight=e?`calc(${Math.floor(e/44)*44}px)`:"",this.list.layout()}filter(e){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if(e=e.trim(),!e||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(i=>{i.labelHighlights=void 0,i.descriptionHighlights=void 0,i.detailHighlights=void 0,i.hidden=!1;const n=i.index&&this.inputElements[i.index-1];i.separator=n&&n.type==="separator"?n:void 0});else{let i;this.elements.forEach(n=>{const o=this.matchOnLabel?qn(Um(e,zm(n.saneLabel))):void 0,r=this.matchOnDescription?qn(Um(e,zm(n.saneDescription||""))):void 0,a=this.matchOnDetail?qn(Um(e,zm(n.saneDetail||""))):void 0,l=this.matchOnMeta?qn(Um(e,zm(n.saneMeta||""))):void 0;if(o||r||a||l?(n.labelHighlights=o,n.descriptionHighlights=r,n.detailHighlights=a,n.hidden=!1):(n.labelHighlights=void 0,n.descriptionHighlights=void 0,n.detailHighlights=void 0,n.hidden=!n.item.alwaysShow),n.separator=void 0,!this.sortByLabel){const d=n.index&&this.inputElements[n.index-1];i=d&&d.type==="separator"?d:i,i&&!n.hidden&&(n.separator=i,i=void 0)}})}const t=this.elements.filter(i=>!i.hidden);if(this.sortByLabel&&e){const i=e.toLowerCase();t.sort((n,o)=>VG(n,o,i))}return this.elementsToIndexes=t.reduce((i,n,o)=>(i.set(n.item,o),i),new Map),this.list.splice(0,this.list.length,t),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(t.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const e=this.list.getFocusedElements(),t=this.allVisibleChecked(e);for(const i of e)i.checked=!t}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(e){this.container.style.display=e?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=qe(this.elementDisposables),this.disposables=qe(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(e){this._onButtonTriggered.fire(e)}style(e){this.list.style(e)}}D2([si],Jk.prototype,"onDidChangeFocus",null);D2([si],Jk.prototype,"onDidChangeSelection",null);function VG(s,e,t){const i=s.labelHighlights||[],n=e.labelHighlights||[];return i.length&&!n.length?-1:!i.length&&n.length?1:i.length===0&&n.length===0?0:OG(s.saneLabel,e.saneLabel,t)}class HG{getWidgetAriaLabel(){return p("quickInput","Quick Input")}getAriaLabel(e){return e.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var $T=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const Bn=Y,zG=Zs("quick-input-back",ie.arrowLeft),wL={iconClass:zG.classNames,tooltip:p("quickInput.back","Back"),handle:-1};class qv extends H{constructor(e){super(),this.ui=e,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=qv.noPromptMessage,this._severity=Wt.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new M),this.onDidHideEmitter=this._register(new M),this.onDisposeEmitter=this._register(new M),this.visibleDisposables=this._register(new X),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(e){this._title=e,this.update()}get description(){return this._description}set description(e){this._description=e,this.update()}get step(){return this._steps}set step(e){this._steps=e,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(e){this._totalSteps=e,this.update()}get enabled(){return this._enabled}set enabled(e){this._enabled=e,this.update()}get contextKey(){return this._contextKey}set contextKey(e){this._contextKey=e,this.update()}get busy(){return this._busy}set busy(e){this._busy=e,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(e){const t=this._ignoreFocusOut!==e&&!lr;this._ignoreFocusOut=e&&!lr,t&&this.update()}get buttons(){return this._buttons}set buttons(e){this._buttons=e,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(e){this._validationMessage=e,this.update()}get severity(){return this._severity}set severity(e){this._severity=e,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(e=>{this.buttons.indexOf(e)!==-1&&this.onDidTriggerButtonEmitter.fire(e)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(e=rp.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:e})}update(){if(!this.visible)return;const e=this.getTitle();e&&this.ui.title.textContent!==e?this.ui.title.textContent=e:!e&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText=" ");const t=this.getDescription();if(this.ui.description1.textContent!==t&&(this.ui.description1.textContent=t),this.ui.description2.textContent!==t&&(this.ui.description2.textContent=t),this.busy&&!this.busyDelay&&(this.busyDelay=new hn,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const n=this.buttons.filter(r=>r===wL);this.ui.leftActionBar.push(n.map((r,a)=>{const l=new Us(`id-${a}`,"",r.iconClass||bL(r.iconPath),!0,()=>$T(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(r)}));return l.tooltip=r.tooltip||"",l}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const o=this.buttons.filter(r=>r!==wL);this.ui.rightActionBar.push(o.map((r,a)=>{const l=new Us(`id-${a}`,"",r.iconClass||bL(r.iconPath),!0,()=>$T(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(r)}));return l.tooltip=r.tooltip||"",l}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const i=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==i&&(this._lastValidationMessage=i,al(this.ui.message,...Od(i))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?p("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(e){if(this.ui.inputBox.showDecoration(e),e!==Wt.Ignore){const t=this.ui.inputBox.stylesForType(e);this.ui.message.style.color=t.foreground?`${t.foreground}`:"",this.ui.message.style.backgroundColor=t.background?`${t.background}`:"",this.ui.message.style.border=t.border?`1px solid ${t.border}`:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}qv.noPromptMessage=p("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class ap extends qv{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new M),this.onWillAcceptEmitter=this._register(new M),this.onDidAcceptEmitter=this._register(new M),this.onDidCustomEmitter=this._register(new M),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=this.ui.isScreenReaderOptimized()?eo.NONE:eo.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new M),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new M),this.onDidTriggerItemButtonEmitter=this._register(new M),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=e=>e,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(e){this._quickNavigate=e,this.update()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e||"",this.update(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(e){this._ariaLabel=e,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(e){this.ui.list.scrollTop=e}set items(e){this._items=e,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(e){this._canSelectMany=e,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(e){this._canAcceptInBackground=e}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(e){this._matchOnDescription=e,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(e){this._matchOnDetail=e,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(e){this._matchOnLabel=e,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(e){this._sortByLabel=e,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(e){this._autoFocusOnList=e,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(e){this._keepScrollPosition=e}get itemActivation(){return this._itemActivation}set itemActivation(e){this._itemActivation=e}get activeItems(){return this._activeItems}set activeItems(e){this._activeItems=e,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(e){this._selectedItems=e,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?mG:this.ui.keyMods}set valueSelection(e){this._valueSelection=e,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(e){this._customButton=e,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(e){this._customButtonLabel=e,this.update()}get customHover(){return this._customButtonHover}set customHover(e){this._customButtonHover=e,this.update()}get ok(){return this._ok}set ok(e){this._ok=e,this.update()}get hideInput(){return!!this._hideInput}set hideInput(e){this._hideInput=e,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(qt.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(e=>{if(e===this.value)return;this._value=e,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(e)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(e=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(e=>{switch(e.keyCode){case 18:this.ui.list.focus(qt.Next),this.canSelectMany&&this.ui.list.domFocus(),rt.stop(e,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(qt.Previous):this.ui.list.focus(qt.Last),this.canSelectMany&&this.ui.list.domFocus(),rt.stop(e,!0);break;case 12:this.ui.list.focus(qt.NextPage),this.canSelectMany&&this.ui.list.domFocus(),rt.stop(e,!0);break;case 11:this.ui.list.focus(qt.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),rt.stop(e,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&(this.ui.list.focus(qt.First),rt.stop(e,!0));break;case 13:(e.ctrlKey||e.metaKey)&&!e.shiftKey&&!e.altKey&&(this.ui.list.focus(qt.Last),rt.stop(e,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(e=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&zs(e,this._activeItems,(t,i)=>t===i)||(this._activeItems=e,this.onDidChangeActiveEmitter.fire(e))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:e,event:t})=>{if(this.canSelectMany){e.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&zs(e,this._selectedItems,(i,n)=>i===n)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e),e.length&&this.handleAccept(t instanceof MouseEvent&&t.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(e=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&zs(e,this._selectedItems,(t,i)=>t===i)||(this._selectedItems=e,this.onDidChangeSelectionEmitter.fire(e)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(e=>this.onDidTriggerItemButtonEmitter.fire(e))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(e){let t=!1;this.onWillAcceptEmitter.fire({veto:()=>t=!0}),t||this.onDidAcceptEmitter.fire({inBackground:e})}registerQuickNavigation(){return q(this.ui.container,ue.KEY_UP,e=>{if(this.canSelectMany||!this._quickNavigate)return;const t=new Ot(e),i=t.keyCode;this._quickNavigate.keybindings.some(r=>{const[a,l]=r.getParts();return l?!1:a.shiftKey&&i===4?!(t.ctrlKey||t.altKey||t.metaKey):!!(a.altKey&&i===6||a.ctrlKey&&i===5||a.metaKey&&i===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const e=this.keepScrollPosition?this.scrollTop:0,t=!!this._hideInput&&this._items.length>0;this.ui.container.classList.toggle("hidden-input",t&&!this.description);const i={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!t,progressBar:!t,visibleCount:!0,count:this.canSelectMany,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(i),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");const n=this.ariaLabel||this.placeholder||ap.DEFAULT_ARIA_LABEL;if(this.ui.inputBox.ariaLabel!==n&&(this.ui.inputBox.ariaLabel=n),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case eo.NONE:this._itemActivation=eo.FIRST;break;case eo.SECOND:this.ui.list.focus(qt.Second),this._itemActivation=eo.FIRST;break;case eo.LAST:this.ui.list.focus(qt.Last),this._itemActivation=eo.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),i.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(qt.First)),this.keepScrollPosition&&(this.scrollTop=e)}}ap.DEFAULT_ARIA_LABEL=p("quickInputBox.ariaLabel","Type to narrow down results.");class Gv extends H{constructor(e){super(),this.options=e,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new M),this.onDidCustomEmitter=this._register(new M),this.onDidTriggerButtonEmitter=this._register(new M),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new M),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new M),this.onHide=this.onHideEmitter.event,this.idPrefix=e.idPrefix,this.parentElement=e.container,this.styles=e.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const e=t=>{this.keyMods.ctrlCmd=t.ctrlKey||t.metaKey,this.keyMods.alt=t.altKey};this._register(q(window,ue.KEY_DOWN,e,!0)),this._register(q(window,ue.KEY_UP,e,!0)),this._register(q(window,ue.MOUSE_DOWN,e,!0))}getUI(){if(this.ui)return this.ui;const e=U(this.parentElement,Bn(".quick-input-widget.show-file-icons"));e.tabIndex=-1,e.style.display="none";const t=Xn(e),i=U(e,Bn(".quick-input-titlebar")),n=this._register(new pa(i));n.domNode.classList.add("quick-input-left-action-bar");const o=U(i,Bn(".quick-input-title")),r=this._register(new pa(i));r.domNode.classList.add("quick-input-right-action-bar");const a=U(e,Bn(".quick-input-description")),l=U(e,Bn(".quick-input-header")),d=U(l,Bn("input.quick-input-check-all"));d.type="checkbox",this._register(ii(d,ue.CHANGE,B=>{const O=d.checked;L.setAllVisibleChecked(O)})),this._register(q(d,ue.CLICK,B=>{(B.x||B.y)&&f.setFocus()}));const h=U(l,Bn(".quick-input-description")),c=U(l,Bn(".quick-input-and-message")),u=U(c,Bn(".quick-input-filter")),f=this._register(new DG(u));f.setAttribute("aria-describedby",`${this.idPrefix}message`);const g=U(u,Bn(".quick-input-visible-count"));g.setAttribute("aria-live","polite"),g.setAttribute("aria-atomic","true");const m=new _L(g,{countFormat:p({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),_=U(u,Bn(".quick-input-count"));_.setAttribute("aria-live","polite");const C=new _L(_,{countFormat:p({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),b=U(l,Bn(".quick-input-action")),v=new WT(b);v.label=p("ok","OK"),this._register(v.onDidClick(B=>{this.onDidAcceptEmitter.fire()}));const w=U(l,Bn(".quick-input-action")),y=new WT(w);y.label=p("custom","Custom"),this._register(y.onDidClick(B=>{this.onDidCustomEmitter.fire()}));const k=U(c,Bn(`#${this.idPrefix}message.quick-input-message`)),L=this._register(new Jk(e,this.idPrefix+"list",this.options));this._register(L.onChangedAllVisibleChecked(B=>{d.checked=B})),this._register(L.onChangedVisibleCount(B=>{m.setCount(B)})),this._register(L.onChangedCheckedCount(B=>{C.setCount(B)})),this._register(L.onLeave(()=>{setTimeout(()=>{f.setFocus(),this.controller instanceof ap&&this.controller.canSelectMany&&L.clearFocus()},0)})),this._register(L.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const D=new gG(e);D.getContainer().classList.add("quick-input-progress");const N=Zc(e);return this._register(N),this._register(q(e,ue.FOCUS,B=>{this.previousFocusElement=B.relatedTarget instanceof HTMLElement?B.relatedTarget:void 0},!0)),this._register(N.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(rp.Blur),this.previousFocusElement=void 0})),this._register(q(e,ue.FOCUS,B=>{f.setFocus()})),this._register(q(e,ue.KEY_DOWN,B=>{const O=new Ot(B);switch(O.keyCode){case 3:rt.stop(B,!0),this.onDidAcceptEmitter.fire();break;case 9:rt.stop(B,!0),this.hide(rp.Gesture);break;case 2:if(!O.altKey&&!O.ctrlKey&&!O.metaKey){const $=[".action-label.codicon"];e.classList.contains("show-checkboxes")?$.push("input"):$.push("input[type=text]"),this.getUI().list.isDisplayed()&&$.push(".monaco-list");const K=e.querySelectorAll($.join(", "));O.shiftKey&&O.target===K[0]?(rt.stop(B,!0),K[K.length-1].focus()):!O.shiftKey&&O.target===K[K.length-1]&&(rt.stop(B,!0),K[0].focus())}break}})),this.ui={container:e,styleSheet:t,leftActionBar:n,titleBar:i,title:o,description1:a,description2:h,rightActionBar:r,checkAll:d,filterContainer:u,inputBox:f,visibleCountContainer:g,visibleCount:m,countContainer:_,count:C,okContainer:b,ok:v,message:k,customButtonContainer:w,customButton:y,list:L,progressBar:D,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:B=>this.show(B),hide:()=>this.hide(),setVisibilities:B=>this.setVisibilities(B),setComboboxAccessibility:B=>this.setComboboxAccessibility(B),setEnabled:B=>this.setEnabled(B),setContextKey:B=>this.options.setContextKey(B)},this.updateStyles(),this.ui}pick(e,t={},i=Oe.None){return new Promise((n,o)=>{let r=h=>{r=n,t.onKeyMods&&t.onKeyMods(a.keyMods),n(h)};if(i.isCancellationRequested){r(void 0);return}const a=this.createQuickPick();let l;const d=[a,a.onDidAccept(()=>{if(a.canSelectMany)r(a.selectedItems.slice()),a.hide();else{const h=a.activeItems[0];h&&(r(h),a.hide())}}),a.onDidChangeActive(h=>{const c=h[0];c&&t.onDidFocus&&t.onDidFocus(c)}),a.onDidChangeSelection(h=>{if(!a.canSelectMany){const c=h[0];c&&(r(c),a.hide())}}),a.onDidTriggerItemButton(h=>t.onDidTriggerItemButton&&t.onDidTriggerItemButton(Object.assign(Object.assign({},h),{removeItem:()=>{const c=a.items.indexOf(h.item);if(c!==-1){const u=a.items.slice(),f=u.splice(c,1),g=a.activeItems.filter(_=>_!==f[0]),m=a.keepScrollPosition;a.keepScrollPosition=!0,a.items=u,g&&(a.activeItems=g),a.keepScrollPosition=m}}}))),a.onDidChangeValue(h=>{l&&!h&&(a.activeItems.length!==1||a.activeItems[0]!==l)&&(a.activeItems=[l])}),i.onCancellationRequested(()=>{a.hide()}),a.onDidHide(()=>{qe(d),r(void 0)})];a.title=t.title,a.canSelectMany=!!t.canPickMany,a.placeholder=t.placeHolder,a.ignoreFocusOut=!!t.ignoreFocusLost,a.matchOnDescription=!!t.matchOnDescription,a.matchOnDetail=!!t.matchOnDetail,a.matchOnLabel=t.matchOnLabel===void 0||t.matchOnLabel,a.autoFocusOnList=t.autoFocusOnList===void 0||t.autoFocusOnList,a.quickNavigate=t.quickNavigate,a.contextKey=t.contextKey,a.busy=!0,Promise.all([e,t.activeItem]).then(([h,c])=>{l=c,a.busy=!1,a.items=h,a.canSelectMany&&(a.selectedItems=h.filter(u=>u.type!=="separator"&&u.picked)),l&&(a.activeItems=[l])}),a.show(),Promise.resolve(e).then(void 0,h=>{o(h),a.hide()})})}createQuickPick(){const e=this.getUI();return new ap(e)}show(e){const t=this.getUI();this.onShowEmitter.fire();const i=this.controller;this.controller=e,i&&i.didHide(),this.setEnabled(!0),t.leftActionBar.clear(),t.title.textContent="",t.description1.textContent="",t.description2.textContent="",t.rightActionBar.clear(),t.checkAll.checked=!1,t.inputBox.placeholder="",t.inputBox.password=!1,t.inputBox.showDecoration(Wt.Ignore),t.visibleCount.setCount(0),t.count.setCount(0),al(t.message),t.progressBar.stop(),t.list.setElements([]),t.list.matchOnDescription=!1,t.list.matchOnDetail=!1,t.list.matchOnLabel=!0,t.list.sortByLabel=!0,t.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),t.inputBox.ariaLabel="";const n=this.options.backKeybindingLabel();wL.tooltip=n?p("quickInput.backWithKeybinding","Back ({0})",n):p("quickInput.back","Back"),t.container.style.display="",this.updateLayout(),t.inputBox.setFocus()}setVisibilities(e){const t=this.getUI();t.title.style.display=e.title?"":"none",t.description1.style.display=e.description&&(e.inputBox||e.checkAll)?"":"none",t.description2.style.display=e.description&&!(e.inputBox||e.checkAll)?"":"none",t.checkAll.style.display=e.checkAll?"":"none",t.filterContainer.style.display=e.inputBox?"":"none",t.visibleCountContainer.style.display=e.visibleCount?"":"none",t.countContainer.style.display=e.count?"":"none",t.okContainer.style.display=e.ok?"":"none",t.customButtonContainer.style.display=e.customButton?"":"none",t.message.style.display=e.message?"":"none",t.progressBar.getContainer().style.display=e.progressBar?"":"none",t.list.display(!!e.list),t.container.classList[e.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(e){if(e!==this.comboboxAccessibility){const t=this.getUI();this.comboboxAccessibility=e,this.comboboxAccessibility?(t.inputBox.setAttribute("role","combobox"),t.inputBox.setAttribute("aria-haspopup","true"),t.inputBox.setAttribute("aria-autocomplete","list"),t.inputBox.setAttribute("aria-activedescendant",t.list.getActiveDescendant()||"")):(t.inputBox.removeAttribute("role"),t.inputBox.removeAttribute("aria-haspopup"),t.inputBox.removeAttribute("aria-autocomplete"),t.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(e){if(e!==this.enabled){this.enabled=e;for(const t of this.getUI().leftActionBar.viewItems)t.getAction().enabled=e;for(const t of this.getUI().rightActionBar.viewItems)t.getAction().enabled=e;this.getUI().checkAll.disabled=!e,this.getUI().ok.enabled=e,this.getUI().list.enabled=e}}hide(e){var t;const i=this.controller;if(i){const n=!(!((t=this.ui)===null||t===void 0)&&t.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",n||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),i.didHide(e)}}layout(e,t){this.dimension=e,this.titleBarOffset=t,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=`${this.titleBarOffset}px`;const e=this.ui.container.style,t=Math.min(this.dimension.width*.62,Gv.MAX_WIDTH);e.width=t+"px",e.marginLeft="-"+t/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(e){this.styles=e,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:e,quickInputBackground:t,quickInputForeground:i,contrastBorder:n,widgetShadow:o}=this.styles.widget;this.ui.titleBar.style.backgroundColor=e?e.toString():"",this.ui.container.style.backgroundColor=t?t.toString():"",this.ui.container.style.color=i?i.toString():"",this.ui.container.style.border=n?`1px solid ${n}`:"",this.ui.container.style.boxShadow=o?`0 0 8px 2px ${o}`:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const r=[];this.styles.list.pickerGroupBorder&&r.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&r.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(r.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&r.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&r.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&r.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&r.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&r.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),r.push("}"));const a=r.join(` `);a!==this.ui.styleSheet.textContent&&(this.ui.styleSheet.textContent=a)}}}Gv.MAX_WIDTH=600;var SL;(function(s){s[s.PRESERVE=0]="PRESERVE",s[s.LAST=1]="LAST"})(SL||(SL={}));const Ah={Quickaccess:"workbench.contributions.quickaccess"};class UG{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return e.prefix.length===0?this.defaultProvider=e:this.providers.push(e),this.providers.sort((t,i)=>i.prefix.length-t.prefix.length),Ve(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return wh([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){return e&&this.providers.find(i=>e.startsWith(i.prefix))||void 0||this.defaultProvider}}Xt.add(Ah.Quickaccess,new UG);const Ml=Je("quickInputService");var $G=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},jT=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}};let yL=class extends H{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=Xt.as(Ah.Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var n;const[o,r]=this.getOrInstantiateProvider(e),a=this.visibleQuickAccess,l=a==null?void 0:a.descriptor;if(a&&r&&l===r){e!==r.prefix&&!(i!=null&&i.preserveValue)&&(a.picker.value=e),this.adjustValueSelection(a.picker,r,i);return}if(r&&!(i!=null&&i.preserveValue)){let g;if(a&&l&&l!==r){const m=a.value.substr(l.prefix.length);m&&(g=`${r.prefix}${m}`)}if(!g){const m=o==null?void 0:o.defaultFilterValue;m===SL.LAST?g=this.lastAcceptedPickerValues.get(r):typeof m=="string"&&(g=`${r.prefix}${m}`)}typeof g=="string"&&(e=g)}const d=new X,h=d.add(this.quickInputService.createQuickPick());h.value=e,this.adjustValueSelection(h,r,i),h.placeholder=r==null?void 0:r.placeholder,h.quickNavigate=i==null?void 0:i.quickNavigateConfiguration,h.hideInput=!!h.quickNavigate&&!a,(typeof(i==null?void 0:i.itemActivation)=="number"||i!=null&&i.quickNavigateConfiguration)&&(h.itemActivation=(n=i==null?void 0:i.itemActivation)!==null&&n!==void 0?n:eo.SECOND),h.contextKey=r==null?void 0:r.contextKey,h.filterValue=g=>g.substring(r?r.prefix.length:0),r!=null&&r.placeholder&&(h.ariaLabel=r==null?void 0:r.placeholder);let c,u;t&&(c=new Promise(g=>u=g),d.add(ha(h.onWillAccept)(g=>{g.veto(),h.hide()}))),d.add(this.registerPickerListeners(h,o,r,e));const f=d.add(new ln);if(o&&d.add(o.provide(h,f.token)),ha(h.onDidHide)(()=>{h.selectedItems.length===0&&f.cancel(),d.dispose(),u==null||u(h.selectedItems)}),h.show(),t)return c}adjustValueSelection(e,t,i){var n;let o;i!=null&&i.preserveValue?o=[e.value.length,e.value.length]:o=[(n=t==null?void 0:t.prefix.length)!==null&&n!==void 0?n:0,e.value.length],e.valueSelection=o}registerPickerListeners(e,t,i,n){const o=new X,r=this.visibleQuickAccess={picker:e,descriptor:i,value:n};return o.add(Ve(()=>{r===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),o.add(e.onDidChangeValue(a=>{const[l]=this.getOrInstantiateProvider(a);l!==t?this.show(a,{preserveValue:!0}):r.value=a})),i&&o.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),o}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let i=this.mapProviderToDescriptor.get(t);return i||(i=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,i)),[i,t]}};yL=$G([jT(0,Ml),jT(1,Ge)],yL);var jG=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_f=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}};let LL=class extends b8{constructor(e,t,i,n,o){super(i),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=n,this.layoutService=o,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(yL))),this._quickAccess}createController(e=this.layoutService,t){var i,n;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:a=>this.setContextKey(a),returnFocus:()=>e.focus(),createList:(a,l,d,h,c)=>this.instantiationService.createInstance(cL,a,l,d,h,c),styles:this.computeStyles()},r=this._register(new Gv(Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,(n=(i=e.offset)===null||i===void 0?void 0:i.top)!==null&&n!==void 0?n:0),this._register(e.onDidLayout(a=>{var l,d;return r.layout(a,(d=(l=e.offset)===null||l===void 0?void 0:l.top)!==null&&d!==void 0?d:0)})),this._register(r.onShow(()=>this.resetContextKeys())),this._register(r.onHide(()=>this.resetContextKeys())),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new re(e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),!(t&&t.get())&&(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=Oe.None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},io(this.theme,{quickInputBackground:cN,quickInputForeground:u9,quickInputTitleBackground:f9,contrastBorder:Zt,widgetShadow:gl})),inputBox:io(this.theme,{inputForeground:Gx,inputBackground:qx,inputBorder:Zx,inputValidationInfoBackground:Yx,inputValidationInfoForeground:Xx,inputValidationInfoBorder:Qx,inputValidationWarningBackground:AO,inputValidationWarningForeground:RO,inputValidationWarningBorder:MO,inputValidationErrorBackground:OO,inputValidationErrorForeground:PO,inputValidationErrorBorder:FO}),countBadge:io(this.theme,{badgeBackground:Qf,badgeForeground:Jf,badgeBorder:Zt}),button:io(this.theme,{buttonForeground:n9,buttonBackground:ky,buttonHoverBackground:s9,buttonBorder:Zt}),progressBar:io(this.theme,{progressBarBackground:o9}),keybindingLabel:io(this.theme,{keybindingLabelBackground:m9,keybindingLabelForeground:_9,keybindingLabelBorder:b9,keybindingLabelBottomBorder:C9,keybindingLabelShadow:gl}),list:io(this.theme,{listBackground:cN,listInactiveFocusForeground:T_,listInactiveSelectionIconForeground:A_,listInactiveFocusBackground:R_,listFocusOutline:Xi,listInactiveFocusOutline:Xi,pickerGroupBorder:p9,pickerGroupForeground:g9})}}};LL=jG([_f(0,Ge),_f(1,ve),_f(2,Dt),_f(3,Pn),_f(4,Wv)],LL);var x2=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},ad=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}};let DL=class extends LL{constructor(e,t,i,n,o,r){super(t,i,n,o,r),this.host=void 0;const a=fu.get(e);this.host={_serviceBrand:void 0,get container(){return a.widget.getDomNode()},get dimension(){return e.getLayoutInfo()},get onDidLayout(){return e.onDidLayoutChange},focus:()=>e.focus()}}createController(){return super.createController(this.host)}};DL=x2([ad(1,Ge),ad(2,ve),ad(3,Dt),ad(4,Pn),ad(5,Wv)],DL);let xL=class{constructor(e,t){this.instantiationService=e,this.codeEditorService=t,this.mapEditorToService=new Map}get activeService(){const e=this.codeEditorService.getFocusedCodeEditor();if(!e)throw new Error("Quick input service needs a focused editor to work.");let t=this.mapEditorToService.get(e);if(!t){const i=t=this.instantiationService.createInstance(DL,e);this.mapEditorToService.set(e,t),ha(e.onDidDispose)(()=>{i.dispose(),this.mapEditorToService.delete(e)})}return t}get quickAccess(){return this.activeService.quickAccess}pick(e,t={},i=Oe.None){return this.activeService.pick(e,t,i)}createQuickPick(){return this.activeService.createQuickPick()}};xL=x2([ad(0,Ge),ad(1,tt)],xL);class fu{constructor(e){this.editor=e,this.widget=new Zv(this.editor)}static get(e){return e.getContribution(fu.ID)}dispose(){this.widget.dispose()}}fu.ID="editor.controller.quickInput";class Zv{constructor(e){this.codeEditor=e,this.domNode=document.createElement("div"),this.codeEditor.addOverlayWidget(this)}getId(){return Zv.ID}getDomNode(){return this.domNode}getPosition(){return{preference:2}}dispose(){this.codeEditor.removeOverlayWidget(this)}}Zv.ID="editor.contrib.quickInputWidget";nt(fu.ID,fu);var it;(function(s){const e=new qg;class t{constructor(l,d){this._serviceId=l,this._factory=d,this._value=null}get id(){return this._serviceId}get(l){if(!this._value){if(l&&(this._value=l[this._serviceId.toString()]),this._value||(this._value=this._factory(l)),!this._value)throw new Error("Service "+this._serviceId+" is missing!");e.set(this._serviceId,this._value)}return this._value}}s.LazyStaticService=t;let i=[];function n(a,l){let d=new t(a,l);return i.push(d),d}function o(a){let l=new qg;for(const[h,c]of TV())l.set(h,c);for(let h in a)a.hasOwnProperty(h)&&l.set(Je(h),a[h]);i.forEach(h=>l.set(h.id,h.get(a)));let d=new SC(l,!0);return l.set(Ge,d),[l,d]}s.init=o,s.instantiationService=n(Ge,()=>new SC(e,!0));const r=new aO;s.configurationService=n(Ht,()=>r),s.resourceConfigurationService=n(_x,()=>new c8(r)),s.resourcePropertiesService=n(OM,()=>new by(r)),s.contextService=n(iO,()=>new Cv),s.labelService=n(qp,()=>new g8),s.telemetryService=n(Nl,()=>new u8),s.dialogService=n(Kp,()=>new d8),s.notificationService=n(ni,()=>new bv),s.markerService=n(Xp,()=>new rd),s.modeService=n(Qi,a=>new Jg),s.standaloneThemeService=n(Ih,()=>new sK),s.logService=n(Cr,()=>new iH(new tH)),s.undoRedoService=n(Wp,a=>new TC(s.dialogService.get(a),s.notificationService.get(a))),s.languageConfigurationService=n(Pp,a=>new Ib(s.configurationService.get(a),s.modeService.get(a))),s.modelService=n(ri,a=>new bC(s.configurationService.get(a),s.resourcePropertiesService.get(a),s.standaloneThemeService.get(a),s.logService.get(a),s.undoRedoService.get(a),s.modeService.get(a),s.languageConfigurationService.get(a))),s.markerDecorationsService=n(Tx,a=>new pL(s.modelService.get(a),s.markerService.get(a))),s.contextKeyService=n(ve,a=>new Zy(s.configurationService.get(a))),s.codeEditorService=n(tt,a=>new mC(null,s.contextKeyService.get(a),s.standaloneThemeService.get(a))),s.editorProgressService=n(Ca,()=>new _v),s.storageService=n(yr,()=>new iG),s.editorWorkerService=n(Ys,a=>new hy(s.modelService.get(a),s.resourceConfigurationService.get(a),s.logService.get(a)))})(it||(it={}));class KG extends H{constructor(e,t){super();const[i,n]=it.init(t);this._serviceCollection=i,this._instantiationService=n;const o=this.get(Ht),r=this.get(ni),a=this.get(Nl),l=this.get(Dt),d=this.get(Cr),h=this.get(ve);let c=(_,C)=>{let b=null;return t&&(b=t[_.toString()]),b||(b=C()),this._serviceCollection.set(_,b),b};c(Pn,()=>new mL(h,o)),c(Ss,()=>new dL(l));let u=c(Yt,()=>new h8(this._instantiationService)),f=c(Nt,()=>this._register(new rO(h,u,a,r,d,e))),g=c(Wv,()=>new p8(it.codeEditorService.get(tt),e));c(Ml,()=>new xL(n,it.codeEditorService.get(tt)));let m=c(Tl,()=>this._register(new nL(g)));c(Rl,()=>new rG),c(Al,()=>{const _=new iL(a,r,m,f,l);return _.configure({blockMouse:!1}),this._register(_)}),c(Lh,()=>new fL(u)),c(Dx,()=>new f8(it.modelService.get(ri)))}get(e){let t=this._serviceCollection.get(e);if(!t)throw new Error("Missing service "+e);return t}set(e,t){this._serviceCollection.set(e,t)}has(e){return this._serviceCollection.has(e)}}function k2(s,e,t){let i=new KG(s,e),n=null;i.has(Jn)||(n=new _y(it.modelService.get()),i.set(Jn,n)),i.has(Co)||i.set(Co,new Z1(i.get(tt),i.get(Yt)));let o=t(i);return n&&n.setEditor(o),o}function qG(s,e,t){return k2(s,t||{},i=>new $y(s,e,i,i.get(Ge),i.get(tt),i.get(Yt),i.get(ve),i.get(Nt),i.get(Tl),i.get(Ih),i.get(ni),i.get(Ht),i.get(Pn),i.get(ri),i.get(Qi)))}function GG(s){return it.codeEditorService.get().onCodeEditorAdd(e=>{s(e)})}function ZG(s,e,t){return k2(s,t||{},i=>new jy(s,e,i,i.get(Ge),i.get(ve),i.get(Nt),i.get(Tl),i.get(Ys),i.get(tt),i.get(Ih),i.get(ni),i.get(Ht),i.get(Al),i.get(Ca),i.get(Rl)))}function YG(s,e){return new uW(s,e)}function XG(s,e,t){return IP(it.modelService.get(),it.modeService.get(),s,e,t)}function QG(s,e){it.modelService.get().setMode(s,it.modeService.get().create(e))}function JG(s,e,t){s&&it.markerService.get().changeOne(e,s.uri,t)}function eZ(s){return it.markerService.get().read(s)}function tZ(s){return it.markerService.get().onMarkerChanged(s)}function iZ(s){return it.modelService.get().getModel(s)}function nZ(){return it.modelService.get().getModels()}function sZ(s){return it.modelService.get().onModelAdded(s)}function oZ(s){return it.modelService.get().onModelRemoved(s)}function rZ(s){return it.modelService.get().onModelModeChanged(e=>{s({model:e.model,oldLanguage:e.oldModeId})})}function aZ(s){return aH(it.modelService.get(),s)}function lZ(s,e){const t=it.standaloneThemeService.get();return t.registerEditorContainer(s),Lx.colorizeElement(t,it.modeService.get(),s,e)}function dZ(s,e,t){return it.standaloneThemeService.get().registerEditorContainer(document.body),Lx.colorize(it.modeService.get(),s,e,t)}function hZ(s,e,t=4){return it.standaloneThemeService.get().registerEditorContainer(document.body),Lx.colorizeModelLine(s,e,t)}function cZ(s){let e=Rt.get(s);return e||{getInitialState:()=>Op,tokenize:(t,i,n,o)=>CM(s,t,n,o)}}function uZ(s,e){it.modeService.get().triggerMode(e);let i=cZ(e),n=cr(s),o=[],r=i.getInitialState();for(let a=0,l=n.length;a=100){i=i-100;let n=t.split(".");if(n.unshift(t),i=0&&(i.tokenSubst=!0),typeof t.bracket=="string")if(t.bracket==="@open")i.bracket=1;else if(t.bracket==="@close")i.bracket=-1;else throw pt(s,"a 'bracket' attribute must be either '@open' or '@close', in rule: "+e);if(t.next){if(typeof t.next!="string")throw pt(s,"the next state must be a string value in rule: "+e);{let n=t.next;if(!/^(@pop|@push|@popall)$/.test(n)&&(n[0]==="@"&&(n=n.substr(1)),n.indexOf("$")<0&&!kH(s,Ba(s,n,"",[],""))))throw pt(s,"the next state '"+t.next+"' is not defined in rule: "+e);i.next=n}}return typeof t.goBack=="number"&&(i.goBack=t.goBack),typeof t.switchTo=="string"&&(i.switchTo=t.switchTo),typeof t.log=="string"&&(i.log=t.log),typeof t.nextEmbedded=="string"&&(i.nextEmbedded=t.nextEmbedded,s.usesEmbedded=!0),i}}else if(Array.isArray(t)){let i=[];for(let n=0,o=t.length;n0&&i[0]==="^",this.name=this.name+": "+i,this.regex=kL(e,"^(?:"+(this.matchOnlyAtLineStart?i.substr(1):i)+")")}setAction(e,t){this.action=IL(e,this.name,t)}}function yZ(s,e){if(!e||typeof e!="object")throw new Error("Monarch: expecting a language definition object");let t={};t.languageId=s,t.includeLF=Xm(e.includeLF,!1),t.noThrow=!1,t.maxStack=100,t.start=typeof e.start=="string"?e.start:null,t.ignoreCase=Xm(e.ignoreCase,!1),t.unicode=Xm(e.unicode,!1),t.tokenPostfix=KT(e.tokenPostfix,"."+t.languageId),t.defaultToken=KT(e.defaultToken,"source"),t.usesEmbedded=!1;let i=e;i.languageId=s,i.includeLF=t.includeLF,i.ignoreCase=t.ignoreCase,i.unicode=t.unicode,i.noThrow=t.noThrow,i.usesEmbedded=t.usesEmbedded,i.stateNames=e.tokenizer,i.defaultToken=t.defaultToken;function n(r,a,l){for(const d of l){let h=d.include;if(h){if(typeof h!="string")throw pt(t,"an 'include' attribute must be a string at: "+r);if(h[0]==="@"&&(h=h.substr(1)),!e.tokenizer[h])throw pt(t,"include target '"+h+"' is not defined at: "+r);n(r+"."+h,a,e.tokenizer[h])}else{const c=new SZ(r);if(Array.isArray(d)&&d.length>=1&&d.length<=3)if(c.setRegex(i,d[0]),d.length>=3)if(typeof d[1]=="string")c.setAction(i,{token:d[1],next:d[2]});else if(typeof d[1]=="object"){const u=d[1];u.next=d[2],c.setAction(i,u)}else throw pt(t,"a next state as the last element of a rule can only be given if the action is either an object or a string, at: "+r);else c.setAction(i,d[1]);else{if(!d.regex)throw pt(t,"a rule must either be an array, or an object with a 'regex' or 'include' field at: "+r);d.name&&typeof d.name=="string"&&(c.name=d.name),d.matchOnlyAtStart&&(c.matchOnlyAtLineStart=Xm(d.matchOnlyAtLineStart,!1)),c.setRegex(i,d.regex),c.setAction(i,d.action)}a.push(c)}}}if(!e.tokenizer||typeof e.tokenizer!="object")throw pt(t,"a language definition must define the 'tokenizer' attribute as an object");t.tokenizer=[];for(let r in e.tokenizer)if(e.tokenizer.hasOwnProperty(r)){t.start||(t.start=r);const a=e.tokenizer[r];t.tokenizer[r]=new Array,n("tokenizer."+r,t.tokenizer[r],a)}if(t.usesEmbedded=i.usesEmbedded,e.brackets){if(!Array.isArray(e.brackets))throw pt(t,"the 'brackets' attribute must be defined as an array")}else e.brackets=[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}];let o=[];for(let r of e.brackets){let a=r;if(a&&Array.isArray(a)&&a.length===3&&(a={token:a[2],open:a[0],close:a[1]}),a.open===a.close)throw pt(t,"open and close brackets in a 'brackets' attribute must be different: "+a.open+` - hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof a.open=="string"&&typeof a.token=="string"&&typeof a.close=="string")o.push({token:a.token+t.tokenPostfix,open:Xa(t,a.open),close:Xa(t,a.close)});else throw pt(t,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return t.brackets=o,t.noThrow=!0,t}function LZ(s){Rd.registerLanguage(s)}function DZ(){let s=[];return s=s.concat(Rd.getLanguages()),s}function xZ(s){return it.modeService.get().languageIdCodec.encodeLanguageId(s)}function kZ(s,e){let t=it.modeService.get().onDidEncounterLanguage(i=>{i===s&&(t.dispose(),e())});return t}function IZ(s,e){const t=it.modeService.get().validateLanguageId(s);if(!t)throw new Error(`Cannot set configuration for unknown language ${s}`);return Qe.register(t,e,100)}class EZ{constructor(e,t){this._languageId=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i,n){if(typeof this._actual.tokenize=="function")return lp.adaptTokenize(this._languageId,this._actual,e,i,n);throw new Error("Not supported!")}tokenize2(e,t,i){let n=this._actual.tokenizeEncoded(e,i);return new KC(n.tokens,n.endState)}}class lp{constructor(e,t,i,n){this._languageId=e,this._actual=t,this._modeService=i,this._standaloneThemeService=n}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t,i){let n=[],o=0;for(let r=0,a=e.length;r0&&r[a-1]===f)continue;let g=u.startIndex;h===0?g=0:gNZ(n)?new EZ(t,n):new lp(t,n,it.modeService.get(),it.standaloneThemeService.get());return I2(e)?Rt.registerPromise(s,e.then(n=>i(n))):Rt.register(s,i(e))}function RZ(s,e){const t=i=>NH(it.modeService.get(),it.standaloneThemeService.get(),s,yZ(s,i));return I2(e)?Rt.registerPromise(s,e.then(i=>t(i))):Rt.register(s,t(e))}function MZ(s,e){return vb.register(s,e)}function OZ(s,e){return wb.register(s,e)}function PZ(s,e){return Ld.register(s,e)}function FZ(s,e){return Sg.register(s,{provideHover:(t,i,n)=>{let o=t.getWordAtPosition(i);return Promise.resolve(e.provideHover(t,i,n)).then(r=>{if(r)return!r.range&&o&&(r.range=new S(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),r.range||(r.range=new S(i.lineNumber,i.column,i.lineNumber,i.column)),r})}})}function BZ(s,e){return Vs.register(s,e)}function WZ(s,e){return Qc.register(s,e)}function VZ(s,e){return Sb.register(s,e)}function HZ(s,e){return yg.register(s,e)}function zZ(s,e){return Lb.register(s,e)}function UZ(s,e){return Db.register(s,e)}function $Z(s,e){return Zr.register(s,e)}function jZ(s,e,t){return ar.register(s,{providedCodeActionKinds:t==null?void 0:t.providedCodeActionKinds,provideCodeActions:(i,n,o,r)=>{let a=it.markerService.get().read({resource:i.uri}).filter(l=>S.areIntersectingOrTouching(l,n));return e.provideCodeActions(i,n,{markers:a,only:o.only},r)},resolveCodeAction:e.resolveCodeAction})}function KZ(s,e){return Vf.register(s,e)}function qZ(s,e){return ao.register(s,e)}function GZ(s,e){return xb.register(s,e)}function ZZ(s,e){return Lg.register(s,e)}function YZ(s,e){return ro.register(s,e)}function XZ(s,e){return Jc.register(s,e)}function QZ(s,e){return ey.register(s,e)}function JZ(s,e){return yb.register(s,e)}function eY(s,e){return ev.register(s,e)}function tY(s,e){return eu.register(s,e)}function iY(s,e){return tv.register(s,e)}function nY(s,e){return ux.register(s,e)}function sY(s,e){return za.register(s,e)}function oY(){return{register:LZ,getLanguages:DZ,onLanguage:kZ,getEncodedLanguageId:xZ,setLanguageConfiguration:IZ,setColorMap:TZ,setTokensProvider:AZ,setMonarchTokensProvider:RZ,registerReferenceProvider:MZ,registerRenameProvider:OZ,registerCompletionItemProvider:YZ,registerSignatureHelpProvider:PZ,registerHoverProvider:FZ,registerDocumentSymbolProvider:BZ,registerDocumentHighlightProvider:WZ,registerLinkedEditingRangeProvider:VZ,registerDefinitionProvider:HZ,registerImplementationProvider:zZ,registerTypeDefinitionProvider:UZ,registerCodeLensProvider:$Z,registerCodeActionProvider:jZ,registerDocumentFormattingEditProvider:KZ,registerDocumentRangeFormattingEditProvider:qZ,registerOnTypeFormattingEditProvider:GZ,registerLinkProvider:ZZ,registerColorProvider:XZ,registerFoldingRangeProvider:QZ,registerDeclarationProvider:JZ,registerSelectionRangeProvider:eY,registerDocumentSemanticTokensProvider:tY,registerDocumentRangeSemanticTokensProvider:iY,registerInlineCompletionsProvider:nY,registerInlayHintsProvider:sY,DocumentHighlightKind:h1,CompletionItemKind:s1,CompletionItemTag:o1,CompletionItemInsertTextRule:n1,SymbolKind:T1,SymbolTag:A1,IndentAction:p1,CompletionTriggerKind:r1,SignatureHelpTriggerKind:N1,InlayHintKind:m1,InlineCompletionTriggerKind:_1,FoldingRangeKind:vo}}class gu{static _handleEolEdits(e,t){let i,n=[];for(let o of t)typeof o.eol=="number"&&(i=o.eol),o.range&&typeof o.text=="string"&&n.push(o);return typeof i=="number"&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const i=e.getModel(),n=i.validateRange(t.range);return i.getFullModelRange().equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();const n=gu._handleEolEdits(e,t);n.length===1&&gu._isFullModelReplaceEdit(e,n[0])?e.executeEdits("formatEditsCommand",n.map(o=>Vt.replace(S.lift(o.range),o.text))):e.executeEdits("formatEditsCommand",n.map(o=>Vt.replaceMove(S.lift(o.range),o.text))),i&&e.pushUndoStop()}}class lS{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return typeof e=="string"?e.toLowerCase():e._lower}}var yo=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};function eI(s){if(s=s.filter(n=>n.range),!s.length)return;let{range:e}=s[0];for(let n=1;n0&&S.areIntersectingOrTouching(l[d-1],g)?l[d-1]=S.fromPositions(l[d-1].getStartPosition(),g.getEndPosition()):d=l.push(g);const h=g=>yo(this,void 0,void 0,function*(){return(yield e.provideDocumentRangeFormattingEdits(r,g,r.getFormattingOptions(),a.token))||[]}),c=(g,m)=>{if(!g.length||!m.length)return!1;const _=g.reduce((C,b)=>S.plusRange(C,b.range),g[0].range);if(!m.some(C=>S.intersectRanges(_,C.range)))return!1;for(let C of g)for(let b of m)if(S.intersectRanges(C.range,b.range))return!0;return!1},u=[],f=[];try{for(let g of l){if(a.token.isCancellationRequested)return!0;f.push(yield h(g))}for(let g=0;g({text:_.text,range:S.lift(_.range),forceMoveMarkers:!0})),_=>{for(const{range:C}of _)if(S.areIntersectingOrTouching(C,m))return[new ne(C.startLineNumber,C.startColumn,C.endLineNumber,C.endColumn)];return null})}return!0})}function aY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=s.get(Ge),r=ur(e)?e.getModel():e,a=E2(r),l=yield eh.select(a,r,t);l&&(i.report(l),yield o.invokeFunction(lY,l,e,t,n))})}function lY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=s.get(Ys);let r,a;ur(t)?(r=t.getModel(),a=new Zg(t,5,void 0,n)):(r=t,a=new Sk(t,n));let l;try{const d=yield e.provideDocumentFormattingEdits(r,r.getFormattingOptions(),a.token);if(l=yield o.computeMoreMinimalEdits(r.uri,d),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!l||l.length===0)return!1;if(ur(t))gu.execute(t,l,i!==2),i!==2&&(eI(l),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1));else{const[{range:d}]=l,h=new ne(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn);r.pushEditOperations([h],l.map(c=>({text:c.text,range:S.lift(c.range),forceMoveMarkers:!0})),c=>{for(const{range:u}of c)if(S.areIntersectingOrTouching(u,h))return[new ne(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn)];return null})}return!0})}function dY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=ao.ordered(e);for(const r of o){let a=yield Promise.resolve(r.provideDocumentRangeFormattingEdits(e,t,i,n)).catch(Di);if(Tn(a))return yield s.computeMoreMinimalEdits(e.uri,a)}})}function hY(s,e,t,i){return yo(this,void 0,void 0,function*(){const n=E2(e);for(const o of n){let r=yield Promise.resolve(o.provideDocumentFormattingEdits(e,t,i)).catch(Di);if(Tn(r))return yield s.computeMoreMinimalEdits(e.uri,r)}})}function T2(s,e,t,i,n){const o=xb.ordered(e);return o.length===0||o[0].autoFormatTriggerCharacters.indexOf(i)<0?Promise.resolve(void 0):Promise.resolve(o[0].provideOnTypeFormattingEdits(e,t,i,n,Oe.None)).catch(Di).then(r=>s.computeMoreMinimalEdits(e.uri,r))}$e.registerCommand("_executeFormatRangeProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i,n]=e;ut(me.isUri(t)),ut(S.isIRange(i));const o=s.get(Jn),r=s.get(Ys),a=yield o.createModelReference(t);try{return dY(r,a.object.textEditorModel,S.lift(i),n,Oe.None)}finally{a.dispose()}})});$e.registerCommand("_executeFormatDocumentProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i]=e;ut(me.isUri(t));const n=s.get(Jn),o=s.get(Ys),r=yield n.createModelReference(t);try{return hY(o,r.object.textEditorModel,i,Oe.None)}finally{r.dispose()}})});$e.registerCommand("_executeFormatOnTypeProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i,n,o]=e;ut(me.isUri(t)),ut(F.isIPosition(i)),ut(typeof n=="string");const r=s.get(Jn),a=s.get(Ys),l=yield r.createModelReference(t);try{return T2(a,l.object.textEditorModel,F.lift(i),n,o)}finally{l.dispose()}})});var dS;Do.wrappingIndent.defaultValue=0;Do.glyphMargin.defaultValue=!1;Do.autoIndent.defaultValue=3;Do.overviewRulerLanes.defaultValue=2;eh.setFormatterSelector((s,e,t)=>Promise.resolve(s[0]));const un=FR();un.editor=_Z();un.languages=oY();const cY=un.CancellationTokenSource,pu=un.Emitter,uY=un.KeyCode,fY=un.KeyMod,gY=un.Position,pY=un.Range,mY=un.Selection,_Y=un.SelectionDirection,bY=un.MarkerSeverity,CY=un.MarkerTag,vY=un.Uri,wY=un.Token,SY=un.editor,on=un.languages;(!((dS=Et.MonacoEnvironment)===null||dS===void 0)&&dS.globalAPI||typeof define=="function"&&define.amd)&&(self.monaco=un);typeof self.require<"u"&&typeof self.require.config=="function"&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]});var yY="4.4.4",EL;(function(s){s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext"})(EL||(EL={}));var NL;(function(s){s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev"})(NL||(NL={}));var TL;(function(s){s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed"})(TL||(TL={}));var dp;(function(s){s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest"})(dp||(dp={}));var AL;(function(s){s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs"})(AL||(AL={}));var A2=function(){function s(e,t,i,n){this._onDidChange=new pu,this._onDidExtraLibsChange=new pu,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"inlayHintsOptions",{get:function(){return this._inlayHintsOptions},enumerable:!1,configurable:!0}),s.prototype.getExtraLibs=function(){return this._extraLibs},s.prototype.addExtraLib=function(e,t){var i=this,n;if(typeof t>"u"?n="ts:extralib-"+Math.random().toString(36).substring(2,15):n=t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._removedExtraLibs[n]&&(o=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var r=i._extraLibs[n];r&&r.version===o&&(delete i._extraLibs[n],i._removedExtraLibs[n]=o,i._fireOnDidExtraLibsChangeSoon())}}},s.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var i=0,n=e;iimport("./tsMode-555b8a45.js"),["assets/tsMode-555b8a45.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}on.onLanguage("typescript",function(){return Yv().then(function(s){return s.setupTypeScript(R2)})});on.onLanguage("javascript",function(){return Yv().then(function(s){return s.setupJavaScript(M2)})});var tI=function(){function s(e,t,i){this._onDidChange=new pu,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"diagnosticsOptions",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),s.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},s.prototype.setDiagnosticsOptions=function(e){this.setOptions(e)},s.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},s}(),iI={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0}},nI={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},O2=new tI("css",iI,nI),P2=new tI("scss",iI,nI),F2=new tI("less",iI,nI);on.css={cssDefaults:O2,lessDefaults:F2,scssDefaults:P2};function sI(){return ce(()=>import("./cssMode-654fb69e.js"),["assets/cssMode-654fb69e.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}on.onLanguage("less",function(){sI().then(function(s){return s.setupMode(F2)})});on.onLanguage("scss",function(){sI().then(function(s){return s.setupMode(P2)})});on.onLanguage("css",function(){sI().then(function(s){return s.setupMode(O2)})});var kY=function(){function s(e,t,i){this._onDidChange=new pu,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),s.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},s.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},s}(),IY={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EY={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},B2=new kY("json",IY,EY);on.json={jsonDefaults:B2};function NY(){return ce(()=>import("./jsonMode-292de8ec.js"),["assets/jsonMode-292de8ec.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}on.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});on.onLanguage("json",function(){NY().then(function(s){return s.setupMode(B2)})});var TY=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})},AY=globalThis&&globalThis.__generator||function(s,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,n,o,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(d){return function(h){return l([d,h])}}function l(d){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(o=d[0]&2?n.return:d[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,d[1])).done)return o;switch(n=0,o&&(d=[d[0]&2,o.value]),d[0]){case 0:case 1:o=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,n=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){t=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]import("./htmlMode-9fa01f74.js"),["assets/htmlMode-9fa01f74.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}function Jv(s,e,t){var i=this;e===void 0&&(e=Xv),t===void 0&&(t=Qv(s));var n=new RY(s,e,t),o,r=on.onLanguage(s,function(){return TY(i,void 0,void 0,function(){return AY(this,function(a){switch(a.label){case 0:return[4,BY()];case 1:return o=a.sent().setupMode(n),[2]}})})});return{defaults:n,dispose:function(){r.dispose(),o==null||o.dispose(),o=void 0}}}var z2={},hS={},WY=function(){function s(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(i,n){t._lazyLoadPromiseResolve=i,t._lazyLoadPromiseReject=n})}return s.getOrCreate=function(e){return hS[e]||(hS[e]=new s(e)),hS[e]},s.prototype.whenLoaded=function(){return this._lazyLoadPromise},s.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,z2[this._languageId].loader().then(function(t){return e._lazyLoadPromiseResolve(t)},function(t){return e._lazyLoadPromiseReject(t)})),this._lazyLoadPromise},s}();function fe(s){var e=s.id;z2[e]=s,on.register(s);var t=WY.getOrCreate(e);on.setMonarchTokensProvider(e,t.whenLoaded().then(function(i){return i.language})),on.onLanguage(e,function(){t.load().then(function(i){on.setLanguageConfiguration(e,i.conf)})})}fe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return ce(()=>import("./abap-ffbe9c82.js"),[])}});fe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return ce(()=>import("./apex-9370f1bb.js"),[])}});fe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return ce(()=>import("./azcli-714c239b.js"),[])}});fe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return ce(()=>import("./bat-7eb152e5.js"),[])}});fe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:function(){return ce(()=>import("./bicep-0e2809f7.js"),[])}});fe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return ce(()=>import("./cameligo-91a865e0.js"),[])}});fe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return ce(()=>import("./clojure-7e0f8eaa.js"),[])}});fe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return ce(()=>import("./coffee-af1c6ca9.js"),[])}});fe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return ce(()=>import("./cpp-d3907575.js"),[])}});fe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return ce(()=>import("./cpp-d3907575.js"),[])}});fe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return ce(()=>import("./csharp-d087d64c.js"),[])}});fe({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return ce(()=>import("./csp-13ea92a6.js"),[])}});fe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return ce(()=>import("./css-e979702d.js"),[])}});fe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return ce(()=>import("./dart-0a096fe0.js"),[])}});fe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return ce(()=>import("./dockerfile-af4eb422.js"),[])}});fe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:function(){return ce(()=>import("./ecl-8f5b983c.js"),[])}});fe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:function(){return ce(()=>import("./elixir-82a0fd91.js"),[])}});fe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:function(){return ce(()=>import("./flow9-47a350b0.js"),[])}});fe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return ce(()=>import("./fsharp-de5183ae.js"),[])}});fe({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return ce(()=>import("./go-a9169306.js"),[])}});fe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return ce(()=>import("./graphql-e84c0b6e.js"),[])}});fe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:function(){return ce(()=>import("./handlebars-b768997e.js"),["assets/handlebars-b768997e.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return ce(()=>import("./hcl-3a006f6b.js"),[])}});fe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return ce(()=>import("./html-e0ff75ee.js"),["assets/html-e0ff75ee.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return ce(()=>import("./ini-53b87513.js"),[])}});fe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return ce(()=>import("./java-58c1a618.js"),[])}});fe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return ce(()=>import("./javascript-2cbc52a1.js"),["assets/javascript-2cbc52a1.js","assets/typescript-331f3656.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return ce(()=>import("./julia-5f2fc018.js"),[])}});fe({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return ce(()=>import("./kotlin-2e32535a.js"),[])}});fe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return ce(()=>import("./less-00089e91.js"),[])}});fe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return ce(()=>import("./lexon-22a22ba3.js"),[])}});fe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return ce(()=>import("./lua-04a273a9.js"),[])}});fe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:function(){return ce(()=>import("./liquid-e9ca042a.js"),["assets/liquid-e9ca042a.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:function(){return ce(()=>import("./m3-b6e0b0fd.js"),[])}});fe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return ce(()=>import("./markdown-c2ea92f4.js"),[])}});fe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return ce(()=>import("./mips-daa25bd4.js"),[])}});fe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return ce(()=>import("./msdax-c6fa6f2f.js"),[])}});fe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return ce(()=>import("./mysql-788d9472.js"),[])}});fe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return ce(()=>import("./objective-c-9e968999.js"),[])}});fe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return ce(()=>import("./pascal-e017ea4d.js"),[])}});fe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return ce(()=>import("./pascaligo-bf7e3de8.js"),[])}});fe({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return ce(()=>import("./perl-2762c71f.js"),[])}});fe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return ce(()=>import("./pgsql-cb741fab.js"),[])}});fe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return ce(()=>import("./php-df365951.js"),[])}});fe({id:"pla",extensions:[".pla"],loader:function(){return ce(()=>import("./pla-6c133053.js"),[])}});fe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return ce(()=>import("./postiats-b245e70f.js"),[])}});fe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return ce(()=>import("./powerquery-6b7a9cc4.js"),[])}});fe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return ce(()=>import("./powershell-50bb8773.js"),[])}});fe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:function(){return ce(()=>import("./protobuf-0ee314a2.js"),[])}});fe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return ce(()=>import("./pug-409e523c.js"),[])}});fe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return ce(()=>import("./python-59185a7f.js"),["assets/python-59185a7f.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:function(){return ce(()=>import("./qsharp-9951b04a.js"),[])}});fe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return ce(()=>import("./r-c34a576e.js"),[])}});fe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return ce(()=>import("./razor-77f5ba70.js"),["assets/razor-77f5ba70.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return ce(()=>import("./redis-1a5ba628.js"),[])}});fe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return ce(()=>import("./redshift-2c383c33.js"),[])}});fe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return ce(()=>import("./restructuredtext-4a10ef1d.js"),[])}});fe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return ce(()=>import("./ruby-944f56a1.js"),[])}});fe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return ce(()=>import("./rust-b0440aa9.js"),[])}});fe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return ce(()=>import("./sb-f3b34295.js"),[])}});fe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return ce(()=>import("./scala-7c17b334.js"),[])}});fe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return ce(()=>import("./scheme-f75b8a9a.js"),[])}});fe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return ce(()=>import("./scss-833c0e23.js"),[])}});fe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return ce(()=>import("./shell-4657d8a1.js"),[])}});fe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return ce(()=>import("./solidity-62f35cba.js"),[])}});fe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return ce(()=>import("./sophia-94cd0024.js"),[])}});fe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:function(){return ce(()=>import("./sparql-23f0115e.js"),[])}});fe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return ce(()=>import("./sql-9ac813b8.js"),[])}});fe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return ce(()=>import("./st-4d0d15a1.js"),[])}});fe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return ce(()=>import("./swift-11c0de91.js"),[])}});fe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return ce(()=>import("./systemverilog-416dd7b8.js"),[])}});fe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return ce(()=>import("./systemverilog-416dd7b8.js"),[])}});fe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return ce(()=>import("./tcl-838585b9.js"),[])}});fe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return ce(()=>import("./twig-1b470482.js"),[])}});fe({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return ce(()=>import("./typescript-331f3656.js"),["assets/typescript-331f3656.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return ce(()=>import("./vb-2f676a0c.js"),[])}});fe({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\import("./xml-240f1ee0.js"),["assets/xml-240f1ee0.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"])}});fe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:function(){return ce(()=>import("./yaml-e83d14b1.js"),[])}});var VY=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},HY=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},ew=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const tw=new re("selectionAnchorSet",!1);let _a=class U2{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=tw.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(U2.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],i=this.editor.deltaDecorations(t,[{range:ne.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:new ma().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=i[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Ei(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(ne.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};_a.ID="editor.contrib.selectionAnchorController";_a=VY([HY(1,ve)],_a);class zY extends oe{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:mi(2089,2080),weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).setSelectionAnchor()})}}class UY extends oe{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:tw})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).goToSelectionAnchor()})}}class $Y extends oe{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:tw,kbOpts:{kbExpr:E.editorTextFocus,primary:mi(2089,2089),weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).selectFromAnchorToCursor()})}}class jY extends oe{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:tw,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).cancelSelectionAnchor()})}}nt(_a.ID,_a);ee(zY);ee(UY);ee($Y);ee(jY);const KY=R("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class qY extends oe{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3160,weight:100}})}run(e,t){let i=bo.get(t);i&&i.jumpToBracket()}}class GY extends oe{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){const n=bo.get(t);if(!n)return;let o=!0;i&&i.selectBrackets===!1&&(o=!1),n.selectToBracket(o)}}class ZY{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class bo extends H{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Lt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(63),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(63)&&(this._matchBrackets=this._editor.getOption(63),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(bo.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.findEnclosingBrackets(n);if(a)r=a[0].getStartPosition();else{const l=e.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new ne(r.lineNumber,r.column,r.lineNumber,r.column):new ne(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.matchBracket(o);if(!r&&(r=t.findEnclosingBrackets(o),!r)){const d=t.findNextBracket(o);d&&d.range&&(r=t.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(S.compareRangesUsingStarts);const[d,h]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?h.getEndPosition():h.getStartPosition(),h.containsPosition(o)){const c=a;a=l,l=c}}a&&l&&i.push(new ne(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();let e=[],t=0;for(const i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let o=[],r=0;for(let c=0,u=e.length;c1&&o.sort(F.compare);let a=[],l=0,d=0,h=n.length;for(let c=0,u=o.length;c{const t=s.getColor(M6);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=s.getColor(ZO);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});ps.appendMenuItem(ae.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class YY{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new S(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new S(i,o,i,o),a)}else{const r=new S(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new S(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new ne(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new ne(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class $2 extends oe{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let i=[],n=t.getSelections();for(const o of n)i.push(new YY(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class XY extends $2{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:E.writable})}}class QY extends $2{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:E.writable})}}ee(XY);ee(QY);class JY extends oe{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:E.writable,kbOpts:{kbExpr:E.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=[],o=t.getSelections();for(let r of o){if(!r.isEmpty())continue;let a=r.startLineNumber,l=r.startColumn,d=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&d===2))continue;let h=l===d?r.getPosition():Xe.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),c=Xe.leftPosition(i,h),u=Xe.leftPosition(i,c),f=i.getValueInRange(S.fromPositions(u,c)),g=i.getValueInRange(S.fromPositions(c,h)),m=S.fromPositions(u,h);n.push(new xi(m,g+f))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ee(JY);var eX=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const th="9_cutcopypaste",tX=uo||document.queryCommandSupported("cut"),j2=uo||document.queryCommandSupported("copy"),iX=typeof navigator.clipboard>"u"||rn?document.queryCommandSupported("paste"):!0;function oI(s){return s.register(),s}const nX=tX?oI(new Ou({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:uo?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1}]})):void 0,sX=j2?oI(new Ou({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:uo?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;ps.appendMenuItem(ae.MenubarEditMenu,{submenu:ae.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});ps.appendMenuItem(ae.EditorContext,{submenu:ae.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:th,order:3});const cS=iX?oI(new Ou({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:uo?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4}]})):void 0;class oX extends oe{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(32)&&t.getSelection().isEmpty()||(Ay.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Ay.forceCopyWithSyntaxHighlighting=!1)}}function K2(s,e){s&&(s.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(tt).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const o=n.getOption(32),r=n.getSelection();return r&&r.isEmpty()&&!o||document.execCommand(e),!0}return!1}),s.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}K2(nX,"cut");K2(sX,"copy");cS&&(cS.addImplementation(1e4,"code-editor",(s,e)=>{const t=s.get(tt),i=s.get(Rl),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&Tu?(()=>eX(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=Bg.INSTANCE.get(r);let l=!1,d=null,h=null;a&&(l=n.getOption(32)&&!!a.isFromEmptySelection,d=typeof a.multicursorText<"u"?a.multicursorText:null,h=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:d,mode:h})}}))():!0:!1}),cS.addImplementation(0,"generic-dom",(s,e)=>(document.execCommand("paste"),!0)));j2&&ee(oX);class AC{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}class We{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+We.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new We(this.value+We.sep+e)}}We.sep=".";We.None=new We("@@none@@");We.Empty=new We("");We.QuickFix=new We("quickfix");We.Refactor=new We("refactor");We.Source=new We("source");We.SourceOrganizeImports=We.Source.append("organizeImports");We.SourceFixAll=We.Source.append("fixAll");function rX(s,e){return!(s.include&&!s.include.intersects(e)||s.excludes&&s.excludes.some(t=>q2(e,t,s.include))||!s.includeSourceActions&&We.Source.contains(e))}function aX(s,e){const t=e.kind?new We(e.kind):void 0;return!(s.include&&(!t||!s.include.contains(t))||s.excludes&&t&&s.excludes.some(i=>q2(t,i,s.include))||!s.includeSourceActions&&t&&We.Source.contains(t)||s.onlyIncludePreferredActions&&!e.isPreferred)}function q2(s,e,t){return!(!e.contains(s)||t&&e.contains(t))}class Jo{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new Jo(t.kind,t.apply,!1):new Jo(Jo.getKindFromUser(e,t.kind),Jo.getApplyFromUser(e,t.apply),Jo.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new We(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var rI=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const G2="editor.action.codeAction",Z2="editor.action.refactor",Y2="editor.action.sourceAction",aI="editor.action.organizeImports",lI="editor.action.fixAll";class X2{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return rI(this,void 0,void 0,function*(){if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Di(n)}i&&(this.action.edit=i.edit)}return this})}}class dI extends H{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(dI.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Tn(e.diagnostics)?Tn(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Tn(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&We.QuickFix.contains(new We(e.kind))&&!!e.isPreferred)}}const YT={actions:[],documentation:void 0};function hI(s,e,t,i,n){var o;const r=t.filter||{},a={only:(o=r.include)===null||o===void 0?void 0:o.value,trigger:t.type},l=new Sk(s,n),d=lX(s,r),h=new X,c=d.map(f=>rI(this,void 0,void 0,function*(){try{i.report(f);const g=yield f.provideCodeActions(s,e,a,l.token);if(g&&h.add(g),l.token.isCancellationRequested)return YT;const m=((g==null?void 0:g.actions)||[]).filter(C=>C&&aX(r,C)),_=dX(f,m,r.include);return{actions:m.map(C=>new X2(C,f)),documentation:_}}catch(g){if(br(g))throw g;return Di(g),YT}})),u=ar.onDidChange(()=>{const f=ar.all(s);zs(f,d)||l.cancel()});return Promise.all(c).then(f=>{const g=Cx(f.map(_=>_.actions)),m=wh(f.map(_=>_.documentation));return new dI(g,m,h)}).finally(()=>{u.dispose(),l.dispose()})}function lX(s,e){return ar.all(s).filter(t=>t.providedCodeActionKinds?t.providedCodeActionKinds.some(i=>rX(e,new We(i))):!0)}function dX(s,e,t){if(!s.documentation)return;const i=s.documentation.map(n=>({kind:new We(n.kind),command:n.command}));if(t){let n;for(const o of i)o.kind.contains(t)&&(n?n.kind.contains(o.kind)&&(n=o):n=o);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const o of i)if(o.kind.contains(new We(n.kind)))return o.command}}$e.registerCommand("_executeCodeActionProvider",function(s,e,t,i,n){return rI(this,void 0,void 0,function*(){if(!(e instanceof me))throw fo();const o=s.get(ri).getModel(e);if(!o)throw fo();const r=ne.isISelection(t)?ne.liftSelection(t):S.isIRange(t)?o.validateRange(t):void 0;if(!r)throw fo();const a=typeof i=="string"?new We(i):void 0,l=yield hI(o,r,{type:1,filter:{includeSourceActions:!0,include:a}},kh.None,Oe.None),d=[],h=Math.min(l.validActions.length,typeof n=="number"?n:0);for(let c=0;cc.action)}finally{setTimeout(()=>l.dispose(),100)}})});var hX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},cX=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}};let is=class RL{constructor(e,t){this._messageWidget=new dn,this._messageListeners=new X,this._editor=e,this._visible=RL.MESSAGE_VISIBLE.bindTo(t),this._editorListener=this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit())}static get(e){return e.getContribution(RL.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Ei(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new XT(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new hn(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new S(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(XT.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(p("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};is.ID="editor.contrib.messageController";is.MESSAGE_VISIBLE=new re("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));is=hX([cX(1,ve)],is);const uX=Mi.bindToContribution(is.get);J(new uX({id:"leaveEditorMessage",precondition:is.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:100+30,primary:9}}));let XT=class{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};nt(is.ID,is);st((s,e)=>{const t=s.getColor(Qx);if(t){let o=s.type===gs.HIGH_CONTRAST?2:1;e.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.below { border-top-color: ${t}; }`),e.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.top { border-bottom-color: ${t}; }`),e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${o}px solid ${t}; }`)}const i=s.getColor(Yx);i&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${i}; }`);const n=s.getColor(Xx);n&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${n}; }`)});var fX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},QT=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},gX=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};class JT extends Us{constructor(e,t){super(e.command?e.command.id:e.title,pX(e.title),void 0,!e.disabled,t),this.action=e}}function pX(s){return s.replace(/\r\n|\r|\n/g," ")}let ML=class extends H{constructor(e,t,i,n){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._visible=!1,this._showingActions=this._register(new dn),this._keybindingResolver=new iw({getKeybindings:()=>n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return gX(this,void 0,void 0,function*(){const o=n.includeDisabledActions?t.allActions:t.validActions;if(!o.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,Ru();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),a=F.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},l=this._keybindingResolver.getResolver(),d=this._editor.getOption(113);this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>a,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:h=>h instanceof JT?l(h.action):void 0})})}getMenuActions(e,t,i){var n,o;const r=h=>new JT(h.action,()=>this._delegate.onSelectCodeAction(h)),a=t.map(r),l=[...i],d=this._editor.getModel();if(d&&a.length)for(const h of ar.all(d))h._getAdditionalMenuItems&&l.push(...h._getAdditionalMenuItems({trigger:e.type,only:(o=(n=e.filter)===null||n===void 0?void 0:n.include)===null||o===void 0?void 0:o.value},t.map(c=>c.action)));return l.length&&a.push(new $s,...l.map(h=>r(new X2({title:h.title,command:h},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=Ii(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}};ML=fX([QT(2,Al),QT(3,Nt)],ML);class iw{constructor(e){this._keybindingProvider=e}getResolver(){const e=new AC(()=>this._keybindingProvider.getKeybindings().filter(t=>iw.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===aI?i={kind:We.SourceOrganizeImports.value}:t.command===lI&&(i={kind:We.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},Jo.fromUser(i,{kind:We.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new We(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,o)=>n?n.kind.contains(o.kind)?o:n:o,void 0)}}iw.codeActionCommands=[Z2,G2,Y2,aI,lI];var mX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_X=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},ug;(function(s){s.Hidden={type:0};class e{constructor(i,n,o,r){this.actions=i,this.trigger=n,this.editorPosition=o,this.widgetPosition=r,this.type=1}}s.Showing=e})(ug||(ug={}));let RC=class Q2 extends H{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new M),this.onClick=this._onClick.event,this._state=ug.Hidden,this._domNode=document.createElement("div"),this._domNode.className=ie.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(o=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),lt.ignoreTarget(this._domNode),this._register(r3(this._domNode,o=>{if(this.state.type!==1)return;this._editor.focus(),o.preventDefault();const{top:r,height:a}=Ii(this._domNode),l=this._editor.getOption(58);let d=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{if((o.buttons&1)!==1)return;this.hide();const r=new Dh;r.startMonitoring(o.target,o.buttons,Pu,()=>{},()=>{r.dispose()})})),this._register(this._editor.onDidChangeConfiguration(o=>{o.hasChanged(56)&&!this._editor.getOption(56).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(56).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:r,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,d=n.get(43),h=o.getLineContent(r),c=Rn.computeIndentLevel(h,l),u=d.spaceWidth*c>22,f=m=>m>2&&this._editor.getTopForLineNumber(m)===this._editor.getTopForLineNumber(m-1);let g=r;if(!u){if(r>1&&!f(r-1))g-=1;else if(!f(r+1))g+=1;else if(a*d.spaceWidth<22)return this.hide()}this.state=new ug.Showing(e,t,i,{position:{lineNumber:g,column:1},preference:Q2._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=ug.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...ie.lightBulb.classNamesArray),this._domNode.classList.add(...ie.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...ie.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...ie.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};RC._posPref=[0];RC=mX([_X(3,Nt)],RC);st((s,e)=>{var t;const i=(t=s.getColor(ms))===null||t===void 0?void 0:t.transparent(.7),n=s.getColor(R9);n&&e.addRule(` + hint: use the 'bracket' attribute if matching on equal brackets is required.`);if(typeof a.open=="string"&&typeof a.token=="string"&&typeof a.close=="string")o.push({token:a.token+t.tokenPostfix,open:Xa(t,a.open),close:Xa(t,a.close)});else throw pt(t,"every element in the 'brackets' array must be a '{open,close,token}' object or array")}return t.brackets=o,t.noThrow=!0,t}function LZ(s){Rd.registerLanguage(s)}function DZ(){let s=[];return s=s.concat(Rd.getLanguages()),s}function xZ(s){return it.modeService.get().languageIdCodec.encodeLanguageId(s)}function kZ(s,e){let t=it.modeService.get().onDidEncounterLanguage(i=>{i===s&&(t.dispose(),e())});return t}function IZ(s,e){const t=it.modeService.get().validateLanguageId(s);if(!t)throw new Error(`Cannot set configuration for unknown language ${s}`);return Qe.register(t,e,100)}class EZ{constructor(e,t){this._languageId=e,this._actual=t}getInitialState(){return this._actual.getInitialState()}tokenize(e,t,i,n){if(typeof this._actual.tokenize=="function")return lp.adaptTokenize(this._languageId,this._actual,e,i,n);throw new Error("Not supported!")}tokenize2(e,t,i){let n=this._actual.tokenizeEncoded(e,i);return new KC(n.tokens,n.endState)}}class lp{constructor(e,t,i,n){this._languageId=e,this._actual=t,this._modeService=i,this._standaloneThemeService=n}getInitialState(){return this._actual.getInitialState()}static _toClassicTokens(e,t,i){let n=[],o=0;for(let r=0,a=e.length;r0&&r[a-1]===f)continue;let g=u.startIndex;h===0?g=0:gNZ(n)?new EZ(t,n):new lp(t,n,it.modeService.get(),it.standaloneThemeService.get());return I2(e)?Rt.registerPromise(s,e.then(n=>i(n))):Rt.register(s,i(e))}function RZ(s,e){const t=i=>NH(it.modeService.get(),it.standaloneThemeService.get(),s,yZ(s,i));return I2(e)?Rt.registerPromise(s,e.then(i=>t(i))):Rt.register(s,t(e))}function MZ(s,e){return vb.register(s,e)}function OZ(s,e){return wb.register(s,e)}function PZ(s,e){return Ld.register(s,e)}function FZ(s,e){return Sg.register(s,{provideHover:(t,i,n)=>{let o=t.getWordAtPosition(i);return Promise.resolve(e.provideHover(t,i,n)).then(r=>{if(r)return!r.range&&o&&(r.range=new S(i.lineNumber,o.startColumn,i.lineNumber,o.endColumn)),r.range||(r.range=new S(i.lineNumber,i.column,i.lineNumber,i.column)),r})}})}function BZ(s,e){return Vs.register(s,e)}function WZ(s,e){return Qc.register(s,e)}function VZ(s,e){return Sb.register(s,e)}function HZ(s,e){return yg.register(s,e)}function zZ(s,e){return Lb.register(s,e)}function UZ(s,e){return Db.register(s,e)}function $Z(s,e){return Zr.register(s,e)}function jZ(s,e,t){return ar.register(s,{providedCodeActionKinds:t==null?void 0:t.providedCodeActionKinds,provideCodeActions:(i,n,o,r)=>{let a=it.markerService.get().read({resource:i.uri}).filter(l=>S.areIntersectingOrTouching(l,n));return e.provideCodeActions(i,n,{markers:a,only:o.only},r)},resolveCodeAction:e.resolveCodeAction})}function KZ(s,e){return Vf.register(s,e)}function qZ(s,e){return ao.register(s,e)}function GZ(s,e){return xb.register(s,e)}function ZZ(s,e){return Lg.register(s,e)}function YZ(s,e){return ro.register(s,e)}function XZ(s,e){return Jc.register(s,e)}function QZ(s,e){return ey.register(s,e)}function JZ(s,e){return yb.register(s,e)}function eY(s,e){return ev.register(s,e)}function tY(s,e){return eu.register(s,e)}function iY(s,e){return tv.register(s,e)}function nY(s,e){return ux.register(s,e)}function sY(s,e){return za.register(s,e)}function oY(){return{register:LZ,getLanguages:DZ,onLanguage:kZ,getEncodedLanguageId:xZ,setLanguageConfiguration:IZ,setColorMap:TZ,setTokensProvider:AZ,setMonarchTokensProvider:RZ,registerReferenceProvider:MZ,registerRenameProvider:OZ,registerCompletionItemProvider:YZ,registerSignatureHelpProvider:PZ,registerHoverProvider:FZ,registerDocumentSymbolProvider:BZ,registerDocumentHighlightProvider:WZ,registerLinkedEditingRangeProvider:VZ,registerDefinitionProvider:HZ,registerImplementationProvider:zZ,registerTypeDefinitionProvider:UZ,registerCodeLensProvider:$Z,registerCodeActionProvider:jZ,registerDocumentFormattingEditProvider:KZ,registerDocumentRangeFormattingEditProvider:qZ,registerOnTypeFormattingEditProvider:GZ,registerLinkProvider:ZZ,registerColorProvider:XZ,registerFoldingRangeProvider:QZ,registerDeclarationProvider:JZ,registerSelectionRangeProvider:eY,registerDocumentSemanticTokensProvider:tY,registerDocumentRangeSemanticTokensProvider:iY,registerInlineCompletionsProvider:nY,registerInlayHintsProvider:sY,DocumentHighlightKind:h1,CompletionItemKind:s1,CompletionItemTag:o1,CompletionItemInsertTextRule:n1,SymbolKind:T1,SymbolTag:A1,IndentAction:p1,CompletionTriggerKind:r1,SignatureHelpTriggerKind:N1,InlayHintKind:m1,InlineCompletionTriggerKind:_1,FoldingRangeKind:vo}}class gu{static _handleEolEdits(e,t){let i,n=[];for(let o of t)typeof o.eol=="number"&&(i=o.eol),o.range&&typeof o.text=="string"&&n.push(o);return typeof i=="number"&&e.hasModel()&&e.getModel().pushEOL(i),n}static _isFullModelReplaceEdit(e,t){if(!e.hasModel())return!1;const i=e.getModel(),n=i.validateRange(t.range);return i.getFullModelRange().equalsRange(n)}static execute(e,t,i){i&&e.pushUndoStop();const n=gu._handleEolEdits(e,t);n.length===1&&gu._isFullModelReplaceEdit(e,n[0])?e.executeEdits("formatEditsCommand",n.map(o=>Vt.replace(S.lift(o.range),o.text))):e.executeEdits("formatEditsCommand",n.map(o=>Vt.replaceMove(S.lift(o.range),o.text))),i&&e.pushUndoStop()}}class lS{constructor(e){this.value=e,this._lower=e.toLowerCase()}static toKey(e){return typeof e=="string"?e.toLowerCase():e._lower}}var yo=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};function eI(s){if(s=s.filter(n=>n.range),!s.length)return;let{range:e}=s[0];for(let n=1;n0&&S.areIntersectingOrTouching(l[d-1],g)?l[d-1]=S.fromPositions(l[d-1].getStartPosition(),g.getEndPosition()):d=l.push(g);const h=g=>yo(this,void 0,void 0,function*(){return(yield e.provideDocumentRangeFormattingEdits(r,g,r.getFormattingOptions(),a.token))||[]}),c=(g,m)=>{if(!g.length||!m.length)return!1;const _=g.reduce((C,b)=>S.plusRange(C,b.range),g[0].range);if(!m.some(C=>S.intersectRanges(_,C.range)))return!1;for(let C of g)for(let b of m)if(S.intersectRanges(C.range,b.range))return!0;return!1},u=[],f=[];try{for(let g of l){if(a.token.isCancellationRequested)return!0;f.push(yield h(g))}for(let g=0;g({text:_.text,range:S.lift(_.range),forceMoveMarkers:!0})),_=>{for(const{range:C}of _)if(S.areIntersectingOrTouching(C,m))return[new ne(C.startLineNumber,C.startColumn,C.endLineNumber,C.endColumn)];return null})}return!0})}function aY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=s.get(Ge),r=ur(e)?e.getModel():e,a=E2(r),l=yield eh.select(a,r,t);l&&(i.report(l),yield o.invokeFunction(lY,l,e,t,n))})}function lY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=s.get(Ys);let r,a;ur(t)?(r=t.getModel(),a=new Zg(t,5,void 0,n)):(r=t,a=new Sk(t,n));let l;try{const d=yield e.provideDocumentFormattingEdits(r,r.getFormattingOptions(),a.token);if(l=yield o.computeMoreMinimalEdits(r.uri,d),a.token.isCancellationRequested)return!0}finally{a.dispose()}if(!l||l.length===0)return!1;if(ur(t))gu.execute(t,l,i!==2),i!==2&&(eI(l),t.revealPositionInCenterIfOutsideViewport(t.getPosition(),1));else{const[{range:d}]=l,h=new ne(d.startLineNumber,d.startColumn,d.endLineNumber,d.endColumn);r.pushEditOperations([h],l.map(c=>({text:c.text,range:S.lift(c.range),forceMoveMarkers:!0})),c=>{for(const{range:u}of c)if(S.areIntersectingOrTouching(u,h))return[new ne(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn)];return null})}return!0})}function dY(s,e,t,i,n){return yo(this,void 0,void 0,function*(){const o=ao.ordered(e);for(const r of o){let a=yield Promise.resolve(r.provideDocumentRangeFormattingEdits(e,t,i,n)).catch(Di);if(Tn(a))return yield s.computeMoreMinimalEdits(e.uri,a)}})}function hY(s,e,t,i){return yo(this,void 0,void 0,function*(){const n=E2(e);for(const o of n){let r=yield Promise.resolve(o.provideDocumentFormattingEdits(e,t,i)).catch(Di);if(Tn(r))return yield s.computeMoreMinimalEdits(e.uri,r)}})}function T2(s,e,t,i,n){const o=xb.ordered(e);return o.length===0||o[0].autoFormatTriggerCharacters.indexOf(i)<0?Promise.resolve(void 0):Promise.resolve(o[0].provideOnTypeFormattingEdits(e,t,i,n,Oe.None)).catch(Di).then(r=>s.computeMoreMinimalEdits(e.uri,r))}$e.registerCommand("_executeFormatRangeProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i,n]=e;ut(me.isUri(t)),ut(S.isIRange(i));const o=s.get(Jn),r=s.get(Ys),a=yield o.createModelReference(t);try{return dY(r,a.object.textEditorModel,S.lift(i),n,Oe.None)}finally{a.dispose()}})});$e.registerCommand("_executeFormatDocumentProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i]=e;ut(me.isUri(t));const n=s.get(Jn),o=s.get(Ys),r=yield n.createModelReference(t);try{return hY(o,r.object.textEditorModel,i,Oe.None)}finally{r.dispose()}})});$e.registerCommand("_executeFormatOnTypeProvider",function(s,...e){return yo(this,void 0,void 0,function*(){const[t,i,n,o]=e;ut(me.isUri(t)),ut(F.isIPosition(i)),ut(typeof n=="string");const r=s.get(Jn),a=s.get(Ys),l=yield r.createModelReference(t);try{return T2(a,l.object.textEditorModel,F.lift(i),n,o)}finally{l.dispose()}})});var dS;Do.wrappingIndent.defaultValue=0;Do.glyphMargin.defaultValue=!1;Do.autoIndent.defaultValue=3;Do.overviewRulerLanes.defaultValue=2;eh.setFormatterSelector((s,e,t)=>Promise.resolve(s[0]));const un=FR();un.editor=_Z();un.languages=oY();const cY=un.CancellationTokenSource,pu=un.Emitter,uY=un.KeyCode,fY=un.KeyMod,gY=un.Position,pY=un.Range,mY=un.Selection,_Y=un.SelectionDirection,bY=un.MarkerSeverity,CY=un.MarkerTag,vY=un.Uri,wY=un.Token,SY=un.editor,on=un.languages;(!((dS=Et.MonacoEnvironment)===null||dS===void 0)&&dS.globalAPI||typeof define=="function"&&define.amd)&&(self.monaco=un);typeof self.require<"u"&&typeof self.require.config=="function"&&self.require.config({ignoreDuplicateModules:["vscode-languageserver-types","vscode-languageserver-types/main","vscode-languageserver-textdocument","vscode-languageserver-textdocument/main","vscode-nls","vscode-nls/vscode-nls","jsonc-parser","jsonc-parser/main","vscode-uri","vscode-uri/index","vs/basic-languages/typescript/typescript"]});var yY="4.4.4",EL;(function(s){s[s.None=0]="None",s[s.CommonJS=1]="CommonJS",s[s.AMD=2]="AMD",s[s.UMD=3]="UMD",s[s.System=4]="System",s[s.ES2015=5]="ES2015",s[s.ESNext=99]="ESNext"})(EL||(EL={}));var NL;(function(s){s[s.None=0]="None",s[s.Preserve=1]="Preserve",s[s.React=2]="React",s[s.ReactNative=3]="ReactNative",s[s.ReactJSX=4]="ReactJSX",s[s.ReactJSXDev=5]="ReactJSXDev"})(NL||(NL={}));var TL;(function(s){s[s.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",s[s.LineFeed=1]="LineFeed"})(TL||(TL={}));var dp;(function(s){s[s.ES3=0]="ES3",s[s.ES5=1]="ES5",s[s.ES2015=2]="ES2015",s[s.ES2016=3]="ES2016",s[s.ES2017=4]="ES2017",s[s.ES2018=5]="ES2018",s[s.ES2019=6]="ES2019",s[s.ES2020=7]="ES2020",s[s.ESNext=99]="ESNext",s[s.JSON=100]="JSON",s[s.Latest=99]="Latest"})(dp||(dp={}));var AL;(function(s){s[s.Classic=1]="Classic",s[s.NodeJs=2]="NodeJs"})(AL||(AL={}));var A2=function(){function s(e,t,i,n){this._onDidChange=new pu,this._onDidExtraLibsChange=new pu,this._extraLibs=Object.create(null),this._removedExtraLibs=Object.create(null),this._eagerModelSync=!1,this.setCompilerOptions(e),this.setDiagnosticsOptions(t),this.setWorkerOptions(i),this.setInlayHintsOptions(n),this._onDidExtraLibsChangeTimeout=-1}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"onDidExtraLibsChange",{get:function(){return this._onDidExtraLibsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"workerOptions",{get:function(){return this._workerOptions},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"inlayHintsOptions",{get:function(){return this._inlayHintsOptions},enumerable:!1,configurable:!0}),s.prototype.getExtraLibs=function(){return this._extraLibs},s.prototype.addExtraLib=function(e,t){var i=this,n;if(typeof t>"u"?n="ts:extralib-"+Math.random().toString(36).substring(2,15):n=t,this._extraLibs[n]&&this._extraLibs[n].content===e)return{dispose:function(){}};var o=1;return this._removedExtraLibs[n]&&(o=this._removedExtraLibs[n]+1),this._extraLibs[n]&&(o=this._extraLibs[n].version+1),this._extraLibs[n]={content:e,version:o},this._fireOnDidExtraLibsChangeSoon(),{dispose:function(){var r=i._extraLibs[n];r&&r.version===o&&(delete i._extraLibs[n],i._removedExtraLibs[n]=o,i._fireOnDidExtraLibsChangeSoon())}}},s.prototype.setExtraLibs=function(e){for(var t in this._extraLibs)this._removedExtraLibs[t]=this._extraLibs[t].version;if(this._extraLibs=Object.create(null),e&&e.length>0)for(var i=0,n=e;iimport("./tsMode-05f4381d.js"),["assets/tsMode-05f4381d.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}on.onLanguage("typescript",function(){return Yv().then(function(s){return s.setupTypeScript(R2)})});on.onLanguage("javascript",function(){return Yv().then(function(s){return s.setupJavaScript(M2)})});var tI=function(){function s(e,t,i){this._onDidChange=new pu,this._languageId=e,this.setOptions(t),this.setModeConfiguration(i)}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"diagnosticsOptions",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),s.prototype.setOptions=function(e){this._options=e||Object.create(null),this._onDidChange.fire(this)},s.prototype.setDiagnosticsOptions=function(e){this.setOptions(e)},s.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},s}(),iI={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0}},nI={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},O2=new tI("css",iI,nI),P2=new tI("scss",iI,nI),F2=new tI("less",iI,nI);on.css={cssDefaults:O2,lessDefaults:F2,scssDefaults:P2};function sI(){return ce(()=>import("./cssMode-d4cd1730.js"),["assets/cssMode-d4cd1730.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}on.onLanguage("less",function(){sI().then(function(s){return s.setupMode(F2)})});on.onLanguage("scss",function(){sI().then(function(s){return s.setupMode(P2)})});on.onLanguage("css",function(){sI().then(function(s){return s.setupMode(O2)})});var kY=function(){function s(e,t,i){this._onDidChange=new pu,this._languageId=e,this.setDiagnosticsOptions(t),this.setModeConfiguration(i)}return Object.defineProperty(s.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(s.prototype,"diagnosticsOptions",{get:function(){return this._diagnosticsOptions},enumerable:!1,configurable:!0}),s.prototype.setDiagnosticsOptions=function(e){this._diagnosticsOptions=e||Object.create(null),this._onDidChange.fire(this)},s.prototype.setModeConfiguration=function(e){this._modeConfiguration=e||Object.create(null),this._onDidChange.fire(this)},s}(),IY={validate:!0,allowComments:!0,schemas:[],enableSchemaRequest:!1,schemaRequest:"warning",schemaValidation:"warning",comments:"error",trailingCommas:"error"},EY={documentFormattingEdits:!0,documentRangeFormattingEdits:!0,completionItems:!0,hovers:!0,documentSymbols:!0,tokens:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},B2=new kY("json",IY,EY);on.json={jsonDefaults:B2};function NY(){return ce(()=>import("./jsonMode-443ad7a5.js"),["assets/jsonMode-443ad7a5.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}on.register({id:"json",extensions:[".json",".bowerrc",".jshintrc",".jscsrc",".eslintrc",".babelrc",".har"],aliases:["JSON","json"],mimetypes:["application/json"]});on.onLanguage("json",function(){NY().then(function(s){return s.setupMode(B2)})});var TY=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})},AY=globalThis&&globalThis.__generator||function(s,e){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,n,o,r;return r={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function a(d){return function(h){return l([d,h])}}function l(d){if(i)throw new TypeError("Generator is already executing.");for(;t;)try{if(i=1,n&&(o=d[0]&2?n.return:d[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,d[1])).done)return o;switch(n=0,o&&(d=[d[0]&2,o.value]),d[0]){case 0:case 1:o=d;break;case 4:return t.label++,{value:d[1],done:!1};case 5:t.label++,n=d[1],d=[0];continue;case 7:d=t.ops.pop(),t.trys.pop();continue;default:if(o=t.trys,!(o=o.length>0&&o[o.length-1])&&(d[0]===6||d[0]===2)){t=0;continue}if(d[0]===3&&(!o||d[1]>o[0]&&d[1]import("./htmlMode-7e5850bd.js"),["assets/htmlMode-7e5850bd.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}function Jv(s,e,t){var i=this;e===void 0&&(e=Xv),t===void 0&&(t=Qv(s));var n=new RY(s,e,t),o,r=on.onLanguage(s,function(){return TY(i,void 0,void 0,function(){return AY(this,function(a){switch(a.label){case 0:return[4,BY()];case 1:return o=a.sent().setupMode(n),[2]}})})});return{defaults:n,dispose:function(){r.dispose(),o==null||o.dispose(),o=void 0}}}var z2={},hS={},WY=function(){function s(e){var t=this;this._languageId=e,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(i,n){t._lazyLoadPromiseResolve=i,t._lazyLoadPromiseReject=n})}return s.getOrCreate=function(e){return hS[e]||(hS[e]=new s(e)),hS[e]},s.prototype.whenLoaded=function(){return this._lazyLoadPromise},s.prototype.load=function(){var e=this;return this._loadingTriggered||(this._loadingTriggered=!0,z2[this._languageId].loader().then(function(t){return e._lazyLoadPromiseResolve(t)},function(t){return e._lazyLoadPromiseReject(t)})),this._lazyLoadPromise},s}();function fe(s){var e=s.id;z2[e]=s,on.register(s);var t=WY.getOrCreate(e);on.setMonarchTokensProvider(e,t.whenLoaded().then(function(i){return i.language})),on.onLanguage(e,function(){t.load().then(function(i){on.setLanguageConfiguration(e,i.conf)})})}fe({id:"abap",extensions:[".abap"],aliases:["abap","ABAP"],loader:function(){return ce(()=>import("./abap-ffbe9c82.js"),[])}});fe({id:"apex",extensions:[".cls"],aliases:["Apex","apex"],mimetypes:["text/x-apex-source","text/x-apex"],loader:function(){return ce(()=>import("./apex-9370f1bb.js"),[])}});fe({id:"azcli",extensions:[".azcli"],aliases:["Azure CLI","azcli"],loader:function(){return ce(()=>import("./azcli-714c239b.js"),[])}});fe({id:"bat",extensions:[".bat",".cmd"],aliases:["Batch","bat"],loader:function(){return ce(()=>import("./bat-7eb152e5.js"),[])}});fe({id:"bicep",extensions:[".bicep"],aliases:["Bicep"],loader:function(){return ce(()=>import("./bicep-0e2809f7.js"),[])}});fe({id:"cameligo",extensions:[".mligo"],aliases:["Cameligo"],loader:function(){return ce(()=>import("./cameligo-91a865e0.js"),[])}});fe({id:"clojure",extensions:[".clj",".cljs",".cljc",".edn"],aliases:["clojure","Clojure"],loader:function(){return ce(()=>import("./clojure-7e0f8eaa.js"),[])}});fe({id:"coffeescript",extensions:[".coffee"],aliases:["CoffeeScript","coffeescript","coffee"],mimetypes:["text/x-coffeescript","text/coffeescript"],loader:function(){return ce(()=>import("./coffee-af1c6ca9.js"),[])}});fe({id:"c",extensions:[".c",".h"],aliases:["C","c"],loader:function(){return ce(()=>import("./cpp-d3907575.js"),[])}});fe({id:"cpp",extensions:[".cpp",".cc",".cxx",".hpp",".hh",".hxx"],aliases:["C++","Cpp","cpp"],loader:function(){return ce(()=>import("./cpp-d3907575.js"),[])}});fe({id:"csharp",extensions:[".cs",".csx",".cake"],aliases:["C#","csharp"],loader:function(){return ce(()=>import("./csharp-d087d64c.js"),[])}});fe({id:"csp",extensions:[],aliases:["CSP","csp"],loader:function(){return ce(()=>import("./csp-13ea92a6.js"),[])}});fe({id:"css",extensions:[".css"],aliases:["CSS","css"],mimetypes:["text/css"],loader:function(){return ce(()=>import("./css-e979702d.js"),[])}});fe({id:"dart",extensions:[".dart"],aliases:["Dart","dart"],mimetypes:["text/x-dart-source","text/x-dart"],loader:function(){return ce(()=>import("./dart-0a096fe0.js"),[])}});fe({id:"dockerfile",extensions:[".dockerfile"],filenames:["Dockerfile"],aliases:["Dockerfile"],loader:function(){return ce(()=>import("./dockerfile-af4eb422.js"),[])}});fe({id:"ecl",extensions:[".ecl"],aliases:["ECL","Ecl","ecl"],loader:function(){return ce(()=>import("./ecl-8f5b983c.js"),[])}});fe({id:"elixir",extensions:[".ex",".exs"],aliases:["Elixir","elixir","ex"],loader:function(){return ce(()=>import("./elixir-82a0fd91.js"),[])}});fe({id:"flow9",extensions:[".flow"],aliases:["Flow9","Flow","flow9","flow"],loader:function(){return ce(()=>import("./flow9-47a350b0.js"),[])}});fe({id:"fsharp",extensions:[".fs",".fsi",".ml",".mli",".fsx",".fsscript"],aliases:["F#","FSharp","fsharp"],loader:function(){return ce(()=>import("./fsharp-de5183ae.js"),[])}});fe({id:"go",extensions:[".go"],aliases:["Go"],loader:function(){return ce(()=>import("./go-a9169306.js"),[])}});fe({id:"graphql",extensions:[".graphql",".gql"],aliases:["GraphQL","graphql","gql"],mimetypes:["application/graphql"],loader:function(){return ce(()=>import("./graphql-e84c0b6e.js"),[])}});fe({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars","hbs"],mimetypes:["text/x-handlebars-template"],loader:function(){return ce(()=>import("./handlebars-2c91027f.js"),["assets/handlebars-2c91027f.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"hcl",extensions:[".tf",".tfvars",".hcl"],aliases:["Terraform","tf","HCL","hcl"],loader:function(){return ce(()=>import("./hcl-3a006f6b.js"),[])}});fe({id:"html",extensions:[".html",".htm",".shtml",".xhtml",".mdoc",".jsp",".asp",".aspx",".jshtm"],aliases:["HTML","htm","html","xhtml"],mimetypes:["text/html","text/x-jshtm","text/template","text/ng-template"],loader:function(){return ce(()=>import("./html-5114048a.js"),["assets/html-5114048a.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"ini",extensions:[".ini",".properties",".gitconfig"],filenames:["config",".gitattributes",".gitconfig",".editorconfig"],aliases:["Ini","ini"],loader:function(){return ce(()=>import("./ini-53b87513.js"),[])}});fe({id:"java",extensions:[".java",".jav"],aliases:["Java","java"],mimetypes:["text/x-java-source","text/x-java"],loader:function(){return ce(()=>import("./java-58c1a618.js"),[])}});fe({id:"javascript",extensions:[".js",".es6",".jsx",".mjs"],firstLine:"^#!.*\\bnode",filenames:["jakefile"],aliases:["JavaScript","javascript","js"],mimetypes:["text/javascript"],loader:function(){return ce(()=>import("./javascript-9afea68a.js"),["assets/javascript-9afea68a.js","assets/typescript-f43269f6.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"julia",extensions:[".jl"],aliases:["julia","Julia"],loader:function(){return ce(()=>import("./julia-5f2fc018.js"),[])}});fe({id:"kotlin",extensions:[".kt"],aliases:["Kotlin","kotlin"],mimetypes:["text/x-kotlin-source","text/x-kotlin"],loader:function(){return ce(()=>import("./kotlin-2e32535a.js"),[])}});fe({id:"less",extensions:[".less"],aliases:["Less","less"],mimetypes:["text/x-less","text/less"],loader:function(){return ce(()=>import("./less-00089e91.js"),[])}});fe({id:"lexon",extensions:[".lex"],aliases:["Lexon"],loader:function(){return ce(()=>import("./lexon-22a22ba3.js"),[])}});fe({id:"lua",extensions:[".lua"],aliases:["Lua","lua"],loader:function(){return ce(()=>import("./lua-04a273a9.js"),[])}});fe({id:"liquid",extensions:[".liquid",".html.liquid"],aliases:["Liquid","liquid"],mimetypes:["application/liquid"],loader:function(){return ce(()=>import("./liquid-0199fae4.js"),["assets/liquid-0199fae4.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"m3",extensions:[".m3",".i3",".mg",".ig"],aliases:["Modula-3","Modula3","modula3","m3"],loader:function(){return ce(()=>import("./m3-b6e0b0fd.js"),[])}});fe({id:"markdown",extensions:[".md",".markdown",".mdown",".mkdn",".mkd",".mdwn",".mdtxt",".mdtext"],aliases:["Markdown","markdown"],loader:function(){return ce(()=>import("./markdown-c2ea92f4.js"),[])}});fe({id:"mips",extensions:[".s"],aliases:["MIPS","MIPS-V"],mimetypes:["text/x-mips","text/mips","text/plaintext"],loader:function(){return ce(()=>import("./mips-daa25bd4.js"),[])}});fe({id:"msdax",extensions:[".dax",".msdax"],aliases:["DAX","MSDAX"],loader:function(){return ce(()=>import("./msdax-c6fa6f2f.js"),[])}});fe({id:"mysql",extensions:[],aliases:["MySQL","mysql"],loader:function(){return ce(()=>import("./mysql-788d9472.js"),[])}});fe({id:"objective-c",extensions:[".m"],aliases:["Objective-C"],loader:function(){return ce(()=>import("./objective-c-9e968999.js"),[])}});fe({id:"pascal",extensions:[".pas",".p",".pp"],aliases:["Pascal","pas"],mimetypes:["text/x-pascal-source","text/x-pascal"],loader:function(){return ce(()=>import("./pascal-e017ea4d.js"),[])}});fe({id:"pascaligo",extensions:[".ligo"],aliases:["Pascaligo","ligo"],loader:function(){return ce(()=>import("./pascaligo-bf7e3de8.js"),[])}});fe({id:"perl",extensions:[".pl"],aliases:["Perl","pl"],loader:function(){return ce(()=>import("./perl-2762c71f.js"),[])}});fe({id:"pgsql",extensions:[],aliases:["PostgreSQL","postgres","pg","postgre"],loader:function(){return ce(()=>import("./pgsql-cb741fab.js"),[])}});fe({id:"php",extensions:[".php",".php4",".php5",".phtml",".ctp"],aliases:["PHP","php"],mimetypes:["application/x-php"],loader:function(){return ce(()=>import("./php-df365951.js"),[])}});fe({id:"pla",extensions:[".pla"],loader:function(){return ce(()=>import("./pla-6c133053.js"),[])}});fe({id:"postiats",extensions:[".dats",".sats",".hats"],aliases:["ATS","ATS/Postiats"],loader:function(){return ce(()=>import("./postiats-b245e70f.js"),[])}});fe({id:"powerquery",extensions:[".pq",".pqm"],aliases:["PQ","M","Power Query","Power Query M"],loader:function(){return ce(()=>import("./powerquery-6b7a9cc4.js"),[])}});fe({id:"powershell",extensions:[".ps1",".psm1",".psd1"],aliases:["PowerShell","powershell","ps","ps1"],loader:function(){return ce(()=>import("./powershell-50bb8773.js"),[])}});fe({id:"proto",extensions:[".proto"],aliases:["protobuf","Protocol Buffers"],loader:function(){return ce(()=>import("./protobuf-0ee314a2.js"),[])}});fe({id:"pug",extensions:[".jade",".pug"],aliases:["Pug","Jade","jade"],loader:function(){return ce(()=>import("./pug-409e523c.js"),[])}});fe({id:"python",extensions:[".py",".rpy",".pyw",".cpy",".gyp",".gypi"],aliases:["Python","py"],firstLine:"^#!/.*\\bpython[0-9.-]*\\b",loader:function(){return ce(()=>import("./python-1349b999.js"),["assets/python-1349b999.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"qsharp",extensions:[".qs"],aliases:["Q#","qsharp"],loader:function(){return ce(()=>import("./qsharp-9951b04a.js"),[])}});fe({id:"r",extensions:[".r",".rhistory",".rmd",".rprofile",".rt"],aliases:["R","r"],loader:function(){return ce(()=>import("./r-c34a576e.js"),[])}});fe({id:"razor",extensions:[".cshtml"],aliases:["Razor","razor"],mimetypes:["text/x-cshtml"],loader:function(){return ce(()=>import("./razor-a733544d.js"),["assets/razor-a733544d.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"redis",extensions:[".redis"],aliases:["redis"],loader:function(){return ce(()=>import("./redis-1a5ba628.js"),[])}});fe({id:"redshift",extensions:[],aliases:["Redshift","redshift"],loader:function(){return ce(()=>import("./redshift-2c383c33.js"),[])}});fe({id:"restructuredtext",extensions:[".rst"],aliases:["reStructuredText","restructuredtext"],loader:function(){return ce(()=>import("./restructuredtext-4a10ef1d.js"),[])}});fe({id:"ruby",extensions:[".rb",".rbx",".rjs",".gemspec",".pp"],filenames:["rakefile","Gemfile"],aliases:["Ruby","rb"],loader:function(){return ce(()=>import("./ruby-944f56a1.js"),[])}});fe({id:"rust",extensions:[".rs",".rlib"],aliases:["Rust","rust"],loader:function(){return ce(()=>import("./rust-b0440aa9.js"),[])}});fe({id:"sb",extensions:[".sb"],aliases:["Small Basic","sb"],loader:function(){return ce(()=>import("./sb-f3b34295.js"),[])}});fe({id:"scala",extensions:[".scala",".sc",".sbt"],aliases:["Scala","scala","SBT","Sbt","sbt","Dotty","dotty"],mimetypes:["text/x-scala-source","text/x-scala","text/x-sbt","text/x-dotty"],loader:function(){return ce(()=>import("./scala-7c17b334.js"),[])}});fe({id:"scheme",extensions:[".scm",".ss",".sch",".rkt"],aliases:["scheme","Scheme"],loader:function(){return ce(()=>import("./scheme-f75b8a9a.js"),[])}});fe({id:"scss",extensions:[".scss"],aliases:["Sass","sass","scss"],mimetypes:["text/x-scss","text/scss"],loader:function(){return ce(()=>import("./scss-833c0e23.js"),[])}});fe({id:"shell",extensions:[".sh",".bash"],aliases:["Shell","sh"],loader:function(){return ce(()=>import("./shell-4657d8a1.js"),[])}});fe({id:"sol",extensions:[".sol"],aliases:["sol","solidity","Solidity"],loader:function(){return ce(()=>import("./solidity-62f35cba.js"),[])}});fe({id:"aes",extensions:[".aes"],aliases:["aes","sophia","Sophia"],loader:function(){return ce(()=>import("./sophia-94cd0024.js"),[])}});fe({id:"sparql",extensions:[".rq"],aliases:["sparql","SPARQL"],loader:function(){return ce(()=>import("./sparql-23f0115e.js"),[])}});fe({id:"sql",extensions:[".sql"],aliases:["SQL"],loader:function(){return ce(()=>import("./sql-9ac813b8.js"),[])}});fe({id:"st",extensions:[".st",".iecst",".iecplc",".lc3lib"],aliases:["StructuredText","scl","stl"],loader:function(){return ce(()=>import("./st-4d0d15a1.js"),[])}});fe({id:"swift",aliases:["Swift","swift"],extensions:[".swift"],mimetypes:["text/swift"],loader:function(){return ce(()=>import("./swift-11c0de91.js"),[])}});fe({id:"systemverilog",extensions:[".sv",".svh"],aliases:["SV","sv","SystemVerilog","systemverilog"],loader:function(){return ce(()=>import("./systemverilog-416dd7b8.js"),[])}});fe({id:"verilog",extensions:[".v",".vh"],aliases:["V","v","Verilog","verilog"],loader:function(){return ce(()=>import("./systemverilog-416dd7b8.js"),[])}});fe({id:"tcl",extensions:[".tcl"],aliases:["tcl","Tcl","tcltk","TclTk","tcl/tk","Tcl/Tk"],loader:function(){return ce(()=>import("./tcl-838585b9.js"),[])}});fe({id:"twig",extensions:[".twig"],aliases:["Twig","twig"],mimetypes:["text/x-twig"],loader:function(){return ce(()=>import("./twig-1b470482.js"),[])}});fe({id:"typescript",extensions:[".ts",".tsx"],aliases:["TypeScript","ts","typescript"],mimetypes:["text/typescript"],loader:function(){return ce(()=>import("./typescript-f43269f6.js"),["assets/typescript-f43269f6.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"vb",extensions:[".vb"],aliases:["Visual Basic","vb"],loader:function(){return ce(()=>import("./vb-2f676a0c.js"),[])}});fe({id:"xml",extensions:[".xml",".dtd",".ascx",".csproj",".config",".wxi",".wxl",".wxs",".xaml",".svg",".svgz",".opf",".xsl"],firstLine:"(\\<\\?xml.*)|(\\import("./xml-c606278a.js"),["assets/xml-c606278a.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"])}});fe({id:"yaml",extensions:[".yaml",".yml"],aliases:["YAML","yaml","YML","yml"],mimetypes:["application/x-yaml","text/x-yaml"],loader:function(){return ce(()=>import("./yaml-e83d14b1.js"),[])}});var VY=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},HY=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},ew=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const tw=new re("selectionAnchorSet",!1);let _a=class U2{constructor(e,t){this.editor=e,this.selectionAnchorSetContextKey=tw.bindTo(t),this.modelChangeListener=e.onDidChangeModel(()=>this.selectionAnchorSetContextKey.reset())}static get(e){return e.getContribution(U2.ID)}setSelectionAnchor(){if(this.editor.hasModel()){const e=this.editor.getPosition(),t=this.decorationId?[this.decorationId]:[],i=this.editor.deltaDecorations(t,[{range:ne.fromPositions(e,e),options:{description:"selection-anchor",stickiness:1,hoverMessage:new ma().appendText(p("selectionAnchor","Selection Anchor")),className:"selection-anchor"}}]);this.decorationId=i[0],this.selectionAnchorSetContextKey.set(!!this.decorationId),Ei(p("anchorSet","Anchor set at {0}:{1}",e.lineNumber,e.column))}}goToSelectionAnchor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);e&&this.editor.setPosition(e.getStartPosition())}}selectFromAnchorToCursor(){if(this.editor.hasModel()&&this.decorationId){const e=this.editor.getModel().getDecorationRange(this.decorationId);if(e){const t=this.editor.getPosition();this.editor.setSelection(ne.fromPositions(e.getStartPosition(),t)),this.cancelSelectionAnchor()}}}cancelSelectionAnchor(){this.decorationId&&(this.editor.deltaDecorations([this.decorationId],[]),this.decorationId=void 0,this.selectionAnchorSetContextKey.set(!1))}dispose(){this.cancelSelectionAnchor(),this.modelChangeListener.dispose()}};_a.ID="editor.contrib.selectionAnchorController";_a=VY([HY(1,ve)],_a);class zY extends oe{constructor(){super({id:"editor.action.setSelectionAnchor",label:p("setSelectionAnchor","Set Selection Anchor"),alias:"Set Selection Anchor",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:mi(2089,2080),weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).setSelectionAnchor()})}}class UY extends oe{constructor(){super({id:"editor.action.goToSelectionAnchor",label:p("goToSelectionAnchor","Go to Selection Anchor"),alias:"Go to Selection Anchor",precondition:tw})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).goToSelectionAnchor()})}}class $Y extends oe{constructor(){super({id:"editor.action.selectFromAnchorToCursor",label:p("selectFromAnchorToCursor","Select from Anchor to Cursor"),alias:"Select from Anchor to Cursor",precondition:tw,kbOpts:{kbExpr:E.editorTextFocus,primary:mi(2089,2089),weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).selectFromAnchorToCursor()})}}class jY extends oe{constructor(){super({id:"editor.action.cancelSelectionAnchor",label:p("cancelSelectionAnchor","Cancel Selection Anchor"),alias:"Cancel Selection Anchor",precondition:tw,kbOpts:{kbExpr:E.editorTextFocus,primary:9,weight:100}})}run(e,t){return ew(this,void 0,void 0,function*(){_a.get(t).cancelSelectionAnchor()})}}nt(_a.ID,_a);ee(zY);ee(UY);ee($Y);ee(jY);const KY=R("editorOverviewRuler.bracketMatchForeground",{dark:"#A0A0A0",light:"#A0A0A0",hc:"#A0A0A0"},p("overviewRulerBracketMatchForeground","Overview ruler marker color for matching brackets."));class qY extends oe{constructor(){super({id:"editor.action.jumpToBracket",label:p("smartSelect.jumpBracket","Go to Bracket"),alias:"Go to Bracket",precondition:void 0,kbOpts:{kbExpr:E.editorTextFocus,primary:3160,weight:100}})}run(e,t){let i=bo.get(t);i&&i.jumpToBracket()}}class GY extends oe{constructor(){super({id:"editor.action.selectToBracket",label:p("smartSelect.selectToBracket","Select to Bracket"),alias:"Select to Bracket",precondition:void 0,description:{description:"Select to Bracket",args:[{name:"args",schema:{type:"object",properties:{selectBrackets:{type:"boolean",default:!0}}}}]}})}run(e,t,i){const n=bo.get(t);if(!n)return;let o=!0;i&&i.selectBrackets===!1&&(o=!1),n.selectToBracket(o)}}class ZY{constructor(e,t,i){this.position=e,this.brackets=t,this.options=i}}class bo extends H{constructor(e){super(),this._editor=e,this._lastBracketsData=[],this._lastVersionId=0,this._decorations=[],this._updateBracketsSoon=this._register(new Lt(()=>this._updateBrackets(),50)),this._matchBrackets=this._editor.getOption(63),this._updateBracketsSoon.schedule(),this._register(e.onDidChangeCursorPosition(t=>{this._matchBrackets!=="never"&&this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelContent(t=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModel(t=>{this._lastBracketsData=[],this._decorations=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeModelLanguageConfiguration(t=>{this._lastBracketsData=[],this._updateBracketsSoon.schedule()})),this._register(e.onDidChangeConfiguration(t=>{t.hasChanged(63)&&(this._matchBrackets=this._editor.getOption(63),this._decorations=this._editor.deltaDecorations(this._decorations,[]),this._lastBracketsData=[],this._lastVersionId=0,this._updateBracketsSoon.schedule())})),this._register(e.onDidBlurEditorWidget(()=>{this._updateBracketsSoon.schedule()})),this._register(e.onDidFocusEditorWidget(()=>{this._updateBracketsSoon.schedule()}))}static get(e){return e.getContribution(bo.ID)}jumpToBracket(){if(!this._editor.hasModel())return;const e=this._editor.getModel(),t=this._editor.getSelections().map(i=>{const n=i.getStartPosition(),o=e.matchBracket(n);let r=null;if(o)o[0].containsPosition(n)?r=o[1].getStartPosition():o[1].containsPosition(n)&&(r=o[0].getStartPosition());else{const a=e.findEnclosingBrackets(n);if(a)r=a[0].getStartPosition();else{const l=e.findNextBracket(n);l&&l.range&&(r=l.range.getStartPosition())}}return r?new ne(r.lineNumber,r.column,r.lineNumber,r.column):new ne(n.lineNumber,n.column,n.lineNumber,n.column)});this._editor.setSelections(t),this._editor.revealRange(t[0])}selectToBracket(e){if(!this._editor.hasModel())return;const t=this._editor.getModel(),i=[];this._editor.getSelections().forEach(n=>{const o=n.getStartPosition();let r=t.matchBracket(o);if(!r&&(r=t.findEnclosingBrackets(o),!r)){const d=t.findNextBracket(o);d&&d.range&&(r=t.matchBracket(d.range.getStartPosition()))}let a=null,l=null;if(r){r.sort(S.compareRangesUsingStarts);const[d,h]=r;if(a=e?d.getStartPosition():d.getEndPosition(),l=e?h.getEndPosition():h.getStartPosition(),h.containsPosition(o)){const c=a;a=l,l=c}}a&&l&&i.push(new ne(a.lineNumber,a.column,l.lineNumber,l.column))}),i.length>0&&(this._editor.setSelections(i),this._editor.revealRange(i[0]))}_updateBrackets(){if(this._matchBrackets==="never")return;this._recomputeBrackets();let e=[],t=0;for(const i of this._lastBracketsData){let n=i.brackets;n&&(e[t++]={range:n[0],options:i.options},e[t++]={range:n[1],options:i.options})}this._decorations=this._editor.deltaDecorations(this._decorations,e)}_recomputeBrackets(){if(!this._editor.hasModel()||!this._editor.hasWidgetFocus()){this._lastBracketsData=[],this._lastVersionId=0;return}const e=this._editor.getSelections();if(e.length>100){this._lastBracketsData=[],this._lastVersionId=0;return}const t=this._editor.getModel(),i=t.getVersionId();let n=[];this._lastVersionId===i&&(n=this._lastBracketsData);let o=[],r=0;for(let c=0,u=e.length;c1&&o.sort(F.compare);let a=[],l=0,d=0,h=n.length;for(let c=0,u=o.length;c{const t=s.getColor(M6);t&&e.addRule(`.monaco-editor .bracket-match { background-color: ${t}; }`);const i=s.getColor(ZO);i&&e.addRule(`.monaco-editor .bracket-match { border: 1px solid ${i}; }`)});ps.appendMenuItem(ae.MenubarGoMenu,{group:"5_infile_nav",command:{id:"editor.action.jumpToBracket",title:p({key:"miGoToBracket",comment:["&& denotes a mnemonic"]},"Go to &&Bracket")},order:2});class YY{constructor(e,t){this._selection=e,this._isMovingLeft=t}getEditOperations(e,t){if(this._selection.startLineNumber!==this._selection.endLineNumber||this._selection.isEmpty())return;const i=this._selection.startLineNumber,n=this._selection.startColumn,o=this._selection.endColumn;if(!(this._isMovingLeft&&n===1)&&!(!this._isMovingLeft&&o===e.getLineMaxColumn(i)))if(this._isMovingLeft){const r=new S(i,n-1,i,n),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new S(i,o,i,o),a)}else{const r=new S(i,o,i,o+1),a=e.getValueInRange(r);t.addEditOperation(r,null),t.addEditOperation(new S(i,n,i,n),a)}}computeCursorState(e,t){return this._isMovingLeft?new ne(this._selection.startLineNumber,this._selection.startColumn-1,this._selection.endLineNumber,this._selection.endColumn-1):new ne(this._selection.startLineNumber,this._selection.startColumn+1,this._selection.endLineNumber,this._selection.endColumn+1)}}class $2 extends oe{constructor(e,t){super(t),this.left=e}run(e,t){if(!t.hasModel())return;let i=[],n=t.getSelections();for(const o of n)i.push(new YY(o,this.left));t.pushUndoStop(),t.executeCommands(this.id,i),t.pushUndoStop()}}class XY extends $2{constructor(){super(!0,{id:"editor.action.moveCarretLeftAction",label:p("caret.moveLeft","Move Selected Text Left"),alias:"Move Selected Text Left",precondition:E.writable})}}class QY extends $2{constructor(){super(!1,{id:"editor.action.moveCarretRightAction",label:p("caret.moveRight","Move Selected Text Right"),alias:"Move Selected Text Right",precondition:E.writable})}}ee(XY);ee(QY);class JY extends oe{constructor(){super({id:"editor.action.transposeLetters",label:p("transposeLetters.label","Transpose Letters"),alias:"Transpose Letters",precondition:E.writable,kbOpts:{kbExpr:E.textInputFocus,primary:0,mac:{primary:306},weight:100}})}run(e,t){if(!t.hasModel())return;let i=t.getModel(),n=[],o=t.getSelections();for(let r of o){if(!r.isEmpty())continue;let a=r.startLineNumber,l=r.startColumn,d=i.getLineMaxColumn(a);if(a===1&&(l===1||l===2&&d===2))continue;let h=l===d?r.getPosition():Xe.rightPosition(i,r.getPosition().lineNumber,r.getPosition().column),c=Xe.leftPosition(i,h),u=Xe.leftPosition(i,c),f=i.getValueInRange(S.fromPositions(u,c)),g=i.getValueInRange(S.fromPositions(c,h)),m=S.fromPositions(u,h);n.push(new xi(m,g+f))}n.length>0&&(t.pushUndoStop(),t.executeCommands(this.id,n),t.pushUndoStop())}}ee(JY);var eX=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const th="9_cutcopypaste",tX=uo||document.queryCommandSupported("cut"),j2=uo||document.queryCommandSupported("copy"),iX=typeof navigator.clipboard>"u"||rn?document.queryCommandSupported("paste"):!0;function oI(s){return s.register(),s}const nX=tX?oI(new Ou({id:"editor.action.clipboardCutAction",precondition:void 0,kbOpts:uo?{primary:2102,win:{primary:2102,secondary:[1044]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miCut",comment:["&& denotes a mnemonic"]},"Cu&&t"),order:1},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.cutLabel","Cut"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.cutLabel","Cut"),when:E.writable,order:1}]})):void 0,sX=j2?oI(new Ou({id:"editor.action.clipboardCopyAction",precondition:void 0,kbOpts:uo?{primary:2081,win:{primary:2081,secondary:[2067]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miCopy",comment:["&& denotes a mnemonic"]},"&&Copy"),order:2},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.copyLabel","Copy"),order:2},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.copyLabel","Copy"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.copyLabel","Copy"),order:2}]})):void 0;ps.appendMenuItem(ae.MenubarEditMenu,{submenu:ae.MenubarCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:"2_ccp",order:3});ps.appendMenuItem(ae.EditorContext,{submenu:ae.EditorContextCopy,title:{value:p("copy as","Copy As"),original:"Copy As"},group:th,order:3});const cS=iX?oI(new Ou({id:"editor.action.clipboardPasteAction",precondition:void 0,kbOpts:uo?{primary:2100,win:{primary:2100,secondary:[1043]},linux:{primary:2100,secondary:[1043]},weight:100}:void 0,menuOpts:[{menuId:ae.MenubarEditMenu,group:"2_ccp",title:p({key:"miPaste",comment:["&& denotes a mnemonic"]},"&&Paste"),order:4},{menuId:ae.EditorContext,group:th,title:p("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4},{menuId:ae.CommandPalette,group:"",title:p("actions.clipboard.pasteLabel","Paste"),order:1},{menuId:ae.SimpleEditorContext,group:th,title:p("actions.clipboard.pasteLabel","Paste"),when:E.writable,order:4}]})):void 0;class oX extends oe{constructor(){super({id:"editor.action.clipboardCopyWithSyntaxHighlightingAction",label:p("actions.clipboard.copyWithSyntaxHighlightingLabel","Copy With Syntax Highlighting"),alias:"Copy With Syntax Highlighting",precondition:void 0,kbOpts:{kbExpr:E.textInputFocus,primary:0,weight:100}})}run(e,t){!t.hasModel()||!t.getOption(32)&&t.getSelection().isEmpty()||(Ay.forceCopyWithSyntaxHighlighting=!0,t.focus(),document.execCommand("copy"),Ay.forceCopyWithSyntaxHighlighting=!1)}}function K2(s,e){s&&(s.addImplementation(1e4,"code-editor",(t,i)=>{const n=t.get(tt).getFocusedCodeEditor();if(n&&n.hasTextFocus()){const o=n.getOption(32),r=n.getSelection();return r&&r.isEmpty()&&!o||document.execCommand(e),!0}return!1}),s.addImplementation(0,"generic-dom",(t,i)=>(document.execCommand(e),!0)))}K2(nX,"cut");K2(sX,"copy");cS&&(cS.addImplementation(1e4,"code-editor",(s,e)=>{const t=s.get(tt),i=s.get(Rl),n=t.getFocusedCodeEditor();return n&&n.hasTextFocus()?!document.execCommand("paste")&&Tu?(()=>eX(void 0,void 0,void 0,function*(){const r=yield i.readText();if(r!==""){const a=Bg.INSTANCE.get(r);let l=!1,d=null,h=null;a&&(l=n.getOption(32)&&!!a.isFromEmptySelection,d=typeof a.multicursorText<"u"?a.multicursorText:null,h=a.mode),n.trigger("keyboard","paste",{text:r,pasteOnNewLine:l,multicursorText:d,mode:h})}}))():!0:!1}),cS.addImplementation(0,"generic-dom",(s,e)=>(document.execCommand("paste"),!0)));j2&&ee(oX);class AC{constructor(e){this.executor=e,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}class We{constructor(e){this.value=e}equals(e){return this.value===e.value}contains(e){return this.equals(e)||this.value===""||e.value.startsWith(this.value+We.sep)}intersects(e){return this.contains(e)||e.contains(this)}append(e){return new We(this.value+We.sep+e)}}We.sep=".";We.None=new We("@@none@@");We.Empty=new We("");We.QuickFix=new We("quickfix");We.Refactor=new We("refactor");We.Source=new We("source");We.SourceOrganizeImports=We.Source.append("organizeImports");We.SourceFixAll=We.Source.append("fixAll");function rX(s,e){return!(s.include&&!s.include.intersects(e)||s.excludes&&s.excludes.some(t=>q2(e,t,s.include))||!s.includeSourceActions&&We.Source.contains(e))}function aX(s,e){const t=e.kind?new We(e.kind):void 0;return!(s.include&&(!t||!s.include.contains(t))||s.excludes&&t&&s.excludes.some(i=>q2(t,i,s.include))||!s.includeSourceActions&&t&&We.Source.contains(t)||s.onlyIncludePreferredActions&&!e.isPreferred)}function q2(s,e,t){return!(!e.contains(s)||t&&e.contains(t))}class Jo{constructor(e,t,i){this.kind=e,this.apply=t,this.preferred=i}static fromUser(e,t){return!e||typeof e!="object"?new Jo(t.kind,t.apply,!1):new Jo(Jo.getKindFromUser(e,t.kind),Jo.getApplyFromUser(e,t.apply),Jo.getPreferredUser(e))}static getApplyFromUser(e,t){switch(typeof e.apply=="string"?e.apply.toLowerCase():""){case"first":return"first";case"never":return"never";case"ifsingle":return"ifSingle";default:return t}}static getKindFromUser(e,t){return typeof e.kind=="string"?new We(e.kind):t}static getPreferredUser(e){return typeof e.preferred=="boolean"?e.preferred:!1}}var rI=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};const G2="editor.action.codeAction",Z2="editor.action.refactor",Y2="editor.action.sourceAction",aI="editor.action.organizeImports",lI="editor.action.fixAll";class X2{constructor(e,t){this.action=e,this.provider=t}resolve(e){var t;return rI(this,void 0,void 0,function*(){if(!((t=this.provider)===null||t===void 0)&&t.resolveCodeAction&&!this.action.edit){let i;try{i=yield this.provider.resolveCodeAction(this.action,e)}catch(n){Di(n)}i&&(this.action.edit=i.edit)}return this})}}class dI extends H{constructor(e,t,i){super(),this.documentation=t,this._register(i),this.allActions=[...e].sort(dI.codeActionsComparator),this.validActions=this.allActions.filter(({action:n})=>!n.disabled)}static codeActionsComparator({action:e},{action:t}){return e.isPreferred&&!t.isPreferred?-1:!e.isPreferred&&t.isPreferred?1:Tn(e.diagnostics)?Tn(t.diagnostics)?e.diagnostics[0].message.localeCompare(t.diagnostics[0].message):-1:Tn(t.diagnostics)?1:0}get hasAutoFix(){return this.validActions.some(({action:e})=>!!e.kind&&We.QuickFix.contains(new We(e.kind))&&!!e.isPreferred)}}const YT={actions:[],documentation:void 0};function hI(s,e,t,i,n){var o;const r=t.filter||{},a={only:(o=r.include)===null||o===void 0?void 0:o.value,trigger:t.type},l=new Sk(s,n),d=lX(s,r),h=new X,c=d.map(f=>rI(this,void 0,void 0,function*(){try{i.report(f);const g=yield f.provideCodeActions(s,e,a,l.token);if(g&&h.add(g),l.token.isCancellationRequested)return YT;const m=((g==null?void 0:g.actions)||[]).filter(C=>C&&aX(r,C)),_=dX(f,m,r.include);return{actions:m.map(C=>new X2(C,f)),documentation:_}}catch(g){if(br(g))throw g;return Di(g),YT}})),u=ar.onDidChange(()=>{const f=ar.all(s);zs(f,d)||l.cancel()});return Promise.all(c).then(f=>{const g=Cx(f.map(_=>_.actions)),m=wh(f.map(_=>_.documentation));return new dI(g,m,h)}).finally(()=>{u.dispose(),l.dispose()})}function lX(s,e){return ar.all(s).filter(t=>t.providedCodeActionKinds?t.providedCodeActionKinds.some(i=>rX(e,new We(i))):!0)}function dX(s,e,t){if(!s.documentation)return;const i=s.documentation.map(n=>({kind:new We(n.kind),command:n.command}));if(t){let n;for(const o of i)o.kind.contains(t)&&(n?n.kind.contains(o.kind)&&(n=o):n=o);if(n)return n==null?void 0:n.command}for(const n of e)if(n.kind){for(const o of i)if(o.kind.contains(new We(n.kind)))return o.command}}$e.registerCommand("_executeCodeActionProvider",function(s,e,t,i,n){return rI(this,void 0,void 0,function*(){if(!(e instanceof me))throw fo();const o=s.get(ri).getModel(e);if(!o)throw fo();const r=ne.isISelection(t)?ne.liftSelection(t):S.isIRange(t)?o.validateRange(t):void 0;if(!r)throw fo();const a=typeof i=="string"?new We(i):void 0,l=yield hI(o,r,{type:1,filter:{includeSourceActions:!0,include:a}},kh.None,Oe.None),d=[],h=Math.min(l.validActions.length,typeof n=="number"?n:0);for(let c=0;cc.action)}finally{setTimeout(()=>l.dispose(),100)}})});var hX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},cX=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}};let is=class RL{constructor(e,t){this._messageWidget=new dn,this._messageListeners=new X,this._editor=e,this._visible=RL.MESSAGE_VISIBLE.bindTo(t),this._editorListener=this._editor.onDidAttemptReadOnlyEdit(()=>this._onDidAttemptReadOnlyEdit())}static get(e){return e.getContribution(RL.ID)}dispose(){this._editorListener.dispose(),this._messageListeners.dispose(),this._messageWidget.dispose(),this._visible.reset()}showMessage(e,t){Ei(e),this._visible.set(!0),this._messageWidget.clear(),this._messageListeners.clear(),this._messageWidget.value=new XT(this._editor,t,e),this._messageListeners.add(this._editor.onDidBlurEditorText(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeCursorPosition(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidDispose(()=>this.closeMessage())),this._messageListeners.add(this._editor.onDidChangeModel(()=>this.closeMessage())),this._messageListeners.add(new hn(()=>this.closeMessage(),3e3));let i;this._messageListeners.add(this._editor.onMouseMove(n=>{n.target.position&&(i?i.containsPosition(n.target.position)||this.closeMessage():i=new S(t.lineNumber-3,1,n.target.position.lineNumber+3,1))}))}closeMessage(){this._visible.reset(),this._messageListeners.clear(),this._messageWidget.value&&this._messageListeners.add(XT.fadeOut(this._messageWidget.value))}_onDidAttemptReadOnlyEdit(){this._editor.hasModel()&&this.showMessage(p("editor.readonly","Cannot edit in read-only editor"),this._editor.getPosition())}};is.ID="editor.contrib.messageController";is.MESSAGE_VISIBLE=new re("messageVisible",!1,p("messageVisible","Whether the editor is currently showing an inline message"));is=hX([cX(1,ve)],is);const uX=Mi.bindToContribution(is.get);J(new uX({id:"leaveEditorMessage",precondition:is.MESSAGE_VISIBLE,handler:s=>s.closeMessage(),kbOpts:{weight:100+30,primary:9}}));let XT=class{constructor(e,{lineNumber:t,column:i},n){this.allowEditorOverflow=!0,this.suppressMouseDown=!1,this._editor=e,this._editor.revealLinesInCenterIfOutsideViewport(t,t,0),this._position={lineNumber:t,column:i-1},this._domNode=document.createElement("div"),this._domNode.classList.add("monaco-editor-overlaymessage");const o=document.createElement("div");o.classList.add("anchor","top"),this._domNode.appendChild(o);const r=document.createElement("div");r.classList.add("message"),r.textContent=n,this._domNode.appendChild(r);const a=document.createElement("div");a.classList.add("anchor","below"),this._domNode.appendChild(a),this._editor.addContentWidget(this),this._domNode.classList.add("fadeIn")}static fadeOut(e){let t;const i=()=>{e.dispose(),clearTimeout(t),e.getDomNode().removeEventListener("animationend",i)};return t=setTimeout(i,110),e.getDomNode().addEventListener("animationend",i),e.getDomNode().classList.add("fadeOut"),{dispose:i}}dispose(){this._editor.removeContentWidget(this)}getId(){return"messageoverlay"}getDomNode(){return this._domNode}getPosition(){return{position:this._position,preference:[1,2]}}afterRender(e){this._domNode.classList.toggle("below",e===2)}};nt(is.ID,is);st((s,e)=>{const t=s.getColor(Qx);if(t){let o=s.type===gs.HIGH_CONTRAST?2:1;e.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.below { border-top-color: ${t}; }`),e.addRule(`.monaco-editor .monaco-editor-overlaymessage .anchor.top { border-bottom-color: ${t}; }`),e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { border: ${o}px solid ${t}; }`)}const i=s.getColor(Yx);i&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { background-color: ${i}; }`);const n=s.getColor(Xx);n&&e.addRule(`.monaco-editor .monaco-editor-overlaymessage .message { color: ${n}; }`)});var fX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},QT=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},gX=globalThis&&globalThis.__awaiter||function(s,e,t,i){function n(o){return o instanceof t?o:new t(function(r){r(o)})}return new(t||(t=Promise))(function(o,r){function a(h){try{d(i.next(h))}catch(c){r(c)}}function l(h){try{d(i.throw(h))}catch(c){r(c)}}function d(h){h.done?o(h.value):n(h.value).then(a,l)}d((i=i.apply(s,e||[])).next())})};class JT extends Us{constructor(e,t){super(e.command?e.command.id:e.title,pX(e.title),void 0,!e.disabled,t),this.action=e}}function pX(s){return s.replace(/\r\n|\r|\n/g," ")}let ML=class extends H{constructor(e,t,i,n){super(),this._editor=e,this._delegate=t,this._contextMenuService=i,this._visible=!1,this._showingActions=this._register(new dn),this._keybindingResolver=new iw({getKeybindings:()=>n.getKeybindings()})}get isVisible(){return this._visible}show(e,t,i,n){return gX(this,void 0,void 0,function*(){const o=n.includeDisabledActions?t.allActions:t.validActions;if(!o.length){this._visible=!1;return}if(!this._editor.getDomNode())throw this._visible=!1,Ru();this._visible=!0,this._showingActions.value=t;const r=this.getMenuActions(e,o,t.documentation),a=F.isIPosition(i)?this._toCoords(i):i||{x:0,y:0},l=this._keybindingResolver.getResolver(),d=this._editor.getOption(113);this._contextMenuService.showContextMenu({domForShadowRoot:d?this._editor.getDomNode():void 0,getAnchor:()=>a,getActions:()=>r,onHide:()=>{this._visible=!1,this._editor.focus()},autoSelectFirstItem:!0,getKeyBinding:h=>h instanceof JT?l(h.action):void 0})})}getMenuActions(e,t,i){var n,o;const r=h=>new JT(h.action,()=>this._delegate.onSelectCodeAction(h)),a=t.map(r),l=[...i],d=this._editor.getModel();if(d&&a.length)for(const h of ar.all(d))h._getAdditionalMenuItems&&l.push(...h._getAdditionalMenuItems({trigger:e.type,only:(o=(n=e.filter)===null||n===void 0?void 0:n.include)===null||o===void 0?void 0:o.value},t.map(c=>c.action)));return l.length&&a.push(new $s,...l.map(h=>r(new X2({title:h.title,command:h},void 0)))),a}_toCoords(e){if(!this._editor.hasModel())return{x:0,y:0};this._editor.revealPosition(e,1),this._editor.render();const t=this._editor.getScrolledVisiblePosition(e),i=Ii(this._editor.getDomNode()),n=i.left+t.left,o=i.top+t.top+t.height;return{x:n,y:o}}};ML=fX([QT(2,Al),QT(3,Nt)],ML);class iw{constructor(e){this._keybindingProvider=e}getResolver(){const e=new AC(()=>this._keybindingProvider.getKeybindings().filter(t=>iw.codeActionCommands.indexOf(t.command)>=0).filter(t=>t.resolvedKeybinding).map(t=>{let i=t.commandArgs;return t.command===aI?i={kind:We.SourceOrganizeImports.value}:t.command===lI&&(i={kind:We.SourceFixAll.value}),Object.assign({resolvedKeybinding:t.resolvedKeybinding},Jo.fromUser(i,{kind:We.None,apply:"never"}))}));return t=>{if(t.kind){const i=this.bestKeybindingForCodeAction(t,e.getValue());return i==null?void 0:i.resolvedKeybinding}}}bestKeybindingForCodeAction(e,t){if(!e.kind)return;const i=new We(e.kind);return t.filter(n=>n.kind.contains(i)).filter(n=>n.preferred?e.isPreferred:!0).reduceRight((n,o)=>n?n.kind.contains(o.kind)?o:n:o,void 0)}}iw.codeActionCommands=[Z2,G2,Y2,aI,lI];var mX=globalThis&&globalThis.__decorate||function(s,e,t,i){var n=arguments.length,o=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,t):i,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(s,e,t,i);else for(var a=s.length-1;a>=0;a--)(r=s[a])&&(o=(n<3?r(o):n>3?r(e,t,o):r(e,t))||o);return n>3&&o&&Object.defineProperty(e,t,o),o},_X=globalThis&&globalThis.__param||function(s,e){return function(t,i){e(t,i,s)}},ug;(function(s){s.Hidden={type:0};class e{constructor(i,n,o,r){this.actions=i,this.trigger=n,this.editorPosition=o,this.widgetPosition=r,this.type=1}}s.Showing=e})(ug||(ug={}));let RC=class Q2 extends H{constructor(e,t,i,n){super(),this._editor=e,this._quickFixActionId=t,this._preferredFixActionId=i,this._keybindingService=n,this._onClick=this._register(new M),this.onClick=this._onClick.event,this._state=ug.Hidden,this._domNode=document.createElement("div"),this._domNode.className=ie.lightBulb.classNames,this._editor.addContentWidget(this),this._register(this._editor.onDidChangeModelContent(o=>{const r=this._editor.getModel();(this.state.type!==1||!r||this.state.editorPosition.lineNumber>=r.getLineCount())&&this.hide()})),lt.ignoreTarget(this._domNode),this._register(r3(this._domNode,o=>{if(this.state.type!==1)return;this._editor.focus(),o.preventDefault();const{top:r,height:a}=Ii(this._domNode),l=this._editor.getOption(58);let d=Math.floor(l/3);this.state.widgetPosition.position!==null&&this.state.widgetPosition.position.lineNumber{if((o.buttons&1)!==1)return;this.hide();const r=new Dh;r.startMonitoring(o.target,o.buttons,Pu,()=>{},()=>{r.dispose()})})),this._register(this._editor.onDidChangeConfiguration(o=>{o.hasChanged(56)&&!this._editor.getOption(56).enabled&&this.hide()})),this._updateLightBulbTitleAndIcon(),this._register(this._keybindingService.onDidUpdateKeybindings(this._updateLightBulbTitleAndIcon,this))}dispose(){super.dispose(),this._editor.removeContentWidget(this)}getId(){return"LightBulbWidget"}getDomNode(){return this._domNode}getPosition(){return this._state.type===1?this._state.widgetPosition:null}update(e,t,i){if(e.validActions.length<=0)return this.hide();const n=this._editor.getOptions();if(!n.get(56).enabled)return this.hide();const o=this._editor.getModel();if(!o)return this.hide();const{lineNumber:r,column:a}=o.validatePosition(i),l=o.getOptions().tabSize,d=n.get(43),h=o.getLineContent(r),c=Rn.computeIndentLevel(h,l),u=d.spaceWidth*c>22,f=m=>m>2&&this._editor.getTopForLineNumber(m)===this._editor.getTopForLineNumber(m-1);let g=r;if(!u){if(r>1&&!f(r-1))g-=1;else if(!f(r+1))g+=1;else if(a*d.spaceWidth<22)return this.hide()}this.state=new ug.Showing(e,t,i,{position:{lineNumber:g,column:1},preference:Q2._posPref}),this._editor.layoutContentWidget(this)}hide(){this.state=ug.Hidden,this._editor.layoutContentWidget(this)}get state(){return this._state}set state(e){this._state=e,this._updateLightBulbTitleAndIcon()}_updateLightBulbTitleAndIcon(){if(this.state.type===1&&this.state.actions.hasAutoFix){this._domNode.classList.remove(...ie.lightBulb.classNamesArray),this._domNode.classList.add(...ie.lightbulbAutofix.classNamesArray);const t=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(t){this.title=p("preferredcodeActionWithKb","Show Code Actions. Preferred Quick Fix Available ({0})",t.getLabel());return}}this._domNode.classList.remove(...ie.lightbulbAutofix.classNamesArray),this._domNode.classList.add(...ie.lightBulb.classNamesArray);const e=this._keybindingService.lookupKeybinding(this._quickFixActionId);e?this.title=p("codeActionWithKb","Show Code Actions ({0})",e.getLabel()):this.title=p("codeAction","Show Code Actions")}set title(e){this._domNode.title=e}};RC._posPref=[0];RC=mX([_X(3,Nt)],RC);st((s,e)=>{var t;const i=(t=s.getColor(ms))===null||t===void 0?void 0:t.transparent(.7),n=s.getColor(R9);n&&e.addRule(` .monaco-editor .contentWidgets ${ie.lightBulb.cssSelector} { color: ${n}; background-color: ${i}; diff --git a/admin-views/dist/assets/editor.main-ad4f8984.js.gz b/admin-views/dist/assets/editor.main-ad4f8984.js.gz new file mode 100644 index 00000000..e1eac640 Binary files /dev/null and b/admin-views/dist/assets/editor.main-ad4f8984.js.gz differ diff --git a/admin-views/dist/assets/exceljs.min-ae179238.js.gz b/admin-views/dist/assets/exceljs.min-ae179238.js.gz deleted file mode 100644 index 65ceed61..00000000 Binary files a/admin-views/dist/assets/exceljs.min-ae179238.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/exceljs.min-ae179238.js b/admin-views/dist/assets/exceljs.min-f045f53a.js similarity index 99% rename from admin-views/dist/assets/exceljs.min-ae179238.js rename to admin-views/dist/assets/exceljs.min-f045f53a.js index 8e3463d0..6b126be5 100644 --- a/admin-views/dist/assets/exceljs.min-ae179238.js +++ b/admin-views/dist/assets/exceljs.min-f045f53a.js @@ -1,4 +1,4 @@ -import{f as Ve,Q as Kt,a1 as De}from"./index-91036dd3.js";function qe(Ee,Fe){for(var s=0;sT[S]})}}}return Object.freeze(Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"}))}var $e={exports:{}};/*! ExcelJS 19-10-2023 */(function(Ee,Fe){(function(s){Ee.exports=s()})(function(){return function s(T,S,m){function o(t,e){if(!S[t]){if(!T[t]){var l=typeof De=="function"&&De;if(!e&&l)return l(t,!0);if(a)return a(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var i=S[t]={exports:{}};T[t][0].call(i.exports,function(c){return o(T[t][1][c]||c)},i,i.exports,s,T,S,m)}return S[t].exports}for(var a=typeof De=="function"&&De,r=0;r{const d=this.workbook.addWorksheet(c.sheetName),f=c.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],w=c.map||function(A){if(A==="")return null;const N=Number(A);if(!Number.isNaN(N)&&N!==1/0)return N;const L=f.reduce((P,D)=>{if(P)return P;const $=t(A,D,!0);return $.isValid()?$:null},null);if(L)return new Date(L.valueOf());const j=n[A];return j!==void 0?j:A},_=o.parse(c.parserOptions).on("data",A=>{d.addRow(A.map(w))}).on("end",()=>{_.emit("worksheet",d)});_.on("worksheet",h).on("error",u),i.pipe(_)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(i,c){return new Promise((h,u)=>{c=c||{};const d=this.workbook.getWorksheet(c.sheetName||c.sheetId),f=o.format(c.formatterOptions);i.on("finish",()=>{h()}),f.on("error",u),f.pipe(i);const{dateFormat:w,dateUTC:_}=c,A=c.map||(j=>{if(j){if(j.text||j.hyperlink)return j.hyperlink||j.text||"";if(j.formula||j.result)return j.result||"";if(j instanceof Date)return w?_?t.utc(j).format(w):t(j).format(w):_?t.utc(j).format():t(j).format();if(j.error)return j.error;if(typeof j=="object")return JSON.stringify(j)}return j}),N=c.includeEmptyRows===void 0||c.includeEmptyRows;let L=1;d&&d.eachRow((j,P)=>{if(N)for(;L++2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=r,t)if(typeof t=="string"){const l=m.decodeAddress(t);this.nativeCol=l.col+e,this.nativeColOff=0,this.nativeRow=l.row+e,this.nativeRowOff=0}else t.nativeCol!==void 0?(this.nativeCol=t.nativeCol||0,this.nativeColOff=t.nativeColOff||0,this.nativeRow=t.nativeRow||0,this.nativeRowOff=t.nativeRowOff||0):t.col!==void 0?(this.col=t.col+e,this.row=t.row+e):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(r){return r instanceof o||r==null?r:new o(r)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(r){this.nativeCol=Math.floor(r),this.nativeColOff=Math.floor((r-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(r){this.nativeRow=Math.floor(r),this.nativeRowOff=Math.floor((r-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(r){this.nativeCol=r.nativeCol,this.nativeColOff=r.nativeColOff,this.nativeRow=r.nativeRow,this.nativeRowOff=r.nativeRowOff}}T.exports=o},{"../utils/col-cache":19}],3:[function(s,T,S){const m=s("../utils/col-cache"),o=s("../utils/under-dash"),a=s("./enums"),{slideFormula:r}=s("../utils/shared-formula"),t=s("./note");class e{constructor(i,c,h){if(!i||!c)throw new Error("A Cell needs a Row");this._row=i,this._column=c,m.validateAddress(h),this._address=h,this._value=l.create(e.Types.Null,this),this.style=this._mergeStyle(i.style,c.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(i){this.style.numFmt=i}get font(){return this.style.font}set font(i){this.style.font=i}get alignment(){return this.style.alignment}set alignment(i){this.style.alignment=i}get border(){return this.style.border}set border(i){this.style.border=i}get fill(){return this.style.fill}set fill(i){this.style.fill=i}get protection(){return this.style.protection}set protection(i){this.style.protection=i}_mergeStyle(i,c,h){const u=i&&i.numFmt||c&&c.numFmt;u&&(h.numFmt=u);const d=i&&i.font||c&&c.font;d&&(h.font=d);const f=i&&i.alignment||c&&c.alignment;f&&(h.alignment=f);const w=i&&i.border||c&&c.border;w&&(h.border=w);const _=i&&i.fill||c&&c.fill;_&&(h.fill=_);const A=i&&i.protection||c&&c.protection;return A&&(h.protection=A),h}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===e.Types.Merge}merge(i,c){this._value.release(),this._value=l.create(e.Types.Merge,this,i),c||(this.style=i.style)}unmerge(){this.type===e.Types.Merge&&(this._value.release(),this._value=l.create(e.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(i){return this._value.type===e.Types.Merge&&this._value.isMergedTo(i)}get master(){return this.type===e.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===e.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(i){this.type!==e.Types.Merge?(this._value.release(),this._value=l.create(l.getType(i),this,i)):this._value.master.value=i}get note(){return this._comment&&this._comment.note}set note(i){this._comment=new t(i)}get text(){return this._value.toString()}get html(){return o.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(i){this.type===e.Types.String&&(this._value=l.create(e.Types.Hyperlink,this,{text:this._value.value,hyperlink:i}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:i}=this._row;return{sheetName:i.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(i){this.names=[i]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(i){const{definedNames:c}=this.workbook;c.removeAllNames(this.fullAddress),i.forEach(h=>{c.addEx(this.fullAddress,h)})}addName(i){this.workbook.definedNames.addEx(this.fullAddress,i)}removeName(i){this.workbook.definedNames.removeEx(this.fullAddress,i)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(i){this._dataValidations.add(this.address,i)}get model(){const{model:i}=this._value;return i.style=this.style,this._comment&&(i.comment=this._comment.model),i}set model(i){if(this._value.release(),this._value=l.create(i.type,this),this._value.model=i,i.comment)switch(i.comment.type){case"note":this._comment=t.fromModel(i.comment)}i.style?this.style=i.style:this.style={}}}e.Types=a.ValueType;const l={getType:n=>n==null?e.Types.Null:n instanceof String||typeof n=="string"?e.Types.String:typeof n=="number"?e.Types.Number:typeof n=="boolean"?e.Types.Boolean:n instanceof Date?e.Types.Date:n.text&&n.hyperlink?e.Types.Hyperlink:n.formula||n.sharedFormula?e.Types.Formula:n.richText?e.Types.RichText:n.sharedString?e.Types.SharedString:n.error?e.Types.Error:e.Types.JSON,types:[{t:e.Types.Null,f:class{constructor(n){this.model={address:n.address,type:e.Types.Null}}get value(){return null}set value(n){}get type(){return e.Types.Null}get effectiveType(){return e.Types.Null}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return""}release(){}toString(){return""}}},{t:e.Types.Number,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Number,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Number}get effectiveType(){return e.Types.Number}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.String,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.String}get effectiveType(){return e.Types.String}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:e.Types.Date,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Date,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Date}get effectiveType(){return e.Types.Date}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.Hyperlink,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Hyperlink,text:i?i.text:void 0,hyperlink:i?i.hyperlink:void 0},i&&i.tooltip&&(this.model.tooltip=i.tooltip)}get value(){const n={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(n.tooltip=this.model.tooltip),n}set value(n){this.model={text:n.text,hyperlink:n.hyperlink},n.tooltip&&(this.model.tooltip=n.tooltip)}get text(){return this.model.text}set text(n){this.model.text=n}get hyperlink(){return this.model.hyperlink}set hyperlink(n){this.model.hyperlink=n}get type(){return e.Types.Hyperlink}get effectiveType(){return e.Types.Hyperlink}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:e.Types.Formula,f:class{constructor(n,i){this.cell=n,this.model={address:n.address,type:e.Types.Formula,shareType:i?i.shareType:void 0,ref:i?i.ref:void 0,formula:i?i.formula:void 0,sharedFormula:i?i.sharedFormula:void 0,result:i?i.result:void 0}}_copyModel(n){const i={},c=h=>{const u=n[h];u&&(i[h]=u)};return c("formula"),c("result"),c("ref"),c("shareType"),c("sharedFormula"),i}get value(){return this._copyModel(this.model)}set value(n){this.model=this._copyModel(n)}validate(n){switch(l.getType(n)){case e.Types.Null:case e.Types.String:case e.Types.Number:case e.Types.Date:break;case e.Types.Hyperlink:case e.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(n){this.model.formula=n}get formulaType(){return this.model.formula?a.FormulaType.Master:this.model.sharedFormula?a.FormulaType.Shared:a.FormulaType.None}get result(){return this.model.result}set result(n){this.model.result=n}get type(){return e.Types.Formula}get effectiveType(){const n=this.model.result;return n==null?a.ValueType.Null:n instanceof String||typeof n=="string"?a.ValueType.String:typeof n=="number"?a.ValueType.Number:n instanceof Date?a.ValueType.Date:n.text&&n.hyperlink?a.ValueType.Hyperlink:n.formula?a.ValueType.Formula:a.ValueType.Null}get address(){return this.model.address}set address(n){this.model.address=n}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:n}=this.cell,i=n.findCell(this.model.sharedFormula);this._translatedFormula=i&&r(i.formula,i.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:e.Types.Merge,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Merge,master:i?i.address:void 0},this._master=i,i&&i.addMergeRef()}get value(){return this._master.value}set value(n){n instanceof e?(this._master&&this._master.releaseMergeRef(),n.addMergeRef(),this._master=n):this._master.value=n}isMergedTo(n){return n===this._master}get master(){return this._master}get type(){return e.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:e.Types.JSON,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:JSON.stringify(i),rawValue:i}}get value(){return this.model.rawValue}set value(n){this.model.rawValue=n,this.model.value=JSON.stringify(n)}get type(){return e.Types.String}get effectiveType(){return e.Types.String}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:e.Types.SharedString,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.SharedString,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.SharedString}get effectiveType(){return e.Types.SharedString}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.RichText,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}toString(){return this.model.value.richText.map(n=>n.text).join("")}get type(){return e.Types.RichText}get effectiveType(){return e.Types.RichText}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:e.Types.Boolean,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Boolean,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Boolean}get effectiveType(){return e.Types.Boolean}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.Error,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Error,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Error}get effectiveType(){return e.Types.Error}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((n,i)=>(n[i.t]=i.f,n),[]),create(n,i,c){const h=this.types[n];if(!h)throw new Error("Could not create Value of type "+n);return new h(i,c)}};T.exports=e},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(s,T,S){const m=s("../utils/under-dash"),o=s("./enums"),a=s("../utils/col-cache");class r{constructor(e,l,n){this._worksheet=e,this._number=l,n!==!1&&(this.defn=n)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return a.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(e){e?(this.key=e.key,this.width=e.width!==void 0?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(e){e!==void 0?(this._header=e,this.headers.forEach((l,n)=>{this._worksheet.getCell(n+1,this.number).value=l})):this._header=void 0}get key(){return this._key}set key(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&m.isEqual(this.style,e.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}get headerCount(){return this.headers.length}eachCell(e,l){const n=this.number;l||(l=e,e=null),this._worksheet.eachRow(e,(i,c)=>{l(i.getCell(n),c)})}get values(){const e=[];return this.eachCell((l,n)=>{l&&l.type!==o.ValueType.Null&&(e[n]=l.value)}),e}set values(e){if(!e)return;const l=this.number;let n=0;e.hasOwnProperty("0")&&(n=1),e.forEach((i,c)=>{this._worksheet.getCell(c+n,l).value=i})}_applyStyle(e,l){return this.style[e]=l,this.eachCell(n=>{n[e]=l}),l}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}static toModel(e){const l=[];let n=null;return e&&e.forEach((i,c)=>{i.isDefault?n&&(n=null):n&&i.equivalentTo(n)?n.max=c+1:(n={min:c+1,max:c+1,width:i.width!==void 0?i.width:9,style:i.style,isCustomWidth:i.isCustomWidth,hidden:i.hidden,outlineLevel:i.outlineLevel,collapsed:i.collapsed},l.push(n))}),l.length?l:void 0}static fromModel(e,l){const n=[];let i=1,c=0;for(l=(l=l||[]).sort(function(h,u){return h.min-u.min});c{l.removeCellEx(e)})}forEach(e){m.each(this.matrixMap,(l,n)=>{l.forEach(i=>{e(n,i)})})}getNames(e){return this.getNamesEx(o.decodeEx(e))}getNamesEx(e){return m.map(this.matrixMap,(l,n)=>l.findCellEx(e)&&n).filter(Boolean)}_explore(e,l){l.mark=!1;const{sheetName:n}=l,i=new r(l.row,l.col,l.row,l.col,n);let c,h;function u(f,w){const _=e.findCellAt(n,f,l.col);return!(!_||!_.mark)&&(i[w]=f,_.mark=!1,!0)}for(h=l.row-1;u(h,"top");h--);for(h=l.row+1;u(h,"bottom");h++);function d(f,w){const _=[];for(h=i.top;h<=i.bottom;h++){const A=e.findCellAt(n,h,f);if(!A||!A.mark)return!1;_.push(A)}i[w]=f;for(let A=0;A<_.length;A++)_[A].mark=!1;return!0}for(c=l.col-1;d(c,"left");c--);for(c=l.col+1;d(c,"right");c++);return i}getRanges(e,l){return(l=l||this.matrixMap[e])?(l.forEach(n=>{n.mark=!0}),{name:e,ranges:l.map(n=>n.mark&&this._explore(l,n)).filter(Boolean).map(n=>n.$shortRange)}):{name:e,ranges:[]}}normaliseMatrix(e,l){e.forEachInSheet(l,(n,i,c)=>{n&&(n.row===i&&n.col===c||(n.row=i,n.col=c,n.address=o.n2l(c)+i))})}spliceRows(e,l,n,i){m.each(this.matrixMap,c=>{c.spliceRows(e,l,n,i),this.normaliseMatrix(c,e)})}spliceColumns(e,l,n,i){m.each(this.matrixMap,c=>{c.spliceColumns(e,l,n,i),this.normaliseMatrix(c,e)})}get model(){return m.map(this.matrixMap,(e,l)=>this.getRanges(l,e)).filter(e=>e.ranges.length)}set model(e){const l=this.matrixMap={};e.forEach(n=>{const i=l[n.name]=new a;n.ranges.forEach(c=>{t.test(c.split("!").pop()||"")&&i.addCell(c)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(s,T,S){T.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(s,T,S){const m=s("../utils/col-cache"),o=s("./anchor");T.exports=class{constructor(a,r){this.worksheet=a,this.model=r}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(a){let{type:r,imageId:t,range:e,hyperlinks:l}=a;if(this.type=r,this.imageId=t,r==="image")if(typeof e=="string"){const n=m.decode(e);this.range={tl:new o(this.worksheet,{col:n.left,row:n.top},-1),br:new o(this.worksheet,{col:n.right,row:n.bottom},0),editAs:"oneCell"}}else this.range={tl:new o(this.worksheet,e.tl,0),br:e.br&&new o(this.worksheet,e.br,0),ext:e.ext,editAs:e.editAs,hyperlinks:l||e.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(s,T,S){const m=s("../utils/under-dash");class o{constructor(r){this.note=r}get model(){let r=null;switch(typeof this.note){case"string":r={type:"note",note:{texts:[{text:this.note}]}};break;default:r={type:"note",note:this.note}}return m.deepMerge({},o.DEFAULT_CONFIGS,r)}set model(r){const{note:t}=r,{texts:e}=t;e.length===1&&Object.keys(e[0]).length===1?this.note=e[0].text:this.note=t}static fromModel(r){const t=new o;return t.model=r,t}}o.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},T.exports=o},{"../utils/under-dash":26}],10:[function(s,T,S){const m=s("../utils/col-cache");class o{constructor(){this.decode(arguments)}setTLBR(r,t,e,l,n){if(arguments.length<4){const i=m.decodeAddress(r),c=m.decodeAddress(t);this.model={top:Math.min(i.row,c.row),left:Math.min(i.col,c.col),bottom:Math.max(i.row,c.row),right:Math.max(i.col,c.col),sheetName:e},this.setTLBR(i.row,i.col,c.row,c.col,n)}else this.model={top:Math.min(r,e),left:Math.min(t,l),bottom:Math.max(r,e),right:Math.max(t,l),sheetName:n}}decode(r){switch(r.length){case 5:this.setTLBR(r[0],r[1],r[2],r[3],r[4]);break;case 4:this.setTLBR(r[0],r[1],r[2],r[3]);break;case 3:this.setTLBR(r[0],r[1],r[2]);break;case 2:this.setTLBR(r[0],r[1]);break;case 1:{const t=r[0];if(t instanceof o)this.model={top:t.model.top,left:t.model.left,bottom:t.model.bottom,right:t.model.right,sheetName:t.sheetName};else if(t instanceof Array)this.decode(t);else if(t.top&&t.left&&t.bottom&&t.right)this.model={top:t.top,left:t.left,bottom:t.bottom,right:t.right,sheetName:t.sheetName};else{const e=m.decodeEx(t);e.top?this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName}:this.model={top:e.row,left:e.col,bottom:e.row,right:e.col,sheetName:e.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+r.length)}}get top(){return this.model.top||1}set top(r){this.model.top=r}get left(){return this.model.left||1}set left(r){this.model.left=r}get bottom(){return this.model.bottom||1}set bottom(r){this.model.bottom=r}get right(){return this.model.right||1}set right(r){this.model.right=r}get sheetName(){return this.model.sheetName}set sheetName(r){this.model.sheetName=r}get _serialisedSheetName(){const{sheetName:r}=this.model;return r?/^[a-zA-Z0-9]*$/.test(r)?r+"!":`'${r}'!`:""}expand(r,t,e,l){(!this.model.top||rthis.bottom)&&(this.bottom=e),(!this.model.right||l>this.right)&&(this.right=l)}expandRow(r){if(r){const{dimensions:t,number:e}=r;t&&this.expand(e,t.min,e,t.max)}}expandToAddress(r){const t=m.decodeEx(r);this.expand(t.row,t.col,t.row,t.col)}get tl(){return m.n2l(this.left)+this.top}get $t$l(){return`$${m.n2l(this.left)}$${this.top}`}get br(){return m.n2l(this.right)+this.bottom}get $b$r(){return`$${m.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(r){return(!r.sheetName||!this.sheetName||r.sheetName===this.sheetName)&&!(r.bottomthis.bottom)&&!(r.rightthis.right)}contains(r){const t=m.decodeEx(r);return this.containsEx(t)}containsEx(r){return(!r.sheetName||!this.sheetName||r.sheetName===this.sheetName)&&r.row>=this.top&&r.row<=this.bottom&&r.col>=this.left&&r.col<=this.right}forEachAddress(r){for(let t=this.left;t<=this.right;t++)for(let e=this.top;e<=this.bottom;e++)r(m.encodeAddress(e,t),e,t)}}T.exports=o},{"../utils/col-cache":19}],11:[function(s,T,S){const m=s("../utils/under-dash"),o=s("./enums"),a=s("../utils/col-cache"),r=s("./cell");T.exports=class{constructor(t,e){this._worksheet=t,this._number=e,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(t){return this._cells[t-1]}getCellEx(t){let e=this._cells[t.col-1];if(!e){const l=this._worksheet.getColumn(t.col);e=new r(this,l,t.address),this._cells[t.col-1]=e}return e}getCell(t){if(typeof t=="string"){const e=this._worksheet.getColumnKey(t);t=e?e.number:a.l2n(t)}return this._cells[t-1]||this.getCellEx({address:a.encodeAddress(this._number,t),row:this._number,col:t})}splice(t,e){const l=t+e;for(var n=arguments.length,i=new Array(n>2?n-2:0),c=2;c0)for(d=u;d>=l;d--)f=this._cells[d-1],f?(w=this.getCell(d+h),w.value=f.value,w.style=f.style,w._comment=f._comment):this._cells[d+h-1]=void 0;for(d=0;d{l&&l.type!==o.ValueType.Null&&e(l,n+1)})}addPageBreak(t,e){const l=this._worksheet,n=Math.max(0,t-1)||0,i=Math.max(0,e-1)||16838,c={id:this._number,max:i,man:1};n&&(c.min=n),l.rowBreaks.push(c)}get values(){const t=[];return this._cells.forEach(e=>{e&&e.type!==o.ValueType.Null&&(t[e.col]=e.value)}),t}set values(t){if(this._cells=[],t)if(t instanceof Array){let e=0;t.hasOwnProperty("0")&&(e=1),t.forEach((l,n)=>{l!==void 0&&(this.getCellEx({address:a.encodeAddress(this._number,n+e),row:this._number,col:n+e}).value=l)})}else this._worksheet.eachColumnKey((e,l)=>{t[l]!==void 0&&(this.getCellEx({address:a.encodeAddress(this._number,e.number),row:this._number,col:e.number}).value=t[l])})}get hasValues(){return m.some(this._cells,t=>t&&t.type!==o.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let t=0;return this.eachCell(()=>{t++}),t}get dimensions(){let t=0,e=0;return this._cells.forEach(l=>{l&&l.type!==o.ValueType.Null&&((!t||t>l.col)&&(t=l.col),e0?{min:t,max:e}:null}_applyStyle(t,e){return this.style[t]=e,this._cells.forEach(l=>{l&&(l[t]=e)}),e}get numFmt(){return this.style.numFmt}set numFmt(t){this._applyStyle("numFmt",t)}get font(){return this.style.font}set font(t){this._applyStyle("font",t)}get alignment(){return this.style.alignment}set alignment(t){this._applyStyle("alignment",t)}get protection(){return this.style.protection}set protection(t){this._applyStyle("protection",t)}get border(){return this.style.border}set border(t){this._applyStyle("border",t)}get fill(){return this.style.fill}set fill(t){this._applyStyle("fill",t)}get hidden(){return!!this._hidden}set hidden(t){this._hidden=t}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(t){this._outlineLevel=t}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const t=[];let e=0,l=0;return this._cells.forEach(n=>{if(n){const i=n.model;i&&((!e||e>n.col)&&(e=n.col),l{switch(l.type){case r.Types.Merge:break;default:{let n;if(l.address)n=a.decodeAddress(l.address);else if(e){const{row:i}=e,c=e.col+1;n={row:i,col:c,address:a.encodeAddress(i,c),$col$row:`$${a.n2l(c)}$${i}`}}e=n,this.getCellEx(n).model=l;break}}}),t.height?this.height=t.height:delete this.height,this.hidden=t.hidden,this.outlineLevel=t.outlineLevel||0,this.style=t.style&&JSON.parse(JSON.stringify(t.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(s,T,S){const m=s("../utils/col-cache");class o{constructor(r,t,e){this.table=r,this.column=t,this.index=e}_set(r,t){this.table.cacheState(),this.column[r]=t}get name(){return this.column.name}set name(r){this._set("name",r)}get filterButton(){return this.column.filterButton}set filterButton(r){this.column.filterButton=r}get style(){return this.column.style}set style(r){this.column.style=r}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(r){this._set("totalsRowLabel",r)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(r){this._set("totalsRowFunction",r)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(r){this._set("totalsRowResult",r)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(r){this._set("totalsRowFormula",r)}}T.exports=class{constructor(a,r){this.worksheet=a,r&&(this.table=r,this.validate(),this.store())}getFormula(a){switch(a.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${a.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${a.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${a.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${a.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${a.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${a.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${a.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${a.name}])`;case"custom":return a.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+a.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:a}=this,r=(h,u,d)=>{h[u]===void 0&&(h[u]=d)};r(a,"headerRow",!0),r(a,"totalsRow",!1),r(a,"style",{}),r(a.style,"theme","TableStyleMedium2"),r(a.style,"showFirstColumn",!1),r(a.style,"showLastColumn",!1),r(a.style,"showRowStripes",!1),r(a.style,"showColumnStripes",!1);const t=(h,u)=>{if(!h)throw new Error(u)};t(a.ref,"Table must have ref"),t(a.columns,"Table must have column definitions"),t(a.rows,"Table must have row definitions"),a.tl=m.decodeAddress(a.ref);const{row:e,col:l}=a.tl;t(e>0,"Table must be on valid row"),t(l>0,"Table must be on valid col");const{width:n,filterHeight:i,tableHeight:c}=this;a.autoFilterRef=m.encode(e,l,e+i-1,l+n-1),a.tableRef=m.encode(e,l,e+c-1,l+n-1),a.columns.forEach((h,u)=>{t(h.name,`Column ${u} must have a name`),u===0?r(h,"totalsRowLabel","Total"):(r(h,"totalsRowFunction","none"),h.totalsRowFormula=this.getFormula(h))})}store(){const a=(i,c)=>{c&&Object.keys(c).forEach(h=>{i[h]=c[h]})},{worksheet:r,table:t}=this,{row:e,col:l}=t.tl;let n=0;if(t.headerRow){const i=r.getRow(e+n++);t.columns.forEach((c,h)=>{const{style:u,name:d}=c,f=i.getCell(l+h);f.value=d,a(f,u)})}if(t.rows.forEach(i=>{const c=r.getRow(e+n++);i.forEach((h,u)=>{const d=c.getCell(l+u);d.value=h,a(d,t.columns[u].style)})}),t.totalsRow){const i=r.getRow(e+n++);t.columns.forEach((c,h)=>{const u=i.getCell(l+h);if(h===0)u.value=c.totalsRowLabel;else{const d=this.getFormula(c);u.value=d?{formula:c.totalsRowFormula,result:c.totalsRowResult}:null}a(u,c.style)})}}load(a){const{table:r}=this,{row:t,col:e}=r.tl;let l=0;if(r.headerRow){const n=a.getRow(t+l++);r.columns.forEach((i,c)=>{n.getCell(e+c).value=i.name})}if(r.rows.forEach(n=>{const i=a.getRow(t+l++);n.forEach((c,h)=>{i.getCell(e+h).value=c})}),r.totalsRow){const n=a.getRow(t+l++);r.columns.forEach((i,c)=>{const h=n.getCell(e+c);c===0?h.value=i.totalsRowLabel:this.getFormula(i)&&(h.value={formula:i.totalsRowFormula,result:i.totalsRowResult})})}}get model(){return this.table}set model(a){this.table=a}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const a=m.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(a,r)}getColumn(a){const r=this.table.columns[a];return new o(this,r,a)}addColumn(a,r,t){this.cacheState(),t===void 0?(this.table.columns.push(a),this.table.rows.forEach((e,l)=>{e.push(r[l])})):(this.table.columns.splice(t,0,a),this.table.rows.forEach((e,l)=>{e.splice(t,0,r[l])}))}removeColumns(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(a,r),this.table.rows.forEach(t=>{t.splice(a,r)})}_assign(a,r,t){this.cacheState(),a[r]=t}get ref(){return this.table.ref}set ref(a){this._assign(this.table,"ref",a)}get name(){return this.table.name}set name(a){this.table.name=a}get displayName(){return this.table.displyName||this.table.name}set displayNamename(a){this.table.displayName=a}get headerRow(){return this.table.headerRow}set headerRow(a){this._assign(this.table,"headerRow",a)}get totalsRow(){return this.table.totalsRow}set totalsRow(a){this._assign(this.table,"totalsRow",a)}get theme(){return this.table.style.name}set theme(a){this.table.style.name=a}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(a){this.table.style.showFirstColumn=a}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(a){this.table.style.showLastColumn=a}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(a){this.table.style.showRowStripes=a}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(a){this.table.style.showColumnStripes=a}}},{"../utils/col-cache":19}],13:[function(s,T,S){const m=s("./worksheet"),o=s("./defined-names"),a=s("../xlsx/xlsx"),r=s("../csv/csv");T.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new o}get xlsx(){return this._xlsx||(this._xlsx=new a(this)),this._xlsx}get csv(){return this._csv||(this._csv=new r(this)),this._csv}get nextId(){for(let t=1;t(u&&u.orderNo)>h?u.orderNo:h,0),i=Object.assign({},e,{id:l,name:t,orderNo:n+1,workbook:this}),c=new m(i);return this._worksheets[l]=c,c}removeWorksheetEx(t){delete this._worksheets[t.id]}removeWorksheet(t){const e=this.getWorksheet(t);e&&e.destroy()}getWorksheet(t){return t===void 0?this._worksheets.find(Boolean):typeof t=="number"?this._worksheets[t]:typeof t=="string"?this._worksheets.find(e=>e&&e.name===t):void 0}get worksheets(){return this._worksheets.slice(1).sort((t,e)=>t.orderNo-e.orderNo).filter(Boolean)}eachSheet(t){this.worksheets.forEach(e=>{t(e,e.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(t){const e=this.media.length;return this.media.push(Object.assign({},t,{type:"image"})),e}getImage(t){return this.media[t]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(t=>t.model),sheets:this.worksheets.map(t=>t.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(t){this.creator=t.creator,this.lastModifiedBy=t.lastModifiedBy,this.lastPrinted=t.lastPrinted,this.created=t.created,this.modified=t.modified,this.company=t.company,this.manager=t.manager,this.title=t.title,this.subject=t.subject,this.keywords=t.keywords,this.category=t.category,this.description=t.description,this.language=t.language,this.revision=t.revision,this.contentStatus=t.contentStatus,this.properties=t.properties,this.calcProperties=t.calcProperties,this._worksheets=[],t.worksheets.forEach(e=>{const{id:l,name:n,state:i}=e,c=t.sheets&&t.sheets.findIndex(h=>h.id===l);(this._worksheets[l]=new m({id:l,name:n,orderNo:c,state:i,workbook:this})).model=e}),this._definedNames.model=t.definedNames,this.views=t.views,this._themes=t.themes,this.media=t.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(s,T,S){const m=s("../utils/under-dash"),o=s("../utils/col-cache"),a=s("./range"),r=s("./row"),t=s("./column"),e=s("./enums"),l=s("./image"),n=s("./table"),i=s("./data-validations"),c=s("../utils/encryptor"),{copyStyle:h}=s("../utils/copy-style");T.exports=class{constructor(u){u=u||{},this._workbook=u.workbook,this.id=u.id,this.orderNo=u.orderNo,this.name=u.name,this.state=u.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},u.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!u.pageSetup||!u.pageSetup.fitToWidth&&!u.pageSetup.fitToHeight||u.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},u.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},u.headerFooter),this.dataValidations=new i,this.views=u.views||[],this.autoFilter=u.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(u){if(u===void 0&&(u="sheet"+this.id),this._name!==u){if(typeof u!="string")throw new Error("The name has to be a string.");if(u==="")throw new Error("The name can't be empty.");if(u==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(u))throw new Error(`Worksheet name ${u} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(u))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+u);if(u&&u.length>31&&(console.warn(`Worksheet name ${u} exceeds 31 chars. This will be truncated`),u=u.substring(0,31)),this._workbook._worksheets.find(d=>d&&d.name.toLowerCase()===u.toLowerCase()))throw new Error("Worksheet name already exists: "+u);this._name=u}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const u=new a;return this._rows.forEach(d=>{if(d){const f=d.dimensions;f&&u.expand(d.number,f.min,d.number,f.max)}}),u}get columns(){return this._columns}set columns(u){this._headerRowCount=u.reduce((w,_)=>{const A=(_.header?1:_.headers&&_.headers.length)||0;return Math.max(w,A)},0);let d=1;const f=this._columns=[];u.forEach(w=>{const _=new t(this,d++,!1);f.push(_),_.defn=w})}getColumnKey(u){return this._keys[u]}setColumnKey(u,d){this._keys[u]=d}deleteColumnKey(u){delete this._keys[u]}eachColumnKey(u){m.each(this._keys,u)}getColumn(u){if(typeof u=="string"){const d=this._keys[u];if(d)return d;u=o.l2n(u)}if(this._columns||(this._columns=[]),u>this._columns.length){let d=this._columns.length+1;for(;d<=u;)this._columns.push(new t(this,d++))}return this._columns[u-1]}spliceColumns(u,d){const f=this._rows.length;for(var w=arguments.length,_=new Array(w>2?w-2:0),A=2;A0)for(let P=0;P{D.push(B[P]||null)});const $=this.getRow(P+1);$.splice.apply($,D)}else this._rows.forEach(P=>{P&&P.splice(u,d)});const N=_.length-d,L=u+d,j=this._columns.length;if(N<0)for(let P=u+_.length;P<=j;P++)this.getColumn(P).defn=this.getColumn(P-N).defn;else if(N>0)for(let P=j;P>=L;P--)this.getColumn(P+N).defn=this.getColumn(P).defn;for(let P=u;P{u=Math.max(u,d.cellCount)}),u}get actualColumnCount(){const u=[];let d=0;return this.eachRow(f=>{f.eachCell(w=>{let{col:_}=w;u[_]||(u[_]=!0,d++)})}),d}_commitRow(){}get _lastRowNumber(){const u=this._rows;let d=u.length;for(;d>0&&u[d-1]===void 0;)d--;return d}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(u){return this._rows[u-1]}findRows(u,d){return this._rows.slice(u-1,u-1+d)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let u=0;return this.eachRow(()=>{u++}),u}getRow(u){let d=this._rows[u-1];return d||(d=this._rows[u-1]=new r(this,u)),d}getRows(u,d){if(d<1)return;const f=[];for(let w=u;w1&&arguments[1]!==void 0?arguments[1]:"n";const f=this._nextRow,w=this.getRow(f);return w.values=u,this._setStyleOption(f,d[0]==="i"?d:"n"),w}addRows(u){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const f=[];return u.forEach(w=>{f.push(this.addRow(w,d))}),f}insertRow(u,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(u,0,d),this._setStyleOption(u,f),this.getRow(u)}insertRows(u,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows(u,0,...d),f!=="n")for(let w=0;w1&&arguments[1]!==void 0?arguments[1]:"n";d[0]==="o"&&this.findRow(u+1)!==void 0?this._copyStyle(u+1,u,d[1]==="+"):d[0]==="i"&&this.findRow(u-1)!==void 0&&this._copyStyle(u-1,u,d[1]==="+")}_copyStyle(u,d){let f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const w=this.getRow(u),_=this.getRow(d);_.style=h(w.style),w.eachCell({includeEmpty:f},(A,N)=>{_.getCell(N).style=h(A.style)}),_.height=w.height}duplicateRow(u,d){let f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const w=this._rows[u-1],_=new Array(d).fill(w.values);this.spliceRows(u+1,f?0:d,..._);for(let A=0;A{N.getCell(j).style=L.style})}}spliceRows(u,d){const f=u+d;for(var w=arguments.length,_=new Array(w>2?w-2:0),A=2;A{$.getCell(x).style=B.style}),this._rows[P-1]=void 0}else this._rows[P+L-1]=void 0;else if(L>0)for(P=j;P>=f;P--)if(D=this._rows[P-1],D){const $=this.getRow(P+L);$.values=D.values,$.style=D.style,$.height=D.height,D.eachCell({includeEmpty:!0},(B,x)=>{if($.getCell(x).style=B.style,B._value.constructor.name==="MergeValue"){const M=this.getRow(B._row._number+N).getCell(x),v=B._value._master,p=this.getRow(v._row._number+N).getCell(v._column._number);M.merge(p)}})}else this._rows[P+L-1]=void 0;for(P=0;P{f&&f.hasValues&&d(f,f.number)})}getSheetValues(){const u=[];return this._rows.forEach(d=>{d&&(u[d.number]=d.values)}),u}findCell(u,d){const f=o.getAddress(u,d),w=this._rows[f.row-1];return w?w.findCell(f.col):void 0}getCell(u,d){const f=o.getAddress(u,d);return this.getRow(f.row).getCellEx(f)}mergeCells(){for(var u=arguments.length,d=new Array(u),f=0;f{if(w.intersects(u))throw new Error("Cannot merge already merged cells")});const f=this.getCell(u.top,u.left);for(let w=u.top;w<=u.bottom;w++)for(let _=u.left;_<=u.right;_++)(w>u.top||_>u.left)&&this.getCell(w,_).merge(f,d);this._merges[f.address]=u}_unMergeMaster(u){const d=this._merges[u.address];if(d){for(let f=d.top;f<=d.bottom;f++)for(let w=d.left;w<=d.right;w++)this.getCell(f,w).unmerge();delete this._merges[u.address]}}get hasMerges(){return m.some(this._merges,Boolean)}unMergeCells(){for(var u=arguments.length,d=new Array(u),f=0;f3&&arguments[3]!==void 0?arguments[3]:"shared";const _=o.decode(u),{top:A,left:N,bottom:L,right:j}=_,P=j-N+1,D=o.encodeAddress(A,N),$=w==="shared";let B;B=typeof f=="function"?f:Array.isArray(f)?Array.isArray(f[0])?(M,v)=>f[M-A][v-N]:(M,v)=>f[(M-A)*P+(v-N)]:()=>{};let x=!0;for(let M=A;M<=L;M++)for(let v=N;v<=j;v++)x?(this.getCell(M,v).value={shareType:w,formula:d,ref:u,result:B(M,v)},x=!1):this.getCell(M,v).value=$?{sharedFormula:D,result:B(M,v)}:B(M,v)}addImage(u,d){const f={type:"image",imageId:u,range:d};this._media.push(new l(this,f))}getImages(){return this._media.filter(u=>u.type==="image")}addBackgroundImage(u){const d={type:"background",imageId:u};this._media.push(new l(this,d))}getBackgroundImageId(){const u=this._media.find(d=>d.type==="background");return u&&u.imageId}protect(u,d){return new Promise(f=>{this.sheetProtection={sheet:!0},d&&"spinCount"in d&&(d.spinCount=Number.isFinite(d.spinCount)?Math.round(Math.max(0,d.spinCount)):1e5),u&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=c.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=d&&"spinCount"in d?d.spinCount:1e5,this.sheetProtection.hashValue=c.convertPasswordToHash(u,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),d&&(this.sheetProtection=Object.assign(this.sheetProtection,d),!u&&"spinCount"in d&&delete this.sheetProtection.spinCount),f()})}unprotect(){this.sheetProtection=null}addTable(u){const d=new n(this,u);return this.tables[u.name]=d,d}getTable(u){return this.tables[u]}removeTable(u){delete this.tables[u]}getTables(){return Object.values(this.tables)}addConditionalFormatting(u){this.conditionalFormattings.push(u)}removeConditionalFormatting(u){typeof u=="number"?this.conditionalFormattings.splice(u,1):this.conditionalFormattings=u instanceof Function?this.conditionalFormattings.filter(u):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(u){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=u}get model(){const u={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(w=>w.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(w=>w.model),conditionalFormattings:this.conditionalFormattings};u.cols=t.toModel(this.columns);const d=u.rows=[],f=u.dimensions=new a;return this._rows.forEach(w=>{const _=w&&w.model;_&&(f.expand(_.number,_.min,_.number,_.max),d.push(_))}),u.merges=[],m.each(this._merges,w=>{u.merges.push(w.range)}),u}_parseRows(u){this._rows=[],u.rows.forEach(d=>{const f=new r(this,d.number);this._rows[f.number-1]=f,f.model=d})}_parseMergeCells(u){m.each(u.mergeCells,d=>{this.mergeCellsWithoutStyle(d)})}set model(u){this.name=u.name,this._columns=t.fromModel(this,u.cols),this._parseRows(u),this._parseMergeCells(u),this.dataValidations=new i(u.dataValidations),this.properties=u.properties,this.pageSetup=u.pageSetup,this.headerFooter=u.headerFooter,this.views=u.views,this.autoFilter=u.autoFilter,this._media=u.media.map(d=>new l(this,d)),this.sheetProtection=u.sheetProtection,this.tables=u.tables.reduce((d,f)=>{const w=new n;return w.model=f,d[f.name]=w,d},{}),this.conditionalFormattings=u.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(s,T,S){s("core-js/modules/es.promise"),s("core-js/modules/es.promise.finally"),s("core-js/modules/es.object.assign"),s("core-js/modules/es.object.keys"),s("core-js/modules/es.object.values"),s("core-js/modules/es.symbol"),s("core-js/modules/es.symbol.async-iterator"),s("core-js/modules/es.array.iterator"),s("core-js/modules/es.array.includes"),s("core-js/modules/es.array.find-index"),s("core-js/modules/es.array.find"),s("core-js/modules/es.string.from-code-point"),s("core-js/modules/es.string.includes"),s("core-js/modules/es.number.is-nan"),s("regenerator-runtime/runtime");const m={Workbook:s("./doc/workbook")},o=s("./doc/enums");Object.keys(o).forEach(a=>{m[a]=o[a]}),T.exports=m},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(s,T,S){const m=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");S.bufferToString=function(o){return typeof o=="string"?o:m?m.decode(o):o.toString()}},{}],17:[function(s,T,S){const m=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:o}=s("buffer");S.stringToBuffer=function(a){return typeof a!="string"?a:m?o.from(m.encode(a).buffer):o.from(a)}},{buffer:220}],18:[function(s,T,S){const m=s("./under-dash"),o=s("./col-cache");T.exports=class{constructor(a){this.template=a,this.sheets={}}addCell(a){this.addCellEx(o.decodeEx(a))}getCell(a){return this.findCellEx(o.decodeEx(a),!0)}findCell(a){return this.findCellEx(o.decodeEx(a),!1)}findCellAt(a,r,t){const e=this.sheets[a],l=e&&e[r];return l&&l[t]}addCellEx(a){if(a.top)for(let r=a.top;r<=a.bottom;r++)for(let t=a.left;t<=a.right;t++)this.getCellAt(a.sheetName,r,t);else this.findCellEx(a,!0)}getCellEx(a){return this.findCellEx(a,!0)}findCellEx(a,r){const t=this.findSheet(a,r),e=this.findSheetRow(t,a,r);return this.findRowCell(e,a,r)}getCellAt(a,r,t){const e=this.sheets[a]||(this.sheets[a]=[]),l=e[r]||(e[r]=[]);return l[t]||(l[t]={sheetName:a,address:o.n2l(t)+r,row:r,col:t})}removeCellEx(a){const r=this.findSheet(a);if(!r)return;const t=this.findSheetRow(r,a);t&&delete t[a.col]}forEachInSheet(a,r){const t=this.sheets[a];t&&t.forEach((e,l)=>{e&&e.forEach((n,i)=>{n&&r(n,l,i)})})}forEach(a){m.each(this.sheets,(r,t)=>{this.forEachInSheet(t,a)})}map(a){const r=[];return this.forEach(t=>{r.push(a(t))}),r}findSheet(a,r){const t=a.sheetName;return this.sheets[t]?this.sheets[t]:r?this.sheets[t]=[]:void 0}findSheetRow(a,r,t){const{row:e}=r;return a&&a[e]?a[e]:t?a[e]=[]:void 0}findRowCell(a,r,t){const{col:e}=r;return a&&a[e]?a[e]:t?a[e]=this.template?Object.assign(r,JSON.parse(JSON.stringify(this.template))):r:void 0}spliceRows(a,r,t,e){const l=this.sheets[a];if(l){const n=[];for(let i=0;i{i.splice(r,t,...n)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(s,T,S){const m=/^[A-Z]+\d+$/,o={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:a=>a<=26?1:a<=676?2:3,_fill(a){let r,t,e,l,n,i=1;if(a>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&a>=1){for(;i<=26;)r=this._dictionary[i-1],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=1}if(this._l2nFill<2&&a>=2){for(i=27;i<=702;)t=i-27,e=t%26,l=Math.floor(t/26),r=this._dictionary[l]+this._dictionary[e],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=2}if(this._l2nFill<3&&a>=3){for(i=703;i<=16384;)t=i-703,e=t%26,l=Math.floor(t/26)%26,n=Math.floor(t/676),r=this._dictionary[n]+this._dictionary[l]+this._dictionary[e],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=3}},l2n(a){if(this._l2n[a]||this._fill(a.length),!this._l2n[a])throw new Error("Out of bounds. Invalid column letter: "+a);return this._l2n[a]},n2l(a){if(a<1||a>16384)throw new Error(a+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[a]||this._fill(this._level(a)),this._n2l[a]},_hash:{},validateAddress(a){if(!m.test(a))throw new Error("Invalid Address: "+a);return!0},decodeAddress(a){const r=a.length<5&&this._hash[a];if(r)return r;let t=!1,e="",l=0,n=!1,i="",c=0;for(let u,d=0;d=65&&u<=90)t=!0,e+=a[d],l=26*l+u-64;else if(u>=48&&u<=57)n=!0,i+=a[d],c=10*c+u-48;else if(n&&t&&u!==36)break;if(t){if(l>16384)throw new Error("Out of bounds. Invalid column letter: "+e)}else l=void 0;n||(c=void 0);const h={address:a=e+i,col:l,row:c,$col$row:`$${e}$${i}`};return l<=100&&c<=100&&(this._hash[a]=h,this._hash[h.$col$row]=h),h},getAddress(a,r){if(r){const t=this.n2l(r)+a;return this.decodeAddress(t)}return this.decodeAddress(a)},decode(a){const r=a.split(":");if(r.length===2){const t=this.decodeAddress(r[0]),e=this.decodeAddress(r[1]),l={top:Math.min(t.row,e.row),left:Math.min(t.col,e.col),bottom:Math.max(t.row,e.row),right:Math.max(t.col,e.col)};return l.tl=this.n2l(l.left)+l.top,l.br=this.n2l(l.right)+l.bottom,l.dimensions=`${l.tl}:${l.br}`,l}return this.decodeAddress(a)},decodeEx(a){const r=a.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),t=r[1]||r[2],e=r[3],l=e.split(":");if(l.length>1){let i=this.decodeAddress(l[0]),c=this.decodeAddress(l[1]);const h=Math.min(i.row,c.row),u=Math.min(i.col,c.col),d=Math.max(i.row,c.row),f=Math.max(i.col,c.col);return i=this.n2l(u)+h,c=this.n2l(f)+d,{top:h,left:u,bottom:d,right:f,sheetName:t,tl:{address:i,col:u,row:h,$col$row:`$${this.n2l(u)}$${h}`,sheetName:t},br:{address:c,col:f,row:d,$col$row:`$${this.n2l(f)}$${d}`,sheetName:t},dimensions:`${i}:${c}`}}if(e.startsWith("#"))return t?{sheetName:t,error:e}:{error:e};const n=this.decodeAddress(e);return t?{sheetName:t,...n}:n},encodeAddress:(a,r)=>o.n2l(r)+a,encode(){switch(arguments.length){case 2:return o.encodeAddress(arguments[0],arguments[1]);case 4:return`${o.encodeAddress(arguments[0],arguments[1])}:${o.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(a,r){const[t,e,,l,n]=a,[i,c]=r;return i>=t&&i<=l&&c>=e&&c<=n}};T.exports=o},{}],20:[function(s,T,S){const m=(a,r)=>({...a,...r.reduce((t,e)=>(a[e]&&(t[e]={...a[e]}),t),{})}),o=function(a,r,t){let e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];a[t]&&(r[t]=m(a[t],e))};S.copyStyle=a=>{if(!a)return a;if(r=a,Object.keys(r).length===0)return{};var r;const t={...a};return o(a,t,"font",["color"]),o(a,t,"alignment"),o(a,t,"protection"),a.border&&(o(a,t,"border"),o(a.border,t.border,"top",["color"]),o(a.border,t.border,"left",["color"]),o(a.border,t.border,"bottom",["color"]),o(a.border,t.border,"right",["color"]),o(a.border,t.border,"diagonal",["color"])),a.fill&&(o(a,t,"fill",["fgColor","bgColor","center"]),a.fill.stops&&(t.fill.stops=a.fill.stops.map(e=>m(e,["color"])))),t}},{}],21:[function(s,T,S){(function(m){(function(){const o=s("crypto"),a={hash(r){const t=o.createHash(r);for(var e=arguments.length,l=new Array(e>1?e-1:0),n=1;no.randomBytes(r)};T.exports=a}).call(this)}).call(this,s("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(s,T,S){const{SaxesParser:m}=s("saxes"),{PassThrough:o}=s("readable-stream"),{bufferToString:a}=s("./browser-buffer-decode");T.exports=async function*(r){r.pipe&&!r[Symbol.asyncIterator]&&(r=r.pipe(new o));const t=new m;let e;t.on("error",n=>{e=n});let l=[];t.on("opentag",n=>l.push({eventType:"opentag",value:n})),t.on("text",n=>l.push({eventType:"text",value:n})),t.on("closetag",n=>l.push({eventType:"closetag",value:n}));for await(const n of r){if(t.write(a(n)),e)throw e;yield l,l=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(s,T,S){const m=s("./col-cache"),o=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,a=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;T.exports={slideFormula:function(r,t,e){const l=m.decode(t),n=m.decode(e);return r.replace(o,(i,c,h,u,d)=>{if(d)return i;const f=a.exec(u);if(f){const w=f[1],_=f[2].toUpperCase(),A=f[3],N=f[4];if(_.length>3||_.length===3&&_>"XFD")return i;let L=m.l2n(_),j=parseInt(N,10);return w||(L+=n.col-l.col),A||(j+=n.row-l.row),(c||"")+(w||"")+m.n2l(L)+(A||"")+j}return i})}}},{"./col-cache":19}],24:[function(s,T,S){(function(m,o){(function(){const a=s("readable-stream"),r=s("./utils"),t=s("./string-buf");class e{constructor(u,d){this._data=u,this._encoding=d}get length(){return this.toBuffer().length}copy(u,d,f,w){return this.toBuffer().copy(u,d,f,w)}toBuffer(){return this._buffer||(this._buffer=o.from(this._data,this._encoding)),this._buffer}}class l{constructor(u){this._data=u}get length(){return this._data.length}copy(u,d,f,w){return this._data._buf.copy(u,d,f,w)}toBuffer(){return this._data.toBuffer()}}class n{constructor(u){this._data=u}get length(){return this._data.length}copy(u,d,f,w){this._data.copy(u,d,f,w)}toBuffer(){return this._data}}class i{constructor(u){this.size=u,this.buffer=o.alloc(u),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;const u=o.alloc(this.iWrite-this.iRead);return this.buffer.copy(u,0,this.iRead,this.iWrite),u}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(u){let d;return u===0?null:u===void 0||u>=this.length?(d=this.toBuffer(),this.iRead=this.iWrite,d):(d=o.alloc(u),this.buffer.copy(d,0,this.iRead,u),this.iRead+=u,d)}write(u,d,f){const w=Math.min(f,this.size-this.iWrite);return u.copy(this.buffer,this.iWrite,d,d+w),this.iWrite+=w,w}}const c=function(h){h=h||{},this.bufSize=h.bufSize||1048576,this.buffers=[],this.batch=h.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};r.inherits(c,a.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return o.concat(this.buffers.map(h=>h.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const u=this.buffers[this.buffers.length-1];if(!u.full)return u}const h=new i(this.bufSize);return this.buffers.push(h),h},async _pipe(h){await Promise.all(this.pipes.map(function(u){return new Promise(d=>{u.write(h.toBuffer(),()=>{d()})})}))},_writeToBuffers(h){let u=0;const d=h.length;for(;u1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(f),m.nextTick(d)):(await this._pipe(f),d());else this.paused||this.emit("data",f.toBuffer()),this._writeToBuffers(f),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(h,u,d){const f=w=>{w?d(w):(this._flush(),this.pipes.forEach(_=>{_.end()}),this.emit("finish"))};h?this.write(h,u,f):f()},read(h){let u;if(h){for(u=[];h&&this.buffers.length&&!this.buffers[0].eod;){const d=this.buffers[0],f=d.read(h);h-=f.length,u.push(f),d.eod&&d.full&&this.buffers.shift()}return o.concat(u)}return u=this.buffers.map(d=>d.toBuffer()).filter(Boolean),this.buffers=[],o.concat(u)},setEncoding(h){this.encoding=h},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(h){this.pipes.push(h),!this.paused&&this.buffers.length&&this.end()},unpipe(h){this.pipes=this.pipes.filter(u=>u!==h)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),T.exports=c}).call(this)}).call(this,s("_process"),s("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(s,T,S){(function(m){(function(){T.exports=class{constructor(o){this._buf=m.alloc(o&&o.size||16384),this._encoding=o&&o.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=m.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(o){o=o||0,this._buffer=void 0,this._inPos=o}_grow(o){let a=2*this._buf.length;for(;a=this._buf.length-4;)this._grow(this._inPos+o.length),a=this._inPos+this._buf.write(o,this._inPos,this._encoding);this._inPos=a}addStringBuf(o){o.length&&(this._buffer=void 0,this.length+o.length>this.capacity&&this._grow(this.length+o.length),o._buf.copy(this._buf,this._inPos,0,o.length),this._inPos+=o.length)}}}).call(this)}).call(this,s("buffer").Buffer)},{buffer:220}],26:[function(s,T,S){const{toString:m}=Object.prototype,o=/["&<>]/,a={each:function(r,t){r&&(Array.isArray(r)?r.forEach(t):Object.keys(r).forEach(e=>{t(r[e],e)}))},some:function(r,t){return!!r&&(Array.isArray(r)?r.some(t):Object.keys(r).some(e=>t(r[e],e)))},every:function(r,t){return!r||(Array.isArray(r)?r.every(t):Object.keys(r).every(e=>t(r[e],e)))},map:function(r,t){return r?Array.isArray(r)?r.map(t):Object.keys(r).map(e=>t(r[e],e)):[]},keyBy:(r,t)=>r.reduce((e,l)=>(e[l[t]]=l,e),{}),isEqual:function(r,t){const e=typeof r,l=typeof t,n=Array.isArray(r),i=Array.isArray(t);let c;if(e!==l)return!1;switch(typeof r){case"object":if(n||i)return!(!n||!i)&&r.length===t.length&&r.every((h,u)=>{const d=t[u];return a.isEqual(h,d)});if(r===null||t===null)return r===t;if(c=Object.keys(r),Object.keys(t).length!==c.length)return!1;for(const h of c)if(!t.hasOwnProperty(h))return!1;return a.every(r,(h,u)=>{const d=t[u];return a.isEqual(h,d)});default:return r===t}},escapeHtml(r){const t=o.exec(r);if(!t)return r;let e="",l="",n=0,i=t.index;for(;i":l=">";break;default:continue}n!==i&&(e+=r.substring(n,i)),n=i+1,e+=l}return n!==i?e+r.substring(n,i):e},strcmp:(r,t)=>rt?1:0,isUndefined:r=>m.call(r)==="[object Undefined]",isObject:r=>m.call(r)==="[object Object]",deepMerge(){const r=arguments[0]||{},{length:t}=arguments;let e,l,n;function i(c,h){e=r[h],n=Array.isArray(c),a.isObject(c)||n?(n?(n=!1,l=e&&Array.isArray(e)?e:[]):l=e&&a.isObject(e)?e:{},r[h]=a.deepMerge(l,c)):a.isUndefined(c)||(r[h]=c)}for(let c=0;c&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,t={nop(){},promiseImmediate:e=>new Promise(l=>{m.setImmediate?o(()=>{l(e)}):setTimeout(()=>{l(e)},1)}),inherits:function(e,l,n,i){e.super_=l,i||(i=n,n=null),n&&Object.keys(n).forEach(h=>{Object.defineProperty(e,h,Object.getOwnPropertyDescriptor(n,h))});const c={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};i&&Object.keys(i).forEach(h=>{c[h]=Object.getOwnPropertyDescriptor(i,h)}),e.prototype=Object.create(l.prototype,c)},dateToExcel:(e,l)=>25569+e.getTime()/864e5-(l?1462:0),excelToDate(e,l){const n=Math.round(24*(e-25569+(l?1462:0))*3600*1e3);return new Date(n)},parsePath(e){const l=e.lastIndexOf("/");return{path:e.substring(0,l),name:e.substring(l+1)}},getRelsPath(e){const l=t.parsePath(e);return`${l.path}/_rels/${l.name}.rels`},xmlEncode(e){const l=r.exec(e);if(!l)return e;let n="",i="",c=0,h=l.index;for(;h=11&&u!==13)){i="";break}continue}c!==h&&(n+=e.substring(c,h)),c=h+1,i&&(n+=i)}return c!==h?n+e.substring(c,h):n},xmlDecode:e=>e.replace(/&([a-z]*);/g,l=>{switch(l){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return l}}),validInt(e){const l=parseInt(e,10);return Number.isNaN(l)?0:l},isDateFmt(e){return e?(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:e=>new Promise(l=>{a.access(e,a.constants.F_OK,n=>{l(!n)})})},toIsoDateString:e=>e.toIsoString().subsstr(0,10),parseBoolean:e=>e===!0||e==="true"||e===1||e==="1"};T.exports=t}).call(this)}).call(this,typeof Kt<"u"?Kt:typeof self<"u"?self:typeof window<"u"?window:{},s("timers").setImmediate)},{fs:216,timers:523}],28:[function(s,T,S){const m=s("./under-dash"),o=s("./utils");function a(e,l,n){e.push(` ${l}="${o.xmlEncode(n.toString())}"`)}function r(e,l){if(l){const n=[];m.each(l,(i,c)=>{i!==void 0&&a(n,c,i)}),e.push(n.join(""))}}class t{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(l){const n=this._xml;n.push(" +import{f as Ve,Q as Kt,a1 as De}from"./index-a61a86fd.js";function qe(Ee,Fe){for(var s=0;sT[S]})}}}return Object.freeze(Object.defineProperty(Ee,Symbol.toStringTag,{value:"Module"}))}var $e={exports:{}};/*! ExcelJS 19-10-2023 */(function(Ee,Fe){(function(s){Ee.exports=s()})(function(){return function s(T,S,m){function o(t,e){if(!S[t]){if(!T[t]){var l=typeof De=="function"&&De;if(!e&&l)return l(t,!0);if(a)return a(t,!0);var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}var i=S[t]={exports:{}};T[t][0].call(i.exports,function(c){return o(T[t][1][c]||c)},i,i.exports,s,T,S,m)}return S[t].exports}for(var a=typeof De=="function"&&De,r=0;r{const d=this.workbook.addWorksheet(c.sheetName),f=c.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],w=c.map||function(A){if(A==="")return null;const N=Number(A);if(!Number.isNaN(N)&&N!==1/0)return N;const L=f.reduce((P,D)=>{if(P)return P;const $=t(A,D,!0);return $.isValid()?$:null},null);if(L)return new Date(L.valueOf());const j=n[A];return j!==void 0?j:A},_=o.parse(c.parserOptions).on("data",A=>{d.addRow(A.map(w))}).on("end",()=>{_.emit("worksheet",d)});_.on("worksheet",h).on("error",u),i.pipe(_)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(i,c){return new Promise((h,u)=>{c=c||{};const d=this.workbook.getWorksheet(c.sheetName||c.sheetId),f=o.format(c.formatterOptions);i.on("finish",()=>{h()}),f.on("error",u),f.pipe(i);const{dateFormat:w,dateUTC:_}=c,A=c.map||(j=>{if(j){if(j.text||j.hyperlink)return j.hyperlink||j.text||"";if(j.formula||j.result)return j.result||"";if(j instanceof Date)return w?_?t.utc(j).format(w):t(j).format(w):_?t.utc(j).format():t(j).format();if(j.error)return j.error;if(typeof j=="object")return JSON.stringify(j)}return j}),N=c.includeEmptyRows===void 0||c.includeEmptyRows;let L=1;d&&d.eachRow((j,P)=>{if(N)for(;L++2&&arguments[2]!==void 0?arguments[2]:0;if(this.worksheet=r,t)if(typeof t=="string"){const l=m.decodeAddress(t);this.nativeCol=l.col+e,this.nativeColOff=0,this.nativeRow=l.row+e,this.nativeRowOff=0}else t.nativeCol!==void 0?(this.nativeCol=t.nativeCol||0,this.nativeColOff=t.nativeColOff||0,this.nativeRow=t.nativeRow||0,this.nativeRowOff=t.nativeRowOff||0):t.col!==void 0?(this.col=t.col+e,this.row=t.row+e):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(r){return r instanceof o||r==null?r:new o(r)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(r){this.nativeCol=Math.floor(r),this.nativeColOff=Math.floor((r-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(r){this.nativeRow=Math.floor(r),this.nativeRowOff=Math.floor((r-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(r){this.nativeCol=r.nativeCol,this.nativeColOff=r.nativeColOff,this.nativeRow=r.nativeRow,this.nativeRowOff=r.nativeRowOff}}T.exports=o},{"../utils/col-cache":19}],3:[function(s,T,S){const m=s("../utils/col-cache"),o=s("../utils/under-dash"),a=s("./enums"),{slideFormula:r}=s("../utils/shared-formula"),t=s("./note");class e{constructor(i,c,h){if(!i||!c)throw new Error("A Cell needs a Row");this._row=i,this._column=c,m.validateAddress(h),this._address=h,this._value=l.create(e.Types.Null,this),this.style=this._mergeStyle(i.style,c.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(i){this.style.numFmt=i}get font(){return this.style.font}set font(i){this.style.font=i}get alignment(){return this.style.alignment}set alignment(i){this.style.alignment=i}get border(){return this.style.border}set border(i){this.style.border=i}get fill(){return this.style.fill}set fill(i){this.style.fill=i}get protection(){return this.style.protection}set protection(i){this.style.protection=i}_mergeStyle(i,c,h){const u=i&&i.numFmt||c&&c.numFmt;u&&(h.numFmt=u);const d=i&&i.font||c&&c.font;d&&(h.font=d);const f=i&&i.alignment||c&&c.alignment;f&&(h.alignment=f);const w=i&&i.border||c&&c.border;w&&(h.border=w);const _=i&&i.fill||c&&c.fill;_&&(h.fill=_);const A=i&&i.protection||c&&c.protection;return A&&(h.protection=A),h}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===e.Types.Merge}merge(i,c){this._value.release(),this._value=l.create(e.Types.Merge,this,i),c||(this.style=i.style)}unmerge(){this.type===e.Types.Merge&&(this._value.release(),this._value=l.create(e.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(i){return this._value.type===e.Types.Merge&&this._value.isMergedTo(i)}get master(){return this.type===e.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===e.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(i){this.type!==e.Types.Merge?(this._value.release(),this._value=l.create(l.getType(i),this,i)):this._value.master.value=i}get note(){return this._comment&&this._comment.note}set note(i){this._comment=new t(i)}get text(){return this._value.toString()}get html(){return o.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(i){this.type===e.Types.String&&(this._value=l.create(e.Types.Hyperlink,this,{text:this._value.value,hyperlink:i}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:i}=this._row;return{sheetName:i.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(i){this.names=[i]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(i){const{definedNames:c}=this.workbook;c.removeAllNames(this.fullAddress),i.forEach(h=>{c.addEx(this.fullAddress,h)})}addName(i){this.workbook.definedNames.addEx(this.fullAddress,i)}removeName(i){this.workbook.definedNames.removeEx(this.fullAddress,i)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(i){this._dataValidations.add(this.address,i)}get model(){const{model:i}=this._value;return i.style=this.style,this._comment&&(i.comment=this._comment.model),i}set model(i){if(this._value.release(),this._value=l.create(i.type,this),this._value.model=i,i.comment)switch(i.comment.type){case"note":this._comment=t.fromModel(i.comment)}i.style?this.style=i.style:this.style={}}}e.Types=a.ValueType;const l={getType:n=>n==null?e.Types.Null:n instanceof String||typeof n=="string"?e.Types.String:typeof n=="number"?e.Types.Number:typeof n=="boolean"?e.Types.Boolean:n instanceof Date?e.Types.Date:n.text&&n.hyperlink?e.Types.Hyperlink:n.formula||n.sharedFormula?e.Types.Formula:n.richText?e.Types.RichText:n.sharedString?e.Types.SharedString:n.error?e.Types.Error:e.Types.JSON,types:[{t:e.Types.Null,f:class{constructor(n){this.model={address:n.address,type:e.Types.Null}}get value(){return null}set value(n){}get type(){return e.Types.Null}get effectiveType(){return e.Types.Null}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return""}release(){}toString(){return""}}},{t:e.Types.Number,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Number,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Number}get effectiveType(){return e.Types.Number}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.String,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.String}get effectiveType(){return e.Types.String}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:e.Types.Date,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Date,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Date}get effectiveType(){return e.Types.Date}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.Hyperlink,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Hyperlink,text:i?i.text:void 0,hyperlink:i?i.hyperlink:void 0},i&&i.tooltip&&(this.model.tooltip=i.tooltip)}get value(){const n={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(n.tooltip=this.model.tooltip),n}set value(n){this.model={text:n.text,hyperlink:n.hyperlink},n.tooltip&&(this.model.tooltip=n.tooltip)}get text(){return this.model.text}set text(n){this.model.text=n}get hyperlink(){return this.model.hyperlink}set hyperlink(n){this.model.hyperlink=n}get type(){return e.Types.Hyperlink}get effectiveType(){return e.Types.Hyperlink}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:e.Types.Formula,f:class{constructor(n,i){this.cell=n,this.model={address:n.address,type:e.Types.Formula,shareType:i?i.shareType:void 0,ref:i?i.ref:void 0,formula:i?i.formula:void 0,sharedFormula:i?i.sharedFormula:void 0,result:i?i.result:void 0}}_copyModel(n){const i={},c=h=>{const u=n[h];u&&(i[h]=u)};return c("formula"),c("result"),c("ref"),c("shareType"),c("sharedFormula"),i}get value(){return this._copyModel(this.model)}set value(n){this.model=this._copyModel(n)}validate(n){switch(l.getType(n)){case e.Types.Null:case e.Types.String:case e.Types.Number:case e.Types.Date:break;case e.Types.Hyperlink:case e.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(n){this.model.formula=n}get formulaType(){return this.model.formula?a.FormulaType.Master:this.model.sharedFormula?a.FormulaType.Shared:a.FormulaType.None}get result(){return this.model.result}set result(n){this.model.result=n}get type(){return e.Types.Formula}get effectiveType(){const n=this.model.result;return n==null?a.ValueType.Null:n instanceof String||typeof n=="string"?a.ValueType.String:typeof n=="number"?a.ValueType.Number:n instanceof Date?a.ValueType.Date:n.text&&n.hyperlink?a.ValueType.Hyperlink:n.formula?a.ValueType.Formula:a.ValueType.Null}get address(){return this.model.address}set address(n){this.model.address=n}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:n}=this.cell,i=n.findCell(this.model.sharedFormula);this._translatedFormula=i&&r(i.formula,i.address,this.model.address)}return this._translatedFormula}toCsvString(){return""+(this.model.result||"")}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:e.Types.Merge,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Merge,master:i?i.address:void 0},this._master=i,i&&i.addMergeRef()}get value(){return this._master.value}set value(n){n instanceof e?(this._master&&this._master.releaseMergeRef(),n.addMergeRef(),this._master=n):this._master.value=n}isMergedTo(n){return n===this._master}get master(){return this._master}get type(){return e.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:e.Types.JSON,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:JSON.stringify(i),rawValue:i}}get value(){return this.model.rawValue}set value(n){this.model.rawValue=n,this.model.value=JSON.stringify(n)}get type(){return e.Types.String}get effectiveType(){return e.Types.String}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:e.Types.SharedString,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.SharedString,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.SharedString}get effectiveType(){return e.Types.SharedString}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.RichText,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.String,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}toString(){return this.model.value.richText.map(n=>n.text).join("")}get type(){return e.Types.RichText}get effectiveType(){return e.Types.RichText}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:e.Types.Boolean,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Boolean,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Boolean}get effectiveType(){return e.Types.Boolean}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:e.Types.Error,f:class{constructor(n,i){this.model={address:n.address,type:e.Types.Error,value:i}}get value(){return this.model.value}set value(n){this.model.value=n}get type(){return e.Types.Error}get effectiveType(){return e.Types.Error}get address(){return this.model.address}set address(n){this.model.address=n}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce((n,i)=>(n[i.t]=i.f,n),[]),create(n,i,c){const h=this.types[n];if(!h)throw new Error("Could not create Value of type "+n);return new h(i,c)}};T.exports=e},{"../utils/col-cache":19,"../utils/shared-formula":23,"../utils/under-dash":26,"./enums":7,"./note":9}],4:[function(s,T,S){const m=s("../utils/under-dash"),o=s("./enums"),a=s("../utils/col-cache");class r{constructor(e,l,n){this._worksheet=e,this._number=l,n!==!1&&(this.defn=n)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return a.n2l(this._number)}get isCustomWidth(){return this.width!==void 0&&this.width!==9}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(e){e?(this.key=e.key,this.width=e.width!==void 0?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(e){e!==void 0?(this._header=e,this.headers.forEach((l,n)=>{this._worksheet.getCell(n+1,this.number).value=l})):this._header=void 0}get key(){return this._key}set key(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&m.isEqual(this.style,e.style)}get isDefault(){if(this.isCustomWidth||this.hidden||this.outlineLevel)return!1;const e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}get headerCount(){return this.headers.length}eachCell(e,l){const n=this.number;l||(l=e,e=null),this._worksheet.eachRow(e,(i,c)=>{l(i.getCell(n),c)})}get values(){const e=[];return this.eachCell((l,n)=>{l&&l.type!==o.ValueType.Null&&(e[n]=l.value)}),e}set values(e){if(!e)return;const l=this.number;let n=0;e.hasOwnProperty("0")&&(n=1),e.forEach((i,c)=>{this._worksheet.getCell(c+n,l).value=i})}_applyStyle(e,l){return this.style[e]=l,this.eachCell(n=>{n[e]=l}),l}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}static toModel(e){const l=[];let n=null;return e&&e.forEach((i,c)=>{i.isDefault?n&&(n=null):n&&i.equivalentTo(n)?n.max=c+1:(n={min:c+1,max:c+1,width:i.width!==void 0?i.width:9,style:i.style,isCustomWidth:i.isCustomWidth,hidden:i.hidden,outlineLevel:i.outlineLevel,collapsed:i.collapsed},l.push(n))}),l.length?l:void 0}static fromModel(e,l){const n=[];let i=1,c=0;for(l=(l=l||[]).sort(function(h,u){return h.min-u.min});c{l.removeCellEx(e)})}forEach(e){m.each(this.matrixMap,(l,n)=>{l.forEach(i=>{e(n,i)})})}getNames(e){return this.getNamesEx(o.decodeEx(e))}getNamesEx(e){return m.map(this.matrixMap,(l,n)=>l.findCellEx(e)&&n).filter(Boolean)}_explore(e,l){l.mark=!1;const{sheetName:n}=l,i=new r(l.row,l.col,l.row,l.col,n);let c,h;function u(f,w){const _=e.findCellAt(n,f,l.col);return!(!_||!_.mark)&&(i[w]=f,_.mark=!1,!0)}for(h=l.row-1;u(h,"top");h--);for(h=l.row+1;u(h,"bottom");h++);function d(f,w){const _=[];for(h=i.top;h<=i.bottom;h++){const A=e.findCellAt(n,h,f);if(!A||!A.mark)return!1;_.push(A)}i[w]=f;for(let A=0;A<_.length;A++)_[A].mark=!1;return!0}for(c=l.col-1;d(c,"left");c--);for(c=l.col+1;d(c,"right");c++);return i}getRanges(e,l){return(l=l||this.matrixMap[e])?(l.forEach(n=>{n.mark=!0}),{name:e,ranges:l.map(n=>n.mark&&this._explore(l,n)).filter(Boolean).map(n=>n.$shortRange)}):{name:e,ranges:[]}}normaliseMatrix(e,l){e.forEachInSheet(l,(n,i,c)=>{n&&(n.row===i&&n.col===c||(n.row=i,n.col=c,n.address=o.n2l(c)+i))})}spliceRows(e,l,n,i){m.each(this.matrixMap,c=>{c.spliceRows(e,l,n,i),this.normaliseMatrix(c,e)})}spliceColumns(e,l,n,i){m.each(this.matrixMap,c=>{c.spliceColumns(e,l,n,i),this.normaliseMatrix(c,e)})}get model(){return m.map(this.matrixMap,(e,l)=>this.getRanges(l,e)).filter(e=>e.ranges.length)}set model(e){const l=this.matrixMap={};e.forEach(n=>{const i=l[n.name]=new a;n.ranges.forEach(c=>{t.test(c.split("!").pop()||"")&&i.addCell(c)})})}}},{"../utils/cell-matrix":18,"../utils/col-cache":19,"../utils/under-dash":26,"./range":10}],7:[function(s,T,S){T.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},{}],8:[function(s,T,S){const m=s("../utils/col-cache"),o=s("./anchor");T.exports=class{constructor(a,r){this.worksheet=a,this.model=r}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model(a){let{type:r,imageId:t,range:e,hyperlinks:l}=a;if(this.type=r,this.imageId=t,r==="image")if(typeof e=="string"){const n=m.decode(e);this.range={tl:new o(this.worksheet,{col:n.left,row:n.top},-1),br:new o(this.worksheet,{col:n.right,row:n.bottom},0),editAs:"oneCell"}}else this.range={tl:new o(this.worksheet,e.tl,0),br:e.br&&new o(this.worksheet,e.br,0),ext:e.ext,editAs:e.editAs,hyperlinks:l||e.hyperlinks}}}},{"../utils/col-cache":19,"./anchor":2}],9:[function(s,T,S){const m=s("../utils/under-dash");class o{constructor(r){this.note=r}get model(){let r=null;switch(typeof this.note){case"string":r={type:"note",note:{texts:[{text:this.note}]}};break;default:r={type:"note",note:this.note}}return m.deepMerge({},o.DEFAULT_CONFIGS,r)}set model(r){const{note:t}=r,{texts:e}=t;e.length===1&&Object.keys(e[0]).length===1?this.note=e[0].text:this.note=t}static fromModel(r){const t=new o;return t.model=r,t}}o.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},T.exports=o},{"../utils/under-dash":26}],10:[function(s,T,S){const m=s("../utils/col-cache");class o{constructor(){this.decode(arguments)}setTLBR(r,t,e,l,n){if(arguments.length<4){const i=m.decodeAddress(r),c=m.decodeAddress(t);this.model={top:Math.min(i.row,c.row),left:Math.min(i.col,c.col),bottom:Math.max(i.row,c.row),right:Math.max(i.col,c.col),sheetName:e},this.setTLBR(i.row,i.col,c.row,c.col,n)}else this.model={top:Math.min(r,e),left:Math.min(t,l),bottom:Math.max(r,e),right:Math.max(t,l),sheetName:n}}decode(r){switch(r.length){case 5:this.setTLBR(r[0],r[1],r[2],r[3],r[4]);break;case 4:this.setTLBR(r[0],r[1],r[2],r[3]);break;case 3:this.setTLBR(r[0],r[1],r[2]);break;case 2:this.setTLBR(r[0],r[1]);break;case 1:{const t=r[0];if(t instanceof o)this.model={top:t.model.top,left:t.model.left,bottom:t.model.bottom,right:t.model.right,sheetName:t.sheetName};else if(t instanceof Array)this.decode(t);else if(t.top&&t.left&&t.bottom&&t.right)this.model={top:t.top,left:t.left,bottom:t.bottom,right:t.right,sheetName:t.sheetName};else{const e=m.decodeEx(t);e.top?this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName}:this.model={top:e.row,left:e.col,bottom:e.row,right:e.col,sheetName:e.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error("Invalid number of arguments to _getDimensions() - "+r.length)}}get top(){return this.model.top||1}set top(r){this.model.top=r}get left(){return this.model.left||1}set left(r){this.model.left=r}get bottom(){return this.model.bottom||1}set bottom(r){this.model.bottom=r}get right(){return this.model.right||1}set right(r){this.model.right=r}get sheetName(){return this.model.sheetName}set sheetName(r){this.model.sheetName=r}get _serialisedSheetName(){const{sheetName:r}=this.model;return r?/^[a-zA-Z0-9]*$/.test(r)?r+"!":`'${r}'!`:""}expand(r,t,e,l){(!this.model.top||rthis.bottom)&&(this.bottom=e),(!this.model.right||l>this.right)&&(this.right=l)}expandRow(r){if(r){const{dimensions:t,number:e}=r;t&&this.expand(e,t.min,e,t.max)}}expandToAddress(r){const t=m.decodeEx(r);this.expand(t.row,t.col,t.row,t.col)}get tl(){return m.n2l(this.left)+this.top}get $t$l(){return`$${m.n2l(this.left)}$${this.top}`}get br(){return m.n2l(this.right)+this.bottom}get $b$r(){return`$${m.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(r){return(!r.sheetName||!this.sheetName||r.sheetName===this.sheetName)&&!(r.bottomthis.bottom)&&!(r.rightthis.right)}contains(r){const t=m.decodeEx(r);return this.containsEx(t)}containsEx(r){return(!r.sheetName||!this.sheetName||r.sheetName===this.sheetName)&&r.row>=this.top&&r.row<=this.bottom&&r.col>=this.left&&r.col<=this.right}forEachAddress(r){for(let t=this.left;t<=this.right;t++)for(let e=this.top;e<=this.bottom;e++)r(m.encodeAddress(e,t),e,t)}}T.exports=o},{"../utils/col-cache":19}],11:[function(s,T,S){const m=s("../utils/under-dash"),o=s("./enums"),a=s("../utils/col-cache"),r=s("./cell");T.exports=class{constructor(t,e){this._worksheet=t,this._number=e,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(t){return this._cells[t-1]}getCellEx(t){let e=this._cells[t.col-1];if(!e){const l=this._worksheet.getColumn(t.col);e=new r(this,l,t.address),this._cells[t.col-1]=e}return e}getCell(t){if(typeof t=="string"){const e=this._worksheet.getColumnKey(t);t=e?e.number:a.l2n(t)}return this._cells[t-1]||this.getCellEx({address:a.encodeAddress(this._number,t),row:this._number,col:t})}splice(t,e){const l=t+e;for(var n=arguments.length,i=new Array(n>2?n-2:0),c=2;c0)for(d=u;d>=l;d--)f=this._cells[d-1],f?(w=this.getCell(d+h),w.value=f.value,w.style=f.style,w._comment=f._comment):this._cells[d+h-1]=void 0;for(d=0;d{l&&l.type!==o.ValueType.Null&&e(l,n+1)})}addPageBreak(t,e){const l=this._worksheet,n=Math.max(0,t-1)||0,i=Math.max(0,e-1)||16838,c={id:this._number,max:i,man:1};n&&(c.min=n),l.rowBreaks.push(c)}get values(){const t=[];return this._cells.forEach(e=>{e&&e.type!==o.ValueType.Null&&(t[e.col]=e.value)}),t}set values(t){if(this._cells=[],t)if(t instanceof Array){let e=0;t.hasOwnProperty("0")&&(e=1),t.forEach((l,n)=>{l!==void 0&&(this.getCellEx({address:a.encodeAddress(this._number,n+e),row:this._number,col:n+e}).value=l)})}else this._worksheet.eachColumnKey((e,l)=>{t[l]!==void 0&&(this.getCellEx({address:a.encodeAddress(this._number,e.number),row:this._number,col:e.number}).value=t[l])})}get hasValues(){return m.some(this._cells,t=>t&&t.type!==o.ValueType.Null)}get cellCount(){return this._cells.length}get actualCellCount(){let t=0;return this.eachCell(()=>{t++}),t}get dimensions(){let t=0,e=0;return this._cells.forEach(l=>{l&&l.type!==o.ValueType.Null&&((!t||t>l.col)&&(t=l.col),e0?{min:t,max:e}:null}_applyStyle(t,e){return this.style[t]=e,this._cells.forEach(l=>{l&&(l[t]=e)}),e}get numFmt(){return this.style.numFmt}set numFmt(t){this._applyStyle("numFmt",t)}get font(){return this.style.font}set font(t){this._applyStyle("font",t)}get alignment(){return this.style.alignment}set alignment(t){this._applyStyle("alignment",t)}get protection(){return this.style.protection}set protection(t){this._applyStyle("protection",t)}get border(){return this.style.border}set border(t){this._applyStyle("border",t)}get fill(){return this.style.fill}set fill(t){this._applyStyle("fill",t)}get hidden(){return!!this._hidden}set hidden(t){this._hidden=t}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(t){this._outlineLevel=t}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const t=[];let e=0,l=0;return this._cells.forEach(n=>{if(n){const i=n.model;i&&((!e||e>n.col)&&(e=n.col),l{switch(l.type){case r.Types.Merge:break;default:{let n;if(l.address)n=a.decodeAddress(l.address);else if(e){const{row:i}=e,c=e.col+1;n={row:i,col:c,address:a.encodeAddress(i,c),$col$row:`$${a.n2l(c)}$${i}`}}e=n,this.getCellEx(n).model=l;break}}}),t.height?this.height=t.height:delete this.height,this.hidden=t.hidden,this.outlineLevel=t.outlineLevel||0,this.style=t.style&&JSON.parse(JSON.stringify(t.style))||{}}}},{"../utils/col-cache":19,"../utils/under-dash":26,"./cell":3,"./enums":7}],12:[function(s,T,S){const m=s("../utils/col-cache");class o{constructor(r,t,e){this.table=r,this.column=t,this.index=e}_set(r,t){this.table.cacheState(),this.column[r]=t}get name(){return this.column.name}set name(r){this._set("name",r)}get filterButton(){return this.column.filterButton}set filterButton(r){this.column.filterButton=r}get style(){return this.column.style}set style(r){this.column.style=r}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(r){this._set("totalsRowLabel",r)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(r){this._set("totalsRowFunction",r)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(r){this._set("totalsRowResult",r)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(r){this._set("totalsRowFormula",r)}}T.exports=class{constructor(a,r){this.worksheet=a,r&&(this.table=r,this.validate(),this.store())}getFormula(a){switch(a.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${a.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${a.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${a.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${a.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${a.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${a.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${a.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${a.name}])`;case"custom":return a.totalsRowFormula;default:throw new Error("Invalid Totals Row Function: "+a.totalsRowFunction)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:a}=this,r=(h,u,d)=>{h[u]===void 0&&(h[u]=d)};r(a,"headerRow",!0),r(a,"totalsRow",!1),r(a,"style",{}),r(a.style,"theme","TableStyleMedium2"),r(a.style,"showFirstColumn",!1),r(a.style,"showLastColumn",!1),r(a.style,"showRowStripes",!1),r(a.style,"showColumnStripes",!1);const t=(h,u)=>{if(!h)throw new Error(u)};t(a.ref,"Table must have ref"),t(a.columns,"Table must have column definitions"),t(a.rows,"Table must have row definitions"),a.tl=m.decodeAddress(a.ref);const{row:e,col:l}=a.tl;t(e>0,"Table must be on valid row"),t(l>0,"Table must be on valid col");const{width:n,filterHeight:i,tableHeight:c}=this;a.autoFilterRef=m.encode(e,l,e+i-1,l+n-1),a.tableRef=m.encode(e,l,e+c-1,l+n-1),a.columns.forEach((h,u)=>{t(h.name,`Column ${u} must have a name`),u===0?r(h,"totalsRowLabel","Total"):(r(h,"totalsRowFunction","none"),h.totalsRowFormula=this.getFormula(h))})}store(){const a=(i,c)=>{c&&Object.keys(c).forEach(h=>{i[h]=c[h]})},{worksheet:r,table:t}=this,{row:e,col:l}=t.tl;let n=0;if(t.headerRow){const i=r.getRow(e+n++);t.columns.forEach((c,h)=>{const{style:u,name:d}=c,f=i.getCell(l+h);f.value=d,a(f,u)})}if(t.rows.forEach(i=>{const c=r.getRow(e+n++);i.forEach((h,u)=>{const d=c.getCell(l+u);d.value=h,a(d,t.columns[u].style)})}),t.totalsRow){const i=r.getRow(e+n++);t.columns.forEach((c,h)=>{const u=i.getCell(l+h);if(h===0)u.value=c.totalsRowLabel;else{const d=this.getFormula(c);u.value=d?{formula:c.totalsRowFormula,result:c.totalsRowResult}:null}a(u,c.style)})}}load(a){const{table:r}=this,{row:t,col:e}=r.tl;let l=0;if(r.headerRow){const n=a.getRow(t+l++);r.columns.forEach((i,c)=>{n.getCell(e+c).value=i.name})}if(r.rows.forEach(n=>{const i=a.getRow(t+l++);n.forEach((c,h)=>{i.getCell(e+h).value=c})}),r.totalsRow){const n=a.getRow(t+l++);r.columns.forEach((i,c)=>{const h=n.getCell(e+c);c===0?h.value=i.totalsRowLabel:this.getFormula(i)&&(h.value={formula:i.totalsRowFormula,result:i.totalsRowResult})})}}get model(){return this.table}set model(a){this.table=a}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const a=m.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let r=0;r1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.rows.splice(a,r)}getColumn(a){const r=this.table.columns[a];return new o(this,r,a)}addColumn(a,r,t){this.cacheState(),t===void 0?(this.table.columns.push(a),this.table.rows.forEach((e,l)=>{e.push(r[l])})):(this.table.columns.splice(t,0,a),this.table.rows.forEach((e,l)=>{e.splice(t,0,r[l])}))}removeColumns(a){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;this.cacheState(),this.table.columns.splice(a,r),this.table.rows.forEach(t=>{t.splice(a,r)})}_assign(a,r,t){this.cacheState(),a[r]=t}get ref(){return this.table.ref}set ref(a){this._assign(this.table,"ref",a)}get name(){return this.table.name}set name(a){this.table.name=a}get displayName(){return this.table.displyName||this.table.name}set displayNamename(a){this.table.displayName=a}get headerRow(){return this.table.headerRow}set headerRow(a){this._assign(this.table,"headerRow",a)}get totalsRow(){return this.table.totalsRow}set totalsRow(a){this._assign(this.table,"totalsRow",a)}get theme(){return this.table.style.name}set theme(a){this.table.style.name=a}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(a){this.table.style.showFirstColumn=a}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(a){this.table.style.showLastColumn=a}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(a){this.table.style.showRowStripes=a}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(a){this.table.style.showColumnStripes=a}}},{"../utils/col-cache":19}],13:[function(s,T,S){const m=s("./worksheet"),o=s("./defined-names"),a=s("../xlsx/xlsx"),r=s("../csv/csv");T.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new o}get xlsx(){return this._xlsx||(this._xlsx=new a(this)),this._xlsx}get csv(){return this._csv||(this._csv=new r(this)),this._csv}get nextId(){for(let t=1;t(u&&u.orderNo)>h?u.orderNo:h,0),i=Object.assign({},e,{id:l,name:t,orderNo:n+1,workbook:this}),c=new m(i);return this._worksheets[l]=c,c}removeWorksheetEx(t){delete this._worksheets[t.id]}removeWorksheet(t){const e=this.getWorksheet(t);e&&e.destroy()}getWorksheet(t){return t===void 0?this._worksheets.find(Boolean):typeof t=="number"?this._worksheets[t]:typeof t=="string"?this._worksheets.find(e=>e&&e.name===t):void 0}get worksheets(){return this._worksheets.slice(1).sort((t,e)=>t.orderNo-e.orderNo).filter(Boolean)}eachSheet(t){this.worksheets.forEach(e=>{t(e,e.id)})}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(t){const e=this.media.length;return this.media.push(Object.assign({},t,{type:"image"})),e}getImage(t){return this.media[t]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map(t=>t.model),sheets:this.worksheets.map(t=>t.model).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(t){this.creator=t.creator,this.lastModifiedBy=t.lastModifiedBy,this.lastPrinted=t.lastPrinted,this.created=t.created,this.modified=t.modified,this.company=t.company,this.manager=t.manager,this.title=t.title,this.subject=t.subject,this.keywords=t.keywords,this.category=t.category,this.description=t.description,this.language=t.language,this.revision=t.revision,this.contentStatus=t.contentStatus,this.properties=t.properties,this.calcProperties=t.calcProperties,this._worksheets=[],t.worksheets.forEach(e=>{const{id:l,name:n,state:i}=e,c=t.sheets&&t.sheets.findIndex(h=>h.id===l);(this._worksheets[l]=new m({id:l,name:n,orderNo:c,state:i,workbook:this})).model=e}),this._definedNames.model=t.definedNames,this.views=t.views,this._themes=t.themes,this.media=t.media||[]}}},{"../csv/csv":1,"../xlsx/xlsx":144,"./defined-names":6,"./worksheet":14}],14:[function(s,T,S){const m=s("../utils/under-dash"),o=s("../utils/col-cache"),a=s("./range"),r=s("./row"),t=s("./column"),e=s("./enums"),l=s("./image"),n=s("./table"),i=s("./data-validations"),c=s("../utils/encryptor"),{copyStyle:h}=s("../utils/copy-style");T.exports=class{constructor(u){u=u||{},this._workbook=u.workbook,this.id=u.id,this.orderNo=u.orderNo,this.name=u.name,this.state=u.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},u.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!u.pageSetup||!u.pageSetup.fitToWidth&&!u.pageSetup.fitToHeight||u.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},u.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},u.headerFooter),this.dataValidations=new i,this.views=u.views||[],this.autoFilter=u.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(u){if(u===void 0&&(u="sheet"+this.id),this._name!==u){if(typeof u!="string")throw new Error("The name has to be a string.");if(u==="")throw new Error("The name can't be empty.");if(u==="History")throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(u))throw new Error(`Worksheet name ${u} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(u))throw new Error("The first or last character of worksheet name cannot be a single quotation mark: "+u);if(u&&u.length>31&&(console.warn(`Worksheet name ${u} exceeds 31 chars. This will be truncated`),u=u.substring(0,31)),this._workbook._worksheets.find(d=>d&&d.name.toLowerCase()===u.toLowerCase()))throw new Error("Worksheet name already exists: "+u);this._name=u}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const u=new a;return this._rows.forEach(d=>{if(d){const f=d.dimensions;f&&u.expand(d.number,f.min,d.number,f.max)}}),u}get columns(){return this._columns}set columns(u){this._headerRowCount=u.reduce((w,_)=>{const A=(_.header?1:_.headers&&_.headers.length)||0;return Math.max(w,A)},0);let d=1;const f=this._columns=[];u.forEach(w=>{const _=new t(this,d++,!1);f.push(_),_.defn=w})}getColumnKey(u){return this._keys[u]}setColumnKey(u,d){this._keys[u]=d}deleteColumnKey(u){delete this._keys[u]}eachColumnKey(u){m.each(this._keys,u)}getColumn(u){if(typeof u=="string"){const d=this._keys[u];if(d)return d;u=o.l2n(u)}if(this._columns||(this._columns=[]),u>this._columns.length){let d=this._columns.length+1;for(;d<=u;)this._columns.push(new t(this,d++))}return this._columns[u-1]}spliceColumns(u,d){const f=this._rows.length;for(var w=arguments.length,_=new Array(w>2?w-2:0),A=2;A0)for(let P=0;P{D.push(B[P]||null)});const $=this.getRow(P+1);$.splice.apply($,D)}else this._rows.forEach(P=>{P&&P.splice(u,d)});const N=_.length-d,L=u+d,j=this._columns.length;if(N<0)for(let P=u+_.length;P<=j;P++)this.getColumn(P).defn=this.getColumn(P-N).defn;else if(N>0)for(let P=j;P>=L;P--)this.getColumn(P+N).defn=this.getColumn(P).defn;for(let P=u;P{u=Math.max(u,d.cellCount)}),u}get actualColumnCount(){const u=[];let d=0;return this.eachRow(f=>{f.eachCell(w=>{let{col:_}=w;u[_]||(u[_]=!0,d++)})}),d}_commitRow(){}get _lastRowNumber(){const u=this._rows;let d=u.length;for(;d>0&&u[d-1]===void 0;)d--;return d}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(u){return this._rows[u-1]}findRows(u,d){return this._rows.slice(u-1,u-1+d)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let u=0;return this.eachRow(()=>{u++}),u}getRow(u){let d=this._rows[u-1];return d||(d=this._rows[u-1]=new r(this,u)),d}getRows(u,d){if(d<1)return;const f=[];for(let w=u;w1&&arguments[1]!==void 0?arguments[1]:"n";const f=this._nextRow,w=this.getRow(f);return w.values=u,this._setStyleOption(f,d[0]==="i"?d:"n"),w}addRows(u){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"n";const f=[];return u.forEach(w=>{f.push(this.addRow(w,d))}),f}insertRow(u,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";return this.spliceRows(u,0,d),this._setStyleOption(u,f),this.getRow(u)}insertRows(u,d){let f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"n";if(this.spliceRows(u,0,...d),f!=="n")for(let w=0;w1&&arguments[1]!==void 0?arguments[1]:"n";d[0]==="o"&&this.findRow(u+1)!==void 0?this._copyStyle(u+1,u,d[1]==="+"):d[0]==="i"&&this.findRow(u-1)!==void 0&&this._copyStyle(u-1,u,d[1]==="+")}_copyStyle(u,d){let f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const w=this.getRow(u),_=this.getRow(d);_.style=h(w.style),w.eachCell({includeEmpty:f},(A,N)=>{_.getCell(N).style=h(A.style)}),_.height=w.height}duplicateRow(u,d){let f=arguments.length>2&&arguments[2]!==void 0&&arguments[2];const w=this._rows[u-1],_=new Array(d).fill(w.values);this.spliceRows(u+1,f?0:d,..._);for(let A=0;A{N.getCell(j).style=L.style})}}spliceRows(u,d){const f=u+d;for(var w=arguments.length,_=new Array(w>2?w-2:0),A=2;A{$.getCell(x).style=B.style}),this._rows[P-1]=void 0}else this._rows[P+L-1]=void 0;else if(L>0)for(P=j;P>=f;P--)if(D=this._rows[P-1],D){const $=this.getRow(P+L);$.values=D.values,$.style=D.style,$.height=D.height,D.eachCell({includeEmpty:!0},(B,x)=>{if($.getCell(x).style=B.style,B._value.constructor.name==="MergeValue"){const M=this.getRow(B._row._number+N).getCell(x),v=B._value._master,p=this.getRow(v._row._number+N).getCell(v._column._number);M.merge(p)}})}else this._rows[P+L-1]=void 0;for(P=0;P{f&&f.hasValues&&d(f,f.number)})}getSheetValues(){const u=[];return this._rows.forEach(d=>{d&&(u[d.number]=d.values)}),u}findCell(u,d){const f=o.getAddress(u,d),w=this._rows[f.row-1];return w?w.findCell(f.col):void 0}getCell(u,d){const f=o.getAddress(u,d);return this.getRow(f.row).getCellEx(f)}mergeCells(){for(var u=arguments.length,d=new Array(u),f=0;f{if(w.intersects(u))throw new Error("Cannot merge already merged cells")});const f=this.getCell(u.top,u.left);for(let w=u.top;w<=u.bottom;w++)for(let _=u.left;_<=u.right;_++)(w>u.top||_>u.left)&&this.getCell(w,_).merge(f,d);this._merges[f.address]=u}_unMergeMaster(u){const d=this._merges[u.address];if(d){for(let f=d.top;f<=d.bottom;f++)for(let w=d.left;w<=d.right;w++)this.getCell(f,w).unmerge();delete this._merges[u.address]}}get hasMerges(){return m.some(this._merges,Boolean)}unMergeCells(){for(var u=arguments.length,d=new Array(u),f=0;f3&&arguments[3]!==void 0?arguments[3]:"shared";const _=o.decode(u),{top:A,left:N,bottom:L,right:j}=_,P=j-N+1,D=o.encodeAddress(A,N),$=w==="shared";let B;B=typeof f=="function"?f:Array.isArray(f)?Array.isArray(f[0])?(M,v)=>f[M-A][v-N]:(M,v)=>f[(M-A)*P+(v-N)]:()=>{};let x=!0;for(let M=A;M<=L;M++)for(let v=N;v<=j;v++)x?(this.getCell(M,v).value={shareType:w,formula:d,ref:u,result:B(M,v)},x=!1):this.getCell(M,v).value=$?{sharedFormula:D,result:B(M,v)}:B(M,v)}addImage(u,d){const f={type:"image",imageId:u,range:d};this._media.push(new l(this,f))}getImages(){return this._media.filter(u=>u.type==="image")}addBackgroundImage(u){const d={type:"background",imageId:u};this._media.push(new l(this,d))}getBackgroundImageId(){const u=this._media.find(d=>d.type==="background");return u&&u.imageId}protect(u,d){return new Promise(f=>{this.sheetProtection={sheet:!0},d&&"spinCount"in d&&(d.spinCount=Number.isFinite(d.spinCount)?Math.round(Math.max(0,d.spinCount)):1e5),u&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=c.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=d&&"spinCount"in d?d.spinCount:1e5,this.sheetProtection.hashValue=c.convertPasswordToHash(u,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),d&&(this.sheetProtection=Object.assign(this.sheetProtection,d),!u&&"spinCount"in d&&delete this.sheetProtection.spinCount),f()})}unprotect(){this.sheetProtection=null}addTable(u){const d=new n(this,u);return this.tables[u.name]=d,d}getTable(u){return this.tables[u]}removeTable(u){delete this.tables[u]}getTables(){return Object.values(this.tables)}addConditionalFormatting(u){this.conditionalFormattings.push(u)}removeConditionalFormatting(u){typeof u=="number"?this.conditionalFormattings.splice(u,1):this.conditionalFormattings=u instanceof Function?this.conditionalFormattings.filter(u):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(u){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=u}get model(){const u={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map(w=>w.model),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map(w=>w.model),conditionalFormattings:this.conditionalFormattings};u.cols=t.toModel(this.columns);const d=u.rows=[],f=u.dimensions=new a;return this._rows.forEach(w=>{const _=w&&w.model;_&&(f.expand(_.number,_.min,_.number,_.max),d.push(_))}),u.merges=[],m.each(this._merges,w=>{u.merges.push(w.range)}),u}_parseRows(u){this._rows=[],u.rows.forEach(d=>{const f=new r(this,d.number);this._rows[f.number-1]=f,f.model=d})}_parseMergeCells(u){m.each(u.mergeCells,d=>{this.mergeCellsWithoutStyle(d)})}set model(u){this.name=u.name,this._columns=t.fromModel(this,u.cols),this._parseRows(u),this._parseMergeCells(u),this.dataValidations=new i(u.dataValidations),this.properties=u.properties,this.pageSetup=u.pageSetup,this.headerFooter=u.headerFooter,this.views=u.views,this.autoFilter=u.autoFilter,this._media=u.media.map(d=>new l(this,d)),this.sheetProtection=u.sheetProtection,this.tables=u.tables.reduce((d,f)=>{const w=new n;return w.model=f,d[f.name]=w,d},{}),this.conditionalFormattings=u.conditionalFormattings}}},{"../utils/col-cache":19,"../utils/copy-style":20,"../utils/encryptor":21,"../utils/under-dash":26,"./column":4,"./data-validations":5,"./enums":7,"./image":8,"./range":10,"./row":11,"./table":12}],15:[function(s,T,S){s("core-js/modules/es.promise"),s("core-js/modules/es.promise.finally"),s("core-js/modules/es.object.assign"),s("core-js/modules/es.object.keys"),s("core-js/modules/es.object.values"),s("core-js/modules/es.symbol"),s("core-js/modules/es.symbol.async-iterator"),s("core-js/modules/es.array.iterator"),s("core-js/modules/es.array.includes"),s("core-js/modules/es.array.find-index"),s("core-js/modules/es.array.find"),s("core-js/modules/es.string.from-code-point"),s("core-js/modules/es.string.includes"),s("core-js/modules/es.number.is-nan"),s("regenerator-runtime/runtime");const m={Workbook:s("./doc/workbook")},o=s("./doc/enums");Object.keys(o).forEach(a=>{m[a]=o[a]}),T.exports=m},{"./doc/enums":7,"./doc/workbook":13,"core-js/modules/es.array.find":359,"core-js/modules/es.array.find-index":358,"core-js/modules/es.array.includes":360,"core-js/modules/es.array.iterator":361,"core-js/modules/es.number.is-nan":363,"core-js/modules/es.object.assign":364,"core-js/modules/es.object.keys":366,"core-js/modules/es.object.values":367,"core-js/modules/es.promise":372,"core-js/modules/es.promise.finally":371,"core-js/modules/es.string.from-code-point":376,"core-js/modules/es.string.includes":377,"core-js/modules/es.symbol":381,"core-js/modules/es.symbol.async-iterator":378,"regenerator-runtime/runtime":492}],16:[function(s,T,S){const m=typeof TextDecoder>"u"?null:new TextDecoder("utf-8");S.bufferToString=function(o){return typeof o=="string"?o:m?m.decode(o):o.toString()}},{}],17:[function(s,T,S){const m=typeof TextEncoder>"u"?null:new TextEncoder("utf-8"),{Buffer:o}=s("buffer");S.stringToBuffer=function(a){return typeof a!="string"?a:m?o.from(m.encode(a).buffer):o.from(a)}},{buffer:220}],18:[function(s,T,S){const m=s("./under-dash"),o=s("./col-cache");T.exports=class{constructor(a){this.template=a,this.sheets={}}addCell(a){this.addCellEx(o.decodeEx(a))}getCell(a){return this.findCellEx(o.decodeEx(a),!0)}findCell(a){return this.findCellEx(o.decodeEx(a),!1)}findCellAt(a,r,t){const e=this.sheets[a],l=e&&e[r];return l&&l[t]}addCellEx(a){if(a.top)for(let r=a.top;r<=a.bottom;r++)for(let t=a.left;t<=a.right;t++)this.getCellAt(a.sheetName,r,t);else this.findCellEx(a,!0)}getCellEx(a){return this.findCellEx(a,!0)}findCellEx(a,r){const t=this.findSheet(a,r),e=this.findSheetRow(t,a,r);return this.findRowCell(e,a,r)}getCellAt(a,r,t){const e=this.sheets[a]||(this.sheets[a]=[]),l=e[r]||(e[r]=[]);return l[t]||(l[t]={sheetName:a,address:o.n2l(t)+r,row:r,col:t})}removeCellEx(a){const r=this.findSheet(a);if(!r)return;const t=this.findSheetRow(r,a);t&&delete t[a.col]}forEachInSheet(a,r){const t=this.sheets[a];t&&t.forEach((e,l)=>{e&&e.forEach((n,i)=>{n&&r(n,l,i)})})}forEach(a){m.each(this.sheets,(r,t)=>{this.forEachInSheet(t,a)})}map(a){const r=[];return this.forEach(t=>{r.push(a(t))}),r}findSheet(a,r){const t=a.sheetName;return this.sheets[t]?this.sheets[t]:r?this.sheets[t]=[]:void 0}findSheetRow(a,r,t){const{row:e}=r;return a&&a[e]?a[e]:t?a[e]=[]:void 0}findRowCell(a,r,t){const{col:e}=r;return a&&a[e]?a[e]:t?a[e]=this.template?Object.assign(r,JSON.parse(JSON.stringify(this.template))):r:void 0}spliceRows(a,r,t,e){const l=this.sheets[a];if(l){const n=[];for(let i=0;i{i.splice(r,t,...n)})}}}},{"./col-cache":19,"./under-dash":26}],19:[function(s,T,S){const m=/^[A-Z]+\d+$/,o={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:a=>a<=26?1:a<=676?2:3,_fill(a){let r,t,e,l,n,i=1;if(a>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&a>=1){for(;i<=26;)r=this._dictionary[i-1],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=1}if(this._l2nFill<2&&a>=2){for(i=27;i<=702;)t=i-27,e=t%26,l=Math.floor(t/26),r=this._dictionary[l]+this._dictionary[e],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=2}if(this._l2nFill<3&&a>=3){for(i=703;i<=16384;)t=i-703,e=t%26,l=Math.floor(t/26)%26,n=Math.floor(t/676),r=this._dictionary[n]+this._dictionary[l]+this._dictionary[e],this._n2l[i]=r,this._l2n[r]=i,i++;this._l2nFill=3}},l2n(a){if(this._l2n[a]||this._fill(a.length),!this._l2n[a])throw new Error("Out of bounds. Invalid column letter: "+a);return this._l2n[a]},n2l(a){if(a<1||a>16384)throw new Error(a+" is out of bounds. Excel supports columns from 1 to 16384");return this._n2l[a]||this._fill(this._level(a)),this._n2l[a]},_hash:{},validateAddress(a){if(!m.test(a))throw new Error("Invalid Address: "+a);return!0},decodeAddress(a){const r=a.length<5&&this._hash[a];if(r)return r;let t=!1,e="",l=0,n=!1,i="",c=0;for(let u,d=0;d=65&&u<=90)t=!0,e+=a[d],l=26*l+u-64;else if(u>=48&&u<=57)n=!0,i+=a[d],c=10*c+u-48;else if(n&&t&&u!==36)break;if(t){if(l>16384)throw new Error("Out of bounds. Invalid column letter: "+e)}else l=void 0;n||(c=void 0);const h={address:a=e+i,col:l,row:c,$col$row:`$${e}$${i}`};return l<=100&&c<=100&&(this._hash[a]=h,this._hash[h.$col$row]=h),h},getAddress(a,r){if(r){const t=this.n2l(r)+a;return this.decodeAddress(t)}return this.decodeAddress(a)},decode(a){const r=a.split(":");if(r.length===2){const t=this.decodeAddress(r[0]),e=this.decodeAddress(r[1]),l={top:Math.min(t.row,e.row),left:Math.min(t.col,e.col),bottom:Math.max(t.row,e.row),right:Math.max(t.col,e.col)};return l.tl=this.n2l(l.left)+l.top,l.br=this.n2l(l.right)+l.bottom,l.dimensions=`${l.tl}:${l.br}`,l}return this.decodeAddress(a)},decodeEx(a){const r=a.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),t=r[1]||r[2],e=r[3],l=e.split(":");if(l.length>1){let i=this.decodeAddress(l[0]),c=this.decodeAddress(l[1]);const h=Math.min(i.row,c.row),u=Math.min(i.col,c.col),d=Math.max(i.row,c.row),f=Math.max(i.col,c.col);return i=this.n2l(u)+h,c=this.n2l(f)+d,{top:h,left:u,bottom:d,right:f,sheetName:t,tl:{address:i,col:u,row:h,$col$row:`$${this.n2l(u)}$${h}`,sheetName:t},br:{address:c,col:f,row:d,$col$row:`$${this.n2l(f)}$${d}`,sheetName:t},dimensions:`${i}:${c}`}}if(e.startsWith("#"))return t?{sheetName:t,error:e}:{error:e};const n=this.decodeAddress(e);return t?{sheetName:t,...n}:n},encodeAddress:(a,r)=>o.n2l(r)+a,encode(){switch(arguments.length){case 2:return o.encodeAddress(arguments[0],arguments[1]);case 4:return`${o.encodeAddress(arguments[0],arguments[1])}:${o.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(a,r){const[t,e,,l,n]=a,[i,c]=r;return i>=t&&i<=l&&c>=e&&c<=n}};T.exports=o},{}],20:[function(s,T,S){const m=(a,r)=>({...a,...r.reduce((t,e)=>(a[e]&&(t[e]={...a[e]}),t),{})}),o=function(a,r,t){let e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];a[t]&&(r[t]=m(a[t],e))};S.copyStyle=a=>{if(!a)return a;if(r=a,Object.keys(r).length===0)return{};var r;const t={...a};return o(a,t,"font",["color"]),o(a,t,"alignment"),o(a,t,"protection"),a.border&&(o(a,t,"border"),o(a.border,t.border,"top",["color"]),o(a.border,t.border,"left",["color"]),o(a.border,t.border,"bottom",["color"]),o(a.border,t.border,"right",["color"]),o(a.border,t.border,"diagonal",["color"])),a.fill&&(o(a,t,"fill",["fgColor","bgColor","center"]),a.fill.stops&&(t.fill.stops=a.fill.stops.map(e=>m(e,["color"])))),t}},{}],21:[function(s,T,S){(function(m){(function(){const o=s("crypto"),a={hash(r){const t=o.createHash(r);for(var e=arguments.length,l=new Array(e>1?e-1:0),n=1;no.randomBytes(r)};T.exports=a}).call(this)}).call(this,s("buffer").Buffer)},{buffer:220,crypto:390}],22:[function(s,T,S){const{SaxesParser:m}=s("saxes"),{PassThrough:o}=s("readable-stream"),{bufferToString:a}=s("./browser-buffer-decode");T.exports=async function*(r){r.pipe&&!r[Symbol.asyncIterator]&&(r=r.pipe(new o));const t=new m;let e;t.on("error",n=>{e=n});let l=[];t.on("opentag",n=>l.push({eventType:"opentag",value:n})),t.on("text",n=>l.push({eventType:"text",value:n})),t.on("closetag",n=>l.push({eventType:"closetag",value:n}));for await(const n of r){if(t.write(a(n)),e)throw e;yield l,l=[]}}},{"./browser-buffer-decode":16,"readable-stream":491,saxes:496}],23:[function(s,T,S){const m=s("./col-cache"),o=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,a=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;T.exports={slideFormula:function(r,t,e){const l=m.decode(t),n=m.decode(e);return r.replace(o,(i,c,h,u,d)=>{if(d)return i;const f=a.exec(u);if(f){const w=f[1],_=f[2].toUpperCase(),A=f[3],N=f[4];if(_.length>3||_.length===3&&_>"XFD")return i;let L=m.l2n(_),j=parseInt(N,10);return w||(L+=n.col-l.col),A||(j+=n.row-l.row),(c||"")+(w||"")+m.n2l(L)+(A||"")+j}return i})}}},{"./col-cache":19}],24:[function(s,T,S){(function(m,o){(function(){const a=s("readable-stream"),r=s("./utils"),t=s("./string-buf");class e{constructor(u,d){this._data=u,this._encoding=d}get length(){return this.toBuffer().length}copy(u,d,f,w){return this.toBuffer().copy(u,d,f,w)}toBuffer(){return this._buffer||(this._buffer=o.from(this._data,this._encoding)),this._buffer}}class l{constructor(u){this._data=u}get length(){return this._data.length}copy(u,d,f,w){return this._data._buf.copy(u,d,f,w)}toBuffer(){return this._data.toBuffer()}}class n{constructor(u){this._data=u}get length(){return this._data.length}copy(u,d,f,w){this._data.copy(u,d,f,w)}toBuffer(){return this._data}}class i{constructor(u){this.size=u,this.buffer=o.alloc(u),this.iRead=0,this.iWrite=0}toBuffer(){if(this.iRead===0&&this.iWrite===this.size)return this.buffer;const u=o.alloc(this.iWrite-this.iRead);return this.buffer.copy(u,0,this.iRead,this.iWrite),u}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(u){let d;return u===0?null:u===void 0||u>=this.length?(d=this.toBuffer(),this.iRead=this.iWrite,d):(d=o.alloc(u),this.buffer.copy(d,0,this.iRead,u),this.iRead+=u,d)}write(u,d,f){const w=Math.min(f,this.size-this.iWrite);return u.copy(this.buffer,this.iWrite,d,d+w),this.iWrite+=w,w}}const c=function(h){h=h||{},this.bufSize=h.bufSize||1048576,this.buffers=[],this.batch=h.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};r.inherits(c,a.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return o.concat(this.buffers.map(h=>h.toBuffer()))}},_getWritableBuffer(){if(this.buffers.length){const u=this.buffers[this.buffers.length-1];if(!u.full)return u}const h=new i(this.bufSize);return this.buffers.push(h),h},async _pipe(h){await Promise.all(this.pipes.map(function(u){return new Promise(d=>{u.write(h.toBuffer(),()=>{d()})})}))},_writeToBuffers(h){let u=0;const d=h.length;for(;u1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(f),m.nextTick(d)):(await this._pipe(f),d());else this.paused||this.emit("data",f.toBuffer()),this._writeToBuffers(f),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(h,u,d){const f=w=>{w?d(w):(this._flush(),this.pipes.forEach(_=>{_.end()}),this.emit("finish"))};h?this.write(h,u,f):f()},read(h){let u;if(h){for(u=[];h&&this.buffers.length&&!this.buffers[0].eod;){const d=this.buffers[0],f=d.read(h);h-=f.length,u.push(f),d.eod&&d.full&&this.buffers.shift()}return o.concat(u)}return u=this.buffers.map(d=>d.toBuffer()).filter(Boolean),this.buffers=[],o.concat(u)},setEncoding(h){this.encoding=h},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(h){this.pipes.push(h),!this.paused&&this.buffers.length&&this.end()},unpipe(h){this.pipes=this.pipes.filter(u=>u!==h)},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),T.exports=c}).call(this)}).call(this,s("_process"),s("buffer").Buffer)},{"./string-buf":25,"./utils":27,_process:467,buffer:220,"readable-stream":491}],25:[function(s,T,S){(function(m){(function(){T.exports=class{constructor(o){this._buf=m.alloc(o&&o.size||16384),this._encoding=o&&o.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=m.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(o){o=o||0,this._buffer=void 0,this._inPos=o}_grow(o){let a=2*this._buf.length;for(;a=this._buf.length-4;)this._grow(this._inPos+o.length),a=this._inPos+this._buf.write(o,this._inPos,this._encoding);this._inPos=a}addStringBuf(o){o.length&&(this._buffer=void 0,this.length+o.length>this.capacity&&this._grow(this.length+o.length),o._buf.copy(this._buf,this._inPos,0,o.length),this._inPos+=o.length)}}}).call(this)}).call(this,s("buffer").Buffer)},{buffer:220}],26:[function(s,T,S){const{toString:m}=Object.prototype,o=/["&<>]/,a={each:function(r,t){r&&(Array.isArray(r)?r.forEach(t):Object.keys(r).forEach(e=>{t(r[e],e)}))},some:function(r,t){return!!r&&(Array.isArray(r)?r.some(t):Object.keys(r).some(e=>t(r[e],e)))},every:function(r,t){return!r||(Array.isArray(r)?r.every(t):Object.keys(r).every(e=>t(r[e],e)))},map:function(r,t){return r?Array.isArray(r)?r.map(t):Object.keys(r).map(e=>t(r[e],e)):[]},keyBy:(r,t)=>r.reduce((e,l)=>(e[l[t]]=l,e),{}),isEqual:function(r,t){const e=typeof r,l=typeof t,n=Array.isArray(r),i=Array.isArray(t);let c;if(e!==l)return!1;switch(typeof r){case"object":if(n||i)return!(!n||!i)&&r.length===t.length&&r.every((h,u)=>{const d=t[u];return a.isEqual(h,d)});if(r===null||t===null)return r===t;if(c=Object.keys(r),Object.keys(t).length!==c.length)return!1;for(const h of c)if(!t.hasOwnProperty(h))return!1;return a.every(r,(h,u)=>{const d=t[u];return a.isEqual(h,d)});default:return r===t}},escapeHtml(r){const t=o.exec(r);if(!t)return r;let e="",l="",n=0,i=t.index;for(;i":l=">";break;default:continue}n!==i&&(e+=r.substring(n,i)),n=i+1,e+=l}return n!==i?e+r.substring(n,i):e},strcmp:(r,t)=>rt?1:0,isUndefined:r=>m.call(r)==="[object Undefined]",isObject:r=>m.call(r)==="[object Object]",deepMerge(){const r=arguments[0]||{},{length:t}=arguments;let e,l,n;function i(c,h){e=r[h],n=Array.isArray(c),a.isObject(c)||n?(n?(n=!1,l=e&&Array.isArray(e)?e:[]):l=e&&a.isObject(e)?e:{},r[h]=a.deepMerge(l,c)):a.isUndefined(c)||(r[h]=c)}for(let c=0;c&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,t={nop(){},promiseImmediate:e=>new Promise(l=>{m.setImmediate?o(()=>{l(e)}):setTimeout(()=>{l(e)},1)}),inherits:function(e,l,n,i){e.super_=l,i||(i=n,n=null),n&&Object.keys(n).forEach(h=>{Object.defineProperty(e,h,Object.getOwnPropertyDescriptor(n,h))});const c={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};i&&Object.keys(i).forEach(h=>{c[h]=Object.getOwnPropertyDescriptor(i,h)}),e.prototype=Object.create(l.prototype,c)},dateToExcel:(e,l)=>25569+e.getTime()/864e5-(l?1462:0),excelToDate(e,l){const n=Math.round(24*(e-25569+(l?1462:0))*3600*1e3);return new Date(n)},parsePath(e){const l=e.lastIndexOf("/");return{path:e.substring(0,l),name:e.substring(l+1)}},getRelsPath(e){const l=t.parsePath(e);return`${l.path}/_rels/${l.name}.rels`},xmlEncode(e){const l=r.exec(e);if(!l)return e;let n="",i="",c=0,h=l.index;for(;h=11&&u!==13)){i="";break}continue}c!==h&&(n+=e.substring(c,h)),c=h+1,i&&(n+=i)}return c!==h?n+e.substring(c,h):n},xmlDecode:e=>e.replace(/&([a-z]*);/g,l=>{switch(l){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return l}}),validInt(e){const l=parseInt(e,10);return Number.isNaN(l)?0:l},isDateFmt(e){return e?(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)!==null:!1},fs:{exists:e=>new Promise(l=>{a.access(e,a.constants.F_OK,n=>{l(!n)})})},toIsoDateString:e=>e.toIsoString().subsstr(0,10),parseBoolean:e=>e===!0||e==="true"||e===1||e==="1"};T.exports=t}).call(this)}).call(this,typeof Kt<"u"?Kt:typeof self<"u"?self:typeof window<"u"?window:{},s("timers").setImmediate)},{fs:216,timers:523}],28:[function(s,T,S){const m=s("./under-dash"),o=s("./utils");function a(e,l,n){e.push(` ${l}="${o.xmlEncode(n.toString())}"`)}function r(e,l){if(l){const n=[];m.each(l,(i,c)=>{i!==void 0&&a(n,c,i)}),e.push(n.join(""))}}class t{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(l){const n=this._xml;n.push(" `)}openNode(l,n){const i=this.tos,c=this._xml;i&&this.open&&c.push(">"),this._stack.push(l),c.push("<"),c.push(l),r(c,n),this.leaf=!0,this.open=!0}addAttribute(l,n){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");n!==void 0&&a(this._xml,l,n)}addAttributes(l){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");r(this._xml,l)}writeText(l){const n=this._xml;this.open&&(n.push(">"),this.open=!1),this.leaf=!1,n.push(o.xmlEncode(l.toString()))}writeXml(l){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(l)}closeNode(){const l=this._stack.pop(),n=this._xml;this.leaf?n.push("/>"):(n.push("")),this.open=!1,this.leaf=!1}leafNode(l,n,i){this.openNode(l,n),i!==void 0&&this.writeText(i),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const l=this._rollbacks.pop();this._xml.length>l.xml&&this._xml.splice(l.xml,this._xml.length-l.xml),this._stack.length>l.stack&&this._stack.splice(l.stack,this._stack.length-l.stack),this.leaf=l.leaf,this.open=l.open}get xml(){return this.closeAll(),this._xml.join("")}}t.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},T.exports=t},{"./under-dash":26,"./utils":27}],29:[function(s,T,S){(function(m){(function(){const o=s("events"),a=s("jszip"),r=s("./stream-buf"),{stringToBuffer:t}=s("./browser-buffer-encode");class e extends o.EventEmitter{constructor(n){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},n),this.zip=new a,this.stream=new r}append(n,i){i.hasOwnProperty("base64")&&i.base64?this.zip.file(i.name,n,{base64:!0}):(m.browser&&typeof n=="string"&&(n=t(n)),this.zip.file(i.name,n))}async finalize(){const n=await this.zip.generateAsync(this.options);this.stream.end(n),this.emit("finish")}read(n){return this.stream.read(n)}setEncoding(n){return this.stream.setEncoding(n)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(n,i){return this.stream.pipe(n,i)}unpipe(n){return this.stream.unpipe(n)}unshift(n){return this.stream.unshift(n)}wrap(n){return this.stream.wrap(n)}}T.exports={ZipWriter:e}}).call(this)}).call(this,s("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(s,T,S){T.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},{}],31:[function(s,T,S){T.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},{}],32:[function(s,T,S){const m=s("../../utils/parse-sax"),o=s("../../utils/xml-stream");class a{prepare(){}render(){}parseOpen(t){}parseText(t){}parseClose(t){}reconcile(t,e){}reset(){this.model=null,this.map&&Object.values(this.map).forEach(t=>{t instanceof a?t.reset():t.xform&&t.xform.reset()})}mergeModel(t){this.model=Object.assign(this.model||{},t)}async parse(t){for await(const e of t)for(const{eventType:l,value:n}of e)if(l==="opentag")this.parseOpen(n);else if(l==="text")this.parseText(n);else if(l==="closetag"&&!this.parseClose(n.name))return this.model;return this.model}async parseStream(t){return this.parse(m(t))}get xml(){return this.toXml(this.model)}toXml(t){const e=new o;return this.render(e,t),e.xml}static toAttribute(t,e){let l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(t===void 0){if(l)return e}else if(l||t!==e)return t.toString()}static toStringAttribute(t,e){let l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return a.toAttribute(t,e,l)}static toStringValue(t,e){return t===void 0?e:t}static toBoolAttribute(t,e){let l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(t===void 0){if(l)return e}else if(l||t!==e)return t?"1":"0"}static toBoolValue(t,e){return t===void 0?e:t==="1"}static toIntAttribute(t,e){let l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return a.toAttribute(t,e,l)}static toIntValue(t,e){return t===void 0?e:parseInt(t,10)}static toFloatAttribute(t,e){let l=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return a.toAttribute(t,e,l)}static toFloatValue(t,e){return t===void 0?e:parseFloat(t)}}T.exports=a},{"../../utils/parse-sax":22,"../../utils/xml-stream":28}],33:[function(s,T,S){const m=s("../base-xform"),o=s("../../../utils/col-cache");function a(t){try{return o.decodeEx(t),!0}catch{return!1}}function r(t){const e=[];let l=!1,n="";return t.split(",").forEach(i=>{if(!i)return;const c=(i.match(/'/g)||[]).length;if(!c)return void(l?n+=i+",":a(i)&&e.push(i));const h=c%2==0;!l&&h&&a(i)?e.push(i):l&&!h?(l=!1,a(n+i)&&e.push(n+i),n=""):(l=!0,n+=i+",")}),e}T.exports=class extends m{render(t,e){t.openNode("definedName",{name:e.name,localSheetId:e.localSheetId}),t.writeText(e.ranges.join(",")),t.closeNode()}parseOpen(t){switch(t.name){case"definedName":return this._parsedName=t.attributes.name,this._parsedLocalSheetId=t.attributes.localSheetId,this._parsedText=[],!0;default:return!1}}parseText(t){this._parsedText.push(t)}parseClose(){return this.model={name:this._parsedName,ranges:r(this._parsedText.join(""))},this._parsedLocalSheetId!==void 0&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},{"../../../utils/col-cache":19,"../base-xform":32}],34:[function(s,T,S){const m=s("../../../utils/utils"),o=s("../base-xform");T.exports=class extends o{render(a,r){a.leafNode("sheet",{sheetId:r.id,name:r.name,state:r.state,"r:id":r.rId})}parseOpen(a){return a.name==="sheet"&&(this.model={name:m.xmlDecode(a.attributes.name),id:parseInt(a.attributes.sheetId,10),state:a.attributes.state,rId:a.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/utils":27,"../base-xform":32}],35:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){o.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:a.fullCalcOnLoad?1:void 0})}parseOpen(o){return o.name==="calcPr"&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],36:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){o.leafNode("workbookPr",{date1904:a.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(o){return o.name==="workbookPr"&&(this.model={date1904:o.attributes.date1904==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],37:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){const r={xWindow:a.x||0,yWindow:a.y||0,windowWidth:a.width||12e3,windowHeight:a.height||24e3,firstSheet:a.firstSheet,activeTab:a.activeTab};a.visibility&&a.visibility!=="visible"&&(r.visibility=a.visibility),o.leafNode("workbookView",r)}parseOpen(o){if(o.name==="workbookView"){const a=this.model={},r=function(e,l,n){const i=l!==void 0?a[e]=l:n;i!==void 0&&(a[e]=i)},t=function(e,l,n){const i=l!==void 0?a[e]=parseInt(l,10):n;i!==void 0&&(a[e]=i)};return t("x",o.attributes.xWindow,0),t("y",o.attributes.yWindow,0),t("width",o.attributes.windowWidth,25e3),t("height",o.attributes.windowHeight,1e4),r("visibility",o.attributes.visibility,"visible"),t("activeTab",o.attributes.activeTab,void 0),t("firstSheet",o.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],38:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../../../utils/col-cache"),a=s("../../../utils/xml-stream"),r=s("../base-xform"),t=s("../static-xform"),e=s("../list-xform"),l=s("./defined-name-xform"),n=s("./sheet-xform"),i=s("./workbook-view-xform"),c=s("./workbook-properties-xform"),h=s("./workbook-calc-properties-xform");class u extends r{constructor(){super(),this.map={fileVersion:u.STATIC_XFORMS.fileVersion,workbookPr:new c,bookViews:new e({tag:"bookViews",count:!1,childXform:new i}),sheets:new e({tag:"sheets",count:!1,childXform:new n}),definedNames:new e({tag:"definedNames",count:!1,childXform:new l}),calcPr:new h}}prepare(f){f.sheets=f.worksheets;const w=[];let _=0;f.sheets.forEach(A=>{if(A.pageSetup&&A.pageSetup.printArea&&A.pageSetup.printArea.split("&&").forEach(N=>{const L=N.split(":"),j={name:"_xlnm.Print_Area",ranges:[`'${A.name}'!$${L[0]}:$${L[1]}`],localSheetId:_};w.push(j)}),A.pageSetup&&(A.pageSetup.printTitlesRow||A.pageSetup.printTitlesColumn)){const N=[];if(A.pageSetup.printTitlesColumn){const j=A.pageSetup.printTitlesColumn.split(":");N.push(`'${A.name}'!$${j[0]}:$${j[1]}`)}if(A.pageSetup.printTitlesRow){const j=A.pageSetup.printTitlesRow.split(":");N.push(`'${A.name}'!$${j[0]}:$${j[1]}`)}const L={name:"_xlnm.Print_Titles",ranges:N,localSheetId:_};w.push(L)}_++}),w.length&&(f.definedNames=f.definedNames.concat(w)),(f.media||[]).forEach((A,N)=>{A.name=A.type+(N+1)})}render(f,w){f.openXml(a.StdDocAttributes),f.openNode("workbook",u.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(f),this.map.workbookPr.render(f,w.properties),this.map.bookViews.render(f,w.views),this.map.sheets.render(f,w.sheets),this.map.definedNames.render(f,w.definedNames),this.map.calcPr.render(f,w.calcProperties),f.closeNode()}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case"workbook":return!0;default:return this.parser=this.map[f.name],this.parser&&this.parser.parseOpen(f),!0}}parseText(f){this.parser&&this.parser.parseText(f)}parseClose(f){if(this.parser)return this.parser.parseClose(f)||(this.parser=void 0),!0;switch(f){case"workbook":return this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1;default:return!0}}reconcile(f){const w=(f.workbookRels||[]).reduce((j,P)=>(j[P.Id]=P,j),{}),_=[];let A,N=0;(f.sheets||[]).forEach(j=>{const P=w[j.rId];P&&(A=f.worksheetHash["xl/"+P.Target.replace(/^(\s|\/xl\/)+/,"")],A&&(A.name=j.name,A.id=j.id,A.state=j.state,_[N++]=A))});const L=[];m.each(f.definedNames,j=>{if(j.name==="_xlnm.Print_Area"){if(A=_[j.localSheetId],A){A.pageSetup||(A.pageSetup={});const P=o.decodeEx(j.ranges[0]);A.pageSetup.printArea=A.pageSetup.printArea?`${A.pageSetup.printArea}&&${P.dimensions}`:P.dimensions}}else if(j.name==="_xlnm.Print_Titles"){if(A=_[j.localSheetId],A){A.pageSetup||(A.pageSetup={});const P=j.ranges.join(","),D=/\$/g,$=/\$\d+:\$\d+/,B=P.match($);if(B&&B.length){const v=B[0];A.pageSetup.printTitlesRow=v.replace(D,"")}const x=/\$[A-Z]+:\$[A-Z]+/,M=P.match(x);if(M&&M.length){const v=M[0];A.pageSetup.printTitlesColumn=v.replace(D,"")}}}else L.push(j)}),f.definedNames=L,f.media.forEach((j,P)=>{j.index=P})}}u.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},u.STATIC_XFORMS={fileVersion:new t({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},T.exports=u},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./defined-name-xform":33,"./sheet-xform":34,"./workbook-calc-properties-xform":35,"./workbook-properties-xform":36,"./workbook-view-xform":37}],39:[function(s,T,S){const m=s("../strings/rich-text-xform"),o=s("../../../utils/utils"),a=s("../base-xform"),r=T.exports=function(t){this.model=t};o.inherits(r,a,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new m),this._richTextXform},render(t,e){e=e||this.model,t.openNode("comment",{ref:e.ref,authorId:0}),t.openNode("text"),e&&e.note&&e.note.texts&&e.note.texts.forEach(l=>{this.richTextXform.render(t,l)}),t.closeNode(),t.closeNode()},parseOpen(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"comment":return this.model={type:"note",note:{texts:[]},...t.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(t),!0;default:return!1}},parseText(t){this.parser&&this.parser.parseText(t)},parseClose(t){switch(t){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(t),!0}}})},{"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],40:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../../../utils/utils"),a=s("../base-xform"),r=s("./comment-xform"),t=T.exports=function(){this.map={comment:new r}};o.inherits(t,a,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(e,l){l=l||this.model,e.openXml(m.StdDocAttributes),e.openNode("comments",t.COMMENTS_ATTRIBUTES),e.openNode("authors"),e.leafNode("author",null,"Author"),e.closeNode(),e.openNode("commentList"),l.comments.forEach(n=>{this.map.comment.render(e,n)}),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},{"../../../utils/utils":27,"../../../utils/xml-stream":28,"../base-xform":32,"./comment-xform":39}],41:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{constructor(o){super(),this._model=o}get tag(){return this._model&&this._model.tag}render(o,a,r){(a===r[2]||this.tag==="x:SizeWithCells"&&a===r[1])&&o.leafNode(this.tag)}parseOpen(o){switch(o.name){case this.tag:return this.model={},this.model[this.tag]=!0,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../base-xform":32}],42:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{constructor(o){super(),this._model=o}get tag(){return this._model&&this._model.tag}render(o,a){o.leafNode(this.tag,null,a)}parseOpen(o){switch(o.name){case this.tag:return this.text="",!0;default:return!1}}parseText(o){this.text=o}parseClose(){return!1}}},{"../../base-xform":32}],43:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"x:Anchor"}getAnchorRect(o){const a=Math.floor(o.left),r=Math.floor(68*(o.left-a)),t=Math.floor(o.top),e=Math.floor(18*(o.top-t)),l=Math.floor(o.right),n=Math.floor(68*(o.right-l)),i=Math.floor(o.bottom);return[a,r,t,e,l,n,i,Math.floor(18*(o.bottom-i))]}getDefaultRect(o){const a=o.col,r=Math.max(o.row-2,0);return[a,6,r,14,a+2,2,r+4,16]}render(o,a){const r=a.anchor?this.getAnchorRect(a.anchor):this.getDefaultRect(a.refAddress);o.leafNode("x:Anchor",null,r.join(", "))}parseOpen(o){switch(o.name){case this.tag:return this.text="",!0;default:return!1}}parseText(o){this.text=o}parseClose(){return!1}}},{"../base-xform":32}],44:[function(s,T,S){const m=s("../base-xform"),o=s("./vml-anchor-xform"),a=s("./style/vml-protection-xform"),r=s("./style/vml-position-xform"),t=["twoCells","oneCells","absolute"];T.exports=class extends m{constructor(){super(),this.map={"x:Anchor":new o,"x:Locked":new a({tag:"x:Locked"}),"x:LockText":new a({tag:"x:LockText"}),"x:SizeWithCells":new r({tag:"x:SizeWithCells"}),"x:MoveWithCells":new r({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(e,l){const{protection:n,editAs:i}=l.note;e.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(e,i,t),this.map["x:SizeWithCells"].render(e,i,t),this.map["x:Anchor"].render(e,l),this.map["x:Locked"].render(e,n.locked),e.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(e,n.lockText),e.leafNode("x:Row",null,l.refAddress.row-1),e.leafNode("x:Column",null,l.refAddress.col-1),e.closeNode()}parseOpen(e){switch(e.name){case this.tag:this.reset(),this.model={anchor:[],protection:{},editAs:""};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.normalizeModel(),!1;default:return!0}}normalizeModel(){const e=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),l=Object.keys(e).length;this.model.editAs=t[l],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},{"../base-xform":32,"./style/vml-position-xform":41,"./style/vml-protection-xform":42,"./vml-anchor-xform":43}],45:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("./vml-shape-xform");class r extends o{constructor(){super(),this.map={"v:shape":new a}}get tag(){return"xml"}render(e,l){e.openXml(m.StdDocAttributes),e.openNode(this.tag,r.DRAWING_ATTRIBUTES),e.openNode("o:shapelayout",{"v:ext":"edit"}),e.leafNode("o:idmap",{"v:ext":"edit",data:1}),e.closeNode(),e.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),e.leafNode("v:stroke",{joinstyle:"miter"}),e.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),e.closeNode(),l.comments.forEach((n,i)=>{this.map["v:shape"].render(e,n,i)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={comments:[]};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}reconcile(e,l){e.anchors.forEach(n=>{n.br?this.map["xdr:twoCellAnchor"].reconcile(n,l):this.map["xdr:oneCellAnchor"].reconcile(n,l)})}}r.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},T.exports=r},{"../../../utils/xml-stream":28,"../base-xform":32,"./vml-shape-xform":46}],46:[function(s,T,S){const m=s("../base-xform"),o=s("./vml-textbox-xform"),a=s("./vml-client-data-xform");class r extends m{constructor(){super(),this.map={"v:textbox":new o,"x:ClientData":new a}}get tag(){return"v:shape"}render(e,l,n){e.openNode("v:shape",r.V_SHAPE_ATTRIBUTES(l,n)),e.leafNode("v:fill",{color2:"infoBackground [80]"}),e.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),e.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(e,l),this.map["x:ClientData"].render(e,l),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset(),this.model={margins:{insetmode:e.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1;default:return!0}}}r.V_SHAPE_ATTRIBUTES=(t,e)=>({id:"_x0000_s"+(1025+e),type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":t.note.margins&&t.note.margins.insetmode}),T.exports=r},{"../base-xform":32,"./vml-client-data-xform":44,"./vml-textbox-xform":47}],47:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"v:textbox"}conversionUnit(o,a,r){return`${parseFloat(o)*a.toFixed(2)}${r}`}reverseConversionUnit(o){return(o||"").split(",").map(a=>Number(parseFloat(this.conversionUnit(parseFloat(a),.1,"")).toFixed(2)))}render(o,a){const r={style:"mso-direction-alt:auto"};if(a&&a.note){let{inset:t}=a.note&&a.note.margins;Array.isArray(t)&&(t=t.map(e=>this.conversionUnit(e,10,"mm")).join(",")),t&&(r.inset=t)}o.openNode("v:textbox",r),o.leafNode("div",{style:"text-align:left"}),o.closeNode()}parseOpen(o){switch(o.name){case this.tag:return this.model={inset:this.reverseConversionUnit(o.attributes.inset)},!0;default:return!0}}parseText(){}parseClose(o){switch(o){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],48:[function(s,T,S){const m=s("./base-xform");T.exports=class extends m{createNewModel(o){return{}}parseOpen(o){return this.parser=this.parser||this.map[o.name],this.parser?(this.parser.parseOpen(o),!0):o.name===this.tag&&(this.model=this.createNewModel(o),!0)}parseText(o){this.parser&&this.parser.parseText(o)}onParserClose(o,a){this.model[o]=a.model}parseClose(o){return this.parser?(this.parser.parseClose(o)||(this.onParserClose(o,this.parser),this.parser=void 0),!0):o!==this.tag}}},{"./base-xform":32}],49:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){o.openNode("HeadingPairs"),o.openNode("vt:vector",{size:2,baseType:"variant"}),o.openNode("vt:variant"),o.leafNode("vt:lpstr",void 0,"Worksheets"),o.closeNode(),o.openNode("vt:variant"),o.leafNode("vt:i4",void 0,a.length),o.closeNode(),o.closeNode(),o.closeNode()}parseOpen(o){return o.name==="HeadingPairs"}parseText(){}parseClose(o){return o!=="HeadingPairs"}}},{"../base-xform":32}],50:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){o.openNode("TitlesOfParts"),o.openNode("vt:vector",{size:a.length,baseType:"lpstr"}),a.forEach(r=>{o.leafNode("vt:lpstr",void 0,r.name)}),o.closeNode(),o.closeNode()}parseOpen(o){return o.name==="TitlesOfParts"}parseText(){}parseClose(o){return o!=="TitlesOfParts"}}},{"../base-xform":32}],51:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("../simple/string-xform"),r=s("./app-heading-pairs-xform"),t=s("./app-titles-of-parts-xform");class e extends o{constructor(){super(),this.map={Company:new a({tag:"Company"}),Manager:new a({tag:"Manager"}),HeadingPairs:new r,TitleOfParts:new t}}render(n,i){n.openXml(m.StdDocAttributes),n.openNode("Properties",e.PROPERTY_ATTRIBUTES),n.leafNode("Application",void 0,"Microsoft Excel"),n.leafNode("DocSecurity",void 0,"0"),n.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(n,i.worksheets),this.map.TitleOfParts.render(n,i.worksheets),this.map.Company.render(n,i.company||""),this.map.Manager.render(n,i.manager),n.leafNode("LinksUpToDate",void 0,"false"),n.leafNode("SharedDoc",void 0,"false"),n.leafNode("HyperlinksChanged",void 0,"false"),n.leafNode("AppVersion",void 0,"16.0300"),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"Properties":return!0;default:return this.parser=this.map[n.name],!!this.parser&&(this.parser.parseOpen(n),!0)}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case"Properties":return this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1;default:return!0}}}e.DateFormat=function(l){return l.toISOString().replace(/[.]\d{3,6}/,"")},e.DateAttrs={"xsi:type":"dcterms:W3CDTF"},e.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},T.exports=e},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/string-xform":119,"./app-heading-pairs-xform":49,"./app-titles-of-parts-xform":50}],52:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform");class a extends o{render(t,e){t.openXml(m.StdDocAttributes),t.openNode("Types",a.PROPERTY_ATTRIBUTES);const l={};(e.media||[]).forEach(n=>{if(n.type==="image"){const i=n.extension;l[i]||(l[i]=!0,t.leafNode("Default",{Extension:i,ContentType:"image/"+i}))}}),t.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),t.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),t.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),e.worksheets.forEach(n=>{const i=`/xl/worksheets/sheet${n.id}.xml`;t.leafNode("Override",{PartName:i,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})}),t.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),t.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"}),e.sharedStrings&&e.sharedStrings.count&&t.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),e.tables&&e.tables.forEach(n=>{t.leafNode("Override",{PartName:"/xl/tables/"+n.target,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})}),e.drawings&&e.drawings.forEach(n=>{t.leafNode("Override",{PartName:`/xl/drawings/${n.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})}),e.commentRefs&&(t.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),e.commentRefs.forEach(n=>{let{commentName:i}=n;t.leafNode("Override",{PartName:`/xl/${i}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})})),t.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),t.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),t.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}a.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},T.exports=a},{"../../../utils/xml-stream":28,"../base-xform":32}],53:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("../simple/date-xform"),r=s("../simple/string-xform"),t=s("../simple/integer-xform");class e extends o{constructor(){super(),this.map={"dc:creator":new r({tag:"dc:creator"}),"dc:title":new r({tag:"dc:title"}),"dc:subject":new r({tag:"dc:subject"}),"dc:description":new r({tag:"dc:description"}),"dc:identifier":new r({tag:"dc:identifier"}),"dc:language":new r({tag:"dc:language"}),"cp:keywords":new r({tag:"cp:keywords"}),"cp:category":new r({tag:"cp:category"}),"cp:lastModifiedBy":new r({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new a({tag:"cp:lastPrinted",format:e.DateFormat}),"cp:revision":new t({tag:"cp:revision"}),"cp:version":new r({tag:"cp:version"}),"cp:contentStatus":new r({tag:"cp:contentStatus"}),"cp:contentType":new r({tag:"cp:contentType"}),"dcterms:created":new a({tag:"dcterms:created",attrs:e.DateAttrs,format:e.DateFormat}),"dcterms:modified":new a({tag:"dcterms:modified",attrs:e.DateAttrs,format:e.DateFormat})}}render(n,i){n.openXml(m.StdDocAttributes),n.openNode("cp:coreProperties",e.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(n,i.creator),this.map["dc:title"].render(n,i.title),this.map["dc:subject"].render(n,i.subject),this.map["dc:description"].render(n,i.description),this.map["dc:identifier"].render(n,i.identifier),this.map["dc:language"].render(n,i.language),this.map["cp:keywords"].render(n,i.keywords),this.map["cp:category"].render(n,i.category),this.map["cp:lastModifiedBy"].render(n,i.lastModifiedBy),this.map["cp:lastPrinted"].render(n,i.lastPrinted),this.map["cp:revision"].render(n,i.revision),this.map["cp:version"].render(n,i.version),this.map["cp:contentStatus"].render(n,i.contentStatus),this.map["cp:contentType"].render(n,i.contentType),this.map["dcterms:created"].render(n,i.created),this.map["dcterms:modified"].render(n,i.modified),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[n.name],this.parser)return this.parser.parseOpen(n),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(n))}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.parser=void 0),!0;switch(n){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error("Unexpected xml node in parseClose: "+n)}}}e.DateFormat=function(l){return l.toISOString().replace(/[.]\d{3}/,"")},e.DateAttrs={"xsi:type":"dcterms:W3CDTF"},e.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},T.exports=e},{"../../../utils/xml-stream":28,"../base-xform":32,"../simple/date-xform":117,"../simple/integer-xform":118,"../simple/string-xform":119}],54:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{render(o,a){o.leafNode("Relationship",a)}parseOpen(o){switch(o.name){case"Relationship":return this.model=o.attributes,!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],55:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("./relationship-xform");class r extends o{constructor(){super(),this.map={Relationship:new a}}render(e,l){l=l||this._values,e.openXml(m.StdDocAttributes),e.openNode("Relationships",r.RELATIONSHIPS_ATTRIBUTES),l.forEach(n=>{this.map.Relationship.render(e,n)}),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"Relationships":return this.model=[],!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(e))}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0),!0;switch(e){case"Relationships":return!1;default:throw new Error("Unexpected xml node in parseClose: "+e)}}}r.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},T.exports=r},{"../../../utils/xml-stream":28,"../base-xform":32,"./relationship-xform":54}],56:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;switch(o.name){case this.tag:this.reset(),this.model={range:{editAs:o.attributes.editAs||"oneCell"}};break;default:this.parser=this.map[o.name],this.parser&&this.parser.parseOpen(o)}return!0}parseText(o){this.parser&&this.parser.parseText(o)}reconcilePicture(o,a){if(o&&o.rId){const r=a.rels[o.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){const t=r[1],e=a.mediaIndex[t];return a.media[e]}}}}},{"../base-xform":32}],57:[function(s,T,S){const m=s("../base-xform"),o=s("./blip-xform");T.exports=class extends m{constructor(){super(),this.map={"a:blip":new o}}get tag(){return"xdr:blipFill"}render(a,r){a.openNode(this.tag),this.map["a:blip"].render(a,r),a.openNode("a:stretch"),a.leafNode("a:fillRect"),a.closeNode(),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:this.reset();break;default:this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a)}return!0}parseText(){}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case this.tag:return this.model=this.map["a:blip"].model,!1;default:return!0}}}},{"../base-xform":32,"./blip-xform":58}],58:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"a:blip"}render(o,a){o.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":a.rId,cstate:"print"})}parseOpen(o){switch(o.name){case this.tag:return this.model={rId:o.attributes["r:embed"]},!0;default:return!0}}parseText(){}parseClose(o){switch(o){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],59:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"xdr:cNvPicPr"}render(o){o.openNode(this.tag),o.leafNode("a:picLocks",{noChangeAspect:"1"}),o.closeNode()}parseOpen(o){switch(o.name){case this.tag:default:return!0}}parseText(){}parseClose(o){switch(o){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],60:[function(s,T,S){const m=s("../base-xform"),o=s("./hlink-click-xform"),a=s("./ext-lst-xform");T.exports=class extends m{constructor(){super(),this.map={"a:hlinkClick":new o,"a:extLst":new a}}get tag(){return"xdr:cNvPr"}render(r,t){r.openNode(this.tag,{id:t.index,name:"Picture "+t.index}),this.map["a:hlinkClick"].render(r,t),this.map["a:extLst"].render(r,t),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset();break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(){}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.parser=void 0),!0;switch(r){case this.tag:return this.model=this.map["a:hlinkClick"].model,!1;default:return!0}}}},{"../base-xform":32,"./ext-lst-xform":63,"./hlink-click-xform":65}],61:[function(s,T,S){const m=s("../base-xform"),o=s("../simple/integer-xform");T.exports=class extends m{constructor(a){super(),this.tag=a.tag,this.map={"xdr:col":new o({tag:"xdr:col",zero:!0}),"xdr:colOff":new o({tag:"xdr:colOff",zero:!0}),"xdr:row":new o({tag:"xdr:row",zero:!0}),"xdr:rowOff":new o({tag:"xdr:rowOff",zero:!0})}}render(a,r){a.openNode(this.tag),this.map["xdr:col"].render(a,r.nativeCol),this.map["xdr:colOff"].render(a,r.nativeColOff),this.map["xdr:row"].render(a,r.nativeRow),this.map["xdr:rowOff"].render(a,r.nativeRowOff),a.closeNode()}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:this.reset();break;default:this.parser=this.map[a.name],this.parser&&this.parser.parseOpen(a)}return!0}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.parser=void 0),!0;switch(a){case this.tag:return this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1;default:return!0}}}},{"../base-xform":32,"../simple/integer-xform":118}],62:[function(s,T,S){const m=s("../../../utils/col-cache"),o=s("../../../utils/xml-stream"),a=s("../base-xform"),r=s("./two-cell-anchor-xform"),t=s("./one-cell-anchor-xform");class e extends a{constructor(){super(),this.map={"xdr:twoCellAnchor":new r,"xdr:oneCellAnchor":new t}}prepare(n){n.anchors.forEach((i,c)=>{i.anchorType=function(h){return(typeof h.range=="string"?m.decode(h.range):h.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(i),this.map[i.anchorType].prepare(i,{index:c})})}get tag(){return"xdr:wsDr"}render(n,i){n.openXml(o.StdDocAttributes),n.openNode(this.tag,e.DRAWING_ATTRIBUTES),i.anchors.forEach(c=>{this.map[c.anchorType].render(n,c)}),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:this.reset(),this.model={anchors:[]};break;default:this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n)}return!0}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){if(this.parser)return this.parser.parseClose(n)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0;switch(n){case this.tag:return!1;default:return!0}}reconcile(n,i){n.anchors.forEach(c=>{c.br?this.map["xdr:twoCellAnchor"].reconcile(c,i):this.map["xdr:oneCellAnchor"].reconcile(c,i)})}}e.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},T.exports=e},{"../../../utils/col-cache":19,"../../../utils/xml-stream":28,"../base-xform":32,"./one-cell-anchor-xform":67,"./two-cell-anchor-xform":70}],63:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"a:extLst"}render(o){o.openNode(this.tag),o.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),o.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),o.closeNode(),o.closeNode()}parseOpen(o){switch(o.name){case this.tag:default:return!0}}parseText(){}parseClose(o){switch(o){case this.tag:return!1;default:return!0}}}},{"../base-xform":32}],64:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.map={}}render(o,a){o.openNode(this.tag);const r=Math.floor(9525*a.width),t=Math.floor(9525*a.height);o.addAttribute("cx",r),o.addAttribute("cy",t),o.closeNode()}parseOpen(o){return o.name===this.tag&&(this.model={width:parseInt(o.attributes.cx||"0",10)/9525,height:parseInt(o.attributes.cy||"0",10)/9525},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],65:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"a:hlinkClick"}render(o,a){a.hyperlinks&&a.hyperlinks.rId&&o.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":a.hyperlinks.rId,tooltip:a.hyperlinks.tooltip})}parseOpen(o){switch(o.name){case this.tag:return this.model={hyperlinks:{rId:o.attributes["r:id"],tooltip:o.attributes.tooltip}},!0;default:return!0}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],66:[function(s,T,S){const m=s("../base-xform"),o=s("./c-nv-pr-xform"),a=s("./c-nv-pic-pr-xform");T.exports=class extends m{constructor(){super(),this.map={"xdr:cNvPr":new o,"xdr:cNvPicPr":new a}}get tag(){return"xdr:nvPicPr"}render(r,t){r.openNode(this.tag),this.map["xdr:cNvPr"].render(r,t),this.map["xdr:cNvPicPr"].render(r,t),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case this.tag:this.reset();break;default:this.parser=this.map[r.name],this.parser&&this.parser.parseOpen(r)}return!0}parseText(){}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.parser=void 0),!0;switch(r){case this.tag:return this.model=this.map["xdr:cNvPr"].model,!1;default:return!0}}}},{"../base-xform":32,"./c-nv-pic-pr-xform":59,"./c-nv-pr-xform":60}],67:[function(s,T,S){const m=s("./base-cell-anchor-xform"),o=s("../static-xform"),a=s("./cell-position-xform"),r=s("./ext-xform"),t=s("./pic-xform");T.exports=class extends m{constructor(){super(),this.map={"xdr:from":new a({tag:"xdr:from"}),"xdr:ext":new r({tag:"xdr:ext"}),"xdr:pic":new t,"xdr:clientData":new o({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(e,l){this.map["xdr:pic"].prepare(e.picture,l)}render(e,l){e.openNode(this.tag,{editAs:l.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,l.range.tl),this.map["xdr:ext"].render(e,l.range.ext),this.map["xdr:pic"].render(e,l.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(e,l){e.medium=this.reconcilePicture(e.picture,l)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./ext-xform":64,"./pic-xform":68}],68:[function(s,T,S){const m=s("../base-xform"),o=s("../static-xform"),a=s("./blip-fill-xform"),r=s("./nv-pic-pr-xform"),t=s("./sp-pr");T.exports=class extends m{constructor(){super(),this.map={"xdr:nvPicPr":new r,"xdr:blipFill":new a,"xdr:spPr":new o(t)}}get tag(){return"xdr:pic"}prepare(e,l){e.index=l.index+1}render(e,l){e.openNode(this.tag),this.map["xdr:nvPicPr"].render(e,l),this.map["xdr:blipFill"].render(e,l),this.map["xdr:spPr"].render(e,l),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.tag:this.reset();break;default:this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)}return!0}parseText(){}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0;switch(e){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"../static-xform":120,"./blip-fill-xform":57,"./nv-pic-pr-xform":66,"./sp-pr":69}],69:[function(s,T,S){T.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},{}],70:[function(s,T,S){const m=s("./base-cell-anchor-xform"),o=s("../static-xform"),a=s("./cell-position-xform"),r=s("./pic-xform");T.exports=class extends m{constructor(){super(),this.map={"xdr:from":new a({tag:"xdr:from"}),"xdr:to":new a({tag:"xdr:to"}),"xdr:pic":new r,"xdr:clientData":new o({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(t,e){this.map["xdr:pic"].prepare(t.picture,e)}render(t,e){t.openNode(this.tag,{editAs:e.range.editAs||"oneCell"}),this.map["xdr:from"].render(t,e.range.tl),this.map["xdr:to"].render(t,e.range.br),this.map["xdr:pic"].render(t,e.picture),this.map["xdr:clientData"].render(t,{}),t.closeNode()}parseClose(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1;default:return!0}}reconcile(t,e){t.medium=this.reconcilePicture(t.picture,e)}}},{"../static-xform":120,"./base-cell-anchor-xform":56,"./cell-position-xform":61,"./pic-xform":68}],71:[function(s,T,S){const m=s("./base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.always=!!o.always,this.count=o.count,this.empty=o.empty,this.$count=o.$count||"count",this.$=o.$,this.childXform=o.childXform,this.maxItems=o.maxItems}prepare(o,a){const{childXform:r}=this;o&&o.forEach((t,e)=>{a.index=e,r.prepare(t,a)})}render(o,a){if(this.always||a&&a.length){o.openNode(this.tag,this.$),this.count&&o.addAttribute(this.$count,a&&a.length||0);const{childXform:r}=this;(a||[]).forEach((t,e)=>{r.render(o,t,e)}),o.closeNode()}else this.empty&&o.leafNode(this.tag)}parseOpen(o){if(this.parser)return this.parser.parseOpen(o),!0;switch(o.name){case this.tag:return this.model=[],!0;default:return!!this.childXform.parseOpen(o)&&(this.parser=this.childXform,!0)}}parseText(o){this.parser&&this.parser.parseText(o)}parseClose(o){if(this.parser){if(!this.parser.parseClose(o)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(o,a){if(o){const{childXform:r}=this;o.forEach(t=>{r.reconcile(t,a)})}}}},{"./base-xform":32}],72:[function(s,T,S){const m=s("../../../utils/col-cache"),o=s("../base-xform");T.exports=class extends o{get tag(){return"autoFilter"}render(a,r){if(r)if(typeof r=="string")a.leafNode("autoFilter",{ref:r});else{const t=function(n){return typeof n=="string"?n:m.getAddress(n.row,n.column).address},e=t(r.from),l=t(r.to);e&&l&&a.leafNode("autoFilter",{ref:`${e}:${l}`})}}parseOpen(a){a.name==="autoFilter"&&(this.model=a.attributes.ref)}}},{"../../../utils/col-cache":19,"../base-xform":32}],73:[function(s,T,S){const m=s("../../../utils/utils"),o=s("../base-xform"),a=s("../../../doc/range"),r=s("../../../doc/enums"),t=s("../strings/rich-text-xform");function e(l){if(l==null)return r.ValueType.Null;if(l instanceof String||typeof l=="string")return r.ValueType.String;if(typeof l=="number")return r.ValueType.Number;if(typeof l=="boolean")return r.ValueType.Boolean;if(l instanceof Date)return r.ValueType.Date;if(l.text&&l.hyperlink)return r.ValueType.Hyperlink;if(l.formula)return r.ValueType.Formula;if(l.error)return r.ValueType.Error;throw new Error("I could not understand type of value")}T.exports=class extends o{constructor(){super(),this.richTextXForm=new t}get tag(){return"c"}prepare(l,n){const i=n.styles.addStyleModel(l.style||{},function(c){switch(c.type){case r.ValueType.Formula:return e(c.result);default:return c.type}}(l));switch(i&&(l.styleId=i),l.comment&&n.comments.push({...l.comment,ref:l.address}),l.type){case r.ValueType.String:case r.ValueType.RichText:n.sharedStrings&&(l.ssId=n.sharedStrings.add(l.value));break;case r.ValueType.Date:n.date1904&&(l.date1904=!0);break;case r.ValueType.Hyperlink:n.sharedStrings&&l.text!==void 0&&l.text!==null&&(l.ssId=n.sharedStrings.add(l.text)),n.hyperlinks.push({address:l.address,target:l.hyperlink,tooltip:l.tooltip});break;case r.ValueType.Merge:n.merges.add(l);break;case r.ValueType.Formula:if(n.date1904&&(l.date1904=!0),l.shareType==="shared"&&(l.si=n.siFormulae++),l.formula)n.formulae[l.address]=l;else if(l.sharedFormula){const c=n.formulae[l.sharedFormula];if(!c)throw new Error("Shared Formula master must exist above and or left of clone for cell "+l.address);c.si===void 0?(c.shareType="shared",c.si=n.siFormulae++,c.range=new a(c.address,l.address)):c.range&&c.range.expandToAddress(l.address),l.si=c.si}}}renderFormula(l,n){let i=null;switch(n.shareType){case"shared":i={t:"shared",ref:n.ref||n.range.range,si:n.si};break;case"array":i={t:"array",ref:n.ref};break;default:n.si!==void 0&&(i={t:"shared",si:n.si})}switch(e(n.result)){case r.ValueType.Null:l.leafNode("f",i,n.formula);break;case r.ValueType.String:l.addAttribute("t","str"),l.leafNode("f",i,n.formula),l.leafNode("v",null,n.result);break;case r.ValueType.Number:l.leafNode("f",i,n.formula),l.leafNode("v",null,n.result);break;case r.ValueType.Boolean:l.addAttribute("t","b"),l.leafNode("f",i,n.formula),l.leafNode("v",null,n.result?1:0);break;case r.ValueType.Error:l.addAttribute("t","e"),l.leafNode("f",i,n.formula),l.leafNode("v",null,n.result.error);break;case r.ValueType.Date:l.leafNode("f",i,n.formula),l.leafNode("v",null,m.dateToExcel(n.result,n.date1904));break;default:throw new Error("I could not understand type of value")}}render(l,n){if(n.type!==r.ValueType.Null||n.styleId){switch(l.openNode("c"),l.addAttribute("r",n.address),n.styleId&&l.addAttribute("s",n.styleId),n.type){case r.ValueType.Null:break;case r.ValueType.Number:l.leafNode("v",null,n.value);break;case r.ValueType.Boolean:l.addAttribute("t","b"),l.leafNode("v",null,n.value?"1":"0");break;case r.ValueType.Error:l.addAttribute("t","e"),l.leafNode("v",null,n.value.error);break;case r.ValueType.String:case r.ValueType.RichText:n.ssId!==void 0?(l.addAttribute("t","s"),l.leafNode("v",null,n.ssId)):n.value&&n.value.richText?(l.addAttribute("t","inlineStr"),l.openNode("is"),n.value.richText.forEach(i=>{this.richTextXForm.render(l,i)}),l.closeNode("is")):(l.addAttribute("t","str"),l.leafNode("v",null,n.value));break;case r.ValueType.Date:l.leafNode("v",null,m.dateToExcel(n.value,n.date1904));break;case r.ValueType.Hyperlink:n.ssId!==void 0?(l.addAttribute("t","s"),l.leafNode("v",null,n.ssId)):(l.addAttribute("t","str"),l.leafNode("v",null,n.text));break;case r.ValueType.Formula:this.renderFormula(l,n);break;case r.ValueType.Merge:}l.closeNode()}}parseOpen(l){if(this.parser)return this.parser.parseOpen(l),!0;switch(l.name){case"c":return this.model={address:l.attributes.r},this.t=l.attributes.t,l.attributes.s&&(this.model.styleId=parseInt(l.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=l.attributes.si,this.model.shareType=l.attributes.t,this.model.ref=l.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(l),!0;default:return!1}}parseText(l){if(this.parser)this.parser.parseText(l);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+l:l;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+l:l:this.model.value=this.model.value?this.model.value+l:l}}parseClose(l){switch(l){case"c":{const{model:n}=this;if(n.formula||n.shareType)n.type=r.ValueType.Formula,n.value&&(this.t==="str"?n.result=m.xmlDecode(n.value):this.t==="b"?n.result=parseInt(n.value,10)!==0:this.t==="e"?n.result={error:n.value}:n.result=parseFloat(n.value),n.value=void 0);else if(n.value!==void 0)switch(this.t){case"s":n.type=r.ValueType.String,n.value=parseInt(n.value,10);break;case"str":n.type=r.ValueType.String,n.value=m.xmlDecode(n.value);break;case"inlineStr":n.type=r.ValueType.String;break;case"b":n.type=r.ValueType.Boolean,n.value=parseInt(n.value,10)!==0;break;case"e":n.type=r.ValueType.Error,n.value={error:n.value};break;default:n.type=r.ValueType.Number,n.value=parseFloat(n.value)}else n.styleId?n.type=r.ValueType.Null:n.type=r.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(l),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(l),!0)}}reconcile(l,n){const i=l.styleId&&n.styles&&n.styles.getStyleModel(l.styleId);switch(i&&(l.style=i),l.styleId!==void 0&&(l.styleId=void 0),l.type){case r.ValueType.String:typeof l.value=="number"&&n.sharedStrings&&(l.value=n.sharedStrings.getString(l.value)),l.value.richText&&(l.type=r.ValueType.RichText);break;case r.ValueType.Number:i&&m.isDateFmt(i.numFmt)&&(l.type=r.ValueType.Date,l.value=m.excelToDate(l.value,n.date1904));break;case r.ValueType.Formula:l.result!==void 0&&i&&m.isDateFmt(i.numFmt)&&(l.result=m.excelToDate(l.result,n.date1904)),l.shareType==="shared"&&(l.ref?n.formulae[l.si]=l.address:(l.sharedFormula=n.formulae[l.si],delete l.shareType),delete l.si)}const c=n.hyperlinkMap[l.address];c&&(l.type===r.ValueType.Formula?(l.text=l.result,l.result=void 0):(l.text=l.value,l.value=void 0),l.type=r.ValueType.Hyperlink,l.hyperlink=c);const h=n.commentsMap&&n.commentsMap[l.address];h&&(l.comment=h)}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/utils":27,"../base-xform":32,"../strings/rich-text-xform":122}],74:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{get tag(){return"x14:cfIcon"}render(o,a){o.leafNode(this.tag,{iconSet:a.iconSet,iconId:a.iconId})}parseOpen(o){let{attributes:a}=o;this.model={iconSet:a.iconSet,iconId:m.toIntValue(a.iconId)}}parseClose(o){return o!==this.tag}}},{"../../base-xform":32}],75:[function(s,T,S){const{v4:m}=s("uuid"),o=s("../../base-xform"),a=s("../../composite-xform"),r=s("./databar-ext-xform"),t=s("./icon-set-ext-xform"),e={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class l extends a{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new r,"x14:iconSet":this.iconSetXform=new t}}get tag(){return"x14:cfRule"}static isExt(i){return i.type==="dataBar"?r.isExt(i):!(i.type!=="iconSet"||!i.custom&&!e[i.iconSet])}prepare(i){l.isExt(i)&&(i.x14Id=`{${m()}}`.toUpperCase())}render(i,c){if(l.isExt(c))switch(c.type){case"dataBar":this.renderDataBar(i,c);break;case"iconSet":this.renderIconSet(i,c)}}renderDataBar(i,c){i.openNode(this.tag,{type:"dataBar",id:c.x14Id}),this.databarXform.render(i,c),i.closeNode()}renderIconSet(i,c){i.openNode(this.tag,{type:"iconSet",priority:c.priority,id:c.x14Id||`{${m()}}`}),this.iconSetXform.render(i,c),i.closeNode()}createNewModel(i){let{attributes:c}=i;return{type:c.type,x14Id:c.id,priority:o.toIntValue(c.priority)}}onParserClose(i,c){Object.assign(this.model,c.model)}}T.exports=l},{"../../base-xform":32,"../../composite-xform":48,"./databar-ext-xform":79,"./icon-set-ext-xform":81,uuid:528}],76:[function(s,T,S){const m=s("../../composite-xform"),o=s("./f-ext-xform");T.exports=class extends m{constructor(){super(),this.map={"xm:f":this.fExtXform=new o}}get tag(){return"x14:cfvo"}render(a,r){a.openNode(this.tag,{type:r.type}),r.value!==void 0&&this.fExtXform.render(a,r.value),a.closeNode()}createNewModel(a){return{type:a.attributes.type}}onParserClose(a,r){switch(a){case"xm:f":this.model.value=r.model?parseFloat(r.model):0}}}},{"../../composite-xform":48,"./f-ext-xform":80}],77:[function(s,T,S){const m=s("../../composite-xform"),o=s("./sqref-ext-xform"),a=s("./cf-rule-ext-xform");T.exports=class extends m{constructor(){super(),this.map={"xm:sqref":this.sqRef=new o,"x14:cfRule":this.cfRule=new a}}get tag(){return"x14:conditionalFormatting"}prepare(r,t){r.rules.forEach(e=>{this.cfRule.prepare(e,t)})}render(r,t){t.rules.some(a.isExt)&&(r.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),t.rules.filter(a.isExt).forEach(e=>this.cfRule.render(r,e)),this.sqRef.render(r,t.ref),r.closeNode())}createNewModel(){return{rules:[]}}onParserClose(r,t){switch(r){case"xm:sqref":this.model.ref=t.model;break;case"x14:cfRule":this.model.rules.push(t.model)}}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./sqref-ext-xform":82}],78:[function(s,T,S){const m=s("../../composite-xform"),o=s("./cf-rule-ext-xform"),a=s("./conditional-formatting-ext-xform");T.exports=class extends m{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new a}}get tag(){return"x14:conditionalFormattings"}hasContent(r){return r.hasExtContent===void 0&&(r.hasExtContent=r.some(t=>t.rules.some(o.isExt))),r.hasExtContent}prepare(r,t){r.forEach(e=>{this.cfXform.prepare(e,t)})}render(r,t){this.hasContent(t)&&(r.openNode(this.tag),t.forEach(e=>this.cfXform.render(r,e)),r.closeNode())}createNewModel(){return[]}onParserClose(r,t){this.model.push(t.model)}}},{"../../composite-xform":48,"./cf-rule-ext-xform":75,"./conditional-formatting-ext-xform":77}],79:[function(s,T,S){const m=s("../../base-xform"),o=s("../../composite-xform"),a=s("../../style/color-xform"),r=s("./cfvo-ext-xform");T.exports=class extends o{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new r,"x14:borderColor":this.borderColorXform=new a("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new a("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new a("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new a("x14:axisColor")}}static isExt(t){return!t.gradient}get tag(){return"x14:dataBar"}render(t,e){t.openNode(this.tag,{minLength:m.toIntAttribute(e.minLength,0,!0),maxLength:m.toIntAttribute(e.maxLength,100,!0),border:m.toBoolAttribute(e.border,!1),gradient:m.toBoolAttribute(e.gradient,!0),negativeBarColorSameAsPositive:m.toBoolAttribute(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:m.toBoolAttribute(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:m.toAttribute(e.axisPosition,"auto"),direction:m.toAttribute(e.direction,"leftToRight")}),e.cfvo.forEach(l=>{this.cfvoXform.render(t,l)}),this.borderColorXform.render(t,e.borderColor),this.negativeBorderColorXform.render(t,e.negativeBorderColor),this.negativeFillColorXform.render(t,e.negativeFillColor),this.axisColorXform.render(t,e.axisColor),t.closeNode()}createNewModel(t){let{attributes:e}=t;return{cfvo:[],minLength:m.toIntValue(e.minLength,0),maxLength:m.toIntValue(e.maxLength,100),border:m.toBoolValue(e.border,!1),gradient:m.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:m.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:m.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:m.toStringValue(e.axisPosition,"auto"),direction:m.toStringValue(e.direction,"leftToRight")}}onParserClose(t,e){const[,l]=t.split(":");switch(l){case"cfvo":this.model.cfvo.push(e.model);break;default:this.model[l]=e.model}}}},{"../../base-xform":32,"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-ext-xform":76}],80:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{get tag(){return"xm:f"}render(o,a){o.leafNode(this.tag,null,a)}parseOpen(){this.model=""}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{"../../base-xform":32}],81:[function(s,T,S){const m=s("../../base-xform"),o=s("../../composite-xform"),a=s("./cfvo-ext-xform"),r=s("./cf-icon-ext-xform");T.exports=class extends o{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new a,"x14:cfIcon":this.cfIconXform=new r}}get tag(){return"x14:iconSet"}render(t,e){t.openNode(this.tag,{iconSet:m.toStringAttribute(e.iconSet),reverse:m.toBoolAttribute(e.reverse,!1),showValue:m.toBoolAttribute(e.showValue,!0),custom:m.toBoolAttribute(e.icons,!1)}),e.cfvo.forEach(l=>{this.cfvoXform.render(t,l)}),e.icons&&e.icons.forEach((l,n)=>{l.iconId=n,this.cfIconXform.render(t,l)}),t.closeNode()}createNewModel(t){let{attributes:e}=t;return{cfvo:[],iconSet:m.toStringValue(e.iconSet,"3TrafficLights"),reverse:m.toBoolValue(e.reverse,!1),showValue:m.toBoolValue(e.showValue,!0)}}onParserClose(t,e){const[,l]=t.split(":");switch(l){case"cfvo":this.model.cfvo.push(e.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(e.model);break;default:this.model[l]=e.model}}}},{"../../base-xform":32,"../../composite-xform":48,"./cf-icon-ext-xform":74,"./cfvo-ext-xform":76}],82:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{get tag(){return"xm:sqref"}render(o,a){o.leafNode(this.tag,null,a)}parseOpen(){this.model=""}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{"../../base-xform":32}],83:[function(s,T,S){const m=s("../../base-xform"),o=s("../../composite-xform"),a=s("../../../../doc/range"),r=s("./databar-xform"),t=s("./ext-lst-ref-xform"),e=s("./formula-xform"),l=s("./color-scale-xform"),n=s("./icon-set-xform"),i={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},c=u=>{const{type:d,operator:f}=u;switch(d){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:d};default:return{type:d,operator:f}}};class h extends o{constructor(){super(),this.map={dataBar:this.databarXform=new r,extLst:this.extLstRefXform=new t,formula:this.formulaXform=new e,colorScale:this.colorScaleXform=new l,iconSet:this.iconSetXform=new n}}get tag(){return"cfRule"}static isPrimitive(d){return d.type!=="iconSet"||!d.custom&&!i[d.iconSet]}render(d,f){switch(f.type){case"expression":this.renderExpression(d,f);break;case"cellIs":this.renderCellIs(d,f);break;case"top10":this.renderTop10(d,f);break;case"aboveAverage":this.renderAboveAverage(d,f);break;case"dataBar":this.renderDataBar(d,f);break;case"colorScale":this.renderColorScale(d,f);break;case"iconSet":this.renderIconSet(d,f);break;case"containsText":this.renderText(d,f);break;case"timePeriod":this.renderTimePeriod(d,f)}}renderExpression(d,f){d.openNode(this.tag,{type:"expression",dxfId:f.dxfId,priority:f.priority}),this.formulaXform.render(d,f.formulae[0]),d.closeNode()}renderCellIs(d,f){d.openNode(this.tag,{type:"cellIs",dxfId:f.dxfId,priority:f.priority,operator:f.operator}),f.formulae.forEach(w=>{this.formulaXform.render(d,w)}),d.closeNode()}renderTop10(d,f){d.leafNode(this.tag,{type:"top10",dxfId:f.dxfId,priority:f.priority,percent:m.toBoolAttribute(f.percent,!1),bottom:m.toBoolAttribute(f.bottom,!1),rank:m.toIntValue(f.rank,10,!0)})}renderAboveAverage(d,f){d.leafNode(this.tag,{type:"aboveAverage",dxfId:f.dxfId,priority:f.priority,aboveAverage:m.toBoolAttribute(f.aboveAverage,!0)})}renderDataBar(d,f){d.openNode(this.tag,{type:"dataBar",priority:f.priority}),this.databarXform.render(d,f),this.extLstRefXform.render(d,f),d.closeNode()}renderColorScale(d,f){d.openNode(this.tag,{type:"colorScale",priority:f.priority}),this.colorScaleXform.render(d,f),d.closeNode()}renderIconSet(d,f){h.isPrimitive(f)&&(d.openNode(this.tag,{type:"iconSet",priority:f.priority}),this.iconSetXform.render(d,f),d.closeNode())}renderText(d,f){d.openNode(this.tag,{type:f.operator,dxfId:f.dxfId,priority:f.priority,operator:m.toStringAttribute(f.operator,"containsText")});const w=(_=>{if(_.formulae&&_.formulae[0])return _.formulae[0];const A=new a(_.ref),{tl:N}=A;switch(_.operator){case"containsText":return`NOT(ISERROR(SEARCH("${_.text}",${N})))`;case"containsBlanks":return`LEN(TRIM(${N}))=0`;case"notContainsBlanks":return`LEN(TRIM(${N}))>0`;case"containsErrors":return`ISERROR(${N})`;case"notContainsErrors":return`NOT(ISERROR(${N}))`;default:return}})(f);w&&this.formulaXform.render(d,w),d.closeNode()}renderTimePeriod(d,f){d.openNode(this.tag,{type:"timePeriod",dxfId:f.dxfId,priority:f.priority,timePeriod:f.timePeriod});const w=(_=>{if(_.formulae&&_.formulae[0])return _.formulae[0];const A=new a(_.ref),{tl:N}=A;switch(_.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${N},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${N},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${N},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${N},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${N},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${N},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${N},1)=TODAY()-1`;case"today":return`FLOOR(${N},1)=TODAY()`;case"tomorrow":return`FLOOR(${N},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${N},1)<=6,FLOOR(${N},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${N})=MONTH(EDATE(TODAY(),0-1)),YEAR(${N})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${N})=MONTH(TODAY()),YEAR(${N})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${N})=MONTH(EDATE(TODAY(),0+1)),YEAR(${N})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(f);w&&this.formulaXform.render(d,w),d.closeNode()}createNewModel(d){let{attributes:f}=d;return{...c(f),dxfId:m.toIntValue(f.dxfId),priority:m.toIntValue(f.priority),timePeriod:f.timePeriod,percent:m.toBoolValue(f.percent),bottom:m.toBoolValue(f.bottom),rank:m.toIntValue(f.rank),aboveAverage:m.toBoolValue(f.aboveAverage)}}onParserClose(d,f){switch(d){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,f.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(f.model)}}}T.exports=h},{"../../../../doc/range":10,"../../base-xform":32,"../../composite-xform":48,"./color-scale-xform":85,"./databar-xform":88,"./ext-lst-ref-xform":89,"./formula-xform":90,"./icon-set-xform":91}],84:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{get tag(){return"cfvo"}render(o,a){o.leafNode(this.tag,{type:a.type,val:a.value})}parseOpen(o){this.model={type:o.attributes.type,value:m.toFloatValue(o.attributes.val)}}parseClose(o){return o!==this.tag}}},{"../../base-xform":32}],85:[function(s,T,S){const m=s("../../composite-xform"),o=s("../../style/color-xform"),a=s("./cfvo-xform");T.exports=class extends m{constructor(){super(),this.map={cfvo:this.cfvoXform=new a,color:this.colorXform=new o}}get tag(){return"colorScale"}render(r,t){r.openNode(this.tag),t.cfvo.forEach(e=>{this.cfvoXform.render(r,e)}),t.color.forEach(e=>{this.colorXform.render(r,e)}),r.closeNode()}createNewModel(r){return{cfvo:[],color:[]}}onParserClose(r,t){this.model[r].push(t.model)}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],86:[function(s,T,S){const m=s("../../composite-xform"),o=s("./cf-rule-xform");T.exports=class extends m{constructor(){super(),this.map={cfRule:new o}}get tag(){return"conditionalFormatting"}render(a,r){r.rules.some(o.isPrimitive)&&(a.openNode(this.tag,{sqref:r.ref}),r.rules.forEach(t=>{o.isPrimitive(t)&&(t.ref=r.ref,this.map.cfRule.render(a,t))}),a.closeNode())}createNewModel(a){let{attributes:r}=a;return{ref:r.sqref,rules:[]}}onParserClose(a,r){this.model.rules.push(r.model)}}},{"../../composite-xform":48,"./cf-rule-xform":83}],87:[function(s,T,S){const m=s("../../base-xform"),o=s("./conditional-formatting-xform");T.exports=class extends m{constructor(){super(),this.cfXform=new o}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(a,r){let t=a.reduce((e,l)=>Math.max(e,...l.rules.map(n=>n.priority||0)),1);a.forEach(e=>{e.rules.forEach(l=>{l.priority||(l.priority=t++),l.style&&(l.dxfId=r.styles.addDxfStyle(l.style))})})}render(a,r){r.forEach(t=>{this.cfXform.render(a,t)})}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case"conditionalFormatting":return this.parser=this.cfXform,this.parser.parseOpen(a),!0;default:return!1}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){return!!this.parser&&(!!this.parser.parseClose(a)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(a,r){a.forEach(t=>{t.rules.forEach(e=>{e.dxfId!==void 0&&(e.style=r.styles.getDxfStyle(e.dxfId),delete e.dxfId)})})}}},{"../../base-xform":32,"./conditional-formatting-xform":86}],88:[function(s,T,S){const m=s("../../composite-xform"),o=s("../../style/color-xform"),a=s("./cfvo-xform");T.exports=class extends m{constructor(){super(),this.map={cfvo:this.cfvoXform=new a,color:this.colorXform=new o}}get tag(){return"dataBar"}render(r,t){r.openNode(this.tag),t.cfvo.forEach(e=>{this.cfvoXform.render(r,e)}),this.colorXform.render(r,t.color),r.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(r,t){switch(r){case"cfvo":this.model.cfvo.push(t.model);break;case"color":this.model.color=t.model}}}},{"../../composite-xform":48,"../../style/color-xform":128,"./cfvo-xform":84}],89:[function(s,T,S){const m=s("../../base-xform"),o=s("../../composite-xform");class a extends m{get tag(){return"x14:id"}render(e,l){e.leafNode(this.tag,null,l)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}class r extends o{constructor(){super(),this.map={"x14:id":this.idXform=new a}}get tag(){return"ext"}render(e,l){e.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(e,l.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,l){this.model.x14Id=l.model}}T.exports=class extends o{constructor(){super(),this.map={ext:new r}}get tag(){return"extLst"}render(t,e){t.openNode(this.tag),this.map.ext.render(t,e),t.closeNode()}createNewModel(){return{}}onParserClose(t,e){Object.assign(this.model,e.model)}}},{"../../base-xform":32,"../../composite-xform":48}],90:[function(s,T,S){const m=s("../../base-xform");T.exports=class extends m{get tag(){return"formula"}render(o,a){o.leafNode(this.tag,null,a)}parseOpen(){this.model=""}parseText(o){this.model+=o}parseClose(o){return o!==this.tag}}},{"../../base-xform":32}],91:[function(s,T,S){const m=s("../../base-xform"),o=s("../../composite-xform"),a=s("./cfvo-xform");T.exports=class extends o{constructor(){super(),this.map={cfvo:this.cfvoXform=new a}}get tag(){return"iconSet"}render(r,t){r.openNode(this.tag,{iconSet:m.toStringAttribute(t.iconSet,"3TrafficLights"),reverse:m.toBoolAttribute(t.reverse,!1),showValue:m.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach(e=>{this.cfvoXform.render(r,e)}),r.closeNode()}createNewModel(r){let{attributes:t}=r;return{iconSet:m.toStringValue(t.iconSet,"3TrafficLights"),reverse:m.toBoolValue(t.reverse),showValue:m.toBoolValue(t.showValue),cfvo:[]}}onParserClose(r,t){this.model[r].push(t.model)}}},{"../../base-xform":32,"../../composite-xform":48,"./cfvo-xform":84}],92:[function(s,T,S){const m=s("../../../utils/utils"),o=s("../base-xform");T.exports=class extends o{get tag(){return"col"}prepare(a,r){const t=r.styles.addStyleModel(a.style||{});t&&(a.styleId=t)}render(a,r){a.openNode("col"),a.addAttribute("min",r.min),a.addAttribute("max",r.max),r.width&&a.addAttribute("width",r.width),r.styleId&&a.addAttribute("style",r.styleId),r.hidden&&a.addAttribute("hidden","1"),r.bestFit&&a.addAttribute("bestFit","1"),r.outlineLevel&&a.addAttribute("outlineLevel",r.outlineLevel),r.collapsed&&a.addAttribute("collapsed","1"),a.addAttribute("customWidth","1"),a.closeNode()}parseOpen(a){if(a.name==="col"){const r=this.model={min:parseInt(a.attributes.min||"0",10),max:parseInt(a.attributes.max||"0",10),width:a.attributes.width===void 0?void 0:parseFloat(a.attributes.width||"0")};return a.attributes.style&&(r.styleId=parseInt(a.attributes.style,10)),m.parseBoolean(a.attributes.hidden)&&(r.hidden=!0),m.parseBoolean(a.attributes.bestFit)&&(r.bestFit=!0),a.attributes.outlineLevel&&(r.outlineLevel=parseInt(a.attributes.outlineLevel,10)),m.parseBoolean(a.attributes.collapsed)&&(r.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(a,r){a.styleId&&(a.style=r.styles.getStyleModel(a.styleId))}}},{"../../../utils/utils":27,"../base-xform":32}],93:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../../../utils/utils"),a=s("../../../utils/col-cache"),r=s("../base-xform"),t=s("../../../doc/range");function e(n,i,c,h){const u=i[c];u!==void 0?n[c]=u:h!==void 0&&(n[c]=h)}function l(n,i,c,h){const u=i[c];u!==void 0?n[c]=o.parseBoolean(u):h!==void 0&&(n[c]=h)}T.exports=class extends r{get tag(){return"dataValidations"}render(n,i){const c=function(h){const u=m.map(h,(w,_)=>({address:_,dataValidation:w,marked:!1})).sort((w,_)=>m.strcmp(w.address,_.address)),d=m.keyBy(u,"address"),f=(w,_,A)=>{for(let N=0;N<_;N++){const L=a.encodeAddress(w.row+N,A);if(!h[L]||!m.isEqual(h[w.address],h[L]))return!1}return!0};return u.map(w=>{if(!w.marked){const _=a.decodeEx(w.address);if(_.dimensions)return d[_.dimensions].marked=!0,{...w.dataValidation,sqref:w.address};let A=1,N=a.encodeAddress(_.row+A,_.col);for(;h[N]&&m.isEqual(w.dataValidation,h[N]);)A++,N=a.encodeAddress(_.row+A,_.col);let L=1;for(;f(_,A,_.col+L);)L++;for(let j=0;j1||L>1){const j=_.row+(A-1),P=_.col+(L-1);return{...w.dataValidation,sqref:`${w.address}:${a.encodeAddress(j,P)}`}}return{...w.dataValidation,sqref:w.address}}return null}).filter(Boolean)}(i);c.length&&(n.openNode("dataValidations",{count:c.length}),c.forEach(h=>{n.openNode("dataValidation"),h.type!=="any"&&(n.addAttribute("type",h.type),h.operator&&h.type!=="list"&&h.operator!=="between"&&n.addAttribute("operator",h.operator),h.allowBlank&&n.addAttribute("allowBlank","1")),h.showInputMessage&&n.addAttribute("showInputMessage","1"),h.promptTitle&&n.addAttribute("promptTitle",h.promptTitle),h.prompt&&n.addAttribute("prompt",h.prompt),h.showErrorMessage&&n.addAttribute("showErrorMessage","1"),h.errorStyle&&n.addAttribute("errorStyle",h.errorStyle),h.errorTitle&&n.addAttribute("errorTitle",h.errorTitle),h.error&&n.addAttribute("error",h.error),n.addAttribute("sqref",h.sqref),(h.formulae||[]).forEach((u,d)=>{n.openNode("formula"+(d+1)),h.type==="date"?n.writeText(o.dateToExcel(new Date(u))):n.writeText(u),n.closeNode()}),n.closeNode()}),n.closeNode())}parseOpen(n){switch(n.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=n.attributes.sqref;const i={type:n.attributes.type||"any",formulae:[]};switch(n.attributes.type&&l(i,n.attributes,"allowBlank"),l(i,n.attributes,"showInputMessage"),l(i,n.attributes,"showErrorMessage"),i.type){case"any":case"list":case"custom":break;default:e(i,n.attributes,"operator","between")}return e(i,n.attributes,"promptTitle"),e(i,n.attributes,"prompt"),e(i,n.attributes,"errorStyle"),e(i,n.attributes,"errorTitle"),e(i,n.attributes,"error"),this._dataValidation=i,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(n){this._formula&&this._formula.push(n)}parseClose(n){switch(n){case"dataValidations":return!1;case"dataValidation":return this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator),(this._address.split(/\s+/g)||[]).forEach(i=>{i.includes(":")?new t(i).forEachAddress(c=>{this.model[c]=this._dataValidation}):this.model[i]=this._dataValidation}),!0;case"formula1":case"formula2":{let i=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":i=parseInt(i,10);break;case"decimal":i=parseFloat(i);break;case"date":i=o.excelToDate(parseFloat(i))}return this._dataValidation.formulae.push(i),this._formula=void 0,!0}default:return!0}}}},{"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/utils":27,"../base-xform":32}],94:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"dimension"}render(o,a){a&&o.leafNode("dimension",{ref:a})}parseOpen(o){return o.name==="dimension"&&(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],95:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"drawing"}render(o,a){a&&o.leafNode(this.tag,{"r:id":a.rId})}parseOpen(o){switch(o.name){case this.tag:return this.model={rId:o.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],96:[function(s,T,S){const m=s("../composite-xform"),o=s("./cf-ext/conditional-formattings-ext-xform");class a extends m{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new o}}get tag(){return"ext"}hasContent(t){return this.conditionalFormattings.hasContent(t.conditionalFormattings)}prepare(t,e){this.conditionalFormattings.prepare(t.conditionalFormattings,e)}render(t,e){t.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(t,e.conditionalFormattings),t.closeNode()}createNewModel(){return{}}onParserClose(t,e){this.model[t]=e.model}}T.exports=class extends m{constructor(){super(),this.map={ext:this.ext=new a}}get tag(){return"extLst"}prepare(r,t){this.ext.prepare(r,t)}hasContent(r){return this.ext.hasContent(r)}render(r,t){this.hasContent(t)&&(r.openNode("extLst"),this.ext.render(r,t),r.closeNode())}createNewModel(){return{}}onParserClose(r,t){Object.assign(this.model,t.model)}}},{"../composite-xform":48,"./cf-ext/conditional-formattings-ext-xform":78}],97:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"headerFooter"}render(o,a){if(a){o.addRollback();let r=!1;o.openNode("headerFooter"),a.differentFirst&&(o.addAttribute("differentFirst","1"),r=!0),a.differentOddEven&&(o.addAttribute("differentOddEven","1"),r=!0),a.oddHeader&&typeof a.oddHeader=="string"&&(o.leafNode("oddHeader",null,a.oddHeader),r=!0),a.oddFooter&&typeof a.oddFooter=="string"&&(o.leafNode("oddFooter",null,a.oddFooter),r=!0),a.evenHeader&&typeof a.evenHeader=="string"&&(o.leafNode("evenHeader",null,a.evenHeader),r=!0),a.evenFooter&&typeof a.evenFooter=="string"&&(o.leafNode("evenFooter",null,a.evenFooter),r=!0),a.firstHeader&&typeof a.firstHeader=="string"&&(o.leafNode("firstHeader",null,a.firstHeader),r=!0),a.firstFooter&&typeof a.firstFooter=="string"&&(o.leafNode("firstFooter",null,a.firstFooter),r=!0),r?(o.closeNode(),o.commit()):o.rollback()}}parseOpen(o){switch(o.name){case"headerFooter":return this.model={},o.attributes.differentFirst&&(this.model.differentFirst=parseInt(o.attributes.differentFirst,0)===1),o.attributes.differentOddEven&&(this.model.differentOddEven=parseInt(o.attributes.differentOddEven,0)===1),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(o){switch(this.currentNode){case"oddHeader":this.model.oddHeader=o;break;case"oddFooter":this.model.oddFooter=o;break;case"evenHeader":this.model.evenHeader=o;break;case"evenFooter":this.model.evenFooter=o;break;case"firstHeader":this.model.firstHeader=o;break;case"firstFooter":this.model.firstFooter=o}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},{"../base-xform":32}],98:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"hyperlink"}render(o,a){this.isInternalLink(a)?o.leafNode("hyperlink",{ref:a.address,"r:id":a.rId,tooltip:a.tooltip,location:a.target}):o.leafNode("hyperlink",{ref:a.address,"r:id":a.rId,tooltip:a.tooltip})}parseOpen(o){return o.name==="hyperlink"&&(this.model={address:o.attributes.ref,rId:o.attributes["r:id"],tooltip:o.attributes.tooltip},o.attributes.location&&(this.model.target=o.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(o){return o.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(o.target)}}},{"../base-xform":32}],99:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"mergeCell"}render(o,a){o.leafNode("mergeCell",{ref:a})}parseOpen(o){return o.name==="mergeCell"&&(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],100:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../../../doc/range"),a=s("../../../utils/col-cache"),r=s("../../../doc/enums");T.exports=class{constructor(){this.merges={}}add(t){if(this.merges[t.master])this.merges[t.master].expandToAddress(t.address);else{const e=`${t.master}:${t.address}`;this.merges[t.master]=new o(e)}}get mergeCells(){return m.map(this.merges,t=>t.range)}reconcile(t,e){m.each(t,l=>{const n=a.decode(l);for(let i=n.top;i<=n.bottom;i++){const c=e[i-1];for(let h=n.left;h<=n.right;h++){const u=c.cells[h-1];u?u.type===r.ValueType.Merge&&(u.master=n.tl):c.cells[h]={type:r.ValueType.Null,address:a.encodeAddress(i,h)}}}})}getMasterAddress(t){const e=this.hash[t];return e&&e.tl}}},{"../../../doc/enums":7,"../../../doc/range":10,"../../../utils/col-cache":19,"../../../utils/under-dash":26}],101:[function(s,T,S){const m=s("../base-xform"),o=a=>a!==void 0;T.exports=class extends m{get tag(){return"outlinePr"}render(a,r){return!(!r||!o(r.summaryBelow)&&!o(r.summaryRight))&&(a.leafNode(this.tag,{summaryBelow:o(r.summaryBelow)?Number(r.summaryBelow):void 0,summaryRight:o(r.summaryRight)?Number(r.summaryRight):void 0}),!0)}parseOpen(a){return a.name===this.tag&&(this.model={summaryBelow:o(a.attributes.summaryBelow)?!!Number(a.attributes.summaryBelow):void 0,summaryRight:o(a.attributes.summaryRight)?!!Number(a.attributes.summaryRight):void 0},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],102:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"brk"}render(o,a){o.leafNode("brk",a)}parseOpen(o){return o.name==="brk"&&(this.model=o.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],103:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../base-xform");T.exports=class extends o{get tag(){return"pageMargins"}render(a,r){if(r){const t={left:r.left,right:r.right,top:r.top,bottom:r.bottom,header:r.header,footer:r.footer};m.some(t,e=>e!==void 0)&&a.leafNode(this.tag,t)}}parseOpen(a){switch(a.name){case this.tag:return this.model={left:parseFloat(a.attributes.left||.7),right:parseFloat(a.attributes.right||.7),top:parseFloat(a.attributes.top||.75),bottom:parseFloat(a.attributes.bottom||.75),header:parseFloat(a.attributes.header||.3),footer:parseFloat(a.attributes.footer||.3)},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],104:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"pageSetUpPr"}render(o,a){return!(!a||!a.fitToPage)&&(o.leafNode(this.tag,{fitToPage:a.fitToPage?"1":void 0}),!0)}parseOpen(o){return o.name===this.tag&&(this.model={fitToPage:o.attributes.fitToPage==="1"},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],105:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../base-xform");function a(l){return l?"1":void 0}function r(l){switch(l){case"overThenDown":return l;default:return}}function t(l){switch(l){case"atEnd":case"asDisplyed":return l;default:return}}function e(l){switch(l){case"dash":case"blank":case"NA":return l;default:return}}T.exports=class extends o{get tag(){return"pageSetup"}render(l,n){if(n){const i={paperSize:n.paperSize,orientation:n.orientation,horizontalDpi:n.horizontalDpi,verticalDpi:n.verticalDpi,pageOrder:r(n.pageOrder),blackAndWhite:a(n.blackAndWhite),draft:a(n.draft),cellComments:t(n.cellComments),errors:e(n.errors),scale:n.scale,fitToWidth:n.fitToWidth,fitToHeight:n.fitToHeight,firstPageNumber:n.firstPageNumber,useFirstPageNumber:a(n.firstPageNumber),usePrinterDefaults:a(n.usePrinterDefaults),copies:n.copies};m.some(i,c=>c!==void 0)&&l.leafNode(this.tag,i)}}parseOpen(l){switch(l.name){case this.tag:return this.model={paperSize:(n=l.attributes.paperSize,n!==void 0?parseInt(n,10):void 0),orientation:l.attributes.orientation||"portrait",horizontalDpi:parseInt(l.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(l.attributes.verticalDpi||"4294967295",10),pageOrder:l.attributes.pageOrder||"downThenOver",blackAndWhite:l.attributes.blackAndWhite==="1",draft:l.attributes.draft==="1",cellComments:l.attributes.cellComments||"None",errors:l.attributes.errors||"displayed",scale:parseInt(l.attributes.scale||"100",10),fitToWidth:parseInt(l.attributes.fitToWidth||"1",10),fitToHeight:parseInt(l.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(l.attributes.firstPageNumber||"1",10),useFirstPageNumber:l.attributes.useFirstPageNumber==="1",usePrinterDefaults:l.attributes.usePrinterDefaults==="1",copies:parseInt(l.attributes.copies||"1",10)},!0;default:return!1}var n}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],106:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"picture"}render(o,a){a&&o.leafNode(this.tag,{"r:id":a.rId})}parseOpen(o){switch(o.name){case this.tag:return this.model={rId:o.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],107:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../base-xform");function a(r){return r?"1":void 0}T.exports=class extends o{get tag(){return"printOptions"}render(r,t){if(t){const e={headings:a(t.showRowColHeaders),gridLines:a(t.showGridLines),horizontalCentered:a(t.horizontalCentered),verticalCentered:a(t.verticalCentered)};m.some(e,l=>l!==void 0)&&r.leafNode(this.tag,e)}}parseOpen(r){switch(r.name){case this.tag:return this.model={showRowColHeaders:r.attributes.headings==="1",showGridLines:r.attributes.gridLines==="1",horizontalCentered:r.attributes.horizontalCentered==="1",verticalCentered:r.attributes.verticalCentered==="1"},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],108:[function(s,T,S){const m=s("./page-breaks-xform"),o=s("../list-xform");T.exports=class extends o{constructor(){super({tag:"rowBreaks",count:!0,childXform:new m})}render(a,r){if(r&&r.length){a.openNode(this.tag,this.$),this.count&&(a.addAttribute(this.$count,r.length),a.addAttribute("manualBreakCount",r.length));const{childXform:t}=this;r.forEach(e=>{t.render(a,e)}),a.closeNode()}else this.empty&&a.leafNode(this.tag)}}},{"../list-xform":71,"./page-breaks-xform":102}],109:[function(s,T,S){const m=s("../base-xform"),o=s("../../../utils/utils"),a=s("./cell-xform");T.exports=class extends m{constructor(r){super(),this.maxItems=r&&r.maxItems,this.map={c:new a}}get tag(){return"row"}prepare(r,t){const e=t.styles.addStyleModel(r.style);e&&(r.styleId=e);const l=this.map.c;r.cells.forEach(n=>{l.prepare(n,t)})}render(r,t,e){r.openNode("row"),r.addAttribute("r",t.number),t.height&&(r.addAttribute("ht",t.height),r.addAttribute("customHeight","1")),t.hidden&&r.addAttribute("hidden","1"),t.min>0&&t.max>0&&t.min<=t.max&&r.addAttribute("spans",`${t.min}:${t.max}`),t.styleId&&(r.addAttribute("s",t.styleId),r.addAttribute("customFormat","1")),r.addAttribute("x14ac:dyDescent","0.25"),t.outlineLevel&&r.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&r.addAttribute("collapsed","1");const l=this.map.c;t.cells.forEach(n=>{l.render(r,n,e)}),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;if(r.name==="row"){this.numRowsSeen+=1;const t=r.attributes.spans?r.attributes.spans.split(":").map(l=>parseInt(l,10)):[void 0,void 0],e=this.model={number:parseInt(r.attributes.r,10),min:t[0],max:t[1],cells:[]};return r.attributes.s&&(e.styleId=parseInt(r.attributes.s,10)),o.parseBoolean(r.attributes.hidden)&&(e.hidden=!0),o.parseBoolean(r.attributes.bestFit)&&(e.bestFit=!0),r.attributes.ht&&(e.height=parseFloat(r.attributes.ht)),r.attributes.outlineLevel&&(e.outlineLevel=parseInt(r.attributes.outlineLevel,10)),o.parseBoolean(r.attributes.collapsed)&&(e.collapsed=!0),!0}return this.parser=this.map[r.name],!!this.parser&&(this.parser.parseOpen(r),!0)}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser){if(!this.parser.parseClose(r)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(r,t){r.style=r.styleId?t.styles.getStyleModel(r.styleId):{},r.styleId!==void 0&&(r.styleId=void 0);const e=this.map.c;r.cells.forEach(l=>{e.reconcile(l,t)})}}},{"../../../utils/utils":27,"../base-xform":32,"./cell-xform":73}],110:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../base-xform");T.exports=class extends o{get tag(){return"sheetFormatPr"}render(a,r){if(r){const t={defaultRowHeight:r.defaultRowHeight,outlineLevelRow:r.outlineLevelRow,outlineLevelCol:r.outlineLevelCol,"x14ac:dyDescent":r.dyDescent};r.defaultColWidth&&(t.defaultColWidth=r.defaultColWidth),r.defaultRowHeight&&r.defaultRowHeight===15||(t.customHeight="1"),m.some(t,e=>e!==void 0)&&a.leafNode("sheetFormatPr",t)}}parseOpen(a){return a.name==="sheetFormatPr"&&(this.model={defaultRowHeight:parseFloat(a.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(a.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(a.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(a.attributes.outlineLevelCol||"0",10)},a.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(a.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],111:[function(s,T,S){const m=s("../base-xform"),o=s("../style/color-xform"),a=s("./page-setup-properties-xform"),r=s("./outline-properties-xform");T.exports=class extends m{constructor(){super(),this.map={tabColor:new o("tabColor"),pageSetUpPr:new a,outlinePr:new r}}get tag(){return"sheetPr"}render(t,e){if(e){t.addRollback(),t.openNode("sheetPr");let l=!1;l=this.map.tabColor.render(t,e.tabColor)||l,l=this.map.pageSetUpPr.render(t,e.pageSetup)||l,l=this.map.outlinePr.render(t,e.outlineProperties)||l,l?(t.closeNode(),t.commit()):t.rollback()}}parseOpen(t){return this.parser?(this.parser.parseOpen(t),!0):t.name===this.tag?(this.reset(),!0):!!this.map[t.name]&&(this.parser=this.map[t.name],this.parser.parseOpen(t),!0)}parseText(t){return!!this.parser&&(this.parser.parseText(t),!0)}parseClose(t){return this.parser?(this.parser.parseClose(t)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},{"../base-xform":32,"../style/color-xform":128,"./outline-properties-xform":101,"./page-setup-properties-xform":104}],112:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../base-xform");function a(t,e){return t?e:void 0}function r(t,e){return t===e||void 0}T.exports=class extends o{get tag(){return"sheetProtection"}render(t,e){if(e){const l={sheet:a(e.sheet,"1"),selectLockedCells:e.selectLockedCells===!1?"1":void 0,selectUnlockedCells:e.selectUnlockedCells===!1?"1":void 0,formatCells:a(e.formatCells,"0"),formatColumns:a(e.formatColumns,"0"),formatRows:a(e.formatRows,"0"),insertColumns:a(e.insertColumns,"0"),insertRows:a(e.insertRows,"0"),insertHyperlinks:a(e.insertHyperlinks,"0"),deleteColumns:a(e.deleteColumns,"0"),deleteRows:a(e.deleteRows,"0"),sort:a(e.sort,"0"),autoFilter:a(e.autoFilter,"0"),pivotTables:a(e.pivotTables,"0")};e.sheet&&(l.algorithmName=e.algorithmName,l.hashValue=e.hashValue,l.saltValue=e.saltValue,l.spinCount=e.spinCount,l.objects=a(e.objects===!1,"1"),l.scenarios=a(e.scenarios===!1,"1")),m.some(l,n=>n!==void 0)&&t.leafNode(this.tag,l)}}parseOpen(t){switch(t.name){case this.tag:return this.model={sheet:r(t.attributes.sheet,"1"),objects:t.attributes.objects!=="1"&&void 0,scenarios:t.attributes.scenarios!=="1"&&void 0,selectLockedCells:t.attributes.selectLockedCells!=="1"&&void 0,selectUnlockedCells:t.attributes.selectUnlockedCells!=="1"&&void 0,formatCells:r(t.attributes.formatCells,"0"),formatColumns:r(t.attributes.formatColumns,"0"),formatRows:r(t.attributes.formatRows,"0"),insertColumns:r(t.attributes.insertColumns,"0"),insertRows:r(t.attributes.insertRows,"0"),insertHyperlinks:r(t.attributes.insertHyperlinks,"0"),deleteColumns:r(t.attributes.deleteColumns,"0"),deleteRows:r(t.attributes.deleteRows,"0"),sort:r(t.attributes.sort,"0"),autoFilter:r(t.attributes.autoFilter,"0"),pivotTables:r(t.attributes.pivotTables,"0")},t.attributes.algorithmName&&(this.model.algorithmName=t.attributes.algorithmName,this.model.hashValue=t.attributes.hashValue,this.model.saltValue=t.attributes.saltValue,this.model.spinCount=parseInt(t.attributes.spinCount,10)),!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../../../utils/under-dash":26,"../base-xform":32}],113:[function(s,T,S){const m=s("../../../utils/col-cache"),o=s("../base-xform"),a={frozen:"frozen",frozenSplit:"frozen",split:"split"};T.exports=class extends o{get tag(){return"sheetView"}prepare(r){switch(r.state){case"frozen":case"split":break;default:r.state="normal"}}render(r,t){r.openNode("sheetView",{workbookViewId:t.workbookViewId||0});const e=function(h,u,d){d&&r.addAttribute(h,u)};let l,n,i,c;switch(e("rightToLeft","1",t.rightToLeft===!0),e("tabSelected","1",t.tabSelected),e("showRuler","0",t.showRuler===!1),e("showRowColHeaders","0",t.showRowColHeaders===!1),e("showGridLines","0",t.showGridLines===!1),e("zoomScale",t.zoomScale,t.zoomScale),e("zoomScaleNormal",t.zoomScaleNormal,t.zoomScaleNormal),e("view",t.style,t.style),t.state){case"frozen":n=t.xSplit||0,i=t.ySplit||0,l=t.topLeftCell||m.getAddress(i+1,n+1).address,c=(t.xSplit&&t.ySplit?"bottomRight":t.xSplit&&"topRight")||"bottomLeft",r.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:l,activePane:c,state:"frozen"}),r.leafNode("selection",{pane:c,activeCell:t.activeCell,sqref:t.activeCell});break;case"split":t.activePane==="topLeft"&&(t.activePane=void 0),r.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),r.leafNode("selection",{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case"normal":t.activeCell&&r.leafNode("selection",{activeCell:t.activeCell,sqref:t.activeCell})}r.closeNode()}parseOpen(r){switch(r.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(r.attributes.workbookViewId,10),rightToLeft:r.attributes.rightToLeft==="1",tabSelected:r.attributes.tabSelected==="1",showRuler:r.attributes.showRuler!=="0",showRowColHeaders:r.attributes.showRowColHeaders!=="0",showGridLines:r.attributes.showGridLines!=="0",zoomScale:parseInt(r.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(r.attributes.zoomScaleNormal||"100",10),style:r.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(r.attributes.xSplit||"0",10),ySplit:parseInt(r.attributes.ySplit||"0",10),topLeftCell:r.attributes.topLeftCell,activePane:r.attributes.activePane||"topLeft",state:r.attributes.state},!0;case"selection":{const t=r.attributes.pane||"topLeft";return this.selections[t]={pane:t,activeCell:r.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(r){let t,e;switch(r){case"sheetView":return this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:a[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},this.model.state==="split"&&(t.activePane=this.pane.activePane),e=this.selections[this.pane.activePane],e&&e.activeCell&&(t.activeCell=e.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},e=this.selections.topLeft,e&&e.activeCell&&(t.activeCell=e.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1;default:return!0}}reconcile(){}}},{"../../../utils/col-cache":19,"../base-xform":32}],114:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"tablePart"}render(o,a){a&&o.leafNode(this.tag,{"r:id":a.rId})}parseOpen(o){switch(o.name){case this.tag:return this.model={rId:o.attributes["r:id"]},!0;default:return!1}}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],115:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../../../utils/col-cache"),a=s("../../../utils/xml-stream"),r=s("../../rel-type"),t=s("./merges"),e=s("../base-xform"),l=s("../list-xform"),n=s("./row-xform"),i=s("./col-xform"),c=s("./dimension-xform"),h=s("./hyperlink-xform"),u=s("./merge-cell-xform"),d=s("./data-validations-xform"),f=s("./sheet-properties-xform"),w=s("./sheet-format-properties-xform"),_=s("./sheet-view-xform"),A=s("./sheet-protection-xform"),N=s("./page-margins-xform"),L=s("./page-setup-xform"),j=s("./print-options-xform"),P=s("./auto-filter-xform"),D=s("./picture-xform"),$=s("./drawing-xform"),B=s("./table-part-xform"),x=s("./row-breaks-xform"),M=s("./header-footer-xform"),v=s("./cf/conditional-formattings-xform"),p=s("./ext-lst-xform"),b=(y,k)=>{if(!k||!k.length)return y;if(!y||!y.length)return k;const R={},I={};return y.forEach(z=>{R[z.ref]=z,z.rules.forEach(U=>{const{x14Id:q}=U;q&&(I[q]=U)})}),k.forEach(z=>{z.rules.forEach(U=>{const q=I[U.x14Id];q?((O,H)=>{Object.keys(H).forEach(E=>{const C=O[E],F=H[E];C===void 0&&F!==void 0&&(O[E]=F)})})(q,U):R[z.ref]?R[z.ref].rules.push(U):y.push({ref:z.ref,rules:[U]})})}),y};class g extends e{constructor(k){super();const{maxRows:R,maxCols:I,ignoreNodes:z}=k||{};this.ignoreNodes=z||[],this.map={sheetPr:new f,dimension:new c,sheetViews:new l({tag:"sheetViews",count:!1,childXform:new _}),sheetFormatPr:new w,cols:new l({tag:"cols",count:!1,childXform:new i}),sheetData:new l({tag:"sheetData",count:!1,empty:!0,childXform:new n({maxItems:I}),maxItems:R}),autoFilter:new P,mergeCells:new l({tag:"mergeCells",count:!0,childXform:new u}),rowBreaks:new x,hyperlinks:new l({tag:"hyperlinks",count:!1,childXform:new h}),pageMargins:new N,dataValidations:new d,pageSetup:new L,headerFooter:new M,printOptions:new j,picture:new D,drawing:new $,sheetProtection:new A,tableParts:new l({tag:"tableParts",count:!0,childXform:new B}),conditionalFormatting:new v,extLst:new p}}prepare(k,R){R.merges=new t,k.hyperlinks=R.hyperlinks=[],k.comments=R.comments=[],R.formulae={},R.siFormulae=0,this.map.cols.prepare(k.cols,R),this.map.sheetData.prepare(k.rows,R),this.map.conditionalFormatting.prepare(k.conditionalFormattings,R),k.mergeCells=R.merges.mergeCells;const I=k.rels=[];function z(O){return"rId"+(O.length+1)}if(k.hyperlinks.forEach(O=>{const H=z(I);O.rId=H,I.push({Id:H,Type:r.Hyperlink,Target:O.target,TargetMode:"External"})}),k.comments.length>0){const O={Id:z(I),Type:r.Comments,Target:`../comments${k.id}.xml`};I.push(O);const H={Id:z(I),Type:r.VmlDrawing,Target:`../drawings/vmlDrawing${k.id}.vml`};I.push(H),k.comments.forEach(E=>{E.refAddress=o.decodeAddress(E.ref)}),R.commentRefs.push({commentName:"comments"+k.id,vmlDrawing:"vmlDrawing"+k.id})}const U=[];let q;k.media.forEach(O=>{if(O.type==="background"){const H=z(I);q=R.media[O.imageId],I.push({Id:H,Type:r.Image,Target:`../media/${q.name}.${q.extension}`}),k.background={rId:H},k.image=R.media[O.imageId]}else if(O.type==="image"){let{drawing:H}=k;q=R.media[O.imageId],H||(H=k.drawing={rId:z(I),name:"drawing"+ ++R.drawingsCount,anchors:[],rels:[]},R.drawings.push(H),I.push({Id:H.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${H.name}.xml`}));let E=this.preImageId===O.imageId?U[O.imageId]:U[H.rels.length];E||(E=z(H.rels),U[H.rels.length]=E,H.rels.push({Id:E,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${q.name}.${q.extension}`}));const C={picture:{rId:E},range:O.range};if(O.hyperlinks&&O.hyperlinks.hyperlink){const F=z(H.rels);U[H.rels.length]=F,C.picture.hyperlinks={tooltip:O.hyperlinks.tooltip,rId:F},H.rels.push({Id:F,Type:r.Hyperlink,Target:O.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=O.imageId,H.anchors.push(C)}}),k.tables.forEach(O=>{const H=z(I);O.rId=H,I.push({Id:H,Type:r.Table,Target:"../tables/"+O.target}),O.columns.forEach(E=>{const{style:C}=E;C&&(E.dxfId=R.styles.addDxfStyle(C))})}),this.map.extLst.prepare(k,R)}render(k,R){k.openXml(a.StdDocAttributes),k.openNode("worksheet",g.WORKSHEET_ATTRIBUTES);const I=R.properties?{defaultRowHeight:R.properties.defaultRowHeight,dyDescent:R.properties.dyDescent,outlineLevelCol:R.properties.outlineLevelCol,outlineLevelRow:R.properties.outlineLevelRow}:void 0;R.properties&&R.properties.defaultColWidth&&(I.defaultColWidth=R.properties.defaultColWidth);const z={outlineProperties:R.properties&&R.properties.outlineProperties,tabColor:R.properties&&R.properties.tabColor,pageSetup:R.pageSetup&&R.pageSetup.fitToPage?{fitToPage:R.pageSetup.fitToPage}:void 0},U=R.pageSetup&&R.pageSetup.margins,q={showRowColHeaders:R.pageSetup&&R.pageSetup.showRowColHeaders,showGridLines:R.pageSetup&&R.pageSetup.showGridLines,horizontalCentered:R.pageSetup&&R.pageSetup.horizontalCentered,verticalCentered:R.pageSetup&&R.pageSetup.verticalCentered},O=R.sheetProtection;this.map.sheetPr.render(k,z),this.map.dimension.render(k,R.dimensions),this.map.sheetViews.render(k,R.views),this.map.sheetFormatPr.render(k,I),this.map.cols.render(k,R.cols),this.map.sheetData.render(k,R.rows),this.map.sheetProtection.render(k,O),this.map.autoFilter.render(k,R.autoFilter),this.map.mergeCells.render(k,R.mergeCells),this.map.conditionalFormatting.render(k,R.conditionalFormattings),this.map.dataValidations.render(k,R.dataValidations),this.map.hyperlinks.render(k,R.hyperlinks),this.map.printOptions.render(k,q),this.map.pageMargins.render(k,U),this.map.pageSetup.render(k,R.pageSetup),this.map.headerFooter.render(k,R.headerFooter),this.map.rowBreaks.render(k,R.rowBreaks),this.map.drawing.render(k,R.drawing),this.map.picture.render(k,R.background),this.map.tableParts.render(k,R.tables),this.map.extLst.render(k,R),R.rels&&R.rels.forEach(H=>{H.Type===r.VmlDrawing&&k.leafNode("legacyDrawing",{"r:id":H.Id})}),k.closeNode()}parseOpen(k){return this.parser?(this.parser.parseOpen(k),!0):k.name==="worksheet"?(m.each(this.map,R=>{R.reset()}),!0):(this.map[k.name]&&!this.ignoreNodes.includes(k.name)&&(this.parser=this.map[k.name],this.parser.parseOpen(k)),!0)}parseText(k){this.parser&&this.parser.parseText(k)}parseClose(k){if(this.parser)return this.parser.parseClose(k)||(this.parser=void 0),!0;switch(k){case"worksheet":{const R=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(R.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(R.outlineProperties=this.map.sheetPr.model.outlineProperties);const I={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},z=Object.assign(I,this.map.pageSetup.model,this.map.printOptions.model),U=b(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:R,views:this.map.sheetViews.model,pageSetup:z,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:U},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}default:return!0}}reconcile(k,R){const I=(k.relationships||[]).reduce((U,q)=>{if(U[q.Id]=q,q.Type===r.Comments&&(k.comments=R.comments[q.Target].comments),q.Type===r.VmlDrawing&&k.comments&&k.comments.length){const O=R.vmlDrawings[q.Target].comments;k.comments.forEach((H,E)=>{H.note=Object.assign({},H.note,O[E])})}return U},{});if(R.commentsMap=(k.comments||[]).reduce((U,q)=>(q.ref&&(U[q.ref]=q),U),{}),R.hyperlinkMap=(k.hyperlinks||[]).reduce((U,q)=>(q.rId&&(U[q.address]=I[q.rId].Target),U),{}),R.formulae={},k.rows=k.rows&&k.rows.filter(Boolean)||[],k.rows.forEach(U=>{U.cells=U.cells&&U.cells.filter(Boolean)||[]}),this.map.cols.reconcile(k.cols,R),this.map.sheetData.reconcile(k.rows,R),this.map.conditionalFormatting.reconcile(k.conditionalFormattings,R),k.media=[],k.drawing){const U=I[k.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(U){const q=U[1];R.drawings[q].anchors.forEach(O=>{if(O.medium){const H={type:"image",imageId:O.medium.index,range:O.range,hyperlinks:O.picture.hyperlinks};k.media.push(H)}})}}const z=k.background&&I[k.background.rId];if(z){const U=z.Target.split("/media/")[1],q=R.mediaIndex&&R.mediaIndex[U];q!==void 0&&k.media.push({type:"background",imageId:q})}k.tables=(k.tables||[]).map(U=>{const q=I[U.rId];return R.tables[q.Target]}),delete k.relationships,delete k.hyperlinks,delete k.comments}}g.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},T.exports=g},{"../../../utils/col-cache":19,"../../../utils/under-dash":26,"../../../utils/xml-stream":28,"../../rel-type":31,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":72,"./cf/conditional-formattings-xform":87,"./col-xform":92,"./data-validations-xform":93,"./dimension-xform":94,"./drawing-xform":95,"./ext-lst-xform":96,"./header-footer-xform":97,"./hyperlink-xform":98,"./merge-cell-xform":99,"./merges":100,"./page-margins-xform":103,"./page-setup-xform":105,"./picture-xform":106,"./print-options-xform":107,"./row-breaks-xform":108,"./row-xform":109,"./sheet-format-properties-xform":110,"./sheet-properties-xform":111,"./sheet-protection-xform":112,"./sheet-view-xform":113,"./table-part-xform":114}],116:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.attr=o.attr}render(o,a){a&&(o.openNode(this.tag),o.closeNode())}parseOpen(o){o.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],117:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs,this._format=o.format||function(a){try{return Number.isNaN(a.getTime())?"":a.toISOString()}catch{return""}},this._parse=o.parse||function(a){return new Date(a)}}render(o,a){a&&(o.openNode(this.tag),this.attrs&&o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,this._format(a)):o.writeText(this._format(a)),o.closeNode())}parseOpen(o){o.name===this.tag&&(this.attr?this.model=this._parse(o.attributes[this.attr]):this.text=[])}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},{"../base-xform":32}],118:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs,this.zero=o.zero}render(o,a){(a||this.zero)&&(o.openNode(this.tag),this.attrs&&o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,a):o.writeText(a),o.closeNode())}parseOpen(o){return o.name===this.tag&&(this.attr?this.model=parseInt(o.attributes[this.attr],10):this.text=[],!0)}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},{"../base-xform":32}],119:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.tag=o.tag,this.attr=o.attr,this.attrs=o.attrs}render(o,a){a!==void 0&&(o.openNode(this.tag),this.attrs&&o.addAttributes(this.attrs),this.attr?o.addAttribute(this.attr,a):o.writeText(a),o.closeNode())}parseOpen(o){o.name===this.tag&&(this.attr?this.model=o.attributes[this.attr]:this.text=[])}parseText(o){this.attr||this.text.push(o)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},{"../base-xform":32}],120:[function(s,T,S){const m=s("./base-xform"),o=s("../../utils/xml-stream");T.exports=class extends m{constructor(a){super(),this._model=a}render(a){if(!this._xml){const r=new o;(function t(e,l){e.openNode(l.tag,l.$),l.c&&l.c.forEach(n=>{t(e,n)}),l.t&&e.writeText(l.t),e.closeNode()})(r,this._model),this._xml=r.xml}a.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(a){switch(a){case this._model.tag:return!1;default:return!0}}}},{"../../utils/xml-stream":28,"./base-xform":32}],121:[function(s,T,S){const m=s("./text-xform"),o=s("./rich-text-xform"),a=s("../base-xform");T.exports=class extends a{constructor(){super(),this.map={r:new o,t:new m}}get tag(){return"rPh"}render(r,t){if(r.openNode(this.tag,{sb:t.sb||0,eb:t.eb||0}),t&&t.hasOwnProperty("richText")&&t.richText){const{r:e}=this.map;t.richText.forEach(l=>{e.render(r,l)})}else t&&this.map.t.render(r,t.text);r.closeNode()}parseOpen(r){const{name:t}=r;return this.parser?(this.parser.parseOpen(r),!0):t===this.tag?(this.model={sb:parseInt(r.attributes.sb,10),eb:parseInt(r.attributes.eb,10)},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(r),!0))}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser){if(!this.parser.parseClose(r)){switch(r){case"r":{let t=this.model.richText;t||(t=this.model.richText=[]),t.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}switch(r){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./rich-text-xform":122,"./text-xform":125}],122:[function(s,T,S){const m=s("./text-xform"),o=s("../style/font-xform"),a=s("../base-xform");class r extends a{constructor(e){super(),this.model=e}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new m)}get fontXform(){return this._fontXform||(this._fontXform=new o(r.FONT_OPTIONS))}render(e,l){l=l||this.model,e.openNode("r"),l.font&&this.fontXform.render(e,l.font),this.textXform.render(e,l.text),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(e),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}}r.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},T.exports=r},{"../base-xform":32,"../style/font-xform":131,"./text-xform":125}],123:[function(s,T,S){const m=s("./text-xform"),o=s("./rich-text-xform"),a=s("./phonetic-text-xform"),r=s("../base-xform");T.exports=class extends r{constructor(t){super(),this.model=t,this.map={r:new o,t:new m,rPh:new a}}get tag(){return"si"}render(t,e){t.openNode(this.tag),e&&e.hasOwnProperty("richText")&&e.richText?e.richText.length?e.richText.forEach(l=>{this.map.r.render(t,l)}):this.map.t.render(t,""):e!=null&&this.map.t.render(t,e),t.closeNode()}parseOpen(t){const{name:e}=t;return this.parser?(this.parser.parseOpen(t),!0):e===this.tag?(this.model={},!0):(this.parser=this.map[e],!!this.parser&&(this.parser.parseOpen(t),!0))}parseText(t){this.parser&&this.parser.parseText(t)}parseClose(t){if(this.parser){if(!this.parser.parseClose(t)){switch(t){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}switch(t){case this.tag:return!1;default:return!0}}}},{"../base-xform":32,"./phonetic-text-xform":121,"./rich-text-xform":122,"./text-xform":125}],124:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("./shared-string-xform");T.exports=class extends o{constructor(r){super(),this.model=r||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new a)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(r){return this.model.values[r]}add(r){return r.richText?this.addRichText(r):this.addText(r)}addText(r){let t=this.hash[r];return t===void 0&&(t=this.hash[r]=this.model.values.length,this.model.values.push(r)),this.model.count++,t}addRichText(r){const t=this.sharedStringXform.toXml(r);let e=this.rich[t];return e===void 0&&(e=this.rich[t]=this.model.values.length,this.model.values.push(r)),this.model.count++,e}render(r,t){t=t||this._values,r.openXml(m.StdDocAttributes),r.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:t.count,uniqueCount:t.values.length});const e=this.sharedStringXform;t.values.forEach(l=>{e.render(r,l)}),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(r),!0;default:throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(r))}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){if(this.parser)return this.parser.parseClose(r)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;switch(r){case"sst":return!1;default:throw new Error("Unexpected xml node in parseClose: "+r)}}}},{"../../../utils/xml-stream":28,"../base-xform":32,"./shared-string-xform":123}],125:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"t"}render(o,a){o.openNode("t"),/^\s|\n|\s$/.test(a)&&o.addAttribute("xml:space","preserve"),o.writeText(a),o.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,(o,a)=>String.fromCharCode(parseInt(a,16)))}parseOpen(o){switch(o.name){case"t":return this._text=[],!0;default:return!1}}parseText(o){this._text.push(o)}parseClose(){return!1}}},{"../base-xform":32}],126:[function(s,T,S){const m=s("../../../doc/enums"),o=s("../../../utils/utils"),a=s("../base-xform"),r={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce((e,l)=>(e[l]=!0,e),{}),horizontal(e){return this.horizontalValues[e]?e:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce((e,l)=>(e[l]=!0,e),{}),vertical(e){return e==="middle"?"center":this.verticalValues[e]?e:void 0},wrapText:e=>!!e||void 0,shrinkToFit:e=>!!e||void 0,textRotation(e){switch(e){case"vertical":return e;default:return(e=o.validInt(e))>=-90&&e<=90?e:void 0}},indent:e=>(e=o.validInt(e),Math.max(0,e)),readingOrder(e){switch(e){case"ltr":return m.ReadingOrder.LeftToRight;case"rtl":return m.ReadingOrder.RightToLeft;default:return}}},t={toXml(e){if(e=r.textRotation(e)){if(e==="vertical")return 255;const l=Math.round(e);if(l>=0&&l<=90)return l;if(l<0&&l>=-90)return 90-l}},toModel(e){const l=o.validInt(e);if(l!==void 0){if(l===255)return"vertical";if(l>=0&&l<=90)return l;if(l>90&&l<=180)return 90-l}}};T.exports=class extends a{get tag(){return"alignment"}render(e,l){e.addRollback(),e.openNode("alignment");let n=!1;function i(c,h){h&&(e.addAttribute(c,h),n=!0)}i("horizontal",r.horizontal(l.horizontal)),i("vertical",r.vertical(l.vertical)),i("wrapText",!!r.wrapText(l.wrapText)&&"1"),i("shrinkToFit",!!r.shrinkToFit(l.shrinkToFit)&&"1"),i("indent",r.indent(l.indent)),i("textRotation",t.toXml(l.textRotation)),i("readingOrder",r.readingOrder(l.readingOrder)),e.closeNode(),n?e.commit():e.rollback()}parseOpen(e){const l={};let n=!1;function i(c,h,u){c&&(l[h]=u,n=!0)}i(e.attributes.horizontal,"horizontal",e.attributes.horizontal),i(e.attributes.vertical,"vertical",e.attributes.vertical==="center"?"middle":e.attributes.vertical),i(e.attributes.wrapText,"wrapText",o.parseBoolean(e.attributes.wrapText)),i(e.attributes.shrinkToFit,"shrinkToFit",o.parseBoolean(e.attributes.shrinkToFit)),i(e.attributes.indent,"indent",parseInt(e.attributes.indent,10)),i(e.attributes.textRotation,"textRotation",t.toModel(e.attributes.textRotation)),i(e.attributes.readingOrder,"readingOrder",e.attributes.readingOrder==="2"?"rtl":"ltr"),this.model=n?l:null}parseText(){}parseClose(){return!1}}},{"../../../doc/enums":7,"../../../utils/utils":27,"../base-xform":32}],127:[function(s,T,S){const m=s("../base-xform"),o=s("../../../utils/utils"),a=s("./color-xform");class r extends m{constructor(e){super(),this.name=e,this.map={color:new a}}get tag(){return this.name}render(e,l,n){const i=l&&l.color||n||this.defaultColor;e.openNode(this.name),l&&l.style&&(e.addAttribute("style",l.style),i&&this.map.color.render(e,i)),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.name:{const{style:l}=e.attributes;return this.model=l?{style:l}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(e===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(e){return r.validStyleValues[e]}}r.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce((t,e)=>(t[e]=!0,t),{}),T.exports=class extends m{constructor(){super(),this.map={top:new r("top"),left:new r("left"),bottom:new r("bottom"),right:new r("right"),diagonal:new r("diagonal")}}render(t,e){const{color:l}=e;function n(i,c){i&&!i.color&&e.color&&(i={...i,color:e.color}),c.render(t,i,l)}t.openNode("border"),e.diagonal&&e.diagonal.style&&(e.diagonal.up&&t.addAttribute("diagonalUp","1"),e.diagonal.down&&t.addAttribute("diagonalDown","1")),n(e.left,this.map.left),n(e.right,this.map.right),n(e.top,this.map.top),n(e.bottom,this.map.bottom),n(e.diagonal,this.map.diagonal),t.closeNode()}parseOpen(t){if(this.parser)return this.parser.parseOpen(t),!0;switch(t.name){case"border":return this.reset(),this.diagonalUp=o.parseBoolean(t.attributes.diagonalUp),this.diagonalDown=o.parseBoolean(t.attributes.diagonalDown),!0;default:return this.parser=this.map[t.name],!!this.parser&&(this.parser.parseOpen(t),!0)}}parseText(t){this.parser&&this.parser.parseText(t)}parseClose(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;if(t==="border"){const e=this.model={},l=function(n,i,c){i&&(c&&Object.assign(i,c),e[n]=i)};l("left",this.map.left.model),l("right",this.map.right.model),l("top",this.map.top.model),l("bottom",this.map.bottom.model),l("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},{"../../../utils/utils":27,"../base-xform":32,"./color-xform":128}],128:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{constructor(o){super(),this.name=o||"color"}get tag(){return this.name}render(o,a){return!!a&&(o.openNode(this.name),a.argb?o.addAttribute("rgb",a.argb):a.theme!==void 0?(o.addAttribute("theme",a.theme),a.tint!==void 0&&o.addAttribute("tint",a.tint)):a.indexed!==void 0?o.addAttribute("indexed",a.indexed):o.addAttribute("auto","1"),o.closeNode(),!0)}parseOpen(o){return o.name===this.name&&(o.attributes.rgb?this.model={argb:o.attributes.rgb}:o.attributes.theme?(this.model={theme:parseInt(o.attributes.theme,10)},o.attributes.tint&&(this.model.tint=parseFloat(o.attributes.tint))):o.attributes.indexed?this.model={indexed:parseInt(o.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],129:[function(s,T,S){const m=s("../base-xform"),o=s("./alignment-xform"),a=s("./border-xform"),r=s("./fill-xform"),t=s("./font-xform"),e=s("./numfmt-xform"),l=s("./protection-xform");T.exports=class extends m{constructor(){super(),this.map={alignment:new o,border:new a,fill:new r,font:new t,numFmt:new e,protection:new l}}get tag(){return"dxf"}render(n,i){if(n.openNode(this.tag),i.font&&this.map.font.render(n,i.font),i.numFmt&&i.numFmtId){const c={id:i.numFmtId,formatCode:i.numFmt};this.map.numFmt.render(n,c)}i.fill&&this.map.fill.render(n,i.fill),i.alignment&&this.map.alignment.render(n,i.alignment),i.border&&this.map.border.render(n,i.border),i.protection&&this.map.protection.render(n,i.protection),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case this.tag:return this.reset(),!0;default:return this.parser=this.map[n.name],this.parser&&this.parser.parseOpen(n),!0}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return this.parser?(this.parser.parseClose(n)||(this.parser=void 0),!0):n!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},{"../base-xform":32,"./alignment-xform":126,"./border-xform":127,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./protection-xform":133}],130:[function(s,T,S){const m=s("../base-xform"),o=s("./color-xform");class a extends m{constructor(){super(),this.map={color:new o}}get tag(){return"stop"}render(n,i){n.openNode("stop"),n.addAttribute("position",i.position),this.map.color.render(n,i.color),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"stop":return this.model={position:parseFloat(n.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(n),!0;default:return!1}}parseText(){}parseClose(n){return!!this.parser&&(this.parser.parseClose(n)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class r extends m{constructor(){super(),this.map={fgColor:new o("fgColor"),bgColor:new o("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(n,i){n.openNode("patternFill"),n.addAttribute("patternType",i.pattern),i.fgColor&&this.map.fgColor.render(n,i.fgColor),i.bgColor&&this.map.bgColor.render(n,i.bgColor),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"patternFill":return this.model={type:"pattern",pattern:n.attributes.patternType},!0;default:return this.parser=this.map[n.name],!!this.parser&&(this.parser.parseOpen(n),!0)}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return!!this.parser&&(this.parser.parseClose(n)||(this.parser.model&&(this.model[n]=this.parser.model),this.parser=void 0),!0)}}class t extends m{constructor(){super(),this.map={stop:new a}}get name(){return"gradient"}get tag(){return"gradientFill"}render(n,i){switch(n.openNode("gradientFill"),i.gradient){case"angle":n.addAttribute("degree",i.degree);break;case"path":n.addAttribute("type","path"),i.center.left&&(n.addAttribute("left",i.center.left),i.center.right===void 0&&n.addAttribute("right",i.center.left)),i.center.right&&n.addAttribute("right",i.center.right),i.center.top&&(n.addAttribute("top",i.center.top),i.center.bottom===void 0&&n.addAttribute("bottom",i.center.top)),i.center.bottom&&n.addAttribute("bottom",i.center.bottom)}const c=this.map.stop;i.stops.forEach(h=>{c.render(n,h)}),n.closeNode()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"gradientFill":{const i=this.model={stops:[]};return n.attributes.degree?(i.gradient="angle",i.degree=parseInt(n.attributes.degree,10)):n.attributes.type==="path"&&(i.gradient="path",i.center={left:n.attributes.left?parseFloat(n.attributes.left):0,top:n.attributes.top?parseFloat(n.attributes.top):0},n.attributes.right!==n.attributes.left&&(i.center.right=n.attributes.right?parseFloat(n.attributes.right):0),n.attributes.bottom!==n.attributes.top&&(i.center.bottom=n.attributes.bottom?parseFloat(n.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(n),!0;default:return!1}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return!!this.parser&&(this.parser.parseClose(n)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class e extends m{constructor(){super(),this.map={patternFill:new r,gradientFill:new t}}get tag(){return"fill"}render(n,i){switch(n.addRollback(),n.openNode("fill"),i.type){case"pattern":this.map.patternFill.render(n,i);break;case"gradient":this.map.gradientFill.render(n,i);break;default:return void n.rollback()}n.closeNode(),n.commit()}parseOpen(n){if(this.parser)return this.parser.parseOpen(n),!0;switch(n.name){case"fill":return this.model={},!0;default:return this.parser=this.map[n.name],!!this.parser&&(this.parser.parseOpen(n),!0)}}parseText(n){this.parser&&this.parser.parseText(n)}parseClose(n){return!!this.parser&&(this.parser.parseClose(n)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(n){return e.validPatternValues[n]}}e.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce((l,n)=>(l[n]=!0,l),{}),e.StopXform=a,e.PatternFillXform=r,e.GradientFillXform=t,T.exports=e},{"../base-xform":32,"./color-xform":128}],131:[function(s,T,S){const m=s("./color-xform"),o=s("../simple/boolean-xform"),a=s("../simple/integer-xform"),r=s("../simple/string-xform"),t=s("./underline-xform"),e=s("../../../utils/under-dash"),l=s("../base-xform");class n extends l{constructor(c){super(),this.options=c||n.OPTIONS,this.map={b:{prop:"bold",xform:new o({tag:"b",attr:"val"})},i:{prop:"italic",xform:new o({tag:"i",attr:"val"})},u:{prop:"underline",xform:new t},charset:{prop:"charset",xform:new a({tag:"charset",attr:"val"})},color:{prop:"color",xform:new m},condense:{prop:"condense",xform:new o({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new o({tag:"extend",attr:"val"})},family:{prop:"family",xform:new a({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new o({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new r({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new r({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new o({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new o({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new a({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new r({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(c,h){const{map:u}=this;c.openNode(this.options.tagName),e.each(this.map,(d,f)=>{u[f].xform.render(c,h[d.prop])}),c.closeNode()}parseOpen(c){if(this.parser)return this.parser.parseOpen(c),!0;if(this.map[c.name])return this.parser=this.map[c.name].xform,this.parser.parseOpen(c);switch(c.name){case this.options.tagName:return this.model={},!0;default:return!1}}parseText(c){this.parser&&this.parser.parseText(c)}parseClose(c){if(this.parser&&!this.parser.parseClose(c)){const h=this.map[c];return this.parser.model&&(this.model[h.prop]=this.parser.model),this.parser=void 0,!0}switch(c){case this.options.tagName:return!1;default:return!0}}}n.OPTIONS={tagName:"font",fontNameTag:"name"},T.exports=n},{"../../../utils/under-dash":26,"../base-xform":32,"../simple/boolean-xform":116,"../simple/integer-xform":118,"../simple/string-xform":119,"./color-xform":128,"./underline-xform":136}],132:[function(s,T,S){const m=s("../../../utils/under-dash"),o=s("../../defaultnumformats"),a=s("../base-xform"),r=function(){const e={};return m.each(o,(l,n)=>{l.f&&(e[l.f]=parseInt(n,10))}),e}();class t extends a{constructor(l,n){super(),this.id=l,this.formatCode=n}get tag(){return"numFmt"}render(l,n){l.leafNode("numFmt",{numFmtId:n.id,formatCode:n.formatCode})}parseOpen(l){switch(l.name){case"numFmt":return this.model={id:parseInt(l.attributes.numFmtId,10),formatCode:l.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0;default:return!1}}parseText(){}parseClose(){return!1}}t.getDefaultFmtId=function(e){return r[e]},t.getDefaultFmtCode=function(e){return o[e]&&o[e].f},T.exports=t},{"../../../utils/under-dash":26,"../../defaultnumformats":30,"../base-xform":32}],133:[function(s,T,S){const m=s("../base-xform"),o={boolean:(a,r)=>a===void 0?r:a};T.exports=class extends m{get tag(){return"protection"}render(a,r){a.addRollback(),a.openNode("protection");let t=!1;function e(l,n){n!==void 0&&(a.addAttribute(l,n),t=!0)}e("locked",o.boolean(r.locked,!0)?void 0:"0"),e("hidden",o.boolean(r.hidden,!1)?"1":void 0),a.closeNode(),t?a.commit():a.rollback()}parseOpen(a){const r={locked:a.attributes.locked!=="0",hidden:a.attributes.hidden==="1"},t=!r.locked||r.hidden;this.model=t?r:null}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],134:[function(s,T,S){const m=s("../base-xform"),o=s("./alignment-xform"),a=s("./protection-xform");T.exports=class extends m{constructor(r){super(),this.xfId=!(!r||!r.xfId),this.map={alignment:new o,protection:new a}}get tag(){return"xf"}render(r,t){r.openNode("xf",{numFmtId:t.numFmtId||0,fontId:t.fontId||0,fillId:t.fillId||0,borderId:t.borderId||0}),this.xfId&&r.addAttribute("xfId",t.xfId||0),t.numFmtId&&r.addAttribute("applyNumberFormat","1"),t.fontId&&r.addAttribute("applyFont","1"),t.fillId&&r.addAttribute("applyFill","1"),t.borderId&&r.addAttribute("applyBorder","1"),t.alignment&&r.addAttribute("applyAlignment","1"),t.protection&&r.addAttribute("applyProtection","1"),t.alignment&&this.map.alignment.render(r,t.alignment),t.protection&&this.map.protection.render(r,t.protection),r.closeNode()}parseOpen(r){if(this.parser)return this.parser.parseOpen(r),!0;switch(r.name){case"xf":return this.model={numFmtId:parseInt(r.attributes.numFmtId,10),fontId:parseInt(r.attributes.fontId,10),fillId:parseInt(r.attributes.fillId,10),borderId:parseInt(r.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(r.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(r),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(r),!0;default:return!1}}parseText(r){this.parser&&this.parser.parseText(r)}parseClose(r){return this.parser?(this.parser.parseClose(r)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):r!=="xf"}}},{"../base-xform":32,"./alignment-xform":126,"./protection-xform":133}],135:[function(s,T,S){const m=s("../../../doc/enums"),o=s("../../../utils/xml-stream"),a=s("../base-xform"),r=s("../static-xform"),t=s("../list-xform"),e=s("./font-xform"),l=s("./fill-xform"),n=s("./border-xform"),i=s("./numfmt-xform"),c=s("./style-xform"),h=s("./dxf-xform");class u extends a{constructor(f){super(),this.map={numFmts:new t({tag:"numFmts",count:!0,childXform:new i}),fonts:new t({tag:"fonts",count:!0,childXform:new e,$:{"x14ac:knownFonts":1}}),fills:new t({tag:"fills",count:!0,childXform:new l}),borders:new t({tag:"borders",count:!0,childXform:new n}),cellStyleXfs:new t({tag:"cellStyleXfs",count:!0,childXform:new c}),cellXfs:new t({tag:"cellXfs",count:!0,childXform:new c({xfId:!0})}),dxfs:new t({tag:"dxfs",always:!0,count:!0,childXform:new h}),numFmt:new i,font:new e,fill:new l,border:new n,style:new c({xfId:!0}),cellStyles:u.STATIC_XFORMS.cellStyles,tableStyles:u.STATIC_XFORMS.tableStyles,extLst:u.STATIC_XFORMS.extLst},f&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(f,w){w=w||this.model,f.openXml(o.StdDocAttributes),f.openNode("styleSheet",u.STYLESHEET_ATTRIBUTES),this.index?(w.numFmts&&w.numFmts.length&&(f.openNode("numFmts",{count:w.numFmts.length}),w.numFmts.forEach(_=>{f.writeXml(_)}),f.closeNode()),w.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),f.openNode("fonts",{count:w.fonts.length,"x14ac:knownFonts":1}),w.fonts.forEach(_=>{f.writeXml(_)}),f.closeNode(),f.openNode("fills",{count:w.fills.length}),w.fills.forEach(_=>{f.writeXml(_)}),f.closeNode(),f.openNode("borders",{count:w.borders.length}),w.borders.forEach(_=>{f.writeXml(_)}),f.closeNode(),this.map.cellStyleXfs.render(f,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),f.openNode("cellXfs",{count:w.styles.length}),w.styles.forEach(_=>{f.writeXml(_)}),f.closeNode()):(this.map.numFmts.render(f,w.numFmts),this.map.fonts.render(f,w.fonts),this.map.fills.render(f,w.fills),this.map.borders.render(f,w.borders),this.map.cellStyleXfs.render(f,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(f,w.styles)),u.STATIC_XFORMS.cellStyles.render(f),this.map.dxfs.render(f,w.dxfs),u.STATIC_XFORMS.tableStyles.render(f),u.STATIC_XFORMS.extLst.render(f),f.closeNode()}parseOpen(f){if(this.parser)return this.parser.parseOpen(f),!0;switch(f.name){case"styleSheet":return this.initIndex(),!0;default:return this.parser=this.map[f.name],this.parser&&this.parser.parseOpen(f),!0}}parseText(f){this.parser&&this.parser.parseText(f)}parseClose(f){if(this.parser)return this.parser.parseClose(f)||(this.parser=void 0),!0;switch(f){case"styleSheet":{this.model={};const w=(_,A)=>{A.model&&A.model.length&&(this.model[_]=A.model)};if(w("numFmts",this.map.numFmts),w("fonts",this.map.fonts),w("fills",this.map.fills),w("borders",this.map.borders),w("styles",this.map.cellXfs),w("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const _=this.index.numFmt;this.model.numFmts.forEach(A=>{_[A.id]=A.formatCode})}return!1}default:return!0}}addStyleModel(f,w){if(!f)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(f))return this.weakMap.get(f);const _={};if(w=w||m.ValueType.Number,f.numFmt)_.numFmtId=this._addNumFmtStr(f.numFmt);else switch(w){case m.ValueType.Number:_.numFmtId=this._addNumFmtStr("General");break;case m.ValueType.Date:_.numFmtId=this._addNumFmtStr("mm-dd-yy")}f.font&&(_.fontId=this._addFont(f.font)),f.border&&(_.borderId=this._addBorder(f.border)),f.fill&&(_.fillId=this._addFill(f.fill)),f.alignment&&(_.alignment=f.alignment),f.protection&&(_.protection=f.protection);const A=this._addStyle(_);return this.weakMap&&this.weakMap.set(f,A),A}getStyleModel(f){const w=this.model.styles[f];if(!w)return null;let _=this.index.model[f];if(_)return _;if(_=this.index.model[f]={},w.numFmtId){const N=this.index.numFmt[w.numFmtId]||i.getDefaultFmtCode(w.numFmtId);N&&(_.numFmt=N)}function A(N,L,j){if(j||j===0){const P=L[j];P&&(_[N]=P)}}return A("font",this.model.fonts,w.fontId),A("border",this.model.borders,w.borderId),A("fill",this.model.fills,w.fillId),w.alignment&&(_.alignment=w.alignment),w.protection&&(_.protection=w.protection),_}addDxfStyle(f){return f.numFmt&&(f.numFmtId=this._addNumFmtStr(f.numFmt)),this.model.dxfs.push(f),this.model.dxfs.length-1}getDxfStyle(f){return this.model.dxfs[f]}_addStyle(f){const w=this.map.style.toXml(f);let _=this.index.style[w];return _===void 0&&(_=this.index.style[w]=this.model.styles.length,this.model.styles.push(w)),_}_addNumFmtStr(f){let w=i.getDefaultFmtId(f);if(w!==void 0||(w=this.index.numFmt[f],w!==void 0))return w;w=this.index.numFmt[f]=164+this.model.numFmts.length;const _=this.map.numFmt.toXml({id:w,formatCode:f});return this.model.numFmts.push(_),w}_addFont(f){const w=this.map.font.toXml(f);let _=this.index.font[w];return _===void 0&&(_=this.index.font[w]=this.model.fonts.length,this.model.fonts.push(w)),_}_addBorder(f){const w=this.map.border.toXml(f);let _=this.index.border[w];return _===void 0&&(_=this.index.border[w]=this.model.borders.length,this.model.borders.push(w)),_}_addFill(f){const w=this.map.fill.toXml(f);let _=this.index.fill[w];return _===void 0&&(_=this.index.fill[w]=this.model.fills.length,this.model.fills.push(w)),_}}u.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},u.STATIC_XFORMS={cellStyles:new r({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new r({tag:"dxfs",$:{count:0}}),tableStyles:new r({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new r({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})},u.Mock=class extends u{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(d){return d.autodrain(),Promise.resolve()}addStyleModel(d,f){switch(f){case m.ValueType.Date:return this.dateStyleId;default:return 0}}get dateStyleId(){if(!this._dateStyleId){const d={numFmtId:i.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(d)}return this._dateStyleId}getStyleModel(){return{}}},T.exports=u},{"../../../doc/enums":7,"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"../static-xform":120,"./border-xform":127,"./dxf-xform":129,"./fill-xform":130,"./font-xform":131,"./numfmt-xform":132,"./style-xform":134}],136:[function(s,T,S){const m=s("../base-xform");class o extends m{constructor(r){super(),this.model=r}get tag(){return"u"}render(r,t){if((t=t||this.model)===!0)r.leafNode("u");else{const e=o.Attributes[t];e&&r.leafNode("u",e)}}parseOpen(r){r.name==="u"&&(this.model=r.attributes.val||!0)}parseText(){}parseClose(){return!1}}o.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},T.exports=o},{"../base-xform":32}],137:[function(s,T,S){const m=s("../base-xform"),o=s("./filter-column-xform");T.exports=class extends m{constructor(){super(),this.map={filterColumn:new o}}get tag(){return"autoFilter"}prepare(a){a.columns.forEach((r,t)=>{this.map.filterColumn.prepare(r,{index:t})})}render(a,r){return a.openNode(this.tag,{ref:r.autoFilterRef}),r.columns.forEach(t=>{this.map.filterColumn.render(a,t)}),a.closeNode(),!0}parseOpen(a){if(this.parser)return this.parser.parseOpen(a),!0;switch(a.name){case this.tag:return this.model={autoFilterRef:a.attributes.ref,columns:[]},!0;default:if(this.parser=this.map[a.name],this.parser)return this.parseOpen(a),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(a))}}parseText(a){this.parser&&this.parser.parseText(a)}parseClose(a){if(this.parser)return this.parser.parseClose(a)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;switch(a){case this.tag:return!1;default:throw new Error("Unexpected xml node in parseClose: "+a)}}}},{"../base-xform":32,"./filter-column-xform":139}],138:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"customFilter"}render(o,a){o.leafNode(this.tag,{val:a.val,operator:a.operator})}parseOpen(o){return o.name===this.tag&&(this.model={val:o.attributes.val,operator:o.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],139:[function(s,T,S){const m=s("../base-xform"),o=s("../list-xform"),a=s("./custom-filter-xform"),r=s("./filter-xform");T.exports=class extends m{constructor(){super(),this.map={customFilters:new o({tag:"customFilters",count:!1,empty:!0,childXform:new a}),filters:new o({tag:"filters",count:!1,empty:!0,childXform:new r})}}get tag(){return"filterColumn"}prepare(t,e){t.colId=e.index.toString()}render(t,e){return e.customFilters?(t.openNode(this.tag,{colId:e.colId,hiddenButton:e.filterButton?"0":"1"}),this.map.customFilters.render(t,e.customFilters),t.closeNode(),!0):(t.leafNode(this.tag,{colId:e.colId,hiddenButton:e.filterButton?"0":"1"}),!0)}parseOpen(t){if(this.parser)return this.parser.parseOpen(t),!0;const{attributes:e}=t;switch(t.name){case this.tag:return this.model={filterButton:e.hiddenButton==="0"},!0;default:if(this.parser=this.map[t.name],this.parser)return this.parseOpen(t),!0;throw new Error("Unexpected xml node in parseOpen: "+JSON.stringify(t))}}parseText(){}parseClose(t){if(this.parser)return this.parser.parseClose(t)||(this.parser=void 0),!0;switch(t){case this.tag:return this.model.customFilters=this.map.customFilters.model,!1;default:return!0}}}},{"../base-xform":32,"../list-xform":71,"./custom-filter-xform":138,"./filter-xform":140}],140:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"filter"}render(o,a){o.leafNode(this.tag,{val:a.val})}parseOpen(o){return o.name===this.tag&&(this.model={val:o.attributes.val},!0)}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],141:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"tableColumn"}prepare(o,a){o.id=a.index+1}render(o,a){return o.leafNode(this.tag,{id:a.id.toString(),name:a.name,totalsRowLabel:a.totalsRowLabel,totalsRowFunction:a.totalsRowFunction,dxfId:a.dxfId}),!0}parseOpen(o){if(o.name===this.tag){const{attributes:a}=o;return this.model={name:a.name,totalsRowLabel:a.totalsRowLabel,totalsRowFunction:a.totalsRowFunction,dxfId:a.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],142:[function(s,T,S){const m=s("../base-xform");T.exports=class extends m{get tag(){return"tableStyleInfo"}render(o,a){return o.leafNode(this.tag,{name:a.theme?a.theme:void 0,showFirstColumn:a.showFirstColumn?"1":"0",showLastColumn:a.showLastColumn?"1":"0",showRowStripes:a.showRowStripes?"1":"0",showColumnStripes:a.showColumnStripes?"1":"0"}),!0}parseOpen(o){if(o.name===this.tag){const{attributes:a}=o;return this.model={theme:a.name?a.name:null,showFirstColumn:a.showFirstColumn==="1",showLastColumn:a.showLastColumn==="1",showRowStripes:a.showRowStripes==="1",showColumnStripes:a.showColumnStripes==="1"},!0}return!1}parseText(){}parseClose(){return!1}}},{"../base-xform":32}],143:[function(s,T,S){const m=s("../../../utils/xml-stream"),o=s("../base-xform"),a=s("../list-xform"),r=s("./auto-filter-xform"),t=s("./table-column-xform"),e=s("./table-style-info-xform");class l extends o{constructor(){super(),this.map={autoFilter:new r,tableColumns:new a({tag:"tableColumns",count:!0,empty:!0,childXform:new t}),tableStyleInfo:new e}}prepare(i,c){this.map.autoFilter.prepare(i),this.map.tableColumns.prepare(i.columns,c)}get tag(){return"table"}render(i,c){i.openXml(m.StdDocAttributes),i.openNode(this.tag,{...l.TABLE_ATTRIBUTES,id:c.id,name:c.name,displayName:c.displayName||c.name,ref:c.tableRef,totalsRowCount:c.totalsRow?"1":void 0,totalsRowShown:c.totalsRow?void 0:"1",headerRowCount:c.headerRow?"1":"0"}),this.map.autoFilter.render(i,c),this.map.tableColumns.render(i,c.columns),this.map.tableStyleInfo.render(i,c.style),i.closeNode()}parseOpen(i){if(this.parser)return this.parser.parseOpen(i),!0;const{name:c,attributes:h}=i;switch(c){case this.tag:this.reset(),this.model={name:h.name,displayName:h.displayName||h.name,tableRef:h.ref,totalsRow:h.totalsRowCount==="1",headerRow:h.headerRowCount==="1"};break;default:this.parser=this.map[i.name],this.parser&&this.parser.parseOpen(i)}return!0}parseText(i){this.parser&&this.parser.parseText(i)}parseClose(i){if(this.parser)return this.parser.parseClose(i)||(this.parser=void 0),!0;switch(i){case this.tag:return this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach((c,h)=>{this.model.columns[h].filterButton=c.filterButton})),this.model.style=this.map.tableStyleInfo.model,!1;default:return!0}}reconcile(i,c){i.columns.forEach(h=>{h.dxfId!==void 0&&(h.style=c.styles.getDxfStyle(h.dxfId))})}}l.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},T.exports=l},{"../../../utils/xml-stream":28,"../base-xform":32,"../list-xform":71,"./auto-filter-xform":137,"./table-column-xform":141,"./table-style-info-xform":142}],144:[function(s,T,S){(function(m,o){(function(){const a=s("fs"),r=s("jszip"),{PassThrough:t}=s("readable-stream"),e=s("../utils/zip-stream"),l=s("../utils/stream-buf"),n=s("../utils/utils"),i=s("../utils/xml-stream"),{bufferToString:c}=s("../utils/browser-buffer-decode"),h=s("./xform/style/styles-xform"),u=s("./xform/core/core-xform"),d=s("./xform/strings/shared-strings-xform"),f=s("./xform/core/relationships-xform"),w=s("./xform/core/content-types-xform"),_=s("./xform/core/app-xform"),A=s("./xform/book/workbook-xform"),N=s("./xform/sheet/worksheet-xform"),L=s("./xform/drawing/drawing-xform"),j=s("./xform/table/table-xform"),P=s("./xform/comment/comments-xform"),D=s("./xform/comment/vml-notes-xform"),$=s("./xml/theme1");class B{constructor(M){this.workbook=M}async readFile(M,v){if(!await n.fs.exists(M))throw new Error("File not found: "+M);const p=a.createReadStream(M);try{const b=await this.read(p,v);return p.close(),b}catch(b){throw p.close(),b}}parseRels(M){return new f().parseStream(M)}parseWorkbook(M){return new A().parseStream(M)}parseSharedStrings(M){return new d().parseStream(M)}reconcile(M,v){const p=new A,b=new N(v),g=new L,y=new j;p.reconcile(M);const k={media:M.media,mediaIndex:M.mediaIndex};Object.keys(M.drawings).forEach(z=>{const U=M.drawings[z],q=M.drawingRels[z];q&&(k.rels=q.reduce((O,H)=>(O[H.Id]=H,O),{}),(U.anchors||[]).forEach(O=>{const H=O.picture&&O.picture.hyperlinks;H&&k.rels[H.rId]&&(H.hyperlink=k.rels[H.rId].Target,delete H.rId)}),g.reconcile(U,k))});const R={styles:M.styles};Object.values(M.tables).forEach(z=>{y.reconcile(z,R)});const I={styles:M.styles,sharedStrings:M.sharedStrings,media:M.media,mediaIndex:M.mediaIndex,date1904:M.properties&&M.properties.date1904,drawings:M.drawings,comments:M.comments,tables:M.tables,vmlDrawings:M.vmlDrawings};M.worksheets.forEach(z=>{z.relationships=M.worksheetRels[z.sheetNo],b.reconcile(z,I)}),delete M.worksheetHash,delete M.worksheetRels,delete M.globalRels,delete M.sharedStrings,delete M.workbookRels,delete M.sheetDefs,delete M.styles,delete M.mediaIndex,delete M.drawings,delete M.drawingRels,delete M.vmlDrawings}async _processWorksheetEntry(M,v,p,b,g){const y=new N(b),k=await y.parseStream(M);k.sheetNo=p,v.worksheetHash[g]=k,v.worksheets.push(k)}async _processCommentEntry(M,v,p){const b=new P,g=await b.parseStream(M);v.comments[`../${p}.xml`]=g}async _processTableEntry(M,v,p){const b=new j,g=await b.parseStream(M);v.tables[`../tables/${p}.xml`]=g}async _processWorksheetRelsEntry(M,v,p){const b=new f,g=await b.parseStream(M);v.worksheetRels[p]=g}async _processMediaEntry(M,v,p){const b=p.lastIndexOf(".");if(b>=1){const g=p.substr(b+1),y=p.substr(0,b);await new Promise((k,R)=>{const I=new l;I.on("finish",()=>{v.mediaIndex[p]=v.media.length,v.mediaIndex[y]=v.media.length;const z={type:"image",name:y,extension:g,buffer:I.toBuffer()};v.media.push(z),k()}),M.on("error",z=>{R(z)}),M.pipe(I)})}}async _processDrawingEntry(M,v,p){const b=new L,g=await b.parseStream(M);v.drawings[p]=g}async _processDrawingRelsEntry(M,v,p){const b=new f,g=await b.parseStream(M);v.drawingRels[p]=g}async _processVmlDrawingEntry(M,v,p){const b=new D,g=await b.parseStream(M);v.vmlDrawings[`../drawings/${p}.vml`]=g}async _processThemeEntry(M,v,p){await new Promise((b,g)=>{const y=new l;M.on("error",g),y.on("error",g),y.on("finish",()=>{v.themes[p]=y.read().toString(),b()}),M.pipe(y)})}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(M,v){!M[Symbol.asyncIterator]&&M.pipe&&(M=M.pipe(new t));const p=[];for await(const b of M)p.push(b);return this.load(o.concat(p),v)}async load(M,v){let p;p=v&&v.base64?o.from(M.toString(),"base64"):M;const b={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},g=await r.loadAsync(p);for(const y of Object.values(g.files))if(!y.dir){let k,R=y.name;if(R[0]==="/"&&(R=R.substr(1)),R.match(/xl\/media\//)||R.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))k=new t,k.write(await y.async("nodebuffer"));else{let I;k=new t({writableObjectMode:!0,readableObjectMode:!0}),I=m.browser?c(await y.async("nodebuffer")):await y.async("string");const z=16384;for(let U=0;U{if(p.type==="image"){const b=`xl/media/${p.name}.${p.extension}`;if(p.filename){const g=await function(y,k){return new Promise((R,I)=>{a.readFile(y,k,(z,U)=>{z?I(z):R(U)})})}(p.filename);return M.append(g,{name:b})}if(p.buffer)return M.append(p.buffer,{name:b});if(p.base64){const g=p.base64,y=g.substring(g.indexOf(",")+1);return M.append(y,{name:b,base64:!0})}}throw new Error("Unsupported media")}))}addDrawings(M,v){const p=new L,b=new f;v.worksheets.forEach(g=>{const{drawing:y}=g;if(y){p.prepare(y,{});let k=p.toXml(y);M.append(k,{name:`xl/drawings/${y.name}.xml`}),k=b.toXml(y.rels),M.append(k,{name:`xl/drawings/_rels/${y.name}.xml.rels`})}})}addTables(M,v){const p=new j;v.worksheets.forEach(b=>{const{tables:g}=b;g.forEach(y=>{p.prepare(y,{});const k=p.toXml(y);M.append(k,{name:"xl/tables/"+y.target})})})}async addContentTypes(M,v){const p=new w().toXml(v);M.append(p,{name:"[Content_Types].xml"})}async addApp(M,v){const p=new _().toXml(v);M.append(p,{name:"docProps/app.xml"})}async addCore(M,v){const p=new u;M.append(p.toXml(v),{name:"docProps/core.xml"})}async addThemes(M,v){const p=v.themes||{theme1:$};Object.keys(p).forEach(b=>{const g=p[b],y=`xl/theme/${b}.xml`;M.append(g,{name:y})})}async addOfficeRels(M){const v=new f().toXml([{Id:"rId1",Type:B.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:B.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:B.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);M.append(v,{name:"_rels/.rels"})}async addWorkbookRels(M,v){let p=1;const b=[{Id:"rId"+p++,Type:B.RelType.Styles,Target:"styles.xml"},{Id:"rId"+p++,Type:B.RelType.Theme,Target:"theme/theme1.xml"}];v.sharedStrings.count&&b.push({Id:"rId"+p++,Type:B.RelType.SharedStrings,Target:"sharedStrings.xml"}),v.worksheets.forEach(y=>{y.rId="rId"+p++,b.push({Id:y.rId,Type:B.RelType.Worksheet,Target:`worksheets/sheet${y.id}.xml`})});const g=new f().toXml(b);M.append(g,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(M,v){v.sharedStrings&&v.sharedStrings.count&&M.append(v.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(M,v){const{xml:p}=v.styles;p&&M.append(p,{name:"xl/styles.xml"})}async addWorkbook(M,v){const p=new A;M.append(p.toXml(v),{name:"xl/workbook.xml"})}async addWorksheets(M,v){const p=new N,b=new f,g=new P,y=new D;v.worksheets.forEach(k=>{let R=new i;p.render(R,k),M.append(R.xml,{name:`xl/worksheets/sheet${k.id}.xml`}),k.rels&&k.rels.length&&(R=new i,b.render(R,k.rels),M.append(R.xml,{name:`xl/worksheets/_rels/sheet${k.id}.xml.rels`})),k.comments.length>0&&(R=new i,g.render(R,k),M.append(R.xml,{name:`xl/comments${k.id}.xml`}),R=new i,y.render(R,k),M.append(R.xml,{name:`xl/drawings/vmlDrawing${k.id}.vml`}))})}_finalize(M){return new Promise((v,p)=>{M.on("finish",()=>{v(this)}),M.on("error",p),M.finalize()})}prepareModel(M,v){M.creator=M.creator||"ExcelJS",M.lastModifiedBy=M.lastModifiedBy||"ExcelJS",M.created=M.created||new Date,M.modified=M.modified||new Date,M.useSharedStrings=v.useSharedStrings===void 0||v.useSharedStrings,M.useStyles=v.useStyles===void 0||v.useStyles,M.sharedStrings=new d,M.styles=M.useStyles?new h(!0):new h.Mock;const p=new A,b=new N;p.prepare(M);const g={sharedStrings:M.sharedStrings,styles:M.styles,date1904:M.properties.date1904,drawingsCount:0,media:M.media};g.drawings=M.drawings=[],g.commentRefs=M.commentRefs=[];let y=0;M.tables=[],M.worksheets.forEach(k=>{k.tables.forEach(R=>{y++,R.target=`table${y}.xml`,R.id=y,M.tables.push(R)}),b.prepare(k,g)})}async write(M,v){v=v||{};const{model:p}=this.workbook,b=new e.ZipWriter(v.zip);return b.pipe(M),this.prepareModel(p,v),await this.addContentTypes(b,p),await this.addOfficeRels(b,p),await this.addWorkbookRels(b,p),await this.addWorksheets(b,p),await this.addSharedStrings(b,p),await this.addDrawings(b,p),await this.addTables(b,p),await Promise.all([this.addThemes(b,p),this.addStyles(b,p)]),await this.addMedia(b,p),await Promise.all([this.addApp(b,p),this.addCore(b,p)]),await this.addWorkbook(b,p),this._finalize(b)}writeFile(M,v){const p=a.createWriteStream(M);return new Promise((b,g)=>{p.on("finish",()=>{b()}),p.on("error",y=>{g(y)}),this.write(p,v).then(()=>{p.end()}).catch(y=>{g(y)})})}async writeBuffer(M){const v=new l;return await this.write(v,M),v.read()}}B.RelType=s("./rel-type"),T.exports=B}).call(this)}).call(this,s("_process"),s("buffer").Buffer)},{"../utils/browser-buffer-decode":16,"../utils/stream-buf":24,"../utils/utils":27,"../utils/xml-stream":28,"../utils/zip-stream":29,"./rel-type":31,"./xform/book/workbook-xform":38,"./xform/comment/comments-xform":40,"./xform/comment/vml-notes-xform":45,"./xform/core/app-xform":51,"./xform/core/content-types-xform":52,"./xform/core/core-xform":53,"./xform/core/relationships-xform":55,"./xform/drawing/drawing-xform":62,"./xform/sheet/worksheet-xform":115,"./xform/strings/shared-strings-xform":124,"./xform/style/styles-xform":135,"./xform/table/table-xform":143,"./xml/theme1":145,_process:467,buffer:220,fs:216,jszip:441,"readable-stream":491}],145:[function(s,T,S){T.exports=` `},{}],146:[function(s,T,S){(function(m){(function(){Object.defineProperty(S,"__esModule",{value:!0}),S.CsvFormatterStream=void 0;const o=s("stream"),a=s("./formatter");class r extends o.Transform{constructor(e){super({writableObjectMode:e.objectMode}),this.hasWrittenBOM=!1,this.formatterOptions=e,this.rowFormatter=new a.RowFormatter(e),this.hasWrittenBOM=!e.writeBOM}transform(e){return this.rowFormatter.rowTransform=e,this}_transform(e,l,n){let i=!1;try{this.hasWrittenBOM||(this.push(this.formatterOptions.BOM),this.hasWrittenBOM=!0),this.rowFormatter.format(e,(c,h)=>c?(i=!0,n(c)):(h&&h.forEach(u=>{this.push(m.from(u,"utf8"))}),i=!0,n()))}catch(c){if(i)throw c;n(c)}}_flush(e){this.rowFormatter.finish((l,n)=>l?e(l):(n&&n.forEach(i=>{this.push(m.from(i,"utf8"))}),e()))}}S.CsvFormatterStream=r}).call(this)}).call(this,s("buffer").Buffer)},{"./formatter":150,buffer:220,stream:505}],147:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.FormatterOptions=void 0,S.FormatterOptions=class{constructor(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var o;this.objectMode=!0,this.delimiter=",",this.rowDelimiter=` `,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,m||{}),(m==null?void 0:m.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(m==null?void 0:m.quote)===!0?this.quote='"':(m==null?void 0:m.quote)===!1&&(this.quote=""),typeof(m==null?void 0:m.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((o=m.writeHeaders)===null||o===void 0||o),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(s,T,S){var m=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(S,"__esModule",{value:!0}),S.FieldFormatter=void 0;const o=m(s("lodash.isboolean")),a=m(s("lodash.isnil")),r=m(s("lodash.escaperegexp"));S.FieldFormatter=class{constructor(t){this._headers=null,this.formatterOptions=t,t.headers!==null&&(this.headers=t.headers),this.REPLACE_REGEXP=new RegExp(t.quote,"g");const e=`[${t.delimiter}${r.default(t.rowDelimiter)}|\r| diff --git a/admin-views/dist/assets/exceljs.min-f045f53a.js.gz b/admin-views/dist/assets/exceljs.min-f045f53a.js.gz new file mode 100644 index 00000000..db81ab53 Binary files /dev/null and b/admin-views/dist/assets/exceljs.min-f045f53a.js.gz differ diff --git a/admin-views/dist/assets/handlebars-b768997e.js b/admin-views/dist/assets/handlebars-2c91027f.js similarity index 97% rename from admin-views/dist/assets/handlebars-b768997e.js rename to admin-views/dist/assets/handlebars-2c91027f.js index 3dcace4a..43b2a9a6 100644 --- a/admin-views/dist/assets/handlebars-b768997e.js +++ b/admin-views/dist/assets/handlebars-2c91027f.js @@ -1 +1 @@ -import{l as e}from"./editor.main-a369f260.js";import"./index-91036dd3.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{r as conf,m as language}; +import{l as e}from"./editor.main-ad4f8984.js";import"./index-a61a86fd.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{r as conf,m as language}; diff --git a/admin-views/dist/assets/handlebars-2c91027f.js.gz b/admin-views/dist/assets/handlebars-2c91027f.js.gz new file mode 100644 index 00000000..5f62f884 Binary files /dev/null and b/admin-views/dist/assets/handlebars-2c91027f.js.gz differ diff --git a/admin-views/dist/assets/handlebars-b768997e.js.gz b/admin-views/dist/assets/handlebars-b768997e.js.gz deleted file mode 100644 index a048df48..00000000 Binary files a/admin-views/dist/assets/handlebars-b768997e.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/hls-53ef0fc3.js.gz b/admin-views/dist/assets/hls-53ef0fc3.js.gz deleted file mode 100644 index 916b52cb..00000000 Binary files a/admin-views/dist/assets/hls-53ef0fc3.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/hls-53ef0fc3.js b/admin-views/dist/assets/hls-7f30c691.js similarity index 99% rename from admin-views/dist/assets/hls-53ef0fc3.js rename to admin-views/dist/assets/hls-7f30c691.js index b10b24f8..a7321150 100644 --- a/admin-views/dist/assets/hls-53ef0fc3.js +++ b/admin-views/dist/assets/hls-7f30c691.js @@ -1,4 +1,4 @@ -import{f as wt,Q as Wt}from"./index-91036dd3.js";function Gt(Lt,Ot){for(var W=0;WM[y]})}}}return Object.freeze(Object.defineProperty(Lt,Symbol.toStringTag,{value:"Module"}))}var Mt={exports:{}};(function(Lt,Ot){typeof window<"u"&&function(M,y){Lt.exports=y()}(Wt,function(){return function(W){var M={};function y(C){if(M[C])return M[C].exports;var D=M[C]={i:C,l:!1,exports:{}};return W[C].call(D.exports,D,D.exports,y),D.l=!0,D.exports}return y.m=W,y.c=M,y.d=function(C,D,A){y.o(C,D)||Object.defineProperty(C,D,{enumerable:!0,get:A})},y.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},y.t=function(C,D){if(D&1&&(C=y(C)),D&8||D&4&&typeof C=="object"&&C&&C.__esModule)return C;var A=Object.create(null);if(y.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:C}),D&2&&typeof C!="string")for(var b in C)y.d(A,b,(function(I){return C[I]}).bind(null,b));return A},y.n=function(C){var D=C&&C.__esModule?function(){return C.default}:function(){return C};return y.d(D,"a",D),D},y.o=function(C,D){return Object.prototype.hasOwnProperty.call(C,D)},y.p="/dist/",y(y.s="./src/hls.ts")}({"./node_modules/eventemitter3/index.js":function(W,M,y){var C=Object.prototype.hasOwnProperty,D="~";function A(){}Object.create&&(A.prototype=Object.create(null),new A().__proto__||(D=!1));function b(m,S,p){this.fn=m,this.context=S,this.once=p||!1}function I(m,S,p,T,E){if(typeof p!="function")throw new TypeError("The listener must be a function");var v=new b(p,T||m,E),n=D?D+S:S;return m._events[n]?m._events[n].fn?m._events[n]=[m._events[n],v]:m._events[n].push(v):(m._events[n]=v,m._eventsCount++),m}function O(m,S){--m._eventsCount===0?m._events=new A:delete m._events[S]}function L(){this._events=new A,this._eventsCount=0}L.prototype.eventNames=function(){var S=[],p,T;if(this._eventsCount===0)return S;for(T in p=this._events)C.call(p,T)&&S.push(D?T.slice(1):T);return Object.getOwnPropertySymbols?S.concat(Object.getOwnPropertySymbols(p)):S},L.prototype.listeners=function(S){var p=D?D+S:S,T=this._events[p];if(!T)return[];if(T.fn)return[T.fn];for(var E=0,v=T.length,n=new Array(v);E0},!1)}function m(S,p){for(var T={main:[p]},E={main:[]},v={main:{}};L(T);)for(var n=Object.keys(T),t=0;tM[y]})}}}return Object.freeze(Object.defineProperty(Lt,Symbol.toStringTag,{value:"Module"}))}var Mt={exports:{}};(function(Lt,Ot){typeof window<"u"&&function(M,y){Lt.exports=y()}(Wt,function(){return function(W){var M={};function y(C){if(M[C])return M[C].exports;var D=M[C]={i:C,l:!1,exports:{}};return W[C].call(D.exports,D,D.exports,y),D.l=!0,D.exports}return y.m=W,y.c=M,y.d=function(C,D,A){y.o(C,D)||Object.defineProperty(C,D,{enumerable:!0,get:A})},y.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})},y.t=function(C,D){if(D&1&&(C=y(C)),D&8||D&4&&typeof C=="object"&&C&&C.__esModule)return C;var A=Object.create(null);if(y.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:C}),D&2&&typeof C!="string")for(var b in C)y.d(A,b,(function(I){return C[I]}).bind(null,b));return A},y.n=function(C){var D=C&&C.__esModule?function(){return C.default}:function(){return C};return y.d(D,"a",D),D},y.o=function(C,D){return Object.prototype.hasOwnProperty.call(C,D)},y.p="/dist/",y(y.s="./src/hls.ts")}({"./node_modules/eventemitter3/index.js":function(W,M,y){var C=Object.prototype.hasOwnProperty,D="~";function A(){}Object.create&&(A.prototype=Object.create(null),new A().__proto__||(D=!1));function b(m,S,p){this.fn=m,this.context=S,this.once=p||!1}function I(m,S,p,T,E){if(typeof p!="function")throw new TypeError("The listener must be a function");var v=new b(p,T||m,E),n=D?D+S:S;return m._events[n]?m._events[n].fn?m._events[n]=[m._events[n],v]:m._events[n].push(v):(m._events[n]=v,m._eventsCount++),m}function O(m,S){--m._eventsCount===0?m._events=new A:delete m._events[S]}function L(){this._events=new A,this._eventsCount=0}L.prototype.eventNames=function(){var S=[],p,T;if(this._eventsCount===0)return S;for(T in p=this._events)C.call(p,T)&&S.push(D?T.slice(1):T);return Object.getOwnPropertySymbols?S.concat(Object.getOwnPropertySymbols(p)):S},L.prototype.listeners=function(S){var p=D?D+S:S,T=this._events[p];if(!T)return[];if(T.fn)return[T.fn];for(var E=0,v=T.length,n=new Array(v);E0},!1)}function m(S,p){for(var T={main:[p]},E={main:[]},v={main:{}};L(T);)for(var n=Object.keys(T),t=0;t=2*o/h||x<=P)){var _=Number.POSITIVE_INFINITY,F;for(F=n.level-1;F>a;F--){var B=u[F].maxBitrate;if(_=o*B/(8*.8*g),_=x)){var U=this.bwEstimator.getEstimate();L.logger.warn("Fragment "+n.sn+(t?" part "+t.index:"")+" of level "+n.level+" is loading too slowly and will cause an underbuffer; aborting and switching to level "+F+` Current BW estimate: `+(Object(C.isFiniteNumber)(U)?(U/1024).toFixed(3):"Unknown")+` Kb/s Estimated load time for current fragment: `+x.toFixed(3)+` s diff --git a/admin-views/dist/assets/hls-7f30c691.js.gz b/admin-views/dist/assets/hls-7f30c691.js.gz new file mode 100644 index 00000000..189424f7 Binary files /dev/null and b/admin-views/dist/assets/hls-7f30c691.js.gz differ diff --git a/admin-views/dist/assets/html-e0ff75ee.js b/admin-views/dist/assets/html-5114048a.js similarity index 97% rename from admin-views/dist/assets/html-e0ff75ee.js rename to admin-views/dist/assets/html-5114048a.js index ff5dce0c..90625c44 100644 --- a/admin-views/dist/assets/html-e0ff75ee.js +++ b/admin-views/dist/assets/html-5114048a.js @@ -1 +1 @@ -import{l as e}from"./editor.main-a369f260.js";import"./index-91036dd3.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},o={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{r as conf,o as language}; +import{l as e}from"./editor.main-ad4f8984.js";import"./index-a61a86fd.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},o={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{r as conf,o as language}; diff --git a/admin-views/dist/assets/html-5114048a.js.gz b/admin-views/dist/assets/html-5114048a.js.gz new file mode 100644 index 00000000..545184f7 Binary files /dev/null and b/admin-views/dist/assets/html-5114048a.js.gz differ diff --git a/admin-views/dist/assets/html-e0ff75ee.js.gz b/admin-views/dist/assets/html-e0ff75ee.js.gz deleted file mode 100644 index 831b74b0..00000000 Binary files a/admin-views/dist/assets/html-e0ff75ee.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/htmlMode-9fa01f74.js b/admin-views/dist/assets/htmlMode-7e5850bd.js similarity index 99% rename from admin-views/dist/assets/htmlMode-9fa01f74.js rename to admin-views/dist/assets/htmlMode-7e5850bd.js index 9af9c38b..794d2c55 100644 --- a/admin-views/dist/assets/htmlMode-9fa01f74.js +++ b/admin-views/dist/assets/htmlMode-7e5850bd.js @@ -1,4 +1,4 @@ -import{e as Oe,R as Pe,l as f,U as Xe}from"./editor.main-a369f260.js";import"./index-91036dd3.js";var $e=2*60*1e3,Fe=function(){function n(r){var i=this;this._defaults=r,this._worker=null,this._idleCheckInterval=window.setInterval(function(){return i._checkIfIdle()},30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(function(){return i._stopWorker()})}return n.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},n.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},n.prototype._checkIfIdle=function(){if(this._worker){var r=Date.now()-this._lastUsedTime;r>$e&&this._stopWorker()}},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=Oe.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var r=this,i=[],t=0;t0&&(s.arguments=a),s}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.title)&&o.string(e.command)}n.is=i})(P||(P={}));var x;(function(n){function r(a,u){return{range:a,newText:u}}n.replace=r;function i(a,u){return{range:{start:a,end:a},newText:u}}n.insert=i;function t(a){return{range:a,newText:""}}n.del=t;function e(a){var u=a;return o.objectLiteral(u)&&o.string(u.newText)&&m.is(u.range)}n.is=e})(x||(x={}));var C;(function(n){function r(t,e,a){var u={label:t};return e!==void 0&&(u.needsConfirmation=e),a!==void 0&&(u.description=a),u}n.create=r;function i(t){var e=t;return e!==void 0&&o.objectLiteral(e)&&o.string(e.label)&&(o.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(o.string(e.description)||e.description===void 0)}n.is=i})(C||(C={}));var w;(function(n){function r(i){var t=i;return typeof t=="string"}n.is=r})(w||(w={}));var E;(function(n){function r(a,u,s){return{range:a,newText:u,annotationId:s}}n.replace=r;function i(a,u,s){return{range:{start:a,end:a},newText:u,annotationId:s}}n.insert=i;function t(a,u){return{range:a,newText:"",annotationId:u}}n.del=t;function e(a){var u=a;return x.is(u)&&(C.is(u.annotationId)||w.is(u.annotationId))}n.is=e})(E||(E={}));var N;(function(n){function r(t,e){return{textDocument:t,edits:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&U.is(e.textDocument)&&Array.isArray(e.edits)}n.is=i})(N||(N={}));var F;(function(n){function r(t,e,a){var u={kind:"create",uri:t};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(u.options=e),a!==void 0&&(u.annotationId=a),u}n.create=r;function i(t){var e=t;return e&&e.kind==="create"&&o.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||o.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||o.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(F||(F={}));var T;(function(n){function r(t,e,a,u){var s={kind:"rename",oldUri:t,newUri:e};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(s.options=a),u!==void 0&&(s.annotationId=u),s}n.create=r;function i(t){var e=t;return e&&e.kind==="rename"&&o.string(e.oldUri)&&o.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||o.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||o.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(T||(T={}));var D;(function(n){function r(t,e,a){var u={kind:"delete",uri:t};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(u.options=e),a!==void 0&&(u.annotationId=a),u}n.create=r;function i(t){var e=t;return e&&e.kind==="delete"&&o.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||o.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||o.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(D||(D={}));var X;(function(n){function r(i){var t=i;return t&&(t.changes!==void 0||t.documentChanges!==void 0)&&(t.documentChanges===void 0||t.documentChanges.every(function(e){return o.string(e.kind)?F.is(e)||T.is(e)||D.is(e):N.is(e)}))}n.is=r})(X||(X={}));var M=function(){function n(r,i){this.edits=r,this.changeAnnotations=i}return n.prototype.insert=function(r,i,t){var e,a;if(t===void 0?e=x.insert(r,i):w.is(t)?(a=t,e=E.insert(r,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),e=E.insert(r,i,a)),this.edits.push(e),a!==void 0)return a},n.prototype.replace=function(r,i,t){var e,a;if(t===void 0?e=x.replace(r,i):w.is(t)?(a=t,e=E.replace(r,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),e=E.replace(r,i,a)),this.edits.push(e),a!==void 0)return a},n.prototype.delete=function(r,i){var t,e;if(i===void 0?t=x.del(r):w.is(i)?(e=i,t=E.del(r,i)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(i),t=E.del(r,e)),this.edits.push(t),e!==void 0)return e},n.prototype.add=function(r){this.edits.push(r)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(r){if(r===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),re=function(){function n(r){this._annotations=r===void 0?Object.create(null):r,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(r,i){var t;if(w.is(r)?t=r:(t=this.nextId(),i=r),this._annotations[t]!==void 0)throw new Error("Id "+t+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+t);return this._annotations[t]=i,this._size++,t},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}();(function(){function n(r){var i=this;this._textEditChanges=Object.create(null),r!==void 0?(this._workspaceEdit=r,r.documentChanges?(this._changeAnnotations=new re(r.changeAnnotations),r.changeAnnotations=this._changeAnnotations.all(),r.documentChanges.forEach(function(t){if(N.is(t)){var e=new M(t.edits,i._changeAnnotations);i._textEditChanges[t.textDocument.uri]=e}})):r.changes&&Object.keys(r.changes).forEach(function(t){var e=new M(r.changes[t]);i._textEditChanges[t]=e})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(r){if(U.is(r)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:r.uri,version:r.version},t=this._textEditChanges[i.uri];if(!t){var e=[],a={textDocument:i,edits:e};this._workspaceEdit.documentChanges.push(a),t=new M(e,this._changeAnnotations),this._textEditChanges[i.uri]=t}return t}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var t=this._textEditChanges[r];if(!t){var e=[];this._workspaceEdit.changes[r]=e,t=new M(e),this._textEditChanges[r]=t}return t}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new re,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(r,i,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;C.is(i)||w.is(i)?e=i:t=i;var a,u;if(e===void 0?a=F.create(r,t):(u=w.is(e)?e:this._changeAnnotations.manage(e),a=F.create(r,t,u)),this._workspaceEdit.documentChanges.push(a),u!==void 0)return u},n.prototype.renameFile=function(r,i,t,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;C.is(t)||w.is(t)?a=t:e=t;var u,s;if(a===void 0?u=T.create(r,i,e):(s=w.is(a)?a:this._changeAnnotations.manage(a),u=T.create(r,i,e,s)),this._workspaceEdit.documentChanges.push(u),s!==void 0)return s},n.prototype.deleteFile=function(r,i,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;C.is(i)||w.is(i)?e=i:t=i;var a,u;if(e===void 0?a=D.create(r,t):(u=w.is(e)?e:this._changeAnnotations.manage(e),a=D.create(r,t,u)),this._workspaceEdit.documentChanges.push(a),u!==void 0)return u},n})();var ie;(function(n){function r(t){return{uri:t}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)}n.is=i})(ie||(ie={}));var ae;(function(n){function r(t,e){return{uri:t,version:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&o.integer(e.version)}n.is=i})(ae||(ae={}));var U;(function(n){function r(t,e){return{uri:t,version:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&(e.version===null||o.integer(e.version))}n.is=i})(U||(U={}));var ue;(function(n){function r(t,e,a,u){return{uri:t,languageId:e,version:a,text:u}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&o.string(e.languageId)&&o.integer(e.version)&&o.string(e.text)}n.is=i})(ue||(ue={}));var S;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(S||(S={}));(function(n){function r(i){var t=i;return t===n.PlainText||t===n.Markdown}n.is=r})(S||(S={}));var $;(function(n){function r(i){var t=i;return o.objectLiteral(i)&&S.is(t.kind)&&o.string(t.value)}n.is=r})($||($={}));var h;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(h||(h={}));var B;(function(n){n.PlainText=1,n.Snippet=2})(B||(B={}));var oe;(function(n){n.Deprecated=1})(oe||(oe={}));var se;(function(n){function r(t,e,a){return{newText:t,insert:e,replace:a}}n.create=r;function i(t){var e=t;return e&&o.string(e.newText)&&m.is(e.insert)&&m.is(e.replace)}n.is=i})(se||(se={}));var ce;(function(n){n.asIs=1,n.adjustIndentation=2})(ce||(ce={}));var de;(function(n){function r(i){return{label:i}}n.create=r})(de||(de={}));var fe;(function(n){function r(i,t){return{items:i||[],isIncomplete:!!t}}n.create=r})(fe||(fe={}));var H;(function(n){function r(t){return t.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=r;function i(t){var e=t;return o.string(e)||o.objectLiteral(e)&&o.string(e.language)&&o.string(e.value)}n.is=i})(H||(H={}));var ge;(function(n){function r(i){var t=i;return!!t&&o.objectLiteral(t)&&($.is(t.contents)||H.is(t.contents)||o.typedArray(t.contents,H.is))&&(i.range===void 0||m.is(i.range))}n.is=r})(ge||(ge={}));var le;(function(n){function r(i,t){return t?{label:i,documentation:t}:{label:i}}n.create=r})(le||(le={}));var he;(function(n){function r(i,t){for(var e=[],a=2;a=0;d--){var p=g[d],b=a.offsetAt(p.range.start),c=a.offsetAt(p.range.end);if(c<=l)s=s.substring(0,b)+p.newText+s.substring(c,s.length);else throw new Error("Overlapping edit");l=b}return s}n.applyEdits=t;function e(a,u){if(a.length<=1)return a;var s=a.length/2|0,g=a.slice(0,s),l=a.slice(s);e(g,u),e(l,u);for(var d=0,p=0,b=0;d$e&&this._stopWorker()}},n.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=Oe.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client},n.prototype.getLanguageServiceWorker=function(){for(var r=this,i=[],t=0;t0&&(s.arguments=a),s}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.title)&&o.string(e.command)}n.is=i})(P||(P={}));var x;(function(n){function r(a,u){return{range:a,newText:u}}n.replace=r;function i(a,u){return{range:{start:a,end:a},newText:u}}n.insert=i;function t(a){return{range:a,newText:""}}n.del=t;function e(a){var u=a;return o.objectLiteral(u)&&o.string(u.newText)&&m.is(u.range)}n.is=e})(x||(x={}));var C;(function(n){function r(t,e,a){var u={label:t};return e!==void 0&&(u.needsConfirmation=e),a!==void 0&&(u.description=a),u}n.create=r;function i(t){var e=t;return e!==void 0&&o.objectLiteral(e)&&o.string(e.label)&&(o.boolean(e.needsConfirmation)||e.needsConfirmation===void 0)&&(o.string(e.description)||e.description===void 0)}n.is=i})(C||(C={}));var w;(function(n){function r(i){var t=i;return typeof t=="string"}n.is=r})(w||(w={}));var E;(function(n){function r(a,u,s){return{range:a,newText:u,annotationId:s}}n.replace=r;function i(a,u,s){return{range:{start:a,end:a},newText:u,annotationId:s}}n.insert=i;function t(a,u){return{range:a,newText:"",annotationId:u}}n.del=t;function e(a){var u=a;return x.is(u)&&(C.is(u.annotationId)||w.is(u.annotationId))}n.is=e})(E||(E={}));var N;(function(n){function r(t,e){return{textDocument:t,edits:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&U.is(e.textDocument)&&Array.isArray(e.edits)}n.is=i})(N||(N={}));var F;(function(n){function r(t,e,a){var u={kind:"create",uri:t};return e!==void 0&&(e.overwrite!==void 0||e.ignoreIfExists!==void 0)&&(u.options=e),a!==void 0&&(u.annotationId=a),u}n.create=r;function i(t){var e=t;return e&&e.kind==="create"&&o.string(e.uri)&&(e.options===void 0||(e.options.overwrite===void 0||o.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||o.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(F||(F={}));var T;(function(n){function r(t,e,a,u){var s={kind:"rename",oldUri:t,newUri:e};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(s.options=a),u!==void 0&&(s.annotationId=u),s}n.create=r;function i(t){var e=t;return e&&e.kind==="rename"&&o.string(e.oldUri)&&o.string(e.newUri)&&(e.options===void 0||(e.options.overwrite===void 0||o.boolean(e.options.overwrite))&&(e.options.ignoreIfExists===void 0||o.boolean(e.options.ignoreIfExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(T||(T={}));var D;(function(n){function r(t,e,a){var u={kind:"delete",uri:t};return e!==void 0&&(e.recursive!==void 0||e.ignoreIfNotExists!==void 0)&&(u.options=e),a!==void 0&&(u.annotationId=a),u}n.create=r;function i(t){var e=t;return e&&e.kind==="delete"&&o.string(e.uri)&&(e.options===void 0||(e.options.recursive===void 0||o.boolean(e.options.recursive))&&(e.options.ignoreIfNotExists===void 0||o.boolean(e.options.ignoreIfNotExists)))&&(e.annotationId===void 0||w.is(e.annotationId))}n.is=i})(D||(D={}));var X;(function(n){function r(i){var t=i;return t&&(t.changes!==void 0||t.documentChanges!==void 0)&&(t.documentChanges===void 0||t.documentChanges.every(function(e){return o.string(e.kind)?F.is(e)||T.is(e)||D.is(e):N.is(e)}))}n.is=r})(X||(X={}));var M=function(){function n(r,i){this.edits=r,this.changeAnnotations=i}return n.prototype.insert=function(r,i,t){var e,a;if(t===void 0?e=x.insert(r,i):w.is(t)?(a=t,e=E.insert(r,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),e=E.insert(r,i,a)),this.edits.push(e),a!==void 0)return a},n.prototype.replace=function(r,i,t){var e,a;if(t===void 0?e=x.replace(r,i):w.is(t)?(a=t,e=E.replace(r,i,t)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(t),e=E.replace(r,i,a)),this.edits.push(e),a!==void 0)return a},n.prototype.delete=function(r,i){var t,e;if(i===void 0?t=x.del(r):w.is(i)?(e=i,t=E.del(r,i)):(this.assertChangeAnnotations(this.changeAnnotations),e=this.changeAnnotations.manage(i),t=E.del(r,e)),this.edits.push(t),e!==void 0)return e},n.prototype.add=function(r){this.edits.push(r)},n.prototype.all=function(){return this.edits},n.prototype.clear=function(){this.edits.splice(0,this.edits.length)},n.prototype.assertChangeAnnotations=function(r){if(r===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},n}(),re=function(){function n(r){this._annotations=r===void 0?Object.create(null):r,this._counter=0,this._size=0}return n.prototype.all=function(){return this._annotations},Object.defineProperty(n.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),n.prototype.manage=function(r,i){var t;if(w.is(r)?t=r:(t=this.nextId(),i=r),this._annotations[t]!==void 0)throw new Error("Id "+t+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+t);return this._annotations[t]=i,this._size++,t},n.prototype.nextId=function(){return this._counter++,this._counter.toString()},n}();(function(){function n(r){var i=this;this._textEditChanges=Object.create(null),r!==void 0?(this._workspaceEdit=r,r.documentChanges?(this._changeAnnotations=new re(r.changeAnnotations),r.changeAnnotations=this._changeAnnotations.all(),r.documentChanges.forEach(function(t){if(N.is(t)){var e=new M(t.edits,i._changeAnnotations);i._textEditChanges[t.textDocument.uri]=e}})):r.changes&&Object.keys(r.changes).forEach(function(t){var e=new M(r.changes[t]);i._textEditChanges[t]=e})):this._workspaceEdit={}}return Object.defineProperty(n.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),n.prototype.getTextEditChange=function(r){if(U.is(r)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:r.uri,version:r.version},t=this._textEditChanges[i.uri];if(!t){var e=[],a={textDocument:i,edits:e};this._workspaceEdit.documentChanges.push(a),t=new M(e,this._changeAnnotations),this._textEditChanges[i.uri]=t}return t}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var t=this._textEditChanges[r];if(!t){var e=[];this._workspaceEdit.changes[r]=e,t=new M(e),this._textEditChanges[r]=t}return t}},n.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new re,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},n.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},n.prototype.createFile=function(r,i,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;C.is(i)||w.is(i)?e=i:t=i;var a,u;if(e===void 0?a=F.create(r,t):(u=w.is(e)?e:this._changeAnnotations.manage(e),a=F.create(r,t,u)),this._workspaceEdit.documentChanges.push(a),u!==void 0)return u},n.prototype.renameFile=function(r,i,t,e){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;C.is(t)||w.is(t)?a=t:e=t;var u,s;if(a===void 0?u=T.create(r,i,e):(s=w.is(a)?a:this._changeAnnotations.manage(a),u=T.create(r,i,e,s)),this._workspaceEdit.documentChanges.push(u),s!==void 0)return s},n.prototype.deleteFile=function(r,i,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var e;C.is(i)||w.is(i)?e=i:t=i;var a,u;if(e===void 0?a=D.create(r,t):(u=w.is(e)?e:this._changeAnnotations.manage(e),a=D.create(r,t,u)),this._workspaceEdit.documentChanges.push(a),u!==void 0)return u},n})();var ie;(function(n){function r(t){return{uri:t}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)}n.is=i})(ie||(ie={}));var ae;(function(n){function r(t,e){return{uri:t,version:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&o.integer(e.version)}n.is=i})(ae||(ae={}));var U;(function(n){function r(t,e){return{uri:t,version:e}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&(e.version===null||o.integer(e.version))}n.is=i})(U||(U={}));var ue;(function(n){function r(t,e,a,u){return{uri:t,languageId:e,version:a,text:u}}n.create=r;function i(t){var e=t;return o.defined(e)&&o.string(e.uri)&&o.string(e.languageId)&&o.integer(e.version)&&o.string(e.text)}n.is=i})(ue||(ue={}));var S;(function(n){n.PlainText="plaintext",n.Markdown="markdown"})(S||(S={}));(function(n){function r(i){var t=i;return t===n.PlainText||t===n.Markdown}n.is=r})(S||(S={}));var $;(function(n){function r(i){var t=i;return o.objectLiteral(i)&&S.is(t.kind)&&o.string(t.value)}n.is=r})($||($={}));var h;(function(n){n.Text=1,n.Method=2,n.Function=3,n.Constructor=4,n.Field=5,n.Variable=6,n.Class=7,n.Interface=8,n.Module=9,n.Property=10,n.Unit=11,n.Value=12,n.Enum=13,n.Keyword=14,n.Snippet=15,n.Color=16,n.File=17,n.Reference=18,n.Folder=19,n.EnumMember=20,n.Constant=21,n.Struct=22,n.Event=23,n.Operator=24,n.TypeParameter=25})(h||(h={}));var B;(function(n){n.PlainText=1,n.Snippet=2})(B||(B={}));var oe;(function(n){n.Deprecated=1})(oe||(oe={}));var se;(function(n){function r(t,e,a){return{newText:t,insert:e,replace:a}}n.create=r;function i(t){var e=t;return e&&o.string(e.newText)&&m.is(e.insert)&&m.is(e.replace)}n.is=i})(se||(se={}));var ce;(function(n){n.asIs=1,n.adjustIndentation=2})(ce||(ce={}));var de;(function(n){function r(i){return{label:i}}n.create=r})(de||(de={}));var fe;(function(n){function r(i,t){return{items:i||[],isIncomplete:!!t}}n.create=r})(fe||(fe={}));var H;(function(n){function r(t){return t.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}n.fromPlainText=r;function i(t){var e=t;return o.string(e)||o.objectLiteral(e)&&o.string(e.language)&&o.string(e.value)}n.is=i})(H||(H={}));var ge;(function(n){function r(i){var t=i;return!!t&&o.objectLiteral(t)&&($.is(t.contents)||H.is(t.contents)||o.typedArray(t.contents,H.is))&&(i.range===void 0||m.is(i.range))}n.is=r})(ge||(ge={}));var le;(function(n){function r(i,t){return t?{label:i,documentation:t}:{label:i}}n.create=r})(le||(le={}));var he;(function(n){function r(i,t){for(var e=[],a=2;a=0;d--){var p=g[d],b=a.offsetAt(p.range.start),c=a.offsetAt(p.range.end);if(c<=l)s=s.substring(0,b)+p.newText+s.substring(c,s.length);else throw new Error("Overlapping edit");l=b}return s}n.applyEdits=t;function e(a,u){if(a.length<=1)return a;var s=a.length/2|0,g=a.slice(0,s),l=a.slice(s);e(g,u),e(l,u);for(var d=0,p=0,b=0;d0&&r.push(i.length),this._lineOffsets=r}return this._lineOffsets},n.prototype.positionAt=function(r){r=Math.max(Math.min(r,this._content.length),0);var i=this.getLineOffsets(),t=0,e=i.length;if(e===0)return k.create(0,r);for(;tr?e=a:t=a+1}var u=t-1;return k.create(u,r-i[u])},n.prototype.offsetAt=function(r){var i=this.getLineOffsets();if(r.line>=i.length)return this._content.length;if(r.line<0)return 0;var t=i[r.line],e=r.line+1"u"}n.undefined=t;function e(c){return c===!0||c===!1}n.boolean=e;function a(c){return r.call(c)==="[object String]"}n.string=a;function u(c){return r.call(c)==="[object Number]"}n.number=u;function s(c,y,L){return r.call(c)==="[object Number]"&&y<=c&&c<=L}n.numberRange=s;function g(c){return r.call(c)==="[object Number]"&&-2147483648<=c&&c<=2147483647}n.integer=g;function l(c){return r.call(c)==="[object Number]"&&0<=c&&c<=2147483647}n.uinteger=l;function d(c){return r.call(c)==="[object Function]"}n.func=d;function p(c){return c!==null&&typeof c=="object"}n.objectLiteral=p;function b(c,y){return Array.isArray(c)&&c.every(y)}n.typedArray=b})(o||(o={}));function A(n){if(n)return{character:n.column-1,line:n.lineNumber-1}}function qe(n){if(n)return{start:A(n.getStartPosition()),end:A(n.getEndPosition())}}function _(n){if(n)return new Pe(n.start.line+1,n.start.character+1,n.end.line+1,n.end.character+1)}function Qe(n){return typeof n.insert<"u"&&typeof n.replace<"u"}function Ge(n){var r=f.CompletionItemKind;switch(n){case h.Text:return r.Text;case h.Method:return r.Method;case h.Function:return r.Function;case h.Constructor:return r.Constructor;case h.Field:return r.Field;case h.Variable:return r.Variable;case h.Class:return r.Class;case h.Interface:return r.Interface;case h.Module:return r.Module;case h.Property:return r.Property;case h.Unit:return r.Unit;case h.Value:return r.Value;case h.Enum:return r.Enum;case h.Keyword:return r.Keyword;case h.Snippet:return r.Snippet;case h.Color:return r.Color;case h.File:return r.File;case h.Reference:return r.Reference}return r.Property}function q(n){if(n)return{range:_(n.range),text:n.newText}}function Je(n){return n&&n.command==="editor.action.triggerSuggest"?{id:n.command,title:n.title,arguments:n.arguments}:void 0}var Te=function(){function n(r){this._worker=r}return Object.defineProperty(n.prototype,"triggerCharacters",{get:function(){return[".",":","<",'"',"=","/"]},enumerable:!1,configurable:!0}),n.prototype.provideCompletionItems=function(r,i,t,e){var a=r.uri;return this._worker(a).then(function(u){return u.doComplete(a.toString(),A(i))}).then(function(u){if(u){var s=r.getWordUntilPosition(i),g=new Pe(i.lineNumber,s.startColumn,i.lineNumber,s.endColumn),l=u.items.map(function(d){var p={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,command:Je(d.command),detail:d.detail,range:g,kind:Ge(d.kind)};return d.textEdit&&(Qe(d.textEdit)?p.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:p.range=_(d.textEdit.range),p.insertText=d.textEdit.newText),d.additionalTextEdits&&(p.additionalTextEdits=d.additionalTextEdits.map(q)),d.insertTextFormat===B.Snippet&&(p.insertTextRules=f.CompletionItemInsertTextRule.InsertAsSnippet),p});return{isIncomplete:u.isIncomplete,suggestions:l}}})},n}();function Ye(n){return n&&typeof n=="object"&&typeof n.kind=="string"}function Re(n){return typeof n=="string"?{value:n}:Ye(n)?n.kind==="plaintext"?{value:n.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:n.value}:{value:"```"+n.language+` `+n.value+"\n```\n"}}function Ze(n){if(n)return Array.isArray(n)?n.map(Re):[Re(n)]}var De=function(){function n(r){this._worker=r}return n.prototype.provideHover=function(r,i,t){var e=r.uri;return this._worker(e).then(function(a){return a.doHover(e.toString(),A(i))}).then(function(a){if(a)return{range:_(a.range),contents:Ze(a.contents)}})},n}();function Ke(n){var r=f.DocumentHighlightKind;switch(n){case I.Read:return r.Read;case I.Write:return r.Write;case I.Text:return r.Text}return r.Text}var Se=function(){function n(r){this._worker=r}return n.prototype.provideDocumentHighlights=function(r,i,t){var e=r.uri;return this._worker(e).then(function(a){return a.findDocumentHighlights(e.toString(),A(i))}).then(function(a){if(a)return a.map(function(u){return{range:_(u.range),kind:Ke(u.kind)}})})},n}();function en(n){var r=f.SymbolKind;switch(n){case v.File:return r.Array;case v.Module:return r.Module;case v.Namespace:return r.Namespace;case v.Package:return r.Package;case v.Class:return r.Class;case v.Method:return r.Method;case v.Property:return r.Property;case v.Field:return r.Field;case v.Constructor:return r.Constructor;case v.Enum:return r.Enum;case v.Interface:return r.Interface;case v.Function:return r.Function;case v.Variable:return r.Variable;case v.Constant:return r.Constant;case v.String:return r.String;case v.Number:return r.Number;case v.Boolean:return r.Boolean;case v.Array:return r.Array}return r.Function}var Le=function(){function n(r){this._worker=r}return n.prototype.provideDocumentSymbols=function(r,i){var t=r.uri;return this._worker(t).then(function(e){return e.findDocumentSymbols(t.toString())}).then(function(e){if(e)return e.map(function(a){return{name:a.name,detail:"",containerName:a.containerName,kind:en(a.kind),tags:[],range:_(a.location.range),selectionRange:_(a.location.range)}})})},n}(),Me=function(){function n(r){this._worker=r}return n.prototype.provideLinks=function(r,i){var t=r.uri;return this._worker(t).then(function(e){return e.findDocumentLinks(t.toString())}).then(function(e){if(e)return{links:e.map(function(a){return{range:_(a.range),url:a.target}})}})},n}();function je(n){return{tabSize:n.tabSize,insertSpaces:n.insertSpaces}}var We=function(){function n(r){this._worker=r}return n.prototype.provideDocumentFormattingEdits=function(r,i,t){var e=r.uri;return this._worker(e).then(function(a){return a.format(e.toString(),null,je(i)).then(function(u){if(!(!u||u.length===0))return u.map(q)})})},n}(),Ne=function(){function n(r){this._worker=r}return n.prototype.provideDocumentRangeFormattingEdits=function(r,i,t,e){var a=r.uri;return this._worker(a).then(function(u){return u.format(a.toString(),qe(i),je(t)).then(function(s){if(!(!s||s.length===0))return s.map(q)})})},n}(),Ue=function(){function n(r){this._worker=r}return n.prototype.provideRenameEdits=function(r,i,t,e){var a=r.uri;return this._worker(a).then(function(u){return u.doRename(a.toString(),A(i),t)}).then(function(u){return nn(u)})},n}();function nn(n){if(!(!n||!n.changes)){var r=[];for(var i in n.changes)for(var t=Xe.parse(i),e=0,a=n.changes[i];ev[q]})}}}return Object.freeze(Object.defineProperty(H,Symbol.toStringTag,{value:"Module"}))}var ke={exports:{}},oe={exports:{}},ie;function we(){return ie||(ie=1,function(H,X){(function(u){u(Z)})(function(u){var v={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},q={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};u.defineMode("xml",function(O,D){var F=O.indentUnit,b={},$=D.htmlMode?v:q;for(var C in $)b[C]=$[C];for(var C in D)b[C]=D[C];var p,l;function m(t,i){function o(U){return i.tokenize=U,U(t,i)}var s=t.next();if(s=="<")return t.eat("!")?t.eat("[")?t.match("CDATA[")?o(P("atom","]]>")):null:t.match("--")?o(P("comment","-->")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),o(K(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),i.tokenize=P("meta","?>"),"meta"):(p=t.eat("/")?"closeTag":"openTag",i.tokenize=k,"tag bracket");if(s=="&"){var S;return t.eat("#")?t.eat("x")?S=t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):S=t.eatWhile(/[\d]/)&&t.eat(";"):S=t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),S?"atom":"error"}else return t.eatWhile(/[^&<]/),null}m.isInText=!0;function k(t,i){var o=t.next();if(o==">"||o=="/"&&t.eat(">"))return i.tokenize=m,p=o==">"?"endTag":"selfcloseTag","tag bracket";if(o=="=")return p="equals",null;if(o=="<"){i.tokenize=m,i.state=A,i.tagName=i.tagStart=null;var s=i.tokenize(t,i);return s?s+" tag error":"tag error"}else return/[\'\"]/.test(o)?(i.tokenize=z(o),i.stringStartCol=t.column(),i.tokenize(t,i)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function z(t){var i=function(o,s){for(;!o.eol();)if(o.next()==t){s.tokenize=k;break}return"string"};return i.isInAttribute=!0,i}function P(t,i){return function(o,s){for(;!o.eol();){if(o.match(i)){s.tokenize=m;break}o.next()}return t}}function K(t){return function(i,o){for(var s;(s=i.next())!=null;){if(s=="<")return o.tokenize=K(t+1),o.tokenize(i,o);if(s==">")if(t==1){o.tokenize=m;break}else return o.tokenize=K(t-1),o.tokenize(i,o)}return"meta"}}function j(t){return t&&t.toLowerCase()}function f(t,i,o){this.prev=t.context,this.tagName=i||"",this.indent=t.indented,this.startOfLine=o,(b.doNotIndent.hasOwnProperty(i)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function h(t){t.context&&(t.context=t.context.prev)}function _(t,i){for(var o;;){if(!t.context||(o=t.context.tagName,!b.contextGrabbers.hasOwnProperty(j(o))||!b.contextGrabbers[j(o)].hasOwnProperty(j(i))))return;h(t)}}function A(t,i,o){return t=="openTag"?(o.tagStart=i.column(),I):t=="closeTag"?L:A}function I(t,i,o){return t=="word"?(o.tagName=i.current(),l="tag",a):b.allowMissingTagName&&t=="endTag"?(l="tag bracket",a(t,i,o)):(l="error",I)}function L(t,i,o){if(t=="word"){var s=i.current();return o.context&&o.context.tagName!=s&&b.implicitlyClosed.hasOwnProperty(j(o.context.tagName))&&h(o),o.context&&o.context.tagName==s||b.matchClosing===!1?(l="tag",T):(l="tag error",c)}else return b.allowMissingTagName&&t=="endTag"?(l="tag bracket",T(t,i,o)):(l="error",c)}function T(t,i,o){return t!="endTag"?(l="error",T):(h(o),A)}function c(t,i,o){return l="error",T(t,i,o)}function a(t,i,o){if(t=="word")return l="attribute",M;if(t=="endTag"||t=="selfcloseTag"){var s=o.tagName,S=o.tagStart;return o.tagName=o.tagStart=null,t=="selfcloseTag"||b.autoSelfClosers.hasOwnProperty(j(s))?_(o,s):(_(o,s),o.context=new f(o,s,S==o.indented)),A}return l="error",a}function M(t,i,o){return t=="equals"?N:(b.allowMissing||(l="error"),a(t,i,o))}function N(t,i,o){return t=="string"?B:t=="word"&&b.allowUnquoted?(l="string",a):(l="error",a(t,i,o))}function B(t,i,o){return t=="string"?B:a(t,i,o)}return{startState:function(t){var i={tokenize:m,state:A,indented:t||0,tagName:null,tagStart:null,context:null};return t!=null&&(i.baseIndent=t),i},token:function(t,i){if(!i.tagName&&t.sol()&&(i.indented=t.indentation()),t.eatSpace())return null;p=null;var o=i.tokenize(t,i);return(o||p)&&o!="comment"&&(l=null,i.state=i.state(p||o,t,i),l&&(o=l=="error"?o+" error":l)),o},indent:function(t,i,o){var s=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+F;if(s&&s.noIndent)return u.Pass;if(t.tokenize!=k&&t.tokenize!=m)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return b.multilineTagIndentPastTag!==!1?t.tagStart+t.tagName.length+2:t.tagStart+F*(b.multilineTagIndentFactor||1);if(b.alignCDATA&&/$/,blockCommentStart:"",configuration:b.htmlMode?"html":"xml",helperType:b.htmlMode?"html":"xml",skipAttribute:function(t){t.state==N&&(t.state=a)},xmlCurrentTag:function(t){return t.tagName?{name:t.tagName,close:t.type=="closeTag"}:null},xmlCurrentContext:function(t){for(var i=[],o=t.context;o;o=o.prev)i.push(o.tagName);return i.reverse()}}}),u.defineMIME("text/xml","xml"),u.defineMIME("application/xml","xml"),u.mimeModes.hasOwnProperty("text/html")||u.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),oe.exports}var ae={exports:{}},le;function ve(){return le||(le=1,function(H,X){(function(u){u(Z)})(function(u){u.defineMode("css",function(c,a){var M=a.inline;a.propertyKeywords||(a=u.resolveMode("text/css"));var N=c.indentUnit,B=a.tokenHooks,t=a.documentTypes||{},i=a.mediaTypes||{},o=a.mediaFeatures||{},s=a.mediaValueKeywords||{},S=a.propertyKeywords||{},U=a.nonStandardPropertyKeywords||{},ce=a.fontProperties||{},ue=a.counterDescriptors||{},J=a.colorKeywords||{},Q=a.valueKeywords||{},R=a.allowNested,de=a.lineComment,pe=a.supportsAtComponent===!0,ee=c.highlightNonStandardPropertyKeywords!==!1,Y,d;function x(e,n){return Y=n,e}function fe(e,n){var r=e.next();if(B[r]){var g=B[r](e,n);if(g!==!1)return g}if(r=="@")return e.eatWhile(/[\w\\\-]/),x("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return x(null,"compare");if(r=='"'||r=="'")return n.tokenize=re(r),n.tokenize(e,n);if(r=="#")return e.eatWhile(/[\w\\\-]/),x("atom","hash");if(r=="!")return e.match(/^\s*\w*/),x("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),x("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),x("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable");if(e.match(/^\w+-/))return x("meta","meta")}else return/[,+>*\/]/.test(r)?x(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?x(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(n.tokenize=me),x("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null)}function re(e){return function(n,r){for(var g=!1,E;(E=n.next())!=null;){if(E==e&&!g){e==")"&&n.backUp(1);break}g=!g&&E=="\\"}return(E==e||!g&&e!=")")&&(r.tokenize=null),x("string","string")}}function me(e,n){return e.next(),e.match(/^\s*[\"\')]/,!1)?n.tokenize=null:n.tokenize=re(")"),x(null,"(")}function te(e,n,r){this.type=e,this.indent=n,this.prev=r}function y(e,n,r,g){return e.context=new te(r,n.indentation()+(g===!1?0:N),e.context),r}function W(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function G(e,n,r){return w[r.context.type](e,n,r)}function V(e,n,r,g){for(var E=g||1;E>0;E--)r.context=r.context.prev;return G(e,n,r)}function ne(e){var n=e.current().toLowerCase();Q.hasOwnProperty(n)?d="atom":J.hasOwnProperty(n)?d="keyword":d="variable"}var w={};return w.top=function(e,n,r){if(e=="{")return y(r,n,"block");if(e=="}"&&r.context.prev)return W(r);if(pe&&/@component/i.test(e))return y(r,n,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return y(r,n,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return y(r,n,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return y(r,n,"at");if(e=="hash")d="builtin";else if(e=="word")d="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return y(r,n,"interpolation");if(e==":")return"pseudo";if(R&&e=="(")return y(r,n,"parens")}return r.context.type},w.block=function(e,n,r){if(e=="word"){var g=n.current().toLowerCase();return S.hasOwnProperty(g)?(d="property","maybeprop"):U.hasOwnProperty(g)?(d=ee?"string-2":"property","maybeprop"):R?(d=n.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(d+=" error","maybeprop")}else return e=="meta"?"block":!R&&(e=="hash"||e=="qualifier")?(d="error","block"):w.top(e,n,r)},w.maybeprop=function(e,n,r){return e==":"?y(r,n,"prop"):G(e,n,r)},w.prop=function(e,n,r){if(e==";")return W(r);if(e=="{"&&R)return y(r,n,"propBlock");if(e=="}"||e=="{")return V(e,n,r);if(e=="(")return y(r,n,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(n.current()))d+=" error";else if(e=="word")ne(n);else if(e=="interpolation")return y(r,n,"interpolation");return"prop"},w.propBlock=function(e,n,r){return e=="}"?W(r):e=="word"?(d="property","maybeprop"):r.context.type},w.parens=function(e,n,r){return e=="{"||e=="}"?V(e,n,r):e==")"?W(r):e=="("?y(r,n,"parens"):e=="interpolation"?y(r,n,"interpolation"):(e=="word"&&ne(n),"parens")},w.pseudo=function(e,n,r){return e=="meta"?"pseudo":e=="word"?(d="variable-3",r.context.type):G(e,n,r)},w.documentTypes=function(e,n,r){return e=="word"&&t.hasOwnProperty(n.current())?(d="tag",r.context.type):w.atBlock(e,n,r)},w.atBlock=function(e,n,r){if(e=="(")return y(r,n,"atBlock_parens");if(e=="}"||e==";")return V(e,n,r);if(e=="{")return W(r)&&y(r,n,R?"block":"top");if(e=="interpolation")return y(r,n,"interpolation");if(e=="word"){var g=n.current().toLowerCase();g=="only"||g=="not"||g=="and"||g=="or"?d="keyword":i.hasOwnProperty(g)?d="attribute":o.hasOwnProperty(g)?d="property":s.hasOwnProperty(g)?d="keyword":S.hasOwnProperty(g)?d="property":U.hasOwnProperty(g)?d=ee?"string-2":"property":Q.hasOwnProperty(g)?d="atom":J.hasOwnProperty(g)?d="keyword":d="error"}return r.context.type},w.atComponentBlock=function(e,n,r){return e=="}"?V(e,n,r):e=="{"?W(r)&&y(r,n,R?"block":"top",!1):(e=="word"&&(d="error"),r.context.type)},w.atBlock_parens=function(e,n,r){return e==")"?W(r):e=="{"||e=="}"?V(e,n,r,2):w.atBlock(e,n,r)},w.restricted_atBlock_before=function(e,n,r){return e=="{"?y(r,n,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(d="variable","restricted_atBlock_before"):G(e,n,r)},w.restricted_atBlock=function(e,n,r){return e=="}"?(r.stateArg=null,W(r)):e=="word"?(r.stateArg=="@font-face"&&!ce.hasOwnProperty(n.current().toLowerCase())||r.stateArg=="@counter-style"&&!ue.hasOwnProperty(n.current().toLowerCase())?d="error":d="property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,n,r){return e=="word"?(d="variable","keyframes"):e=="{"?y(r,n,"top"):G(e,n,r)},w.at=function(e,n,r){return e==";"?W(r):e=="{"||e=="}"?V(e,n,r):(e=="word"?d="tag":e=="hash"&&(d="builtin"),"at")},w.interpolation=function(e,n,r){return e=="}"?W(r):e=="{"||e==";"?V(e,n,r):(e=="word"?d="variable":e!="variable"&&e!="("&&e!=")"&&(d="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:M?"block":"top",stateArg:null,context:new te(M?"block":"top",e||0,null)}},token:function(e,n){if(!n.tokenize&&e.eatSpace())return null;var r=(n.tokenize||fe)(e,n);return r&&typeof r=="object"&&(Y=r[1],r=r[0]),d=r,Y!="comment"&&(n.state=w[n.state](Y,e,n)),d},indent:function(e,n){var r=e.context,g=n&&n.charAt(0),E=r.indent;return r.type=="prop"&&(g=="}"||g==")")&&(r=r.prev),r.prev&&(g=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,E=r.indent):(g==")"&&(r.type=="parens"||r.type=="atBlock_parens")||g=="{"&&(r.type=="at"||r.type=="atBlock"))&&(E=Math.max(0,r.indent-N))),E},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:de,fold:"brace"}});function v(c){for(var a={},M=0;M-1?p.backUp(k.length-z):k.match(/<\/?$/)&&(p.backUp(k.length),p.match(l,!1)||p.match(k)),m}var O={};function D(p){var l=O[p];return l||(O[p]=new RegExp("\\s+"+p+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function F(p,l){var m=p.match(D(l));return m?/^\s*(.*?)\s*$/.exec(m[2])[1]:""}function b(p,l){return new RegExp((l?"^":"")+"","i")}function $(p,l){for(var m in p)for(var k=l[m]||(l[m]=[]),z=p[m],P=z.length-1;P>=0;P--)k.unshift(z[P])}function C(p,l){for(var m=0;m=0;K--)k.script.unshift(["type",P[K].matches,P[K].mode]);function j(f,h){var _=m.token(f,h.htmlState),A=/\btag\b/.test(_),I;if(A&&!/[<>\s\/]/.test(f.current())&&(I=h.htmlState.tagName&&h.htmlState.tagName.toLowerCase())&&k.hasOwnProperty(I))h.inTag=I+" ";else if(h.inTag&&A&&/>$/.test(f.current())){var L=/^([\S]+) (.*)/.exec(h.inTag);h.inTag=null;var T=f.current()==">"&&C(k[L[1]],L[2]),c=u.getMode(p,T),a=b(L[1],!0),M=b(L[1],!1);h.token=function(N,B){return N.match(a,!1)?(B.token=j,B.localState=B.localMode=null,null):q(N,M,B.localMode.token(N,B.localState))},h.localMode=c,h.localState=u.startState(c,m.indent(h.htmlState,"",""))}else h.inTag&&(h.inTag+=f.current(),f.eol()&&(h.inTag+=" "));return _}return{startState:function(){var f=u.startState(m);return{token:j,inTag:null,localMode:null,localState:null,htmlState:f}},copyState:function(f){var h;return f.localState&&(h=u.copyState(f.localMode,f.localState)),{token:f.token,inTag:f.inTag,localMode:f.localMode,localState:h,htmlState:u.copyState(m,f.htmlState)}},token:function(f,h){return h.token(f,h)},indent:function(f,h,_){return!f.localMode||/^\s*<\//.test(h)?m.indent(f.htmlState,h,_):f.localMode.indent?f.localMode.indent(f.localState,h,_):u.Pass},innerMode:function(f){return{state:f.localState||f.htmlState,mode:f.localMode||m}}}},"xml","javascript","css"),u.defineMIME("text/html","htmlmixed")})})();var se=ke.exports;const ye=ge(se),Se=be({__proto__:null,default:ye},[se]);export{Se as h}; +import{f as ge}from"./index-a61a86fd.js";import{a as Z}from"./codemirror-f52141d0.js";import{a as he}from"./javascript-f338e9b6.js";function be(H,X){for(var u=0;uv[q]})}}}return Object.freeze(Object.defineProperty(H,Symbol.toStringTag,{value:"Module"}))}var ke={exports:{}},oe={exports:{}},ie;function we(){return ie||(ie=1,function(H,X){(function(u){u(Z)})(function(u){var v={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},q={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};u.defineMode("xml",function(O,D){var F=O.indentUnit,b={},$=D.htmlMode?v:q;for(var C in $)b[C]=$[C];for(var C in D)b[C]=D[C];var p,l;function m(t,i){function o(U){return i.tokenize=U,U(t,i)}var s=t.next();if(s=="<")return t.eat("!")?t.eat("[")?t.match("CDATA[")?o(P("atom","]]>")):null:t.match("--")?o(P("comment","-->")):t.match("DOCTYPE",!0,!0)?(t.eatWhile(/[\w\._\-]/),o(K(1))):null:t.eat("?")?(t.eatWhile(/[\w\._\-]/),i.tokenize=P("meta","?>"),"meta"):(p=t.eat("/")?"closeTag":"openTag",i.tokenize=k,"tag bracket");if(s=="&"){var S;return t.eat("#")?t.eat("x")?S=t.eatWhile(/[a-fA-F\d]/)&&t.eat(";"):S=t.eatWhile(/[\d]/)&&t.eat(";"):S=t.eatWhile(/[\w\.\-:]/)&&t.eat(";"),S?"atom":"error"}else return t.eatWhile(/[^&<]/),null}m.isInText=!0;function k(t,i){var o=t.next();if(o==">"||o=="/"&&t.eat(">"))return i.tokenize=m,p=o==">"?"endTag":"selfcloseTag","tag bracket";if(o=="=")return p="equals",null;if(o=="<"){i.tokenize=m,i.state=A,i.tagName=i.tagStart=null;var s=i.tokenize(t,i);return s?s+" tag error":"tag error"}else return/[\'\"]/.test(o)?(i.tokenize=z(o),i.stringStartCol=t.column(),i.tokenize(t,i)):(t.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function z(t){var i=function(o,s){for(;!o.eol();)if(o.next()==t){s.tokenize=k;break}return"string"};return i.isInAttribute=!0,i}function P(t,i){return function(o,s){for(;!o.eol();){if(o.match(i)){s.tokenize=m;break}o.next()}return t}}function K(t){return function(i,o){for(var s;(s=i.next())!=null;){if(s=="<")return o.tokenize=K(t+1),o.tokenize(i,o);if(s==">")if(t==1){o.tokenize=m;break}else return o.tokenize=K(t-1),o.tokenize(i,o)}return"meta"}}function j(t){return t&&t.toLowerCase()}function f(t,i,o){this.prev=t.context,this.tagName=i||"",this.indent=t.indented,this.startOfLine=o,(b.doNotIndent.hasOwnProperty(i)||t.context&&t.context.noIndent)&&(this.noIndent=!0)}function h(t){t.context&&(t.context=t.context.prev)}function _(t,i){for(var o;;){if(!t.context||(o=t.context.tagName,!b.contextGrabbers.hasOwnProperty(j(o))||!b.contextGrabbers[j(o)].hasOwnProperty(j(i))))return;h(t)}}function A(t,i,o){return t=="openTag"?(o.tagStart=i.column(),I):t=="closeTag"?L:A}function I(t,i,o){return t=="word"?(o.tagName=i.current(),l="tag",a):b.allowMissingTagName&&t=="endTag"?(l="tag bracket",a(t,i,o)):(l="error",I)}function L(t,i,o){if(t=="word"){var s=i.current();return o.context&&o.context.tagName!=s&&b.implicitlyClosed.hasOwnProperty(j(o.context.tagName))&&h(o),o.context&&o.context.tagName==s||b.matchClosing===!1?(l="tag",T):(l="tag error",c)}else return b.allowMissingTagName&&t=="endTag"?(l="tag bracket",T(t,i,o)):(l="error",c)}function T(t,i,o){return t!="endTag"?(l="error",T):(h(o),A)}function c(t,i,o){return l="error",T(t,i,o)}function a(t,i,o){if(t=="word")return l="attribute",M;if(t=="endTag"||t=="selfcloseTag"){var s=o.tagName,S=o.tagStart;return o.tagName=o.tagStart=null,t=="selfcloseTag"||b.autoSelfClosers.hasOwnProperty(j(s))?_(o,s):(_(o,s),o.context=new f(o,s,S==o.indented)),A}return l="error",a}function M(t,i,o){return t=="equals"?N:(b.allowMissing||(l="error"),a(t,i,o))}function N(t,i,o){return t=="string"?B:t=="word"&&b.allowUnquoted?(l="string",a):(l="error",a(t,i,o))}function B(t,i,o){return t=="string"?B:a(t,i,o)}return{startState:function(t){var i={tokenize:m,state:A,indented:t||0,tagName:null,tagStart:null,context:null};return t!=null&&(i.baseIndent=t),i},token:function(t,i){if(!i.tagName&&t.sol()&&(i.indented=t.indentation()),t.eatSpace())return null;p=null;var o=i.tokenize(t,i);return(o||p)&&o!="comment"&&(l=null,i.state=i.state(p||o,t,i),l&&(o=l=="error"?o+" error":l)),o},indent:function(t,i,o){var s=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+F;if(s&&s.noIndent)return u.Pass;if(t.tokenize!=k&&t.tokenize!=m)return o?o.match(/^(\s*)/)[0].length:0;if(t.tagName)return b.multilineTagIndentPastTag!==!1?t.tagStart+t.tagName.length+2:t.tagStart+F*(b.multilineTagIndentFactor||1);if(b.alignCDATA&&/$/,blockCommentStart:"",configuration:b.htmlMode?"html":"xml",helperType:b.htmlMode?"html":"xml",skipAttribute:function(t){t.state==N&&(t.state=a)},xmlCurrentTag:function(t){return t.tagName?{name:t.tagName,close:t.type=="closeTag"}:null},xmlCurrentContext:function(t){for(var i=[],o=t.context;o;o=o.prev)i.push(o.tagName);return i.reverse()}}}),u.defineMIME("text/xml","xml"),u.defineMIME("application/xml","xml"),u.mimeModes.hasOwnProperty("text/html")||u.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),oe.exports}var ae={exports:{}},le;function ve(){return le||(le=1,function(H,X){(function(u){u(Z)})(function(u){u.defineMode("css",function(c,a){var M=a.inline;a.propertyKeywords||(a=u.resolveMode("text/css"));var N=c.indentUnit,B=a.tokenHooks,t=a.documentTypes||{},i=a.mediaTypes||{},o=a.mediaFeatures||{},s=a.mediaValueKeywords||{},S=a.propertyKeywords||{},U=a.nonStandardPropertyKeywords||{},ce=a.fontProperties||{},ue=a.counterDescriptors||{},J=a.colorKeywords||{},Q=a.valueKeywords||{},R=a.allowNested,de=a.lineComment,pe=a.supportsAtComponent===!0,ee=c.highlightNonStandardPropertyKeywords!==!1,Y,d;function x(e,n){return Y=n,e}function fe(e,n){var r=e.next();if(B[r]){var g=B[r](e,n);if(g!==!1)return g}if(r=="@")return e.eatWhile(/[\w\\\-]/),x("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return x(null,"compare");if(r=='"'||r=="'")return n.tokenize=re(r),n.tokenize(e,n);if(r=="#")return e.eatWhile(/[\w\\\-]/),x("atom","hash");if(r=="!")return e.match(/^\s*\w*/),x("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),x("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),x("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?x("variable-2","variable-definition"):x("variable-2","variable");if(e.match(/^\w+-/))return x("meta","meta")}else return/[,+>*\/]/.test(r)?x(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?x("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?x(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(n.tokenize=me),x("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),x("property","word")):x(null,null)}function re(e){return function(n,r){for(var g=!1,E;(E=n.next())!=null;){if(E==e&&!g){e==")"&&n.backUp(1);break}g=!g&&E=="\\"}return(E==e||!g&&e!=")")&&(r.tokenize=null),x("string","string")}}function me(e,n){return e.next(),e.match(/^\s*[\"\')]/,!1)?n.tokenize=null:n.tokenize=re(")"),x(null,"(")}function te(e,n,r){this.type=e,this.indent=n,this.prev=r}function y(e,n,r,g){return e.context=new te(r,n.indentation()+(g===!1?0:N),e.context),r}function W(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function G(e,n,r){return w[r.context.type](e,n,r)}function V(e,n,r,g){for(var E=g||1;E>0;E--)r.context=r.context.prev;return G(e,n,r)}function ne(e){var n=e.current().toLowerCase();Q.hasOwnProperty(n)?d="atom":J.hasOwnProperty(n)?d="keyword":d="variable"}var w={};return w.top=function(e,n,r){if(e=="{")return y(r,n,"block");if(e=="}"&&r.context.prev)return W(r);if(pe&&/@component/i.test(e))return y(r,n,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return y(r,n,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return y(r,n,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return y(r,n,"at");if(e=="hash")d="builtin";else if(e=="word")d="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return y(r,n,"interpolation");if(e==":")return"pseudo";if(R&&e=="(")return y(r,n,"parens")}return r.context.type},w.block=function(e,n,r){if(e=="word"){var g=n.current().toLowerCase();return S.hasOwnProperty(g)?(d="property","maybeprop"):U.hasOwnProperty(g)?(d=ee?"string-2":"property","maybeprop"):R?(d=n.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(d+=" error","maybeprop")}else return e=="meta"?"block":!R&&(e=="hash"||e=="qualifier")?(d="error","block"):w.top(e,n,r)},w.maybeprop=function(e,n,r){return e==":"?y(r,n,"prop"):G(e,n,r)},w.prop=function(e,n,r){if(e==";")return W(r);if(e=="{"&&R)return y(r,n,"propBlock");if(e=="}"||e=="{")return V(e,n,r);if(e=="(")return y(r,n,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(n.current()))d+=" error";else if(e=="word")ne(n);else if(e=="interpolation")return y(r,n,"interpolation");return"prop"},w.propBlock=function(e,n,r){return e=="}"?W(r):e=="word"?(d="property","maybeprop"):r.context.type},w.parens=function(e,n,r){return e=="{"||e=="}"?V(e,n,r):e==")"?W(r):e=="("?y(r,n,"parens"):e=="interpolation"?y(r,n,"interpolation"):(e=="word"&&ne(n),"parens")},w.pseudo=function(e,n,r){return e=="meta"?"pseudo":e=="word"?(d="variable-3",r.context.type):G(e,n,r)},w.documentTypes=function(e,n,r){return e=="word"&&t.hasOwnProperty(n.current())?(d="tag",r.context.type):w.atBlock(e,n,r)},w.atBlock=function(e,n,r){if(e=="(")return y(r,n,"atBlock_parens");if(e=="}"||e==";")return V(e,n,r);if(e=="{")return W(r)&&y(r,n,R?"block":"top");if(e=="interpolation")return y(r,n,"interpolation");if(e=="word"){var g=n.current().toLowerCase();g=="only"||g=="not"||g=="and"||g=="or"?d="keyword":i.hasOwnProperty(g)?d="attribute":o.hasOwnProperty(g)?d="property":s.hasOwnProperty(g)?d="keyword":S.hasOwnProperty(g)?d="property":U.hasOwnProperty(g)?d=ee?"string-2":"property":Q.hasOwnProperty(g)?d="atom":J.hasOwnProperty(g)?d="keyword":d="error"}return r.context.type},w.atComponentBlock=function(e,n,r){return e=="}"?V(e,n,r):e=="{"?W(r)&&y(r,n,R?"block":"top",!1):(e=="word"&&(d="error"),r.context.type)},w.atBlock_parens=function(e,n,r){return e==")"?W(r):e=="{"||e=="}"?V(e,n,r,2):w.atBlock(e,n,r)},w.restricted_atBlock_before=function(e,n,r){return e=="{"?y(r,n,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(d="variable","restricted_atBlock_before"):G(e,n,r)},w.restricted_atBlock=function(e,n,r){return e=="}"?(r.stateArg=null,W(r)):e=="word"?(r.stateArg=="@font-face"&&!ce.hasOwnProperty(n.current().toLowerCase())||r.stateArg=="@counter-style"&&!ue.hasOwnProperty(n.current().toLowerCase())?d="error":d="property","maybeprop"):"restricted_atBlock"},w.keyframes=function(e,n,r){return e=="word"?(d="variable","keyframes"):e=="{"?y(r,n,"top"):G(e,n,r)},w.at=function(e,n,r){return e==";"?W(r):e=="{"||e=="}"?V(e,n,r):(e=="word"?d="tag":e=="hash"&&(d="builtin"),"at")},w.interpolation=function(e,n,r){return e=="}"?W(r):e=="{"||e==";"?V(e,n,r):(e=="word"?d="variable":e!="variable"&&e!="("&&e!=")"&&(d="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:M?"block":"top",stateArg:null,context:new te(M?"block":"top",e||0,null)}},token:function(e,n){if(!n.tokenize&&e.eatSpace())return null;var r=(n.tokenize||fe)(e,n);return r&&typeof r=="object"&&(Y=r[1],r=r[0]),d=r,Y!="comment"&&(n.state=w[n.state](Y,e,n)),d},indent:function(e,n){var r=e.context,g=n&&n.charAt(0),E=r.indent;return r.type=="prop"&&(g=="}"||g==")")&&(r=r.prev),r.prev&&(g=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,E=r.indent):(g==")"&&(r.type=="parens"||r.type=="atBlock_parens")||g=="{"&&(r.type=="at"||r.type=="atBlock"))&&(E=Math.max(0,r.indent-N))),E},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:de,fold:"brace"}});function v(c){for(var a={},M=0;M-1?p.backUp(k.length-z):k.match(/<\/?$/)&&(p.backUp(k.length),p.match(l,!1)||p.match(k)),m}var O={};function D(p){var l=O[p];return l||(O[p]=new RegExp("\\s+"+p+`\\s*=\\s*('|")?([^'"]+)('|")?\\s*`))}function F(p,l){var m=p.match(D(l));return m?/^\s*(.*?)\s*$/.exec(m[2])[1]:""}function b(p,l){return new RegExp((l?"^":"")+"","i")}function $(p,l){for(var m in p)for(var k=l[m]||(l[m]=[]),z=p[m],P=z.length-1;P>=0;P--)k.unshift(z[P])}function C(p,l){for(var m=0;m=0;K--)k.script.unshift(["type",P[K].matches,P[K].mode]);function j(f,h){var _=m.token(f,h.htmlState),A=/\btag\b/.test(_),I;if(A&&!/[<>\s\/]/.test(f.current())&&(I=h.htmlState.tagName&&h.htmlState.tagName.toLowerCase())&&k.hasOwnProperty(I))h.inTag=I+" ";else if(h.inTag&&A&&/>$/.test(f.current())){var L=/^([\S]+) (.*)/.exec(h.inTag);h.inTag=null;var T=f.current()==">"&&C(k[L[1]],L[2]),c=u.getMode(p,T),a=b(L[1],!0),M=b(L[1],!1);h.token=function(N,B){return N.match(a,!1)?(B.token=j,B.localState=B.localMode=null,null):q(N,M,B.localMode.token(N,B.localState))},h.localMode=c,h.localState=u.startState(c,m.indent(h.htmlState,"",""))}else h.inTag&&(h.inTag+=f.current(),f.eol()&&(h.inTag+=" "));return _}return{startState:function(){var f=u.startState(m);return{token:j,inTag:null,localMode:null,localState:null,htmlState:f}},copyState:function(f){var h;return f.localState&&(h=u.copyState(f.localMode,f.localState)),{token:f.token,inTag:f.inTag,localMode:f.localMode,localState:h,htmlState:u.copyState(m,f.htmlState)}},token:function(f,h){return h.token(f,h)},indent:function(f,h,_){return!f.localMode||/^\s*<\//.test(h)?m.indent(f.htmlState,h,_):f.localMode.indent?f.localMode.indent(f.localState,h,_):u.Pass},innerMode:function(f){return{state:f.localState||f.htmlState,mode:f.localMode||m}}}},"xml","javascript","css"),u.defineMIME("text/html","htmlmixed")})})();var se=ke.exports;const ye=ge(se),Se=be({__proto__:null,default:ye},[se]);export{Se as h}; diff --git a/admin-views/dist/assets/htmlmixed-f78b9eee.js.gz b/admin-views/dist/assets/htmlmixed-f78b9eee.js.gz new file mode 100644 index 00000000..e5f87281 Binary files /dev/null and b/admin-views/dist/assets/htmlmixed-f78b9eee.js.gz differ diff --git a/admin-views/dist/assets/index-2af8b309.js.gz b/admin-views/dist/assets/index-2af8b309.js.gz deleted file mode 100644 index eb5b343b..00000000 Binary files a/admin-views/dist/assets/index-2af8b309.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/index-57c1f9ae.js b/admin-views/dist/assets/index-50f0c33d.js similarity index 99% rename from admin-views/dist/assets/index-57c1f9ae.js rename to admin-views/dist/assets/index-50f0c33d.js index 0eccc8aa..1b10e4f5 100644 --- a/admin-views/dist/assets/index-57c1f9ae.js +++ b/admin-views/dist/assets/index-50f0c33d.js @@ -1,4 +1,4 @@ -import{f as Ot,h as ZO,i as XO,k as y,l as QO,s as eI,n as ao,o as Me,p as q,j as ee,q as j,F as $e,R as v,r as C,t as U,v as yd,w as K,x as aI,y as Be,z as si,c as de,T as _a,I as xe,O as En,P as Tn,D as It,G as te,H as tI,J as Qt,S as qh,N as _i,K as Ca,L as Cd,M as db,Q as qr,U as wa,V as ke,W as gl,X as cb,Y as Wa,Z as bd,$ as Gh,a0 as ma,a1 as nI,a2 as E,a3 as Da,a4 as Bt,a5 as Ia,a6 as Pe,a7 as lb,a8 as yl,a9 as Lt,aa as iI,ab as rI,ac as oI,ad as ci,ae as wd,af as Pn,ag as ud,ah as Cl,ai as mr,aj as Ke,ak as Dt,al as X5,am as to,an as xi,ao as dI,ap as Cc,aq as Q5,ar as Kh,as as sb,at as Fi,au as ea,av as cI,aw as dr,ax as lI,ay as ve,az as he,aA as Xa,aB as sI,aC as Qi,aD as lf,aE as fI,aF as Yh,aG as bI,aH as xt,aI as qa,aJ as uI,aK as dt,aL as Ri,aM as _2,aN as pI,aO as Xr,aP as fb,aQ as mI,aR as hI,aS as Jh,aT as vI,aU as gI,aV as yI,aW as CI,aX as wI,aY as A2,aZ as vn,a_ as Zh,a$ as no,b0 as xI,b1 as pd,b2 as SI,b3 as EI,b4 as Ei,b5 as Xh,b6 as TI,b7 as wl,b8 as pt,b9 as OI,ba as bb,bb as od,bc as pa,bd as sf,be as II,bf as e7,bg as io,bh as NI,bi as P2,bj as kI,bk as Qh,bl as ev,bm as a7,bn as _I,bo as AI,bp as PI,bq as FI,br as MI,bs as sn,bt as ro,bu as RI,bv as av,bw as BI,bx as t7,by as ub,bz as tv,bA as gn,bB as vo,bC as DI,bD as n7,bE as xd,bF as LI,bG as jI,bH as zI,bI as VI,bJ as $I,bK as Jc,bL as oo,bM as HI,bN as ar,bO as wc,bP as i7,bQ as WI,bR as Zc,bS as UI,bT as qI,bU as nv,bV as GI,bW as KI,bX as YI,bY as iv,bZ as JI,b_ as ZI,b$ as XI,c0 as F2,c1 as QI,c2 as Sd,c3 as eN,c4 as aN,c5 as rv,c6 as Oi,c7 as M2,c8 as tN,c9 as nN,ca as iN,cb as rN,cc as oN,cd as dN,ce as cN,cf as ov,cg as lN,e as sN,ch as fN,ci as bN,d as uN,cj as pN,ck as mN,cl as hN}from"./index-91036dd3.js";import{S as dv,t as vN}from"./Google-49666047.js";var gN=ZO,yN=XO,CN="[object Boolean]";function wN(i){return i===!0||i===!1||yN(i)&&gN(i)==CN}var xN=wN;const r7=Ot(xN);function SN(i,n,e){if(i&&i.headers&&i.headers["content-disposition"]){var t=i.headers["content-disposition"],r="";if(t&&t.indexOf("attachment")!==-1){if(e!=null&&e.downloadFileName)r=e.downloadFileName;else{var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/i,d=t.match(o);d&&d.length&&(r=d[1].replace("UTF-8''","").replace(/['"]/g,"")),r&&r.replace(/[^%]/g,"").length>2&&(r=decodeURIComponent(r),r=r.replace(/\+/g," "))}var c=i.headers["content-type"],l=i.data.toString()==="[object Blob]"?i.data:new Blob([i.data],{type:c});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(l,r);else{var s=window.URL||window.webkitURL,u=s.createObjectURL(l);if(r){var h=document.createElement("a");typeof h.download>"u"?window.location=u:(h.href=u,h.download=r,document.body.appendChild(h),h.click())}else window.location=u;setTimeout(function(){s.revokeObjectURL(u)},100)}return y(y({},i),{data:{status:0,msg:n("Embed.downloading")}})}}else if(i.data&&i.data.toString()==="[object Blob]")return new Promise(function(p,g){var w=new FileReader;w.addEventListener("loadend",function(x){var O=w.result;try{p(y(y({},i),{data:y({},JSON.parse(O))}))}catch(I){g(I)}}),w.readAsText(i.data)});return i}var EN=navigator.language||navigator.userLanguage,cv="suda-i18n-locale",TN=function(i){return i=~i.indexOf("en")?"en-US":i,i=~i.indexOf("zh")||~i.indexOf("cn")?"zh-CN":i,i},lv=TN(EN),a=QO(localStorage.getItem(cv)||lv);eI(localStorage.getItem(cv)||lv);ao("en-US",{f7e68bde2caa2cb5696d6a37fe4a23a4:"Common",ea15ae2b7fba76c83eec6d0986d15197:"Option","3fea7ca76cdece641436d7ab0d02ab1b":"Status","24d67862f87f439db7ca957aecb77cce":"Properties",afcde2611bdd13c1e65b4fb6a2f13425:"Design","6d0034a2419e1f394dedab07994b9665":"Label CSS class name","2cadb6621afe19333b142faa541b0f91":"Control CSS class name","0e627e6a0ff773ee76bc4cc0871cb48d":"Description CSS class name","10b2761db5a8e089049df39675abc550":"Event",dc19704991f1476fa4dcbb80c50bedd6:"Prompt title","55713166f8bddcc0aefc3a32464746f1":"Enter prompt title","2d711b09bd0db0ad240cc83b30dd8014":"Content","59b9e2022323a63079c6ddab63fec112":"Popout position",af767b7e4ae069d54f9ea839858d4c6d:"Upper","3850a186c3235bc646d4c2f79cebac36":"Bottom",d2aff1417831aa621c16cd5b95306b4b:"Left","4d9c32c23df5d234e629c922c58d8e12":"Right","5ef69f62dc668c1a3e68b51c50a2530a":"Icon","4434b33a8731a73613ba5fa1eb984efb":"CSS class name",f10b676db977ae808af8d96b327be7f3:'Which secondary CSS class names are available? Go toStyle description. In addition, you can add a custom class name, and then add a custom style in the system configuration.',"159dbc2fafd57b9d3652f16659b1b519":"Triggering mode","45a51525391d4a3771b22f2cf1aa96b3":"The floating layer triggering mode defaults to the mouseover.","728c7cdfa431821d291b5108394ec65a":"Mouseover","4363c17ebb346b646af55bd8c8075915":"Click","5632c68dac780bd766f740830481f4b0":"Click blank area to close it.","9efb0ce5a4510ef29345b6edb3e58bc2":"A td must exist","3ce57bd19e37d2b27145dc6fcfff3520":"The first cell cannot be found.",f7d205072a2ceb63b4f48a8b6f32fd25:"The number of row lines is incorrect.","852228c640b1daefe6b0853390e66791":"The number of column lines is incorrect.","26526c3354307798dfa84f17decf5140":"The corresponding id is not found.","38d2ccdde0ae0c2329defd3c75c59d8b":"Due to the padding limit, the height setting that is too small is invalid. Thus, you can reduce the default padding.",d59379f4227af3b2c60214e2f4f903ba:"Merge cells","02d9819ddaaaeb1b7b22b12608c7e5ca":"Prompt","4be3194e93cdd2899d06b499c184195b":"The prompt is used for special text prompt, which includes four types: operation prompt, success prompt, warning prompt, and danger prompt. Combining the visibleOn, the prompt can be used to prompt the error information.","6f2b01db04cbf7e460b5c6f4e37a5e76":"Prompt content","132a78bdf68d6d17bde00aa807bbf032":"Content area","4092ed98e9035652d4c9ca9441701ed7":"Basic","226b0912184333c81babf2f1894ec0c1":"Type","330363dfc524cff2488f2ebde0500896":"Success","900c70fa5f7dbc014e6f762d5e0e885c":"Warning",e2e27a87257599f83c817c43e724b6aa:"Serious",cbda486dbec5bdacb593294e240c5e63:"Close","7372dc9f39a173dd0c75a185373245b1":"Custom icon",bede211909a1022b13e9728ed162b77e:"Anchor navigation",f6da8aa86fa3e399da95dab399a67985:"When multiple lines of content are displayed in the anchor navigation, the content can be displayed in the form of anchor navigation groups. Thus, you can locate the corresponding content area by clicking the nav menu.","22c799040acdb2601b437ed5449de076":"Container","5879dec0aea52871e0ae6969893a315b":"Anchor 1",ce08bc4247c040bac13155befc7c1638:"This is anchor content 1.",d89a42cb938819f67172ea64037c19fe:"Anchor 2","96f05e63c6f606925636d6810167e7ea":"This is anchor content 2.","31327b9041b825a0b455b3ff9ddd3909":"Anchor 3","68284dd430993f495a6f2254ae5480ae":"This is anchor content 3.","9ad515106f02f3909974b75d22625b0d":"Anchor setting","40c6e9ed3d9949a326f5a216d936324d":"Add anchor","8cfd149e7d73ebae6a797d21728292ff":"Enter anchor title","6be15e9949e4be7fc485e1eaae472942":"Anchor",c624c875ea37f790665d0cae8959d4e2:"This is the anchor content.",f612a2f944af178fa07a719c79e8438b:"Anchor {{@1}}","42ff02f6763799ebfa5ce8dd5f99913d":"This is anchor content {{@ 1.}}","39f4fbc5b5ba681f7e8c4d4a4ddb3e2f":"Default positioning area","9959b2ad2d4f75f7a6be46872642df6d":"Navigation layout","4cde06e6162ed66720e3133cb83bc059":"Horizontal","75ac842f8e77305846f1d776f97dfaf8":"Vertical","056f2d7df6e6b64625c3a2d27ce07b05":"Nav","696754a8b2b23e30b11187303d1238f5":"Area content","33be689a0f0de129ce37f7a96052002e":"Content area","32c65d8d7431e76029678ec7bb73a5ab":"Title","6bd854c27cd4c2e97dee65cf3f3f8551":"Anchor content {{@1}}","726dd5df4319e9e158e2ca3c22177b6c":"Audio",e7a707f9fc7da36828db940ca2960f4b:"The audio control can be used to play various audio files.","997c7a5d34f6fc628893f509d0df32e0":"Feature","22b777e6fcb613b8ba83ced9594cd07e":"Properties","37b12f2666b9e4e37f33eb5e83533d5e":"

Currently, this feature is configured for the field content node. If you select the upper layer, more configurations exist.

",f8f176147db276063e7ec15f076e39e0:"Audio address","91d3cd46d6b6919749e56056d5acc9bc":"Allows you to get variables, such as \\${audioSrc}.",a945269af10da66c82cdb7336bc490d1:"Audio speed","7ccd84ca5c16cd03d26f5ecd5e6f6bd2":"The acceleration ranges from 0.1 to 16.",fc03b83d19e2fd12f1e7c56a11d7dc18:"Internal controls",d37d357dee041774b993daaf5c8bb752:"Speed",b85270cd3c06d8eb635eadcffbb10119:"Play","19fcb9eb2594059036dfede5f4ec53e8":"Time",c7bff79d059a0b7ff9b02441959d8be2:"Progress","09b095d8fc867cb968673be9dcc00a93":"Volume",ad751bba0aed43a673c40b652a239fc3:"After you choose the speed, you need to configure it in the ordinary selection bar.","54c6bb48170611ec995f634319312156":"Autoplay","56e6ecf97176d30c06b30cfa428ef832":"Loop play","2fb0853874c2cc8cc42f0c7520af662a":"Inlink mode","33bf801796fd255b5f6147e33146669b":"Display","4c50eef3bdaf0b4164ce179e576f2b2d":"Portrait","18dc831ec12d358d05902bef1f00e1f1":"User portrait","027446c2f9070b0f5b16a18208bf5fc7":"Display","20def7942674282277c3714ed7ea6ce0":"Image",ca746b1ff10193a3ce20878dec04a733:"Text",bfe68d5844f8e54602760e18f45954f7:"Link",b54f4a65cd257c87db32ee1023e1daa1:"Fill method",def423db04dd24b226911b9e4cf5dc9c:"The image processing method that the image size is inconsistent with the control size.","74735df86a8e1c15bce50e2c1dd42e98":"Proportional crop of long sides","9d7f3e170404f211a4f95c214f044b05":"Proportional padding of short sides","9854f491213784118614be4a1970bcf9":"Stretch the image to occupy the space fully.","3d2b60dda894eba9a042beddf7daf3cc":"Crop the image in terms of its original size.",c7fff1a6f585d7fb22c94bb1ef82707d:"Border distance",f1b4c635cdb39c91461f181d27d06f8c:"The text is centered. When the text is too long, keep it at the minimum distance from the border.",dfd0cd7f2cba96917484569a646bdc8d:"Length",c1df04eec5fa0857bc0df2d68d8e953c:"Height","0103eb2d3dca70270d1a74e9ec987ac9":"Rounded corner","9a233b241eef54521cfe9365bfaa7b2f":"Padding And Margin","961534b4ea37e4e88aada736b299d063":"Border","8e1b944f4389bdaab6f11d5bc83190c8":"Background","803205e38834280d9e6a75993ac00764":"Shadow","0d98c74797e49d00bcc4c17c9d557a2b":"Others","34dac4adbc96afd65f060cc4cfff1feb":"Opacity","169b227aff15b834b64205d0fdcb0f33":"Bread crumb","3576258acd7269da9f44859a2edec1aa":"Bread crumb navigation",db1c89e0f6e62f9642018cbb531bbd4f:"Home page","2e8bf3c87641fba59c2a9cb6636d7e88":"Page at the previous level","12d358955755488ff3790bbd6d75673a":"Current page","894b94fbb15650da7f9290e7106446f3":"Separator",a38100f22f59f7cd89e36139faa6fd4d:"Dynamic data","66ab5e9f24c8f46012a25c89919fb191":"Add","97d07614380da93d257f9fbf81aa56fb":"Text",ba7f916a39c0beb545388ea3b7f6b3b7:"CSS class name of bread crumb ",e3acc9857c852dae27e064ace5e5688e:"CSS class name of separator ",fa966345577ba81af19408f203db968f:"Button","89de611b2d759a1802542b5d3a06829f":"It is used to display a button. You can configure different display styles and different click behaviors.","7af5e3ef39ff71d39fe3f645c8079124":"Trigger this option when you click it",f6d767f39ba3bf955077a3c0ce81e581:"Mouse-over",bcdd89d453da0dc0622a2f3189728357:"Trigger this option when you move your mouse over it",e272b0b8c7fedc670a87075514d9b49f:"Mouse-out","727309bc724ff237c5e2cdf7a90cf28e":"Trigger this option when you move your mouse out of it",d7ec2d3fea4756bc1642e0f10c180cf5:"Name","939d5345ad4345dbaabe14798f6ac0f1":"Submit","4b9c3271dc2f299dc3aeffb369187513":"Reset","5e64227f46b221001e3b151d72fa6412":"Whether to close it",d5bb99590ef447a1af8e9782786c751d:"Close the current {{@1}} after you specify the operation","1e7196ce05260faa55e5b7ea5a1667c2":"Second confirmation",ed2f135144b4e138cb29419c1f245f4b:"After you click it, ask the user. You can perform the action to avoid false touch upon the manual confirmation. You can use \\${xxx} to take a value.","0d0c6ff7b65e62eba3ddd523e2976389":"Confirm content","7e9646e2db5ce66dc2b4b922ece483ba":"Bubble prompt","5daaffe964aee9d884e0a681b2818a17":"Normal prompt","2fd82aa9dd7fedea2c16b7dfe93b6d0e":"Give the prompt content in the normal status. If you do not fill in it, no prompt pops out. You can use \\${xxx} to take a value.",fb37b983a93aabdcdbbd59ae48c519fb:"Disable prompt",f4f168a3fec79443d2ca8fd1955edee8:"Give the prompt content in the disabled status. If you do not fill in it, a normal prompt pops out. You can use \\${xxx} to take a value.",d420160a9e04c481e55a9686ab158caa:"Mouseover",d6763cb7640bed39caa058f156007a86:"Focus",d586324c6d6b45cb78a4172d836dab3e:"Prompt position",c182ad6b97f0909596a523b1f04c28d2:"Leftside icon",ad7e6f016bc1d9a9bbc6e18224d73247:"Rightside icon","39003734d1d700d5bd97bf1e7a2fcf73":"Style",c12ba7b658a9fccf0815f3951bc759b6:"Highlight style","6aa6b9e2dca63d27dc74eb155020271d":"Block display",c8339fd2a85af4ba66084d28df808de4:"Size",c8caf94205105bac5833ab31cc2129d7:"Button group","66ae9ce23b0b2e243aff087d906a2489":"It is used to display multiple buttons which appears as a whole visually.",e9d2f66bbd44c96a3e03494bf6b1ebf0:"Button 1",ce35a17d2ba7caac95092a7a66ac9a0d:"Button 2",de26e1294acedb55155a418630d57924:"Layout direction","8eb18b36f5a27fa8e6d32bc66546ce05":"Tile mode","2e28645c67c5742e473888a27aab7bd6":"Enable the button group to occupy the parent container. The width of individual buttons is adaptive.","66774850742a81e8b2393195290b7330":"Button management",f9f2b9cc91cd332db6b2b732c3869233:"Add button","40f3bc0a4f4d0f4230fc7fa6f4fcec92":"Child button",f05dd80af77a441216ef940e7887a8db:"Button Toolbar","433e2e80ec74563daf4368e59b525e34":"It can be used to put multiple buttons or button groups. A spacing exists between buttons.","6651fec0511e3593d3438a113dff23d6":"The buttons or button groups are sortable and removable. If you want to edit the buttons or button groups, edit them in the preview area.",d7213304d1a8a02a73a2f4010839e061:"CRUD","7a9f1ec32752de8b69ef21138970f64d":"This button is used to realize the addition, deletion, change, and view of data, and supports three display modes: table, cards, and list. This button is used for data fetching, paging, single operation, batch operation, sorting, quick edit, and other features. Integrate query conditions","48c68eb5a42e2b3e679c53b00f6e203f":"Rendering engine","64ca9bab920a2983bcf270320d850d00":"Reload","9ef5597ac0b4da662bcd967da37eceb4":"Trigger the component data refresh and render it again","95b351c86267f3aedf89520959bce689":"Edit","607e7a4f377fa66b0b28ce318aab841f":"View","5b48dbb8dc710cffe6313bb56a7f6d47":"View details","2f4aaddde33c9b93c36fd2503f3d122b":"Delete","6c546666aab964c39cd8bfdf4fbd46b8":"Are you sure to delete it?","7fb62b30119c3797a843a48368463314":"Delete in batch",e73cefac9d030927da1618c7b15c98c9:"Edit in batch","19c6b7463e1bf73bb4b12ba07abd5444":"Field 1",cf12e55021998a8328201800ec356773:"Query conditions",cfb5f18c43753ad5329348d626bd3739:"Keyword","4a1e3c50547e61503a2d1c356005eb08":"Add, delete, change, view, and quick start-CRUD","85624c8e8b0fc98954eecbe508e8b59d":"API address","3dd674542204724eb5417efc7354ec73":"Verify the format and automatically generate the column configuration.","3266535dc49863d976b9960adad29fef":"The API return format is incorrect. Click the question mark in the example on the right of the API address to view the example.","07b59fd09f6007bac246d9a73b793a49":"Enable feature",bee912d79eefb7335988c4997aa9138d:"Query","0f61da949d2b45534967e197cc2eee29":"Modify in batch",aa85b3cd6aa4cdfd45bfe5a96678ad2f:"Action bar-edit","653eb2792d3126a60caa6982f89a906b":"Action bar-view details","8a4d6dfbcd8072555b5951091f171000":"Action bar-delete",f4b368051b455e386a314688c7c75c1f:"Enabled query field","23c7ea8ee9519459598b2de65fe2a2eb":"Display several fields in each column","41a344642681efaaa418c228ba7fb45c":"Bind field name",ffb01e5bcf4c00447f5150d3cba81371:"Pure text","59cf15fe6b8d659c9bd2f86143534a06":"Template","4ff1e74e43a3586339251494117185ad":"Date","9da188491dd34c4382a5b9f006194e41":"Mapping","8abc564260a1564521e0c3a1d5419b4a":"Action bar","2b6bc0f293f5ca01b006206c2535ccbc":"Action","07a88fae7dd11f87891af91fb54a74bb":"Enable query conditions","7f7c624a843b0d539a4ea59a696702f9":"Batch action","46e6edaeb9968e7f7ab549d4f2f82d6d":"You can manage the batch action buttons through this button. A selection box appears only when you set the batch action buttons. Also, you can configure the position of the batch action button in the appearance. ","8347a927c09a4ec2fe473b0a93f667d0":"Change",f13a0697d58d975d14eb3f3c72c2cbf2:"Single-entry action","3674ea51498e7118732e5e1c53d4bc80":"After you set this button, an action button appears when you hover your mouse over it. Meanwhile, this button appears in the top action bar. When you select a member, it can switch to the batch action button intelligently.","4916771d080ddf6d0551de4d6d2f42a4":"Hide mouseover","569343b4fe5e48131b78611c11eadbeb":"Synchronization address bar","6dbee29a8c54eef9d042ef3280999ad9":"After you open the synchronous address bar, the query condition data and paging information are synchronized to the address bar. When multiple synchronization address bars appear on the page, it is recommended to keep only one synchronization address bar. Otherwise, multiple synchronization address bars tend to affect each other.","2171d1b07d045e796cba4a05bcf7d13f":"Default parameters","01e7eb2256821085a14708d6ddf36814":"This button is used to set the default parameters, such as perPage:20.","58ed0a7a5a91996dbb4c7d6dc7679364":"Retain entry selection","36ac0011faae6f88ee0ec3e642328327":"After the default paging and search, the selected entries are cleared. After you enable this feature, the user’s selection is retained. Also, this feature allows you to achieve the cross-page batch actions. ","2a0b47ba76e886070c3bd6abeae3d1c0":"Single-entry description template","6ab3e5b6c5d5d2cf621e911226495433":"With the [Retain entry selection] enabled, all selected entries are listed. This option can be used to customize the entry display text.","987b04af242bb2dafaf32d890ab952ff":"Designate primary key",a270e70be12fb13a24ca3e4ac70fa838:"This option defaults to id and is used for batch action to get the data at the row level.","54ea89b497ec3bb319c68844dfa3687f":"API",db7ee36de8063c2d5a6c123eac65641a:"Data fetch API","0951dad1723aa1191ce1a2e96db76051":"Whether to perform the initial data fetching","0a60ac8f02ccd2cf723f927284877851":"Yes",c9744f45e76d885ae1c74d4f4a934b2e:"No",a9400c408441f1f7f6d6954deb05ae9a:"Expression","55b22f5d136e73b26cef65aedd8ba86e":"You can use the JS expression to determine it.",bedc70d448b656d828bd3ed7926b3e4d:"One-time data fetch","559fa334442f0f75b0343bbf38b7ff05":"With this option enabled, you can fetch the data only in the initial time. No request for subsequent paging and sorting is sent to the API. Instead, the subsequent paging and sorting are achieved by the front-end device.","1af68c43e1780249f11b9de1eeaeb281":"Enable timed refresh","9800f1ce2f78a23b81c8d944ebf9cce9":"After you set this option, the timed refresh takes place automatically. The unit is ms.","19c5410b23fba4bbfd1a58bbd5268c9b":"Silent refresh","04f840b0772f4b5d59954a29a76f4e7b":"Whether to display the loading after you set the automatic timed refresh.","6037dae99e9446deaed45f7e408f47ab":"Detection expression for stopping timed refresh","32e3a79e80dcf7f7304e8092dd7acc6f":"The refresh takes place constantly once you set the timed refresh. The refresh proceeds unless and until an expression is given and the conditions are satisfied.","154ef40e477c031f6c1ec15caefb570a":"Disable automatic refresh when a popout appears.","50f7c85bf60a9f43522789644566c62b":"The automatic refresh is disabled when a popout appears. The automatic refresh is recovered after you close the popout.",d8905a70e93a33c7a86240f467c653d4:"Whether you can drag and sort them or not.","040a78b24eaff47d4fa7e266473635b4":"API for sequential saving",ee850a0e326b217bdeb61d936c521177:"API for quick saving","8343f619879fa79bc8ef1a35b2fc3e78":"After you set the quick edit in the column, you can use this API to save the data in batch.",d891e79d4a8718a7dbd47ac68aaaa5cb:"API for quick saving of a single entry","38db6e045e214ffcd03ede695002271c":"This API is used to save the data when you set the quick edit and the immediate saving in the column.","522110866c19dace2ce38336617405c2":"Default message prompt","3b69c2e540c05e9ca530ed30cf224472":"It overwrites the default message prompt. However, if the API returns a msg, this msg is used preferentially.",fb24383a41f23196349548b5d0cb98ce:"Prompt for successful acquisition","62e3e15c8fb9038f2780329bc26e8bab":"Prompt for acquisition failure",c62a1b7f314be10aead10475e7543f6a:"Prompt for successful saving of the sequences",c8035507b7a576d43e9f227c91c7a7b5:"Prompt for failure to save the sequences","7cb0932b806559be232d2a69453224e7":"Prompt for successful quick saving",fd79a193a487b8c9d5a302d0d88c1c2c:"Prompt for quick saving failure",ff57a3bf69a1065707e77c18c51f7bbb:"Content display mode","20aadc3f9b7edb564dc58898898e0dc8":"Column information","72cf373be86a38b29f6d2f15900b0da1":"Sub-title",f26225bde6a250894a04db4c53ea03d0:"Details","3bb4d608c6bee2b7b6d788417cde04e3":"Simple display data: $a $b",b339aa87104709397ba68e7ebbc6e5ba:"Table",d87f215d9ac688b1d3399bf575a0ef6f:"Card","3712972d84adf48acbd6ad24b4d75ad0":"List",e4fd8d64804a4f3d743eff384a6eb20a:"You can select and edit the non-built content in the preview area.","14555503d6e09ecd66661d04c882e79b":"Top toolbar configuration","3862626c138ce5945e0e273a1bdfbad0":"Paging","439a19857be1fb8d3e6017258e32c486":"Statistical data",bc908986a4e4eec3dca3530afd1d4306:"Change page number","77281549955309c49f5eef77838a85e5":"Load more","1add12ff3338a990b60154b75019c348":"Export CSV","7d57852b946d9d4d64fb2a48ca2b4a44":"Export Excel formatted files","16c6099bc0efaa669d8de698c105e333":"Column selector","073694928db5b0b5423ebe095ec62d39":"Change query conditions","5b9c3e6ce478196f802722cb09d61f0b":"Drag and switch","66eeacd93a7c1bda93906fe908ad11a0":"Select all",d5bc35360607472de4525358af126de4:"Alignment method","413f48cc71f71083ce532a86e3efdc21":"Left alignment",fd8e9572cc6bf87653c4d8f8b8dd0db9:"Right alignment","1325969c143a639294c1c6ab370b35a3":"Bottom toolbar configuration","440a3a2d7f1b123718be75e2baee8391":"You can select and edit the details in the preview area.","34da7e4a0ecdb63967427f43adf2de3e":"Whether to display and hide query conditions","25c0db3ddce9bfffd497d0c824cf3c72":"Whether the query conditions are visible by default","259d11c300a365b6767228c12d29ce53":"Hide top prompt for quick saving",fa9417bacb7714e82663655345ca213d:"Whether to display paging condition always",e3d2a85f20608a5bde7d539969d03167:"Hide selection button",af1af0a7fad9e8bdcd21694d0e036e12:"Content CSS class name",c11322c9cc43ce3c004cf03f5ac0acd0:"Data source","62569fcb0fc8314daea97989bba3877c":"This option is left blank. The properties of the items or rows returned from the API are read by default. If anything else exists, set it here, e.g., \\${xxxx}.","606bc931d2b3ebba2569cb1494719e2c":"Number of items shown on each page","004d01f56242e07cbdc97256bb11c75b":"Retain selection during paging","3d330edb46341a26ccc9aaa7f7938a8e":"Maximum number of selected items","95e68bea2d8c8e41ffa619d4364a0d6f":"Page field name ","537f8b09437bdb7fac429dc4e8666763":"Paging step field name","30c7bd5acd4564057bd89e0846f01728":"Sorting weight field",dd8d217677e4c5df28b7f46aa99b22a8:"It is a field name that is used to determine the position. The new sequence that you set is assigned to this field.",e04e8f570e2fb43a533b224f3c48523d:"Number of switch-overs on each page","0fc1de8f71a7470213fc68f981abdbc2":"Configure the expression that you can select for each item.","7d5fefd589000879088063dceb4b2552":"Use js expression. If failed to set it, you can select all items.","614ec7801e03f7ee009e4448e6ed4001":"Enable a single entry, and click and select the entire area.","530ab79908eabe5b329ffe17695079e2":"Automatic return to the top ","9092afb1ccb692308ef06d8001da2208":"Whether to return to the top during paging.",c8cf39b24bb52d0562472c33b86824fe:"Synchronize query conditions",d3c172700af4f3f3afb028d6bb4a90a4:"After the query, the returned data is synchronized to the query conditions. ","5db6b2160b9169b9d89de247d14ab740":"“Add, delete, change, and view” edit area",f49d40842a3c66c4de2e57a48157c707:"Display a single card","0212e8c9b113143a031d1f3e25167794":"Click to add a button element in the left component panel.","6312e80e416fa79ff3383e1577c243b8":"Click to add a content element in the left component panel.",a3cf7c9ee581ae71eb51d18b610b05b6:"Add content","00a1f644f34b9ee43adf82cb3449158c":"It supports the following template syntax: \\${xxx}",f7a82c9758acc4ff4c5350182f2ca378:"Image address","3bdd08adab6ea90b9164b20a0e4151ac":"Description",d85562778760b00b1372af642c4630e6:"Whether to highlight expression,","4011e5fb23b422f755d81269a5242d22":"e.g.: this.isOwner",d4f223e0619836d03d488c89558f38e7:"Maximum number of buttons put in each row of the card","620868e5e60e5c22249c3277c971bb13":"Title CSS class name","1fee6fa022c97f5dd7f48e362cea5acf":"Highlight CSS class name","2a3c7d647a29fb7dc5aedabac216575e":"Sub-title CSS class name",a5680444d449b2099b067e9963fe43aa:"CSS class name of top image layer ",b8e1e46cbdea20de4e5fc130d31b7bcc:"Image CSS class name",a31119cb2fddee3366163a311f317cf7:"CSS class name of content area",e82eb2350b4283822aeea21aff9d97b5:"Field {{@1}}","9caecd931b956381e0763d05aa42835c":"Field",bcee820bc20342a4d388a35ed32a35fe:"Column name","093c340f7e1fbde1928ca56b5c7f9cc4":"Card list","85c17b016309a3f867a1803049b3bcd8":"This feature resembles the table, but it uses a small card to display the data. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take priority to use the “CRUD” component. ","6223c41373004e3111e768225450b4e8":"Card set","3983b9f5575ae146d2d06f8ec5447a4d":"Configure single-item information",a3f38735bf211edb2066ac4e51b55cb2:"Open external link","7ea26d0cb93e59339daf6a1ac68624f3":"Bind current environment variables","21efd88b67a39834582ad99aabb9dc60":"No data","35ba83e053cef95e55dfffde279822b5":"No data displayed",e18d033cc4baab3ebb329f6b29eb3cef:"Whether to display header","412593f58b9d062a43cbe2ce38f4dc65":"Whether to display footer",e494f1aa112068688ca863db7f39a0b5:"Header CSS class name",d267231d2d8b60e267acc7d7d9955ae2:"Footer CSS class name",b2d2593bfb7a627817c0bd1ef6a254a8:"Card CSS class name","58e78d512d9ff40c73a263ab616cc652":"Number of class names displayed in each row","3cf0da9fe51f92842e0a6d375fa5c605":"When this parameter is not set, it depends on the card CSS class name.","953e91f3df59837ac2965cc04dec4b0d":"Enable waterflow","39a6853b109ae98f1aabca90283d7edc":"Configure member renderer","6cb01692eea2fa7066d20fe2b6ccaea3":"False data","0c0180cb06a322199a67f10d4ec41cd5":"Carousel image","1007c97dbf952e032ce13be3cb811f23":"It is used to render the carousel image. It allows you to configure the content on each page (in addition to images) and the transition animation.","0a2907a421b8f980986117e4f3044f92":"Associated field",e760ec18028fc075c5705bf184589e70:"Static setting",d314558953b3c76adb7e131aaec8bd86:"Field name","793a763e73f1f742e3a16ddc2ed95ccb":"This option allows you to set the field name and associate the data in the current data domain.",b9994cc749b4cfbbac0a9b140addd242:"Content of the carousel option",c6c7456d446d62a906c2809b6ba19ce1:"Image title",ab8a46ccf46acbf82d020d11468291b1:"Image title class name","098c3d959911b48b4d912cb85ccc4942":"Image description",c6fc4066471664a8602c636cfe1cc766:"Image description class name",cfb6f6e4c92a61ed0e0717abc8d0eec7:"

html segment

","97cc997910b99083bd23c6ac39294ff3":"Automatic carousel","8c2a12c5dee794b8b9608bc1f8087947":"Animation interval","6265104f900789dd51d75b449c3b9f89":"Animation duration","5bc37c57ee54d407f441b222f02391db":"Animation effect","8a0d716ded7baa7ee356ff39c3cf0bec":"Control button theme",f7471313dce32bc3669d338764a0d036:"Control display","1c0fe943329339003e9e3c1b12a27fe3":"Bottom dot",e030190fd1c10b0c967f48e789fa86b1:"Left and right arrows",c28479019e24e0e4745f4948e9e97ee7:"Width",ad5a36ee5f4054594c30b6dc481e2d81:"Previous card","49e0f68798e3c69b7990076bd8f1f47f":"Next card",d09504750ebc1d75c38d86e16060f83d:"Chart","10e14f791d73c7c0f4113787f36f1626":"This option is used to render the chart. Based on the echarts library, it supports all echart types theoretically.","67b6bec14c39be3f2602271e2fe3bcde":"Refresh data","0310aa5a05fe07147d8b7ef20616f659":"Trigger component data update","3d6abfdea70af544603da70f93ed3d24":"API fetch","03677b68a73eb59e5faf281f49f3c130":"The API can return the configuration or data. Recommend that the return data could be mapped into the Echarts configuration.","1396ebc166bd49c1e3b67549a1b4caa0":"Whether to fetch API initially","2af32ab13a9dece315cec2764d6aa7d4":"Timed refresh interval",bc827aaffaa35a95607346cc104c0785:"After you set this option, the timed refresh takes place automatically. The minimum refresh interval is 3000 ms.","57c7d1125d2803b946a5b25c3f80f249":"Echarts configuration","3d3fa75d8b345b22a5fbd14a65a0af71":"This option supports the data mapping, which can fill in the data returned from the API.","43ddd80698198791d4a738bb20a2d7f4":"Configure DrillDown",c8da43fe6ad1c537f86cecb353250145:"Delete DrillDown","4fd9621d4facc101aba3afec055e14d1":"Data processing",d98ef182637b4d10e16e8073c1101e51:"The chart configuration is completely replaced.",f1f13cb0ca4720a727cbfba4c82e5890:"This option defaults to the append mode. The new configuration is merged with the old one. If selected, the configuration is entirely overwritten.","40128a51e9667fe6a20a0454069368ba":"

Content${value|json}

","7e3f6245e2a6adb903cf85c77cb1bbd7":"Configure DrillDown details","38bbd995a790f5a67211e034b007c145":"Highlight code","86e38e6425f722ba725718af2366ac08":"Fixed value",e90e6ff080f179215c3566a61ca62367:"Folder","452b62e9b7e650fa163300da2893654a":"The folder can unfold or fold the content area to keep the page clean.","81d2b9f20fb2083c75a5b052b84e897a":"Unfold title","7349194c139069b32889101768aa7428":"The title appeared when the folder is in the unfolded status.","3a8647306ee6456517b7bf9c8bc7de23":"Title position",c949729cd1a1e425595c1a297649c7c6:"Top","12c4c5e8abda77e1fdc93653d6414187":"Bottom","731f9b470e0948cbf56341a53c423213":"Display icon","96c0cc844a06e0850c04f7c44b6475fb":"Foldable","63b67eead04256e42ea9f6f7218731ee":"Title class name","66d88b3e01aff17c7973181e53fc8c0c":"Content class name",d09980a88568f75e9267ca7b531c74eb:"Fold panel","0d571a7ab19e098820e8cea4d5a80f7d":"When the information volume is huge and there are many classes, you can use the fold panel to sort the classes.","17dcbf1f144607d4af0bb718e008682f":"Title 1",f7fb20f6cacd5e40c7f5732cb377d0bf:"This is content 1.","72d41bd9eb3882f7da6f55d0ff0a39f6":"Title 2","0431ee7033364800e261d1e560808231":"Icon position",a7eaff29603a9c40927f726013d2c016:"Left","128d58f066a18ddb2ddb701921d5c77c":"Right","47b4e22880eb59ce9989b8419222e88a":"Accordion mode",bb3548f0bb97ab11ee92284ecf37ec16:"In the accordion mode, you can unfold a single panel only.",f24544b06700857ec11b434cb2916692:"Panel management",c5ceab33d3e275262b4992a8cb43317f:"Add folder",b839e579e920068bd817d34cd7927069:"Add folder","030a54b0afb54fc7f90e1a0f64eb8205":"By default, unfold this panel.","39b066b81835fd66bd4529d1220c9dd3":"Title {{@1}}",ded228f9173b241dd8df2a4811ea0e98:"A simple container allows you to put several renderers together.",a823cfa70cfa46c788e1eedae043f6e5:"Container label",f7d64e5e79994c3c8853f2608d7b2d25:"Because the HTML label is invalid, re-enter it again.","473d2078518479669823205110842376":"Custom Code","8b9c77fa4e646b9cb270f833252e511b":"This feature is implemented through the embedded code.","0b13dc6251002bf556263fb3e4675b11":"HTML content",d6b917c76b92aa9b92b6bebdcab993f3:"onMount code",e64739dd24bb0bfcb6f6e1ee2cce5413:"onUpdate code","0601b7aa5b53cbc3616e24719bcd2aaa":"onUnmount code",b82231f254baf9a28bf752683d31b169:"Custom container",e5b5798a8bab7dc8a578431991731040:"The container component is implemented through the custom code.","96ec95de2d7da5b16465eb980f74deae":"

Custom container area

","749f710d280419b1da031c9bc79b3b07":"Custom container area","356b1959a9da95997b4de31415d9d74e":"Date display","2bc6d101e5701a70f2fb9e0b67581594":"It is mainly used to associate the field name for date display. It supports various formats, such as X (time stamp), YYYY-MM-DD HH:mm:ss.",a2344febfc246ddc7281f62217ba42c0:"Date value","84ff80a2dc4717cc01acd486040a6763":"Display date format","6eea1b15be458a6999c9259aa2280a70":"Refer to the format use method in the moment.",a7032449ae8761aea61cc30e32d3be10:"Data date format","4c1cff4d8c05daa6ed9352a241ee628c":"Placeholder",b54e0f0a60f8e2c4c31f3b1ad7d5a613:"Date and time display","2a898869829eae8adcfca290fd34a67d":"Date and time value",b0d6f2d882adc2163e6a08a121d18677:"Display date and time format",ab3aec075a09d055b2a28c8b61925ee0:"Popout",e83a256e4f5bb4ff8b3d804b5473217a:"Confirm","773ddc154f1e9b80f04e8bc9d83d2caf":"Trigger when you click the Confirm button in the popout.","625fb26b4b3340f7872b411f401e754c":"Cancel","08ab4ffcd1bddd249a193e6353bb52bb":"Trigger when you click the Cancel button in the popout.","4708bcefff645287c8781a1de2a0f20b":"Trigger the popout Confirm action",af17a4e37e5c6d68fff33c084192801b:"Trigger the popout Cancel action",dd10fdec63a2224aa3d28b48d428cb98:"Data mapping",abf68809d31c8eabb3eb5ae9e00abfcd:"< p class = text SM text muted > when data mapping is not enabled, the pop-up box will have all the data of the environment where the pop-up box button is triggered by default","1fab180b92bddf03ecf7da009f86d826":"

When data mapping is enabled, the data in the pop-up box will only contain the set part. Please bind the data. For example, < code > {A: \\ ${a}, B: 2} < / code > < / P > < p > if you want to customize on the basis of default, please first add a key of ` & ` and a value of ` \\ $` as the first line < div > when the value is < code >__ Undefined < / code > means to delete the corresponding field, which can be combined with < code > {&: \\ $} < / code > to achieve the blacklist effect",d6f555510792c9f3cb9e8087af037898:"There are errors in the data mapping, please check carefully",c14ebcefcb02c97b925b762d8bacd1ee:"Press ESC to close the pop-up box","4cade75641878a17e2f1ff29ff0ac235":"Click the area outside the pop-up box to close the pop-up box","391b8fa9c747a1799353ab856e666ad5":"sm","18c63459a2c069022c7790430f761214":"default",aed1dfbc31703955e64806b799b67645:"md",ab18e30c0dc4093ceeda8961fac3d1f4:"lg","949934d97c42801151673a51d3adc421":"Extra big","5831b836c8132033f90b3f530fa433db":"Whether to display the close button","79e5818b205352166231217ea39c4f1f":"Top CSS class name","7e1eb2c588aa1301f4aa19395ef0a177":"Separator",bc43ae8e61f1ad4be2b0a9e70501e490:"This option is used to display a separator which is used for the visual separation.","33f1fc330b325469b43614c9d96f590e":"Drawer type popout","0c5a0448b07419ad2900c36867e8e4e0":"Trigger when you click the drawer confirmation button","57f215184a2fb83541f7cfa22d039feb":"Trigger when you click the drawer cancellation button","97b6bad87c4320faac2f6a5cf556c26c":"Trigger drawer confirmation action","909ba2872b2d670ec0ecbcacc4c8c833":"Trigger drawer cancellation action",d4d2a66820d30e07b44c850eb3f116c0:"Position","81b8345bc49ce2aa550ad9792acec3e9":"Define where the pop-up box is called","399f43daffee1afae2a881027b6fb1f9":'Click "external" to close the pop-up box',b09cb613b11a41f3b3804d9c75da90b1:"Press ESC to close","6d7f8b31caaf80deb65eb2c8bdd41cd7":"Very small",b90f6c7021e444a34a00fcba6a428762:"Show mask","07e8695e6142a6e50b323c3d5aae2101":"Draggable","0fad5a56c8b4643f24797eaa616bef6f":"Define whether the pop-up box can be dragged and resized","7fdaa90d63dd5163de1911264bc5c514":"Bodyclassname class name",cc70a816b7d61e7212d57335c0a15af5:"Drop Down Button","74bafe23b0be1a14aa218b396cb33bd0":"More buttons are displayed after you click the drop-down button.","213a4e49568569943403ff31fff31ee5":"Configure drop-down button collection",b5b57c711fd2d2309cc390a8b44d2b69:"Button text","314454bbee226e4b32b612afdd8e9442":"Mouseover","4a757588f5aee8cd039b1d166b096d1a":"Click external area to disable","9951d740257c40978c238a683b1d4a80":"Click content to disable","205cb6cc6c8d37f3bed62d9c8bfae976":"Unfold by default","697eb55e1c6cecf43e63a26232dda5b2":"The drop-down menu defaults to unfold after you select this option.",b2aa282e908597d1d700c1f4de17b8aa:"Menu alignment method",e57996d3d771141f1b3080bbd8ad605b:"The button occupies the parent container width after you select this option.","1ce673c48f29162208e75bc210307bfc":"Display style",c9e265ec462b61887af6f58928923925:"Hide drop-down icon","938ac86e738246ccd0ca0224031f96af":"Drop-down menu",ff9f6c2d74c413daa3cd6fb12f8dfd3e:"Each",f34111ff3694a6c6de6e31bef8ebadcb:"The feature renderer can be based on the current renderer for the loop output of variables.","874268022baac239b06c40600d3ce080":"<%= data.index + 1 %>. Content: <%= data.item %>","69bdc66bb88ac5b63053e2bb7db41801":"Loop",b7c16dedc4291d333fba7628ec9eb073:"If the container has a value, you do not need to configure a variable name. If it has not any value, you need to configure a variable name. It supports multiple levels, e.g., a.b indicates that the b’s attributes under the object a are associated. The target variable may be an array and can also be an object.","4726ff4e62d3fcfa4b090aaefc393229":"No content is available temporarily.","5d5f9d49fcb2109f94a43590ef796ca7":"When no variable is associated or the target variable is not an array or object, it displays the placeholder information.",f549581bf93c72ed69c37e906e04191d:"Flex layout","6ab8332f3da284b137d54f6ba901e93c":"flex layout",ef5abdfc944546ddcbe10e9884cf5832:"Column I","874fdb7b3a5730910a4de1c58220c337":"Column II","3a76596e73fa265257ce90b7bed684c7":"Column III","5aefca559c5a41d10078e21e6d616825":"Layout","2fdc3722b88a2ba5077e0d11156ede6a":"Horizontal distribution method of child nodes","4ba6c2256050d805ae5cd1e0e84737cf":"Starting point alignment","56c17ba6a56c01706ae00a31611deb03":"Center alignment",abeb360ab1e66534a041fb8b44e1a00e:"End alignment",d5a3cb1cc31a0469b011abdbd3e947f7:"Even distribution (leave a blank at the starting and end points)","85530444a72a840ee657e2df99970136":"Even distribution (alignment at the starting and end points)","9aad08fbd356fb4279f0efa81b3d016e":"Even distribution (equal spacing between elements)",ae558cbf4c35d381b6542f517f2e8dff:"Even distribution (automatic stretch)","70d39e84bc1ecefaf6e19cf78c9574fe":"Position of child nodes at the vertical direction",ed97c73866617b40a7b1215867e0f489:"Baseline alignment","7ac1519928de413cfe36f5d2e0610430":"Automatic stretch","8e15f51c9512fdbf4287794d6642a90b":"Child node management",bc78248b34b7bf18691e6d385e0f544b:"Child node content","197af5d5971778e3b80deb25182d63e3":'Child node${index | plus}',"023c4bfc60545a2668c2d5111171b5d8":"CSS class name of external layer",a4611da51ffee9140976d01668e45d45:"Child node collection","729a4cca5ed3504793c1f3a87d2b48b9":"Button Group Select","29513434492e5d19a9660e0a918befd1":"This option is used to display multiple buttons which appear as a whole visually. Meanwhile, it can be used as an option selector for form items.","6edda84461bf13d38328cb401c8c23db":"Option 1","39692081e75ef73c6479fc25f8f10dfc":"Option 2",a457872a51628ccadfb9bcfa23428a98:"The button click and selection can be used as an option.","755955372bcc0c7ebf161a656bc389b3":"Value change","2fc76872efce1eabd3b74a3e4fd5b976":"Be triggered when the selected value changes.","528609917710d813a55e5a6cecf1e458":"Selected value","288f0c404c4e546aa3683ff5054e85e2":"Clear",c374a44713fa5ff5da2565beb398c7d3:"Delete selected value","8db57ba01ffb9bf29c1656de5f0208f5":"Reset the value to resetValue. If the resetValue is not configured, the value is cleared.","8f40db3b25528063f1b6a59602a05cd5":"Value assignment","944908c981a86bfa0cfab9360ab38184":"Allow the button to occupy the parent container fully. The width of individual buttons is adaptive.",ac3880323853de9adc4f66bc06d438ff:"Button style","0b98b0bea3db6ae5b67a09c7bb2d032b":"Button selection style","55b45c73ae417c4dead67905b1550e85":"Form Item","3b49c8cece3f495f0e76b73823c68bfa":"Button collection","012f602372cd2dbd639cd966c63e1f90":"Toolbar",b6872877e1eb5ddedd904c170db26024:"Chained-Select",fdf1664c0790d25f236bd596aef1acef:"Through the source fetch option, you can add the levels infinitely as long as there is a return result.","556988a9dc1816dd979e96eb5cd19a85":"Chained drop-down box","225f3ed00750ae78ad1e6ea42c8f5087":"Default value",da3ca8191fb919fb34e8e78fc6f2fc78:"Enter value in options",bc8d09093edd98769d5cb39e759aa498:"Concatenated value","2646ee1ebb6922a5c9359de6cd3b3639":"After this option is enabled, concatenate the values of the selected options to get a value of the current form item. ","1395eba8d9efe27aa1ecd1a45e3e5dcd":"Get option API","4ea50507bf8b9ceb908677f30fb20e68":"Option label field",fe4c9c2eed1ad213040d84036c675454:"The default rendering option group gets the label variable in each item and uses it as the display text.",be43687d4ed1d9e663c729e12618166d:"Option value field",f1e6b60c4b6df555a6b03f91033091f4:"The default rendering option group gets the value variable in each item and uses it as the form item value.",f411d0f1f925d9b48d8c1d451bd809b1:"Description","2ef0fb6299da5954f5ea84a088684ee5":"Option description","454e60f5759903d7d3dba58e3f9bd590":"Checkbox","81c8c07d13f425215010783bbf3bf06e":"Select form",c75fde0e2d329ce62f55cb1a207181ae:"Be triggered when the selection status changes.",ddd6650e02f5a266c3df2703daf37270:"Selection status",db0258df1ddbd88749b335aecdc8425e:"Value format","53235c46364db079356d57da5870f967":"Selected value","56f3150f1713a5e5c6e7c55fb0b79b75":"Unselected value","7c7a88eb1bb4b40206c6c680bd8995a8":"Default selection",db98f889ce6bc235e66bd4b2a788d137:"Checkbox","6d1383a2806f0516aac2c115f96799eb":"You can configure multiple select boxes through options and can also fetch options through the source.","05f87b331e1c97691776d93a6598373f":"Option A",f38c0a46797523b11051e35ec0f82a42:"Option B","9c541222ced2435288c24b34f8ad1fb8":"Select all","05bef457e8350e1a5d8007cad41b70e5":"Select all by default","84f31b24ffc8ea2b81d61a6f054b5bb6":"Code","08346c5bb99d8e3bfa406995b8c4f067":"The code editor is a monaco-editor, which supports {{@1}} and so on.",ab0710b367acefa1d6a78e2338291e86:"Get focus","4638e799b95e1b71edd55f278a6f707c":"Be triggered when the input box gets a focus.",efa3ddc1e26ed5d8cf7d9855cc7bd42e:"Current code",fc96a5f1b79cb734afe08e401b6ba5e7:"Lose focus",c776ab86eb24f6b3db35114e43026f75:"Be triggered when the input box loses the focus.","829c57d7064cad467ec466ae26244ebb":"The input box gets a focus.","295bb704f5205801d57d672780b94117":"Language","44fe0e1bcabcea83d6a30e6af0fd42af":"Full screen ",b3b97a293baac13db6367aba5539a09c:"Control size","3386da5f56fac758ed0f18e024ecb943":"Extra big","254bb8aa6b92d588d957a383df24db1e":"Combo","4db731c7d73988e40a01b4bf1a7f00d7":"Through the combination of multiple form items, you can configure whether to add and delete the initially set template.",b58c7549c0246c55b9cac96383200338:"Add","8575b828c7320de82b9f99058aa1f55f":"Be triggered when you add a combination item",aacd80d2c978abae7b955510a938788c:"Value of the current combination item","4933bd64bb23de03ca8ed246fa5509c5":"Delete combination item","0410242a74850f010a9a8061bc0cd891":"Delete item index","74333901ae9ad27a93487dc850e45609":"Value of existing combination item","95e09290c4e0f01323bb5abf301c950b":"Change tab",ba2bd765f6c2e2b717139c5453884e14:"Be triggered when you set tabsMode to true and change the tab.",b04c6cf9cb1212b9c173ddfeec129028:"Tab index","055f2f284d2bdb15bd9e542ea9f93285":"Fixed member type",e3b9236d585eb9c93a074f264737cb65:"Multiple branches","66e867eb73a118649800c0a064d0b5aa":"Type description","5aa528690fd771f89683a7f00868f39e":"Branch management","35b65a5a3f8d721e12cae310463d69d6":"Hit conditions","7341e991c8e8cfec68d31ffe0e06e429":'For example: this.type === "text"',"85485d70be6b380294428018e54fc9b9":"Judge whether to use this branch according to the member’s data.","50bfed6ada3e7d0ef4d20eb727b3d7df":"Configure sub-form item",d68162ea1904f627b033fe3953da295d:"Configure sub-form collection",aab09f676645f2651655a711d5e3327c:"Add initial value",dda5ffc9ecbad13d424346890bacca6a:"Whether to change its type","8a0c77e91392d70df522b55eb4d403e2":"Multi-line mode","26343b8bcb694fa5e333b47d8b663d1c":"Whether to go to a newline","86032735a191d117b02111e447494380":"Whether to ","28a59fee1a4714493a8d6cec05c1417b":"The data structure in the default array is an object. If there is a form item only, you can configure the value. Thus, the value contained in the array is the value of the form item. ","7f2579cabd4d654458a720eed517a37d":"Whether to add",ea1e5695bf682ea3b31aba0c35198ae3:"Add button text","1ab31449faaaeeeb7200d724eab9a7ab":"Whether to delete",fa3e9f9e49f5a81c998f949155f86b50:"Request sent before the deletion",f962922d46ef18e68127642e5c00165a:"Deletion confirmation prompt",fc763fd5ddf637fe4ba1ac59e10b8d3a:"Confirm to delete the previous request",f41a714bc8b26dc27a93a07c44e329a8:"Drag the sorted prompt text","91396e9bc25c9e8b63907fe22408e2bb":"You can adjust the sequence by dragging the [Change] button in each line.","8ee004bdd55b578acdb10b1bcd3fa4f7":"Remove border",e9cbda74a1ffc06228fca68e4d16c4dd:"Limit minimum number","3baaa61e619e32fc36eff14839b1a63f":"Limit maximum number",b8ccbc166c72b2eb54aac1332c99fb49:"A prompt appears in case of failure to limit the sub-form item.",b34cbe877b2c8464c625858fcf19f4eb:"A prompt appears in case of failure to verify the minimum length.",ea2474ff679195d9b54bd5ff3384fdfd:"A prompt appears in case of failure to verify the maximum length.","1c5b9cb245f04413a2d888bd59442097":"Whether to fill in the parent variable with the same name automatically.",e673084b4261d10104d27ae9e4d014a4:"Adopt the Tabs display mode","6e7bd650f763085de3bddd51a8d6aa88":"Tabs display mode",fd6e80f1e0199d6ecc3ee81ae04aa9ef:"Normal","2dd25b8c21efbfee4a198787810d65d8":"Inlink",fc6c9fa3af230165c39fb314c086be22:"Template for generating tab title","9ff4713f6b17e96e9cd76650fd5892be":"Lazy loading","93dc24d4ad01981d5994ba7f8ffaf345":"When a lag occurs if there are much data, you can enable this configuration item.","98d52b737d6bc171b6d5bad9a42f6e23":"Strict mode",cb5ca128b6c78a90f26673e21b0b3f28:"If you want to transit the value of the environment variable into Combo, disable this option.",bc91f4844843d6c8ec1acb78a1f1aba4:"Configure synchronization field","07bf6c08bb5f0bdb32dbfecc7d3fe290":"If the Combo level is deep, the data acquisition at the bottom level is out of synchronization with that at the external level. However, configuring this attribute of the combo can achieve the synchronization.","3f2176cdae8a4ed6a4c4eaff002a3b24":"Allow to leave this field blank",ead7156521ca11acb7ca7bdf4c9c87f6:"If the sub-form item is configured with a validator and is in the single-entry mode, the user can select to clear it (leave it blank).","7ab968b8219f6c348478da255ebcbcb9":"CSS configuration of individual columns","6e87bfe16db746db13966f0d7552b052":"Condition Builder",ab7f2096d3ea8aa85f453b204bfbc493:"It is used to set the complicated combination condition. It allows you to add conditions and groups, set the combination method, and drag the sorting feature and other features.",ae5e21c7b57aaaff2071b757f35dbb3e:"It allows the user to enter the query conditions. Thus, the backend device can generate query where according to the data. ","55d4790c5d819cd0462cbe89561b0dd4":"Number","97b0b6499334ed889b372513290a2a52":"Boolean","0c3bf4fce50589b1073baf15f8a00d36":"Date and time","6d6b4f2bbd2fd0b5faee33673d7f06ae":"Quick start-condition combination","22ed9ec0e00b5deab2c335ad1fd2e343":"Condition type",e996419dedc2f1ffd96e7a0e808127d0:"Field name",c322edb884724d04842fc35f4d29a24e:"Minimum value","5da893141114a59da868052b3a17a79a":"Maximum value",d26404c10871481ab6bbb4837a34ae95:"Step",dbd5b99c34260412f10835d82b59919c:"Date display format","94575fbef23460cb02524d20d152d728":"Time display format",f20a86701d87369e5166c28a71b8b8cd:"You can fetch the field option remotely. It supports the API or data mapping.",ed4ad0f9e6374d6915ce3d2c0dec7c2c:"Operator","61260d9386fd95a268dfc93d977c2706":"Form item container",c5739a29e7c403fc212608cefe70cf29:"Element collection",a00f44e570f896de5490cba9d2462951:"Insert a new element",a9a8efb2541ee6f89ea7b83e610ebf7f:"Add element",bac53d3c739f7fb3327704efd5b40eee:"Diff Editor","7b4fe9415d80d3694d2f630411ac7e9c":"Compare the codes on both sides. The supportive language includes {@1}} and so on.","0517b74cbe247a903faf40991a5a335f":"diff editor","42f04184315801c372989820106cc4ee":"Be triggered when the right input box gets a focus.","58ec44a580ba7cdcdf65985f5c44940c":"Be triggered when the right input box loses the focus.",b42cb49fc7c4ec140697e6d78c39e585:"Get the focus which lies on the right editor panel.","2a69150aa382f6a309c03a96145d4266":"Left default value","04b8c503707c34f9c275d349275787f2":"It allows you to use ${xxx} to get the variable.",a71e655ab56c9962742f72623f67ca76:"Right default value","460bc46ffeb31b737669e2312c5bae72":"Field Set",a89cd8150a1dbc60ac7063580e0852e2:"Through the combination of multiple form items, you can configure whether to fold",a13a2fa224ca5b6f44d5aee33ec29d58:"Text 1","37dd6f28ffb87d8907a286e0ef4dc7fe":"Text 2",d6c40a2ee219c010edbcdaa2eeb94ddd:"Sub-form Item",ec2a8ec81d1d2588db8c7827ba99e7d3:"Whether to fold",f315bd4984fd09c30581674d28287f12:"Whether to fold by default",ab2d2b13794ae1e2d7bf3bcd5af55dce:"Control style","23ecf42cada8bf2715792d718544d107":"xs",e5a226534fb99ab260865b936d3c85ba:"CSS class name of content area ","12b54e3fdccdbb5588785fce5534edbd":"Click to add a sub-form item in the left component panel","1297c46c0ea697a0041c3899b15d69c6":"Add sub-form item",cd948961f71f87ecc72b251147d96144:"Control type","0766a6467bed7f2840871a5f0638669d":"Single-line text box","15d169d28cd48c97fe751e4cc92ca926":"Multi-line text","829abe5a8dcd0579a340d20636b59276":"Group","9597dcaf432ceba92a160d61cb1ef65f":"Number input","9913107b19cb6012250134ff91377430":"Radio","006ded9fa277cf030592021f595a07d5":"Select",a6beb974cc0b50eebd18120b8110a88b:"Switch","481e034e6026969aae4ce7ce7c8a7b6f":"Input File","6bfb9bb2218ff32b6139e98bc93707c0":"Input Image","24b6d4c0892a8f3ee2a982e3ab0afe38":"Rich Text",fdf6f7f6497556de440fe434b721ee99:"Display name","712538d3e674792ec94feb9a5eb2cc0a":"Submit field name",eee1e2258d7ea163fec625ee44be9637:"Form","10b3d542748da2043f79395bfa2ab35f":"It is used to create, edit or display the data. To configure the initialization interface, you can load the data remotely. To configure the submission interface, you can send the data to the remote device. Additionally, you can submit the data to other components. Thus, it is possible to build communication with other components.","5ac57ce6df8c2a19668b7429aebd9f33":"Input Text","1b6f9adf1e6a41a18b9a76407d945618":"Create form quickly","380c80efc8d38510d31f50578690b781":"Submission address",ffc2c1671eb7e3f6751006cd7a9961f4:"Text and input box display mode","81f8a50d084992815ab844109b3ea27f":"Top and bottom","3720b9ef8053b7b8a54c7d8ace051912":"Left and right placement","9d68944682609cb230534195ca7c62ae":"Form control",cf993a1d9c0352215055d180aca60b97:"Control in the group","3673ed1983c1be059126e3715fc34922":"Form collection","741e41f5247b1541bde22c00e65f4401":"Initialization completed",f75e31cd2e3bfb79be420b0e61a533cc:"Be triggered when the request to the remote initialization interface is sent successfully","211f02318e3cceff5ee50d4949a5c8ed":"initApi Initialization data returned from the remote request",b2a5322c8dbc0d8343315cafbd39b7ce:"Value change",d6fc04abf4889a864bea240d6b67963a:"Be triggered when the form value changes","66f1115691b0a3e434dd3e8a6e733730":"Current form data","7233c9cadee5096097673c9590eae9b8":"The form item is checked successfully","6611594c527756e23d4044f908fedfa9":"Be triggered after the form item check is successful",e00a32d415785d5a5d43a593d26cbaa0:"The form item check fails",d4c12cea41e1595329358edb365c5f5b:"Be triggered after the form item check fails","368f9bab722b255f1fdb669a89f0c594":"The form check is successful","35e69ab84129d721229bc5b48afdedd2":"Be triggered after the form check is successful","641fc404690a43cb13e4666ce272974f":"The form check fails","5d7dfa5bf9bcd278f06fa37e482a2c35":"Be triggered after the form check fails","23b62e9cbc868e024b80d2e3fad80ac7":"Successful submission","8c9d9d2594b9cc39294c6939bd08a5d5":"Be triggered after the form submission request is successful","18344d8a27aa678e401d5e575d4efe99":"Data after the submission is successful",f5d008dea7d2e953195a5588dea3c8e4:"Failure to submit","86555672b37841b639311e7d49f0f593":"Be triggered after the form submission fails","17aa713bc661f98e585ec3725d6d4f0d":"Error information returned after the submission fails","4e34003861eee3de1e0c9c1222249bbb":"Submit form",a360c5d4e723ad78a5e52eb1f5f3f2a2:"Trigger form submission","1b6f5cc49e71c90a5b85a796285e3135":"Reset form","35de8c264c2a87836ccbf302b4ee673f":"Trigger form resetting","4a3deab45c0a7218b8ae58a33fd24c28":"Clear form",c18255cd6a048da86045c59a65fdc92d:"Trigger form clearing","17f2bf425eeb7d20d79c595344e9dc94":"Check form","27f35bc7086bf54e27e254f5d77c3168":"Trigger form check","60ad7d0d170b973ab9cdb0b23e636704":"Submit button name",a834505b13627a2e9eb4e0a0c2746e5c:"It is valid when no button is customized.",cbef9ad64297efd7657d5b67b2112751:"Automatic focus",ded8caee55c05aa0f1a4e6a197c480bd:"After the setting, the first form item that you can input in the form gets focused",c8801f299681b3080968effcb13a57fe:"Disable the “Enter” key to submit the form","4fe8162504ae5fb955c30863d88834fa":"After the setting, you cannot submit the form through the “Enter” key on the keyboard","6232c762a93aeb3c89cc759c06802610":"Reset form after the submission","7d61784cd115d333f01a3c0c46408a1c":"After the form submission, restore the value of all form items to the initial value","49086a13c74f262de398e60f448ab056":"Submit the form once after the initialization","1babd035cabfeb997ac3eee3f938d794":"With this option enabled, trigger the one-time submission after the form initialization is complete","0d1fb15904862f5fd2d81d2fc8f371d6":"Whether to close the dialog after the form submission ",e91209a4a78c0b34c26b681b49e0681a:"Submit the form to another component","4133d2c3613ece9792c90d185ec32306":"You can submit the value of the current form to the target component by setting the attribute. Instead, the value is not saved by the interface. Enter the name attribute of the target component. Multiple components are separated with commas. When the target is window, the form data is attached to the address bar.","7653297de32f34fdec0dd0653aebf358":"Redirection","6d00e21637c382cbd4d949b7735a2e41":"When the value is set, redirect to the target address after the form submission.","672b63d7523095b949f5fad233fa0cde":"Whether to enable local cache","8a0544ca2f7ddaf8768ab599858315a6":"With this option enabled, the form data is cached in the browser. Changing the page or closing the popout does not clear the data in the current form.",ce2457fe99197e0fe81b6fb08e3eaf0e:"Clear local caching after the submission is successful",bc01ee1a28f980c298679610fe4d2d66:"After you enable the local cache and the configuration item and the form submission is successful, clear the cached data of the current form in the browser. ",f5e55fb88f5adc71beb0b1fff60face6:"Form combination check","8101a0aec7eba32e633e3cc29f4b7ede":"Check rule","80ce5ea9ac2c3001e6e8ea3175ecc12d":"Error prompt",ff7cc75cc43c25c823d05d87cb8190b0:"Saving API",d325cfafec323a62463af3d3da9b6ede:"It is used to save the form data.",dd1b9892e274b16540aeda961437870d:"Is the asynchronous mode adopted?",e638bd32b4342dfc7a15990a79f588ae:"What is the asynchronous mode?","6df230c8f18709575777172f0a9a588c":"The asynchronous mode is mainly used to solve the request timeout problem. After the asynchronous mode is enabled, the program periodically polls to request for an additional interface after the request is complete to consult whether the operation is complete. Thus, the interface can return the result quickly without the need to complete process actually.",daf3aec137ac74941adb1b1d3e3dd1d3:"Asynchronous detection interface","0705e4aba9f22ae70d906e2201a4a68d":"After this attribute is set and the form is submitted and sent to the saving interface, it continues to poll the request for this interface until the returned finished attribute is true.",b4bc91701b86fe8543d649e97daea602:"Initialization interface","258c437ef67e5ef12f3a766ff1802f85":"It is used to initialize the form data",e8c46074d8432532cac25eba56bca354:"Is the asynchronous mode adopted?",d2af24c0f76cf325f1c8fa939576c379:"After this property is set and the form requests initApi, it continues to poll the request for this interface until the returned finished attribute is true.",ab94e2c30b3cf0fd11eea477f70dcbaf:"Initialization failed",b64292a1903bd969d0e3a558c334f5bf:"Default message information","8a5e590f69e1ae52d86396410ceeee5a":"You cannot set this option. The msg field returned from the interface has a higher priority.","3b108349b93f7c8c4e2346f8d48c092a":"The saving is successful","6de920b4e4e08b261cda928d9beefab4":"Failure to save",b66ef8966dad62d377bc5310d8b88e7f:"Prompt for successful saving",cf538bbe1fb431f9e2668da4d84cfadf:"Prompt for failure to save","6509e435d66db2a105b2444b1d3d0db1":"Prompt for verification failure","02e977ba56a7ccc59c277d2d5be43ba0":"It is packaged with Panel.","1cb01363e2463443bc8105f544ce2736":"With this option disabled, the form can display the form item only. The title and action bar does not appear.","1fdadb49bcabfdc36a4a9e020f597f4d":"Display mode","57d348e83d929dd4cb3bab04debc93a5":"CSS class name of Panel","9b26fa2b5943c827eea294e79b1427fa":"You can set Panel--info.","85ca671c1bb6de5a15456a9692d2edf4":"Enable debugging",f24b7483069b44490a6379be5b90f4e3:"Indicate that the data of the current form is at the top of the form",eb332076d766c2e817285f0a6d4860b9:"Formula","000cf7353ce03857c671e89c91b35464":"Calculate the specified variable value through the formula and apply its result in the specified variable","9da7578f9329ccaee1bbdf6a766744fd":"Calculation formula","77562ec3db28683ec71612a11e6b39ef":"The formula calculation result is applied in the variable corresponding to this field name.",c80c42a0be1b39ed899b1f5560875cf8:"It supports the JS expression, such as: data.var_a + 2. That is, when the form item var_a changes, it sets the current form item to a value of var_a + 2 automatically. If it is set to a string, it should be placed inside quotation marks.","89a8549c2ed7fc23a683599731d92b22":"Application conditions","8add6799ceff24eb041c5a6a92bb1694":'It supports the following conditions. For example, the \\${xxx} or data.xxx == "a" expression is used to configure the application conditions. When the application conditions are satisfied, you can set the calculation result to the target variable. ',"3df193f5d4f652a4bac331a69761041b":"Whether to apply it initially","86cebf86c66c6a4e6731b840c3967ab0":"Whether to run the formula result during initialization and set it to the target variable.",aaff9b44fa3c84058d6bec9888b7b39f:"Whether to apply it automatically","677568b4f6505bdd63387137bfcbf35a":"Whether to automatically calculate the formula result. In case of any change, automatically set it to the target variable.
With this option disabled, you can press the button to trigger the operation.","222c7bc60f06552b019d71bce57013ed":"Feature component (formula)",bb09a378529edac439abc2edf05c10d7:"Form group","39d36f049a794eb8df305b5ca7710c36":"Display multiple form items horizontally","32f6f7f8164c7f78e4b46eb50c158ab9":"Sub-form","400fbff5e744d3b7317dd130eaad723e":"Click to add a form item in the left component panel",bd1aded1c983ab7fcf3990f0dc31047c:"Column width configuration",a170a375b264f7fe0c02a7ca8c268784:"Width setting",daa0f354e189c0da577ea25be13f874d:"Adaption width","4db804afe5c99f7ca4fe988ada35c77f":"Adaption content",f1d4ff50f3828f9b73412e7d94e6dd6e:"Custom",d5d885add2551454955bd70411769c88:"Width ratio",ff7e66f1feaaed3260b6e8ef432efc79:"Spacing size","1b3408880b73544a3fad501dafbb71e6":"Configuration of column CSS class name","551481accddd97e18d7152f511fb8987":"Divided into several rows",d27d7b1542d91641d1d232c9f58b96d1:"Hide domain",d50b9a7291d45d1da8633439427afaef:"Hide form item","4f6595b5030e171fcead42d321ba767f":"Feature component (hide field)",b6946d13d670fc49b721b626bca426b7:"Array input box","6e43f86d0b2973c34078bc7c7bc02eb0":"The array input box allows you to customize the member input type. In fact, it is a method of flatting the Combo flat value, which can be replaced by combo directly. ","02cc4f8f5a9aefbc03c778f7a5c989c7":"Enter",a4b72cd5d7c953c57b00e3597b9ef666:"Array box","89e34c77922f9362fc8f4033e7f6bdf4":"Enable drag and sort","1362211a6bfc8cc4130d54643e8e9732":"This option allows you to drag and sort the prompt text",ba6a6f2cdb46e8f80fbfd4fed20eafac:"Input City","20700607ccdb7b6c83f3b5bc525e6975":"This option allows you to select a region or city",ee167d4c74e600248aefe9d0ba474705:"Change in selected value","770fe9e7899cd310b035ef50a39ab2ae":"Reset to default value","9633e6be5ecb44fbd69b3e8328cc8430":"Allows you to select a region",eec86dd33ae6186937da563fcde3555e:"Allows you to select a city","95892a76bc26c2db31087c9914e442b4":"Whether a search box appears",d1b5ad85ada6350ea1a1432b813700be:"Input Color","5a9e72d006165ae3dacdbd96f931f70e":"It supports hex, hls, rgb, and rgba formats. It defaults to the hex format.","6b36c6f7ec834692ec6c8e3816349fdd":"Color","277daf93adca7889605057f566b584bf":"Change in input box content","40fa260f07ed5a14f9516c0c37fbfd4e":"The input box loses focus.","3086da6514671fb8950171bf3af4ab2d":"Clear input box content",a47b08f4c83158a058c06e176cff501a:"Color picker","1b25b3b1b5076f0c2e6bd12d73c56f79":"Hide color palette","9b161db0e2e749c1106c702c8097d380":"With this option enabled, disable manual color input. Thus, you can select a color among alternative colors only.","05a64e0df1490a5db391e7a43eced6e0":"Alternative colors","6cbabc9a4cc07c1e26bb131c02833f8d":"Alternative colors at the bottom of the color picker","79d7c8cd739a1f94c7bb30c74323eaa7":"X (time stamp)","84c7af622906c4e9d62bbf905d6ee517":"X (ms time stamp)",aa2fb1b6cffd7c9783c11047adcdbae4:"Select date","8935dbb864f032bacc618b0938887ad7":"YYYY MM DD",ff91b28a49de6fd998dea31598198a73:"Select date and time","3e253325914594e1dc483c0b64ea7643":"YYYY MM DD HH mm ss",fbd05a89ca037ca9e5a6af4c2206d488:"Please select time","90696835bfa70d38b02ef5533d33c88d":"HH mm","6154f88c0ac259ace41b0a5be45d753c":"HH mm ss","904393383755b88e61f5c242eafabdda":"Select month","55546b74d8819d49cccda6277f3a3282":"Select quarter","13ef7828361c8aebbf6ebe09370f5e41":"Select year","4be42a8a2cbb9088b4d051cfd824d68c":"It supports the use of relative values, such as now, +1day, -2weeks, +1hours, and +2years. Meanwhile, it supports such variables as \\${start_date}.",be28cd64f978dd70c1cd345ebe751bca:"Date box, input-datetime, date and time box, input-time, time box, input-month, month box, input-quarter, quarter box, input-year, and year box","52ea2070560eb55083b64f5ba748697d":"This option allows you to select year, month, and date. It supports the setting of relative values, e.g., +2days later.",e54ca3223a36c6489de0fb8a39d4049f:"Date configuration","96f9d9fc9cef8b18e3cd1cf9077147d1":"Be triggered when the time value changes","0a72b3858efffaa1bab685fa840b701b":"Time value",f6db3514c72bdc34922f137a8a92b997:"Be triggered when the input box gets a focus (non-embedded mode)","0f5fc3b84cf9c24ff3acae45ae22fb57":"Be triggered when the input box loses the focus (non-embedded mode)",e02d111d524de97e8622121f7ce845cf:'Before the data submission, format the data according to the setting. Refer to the format application in moment.',ecd1a3cadcf1d55250afafbbde767250:"Display format","182503224cfaf1f63c566f13da56a2a4":"Refer to the format application in moment.",bf8f46b5c3b309f666965a74d57ac093:"It supports the use of relative values, such as now, +1day, -2weeks, +1hours, and +2years.",f0789e79d48f135e5d870753f7a85d05:"Mode",a553741d5ebb9c80d7d2a63b202cf4b8:"Floating layer",c6e1b91d329a61b691d0d5d2eb343ddd:"Embedding",a2847d82fc998cbe25447b14d113234b:"Select date range","3f9c3a9eb55b7116bcaa6b614ecb38be":"Select date and time range",ddc4a982defd88cd164c61da914819e1:"Select time range",c899221db27c8b3606ce7c807f0765f2:"Select month range",c09ddfc72d3c34ae6aa76d5a457cb403:"Select quarter range",cb6deedf9cd4a0b65abd70798cfed85e:"Select year range","7866226eb814f681dcc4037e7489aab8":"Date Range","28de3d73d839b616bd617b3636669780":"Date range box, input-datetime-range, date and time range, input-time-range, time range, input-month-range, month range, input-quarter-range, quarter range, input-year-range, year range","9024ff398faf8340b92bf0208431973b":"For the date range, you can set the minimum and maximum dates through minDate and maxDate.",e7271563debf3c7bcb85e23816c35acb:"Minimum span,","6f44927b5ffddc499e4dc26889169143":"e.g., 2 days","6da95498bea887b2ea7c6c2bb4b2fdc3":"Maximum span,","61fd7e3e86b168be41ac2e37237e1788":"e.g., 1 year","2f8d6f1584b73bfc6dada44526abb502":"Yesterday","0dc86a275145ad5a7774e594f0d94a06":"This week","79abd4ee3661ff70c7d79716c8aaed83":"Previous week","73bef6f0c997ffe317c868c4716baab0":"Latest 7 days","8f2a5a5f6e3777c7a0e1ce9484a2f7d7":"This month",d5578d93388a5b2552316418cd1124da:"Previous month",ffb2b7fbf227d9d21e03d0f160fb2a34:"This quarter",dd657784cc0d5511d2f25459e49ead1a:"Previous quarter",d3dbc7a7fd9fc5ccd168084c8579c1ec:"This year","2f92fc7bf6ef3dd57c514d0797fe2f1e":"Start placeholder prompt","592c59589144ddc68d05d528da17dcdc":"Start time",a04c4894d83323d187f65cc357fa646e:"Post placeholder prompt",f782779e8b5d709462c8e71e0d9019f2:"End time","59a81f21a829e24e9a765c4d6e509e68":"Select year, month, date, and time","5eb8cb70e4dc97622c967d7c7efd6566":"Date and time range","7f4466c0a16a1808b5ee398ce55997ab":"For the date and time range, you can set the minimum and maximum dates through minDate and maxDate.",ab37cc3baa3ec204bd7ebfa450568c40:"Email box",e3c0d799e8880a36edb07e34fd1bed67:"Verify whether the input meets the Email format","3bc5e602b2d4c7fffe79258e2ac6952e":"Email","899339c1133a6100a1b223680d26692c":"Upload Excel",b0e4a21f29af38986eebbbf867eee31b:"Automatically parse Excel","7caadb59b5892d107a909816b6571c66":"excel Be triggered after the upload and parsing are complete",eb3daf37c93971703187ecbacb00c74e:"excel Parsed data",d9435aa8028acfc660276c4e0af5536a:"Parsing mode",b14494137c805dc66bdc9ed88d7fd2de:"Object","0e67d4b0e351b00f4bea9840aa6b99d7":"Array",fe5c59cbac3d45314ec6397d9f75789a:"Whether to parse all sheets","50b10b178196378f4359ce11bbc31372":"Whether to parse the sheet into a pure text","1647e4bfb548f2e8468d10b4b3bfbe21":"Whether to include empty content",ec1f230a0181d79b37967a455b1f3515:"You can upload several files. Also, you can configure whether to automatically upload files and to upload large files by dividing them into multiple parts ","8dccb3d6633a85edb21fa52599211654":"It is be triggered when the upload file value changes. It can also be triggered in case of failure to upload.","5560230c43dd8d8c2b4a62d829f152b3":"Uploaded file","7dcb3fb3ccc93369798d4b6950e96058":"Remove file","03d585240162dad662a0a6b5d90a4692":"Be triggered when you remove a file","6775136a73e41c1b2cb4ab025773e326":"Removed file",a7699ba73144aad544eb9ac49f82749d:"Uploaded successfully",e309c24c2b07e5970208a82388f1d88e:"Be triggered when the file is uploaded successfully",a27518f50ea00aaacb2c4e52f113eeb1:"Result data returned after the remote upload request is successful","54e5de428ca9d59119d4624706215a4d":"The upload fails.","4855bc3f3d06b9cf58d14b61839c5a51":"Be triggered if the file upload fails","236dc056d6800bf423df47520637c52d":"Error information returned after the remote upload request fails","36d40a48f3da92af9fe55ee77cfae46f":"Clear data","18843505278637e44a29e7e1f39e0b06":"Clear selected files",cf6e87cb9edfa398ccfc3db377e34ca4:"Button name","0ec0e6e04b9e918939ac8e0daf407b75":"Maximum number","0a9dced8856958fbd05508d1218f8090":"Maximum volume","3e999689c93e7cd95ce6acdded1835fb":"Submission method",d28879b6a8a4ddb62bf6f2ab59303df7:"Submitted together with the form","3a76423b7ae40b0fa8b0bedb470cce7e":"Separate upload","7c6722203327e8173be987f36fadf610":"Data format",fde1ab2f504097f3f717acbb653b4f09:'${formType ? asBase64 ? "You can use it for small files. By default, the file download address is submitted to the form. After setting, the base64 format string of the file content is submitted to the form." : "The File control does not take over the file upload. Thus, the file upload is directly completed by the saving interface of the form. You can choose either of this option and Base64 (什么和Base64 ???)" : ""}',"6168fb08fe64663a502a132c5589b73d":"Binary","7245fe895fa1cfc42b5217a3de314565":"Automatic upload",cf9e4c80962e712eaa55551cccff317e:"Enable block","454dbf9b835af8627d4dfff2903298b7":"Block size","2af0c8b5999a1d243ec5fe503da20026":"Block preparation interface","5548252bd28fc1d217d13a9e5771ecb0":"It is used for the block preparation. A file can be called once. If an error occurs, the subsequent block upload interrupts.",d7832abe5b9ce8e41537b4964fd7cf70:"Block upload interface","14008d63c109cc0d0c4ba305671800d2":"It is used to receive each uploaded block. A large file is divided into multiple blocks according to the chunkSize and then each block is uploaded by calling this interface.","70c935fa7ae03aeb1ff87b878e16841f":"Upload completion interface",c88aaeddb5aa95c7627d84df33929e3f:"After all blocks are uploaded, the `eTag` information collected for the uploaded files is merged. Then, you can request the backend to complete the file upload. ","1e4dc4d5f4a3a95ddc349147d4d8cd39":"File receiver","258d9e27231b06769dd584a3365545ba":"By default, this option is left blank. The files are uploaded to bos. You can set your bos address in the system configuration.","28b988ce6ae6dd62d24bcb8a52119179":"File type",f0a37d6f810c73a2f936f33035d99056:"Enter the file suffix. If there are several types, they are separated with ,.","58892b7a6a785706712761d5aebb4639":"Template link",af4b910df15b00ba7fb5163558389cfe:"It applies to the scenarios that have upload format requirements, such as excel upload format. Also, it provides users with a template download entry.","26d384ebe61b6ffe0e64310331f9e998":"Drag to upload","644d03767c8148de6651cc6b00b0173f":"Selection button",d1b06a828d05b0ff72328d50b16a8443:"Upload button","0d4ebf2f4a10336011cfe0466b29ba5c":"Input Group","5b7363cba6bad37b6614809e9bd90746":"The input combination supports several types of control combinations.","13370c4a5c95eff126068be5cfd2a9df":"input combination",ff10d1d90be63fbcdc7377435bf18f96:"Input combination","0a7f8e17f8487c3715a154bea698778e":"This option allows you to crop the image. Also, it can limit the width, height, and size of the image. It supports automatic upload and upload of multiple images.","295afc11c5fad1a6d97ae174abfcc5bf":"File value change",d4633ba7a30303a59891d051a7715cc9:"With this option enabled, you cannot enable the crop feature at the same time","22616e32a895c56187921ac6cc673f51":"Maximum image volume","13446481eaf0a047d8fddf159d981a7c":"The upload is rejected when the file exceeds the size limit. The size is expressed in bytes.",aeae3dd09f5cc972944a892802244483:"Maximum number of pictures",eec48d0e729f7260544646c60ef6580d:"Upload is not allowed when the number exceeds",b582587147013afc52c58de5fe34d7d7:"File reception interface",d24bada35447c81d7d7ddec13c44b576:"It is a file reception interface. If this option is left blank, the files are uploaded to hiphoto.","7c5e7ad8954effd97cb78dcb0e8f99d9":"Image type",f816b3decb401dcd0c22db7f104beccc:"Enter the image suffix or MimeType. If there are several types of images, they are separated with ,.","99e6b6011bacaabc18aeac70390252a3":"Placeholder image address","886df74c6a38c09891f46bd029490ae7":"Whether to turn on fixed size","037805d2f16cfe69e3145c9f436c06ef":"Hide upload button","80f7e6960804df47856301e7ad8bef6d":"Enable compression","2c4a34adf66f12d0a08716383304a66e":"It is implemented by hiphoto. For the custom interface, it is invalid.","5d8ff202988e28795bc72ab60d67d79d":"Compression configuration",d4efa8f599c1effe67bf6a7f38a9c40d:"Whether to display compression option",f8a68f636880acd097317f16aeacaedc:"Turn on Cropping","3d948d24bc4c29689c5a1d4bcb9f2b98":"With this option enabled, you cannot enable the multi-select mode.",e09f3466f78e62c1494fb36816950501:"Cropping ratio",ea172e50aedd5afb561ef02ca119821c:"Whether it can be rotated when cutting",ae948ea02f5abf3c6409b1c3fe3a2295:"No during cropping (scalable)","4697838df60efb48d857c12387c6d795":"Crop region limit",bc436447f54b10a9ac3f0ee3e1b863dc:"No limit","7ccc0313ac4c40b364f482341ecc3bb8":"Drawing area","4db4c540f05524c38e9431173736517b":"Image limit","93f0c741d286a0353f95afa4a8aeff64":"Width Limited","5738784edf25dd7c3e40e0c1af4dc80a":"Height Limited","367e853038270c93e2c35a2bfdf0bcb5":"Limit maximum width","3693431e7944d7d46959b44b93de894c":"Limit maximum height","37494f474367871edc678cd5f4fc8ea8":"Limit minimum width","484abb6891d6ea842c58e5ada6dbf411":"Limit minimum height","9b43b6d003635fbf2e02f9bab12929a5":"Limit aspect ratio","2e81b2a5e6d523a70db93481f01af875":"Limit. Limit the minimum height","1765a2daba3ba8c5af95e66fa83545d4":"Aspect ratio description",a7b7da38fcb8e246e910e178c5fe4ebc:"When the aspect ratio does not meet conditions, the description appears as the prompt information.",ed55564c631322fa3042c77286d6562c:"Input KV","746dd83e6891ccc9a19804c23c2c4443":"It is used to edit the data of the key-value pair type",b3747d09769d3a2ea8aa664edc901212:"Be triggered when you delete a combination item.","654ad5670efdd25f1417958a7026a355":"Value type","9648d874d516a87965066342394e86e6":"Key prompt information","4dae7425b21494a318cd4a69ce24608f":"Value prompt information","233662283039ded8c29f070d1a807029":"Whether to sort","4f9c849b6b7f048cfd242cef3e707a58":"Select month","7c3885e3c3eca4d95521b3e220586628":"Month range","5b4ad7ffa6eee985e72e002bf18ac09a":"To select the month range, you can set the minimum and maximum dates through minDate and maxDate.","1e65b8181e9a40e76b86e2c261cafbe0":"Input Number",c45782c425bfc31824af8129bd6e0282:"It supports the setting of the maximum and minimum values and the step and precision.",acc945d0c8449dce7dc1441f466ec413:"Input value","5f914e36c49db618d06981df7b3c4d81":"The number box gets a focus",e52c2701b682679d6c670a8578cfa382:"Current value",efdd0d8923130f281b54506eef2121cf:"The number box loses the focus","0849471829a565a8af6b70a46346e574":"Clear the number box content","33bf23fcb86101a9994b7e4bfdc2b062":"Enter a number or use the \\${xxx} to get a variable. Otherwise, the configuration does not come effect.",e284e64008fd8b066da04bca335d032a:"Number of decimal places",b317cbf67c94f986fc44cf4cbc2280c6:"Precisely retain the number of decimal places according to the rounding rules ","4c9bb42608b11278a5d9a2471b74eb40":"Prefix","0c8fe8b3675b0c7f5a896a153461ea46":"It appears before the input content. It is not contained in the data value.","242d641eab57223af01fb29940a096ed":"Suffix","7915dcc78c28ed3cda8fc949a86e4806":"Unit option","8c80ed1f85135cc9153d0b7406ac5b38":"Quick edit","0a8c852e27763a18ce5b72a87ba8b5ba":"Single-side button",de93563a076f72b3e919870c9dad9935:"Two-side button","5dd92ede50cc183f0f067dd29be5c325":"Password box",a8105204604a0b11e916f3879aae3b0b:"Password",a483bccf85587055ab31314ad1d2f82a:"Quarter","549a2a421951fc8c304c6223f346e024":"Select quarter","39891e1760c79287985adece9a107fd6":"Quarter range","6036c91d6b0b6d1a2468684e597d9f70":"Input Range","4c65f10eacbfaf580236b5cbe2de68de":"Select a value or range","0a6a4aee139530801791c556e7177a7f":"Be triggered when the sliding block value changes",f34b1a3e26aadb6f60c546dbe9c62232:"Be triggered when you set showInput to true and the input box gets a focus.","404625f170839b2a24d7ab65304c2fe7":"Current value of the sliding block","7c9ec5db3bf23f367c1a905d356aab5c":"It is triggered when you set showInput to true and the input box loses the focus.","1659f1112dd649ec55390fe7c8e3b1d0":"Clear input box","7220e4d5f9f65e4fadee5183f2e0c54d":"Method","9ec172e2cdff6146d623087d567c8574":"Single sliding block","753a8c54d3944e252be1af928b8e7afd":"Double sliding block",f2996845b6bf0a07fe26f74f35e42ebe:"Units",e48d95a94e49b81b12a0113a5c253d8f:"Value label",a465db53b8c98f42caa15ca5662f9c90:"Direction","3aed2c11e95a9c0ea1d853d4aee72e8c":"Auto","1d1a0bd85740653320d80f0d6e0918e7":"Inputtable",d22aa5f57ff8679ee7b7d473ef31417d:"Resettable","15628d1d85aee23c229c528a70419414":"Track","108db12ed4454cf1ab4242ca98442b7a":"Scores",f11a0f49123c2099ca6c6162ca37f0ec:"Support the read-only and half-star selection",ce9201dd7d5816945fbedae79927518f:"Be triggered when the score value changes",cef3580fce1b3156908cc852dadef892:"Score value",e2c6470c3f2e76cb98ba951a64e41c3d:"Clear score value","09bbfb387dce6201df1ccef2aab161a6":"Clear","5ea244a79d480632f635a254c95c38df":"Whether to allow you to clear it after you click it again",fa6f66437097fe23c948f4f9b78ecec0:"Half-star allowed","1a10cd6599219eafb615b34234cfc0b5":"Description content","9c07532d0c9acfecfc4ec2eb265c3e03":"Characters","2a3d1f6d5b0afdbf04033e2f2c1fa11e":"Failed to select color value","497562b3159756834c7adfe9525bd7b5":"The default unselected color value is #e7e7e8.","4dd547945b10f672a7e48d7ffc42496e":"Select color value",f186d55a48868a88b026d48efc1cf36f:"Score description",d38056d1c6aa9456f4b6b2c20aab06a2:"Input Repeat",b3389af540d99fe9e51fb2995dbd6dff:"Select the repeated frequency, e.g., hourly, daily, weekly, and so on.","2d842318fbd931286be387aaf5b2a7c3":"Cycle",a2d92b5adb07a4bf8a45e55643bc39f8:"Enable unit","42c036311993897680ef37f11e4e20a8":"You can customize the configuration bar of the rich text.",e2591e971f4c28db7c80a5f546084a1d:"Rich text","70209fc05c1a5b21f05b186a0f7ba2ee":"Editor type",eca97e97331bd76aab9f6160991e02bb:"froala setting item","39624e820b79bbd62561357f6179c8d7":"Prompt language displayed when the mouse is over the configuration in the configuration bar",a7bac2239fcdcb3a067903d8077c4a07:"Chinese",f9fb6a063d1856da86a06def2dc6b921:"English","81fafee54baebeb9591b5e7840d7e650":"Configuration item displayed in the large-screen mode","0b6eee152cb2553ed4298ca2fe82d3f8":"Screen width ≥ 1200px",d85a80d177db696b29b7338af1501055:'The configuration is separated with a space. You can group the configuration bars using |. Reference documentation',f126c4368fbf51cfd470684e7c3d31c9:"Configuration item displayed in the medium-screen mode","3b8c320d14dba586c581ceb951917397":"Screen width ≥ 992px","89bc688b5b497e515ce3c026a1d92669":"Configuration item displayed in the small-screen mode",a849d8a0f59f3ae146b149b7b4fc7480:"Screen width ≥ 768px",b8c8f1c6a56e902bd837420da0f554b3:"tinymce Setting item",e4d0e65de0018b63698ff22d683d6dd5:"Whether to display the menu bar","63068211669d69b4028eebe0052425e7":"Enabled plugin","8cfcd52cebdc2555b202f4b03de93662":'The configuration is separated with a space. Reference documentation',"1a920d9999206a9fa5f588c7405fe081":"The SubForm allows you to configure a subform as the current form item.","18c113b99afa964ee988f30e81baf12b":"Name field description","4d930a9c13fca9d74e1a77496abfaa58":"The button description is displayed by using this field value when this field appears in the value.","307ae20f587910da3e9bb4e885334b6a":"Button label description",e366ccf1556c0672dcecba135ed5472e:"Setting","70c04a0f4522e39fde5f18ebc85b6232":"The minimum number of buttons is allowed. ",f58ea00f6a84bcb1cac174d1f68c88bd:"The maximum number of buttons is allowed.",e41fd1934b82f93f5737827be7323119:"Form edit box","0fbb26a646da61d2123319b4d0144ba4":"If it can be used to display the data, it can also be used to display the data of array type, e.g., multiple sub-form.","4ba0387a2daf11ad9c67a75b52819eb3":"Table and form",a80f36ea893b8135df8d9266bf13afac:"Description text","1f9794dd5634220ed0a498c666cf46fe":"Column collection",b2c712c788d3a143206eee22fe24d9f1:"Green","6b93fcfc1a5795189c6072fa6e86d4f6":"Quickly build the table","0c14e431f1b5ecd163f8fa010a0654c7":"Add a column","13c250c68608118463871ce7cd8b292c":"Form edit","6a2f67fe2d8bb1d389eb934dd8a72b1f":"Add button name","44177f78c596be113d4fe7c6bd7bb46a":"Add button icon","1d34fdbdcac357588c255c1ed2336a3f":"API submitted during submission","96848841ea9b2a7d692aa6de57aa5e3e":"Delete button name","34f020715121478c6a8e4654954c84fd":"Delete button icon",a497289d862c6aeff8e61b6479b1081a:"API submitted during deletion","748f181258041bac1fe7346e970dfebc":"Whether to edit","412e319fdd893e6f3b26a1975d21b0e0":"Edit button name","396ffcbab4e21acb77f6987f18ec94a3":"Edit button icon",c128de224b606b094bd8139890fbe215:"Whether to copy",d59abc7020b4a6d943a0031da4518422:"Copy button name","5d04af0e9d59ab3f1265cd8345c2517c":"Copy button icon","681bdd6184b526ade9665e6d74976863":"API submitted during modification",c29e632a658ecb98edb874833b070e98:"Confirm edit button name","24c39bb36955b3113baefcfc20c5f60b":"Confirm edit button icon","9c68c27e8939af40897d1b0bca0360a5":"Cancel edit button name",e54289c1f0e9311185adee89af24e618:"Cancel edit button icon","1205e138ba64dddf61c1f8e6eb3a1aa7":"Confirm mode","1c1618f67cfea6fefb5f287932be2c27":"Get the parent data","5831c1f77c5acefa6dfe9c64d06ca78a":'Configure "canAccessSuperData": true Configure "strictMode" at the same time: False Enable this feature. It maps the variable with the same name of the parent data domain automatically during the initialization. Note that it is mapped only during the initialization. Once modified, the data in the current line predominates. If it is of form item type, it is used as the initial value.',"677fb705e57897710d28867b7628307e":"Input CSS class name","14d342362f66aa86e2aa1c1e11aa1204":"Label","1b4996b29c7b4d5fb45ca701e6438d14":"Configure options to implement the selected option.","52636511861a0e08cbe6a0eb1c27d816":"Red","9c9aabab3f7627ff4bb224b2738b26ea":"Blue","9888468550779b1777260b8fafe6abc2":"Option prompt",a2cbb42e488dffe644bdb87c26afbc07:"The latest label you use","6f6fa31a91b516b28ebee7a86a9b13e2":"After you set the option, drop down these options for your reference when you enter it.","379b5486e7860a9f38f37dddabbb094c":"Text box, email box, input-email, URL box, input-url, password box, and input-password",f222f5413d3854897741e0ec4b0d2c7b:"Text input box. It supports the input of common text, password, URL, email, and other content.","9306b956ca5950203ee49a2680cac63d":"Additional widget on the left side or right side of the input box",d548d3e938088d5d469a28c20e939750:"Automatic complementation","424cd425082360322678a5c8d6910b80":"Call the interface provision option according to the input content. The current input value can use the ${term} variable.","7e9c83e86beb612377a94e6e8d1fc644":"Display field","26ff46d82166741297ce666b2792af85":"The data field corresponding to the option text. If multiple fields are merged, configure it through the template.","6d4ce0631f37676a887c9599691fabec":"It is the field that corresponds to the option text","2e01f5f5889e33d003bec7857cd38445":"Value field","959c27193eb0a41d01f4b53dcc4b9245":"It is the field that corresponds to the value.","82a61b32c76fba3dc83e2611624e93ec":"Time box",c54993eb4c2a46263cca2e6bdebb051d:"Hour, minute, and second input",c166d8f9804ecef74b3b74190599a7b8:"To select the date range, you can set the minimum and maximum dates through minDate and maxDate.","479728c411bac59bc44d5ab8dc3cb4f0":"Tree Select","15ac5d800c0163b4b806622739478e9b":"You can select it in the tree structure. You can configure the option through options and can also fetch options through the source.","57a6105deead3fec79028cce7bfa2004":"Option C","9bc04a190ce0a5ba1ed473cb628b5ed4":"Option D",f77f634e6892c6447c5d9df623e42aff:"Tree selection",b35014ec330e91860bb188200fba12db:"Select node value","65d76d0590aa6e05d61fe8db4c6a11ca":"Add an item","0761b99481b1bd10c1d6aad6028a8281":"Be triggered when you submit a new node",de2392357fc78e9e0f0946bcc0af87b6:"Added node information",cf965b232227a0e9d14f4f7e31b01c62:"Option collection",cd994c38456676f5a55c5593b6a652bf:"Edit option",e385c7c6f726dc2641866d9050777efb:"Edited node information",d015e18748f42f53bb6ab213e9b06187:"Delete option","58cbd355c5bdb80653a8ae3d3b316c37":"Deleted node information","58995b490ba67e5d29dd87f422b14861":"Lazy loading completed",ec2fb7a5db150690b14b63f83d9d4b30:"Be triggered when the remote request from the lazy loading interface is successful",e6b94af26512b3f7ea8eb1433d4a2aaa:"deferApi The data returned after the lazy loading remote request is successful",e2edde5adbdf33f6dce59a299cbf5fad:"Unfold","38747bcbc3c47924098076ee87e59933":"Unfold specified level",a148ea1749eaf611df5cc95b533751ec:"Unfolded to the level??","37252d3a5eb0ebab17bfce14968b47c9":"?","01356df4561f9da87d2876ec9c0dacfe":"Unfold levels",def9e98b60e3bfc493bcd7693e702096:"Folded","3ebb9059b6abc8f80a212b5795270ec2":"Fold tree nodes",d81f0b9079d5a38bbedffeacaad8b905:"Delete data",ce5e449208bb568eaf722bab9a20380e:"Reset data","25ae4ca8d4b8a67b273066a97a516327":"Options",fe7509e0ed085b86f07e3e9975cc5b3d:"Value","72453d792655604f1fab821146133d7d":"Sub-option","210da23d108e85b2f0bbfa85846cb792":"Add a sub-item","7dae2e2c470a12011e0c8b831506f656":"Hide top level",feec2a81557811b7fc38b0e6b758c3f7:"Whether to display icon","018d13580184c6ca3df616940ebaee66":"Do not automatically select sub nodes","210bc6834481c05ed90875d87a262ed5":"Whether the child node is automatically selected when the parent is selected",b39c6fb1cdf629d3f3032d6c7d4694a8:"Whether the value contains a sub-node.","1fa482fed3042cac9f96c6f43c13f84a":"Whether the value contains a child node only.","55b50a43f58fa746600d6bafdf405336":"Top-level text",c48d9f48ce8a798772f17d1f47560529:"Top level","945da00807804cb992a3aeb0ed6ea698":"Whether to display single-select button","13604cddfe74bc9b9078dd61f9fb94ef":"URL input box",ed2e16700e32afdcdd745aa31454edb9:"Verify whether a valid URL is input",b233766d3fae72574d3f9ee98c5be120:"Select year","32a750b4fd61f1cfe37cac7147f05b3c":"To select the year range, you can set the minimum and maximum dates through minDate and maxDate.","973b69af999dbdf4fa124df8c928ca6e":"Read-only mode","710ad08b11419332713360d2750cd707":"Disable","7abf78a41095c6d21a1cc89b4a876233":"Delete form item value when it is hidden",cd8992b644e6c18367861a4d913fd116:"Verify","1040279cf7b8dbdb842f597c30095f62":"Check API","133886b10fd9721e6cf91b76f2df5b6e":"Separately check the API of this form item",b95c6e14a4d8f6a6c6d99d583916f327:"Merged into one row",d22dfe420e4b00e000b93f94db3c856e:"Select List","5e391af52da238f13c78b471a7cc54f3":"You can select a single list of multiple lists. This feature allows you to fetch options by source. You can configure images for the options and also customize the HTML configuration.",d1f923b8e23b66b3e48953ba1ce17839:"Location Picker","989ea9acbab9b17d2c15e2946b5365bb":"Select position",dffd9d86d2003615897b12ce7597d77b:"Baidu Map AK",a269e7de6c7735290733eb3e574c2129:'Get Baidu Map AK from the Baidu Map Open Platform',b472ba224a7d132c487ee6ec4798f835:"Coordinate format","36443b53c845b197db8d39eeda433ab9":"Baidu coordinate",f58cb611aec0998a44ef104b5c950b40:"Coordinate format by State Bureau of Surveying and Mapping","076a041dcf45a36b29c5cdb8b8eca922":"Rectangular Switch","183aae5eec1ff547833dc338aaeffc9a":"You can configure row single-select and column single-select, and single-select or multi-select for all options. ","7583b85ff3579d60a9f9d323c2f6674a":"Row title description","3fc35bb610852289cf718f07a5b79369":"Column 1","50987924540e6e35c78246031499e75b":"Column 2","08a6996be7a86af5692cbca41922a5d1":"Row 1",ce31d858c63395098c5e4cd892bd473b:"Row 2",e9b376d39966c8182683019f95ff8cf3:"Row, column, or cell single-select","0f244785fd9f555aae9797db4d14fb09":"Column level","5a57bd526cc3170b6c86f920fc24cdee":"Row level","45dde5879e77d7f7a15d04b8fed26ec8":"Single cell",dc7558211f2990370954c2e7ca498ee9:"Column configuration",f4c807fd8453f4b3fdaab02fb9c21ba7:"Add a column","39886861ea5d8b526e0ac5ecc78d110c":"Column description","34ad26bd1fb448c7f2384252d856c02b":"Row title text","48baa62373a2f90d6aa743d7821be956":"Row configuration","854af3c2cd9c275ac70fc5121ea4fb2e":"Row description",bf306308e467aeb7b00df0e2dd127d06:"Add a row","75bf5fd49520bce97de632700fc8a129":"Get matrix data API","24d9de25721d1fb0ecf89ef81c43d877":"Nested Select","10d1cfb7219a5445ef1e70aa16e4451d":"It applies to sub-items contained in the option. You can fetch options through source. It supports the selection of multiple options.","03cd388fe29a4fc116c0021e496a113a":"Option b1",fb00d1c1a65d3739c03a0b2715168327:"Option b2","353ae08afdb3d0a3587e9b27ca239c33":"Option c1",bea7ad76f0f321124ff614a099cb9a85:"Option c2",dbdae74eb12668e2b9568b013bf27d45:"Retrievable",ae45cdb51c795df3b046f71afe3611bf:"Blank prompt","601bb29fe72e56930dea03ae3e1aa555":"The text appeared when no result exists during retrieval",e3be7b8a459a08fec8f378a0660b642b:"Multi-select","6a7f7d89c8f1f3e6aab0962ff920b145":"Parent option as a return value",c23eb92d1f249452c3ff3ee13738b47a:"With this feature enabled, you can select the parent option but cannot select all child options. Also, the parent option is used as the return value.","8fcbfdc1a9403f6339d81911473806da":"Picker","819776e8d96b1438eca3594f47bdb1c6":"Through the pickerSchema, you can configure the data source available to select the data you need. It supports the selection of multiple data sources.",dc0c50a5c9832b393df34835111c34a3:"Enable embedded mode","1ac065ed64b81380384a0b371d5b404f":"Configuration option details",d64b585847f015eaa1443a3a03562350:"Display the style of the selected data","0861915dbac25ccb573b3bb72ffeebd7":'It allows you to get the variable using \\${xxx} or write the template logic using lodash.template syntax. Details',c2c23b4fc7f695c58e947ad413f2c5d8:"Checkbox type","33e6c41fed95c25e3b426d596d504579":"Drawer type popout","5a7af8d3e471d98339c84b07a844547b":"You can configure the options through options and can fetch the options through the source.","1e890599eec94efccec337cd474f7f1b":"The first option is selected by default.","46110787e4774b81418b274e9b06127e":"Display one row of options","83a00680e0872e2a35496be7e12c1309":"Number of options in each row",c30264927c3c170efd2e7763becf12fc:"Single option","8a0c1f35cff334fc105b6d52b195369d":"It supports the selection of multiple options and can give an input prompt. You can get the options using the source. ","75cc2a992ea150d3a6c68ac4bc486637":"Added item",a13b85bddbcdab63ef2b2d98dd46afe9:"Edited option","8aa4d6aedd7957ebc6b87fec655695ef":"Deleted option",e19c0792886a147d74fc662d7af138bb:"Display the selected value in a single row",b28aa9c36d0b506a71aa78b628e796c6:"Number of labels displayed","2b23767de575e27fc9e4e0949e885f81":"Maximum number of labels displayed. The floating layers are folded in case of exceeding the maximum number. All labels are displayed by default.",dfac151de712ab0b3618072c8a7f0a0f:"Advanced","406af2b98e6210cd42d7f824cb6dfd16":"Option value check",fa8d03e8b5458c1a1d742736bc26e25b:"With this feature enabled, the option text becomes red when the option value does not match the option among the current options.","33e7b7433fdbeafa1ef71105ee28c061":"Static",c99e0a675933de39693b7e80d5b70405:"It is purely used to display data. Also, it can be used to display json, date, image, and progress data.","134492cd10a0646da6f23a743feee6d4":"Static value","04f5f12c49c2a6fdc43da049591328ad":"Static display ","663a93dacbba9f7860dca783cf772419":"Quick edit",abd733d00ec656e7b0cfd88deedf102f:"Quick edit mode","78f395c15aaf8c92d9223f6ca69b41a4":"Drop-down","5e2d1e872682befd5350687f94a6b417":"Save immediately","2d2eb2ac28f074d1caef0d332d61cfb0":"With this feature enabled, the modification is submitted immediately. Instead, the modifications cannot be submitted in batch after they are marked.",eccba4475f3144e417e55fd96e831e09:"API for immediate saving",c8e5c062d5ad38e54413abd9c7cfb2f4:"Whether to separately configure an API for immediate saving. If no API is configured for immediate saving, quickSaveItemApi is used by default. ",c3ed36e4abb96c18a6c83350994cdea7:"Configure quick edit type","45a6c55d8d2d92af84e219defef084d5":"Configure quick edit","3f337f436989e9847790e4435423f77e":"View more display options",f7247cd14bd964b883bbb481892c440b:"Pop-out mode","2a2924380dfcaea998bd8a49703545a9":"Drawer",a06e8df4e9232cc606e0202e06a198d8:"Floating layer position","68b54e7b408c4fb83561c931aa668eae":"Middle part of the target",e18459c93769a5afec01e1ce60f9b9fd:"Top left corner of the target","1fc3cdd8437f5057774cde2f2c51f97c":"Top right corner of the target","63dd9faca92bccfd436ff21a6b4b3151":"Bottom left corner of the target",d01c239688b9c8fc145191ee642dc080:"Bottom right corner of the target","8fcf9802436282672a8e28ebd6262390":"Top left corner of the page",aed25160b4e8cfc613a743c4549e9222:"Top right corner of the page",d4a4ab1916187e09b9c037705fd49ffa:"Bottom left corner of the page","921fccbb84c829bf8c6f0b9957029f44":"Bottom right corner of the page","1d53f83df1d889a70131b7a93c819575":"Content details","8dda45360dcf9ca501fd7d0eb53045b5":"Configure to view more display content",fd389de167730ba8542217ad31b95562:"View more content configuration",f9a9fcc3bf6a3c8ff1e99fa48ed6d03d:"Copy",deb65aca8dba2ff9d0cfaed0a3441068:"Copy content template","622e14515c4fd5ca6fe6946e3a1bfb4a":"It defaults to the current field value and can be customized.","261bba7ad82914e477f4b37f6a83874e":"CSS class name","16a20243f9b741c08216dc9548de2968":"Overall",e1b2f870112bd38f8d7e14a0ad589930:"Control",d38b7fc2d31e0ae21cb4bc7d7df14e92:"Switch control","6e17d8bb70df1c1e379fa86cb235ac82":"Switch form",ddccb436305b0a984c77d4ffa0725375:"Be triggered when the switch value changes",a75c768fda740b2c8f6e2dcc76400f23:"Switch value","7e1eec8349c4998d142960009305f27a":"Fill text",c580bacf343343f04a1b551e46d02c4f:"When it is enabled","9ff352ae39cdaeaa4fc54f83575eedc9":"When it is disabled","48433deca382e67b26af31c6ff967d04":"The default selected value is true and the default unselected value is false.",cadd676e2710e50ac149211078f8a306:"Selected value","13f19e1d0dd528aafd6263fafdc35e82":"Unselected value","617a63f1b19b5aad029f973479bac917":"Tabs Transfer","4f26f1edebcdeea90f6e4247a501dbaf":"Tabs Transfer Picker",ab5dea29793d933fa7b5487a7309df6a:"Member","71f8043aefd52572b172e7d1fbd5af57":"Magician",fda93c79275b812a6c1c189fbebf8b08:"Zhu Geliang","573cb0d34bd1cdc7b368c59db9b7bb7d":"Warrior",e37a86d1a1dbed0cd53c95582977f075:"Cao Cao",ccddd2de691ff2d56b651877f72d90ed:"Zhong Wuyan",c0db8e7b42528eeae96310c6629e53b3:"Jungling","293040fc607f40caf6d6e16042012182":"Li Bai",b5256ec780343c4e20e397b43cab96a9:"Han Xin","49dcf9f88e7b7b8ca7448631021d7d12":"Yun Zhongjun","1fd02a90c38333badc226309fea6fecb":"User","8b3a9a5c912610c384bc8dc2c8514386":"Select all options",e1112a529dc969a03bbbb409905ff2ec:"Tab change-over",d202bc660c4d2eeb58e194b6320bd235:"Be triggered when the tab change-over takes place","9e7a97a3d043f566f2435329e01e09f9":"Currently activated tab index","91208131116f2823993daf99f15e1325":"Clear selected content",dda222620b789d07c2c5c279475caaf1:"Reset selected content","2ac24a383a1faae33f81772b757b2817":"Modify selected tab","91f894b900f593c848e5b21f2b414b05":"Modify currently selected tab and select other options","791959f9b90734dce08da79f4ac27a41":"Search API","6eaeb8ccaa8473e2b985095be2bf3cd1":"Select display mode during query","6541f1702af367c41a3127ed8511eb50":"List form",d58ba4b5e94680fcb08300e176502fb8:"Table form","406573cea6af9b0c6462295108e1f5c0":"Tree selection form","6c5358b981a475da2a83e95e4170647a":"Cascaded selection form",b51b404751554341aae342bc5a6e9b22:"Title Text on the left",c7840604d79e814f02f8260bc2ba6544:"Title Text of the result on the right",c6a16ef980efc2ac48c58727e5bade81:"Textarea","2af7e3952d7430d1e4c86ea5aca4e4fa":"It allows you to enter characters in a newline.","5bc28acd4afb712dcbc234927357cd87":"Be triggered when the input box value changes",cd7f479dd052edc1261261c15fb0b50f:"Remove blank space at start and end positions",d3a8fe0d542476cf7989ef9e69cdd6f7:"With this feature enabled, you cannot enter blank space at start and end positions.","829d96cf23f19759e4ef988fb5320032":"Minimum number of lines displayed",c0afd6005e68838e37e26dc7c34cf368:"Maximum number of lines displayed","685e5f4815e87c4690dda7d7aa163904":"Shuttle","26b4a55f458275a108c1ef213a354ced":"Shuttle component","1b09b6621ebf0d10ce98f0178fa1bda1":"Trigger the component data update. Several values are separated with “,”.","0ba83d9fe027d8386b814f4966f20d4e":"Check display mode","847fe7c3978764607631845b0a43926b":"Association selection form","9037f708f0d9750505aa741399768ac0":"Option set on the left","3dd8d112997a8d0ae0641b8bf69eb7ff":"Left selection form","7980e24e70a7e56490fa397d5bc6b86a":"Right selection form",baf916e9b0de774b78e716e91b963690:"Show statistics",e40d15221a911e060b8a05ec7aa9533c:"Tree Select","26aa42c81825364d2d691261017b6797":"Click the input box to pop out the tree select-box for your selection.","382df0b291e5306c423bcf471eb1734f":"Tree drop-down",ac34e635d05de0ac2de78737ea313995:"Be triggered when you add an option.","5f5e2d89e987fa64d56471b2e3d50cda":"Added option item","8784005bbfb2b66592cc0c5cc0a62f2d":"Be triggered when you submit the edit option","25a4d7b5ce2585aada1205e1121e9967":"Edited option information","91a6d3a760184e581eccd52bfa3f7a18":"Delete node","3c72d934764bb7205f593903c63ac7ec":"Be triggered when you submit the deletion option","7768e7d47fa6e9b811d1a1f684703cfb":"Deleted option information",cfd5faa079bd9d7092e7cdc92f353c30:"Autocomplete interface",a9f97c7c1bec32a0912f1dd36b2c3b90:"After each new content is input, the interface will be called and the update options will be returned according to the interface. The current user input value is in ` \\ ${term} '< Code > please do not set it at the same time as the access option interface","72cd009894ef3ea735d5e2a9b4656c04":"Expand sub options by default","0770f4a4a4f769d778ffe228675e8c3a":"Options: default expansion level",d1b65ac6a715ec342d7b738c64b55aa0:"New option interface","07e2cb845d6b6c3f91e6960c209b36da":"Edit options interface","8c05730667f91c371ace46c17f46c875":"Delete option interface","43474db97aff2ed0a876a47b6f4cdc7d":"Automatically generated UUID","43e1548e15272e1007051d7c8b70adf6":"Automatically generate UUID in the UUID v4 format without the need to configure it","844d72db7e57be4d77881ee9b4294e75":"UUID (will be hide)","2820712cac089483cf2b4a0c939fc780":"Column","9e17d57a0ba39254a75c0265aa3063ca":"Column layout",e63907bf0db529e84866d1ae737bfc0d:"Column","9bdb07e72d3a9a6084201a7398523f5a":"Insert","3c43c5860b4dfaced296d7a63eae1513":"Insert a new row below",decaeded2b6f2c66f191ff34b868b1eb:"Insert a new row above",eb22d47f16f92e6f621c2b9d87119303:"Number of columns",c288b519484207bea1d51884a5e9acaf:"Column spacing",d81bb206a889656035b929cd8bb1ef10:"None","98d695d6a6a48cfb4bc2f6396ee64787":"Horizontal alignment","1cc9a6949b47913462ff832cb684bdde":"Middle alignment",da1b972efb29f850b50e219ad4d98ba5:"Justified alignment","11b7fc50778c89572391ec4c6c4b55e1":"Vertical alignment","2a6ad292447e6354ca39ee7f40d2fcc8":"Top alignment",d68c21b6b65e7a2e361762b65b8a5032:"Bottom alignment","0d9eb53682343f1cbd562c9a944ef5bf":"Insert a column on the left","814276d30e338eccbaee96c3e6bacb61":"Insert a column on the right","2a3e7f5c382c56faf261a87573658325":"Manual","19432e481cefd1bf88fc707f20ea62c5":"Column CSS class name","5ea5dbb698afe7ca566b94e92f6a3835":"Column {{@1}}","9cc03fc4b3e87e8410e10357a219b44e":"Insert a column on the left","6b12fc99e2a46aed982d46b93ac191a0":"Insert a column on the right","57ff158884582ed498a87d03aed46146":"Insert a row above ",bd63eab86ac0e0b35a06d0f24a098096:"Insert a row below","69a519f6b7fd6d0bebba72e7572ea1d6":"It is used to implement the left and right typesetting layout. It defaults to even distribution. You can configure the width of a column through columnClassName.",f9c91bffab8b1202cf32ab508879e805:"Fixed width
w-xs","8c187c1862900db487c8d47e19490fac":"Automatic fill-up",b6f2fcb279241fe5ff9a8052a444266a:"< span class = label label default > column ${index | plus}",cb2f68c9c24e85d21e6b090b6e5657d8:"Column","92e2c6523449dfad4350f58908260266":"Press and hold the right block of the highlighted box and then drag it to adjust the width ","129b16a89a82c6d5e03ab075633b3892":"Column CSS class name",d34cc10492e80595a901a292d0c16bb8:"You can add a width class style to adjust the width. By default, the width is equally distributed.","84b620405949e278f214a811a3a19e2b":"Column {{@1}}","4bfd6e7e1ec0fe485aa0e7741d1670db":"Insert a column on the left","9d75cc0b193601391a139285d55a3493":"Insert a column on the right","713315591970d7c8b49d1c732fe54fde":"It can be used to embed the current page.","8f1c078c6d42759e6ccb1a9bf35f1629":"Page address","51ad722113289f70b6d77c78ddf0c64a":"The default width is the parent container width. The value is expressed in px by default or in percent, e.g., 100%.",c78d9b9ab9db5951eb5526e8a46677d9:"The default height is the container height. The value is expressed in px by default or in percent, e.g., 100%.","9ef4425332e5f8bcad86de483b4faedf":"IFrame page ({{@1}})","67997ccf7ea846c3c2d278b01ed9600b":"Image display","6dcf991e992a0b765df0933411fe9bb2":"It can be used to display an image. It supports the static setting of the image address. Also, you can configure the association of the name with the variable.",e18aa5e376437da71083a29c4cddaf46:"Thumbnail",fb43d5ffa21f3c4055c29fad350f27e4:"Original image","582570bef8c57c5af7658c4a4eea45ff":"Thumbnail address","1193e1aab7bea094279ae7b4288ba848":"If a field name is bound, you do not need to set it. Also, it supports the variable.",f5865bf2d791d293374af4aa76d27c4d:"The image displayed when no data is available",e1110b854bceeed0e887cb951bb3d2f3:"Enable image enlargement feature","7ffade593e390a2a2cc43e6663461b71":"Original image address","214953c5f7557b1a5f1310c87238ee03":"If it is not configured, use the thumbnail address by default.","6d45b56ee94ea873a554ec41b9f2074a":"Whether to display the image size","00cedb73310cc531a43d23cfa5ba0e5f":"Thumbnail display mode",b0267f4aa776e75443b7ef6e8dad257e:"Fill up the width",c30b1b6f29debb05449aa3cb40268e7e:"Fill up the height",e13556bb3580ac3746e1f8663eb15896:"Included","47303119ba97a66d168ff042575b9de4":"Fill-up","319501b9acacdd6f94a9bdd0637a3cd2":"Thumbnail ratio","4d080f1e18d86051b8d651c68685f319":"Thumbnail CSS class name",e040fc4bf539dd1cf6ebca6b4bff857a:"Image collection","93f46deec83b8f9005233a1467498d52":"Display several images","2382c315a6ba396be1932dd8dafaff52":"Image 1",ce6e2814f207c9333f10785606c57df3:"Image 2","45a4922d3f42d0b137c6845c4c77031f":"Associate data","2d4247be13246794180897b40fcdbcb1":"e.g., \\${listVar}. It is used to associate the data existed in the application domain.","81a2b634d7ddcffc21b787613673943c":"Image collection data","0f088d8f579c362068d7a3858e207280":"Thumbnail",ebb2073c604e72ffd9ae1b796665b702:"CSS class name of the image list","5acc93183b7fe3816a845aca52baeff2":"JSON display","5a4b81442789f3b2e7b665bd430eeabf":"It is used to display the JSON data.",f891291cbfaec7ba3754520e2a5227d8:"By default, unfold the levels.","6dfe63d8c039df37787c87afe4c68604":"You can use it to display the text address.","6ab20dc4b64021b85886ad9c12b6e0cc":"Destination address","78ce29fdc55e6d0980b591a264c537a8":"It allows you to fetch the variable. If a field name is bound, you do not need to set it.","5d809212900f3bc3ba122fe93638394d":"When it is left blank, automatically use the destination address value.","88a5126f6a1463fc9986b590ee4ab99f":"Open it in a new window","39a2cb79c6d9762783e20522ea86dcff":"Left",de2a774bf98944b8f0ec8755d5f59d64:"Right",e370757f933a8ecd87bf0255c3ce45d0:"Advanced setting",e35dbea2b0c097d7fb76173da0e0bba1:"HTML <a> the target property of the element. This attribute specifies where to display the linked resource.","9f556fb46ecef854282d17e631578b1c":"It displays a list. It allows you to customize the title and sub-title, content, and button group. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take the priority to use the “CRUD” component.","84c04f1e9ce6a6a228228dd3fb96b99e":"Configuration member details","1ac0e1626be43287983fe3e5559320eb":"No data","4e53bfe03e30bb3eae63d90d1f7f2a1c":"List div CSS class name",d9eac94850a74ec881198f4ffe4edcfa:"List item","3ed7b428165499a1b91ed1eb287ba343":"It supports the following template syntax: ${xxx}","456d29ef8bafd5202547e50d3e64d4ea":"Log",d06f8476d115020496058363a32bc40b:"It is used to display logs in real time.",a2bc1edd7be9348e5a998feb0886c55d:"Log data source",ddeeaa33ae62ead1a77a859fb79b78d7:"It displays the mapping of the current values. For example, if the original value is 1, 2, or 3..., it is required to display offline, online, expiration, and so on.","844318bd1d58ba0bf7dabbb771174b12":'I/span>',"2fccd71275cdf5d6c0c677ef79dd84a0":'II',"198a96c4cfc64d5feba81b3f931f8289":'III',"626a0f2fdf13bcadf11581006ab9eba3":'IV',ce3fd44456123f571e9d083b98da9fcb:' V/span>',"8b139ce9fa196b602bb1ee3bd25b25df":"Mapping table",a9de5901385d644363cd056482be7517:"

When the value hits the left Key, it displays the right conent. When the value does not hit the key, the key is the content of * by default. Ensure that the key value is unique.","2b10dfa6dbdf8775ab2b38fc67e7ea49":"Wildcard value","87cac3a9c9576d9b5bad6639c891112c":"It displays the markdown content.",eb99816b4a216b2eb884cc6194f00ec6:"## This is a title",f6a5891819c67a80c1179c7cdaa00935:"It is used to render the nav menu and supports the landscape and portrait modes.","4cb18f42ea06a97b382397c40ed64fb2":"Page 1",a004407ac524b6d331671fb7a013c3fc:"Page 2","310c10c1fcd37bf760bc15c30f54e722":"Menu management",ba750e6e302292402a4c61ed72331cba:"Add menu",f7a63e1e77fac1bfa05a060d55e27692:"A configuration error exists in the menu, so you need to check it carefully.","7fa141f341e173e2339dcf0ce6869b5c":"Redirection address","720fc47e20be9b7a2e67a4ed808b3bf2":"Whether to highlight",a6ed2640c41d0e3df4acb4f15d37f6e3:"You can configure whether to highlight the menu. ",dc55fd2e990771fd670743ca5dd59275:"Automatically analyze the menu address when you leave it blank","78b7cf23a2b93db1ec36e6c6cfe170db":"Include sub-menu","710b20ff1d85f7965bfaac44ae26344e":"A configuration error exists in the sub-menu, so you need to check it carefully.","02f925f6a5136c2b65b5da8d1216b5b8":"Sub-menu management","59ad4734917af165482774de9c2d50cc":"Add sub-menu","4d25cfe4cd14270af9420acd25526691":"Get menu API","9fc8c79aac0302a60ebc0777183cd181":"If you want to set the menu address dynamically, enter the API address here.","737669a8ef038ebd37fd7b2f3b5f389d":"Whether to arrange vertically","8d79a8cbe0ed37accbe0739024d5d896":"Action bar. It is used for tables.","6c0fe599b36c2a55efd8705681783ee5":"Button set","975903dc39691813530e108986e49ac1":"Click to add a button in the left component panel",c641fe0ae06e6c0547d89fefa91e7f75:"Add button","88d1257b0cf667319085f3e0033b9607":"Button behavior",f10f0be4aa9684eef9d78234072fe08b:"Drawer type pop-out (Drawer)","4f02d2efe05a20232ab9da63c090595c":"Send request","5dfd5a78e2ba1bc8afb482a8745454ea":"Download file","4e58f9c94d345e14e2d69cc8496b7b5a":"Page redirection (single-page mode)","982db3084a2c470d1a9b34efa024511c":"Page redirection",f20d9579ebdc9dfc30a212ae6cae931f:"Refresh target","6a086902a84969a835423002718e86b4":"Copy content",a56c9f13b1566009fdc7640bc551709e:"Reset and submit form","30313d6fa06603604db18086bbcad9d3":"Clear and submit form","0fc26855080a4219bbfad638029a795c":"Redirect to next entry","8ba8a1bead7ca55554cff1c85246ae09":"Redirect to previous entry",c28f4d63beabc4833b17aaa10ca550db:"Copy format","21fa07f18f80bee50695686831ae1286":"Designate refresh target","8a089992349df754f182a5d02de8e8e0":"Popout title",b680997c50ca749acd4e6075cdca244e:"

You are right! You click it just now

",c3c8422fcecd8c1cc922cba15ab5cbc0:"Configure popout content","262c7c7b9874ae5607fb51da468d0e8c":"Configure content of drawer type popout ","5eb694a4252528628929ced97ca95823":"Target API","84d38979bed546b93c4b3a399844419e":"

Content

","0cc0fff6eb667b140d3fd06e34a8c69f":"Configure feedback popout details",deb9089ed7ebcacd712117fc4204c65f:"Configure feedback popout content","215f64480a93893fc56c51aeb5d40f11":"Clear setting","7984d95c01b725a2709fb8f5ee330fb4":"Whether to pop up expression",dfa07586a471e24b23fe68e11f5dc41a:"Use JS expression, e.g., `this.xxx == 1`.","47186f00df86d3edad3b5595ba8c2a0a":"Whether canceling the popout interrupts the subsequent operation?","4f21e04fe35d39c79e7779cdf2f4e232":"Whether confirming the popout interrupts the subsequent operation?","0bbc3ec26c36a87c9df3183def6ca9e0":"Whether to open a new window?",d0c3025a64b26e5fbf22005f400c06d7:"Whether to close the current popout?","0c15a924dc3bedefb79c958972bef2b9":"Confirm text","06b13b11740f7663af325bf5426930ba":"Click to pop up this content. You can perform the corresponding operation after you confirm it. ",fa9a0a79f29fef72e3060ea1af93c305:"Refresh target component","437d629f00e62cf99b3ad288f84ade46":"Specify target component you want to refresh after you complete the current action. Support data transfer, such as xxx?a=\\${a}&b=\\${b}. Multiple targets are separated with a comma.",b01f08bf5b9f8e3ef9d49e31d89bf770:"Specify response component",f667748a8e9717498da714d4e5087af2:"Specify action executor. It defaults to the functional component where the current component resides. The action executor is specified in terms of the target component.","80ddab8a52f74d707765501b0caae21f":"Customize click event",babbd439bc04241ed3536f892668c250:"Transfer two parameters, i.e, event and props.","867ade50f0bbb10bac65a5c3bc7895e9":"Keyboard shortcut key","45882ddedb42c1a38462949750bc8a84":"Display a prompt icon. When your mouse hovers over the icon, the icon prompts the content.",ff88d5db9d61f14bce6e3397fd4652a5:"When no value is available, this prompt is displayed in place of the value.","348097cc50579e489f0bcb5433637d3a":"With this option enabled, you can sort them according to the current column sequence (backend sequence).","9db64f772c11c614ee00bb3cc066f46f":"Column group name","19c4f5e98ad302574202de30dddbaf66":"Enable quick edit","15c3796e07e33afc7252df751f610c5d":"Whether to save immediately",ba5a0a1ff2c438ae7719ca48b0ce3af7:"Enable “View more display options”",d689e3c38fdb32c98fb27f8f35a26552:"View more popout modes","6e78b595d6a296938201a3c80660bf35":"Enable content copy feature","65f7e01d58cb5065f49e0e8f48cc16be":"Fixed position","9ed8a4c5d1b3726121175dc986268b0c":"Unfixed","0a5ac2f5c327e28c58d51db967a0e603":"Display by default",a3bd2104e3df81df713de636b907462c:"Trigger bottom display conditions","986a5f50e946674bb91c9408fc974497":"Always",a165f0fe5fb904049f6b6961105e433f:"Mobile terminal","03ee8b948c9b34daca9584811bcca17d":"Tablet","82d9f1f96084674e2b0101ecc04d5d58":"Small PC screen",f4166de371b5dfb87efce228b17a3fbb:"Large PC screen",f8cffd4d3fcdca390a3a3de24d209bb6:"Forced wrapping of content ","4619988f1c5d9093dc00d1430633b2bd":"Internal CSS class name",bdd9d38d7e2929024089363dc8f48b7a:"Column width",b198805e7a6b35830ba813f51db2fdc4:"Fixed column width. Setting the fixed column width is not recommended.",abb58b3bac0533ab4359ed977fa3c073:"<{{@1}}> column","044892c0c637f2d9e78e78956b1ded01":"Anonymous column","59ceff465ad16932d8972191ad815dfb":"Page","54002bbf7eb3da8346dd4be61d642bca":"Sidebar","49400a573b9f7a7bd693f84ec59379d7":"Initialization data returned from the remote request","5d758dc5e33ba0122c256d80c1572e88":"Drop-down refresh",d6fdfa4f989be6586a7a29ea85522f24:"With the drop-down refresh enabled, it is triggered after you stop the drop-down action.","56e6db657d4775698984f883b71cb379":"Toolbar content","4f9fa9ee5b0604d97da73e77fdbc281e":"Sidebar content","40fd4b2a194b2b1284a7f7f738b69640":"Page content","0e82bfaaec104a9f0eeb14820b42e7c8":"Area display","685fae7809f86f9edee4338daaa212a0":"A prompt icon will appear near the title, and the mouse will prompt the content.",ac82acdf2f38faaf293c8690b2ea627f:"Data initialization interface","9d191f6126f21da8222755c14f49707b":"Set the default prompt information of ajax. It is useful when ajax does not return the msg information. If ajax returns a msg value, ajax returns the value predominately.","4e5640b31caf3326c27026bd1ed8f4cb":"Header CSS class name",e656f261cac36cc658e8d69973d7611d:"Content CSS class name","1444bd7ae7b7301b6edf930c2ab8b175":"Sidebar CSS class name",dbe33f485b394a3e77240c530b9965e4:"Toolbar CSS class name","674be25c9feffcf78eba48d53a944148":"Mobile terminal pull-down refresh",e24bc5fd094c7c272725c6340d8aeb8e:"Drop-down process prompt text","717b23399e04873441478fef1cc16d43":"Prompt text in the release process",f59b11ff84daeb60b027dc02490b627a:"Paging component","7cfb5e222a5954e891fba6e3802c7ea6":"The paging component can display the paging of the list to improve the page performance.","9ed7d3adc032f6b78808e7f3786ec9cc":"Total","8e60090c332693095d5852d92ee149ee":"Number of entries on each page","47c62ec10a240c35b8446cc923c5e8ef":"Pager","97b8cf6ae269b6f6d75063073cd565cc":"Paging change",c9fc9b668c08d0e54415c7054d414651:"Paging type","35242cff1266fd3610f124b0e5e76f9b":"ordinary","40e49965594422b15ddd789eef4dda7e":"simple and easy",da184573d7eac6362e01e6fb202d3c91:"Pagination layout display","7c94d517ef4d6633144d5c719d0019d0":"Select to render this item. You can drag and drop the sorting to adjust the display order","65a4ce155100cd7fa671b0f85c1df2cc":"Next page","442d73ebc936d3b74e41b901cce44a6e":"Current page",fe00f5ed371bdec5801ac07f8bb564be:"Last page:",eec5bfeff8012238efbf611fc22c32f6:"Total number","71fa2ba926cd032c0ebe0bcdd5d3eb10":"Number of entries on each page","04519bf3bf428bb1a75938ac65dba040":"Default number of entries on each page","040f05137eb37e880873a763ff653fe9":"Maximum number of buttons","2ee8eb6b1a80a4b025f97fca6afb800d":"Display the maximum number of paging buttons. The minimum value is 5 and the maximum value is 20. ",cd6f79e7bff1337c12c86a15ceedd6da:"Panel",e04a2f1662121e5a3c397d496114185b:"Display a panel. You can configure the title and content area.","4e9bb0326ab4d3a2af94d901c7f1b6a7":"This is a panel.","5bf5f1fd54476671bd6fd9d97e3e6b6b":"This is the content area.",cac3ba71180c97b1b6432833b3417d2c:"Add content in the content area","1fae678397df046c1754092f15a71d98":"Fixed bottom","68744acedf015b8cfc445af30583815e":"Display content area","5a0fbcaaeb439684bb4ae5be579e4cd4":"Form display mode",f99d7e5f15906ca78c45753ee3b04a8b:"Horizontal ratio of form","9970ad07468267e2f309f1467c75bb80":"Theme",fbae87bcc352f6933541fb77a07418ed:"Primary color","540f84ddc0883866b229f71c2844199a":"Danger","5e5d3f13111593b2710673006d4c8297":"External layer","65810a32a98f09be550b0c421df6c540":"Header area",f3b9889baa6d17ec63f05ea7d326bcfa:"Footer area",da71dcbb13405815476cef28a8b9c4f6:"External layer of button","6c5b1f0e8e361a801fa75da070d1cba5":"It is used to display the pure text. The html label is escaped.","67e77a196826a8880e47ad949ce08ac0":"This a pure text.",f8fc21a9fd40881e8fd3d7f15919465c:'If the current field has a value, do not set it any more. Otherwise, the new set value overwrites the old one. It allows you to get the variable using \\${xxx} or write the template logic using lodash.template syntax. Details',"83077805e05ac6bedad69b47fca4462b":"Progress display",c77048def6e8a2d6c556a3fcc9c66730:"Progress bar, progress",b1aefb18d4bf96dc283a26d67abc41a8:"It is used to display the progress. You can configure this option to display the progresses in different color.","2dde3029c4170a1c8e961a90766e0194":"Inheritance",ce179eca04fab0d584506b0d19736836:"Linear","2db0fcd5342b479688fd999a0108ef5a":"Circular","3fa8b34a2744f62fe93dd599a275af39":"Dashboard","1ca3fa86d8faa46cc75792bcf90d7fff":"Progress value",b0932e5bb7f7d95e3636d82d1a039854:"No data void prompt","940b12c19fcf7aced0cdd164edc9acbc":"Placeholder prompt","9cf66e7783e4c9b1d74bcd411edb6950":"The value existed when the data field is not defined. The value does not include 0.","2f0faae87508471abce4384b60900e15":"Line width",bd9b3f7e564c9eeaedd72f1bcbb7fc9f:"Notch angle","31a088147dc0006e4775d066980fa688":"Notch position","77a7419dd4fad70c3f3e4b075b2c3fcb":"Display animation",a04564aaca658461333b00cbcd071518:"Pure color","0a9fc7083e2768107fc178ff36f29ba0":"Strip",c035fb9e67c0b566fd5d35889035424e:"Allocate different value segments. Give a prompt to the user in a different color.","23bf030ca760141f317dde1b7f49b11a":"Property table","44f2bc36dacb88424dabf9df71da0e77":"Machine configuration","1cb82ab4f259d5b75da0ae86583b31ff":"Other description","9a4ca43777061ebc91bc64cb994957bc":"Number of columns displayed in each row","17fa61e1da428936a31b51c955a99d65":"Display mode","7fa5c95b26550753b0931fa21cea5d10":"The property is taken from the variable.","6940ea5aa4c18e105cbcd32cbe410839":"Property list",ae41a992ccceb36f83024f72531186ec:"Property name","52dff5b153bb5eaca33a008458ce0209":"Property value","42c3762943823c37b537a10c09765822":"Number of crossing columns ","22b03c024d815ad327e8b95d684ced38":"QR Code","1857d9050ac0527374f4324c0a5ad910":"This option can be used to generate a QR code.",e71377bb59c70af683be127ec49d01c7:"QR code value","57eda9139c0b3bc0605ed4cf303ffbd2":"It allows you to use \\${xxx} to get the variable.",f13c3e0717ea842cddc1402e8dabfb6b:"Complexity",c4bde7dba8c6eed0ca0165b071b259bf:"Width and height values","2f97db95d75280bfedc5afa72d2c717d":"Background color",ebf2453eddf55441b711d187f3872ffe:"Foreground color",d5e6d5c44426a82e18e31eadf7f1e09b:"It is usually used to reset the form data to the initial value.","6a06f12bdf3fc96df6cb45467b9a7c2c":"Service","9cc50da6bb17ea7ecf44c254c9b37619":"The functional container can be used to load the data or the renderer configuration. The loaded data can be used in the container.",c5a33208cf3deab68cd9fe34679edff6:"The functional component is used to fetch the data.","54d99a6a50a2373055c0f66ab727a869":"api initialization data","7a0c222fcaa42473d1c75c113c3641b5":"api initialization completed",acd4bd22755a537431d74b28c3c2ad67:"schemaApi initialization data","5a7d03912f38d0b24d04b28da40864a6":"schemaApi initialization completed",f885d4055567877facf0a3ff376a114e:"Re-build",c8f0e77a9eb5de26e6ab62695d8494b6:"Trigger schemaApi refresh and re-build Schema",e22855f53b7a1ab33e920375c0cd0e3d:"Variable assignment","8b10146a8a896b890b3796eefcc3c6d3":"Update the data in the data domain","47d68cd0f4c3e91a86d23afe8afccfb8":"Service",f754888421621d122c110d83e710e9d3:"Add content","31f8a7a967286a16eb404e3ba237619e":"Data API","54f876a529283de5668426b2dc8adb15":"Set the default prompt information of the service. It is useful when the service does not return the msg information. If the service returns and carries a msg value, the service’s return result value dominates.","7fa237c1b62d04aaec0144d1fc89d620":"WebSocket Real-time API update","9dfeacc54ab6cd6d2ac08df387777f9e":"Initial loading of Data API","98223d478e88ccbc2406412a46dda8c2":"Silent loading","71ae1c76cc4160f8fb76e404e35ca08f":"Whether to display the loading animation after you set the automatic timed refresh.",b897babfafd35cc5d6e66470115c93cf:"Stop timed refresh detection","11bcbff684dfe6edf36e1fd1adc5ba30":"Schema API","8cc3239eba9fe65b99242adb33634b33":"Content Schema API","3f423669b0ffeb3993b95085cd8a111e":"Initial loading of Schema API","8e8aaafe8db0d8eb05e3b11550cbabe7":"Global configuration","7481babe858320dd6a4adcf307fd151d":"Customize function to get data",bfdee34e14602e3113c88a9145843e86:"Transfer two parameters, e.g., data and setData",fb559ab354303d1927dcd9f0f2dffa23:"Succeed to get data","56f0a1c0bc0408556c5810ea4f219dd4":"Fail to get data","29326bcd28fb39bd41e54242fa532c85":"Trend chart","270301455c3de762a7e2b145dac7a8b4":"It is used to embed and display simple charts","44e13bdad8c7eb6391e84d940513b927":"Status display","82a3047196be368be13dcdd2373520ff":"Display the status by using icons to associate fields. For example, display √ for 1 and x for 0. You can customize this block.","774b2bcaca8a64f46c84b510cec89109":"Icon configuration",b698a95f1e217e5465835ee0d23b1b1c:"Configure different value segments. Give a prompt to the user in a different style.",aacb2b36c47395e4b4b409e351eb4279:"Steps Step bar","863a8583132d087e57aebb7d89e18a50":"Step 1","9757f2c59c17e9aea46e0c8adb69597e":"Step 2","207e30c0e7318027d521dd7c6fab6a99":"Step 3",b8a2d347bdb22fde367a851df8335771:"Step list","59cecbff0cc77511590d2161cc3058e9":"Current steps",f3f08da7f65e1d5596a66cedd7caeb9a:"Start from 0","6bf1f392c0a404d1f7558e6dcdd6c2e6":"Current status",fb852fc6cce168301447d1baff276dc5:"In progress","8797922788916874c39ee1524bbc3638":"Wait","769d88e425e03120b83ee4ed6b9d588e":"Completed",ad8e01fe719bf1a5af82ee0d100d246b:"Error",d1f03ea8d9d3c3a241e8a340b8a384d3:"API for getting steps ","74f0f6730053049f4c9beca2ab00c193":"It is used to submit a form. The form verification is required. If it is in the popup, the popup is closed automatically.",ea2b32f5d78d2305b9b7bc21e056a009:"It is used to display the table data. You can configure the column information and then associate the data to complete the display. It supports the nested and super table headers, coluln fixing, table header fixing, and cell merging. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take the priority to use the “CRUD” component.","257f5a3886d87d2255206f86b880d07e":"Select table item","6130b1f75d624b2f73f5d923492e92f7":"Manual table item selection event",aeddca0456d8fe520dc95545a83458e9:"Selected row","4f907cb94921bb62a8399adec922bb60":"Unselected row",f3d21138c8ecf5683503c4f814cc7199:"Column sorting",d84464cfb2a5828a200fe9c28a323122:"Column sorting click event","652f155e644e82ebb0a1aed97ab6ab23":"Column sorting name","460e3a697d1680445a47139c0816fbe6":"Column sorting value","3d0b957a99d0c366612c01913e17a0c7":"Column screening",b35963687361af98e6acdc004e87fc3c:"Column screening click event",ad11fba3ac676233f3105e76e7de0501:"Column screening name","8e4b9c88c51aaad1a28a28e8b536697f":"Column screening value","93a5a0253f11e3a2e58f4e87a52fb094":"Column search","6d4c4990ab2c32efe8a17c5f22e10cb5":"Column search click event",a80a4486100baf3f45fab3a59e4a816d:"Column search name",b9a565fe1dc488efae1d63464f277f09:"Column search data","85ddd38957256b6e9026f42ed570bc35":"Row sorting",d7a66def82af88cd5d408e38feb8a65a:"Manual drag-and-drop and sorting event","1987561c006c7192ab619f81103d2a2f":"Sorted data",ecfebbc91e2c18a512aeb11b7da15193:"Column display change",c94f45773a42dc386b9c9dcdc6fa542b:"Column customization click event","70567329ee851a5ba7e7301bd8e9d9a1":"Column configuration event displayed currently","76e47871d654c3b0b0e301c0a076e55a":"Row click",cc13521eab2c7423b3fb857772405cc3:"Whole-row click event","2fbbf5c38b66ac5496ac42246bbe9e0b":"Row click data","8eb3c8b16106e5487cd1fa3b8a1342ce":"Set selected item","908cc16fe4f7972450167e26276ac726":"Set selected table item",a2b39e5a8b5015234dcd8e07a2e00e3d:"Selected item","366a3c07289bd6efb7c2a182f7a12772":"Set to select all",e97c09cd119b64ae0a8dfd42a1d449cb:"Set to select all table items",c3e8652924c258e121eed16414d3a9e5:"Clear selected items","7619ec29c0a854dd49e0a7a47bf1a127":"Clear selected all table items",b94bd878cae4ddc567b00a2dc4f21d74:"Enable sorting","5dc3017c21ae2e31ab127dbde8ec80e9":"Enable table dragging and sorting feature","25915fb58615ba9a5e145efa252fec30":"Automatically merge cells",d7d0936858fcdf4ffdb2899451ec74fc:"Set number of columns","80174cabf025dfe269aee5390b813708":"Set the number of columns from left to right within which you can enable the feature of automatically merging cells. Thus, you can decide whether to merge cells according to whether their field values are the same.","14921c3831512876f6d58b2a497b86df":"Column display switch",cc42dd3170fdf36bdc2b0f58ab23eb84:"Enable",b15d91274e9fc68608c609999e0413fa:"Disable","6fe0b71c07a5ce5f7a09f7fdb1d63827":"It is enabled automatically when there are more than 5 columns.","2206c0e11aa5f4f154aa9e5dfffcb474":"Whether to fix the table header","5006fdc5659989e42c3855c17c57f878":"Whether to enable the bottom display of a single entry","9db359f376a1a588ef7dcbef53cc114a":"If there are too many columns, some columns can be displayed at the footer of the current row.",df74194830e695efbfce16c0c64223cf:"Default footer expansion","94be543c4fd399f0839211464c8583ce":"First entry","9a7b52fc8659f1786907fe93efa85bf7":"All",b07deca9076bd3354b1b2709d58d725a:"Fail to expand","76b3250fb1e8593fac075b64029300fa":"Row highlighting rule","1fe38acb67e766f7767d9f8e88bfe990":"It supports the template syntax, such as <%= data.id % 2 ? 'bg-success' : '' %>.","734ebf8b33422c456e937fc27c9a16ce":"CSS class name of external layer","320f489db3dade075d69f155b346f98b":"CSS class name of table","08ca0d502abc4336855d837f281caef4":"CSS class name of top layer",b6469055adf2b7bfb187f74ae17dfe54:"CSS class name of footer external layer","39ff38577b97cf98fc130f9bd596d4c4":"CSS class name of toolbar ","175e01917d9d4891a40eab43f4487030":"Table view","9fe8304dade75a37bc04f45515688325":"Display table type","2560b304e691da78ee2e02f5af9b494d":"Region",f7d29dfae05b5d049b64b040b14d9a00:"City","44e7ebb4007104495dcb7afbbb6778fb":"Sales volume","3f0cb8b8c238c3b4e08898ce6d449c8d":"North China","692e92669c0ca340eff4fdcef32896ee":"Beijing",b8b75a5f9109919ff3f67b336b62afe9:"Tianjin",d1c2b2d68063b4a57af61e3027861cd8:"View width",b32ec25f2bdf7b2eed5e947cf82a4fde:"Default internal spacing of cells","8a42ded5c9d58f3dd9e3a8968ec04b34":"Display border","9b4bae5d8251de0b6f00b704936b00d3":"Border color",d273f56b3e598e794c3480f1e62f3ed9:"Cell {{@1}}, {{@2}}","466c65230ac92494c3af79757b4b78aa":"Row {{@1}}","1ebd0cd417700f3f4a7ee5f64518fcd1":"Cell","4d775d4cd79e2ed6a2fc66fd1e7139c8":"Display","7ec907e7059b758ace2f3adb9bb803ff":"Text color","104711e38d3cd9335dbd1f4301178edb":"Text in bold","65194da33aa3aa1d0fd08b5690af6f26":"Cell width",fbd9998b10e690230b0f2fa9b24087ac:"Cell padding","0bbc2ea4e1d1f23feb576de5dca1ce3b":"Center alignment","4745afe0f89f665e41adf819da5df1b6":"Number of horizontally merged columns","7c2e1f863e86715e892f61a54e558b20":"Number of vertically merged columns","5a431ad16d8f7f23fac3be5650e51caa":"Row height",db439b129f3143e14a7024f08ea3732d:"Row background color","30d6ed36667cb98165f07c59702754ea":"Grid","49d45317662097180e27fa53235d9b13":"No corresponding td id is found.","013326241579b9b2735756f2204bf8bc":"No content in the column I",a896691b72032fe21a00b6487381a529:"Add a column on the left","24e4bbbf29a8d31e711c8d9366bf1a6f":"Add a row on the right",aea2dd682bc9dc2974dd971581148459:"Add a row above",bac058b86f8fd4e8f5e2ef3807799aea:"Add a column on the right","488d0742c010851e9c6ce3264df9542b":"Split cell","9377e388f7189d6103a3985a321115c8":"Tab",a8b1273cb2d53ad858906ff9744a9891:"The content group can be displayed in the form of tab to reduce the user cost.",f78416dbd6c6a40a3ecd1c1f2b0672c8:"Tab 1","9769ee568100b0c530a06ec3f0c0044d":"Content 1","4be268145385303e8ebeb480458a380e":"Tab 2",c50159e2acff0f4ffdce4c67ec3513a3:"Content 2",c8794c58d0eb020ca40905d1904d88b2:"Modify activation tab value",fcd3abb110aab48ebd0ac2a1d7040d6d:"Modify the key of currently activated tab item of key","9d000284174ff09642502803887f28ed":"Activate the item ?","29645b509093191cad34c673c1b3efb7":"?","9578012b7d75a3a47c76acc176caf403":"Active item","3ba265c6b63bde0319822afd6b9a649d":"Title prompt",b744b72fd649d904e561358fc26c455f:"Pop up the prompt when you move the mouse to the tab. It can give a complete prompt when the title is too long.","6e7fe62a865cb9ae90e52f85f4c6b8a0":"Default tab",a8986713e2b83c9ecafe5b107c09b68e:"Display a tab by default. When you configure hash, use hash. Otherwise, you need to use an index value. It can get variables, such as tab\\${id} and \\${id}.",acb839aac679bb34be9b4b49806b74a8:"You can use \\${xxx} value. You can re-render the configured tab dynamically according to the data.","5b9af1bc3012bb3c8e07b983b423ec17":"Render the content during the activation.","4bcecc15d16e8c851dc3d155b8f30929":"The content rendering can be conducted to improve the rendering performance only when you activate the tab.","12c6a62683d63e404d71a31c9cb5209c":"Destroy content after being hidden","5b52bcb62a2e1dab99ef841b05395b6d":"When you destroy other option cards, destroy the current content. Thus, you can re-render the content when you activate the tab again. This applies to the scenarios for getting the data when the data container should be rendered every time.",ecfcea4b381d761fecd512761bc07954:"Linear",b30f254eccefa14c9980235bcbec74f9:"Simple","3d7443aeba7c8eaf1cbb42ad5232fa10":"Enhanced",ee5e5a588705699a51eb3c5778c3020a:"Imitate Chrome",c5b8044dacf2e63931d85e5e307a9168:"Horizontal fill-up","22d18bf0c476ebe7aa9303108677ff2e":"Selector","5bff38cb05e3710a0c0cb16ed3ced78f":"Sidebar","593c1c61592f80831f58b2e44cfe63fa":"Title area position","030c8cb75e9707285b28c4931bfeddc5":"Title area","32b4bc87bf7f95cd6094992f0135ff7f":"Title icon","996a919888ae86e842c76245daae2360":"After you set it, update the Hash of the address bar synchronously.",f3051dd9b3538e170322fd5224b28de0:"It can be rendered only during activation.",ee51f2d49fa12c730d2a0efef0d67e44:"Its content area cannot be rendered until you select the tab. Thus, it is possible to improve the rendering performance.","024f24defb08c5c9d463a2668cbb9802":"Destroy upon being hidden","370bb4d6806c88a7df2ac17ca2a7b6a6":"Disabling the tab leads to the destruction of its content area. By configuring the “Render only during activation” tab, it is possible to realize the re-load effect every time when you select it.",f6724322c613ca164ea9a9d03e9055c9:"Card {{@1}}","8a471486c6c7bbe43e14392c6b127aea":"Asynchronous Task","4f58f808d62c4e31c347e483898396d5":"It is used to show or perform asynchronous tasks.","9ee043b0a77a26d22eec0f4ea99afbd3":"hive task","2c8a99d35cb5704994cabcc61a4c3a4a":'View detailsLog.',"3709f71c9552ed5db76cbe8f3cb5d4be":"Small traffic",c60ad696dee4e1eeff6f0f2c2e9b9fc0:"Total","5c0dc424442c913c6d16a2cf43137da4":"Initial task information","78caf7115c5140f8913c581920239f22":"Task name","3a3778f20c0e1a55adafad4861a71216":"Task ID",bc7e74f7ccf8ed6fa5b7b7649b221daa:"Task status","1d35dcbf191e36dcc6c15f71277d72ed":"Task description","76ba17faedd82297d09b2edd70c5914e":"Add task information","093bcd735847b8464d683464165adbb8":"You do not have to set it if the detection interface returns this information.","7dca021cccc260dbe1d81dfc6b29f513":"Status detection interface","358e55678114f19424efbb42c0a927d9":"Timed detection interval","77bd60ba17a73ede5d81c4eeba0f830d":"Submission API","1e057692fcf81e07e20b5f7c9073ea35":"Retry API","24e3562a3262e80c3119f22b8f447f64":"Title of task name column",cb8e07cea4df337bb6dcb8362b5f7e02:"Action bar title",f2acd3adcc0a0d73b318c83a29a4d2a9:"Status bar title","8a4cf07caf84c91a87e8ff3c48a944b9":"Remarks","0cbbb89050458c2bcf0ca98c19dc8864":"Remarks bar title","879eb99c7b1aa3223925b9b2dbad4c63":"Launch","804b6382fa6d8b53c5a2a409f30f7fe2":"Re-try button name","132c5cdcceb0f1f17c8c088a42959aa4":"Try again",dd4e55c39cee201b82dbc9cb2aca173f:"Do not get started",c0d2181d579cd1e965ed10d5183b1fc0:"Ready",fad5222ca0acfaee54f06458188d916a:"Completed","7a4b9e6f14bda48d2c3bf0fa431bd2b3":"Configuration of status label text",f198581dbbc357ccc0283cfe02d56edd:"Initial status code",d6bab2368de31490741ed95f732aaa25:"Ready status code","6eafca9359acbb0bedcf86d6b8609e41":"Status code in progress","7e8b2e41a303cb8532b9ad2006da3c25":"Error status code","231b6f799949f9a743d5193006a15af7":"Completion status code","003797f6b66c67cd87ec684cacb4ab70":"Error and retry status code ","89d19c1fda4906bd7a336895835ce20e":"CSS class name of button ",c52b46333f6d5d2796ee64cb359cd58a:"CSS class name of re-try button ",b091a100499d48dd4ccf0b982aa37d68:"Configure CSS class name of status label ","7ac24322bc8eeac88db6823942423ac3":"Time display","82315a0cd63e7f81233ad804e0d02deb":"Time value",a389ce9c52a94bbdd5c7fa84af85348c:"Display time format",dd438f6fb09d6223fd95df16383f0f44:"Text prompt container","33813749a95477897085e2435acc16b6":"It is similar to a container. Multiple renderers can be put together. When the user puts the mouse over or clicks on the container, a floating layer for the text prompt is displayed.","9b14c9051067bef2dd9a15683201dd18":"Prompt text",ab97cef55407efa11f79211e17cb2b4b:"The default configuration is “Mouseover”.",b47707f0e916e3e3f4ba885bc2cf2c11:"Theme color",a32b3b848eee6929634dfc9a9d8bcdb1:"Bright color",adb7e5312abdb9a44297e48d63815fa3:"Dark color","0de826c66ae3fe8043e9a39b35616ee6":"Container inlink","4583d3453c31cd3ff068c1358d8e7f1c":"Click the area outside the container to close the prompt","8e290c31bc0b4f76edbd58c3575b8420":"Floating layer offset","03c87fc8d49f865f0c2895d9ef3fe352":"Prompt the offset of the floating layer position from the “Horizontal” and “Vertical” position.","4e3e1e12e701890f4461808cc8f9d407":"Can enter the floating layer","9d6246f57f6924410b0c68f2172420f9":"With this option enabled, the floating layer is closed after your mouse is over the prompt floating layer.","90919000a708f8d66b7591e21b8e33f1":"Display floating layer arrow",ed81f127f3b2aaff73a4f4dd5968fdcb:"With this option enabled, a prompt floating layer does not display the direction arrow. ",b60e5222037939812dabb7da9979c27d:"Delay in enabling","82bb338503938f2da52e91f7244a34a2":"Delay in disabling",d55c726c99995e106ba5f3bb2b791a86:"CSS class name of content area","0ce2605d7eed6782adb6bc62ffae2335":"CSS class name of floating layer",edb5acdc9ee5e75fbc238ab4a0300eaf:"Text content",b1f824deef0d11e1fe3b73167a902e31:"Text style","74cfa7e77be335e8e5489a00ef099cb9":"Ordinary text",d482086f653d92fa8f1011d39738dba3:"Paragraph",ae27115431c46fa374ac28200304f341:"Level 1 heading",de86106d6632da3fafb946f85ba91324:"Level 2 heading","27f2c5c60f373a4380ec107ad8895f0e":"Level 3 heading",c961174771e843ac4046b2b21c49424b:"Level 4 heading",a791de104833c917f801c1976b9af960:"Level 5 heading",de2687f9a16fea3654be84c74137b805:"Level 6 heading","65862c97143c6c5479e0c623093a25d6":"It is used to display a text or paragraph. Also, it supports the template syntax which can be used associate the dynamic data.","38accbc34901ee6fd7bd7cd9f92f0a2a":"This is the current time of the template content <%- new Date() %>.","590e147e49735ebbfc51ae2175c36eb0":"Edit content","47ae015d04dda362d066e4f9ac09d647":"In the inlink mode, the span label packaged content is adopted by default. In the non-inlink mode, the div label is used as a container by default.","7fcf42edf5817042904f4a122ff77582":"Video","1d5bbe0ab0d90a223c162fb375997a98":"The video control can be used to play various types of video files, including flv and hls formats.",f50bc38cf567e68250a8d15edfd8eb27:"Video address","733dda7842619a437b2486f6f71b0c10":"You can write a static value and can also use variables, such as \\${videoSrc}.",fb103fc64a0caeec24c707b9e7b50870:"Video cover image address","828f83110677bab8ef940f79f77b9049":"You can write a static value and can also use variables, such as \\${videoPoster}.","351cb1f8ffbcc9d2d4c1f35505e15864":"Mute",c7638cec349cb86eaeaeb983909fae0e:"Live stream","82f5f7bf3fb529360947cbb3b988037f":"If it is a live stream, select it. Otherwise, it may not play normally.",df0134afa26415a560ae1320dee10c19:"Video proportion","0d682d277649d8c7952d36f836619a44":"Display cover separately",ee1600dfbd6f9e86ca8761cf3fcf6a17:"Video rate","8e7124c3069460d4a8a04c3e3d9ce752":"Video frame information","1fc7d723b3a82ce32bfbbfa0a1761969":"For example, enter \\${videoFrames}. You can search for the videoFrames in the current application domain. If it is an object, a video screen-shot list is generated. After you click the list, click the screen-shot to redirect to the corresponding frame.","1fa035e78c5408c9079c20637acdb2bb":"It is used to render the Web Component.","8df7c8a1f9f579f0ddc35bb4ee50f166":"Package","5acec91385a3b9093e3c803f6b0d869a":"Wizard",c8c0339a6f9e105cfef45b76b788b635:"The form wizard can split multiple complex form items into multiple steps. Then, it can guide the user to fill the items step by step.","155149d24d20197bc0836bededf63abf":"Click “Complete”",d384a3c931bdf315e4760c9fc5980e6d:"Be triggered during final submission","335d6c56c43204f9efcefe36f097d35a":"Form data submitted","5be9e21eb0797c9faa053eb0237c36f9":"Step change-over",d837ddaacb39a13806590da335e89397:"Be triggered during step change-over","02f706d7510e68c96aa073852d90ec20":"Step index","33c627bce8015c50152941a5b6fada32":"Be triggered when the final submission is successful","574f27f7223c86545a7724d18da96651":"Be triggered when the final submission fails","8a427977d8135a019e4f1056120bfad2":"Submit steps successfully",d65dcca33a0118a0a5ce343264192ea6:"Submit a single step successfully","5d7d91d9da162ee8fddd4d331d1434b5":"Submitting steps fails","1c11d38e7ecf2facbf82f772d9222d45":"Submitting a single step fails","357954d848a9e2f12208673b3906a972":"Error information returned after submitting a single step fails",d6c21651c32c63c8d61c85944c2c91af:"Submit all","75e3dc4be4ae7aca7e1cebc13f7e486a":"Submit all data","0c3005b490ef428660ca2265a714bdbb":"Step-by-step submission","832efcc5c30746b84b910cde8630d491":"Submit the data of the current step data",eeb6908870e058bc23d52c1e405a054e:"Previous step",fc5dbc5789e158384f634eb8ff466b46:"Return to the previous step","38ce27d84639f3a6e07c00b3b4995c0e":"Next step","5fa57cab26a9d4e659c2e497018729ef":"Positioning step",fce22163929e8191b7de43699316f2a0:"Switch to the specified step",d529f7d5ed8956cd890173b4b5045a67:"Switch to the step ???","4a0ff5106d129883b446a29b1dac6f47":"??","78ada959bf5bdd6c70ee411c4cf23601":"Target step","098521c027a49fba5eb7f35430a6a9da":"Setting steps",c5538d5c74235d2988e51e632c4eed0b:"Add a step",dda36edbd4626e7fc868c14f9aa1556a:"Other settings","1fd41e410930ac58e748f7704c3a05f3":"If the API returns the step variable and the value is of digit type, e.g., 3, redirect to Step 3 after the submission.","938b484df1447d8f01f96e45125eb031":"Whether it is open or not","20022725ac2c53869f7af6646ca4ba29":"An expression is used to decide whether the current step can be open by clicking it. Additional available variable: currentStep represents the current step.",d4b8306441c00f01d4f044b3802c4266:"Default start value","37c0c041a0ad487d23c9f42c29f6d5e1":"Get started from Step N? It supports a template. However, you can render the template and set the current number of steps only during the component creation. Then, the current step cannot change according to the startStep when the component is refreshed.","076bd7c0adfc4f5d2abde6b309d9f53b":"It is used to initialize the wizard data. When the step field is returned from the interface, it is possible to control the default redirection to the Step N. Note that the value must be of number type. When submiting is returned and an asynchronous save interface exists in the current step, the wizard can initially enter the asynchronous submission status.",dbb19fea1965f7ef88cf1d1e0450c0f4:"It is used to save the form data. In the last step, click Finish to trigger the saving. If the save interface is already set in the last step, the setting here is invalid. ","0f04a65952b58cbbc5ca6cba868c3bec":"Previous button name",e54827ae56fcb690d879b9cdd29f0ac7:"Next button name",abb7ba84b95c6c90341ac9c883fbc85b:"Save and next button name",bed196af058f458def957031f88abd09:"Save and next step","81b522590d543401ad15ae8a9155361d":"Finish button name","22c2aa6b59ab30c88fd84e8e5b3c4ad7":"Previous step","7b91646d808737e7138ad8f32a3b6cde":"Next step","52b36576f88c31ed3971ca4d1fccd46f":"Step","8164ad50987e0508caf7638c663f8b7b":"Step {{@1}}",de5e232d10e2fa6218259289d4de4835:"Similar to the container, the only difference is that there is a layer of padding by default.","3954d7a9c047b7522ef92ddd5fc35852":"Padding","315dcc9412a4499cf846736fdbaaa72a":"Child node","5db7ca044a5179bf05428b283ac0452c":"After you set the style, the size setting is invalid.",c5e1f01e3d98b4db536765ae0d5b91a9:"Click “Select”","7c57a563ab87bc6eb5edd8f5b953f499":"Interface setting","6aa351f5dacd13d3d862d9c93e4a0241":"Sending method","8dc91bca9bc83efea73150e3478657fc":"Sending conditions",bf9e242338d2c26b182aa6b9c015d84c:'For example: this.type == "123"',"91ee84292a5bf5e59d3b6309f948f2f1":"An expression is used to set the sending conditions for the request.","55409342e28d37db86fb23efbd84a025":"The sending entity format is ",e06a14abe7ef66a8ead143db4ae9786e:"When a file exists in the sending content, the form-data format is used automatically.","773a0e8384fd6f784088b829d7cc2f68":"Whether to set the cache",c1b110f13431df9662299f26def71df1:"Set the valid time of the request cache, which is in ms.",a18ea11244325dd3d20c5988bc7f6e39:"Download file","68caa6082eda1745aa3f6b6d12efe423":"When the interface is for the binary file download, select it. Otherwise, the file shows unrecognizable codes.","91831507074270c0da8a31ad9ff87495":"Data replacement","42be3061671b38468cc6ac84f6a0dd77":"The default data is the append method. After being enabled, the current data is replaced completely.","4e7c006f535b13b9737ac310bc34193a":"Initial loading","3c743b8b2d662421117a2fb1c445425d":"When you configure the initialization interface, the component fetches the interface data initially. It can be modified according to the following configuration.","713ec76479b992652ed39364d3d03870":"For example, this.id represents the initial loading when an id value exists.",e5e3131aaf96b6dd10574bc9beeaf934:"Timed refresh","81fe75a5216d4f612f1809c122f5145a":"Timed refresh interval which is in ms.","83f16354dd1532422dc8b3581d096e7b":"Stop timed refresh","620f826a77f079c5683a9d3c59461ea1":"The timed refresh is always triggered once you set the timed refresh successfully. The refresh proceeds unless and until an expression is given and the conditions are satisfied.","90260d55567cfd97ec2f085963a60bcf":"HTTP configuration","9ae7a582479116d4cb41e828fbd59798":"Send data mapping","0fcbf036057c6dd88b7b809daa0c5eb7":"When the data mapping is not enabled, it send as much data as possible when the API is sent. If you want to control the data sent by yourself, or need additional data processing, enable this option.","5414824fb8efdb7d59beae4bf95fdefd":'

When the data mapping is not enabled, the sent data is automatically cut into the whitelist mode. Thus, what is sent is determined by the configuration. Bind the data, e.g., {"a": "\\${a}", "b": 2}

If you want to customize (???) based on the default(?????), add a Key as `&`. The Value is `\\$$` in the first row.

When the value is __undefined, it indicates that you need to delete the corresponding field. You can combine the {"&": "\\$$"} to achieve the blacklist effect.
',"7dd590a9d9e783e980d318bd52891905":"Return the result mapping","7e295b6ff39ec7356e06c4534bfc4fb3":"If required to process the additional data for the return result, enable this option.","417125a06b1d2bfff025e83a4e067bf0":"Sending adapter","62efcb25e5b21da47c09780119da3458":"Function signature: (api) => api, The data is in api.data. After being revised, return the api object.","6eb8944029108ad3b6bb3572a648fafa":"Receiving adapter",e83cbec70e17988749c4a02a3b73f55c:"Function signature: (payload, response, api) => payload",be47bd270e7756d4233e59bbe4cd5b96:"Request header","9e8c8bc795ad25fc992cee9d81a8c46d":"You can configure the headers object and add a custom request header.",be604f8b7ec5e80288b091ee12bbab7f:"Point","9adcfe38533f68035b2bf7831d310381":"Ribbon",cbc608353218e1d63e6f47c9db1eae64:"Text content","2613e43b46ca52dabc232054c1611c80":"Corner mark theme",d8c7e04c8e2be23dd3b81a31db6e04f1:"Information",e4f10a8916d4c5375529e21d9b66e5f9:"Corner mark position",ebc556841a9264ebaab728efad7af777:"Offset","81cdf47e8d8adfc70faac2cbc55e4067":"Offset of corner mark relative to the “horizontal” and “vertical” positions","7ba3812c61e01b3049404a46fac8deda":"Customize corner mark size","29e13ada94b145a1359291d5e1564655":"Capping number","42becf09dfd209746b66726e7d21d014":"It takes effect when it is a number in the text content.",b599979e9a40823363451aeaadc0723f:"Animation",b8c467fce096a649583c0bc9d9281a5c:"Corner mark",e35abd1e31f244eb08d1f62e6f825df2:"Bind variable",f7d2996639d97b4a03fc0e40e2eb853a:"Shortcut key","71dc8feb597052ecd0e73c9062eecdeb":"No configuration",e8755fb1e985a5d26df0fce1f0b7b0f8:"Add option","51d8a85a3c59453eed398eb8f5d35585":"Select default value",cb73fbd12620c6ff4d7e5d1047c3be4d:"Enter static default value","303efd5ba79e639001b4328cd266dddc":"Click to configure expression","7d92f998d24da41b58db140b1864f773":"The current expression becomes exceptional. The loop reference exists.",b5cc1cd60cd694f45142dc52a5bf53fc:"The numeric type do not match.","01820262aa9ad5b130f8f5b86bfd2968":"Customize option",c8158b3cad598b0b5939788ca4efb298:"Get API",b4fdf79b8f54856b072ec3874b830d1f:"Enter display text",f4ab507e2fa2d2bd66bcdeafd9fef797:"Keep consistent with the text by default",aafda9e8f6b7b613680677c513edb7a6:"Cancel selection","0560b060c438e9326f92718ccbc3f95b":"Select this item by default","5d26b8a41e805204c9dcd5ea7e23b150":"Enter text or value","22de6ef85ed60ec54dbdc1d8583e5104":"Add in batch","421252e16c6cb544fe9ce0be94a190e0":"Add options in batch",c130bd5b55edefdaf8923269e9a52439:'Each option is listed in a separate row. All items with non-repeated values are added as new options.
You can set the label and value for each row using a space, respectively, e.g., "张三 zhangsan"',"1e2f96a69fbef8caa8823a3067ebbdc7":"Enter option content",a4f1ddbbfc96930d24e4b54cb815b62b:"No option","5b4ffa2eadaf629b833b37a3e8742b2c":"No chunking","3569877e498155b59ef5299870c43f80":"By average","15e1fdd9d5cc4dc595fba0eee0719cba":"By step width","56d37871117270ce5d157a8de90dacd6":"Keep consistent with the chunk","6903085e7f31286560e4a2e160beac42":"Chunk","7145575ab9e3b4529eea61fe5fe76d0e":"Number of chunks","1c8737ec7da60e12207c9eb04ccabcd4":"Add chunk",dc4c91dfaa3b760147bd92e648560af4:"Subscript","662d8b49913650f543c024d4d02009a2":"Add subscript","69fbb2e5fc9eb3ba06096cbedbf5a622":"Conditions","8baf21fa26d6d24b4faa872953275d8d":"Static","8494b2036d3ccfe6102e930d9d8a3397":"Enter {{@1}} conditions","311f6d1fa5f13b0e280d7b3c9d40c5be":"Expand more","38aa9dc2a0f14555322061d2ff997349":"More configurations","355c54009e364bf4396be424fba10e0f":"At least retain a node","9046ad86a1a47f16e954f2ec38fb680a":"Because the level is too deep, it is recommended to use the [Get API] management option.",f69608e93e9728f4fbef583bfa1326c1:"Option name","684a0d1aeca4e9acff89221b57826d4d":"Option value",bbcbe681f9225f8adf3663f563a9f294:"Add sub-option",c08dbaf90614532aed9f526e58b7fef2:"Option management","442781667396d6eff51113f482d89e54":"Add check rule",d7a169e81b60ee08c82b5d9de473e362:"Error prompt","9d9cf35ff82a6d960538ecd650e09945":"Default system prompt: {{@1}}","5ef6ce89f52b4331b080a0f3019414f3":"Use system-customized prompt by default",db1cac8e2f6206e8f179b1ff47a676df:"The data match fails",e9908cdf79e965f6907ce9f291cdfcf8:"Action configuration",be5fbbe34ce9979bfb6576d9eddc5612:"Save",d1d9049139d870edd490215530d90458:"Execute action","9eac7e07ca0a3181766e5ecc70d20727":"Search for the running action","0174bdde9517fa331bf7d716a553e023":"Action description","0aeca07a02601a8e701a46d1a8b5ce43":"Basic settings",da1ed600ce65be863766444e60c2da05:"Execution conditions","13b2de1073f76444c49d2c6a21e46e26":"Execute this action by default",d80bc0fcbfb250480320b683e48b1467:"Select component","07682f1424e400c467accdb556d59e1c":"No configuration content","2e3ca80a58643bc28e87cc3b17bc9d80":"Execute this action","7030ff64701a938becbc5aa67ddb86e8":"Error",dec2eb7145e149f281cb7e75fbe8972a:"Redirection link",ae10a948eca808b3dd77506b24f3fd0e:"Redirect to the specified page",c7a34a3465d1beea2f85d53edcff8235:"Redirect to","0b72392143e4038e98128cb0f6f679b3":"Page Parameters",c068b579db3bf0a553bd0af4f81cc14f:"Parameter name",bfed4943c5f487de1b63a82f7230cce2:"Parameter value","56aa76ab3c987377e855ae2c6c612050":"Open a new window",fd5fb471ecce1eea63a6a95b6707f815:"Open a page","67e21dd387607ae3fb59846504fa2c4c":"Open the specified page",d7098f5050f017673319c5db1473ada7:"Open","39e107b7c4aa580f913ccbebc00f7534":"Refresh the page","261242fe62b18b620419802c7dd7da7f":"Trigger the browser to refresh the page",ca180138a862543561d3a2c4f08b2e1b:"Return page","5f6b9e7a050ae3f34b38191435e14b24":"Back from browser","27e0ca877865238aad6940481b2984d4":"Return to the previous page",f80d12dcd65429fd28841e768062d3c2:"Dialog&Message","0561589c26e732981f29709a9b574234":"Popup","256dbc5161ae393ec8a0e83ae6cf9469":"Open popout. The popup supports the complicated interaction design.","6cff4b6d794cc17f5d24dbe0d21e5732":"Dialog","507c1d40c5d6b990cf8c832b0a91cadb":"Popout content",a532be3ad5f3fda70d228b8542e81835:"Configure",b67cbb1ca7439053f06d59aac5e410dc:"Drawer content","3b02248ca3790e356e47b6900c0e3931":"Close",f33c2c6ff58bcec40d3e74e591bb3df2:"Close the current popup window",e495f416b83e4c7ff3c66ec3be96a76f:"Message prompt","61d7aaa88181c527cfb936d4c686d267":"Pop up message prompt","4e5242a645864528e10f04dc2326a5c4":"Message:","6d00710a2528332bfcac14b58e412042":"Message type",b87b77561e776367e6756e11ea652217:"Message content","43ab9af06e1e0f0b2a8767b46cf8b1cf":"Title content",f41a94bb85c5223181c4cdf83ea9021b:"Duration (ms)",a0a837f2873de80bc9ec353c30e73171:"Display position",f3296f64a8a1330d7a07f1d269a1db92:"Top left",b97a5adf068bee6c852db9dcea3a9799:"Middle upper",eafeba264b6338939f11f1b1adf40d2b:"Top right",d429ffb093e9aa3bf80da125f1be318c:"Bottom left",c241aa8f427118a719b94cbd8f2bb22d:"Middle lower","9cd707caffdfb314d939298f2f2c267c":"Bottom right","8c8fbec263e20f087555c9abcb6dd07a":"Display close button","3f3a016027e540ef10a16dbd49fffde9":"Display icon","0cd902f953656adb29985b68e6fc9754":"Configure and send an API request","1535fcfa4cb8e4d467127154977e9788":"Sending",c14a21300b61bb83b4420a1586497951:"Request:","88bdaf32c27ab169d3d686b86b3fae99":"Configure request",c5dec2a8d2308c1c15ec2e5441fd721c:"Static mode","4abbdba4b6b06ce00702a255bd89c92c":"After being selected, the service request is sent in silent mode. That is, no success or error prompt pops up.",e3b49b5bbbdea05598525e91dbdfa638:"Storage result","4dca05af026848011eedee1b53efa61c":"Enter variable name of storage request result","4da82260041107e5780bcbb3a14ef791":"If you need to perform multiple sending requests, you can modify this variable name to distinguish the results returned by different requests.","0d83078816aa273f2941c9b55ec82bf3":"Data","3f9e257178738d5d180ddc2996809c10":"Status identification","99c74120cc62f4bf31d661e3212b7121":"Prompt information","89049706952412d790b801def284629e":"Trigger download file",bb79667f37035e9562ec6bcffd6cf8ef:"Component",c852fb60f1b8ce921c3def1eba000bc5:"Component visibility","1bd4cfded5e11a7a8ea4dcfd2fa17e15":"Control the display and hide of the selected component",dce5379cb978a8259ecfca8f08f00817:"Hide",edf25860e3d457eb8ca9cb5dca06dfd7:"Display/hide","12c8d50c55eeec7059ddd5c303e34f77":"Component availability","5e75800641ec5c1198092bcf9d34f180":"Control the enabling and disabling of the selected component","7854b52a889b3ef0590d9f542efeb4c8":"Enable",d86d5919f595226b7a1e8264635ca23d:"Enable/disable",c5a9b6e8c522de8a14ad7fab51c1a1e3:"Refresh component",be4b778e7f5aa6aa5a811d7db4e1a8b3:"Request and re-load the data of the selected component","694fc5efa9e1d1c2c5eb6525e1c7fb29":"Refresh",ea4d3723b350b2cb8f4c1a615e1b7df1:"Set component data",cb7add16ba6f0cd65d5ddcad71359813:"Set the data of the data container or form item",b91ebe714155c83b6d3bc02b675a31e9:"Data","08ce6e74bb4a64753f1af2e5c836debb":"Assignment method","139294edcce271bf483dda437c421c29":"Designate serial number",a7b0b80a7bea1e5e973967c179866ef0:"Enter serial number",e887792fbbd65d21e43e832a5cd63aac:"Enter the serial number to be updated",e3a6f648390842e0c7aa82d0f2c3f6e3:"Field assignment",a25657422b40023f2731619587940bc7:"Variable name",a33903526e8fb3d1ac3066da70e7941e:"Field value","82986a4cab1d0efdbc23b3ac5f0fd509":"Clear form data",f457845da8c119a8688e333a3554284f:"Reset form data",a84a1311bea7370f1749341ffa6f75e1:"Check form data",b7579706a363e5f23b1040fecfbcb677:"Check","51325230409d4b7c64aaeb3db9904801":"Component feature action","98d130cb9a360df782f6510abacbc022":"Trigger the feature action of the selected component","557d01c07aa7c4450a414932e6c1ed2a":"Copy the text content to the clipboard","5aa4369ec61715ddef3641992fad0d4d":"Copy content:",ac04259507be8ba6b891dc9dc208f491:"Content template",c7f16d729f3bca8f6936416884a74fb8:"Customize JS","1b5a6299ef404c1f7b4292c290b80f55":"Customize action logic through JavaScript","9a2ee7044ff04234a8892a13583d14b6":"Variable value",fe9e25f4e4b3aeefeb9b7a9c368ede7e:"All data","186c8d63db1c09c38bcfd048fb15846e":"Scroll to previous page",d9b6b8e29d63ac6bb7a0381e994ebcb5:"Return to previous step","47b9cbf9f3a3f08264b19f4a1228e865":"Scroll to next page","211ae8c8666f8b803282a74f90fb0dc6":"Open prompt dialog","56eafb82d11c72b65efe07b9bedb5c19":"Open confirmation dialog",e777eb796f8a02e97a891fde43d10ce4:"{{@1}} variable",cc6aeb073ebc3cb29734a49164f8964c:"Page variables","979a50681e278dcc0be18f68459e8217":"System variables","8deee3cdecdf06a05d22fcacc7031492":"Component action","9654916723a8d1d82f5ab9d2911edf93":"Tip: After you add the following event action, the following event action should be done earlier than the old version action. It is recommended to you migrate it to the event action mechanism, helping you achieve the more flexible interaction design.","88f7a3aef4888dd507482aedc02bb808":"Configuration action (old version)",c500cfabdec9b2761fe9f1aa543933eb:"Action",fa476b76ccbd4ac9316f0fd80257b77a:"Reset and submit",c0a8088f2bbc993500c5a01b0f0a1887:"Data source variable","71448f8c10c79b32312b7e3abe9104ef":"({{@1}} result)",f4381cd48d8cb4307bc140613ea57d48:"{{@1}} result","0b446df580ad309e7c26e5242eddafac":"Event variable","1fab2b4934161e87a1f0133b9d5bc1b5":"Add event","4db5110d41293fef57f5a1f364187896":"Go to add an event quickly and start you product.","5baa9ac58c00a7fb818d4a113d3f8cff":"The image upload address is not configured.","7241f67ee4fa8e0adb5d602b5f9516df":"Start color","9f1b854df133912bb46203e84f0594ee":"Start color","8ea65e3d4e52c871d1c58b1926380ab0":"End color","0c46a7f77a7247a9cc6d6e995c0ea8cb":"End color",c7706039e8ad85969df13ce3458d199a:"Gradually-changed angle",f4882cbf65b232af449d7289354b9a16:"* The angle ranges from 0 to 360 degrees. 0 degree indicates that the angle changes gradually from the bottom to the top.","5b9ea77bb6ce2d6c82e97b120d757201":"Click or drag image to upload","61a87a021904dc65995e99d4c476cb21":"Image position","737391648d1216a1f84ac9ff52da5aa2":"Image size","0f1fd39145bad43e18f81337e0144c8c":"Fill-up",e0d76824dfe5e09c7068b44f605266d2:"Appropriate",e39d3b7a3600d9327221a637f910fc0b:"Stretch",e1ff2c83c09f2dc6cc74ae02ab6b8222:"Tile","7ddd9dbf373f760acfd63778469b5c4b":"Tile horizontally","4ab931e0f709f9b493e660156925a113":"Tile vertically","21f3929a4484e6e992af64ec1dd3a576":"Original size",a80a25b59908402cf7ee31a07d0e7739:"Left border",e0dfa25ebceabddb2180720d36d4c3b6:"Top border","57463587977a534f7859eb9d7c536629":"Right border","154d5216e42c916884431f0eea951999":"Bottom border",a8b0c20416853bda54120bf19477ad11:"All",df68a5dc8f8847179b7afdf943f80796:"Top left corner",e717b4ae480e7c073fd5a44647a7f0da:"Top right corner","2a97dfb2d236c87c41fd588f006111dc":"Bottom left corner","1c9bc9dab33944e953412f8b22cb024a":"Bottom right corner","4dbe7c40ee82a56bb7a8152d4bbc07f9":"Rounded corner size",bb1531cc9643230ba0cbd7465818b52f:"Border line type",cc4c575642609fbf059a5df81eb86bfc:"Solid line",b1e0ebac23ed95807ecc566da3ffab48:"Dotted line","61f6f4fc0b806ac9d41ad0792e6155f6":"Dashed line",bade10099f8447210ce7b97fa106b527:"Line width","5babfafd769570de3bba47605753361a":"Border width ",af208c560d926f0daf4b2ce2d396505d:"X-axis offset",b6b46126bfb0851ca10e74541c5d7be1:"Y-axis offset","4a32b29da68a6ee204b3743e0fab8bb3":"Blur","22d460dcddb7fda718bc62034c459158":"Spread",b24a723b73f96ab3340fe9502370ee13:"Inner shadow","1cbac849ccc41edb12271d9fe9b65b5f":"Shadow Color",e94d6fc08a97892ff9d8c8d9a8d9e0ab:"Set Shadow Color",a5d833839a610994dc4752e2d91f4192:"Display Type","2c86d897c71cc9c2e648222a200d5bbb":"Block","0b0052c532b457b2d032c9f56af9e4e5":"Inline block","70d457cd36de1acefe7d9587f3f862c9":"Inline element",b5f55e5c7101d9be5218d63850e1ad8b:"Flex layout",a648bd0b9eb3c86e39cabeac484917a5:"Flex layout configuration","452dba7c65211630f8066b070fdf157f":"Automatic line wrapping","098d946b6f0cc85110c54cfac8691cc3":"Flex direction",aee1aeb8d65547f8a368bd7364cacf12:"Default level","4c38eb0fea71a9506fd434a7ac5cb1c2":"Default to vertical",ae07817b441091793c8af39256908373:"Horizontal reverse","618515fd68ecfc4a5b58462f0cb9666b":"Vertical reverse","58554717be87c1f8a6d6c769f74f0679":"Main axis alignment",dfc71567fb75f5c73da377013a223168:"Leave a blank at the starting and end points",eb5ec10ef70689996dd5cd66e17a64aa:"Alignment at the starting and end points",ba3a7db7cc1ac5a908358f62fdbb21de:"Equal spacing between elements",f6cbf29fdb5e94052a22986533c7267f:"Cross-axis alignment","6b461e0a4ffef9438fb8f01369091cac":"Font Type","2539fe0e6d40a023dd95d0bd71d10bc9":"Select Font","690660d9dbd7312ad2825e554736e2f8":"Font Color","5f15efdc32badce0902c46a7a0105c51":"Font Size","4c5fead0489fbc7651c91400dec5d379":"Text Style",d1b490c01d24a1a70e9c83a29ac38fde:"Text position","4ae7f423d9ed9ffa48c3e404f96bb51f":"Text Type Setting","65786fea9d354015d3a2724086f7f3d6":"Default font","1a63ac23010e0573f7c0a8cd3314b8c6":"Example","226c06861b0605a3276311b1369204f2":"Interface return example","1f318234cab713b51b5172d91770bc11":"Advanced configuration",a0472043a9598b1b19f1adcec1e1d75d:"An error exists in the interface configuration, so you need to check it carefully.","2816c3584802b2fc75db5bc3c6aa81e8":"Set valid time of request cache","6e889f0cc8c1d8f705edfd5d0bbdaaa0":"Select it and set Content-Disposition when the interface is used to download binary files.","508a38f518821a0f6bb2d15269b31ece":"The default data is the append method. After you enable this option, it is replaced completely.","5c131eb3bc61f6b0a26e20449ad7ce56":"Customize adapter",f514cabe63553a850063834c9d44a5ee:"You can get dynamic options through the interface and fetch all options once.","47d0a7caaa2baee8d38612a1c57421ef":"Whether to perform initial load","866a60d7fbdfeba6ae42c7e9c7b03059":"When you configure the initialization interface, the component fetches the interface data initially. It can be modified according to the following configuration.","3f4f3acd6968f38361dddc6612a0c54f":"Backend agency","66670400b1f3e4b6c94cff171d441585":"Form item inline","21a1d138166d5d92276d126cf1d6ecac":"Control width",ffaa96ef7232cb6d8ee4d7e673dbf4ac:"Full occupation","4e9ce9dfe13d97031d228fc5ae229f0d":"Hide title",e2773277c7765d4590f7128423c58cee:"After the title is hidden, the title width is 0 in the horizontal layout.",cc572c07586f4ea0c5b9b1060eb777f2:"Placeholder for empty content prompt","8528426e54902956723f322bdbbcfafc":"Input box prompt",dc5dbe7a1b1ff5cae22ffbb636bc6380:"It appears when the input box gets the focus. It is used to prompt the user’s input content.",ff255db9b108589abd5c649e2a02e3f1:"Control prompt","9e783b34207fe24bc488136faba65442":"Display the prompt beside the input control. Note that you need to set the control width. Otherwise, the prompt to trigger the icon leads to the automatic wrapping.","7ad83bbe4646a0011ece7fd338d1e189":"Display prompt beside title",b3e55578af5dd473bab62641bb2f5f8e:"Input type","16084784a0f126b501e96994c792d411":"Date type","8190915888889ed18be44ea0351d0448":"Month","8f30e9f8678c24496921bebae6ca2ac6":"Year",dc46b7f19799047a26fee668d49be0f3:"The option rendering template supports JSX and uses the variable \\${xx}.",b18ec08df2e47313bcc93430e7a25fd3:"It supports the JS expression, such as `this.xxx == 1`.",b7dee01f2d085d90c47bcb8b490d9055:"Click to select icon","689fad203a167d542c12bdc46f27e921":"Name","6c1e18fd4cb57288a9f43603d5167292":"It is required when you need to link it. Other components can be linked with the current component through this name.",ae344073ea6ca9ce742899cdf6d3e106:"Enter a letter or figure","1a1ff1e1149a0cd1b39c0b231a334d04":"You can specify to refresh the target component after the operation is complete. Enter the name property of the target component. Multiple components should be separated with ,. If the target component is a form item, first enter the form name, and then connect the form item name with ., such as xxForm.xxControl. Additionally, you can refresh the whole page if you set the refresh target object to window. ","705b3b333576dbf6c063d7060a4cc509":"After the name is set, the completion of the current component operation will trigger the refresh of the target component (according to the set name).","7080fa6e0ca1d7e24f6f8cac05077a3a":'Which secondary CSS class names are available? Go to Style instructions. In addition, you can add a custom class name, and then add a custom style in the system configuration.',"3bce1a6217990c8dc087d254f1fe754a":"Automatic fill",f01553e415ca33cc89d0bca84023f4b5:"Automatically fill the value in a field of the currently-selected option into a form item in the form. The data mapping is supportive.","04d815a5d4b803d6bb956d2da5a82688":"Required",a1b6281dc554ac84a3e6062f812fe50d:"Light text description below the form item control","85541bd9f7f39a6e6d9d26cbe09cbdd4":"Read-only","4d681c4aa93c8d005ec2ca2370618d6e":"Visible","5d0595edc3d14aec24efef85534e4314":"Default value setting","495333d64fc1efafd6c40bc9a3929fee":"Get the value according to the name when it is not set","32f13c9db34f638c2c5cf2bf19326ebf":"Keyboard event","2882b15b04cb47d1497160b5061b9186":"Disabled by default","530c4483c7e52dc409509b755eabee11":"Thousands separator","090dbd614a66a56a5eadec87f59ea15c":"Image path","2a0c4740f156a9536049f4610da25400":"File","4fa2ae7d726dc395cfea70ff3d7256d2":"Markdown content","52f43ce846b2bf73f86195cf196fe578":"Counter",b9245d69d2d82b0081ced47a18c27f41:"Full border","8f9b1b7e38cd2ed16f22807417ab3573":"Half border","7fc7940b4f7f58b49c71bf9e237b633e":"No border",b4521626a48dcb61001fc563d2433ed3:"Sortable","6fdccea6068e0698c565acd92052a86e":"You must select the end level.",a80c61384a8459ef7bfb5082a2b54b5f:"You must select the end level, but cannot select the middle level.","71758057056e7f31d73e3f3ac8860b4f":"Delete field when it is hid.",ce641d8297471a5d65c46cdfb023097c:"Delete the value of the form item in the form submission data when the current form item is hid.","3e719b87b9ee71d4613caefbf2fd1074":"UTC conversion",d52e57147787797ae0153d43bf8be298:"After this feature is enabled, the submitted data and displayed data are UTC-converted. Recommend you enable the applications that have cross-region users.","339b9ebd91070de050b4bfe483aa4474":"Embedded mode","49a79f4047b81186c069ed1c9c151c66":"Light color","41e8e8b9935c9ee4e88b06643a2d5b81":"Dark color",bde770827b9137ddb3eb676878af9709:"Secondary",b1ea078db7298ea7872d894283378507:"Uploading method","74cef1162781310e1503d2dc463a76fc":"Baidu Object Storage","38fbc7fb70b4399d7e4050d3cbcdf229":"Storage repository",e5d59ccec2caa64ca83b7cc740645928:"Default repository in the platform",b6789c926cf3d23d13a6a3220bcb8e23:"Initial static data",a4895ee2e87d1c47b734dbcf1a535aeb:"Select page","150075376834f1879d6ceb7c2d10ec67":"Proportion","34598b2c71a8affb13da84ba39e905d5":"12 equally-divided parts. The title width occupies n/12.","73ec114993142f627ab6c3e6706fa3c3":"Title width",ae6fa9e75d38b9db24f78496b72bcc75:"Fixed width","424f04d454332ddaff4daa0a365e9335":"Sub-form display mode",b17754a193ac835bcae0bf960f3a3772:"Set sub-form horizontal ratio","2e282fb6405a60830112991f88e95753":"Left width",c41b3271487a3cc63e79feeb11b11de0:"Ratio","0fcf69b5d0b44955fcbec9702f90b556":"Small width",b591aed69defa2abf0486da6a58dfb5e:"Fixed width","0fa590019ace86acee8d7655e5fb11b7":"Big width","51c1e80408011ba118cdcc696f28283d":"Left and right distribution adjustment (n/12)",aa0ff71cb10c3e54d68874dc2b17acaf:"There are 12 equally-divided parts in total. You can set the left width equivalent to n/12.","1f08c91da33fc5f0616e8a85c0456a18":"The static data do not support multiple levels temporarily. Thus, you can switch to the code mode or use the source interface to get the data.",cf763c357566be6fdaee886a40ddcca7:"Option text","1ca0b9b486be3b766a92474189f11fc8":"Concatenation symbol",ab8e2e8cd076bd115cdd600d17ca5020:"Concatenate multiple values to a connector that consists of a string.","6df0630b4f00b6bd05de8af09c2f78ad":"Extract value only",d7d810ec89408c206a220f62edde737f:"After this option is enabled, the value of the selected option is encapsulated to an array. After this option is disabled, the data of the whole option is encapsulated to an array.","4cff56e2b9703018efc48218b83844b1":"Can create","457c4cf8e1e2e0daef8949085555563f":"The configuration event action can be inserted or intercept the default interaction.",d03c96a2da4905c5f13a87c0d8ddbdb4:"Add API","26bb8418786593149c0bf9f8970ab6de":"Create",a32b3bf74850faad3a9ae6a0a5dac781:"Editable",ea56ca3dac0d39e463a8233fd40a9eb6:"Edit API","3c87af7c432e6b1f59e4f415fd5060cf":"Deletable","793e260d5b7c67d43b5c6d5e885d2363":"Delete API","63bbd68594c9a987d0ff41d645fafa16":"Whether the first option is selected by default.","0dd2e4469872c176ab1e85b66d99da98":"Hide path",b7e26fcff328b28b393ef2e57e96e258:"Hide the text information about the ancestor node of the selected node",c49fc970bcd168e1c652a8ced5d95d0d:"Other item",a45b5d3fcdb8210d249b2c6d545b6691:"Cursor type","2c3888961c01fc9c466d88c88029158f":"No pointer","062d0b688adb10f3af5ebc2fd2667f1c":"Floating","92e3a830ae9a1252278da742c0af74c3":"Help","87e277f953fd3c867d7fa02897c2c124":"Cross pointer",c19639326396d2527268484379a671d8:"Moveable","183f48b3c1f0f84e538cd4315e5645e9":"Fetchable","4f9b192ce84b4df0900510257082ef43":"Enlarged",b21ac25366449b1720bdd75d39f163d2:"Reduced","93ab99d761c9ca97dc926e6db10469a3":"Font size","86cdd659decaa1b959795eff92a0c2d6":"Font weight",e8ed49e9fde0bb778e2185876c2d2697:"Margin","4e7f76261f8c4c6d78998f85fc1f4c6e":"Margin","841d77223f0ec8cd0b530ed8e0775b20":"Padding",b5bd9a6703f5433ff34aa0af9049740c:"Rounded corner width","14eb3a698316caf3fbe9b2ab9c3d9527":"Special effect",cff1ec632eaf35f64791615e15ce6d76:"Mailbox format",fab6f9029822dea7838bf9908d7f5c09:"Url format","1111c44adfa40fe9cb22797d2c1e37e8":"Letter","725bf3485a0456cf7f65a507ce67254b":"Letters and numbers","96c4ea83892a3227a2aa5b8f3759bca4":"Integer","35962d17a3fba5f4802d7845695a3e72":"Floating-point number","28e8e048490110c8dd8e2ad6af324980":"Fixed length","8c4ee6022f1525097a1141acad094d4e":"Maximum length","17971609e210034c0d6a25b0186e2b7b":"Maximum length","92448a35f41de3a1fa69135acfed5ce9":"Mobile phone number","193a8c42c1c373f385a4c7b33ffc381e":"Phone number","6102d474314f27577d89e85b4c6cc4a5":"Postcode","84e0cb5d57ed995b0cc04b4ab9a7997b":"ID card number","8dbec4f0c05be45a8acf6a5ae9d1f880":"JSON Format",eb242bc7524c797fb1aee2344dec92da:"Identical to the specified value",c17d9577233793976d3902c117eed82b:"It is identical to the specified field value.",b457177c184722b655954a08cf3f71ca:"Customize regular expressions",d3927ffde0fdefc47f910e70226d6a4e:"Customize regular expression 2","0ebee58f4f2a0f807f08a6427dc58497":"Customize regular expression 3","15f52cddb226421e68c70488fff3db5b":"Customize regular expression 4","271b01959e09c0771760f59964baed56":"Customize regular expression 5","4eddee6a20aceddd6bcdf7e0736887ee":"Verification rules",ba3c802f3ce1641eb6f8986e8d19e672:"Add rule","7be30fe376e9bfd8895ee50e6f4216f3":"Set length",d00f99fd76e86ba4dab6f70858010ca0:"Set maximum value",e993ecfbb3f934481257f1bb57056bfe:"Set minimum value","99f5d503544334c670cbe1f400aea9e1":"Set maximum length value","91bdac623455c91b7400328a5600cec0":"Set minimum length value","7002c4a1b7cb5bc32ffd52e1f2d74c70":"Set value",aa9cfa5321e589494841ddd90a10c467:"Set field name",d22b6fb1c857777ba21467835efc65d6:"Set regular expression rules","1b7e06ef04d7167e174eb6929421592f":"Email format incorrect","2d163645de4d4b4760e9fbdb535a1a88":"This option is required.","87c91ce706ab845b55ce95372265b92e":"Url format incorrect","2b702fb5b95d47944246f79ae4032281":"Enter integer","48e2aca8e6347b008b6fbdb48fc4b597":"Enter letter",de66a286057d4e3f1ee2d9bccbd48ce5:"Enter figure","84f46c9b82c3c8fe276dfa65173c59bb":"Enter floating-point value",fb73d98245f558dbb2d6a0c8d2699780:"You can input letters, figures, `-`, and `_` only.","923a91fdc2c777f8443c85278060195a":"The format is incorrect. Enter the content that meets the rule of `$1`.",d87b1a3d180a1cc56bbd174d2860ca4c:"Enter more content which includes at least $1 character.","9b8d6abb2f03fbcbdb0e4d2b1970a751":"Control the content length and do not enter more than $1 character.","2a5d0be4d5cd088f0371ba6f8656fe7a":"Check it when the current input value exceeds the maximum value $1 ","8256618e16217325e6a1d880f8eb7adb":"Check it when the current input value is less than minimum value $1",f58829312013d929923b0c2a1fbacf19:"Check Json format","161278fb2c71e5a8aa8aac50f230233d":"Enter valid phone number",ba42949accfe87c20e6c2486cd065dd2:"Enter valid phone number","1d2c5048143328e21cb9c2dd84b696fb":"Enter valid postal address","038b3ed111e87b56572f3945a1b0e02c":"Enter valid ID number","335e2618dda48c05f4f833ebb1e299df":"Enter the content with a length of $1",bce45e909d6d14a126554c8cf6f65a13:"Do not enter all blank characters","17bb8e76f78bd16a1841e36ab8462e53":"The input data is inconsistent with $1.",ab534c35774dccc322331a079ae6e7df:"The input data is inconsistent with $1.",ebd0dc3ebde6182caa3b66e0faf658b6:"Customize verification prompt",d7772d568894afbb1c924bed7f7ddb32:"When the prompt conditions are not satisfied, you can customize it.","58c9592f818d706420236c6f9f595517":"Add prompt","171f7b825707ddd79175fed3f8def6cd":"The submission is done once the modification is complete","6ccb7091c39a5229f7e77eff4dd44a0e":"After you enable this option, trigger the submission once you make a modification every time","1a006028adf7167ae28cdf532bb75ef4":"Trigger check action","8d877748c3bc71b517e2d46344916b3f":"Trigger the check action once you make a modification every time after the submission","2c60032f2a57717e4f7c16ee185795d6":"Trigger the check once you make a modification","5ed62f810226722d7c910c2d8dc4a0e8":"Trigger it upon the submission",ed3dd0bfa89500c5feb306cd4d9db56c:"Regular expressions","537b39a8b56fdc27a5fdd70aa032d3bc":"Required",ab90c616dd114af087b31b90d3cb4063:"Number of characters","41e82a5a0e53ba94d1160ee855c72a7a":"Enter number of characters",a85ce2404b26140080c929ad9c3ec305:"Enter more content which includes at least $1 character",e93275245d529c486018e47136bfae2e:"Check Json format","2c8c25bb51dfd9ddfc74fd75a8a380a1":"Value content","859102d8ced9928cc71bb225961171bf":"Enter Js regular expression",a4313469fd7361486fe47076629c76ac:"Add record","50abd0bf31e07dbee84e9e5b9a407840":"Add record","73f28ac83b623fb81d73f16fb3856fa0":"Data import","8d9a071ee2ef45e045968e117a205c07":"Import","09d44261d7883bf5141a462a790d2816":"Data export","55405ea6ff6fd823ffab7e6b10ddfa95":"Export","6ff4bf3d567e977aa4c90c27dff1e6db":"Fuzzy query",e5f71fc31e7246dd6ccc5539570471b0:"Search",c26996a6506adf397f0668d376d0b40b:"Simple query","9c4666fd08c2738eb9611a3721cb5f0f":"Advanced query",e22b59b6bda1cf9a58f8979fd0a0b43c:"Edit record",a790208cafd5c95a18dd9a168319ecf8:"Delete record","39ccc34fa3ee9be12d8bae7e6fecbac2":"Action column","240145572215920ae06db1eeb85b29c0":"Optional","099cf136d6a4b6ed4646af4a2ed066b2":"Retain selected items","60011314ed92794f3d4f3e874c359279":"After the default switch-over to a page and the search, the items selected by the user are cleared. After you enable this feature, the user’s selection is retained. Also, this feature allows you to achieve the cross-page batch actions.","949a8b7bd2c10070a2fae16f9c66afbb":"Column setting","2816cea6c4887a53c417831deb5fbe00":"Custom display column",d3c5079f7e26b1a7374ff76341376de4:"It is enabled automatically when the number of columns exceeds 10.","4a3ebd0ef27212de3b0c39e6a9701b1d":"Search setting",a9a3a4608d48214efbdfac99888f6e0f:"Action setting","84a2f40385427bbf2edc79e3368e4e0f":"Add action",cb43abed5ba14bf32fbb1058e12d2303:"More and paging","48b42e5c3ea447092eaf0a1a13195540":"Paging mode","16b8ff2b147382be4cf8654f829df904":"Frontend paging",d2e20bb1e977f9571a9e2d1b39a7ff10:"The data is loaded to the browser once, so you do not make a request to load the data on the current page that is requested by the backend user. It is not recommended to enable this option because it has significant influence on the performance.","73721e611daaafe5c34aa9f3f901d016":"Data container","46a0f3086dce242abe54e48bd86e0394":"List display","278249b178c958cee0f5ee9ee9d1e0f5":"{{@ 1}} Create wizard",d75a7984d3fa5b32f5d8312e899aeea8:"Data configuration",c2f1f9254c245976e346377515c2e578:"Feature configuration","0943d61befec4c6cf2d21d170c9b066e":"Condition query","5246d2c81fa12b1f4f73635c257e232d":"Data operation","1b79a4f49b7a21e62b8868f12189b0b0":"Data loading","5a28d015b7b3518f75bc4cc27d9f6c20":"List data paging",cfd84204d9476936c949d071cc2338cf:"Data query",c6bd3393c21379d3f75d179abe36da3d:"Use specified conditions to accomplish list data query","3a6ecf25c38317b21b8c6287100f053a":"Trigger data query",b3a4d6a345372c5def1d5a1bf6077bce:"Load more data to list container","34e83e1be408c4f198464da1bf56bf9c":"Load more data","2c77cfaef73ce2e81131861e9c6d670e":"Selected data","9c9153c49491c381dc2adb2c36fccb04":"No data selected","9a4fe969f1066e197fd2369a44d879ac":"Current page",a7f33a2d99056edcdaced5c8841a9bcb:"Total number of data entries",a0c35361a003527d123cb581f5c68f4b:"This option is to realize the addition, deletion, change, and view of the data in the card list. It is used for data fetch, paging, single-entry operation, batch operation, sorting, quick edit, and other features. Also, it is integrated with the query conditions.","860827796ce2fa94e9ee39e53f011ec0":"This option is to realize the addition, deletion, change, and view of the data in the list. It is used for data fetching, paging, single operation, batch operation, sorting, quick edit, and other features. Also, it is integrated with the query conditions.","629645f147f378869fe9d7ee2bbc2857":"Sub-title content","97d03d4621f0024cf045afbd901197a5":"Select area","44705bb94d83e7bd6b3b6c1480ebfb38":"Click to trigger selected area or cancel selected area",e30a958a6397e53fae9d5316e851d3aa:"Entire","31ad7a215f3df84c33b8c28223147b8e":"Select-box","563ae5ccda5004fa1fce77c1ed5bf057":"Hide select-box",aeca6900b9e45f7f235eb9d443f0dd61:"This option is used to hide the select-box. It is possible to achieve the selection style by customizing the appearance of the selection status.","1d4103a96a70de2cb69dd597d679fefe":"Selection status",e8b90f43fc3cfb0a68e4392054de97e9:`\r +import{f as Ot,h as ZO,i as XO,k as y,l as QO,s as eI,n as ao,o as Me,p as q,j as ee,q as j,F as $e,R as v,r as C,t as U,v as yd,w as K,x as aI,y as Be,z as si,c as de,T as _a,I as xe,O as En,P as Tn,D as It,G as te,H as tI,J as Qt,S as qh,N as _i,K as Ca,L as Cd,M as db,Q as qr,U as wa,V as ke,W as gl,X as cb,Y as Wa,Z as bd,$ as Gh,a0 as ma,a1 as nI,a2 as E,a3 as Da,a4 as Bt,a5 as Ia,a6 as Pe,a7 as lb,a8 as yl,a9 as Lt,aa as iI,ab as rI,ac as oI,ad as ci,ae as wd,af as Pn,ag as ud,ah as Cl,ai as mr,aj as Ke,ak as Dt,al as X5,am as to,an as xi,ao as dI,ap as Cc,aq as Q5,ar as Kh,as as sb,at as Fi,au as ea,av as cI,aw as dr,ax as lI,ay as ve,az as he,aA as Xa,aB as sI,aC as Qi,aD as lf,aE as fI,aF as Yh,aG as bI,aH as xt,aI as qa,aJ as uI,aK as dt,aL as Ri,aM as _2,aN as pI,aO as Xr,aP as fb,aQ as mI,aR as hI,aS as Jh,aT as vI,aU as gI,aV as yI,aW as CI,aX as wI,aY as A2,aZ as vn,a_ as Zh,a$ as no,b0 as xI,b1 as pd,b2 as SI,b3 as EI,b4 as Ei,b5 as Xh,b6 as TI,b7 as wl,b8 as pt,b9 as OI,ba as bb,bb as od,bc as pa,bd as sf,be as II,bf as e7,bg as io,bh as NI,bi as P2,bj as kI,bk as Qh,bl as ev,bm as a7,bn as _I,bo as AI,bp as PI,bq as FI,br as MI,bs as sn,bt as ro,bu as RI,bv as av,bw as BI,bx as t7,by as ub,bz as tv,bA as gn,bB as vo,bC as DI,bD as n7,bE as xd,bF as LI,bG as jI,bH as zI,bI as VI,bJ as $I,bK as Jc,bL as oo,bM as HI,bN as ar,bO as wc,bP as i7,bQ as WI,bR as Zc,bS as UI,bT as qI,bU as nv,bV as GI,bW as KI,bX as YI,bY as iv,bZ as JI,b_ as ZI,b$ as XI,c0 as F2,c1 as QI,c2 as Sd,c3 as eN,c4 as aN,c5 as rv,c6 as Oi,c7 as M2,c8 as tN,c9 as nN,ca as iN,cb as rN,cc as oN,cd as dN,ce as cN,cf as ov,cg as lN,e as sN,ch as fN,ci as bN,d as uN,cj as pN,ck as mN,cl as hN}from"./index-a61a86fd.js";import{S as dv,t as vN}from"./Google-4f51758a.js";var gN=ZO,yN=XO,CN="[object Boolean]";function wN(i){return i===!0||i===!1||yN(i)&&gN(i)==CN}var xN=wN;const r7=Ot(xN);function SN(i,n,e){if(i&&i.headers&&i.headers["content-disposition"]){var t=i.headers["content-disposition"],r="";if(t&&t.indexOf("attachment")!==-1){if(e!=null&&e.downloadFileName)r=e.downloadFileName;else{var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/i,d=t.match(o);d&&d.length&&(r=d[1].replace("UTF-8''","").replace(/['"]/g,"")),r&&r.replace(/[^%]/g,"").length>2&&(r=decodeURIComponent(r),r=r.replace(/\+/g," "))}var c=i.headers["content-type"],l=i.data.toString()==="[object Blob]"?i.data:new Blob([i.data],{type:c});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(l,r);else{var s=window.URL||window.webkitURL,u=s.createObjectURL(l);if(r){var h=document.createElement("a");typeof h.download>"u"?window.location=u:(h.href=u,h.download=r,document.body.appendChild(h),h.click())}else window.location=u;setTimeout(function(){s.revokeObjectURL(u)},100)}return y(y({},i),{data:{status:0,msg:n("Embed.downloading")}})}}else if(i.data&&i.data.toString()==="[object Blob]")return new Promise(function(p,g){var w=new FileReader;w.addEventListener("loadend",function(x){var O=w.result;try{p(y(y({},i),{data:y({},JSON.parse(O))}))}catch(I){g(I)}}),w.readAsText(i.data)});return i}var EN=navigator.language||navigator.userLanguage,cv="suda-i18n-locale",TN=function(i){return i=~i.indexOf("en")?"en-US":i,i=~i.indexOf("zh")||~i.indexOf("cn")?"zh-CN":i,i},lv=TN(EN),a=QO(localStorage.getItem(cv)||lv);eI(localStorage.getItem(cv)||lv);ao("en-US",{f7e68bde2caa2cb5696d6a37fe4a23a4:"Common",ea15ae2b7fba76c83eec6d0986d15197:"Option","3fea7ca76cdece641436d7ab0d02ab1b":"Status","24d67862f87f439db7ca957aecb77cce":"Properties",afcde2611bdd13c1e65b4fb6a2f13425:"Design","6d0034a2419e1f394dedab07994b9665":"Label CSS class name","2cadb6621afe19333b142faa541b0f91":"Control CSS class name","0e627e6a0ff773ee76bc4cc0871cb48d":"Description CSS class name","10b2761db5a8e089049df39675abc550":"Event",dc19704991f1476fa4dcbb80c50bedd6:"Prompt title","55713166f8bddcc0aefc3a32464746f1":"Enter prompt title","2d711b09bd0db0ad240cc83b30dd8014":"Content","59b9e2022323a63079c6ddab63fec112":"Popout position",af767b7e4ae069d54f9ea839858d4c6d:"Upper","3850a186c3235bc646d4c2f79cebac36":"Bottom",d2aff1417831aa621c16cd5b95306b4b:"Left","4d9c32c23df5d234e629c922c58d8e12":"Right","5ef69f62dc668c1a3e68b51c50a2530a":"Icon","4434b33a8731a73613ba5fa1eb984efb":"CSS class name",f10b676db977ae808af8d96b327be7f3:'Which secondary CSS class names are available? Go toStyle description. In addition, you can add a custom class name, and then add a custom style in the system configuration.',"159dbc2fafd57b9d3652f16659b1b519":"Triggering mode","45a51525391d4a3771b22f2cf1aa96b3":"The floating layer triggering mode defaults to the mouseover.","728c7cdfa431821d291b5108394ec65a":"Mouseover","4363c17ebb346b646af55bd8c8075915":"Click","5632c68dac780bd766f740830481f4b0":"Click blank area to close it.","9efb0ce5a4510ef29345b6edb3e58bc2":"A td must exist","3ce57bd19e37d2b27145dc6fcfff3520":"The first cell cannot be found.",f7d205072a2ceb63b4f48a8b6f32fd25:"The number of row lines is incorrect.","852228c640b1daefe6b0853390e66791":"The number of column lines is incorrect.","26526c3354307798dfa84f17decf5140":"The corresponding id is not found.","38d2ccdde0ae0c2329defd3c75c59d8b":"Due to the padding limit, the height setting that is too small is invalid. Thus, you can reduce the default padding.",d59379f4227af3b2c60214e2f4f903ba:"Merge cells","02d9819ddaaaeb1b7b22b12608c7e5ca":"Prompt","4be3194e93cdd2899d06b499c184195b":"The prompt is used for special text prompt, which includes four types: operation prompt, success prompt, warning prompt, and danger prompt. Combining the visibleOn, the prompt can be used to prompt the error information.","6f2b01db04cbf7e460b5c6f4e37a5e76":"Prompt content","132a78bdf68d6d17bde00aa807bbf032":"Content area","4092ed98e9035652d4c9ca9441701ed7":"Basic","226b0912184333c81babf2f1894ec0c1":"Type","330363dfc524cff2488f2ebde0500896":"Success","900c70fa5f7dbc014e6f762d5e0e885c":"Warning",e2e27a87257599f83c817c43e724b6aa:"Serious",cbda486dbec5bdacb593294e240c5e63:"Close","7372dc9f39a173dd0c75a185373245b1":"Custom icon",bede211909a1022b13e9728ed162b77e:"Anchor navigation",f6da8aa86fa3e399da95dab399a67985:"When multiple lines of content are displayed in the anchor navigation, the content can be displayed in the form of anchor navigation groups. Thus, you can locate the corresponding content area by clicking the nav menu.","22c799040acdb2601b437ed5449de076":"Container","5879dec0aea52871e0ae6969893a315b":"Anchor 1",ce08bc4247c040bac13155befc7c1638:"This is anchor content 1.",d89a42cb938819f67172ea64037c19fe:"Anchor 2","96f05e63c6f606925636d6810167e7ea":"This is anchor content 2.","31327b9041b825a0b455b3ff9ddd3909":"Anchor 3","68284dd430993f495a6f2254ae5480ae":"This is anchor content 3.","9ad515106f02f3909974b75d22625b0d":"Anchor setting","40c6e9ed3d9949a326f5a216d936324d":"Add anchor","8cfd149e7d73ebae6a797d21728292ff":"Enter anchor title","6be15e9949e4be7fc485e1eaae472942":"Anchor",c624c875ea37f790665d0cae8959d4e2:"This is the anchor content.",f612a2f944af178fa07a719c79e8438b:"Anchor {{@1}}","42ff02f6763799ebfa5ce8dd5f99913d":"This is anchor content {{@ 1.}}","39f4fbc5b5ba681f7e8c4d4a4ddb3e2f":"Default positioning area","9959b2ad2d4f75f7a6be46872642df6d":"Navigation layout","4cde06e6162ed66720e3133cb83bc059":"Horizontal","75ac842f8e77305846f1d776f97dfaf8":"Vertical","056f2d7df6e6b64625c3a2d27ce07b05":"Nav","696754a8b2b23e30b11187303d1238f5":"Area content","33be689a0f0de129ce37f7a96052002e":"Content area","32c65d8d7431e76029678ec7bb73a5ab":"Title","6bd854c27cd4c2e97dee65cf3f3f8551":"Anchor content {{@1}}","726dd5df4319e9e158e2ca3c22177b6c":"Audio",e7a707f9fc7da36828db940ca2960f4b:"The audio control can be used to play various audio files.","997c7a5d34f6fc628893f509d0df32e0":"Feature","22b777e6fcb613b8ba83ced9594cd07e":"Properties","37b12f2666b9e4e37f33eb5e83533d5e":"

Currently, this feature is configured for the field content node. If you select the upper layer, more configurations exist.

",f8f176147db276063e7ec15f076e39e0:"Audio address","91d3cd46d6b6919749e56056d5acc9bc":"Allows you to get variables, such as \\${audioSrc}.",a945269af10da66c82cdb7336bc490d1:"Audio speed","7ccd84ca5c16cd03d26f5ecd5e6f6bd2":"The acceleration ranges from 0.1 to 16.",fc03b83d19e2fd12f1e7c56a11d7dc18:"Internal controls",d37d357dee041774b993daaf5c8bb752:"Speed",b85270cd3c06d8eb635eadcffbb10119:"Play","19fcb9eb2594059036dfede5f4ec53e8":"Time",c7bff79d059a0b7ff9b02441959d8be2:"Progress","09b095d8fc867cb968673be9dcc00a93":"Volume",ad751bba0aed43a673c40b652a239fc3:"After you choose the speed, you need to configure it in the ordinary selection bar.","54c6bb48170611ec995f634319312156":"Autoplay","56e6ecf97176d30c06b30cfa428ef832":"Loop play","2fb0853874c2cc8cc42f0c7520af662a":"Inlink mode","33bf801796fd255b5f6147e33146669b":"Display","4c50eef3bdaf0b4164ce179e576f2b2d":"Portrait","18dc831ec12d358d05902bef1f00e1f1":"User portrait","027446c2f9070b0f5b16a18208bf5fc7":"Display","20def7942674282277c3714ed7ea6ce0":"Image",ca746b1ff10193a3ce20878dec04a733:"Text",bfe68d5844f8e54602760e18f45954f7:"Link",b54f4a65cd257c87db32ee1023e1daa1:"Fill method",def423db04dd24b226911b9e4cf5dc9c:"The image processing method that the image size is inconsistent with the control size.","74735df86a8e1c15bce50e2c1dd42e98":"Proportional crop of long sides","9d7f3e170404f211a4f95c214f044b05":"Proportional padding of short sides","9854f491213784118614be4a1970bcf9":"Stretch the image to occupy the space fully.","3d2b60dda894eba9a042beddf7daf3cc":"Crop the image in terms of its original size.",c7fff1a6f585d7fb22c94bb1ef82707d:"Border distance",f1b4c635cdb39c91461f181d27d06f8c:"The text is centered. When the text is too long, keep it at the minimum distance from the border.",dfd0cd7f2cba96917484569a646bdc8d:"Length",c1df04eec5fa0857bc0df2d68d8e953c:"Height","0103eb2d3dca70270d1a74e9ec987ac9":"Rounded corner","9a233b241eef54521cfe9365bfaa7b2f":"Padding And Margin","961534b4ea37e4e88aada736b299d063":"Border","8e1b944f4389bdaab6f11d5bc83190c8":"Background","803205e38834280d9e6a75993ac00764":"Shadow","0d98c74797e49d00bcc4c17c9d557a2b":"Others","34dac4adbc96afd65f060cc4cfff1feb":"Opacity","169b227aff15b834b64205d0fdcb0f33":"Bread crumb","3576258acd7269da9f44859a2edec1aa":"Bread crumb navigation",db1c89e0f6e62f9642018cbb531bbd4f:"Home page","2e8bf3c87641fba59c2a9cb6636d7e88":"Page at the previous level","12d358955755488ff3790bbd6d75673a":"Current page","894b94fbb15650da7f9290e7106446f3":"Separator",a38100f22f59f7cd89e36139faa6fd4d:"Dynamic data","66ab5e9f24c8f46012a25c89919fb191":"Add","97d07614380da93d257f9fbf81aa56fb":"Text",ba7f916a39c0beb545388ea3b7f6b3b7:"CSS class name of bread crumb ",e3acc9857c852dae27e064ace5e5688e:"CSS class name of separator ",fa966345577ba81af19408f203db968f:"Button","89de611b2d759a1802542b5d3a06829f":"It is used to display a button. You can configure different display styles and different click behaviors.","7af5e3ef39ff71d39fe3f645c8079124":"Trigger this option when you click it",f6d767f39ba3bf955077a3c0ce81e581:"Mouse-over",bcdd89d453da0dc0622a2f3189728357:"Trigger this option when you move your mouse over it",e272b0b8c7fedc670a87075514d9b49f:"Mouse-out","727309bc724ff237c5e2cdf7a90cf28e":"Trigger this option when you move your mouse out of it",d7ec2d3fea4756bc1642e0f10c180cf5:"Name","939d5345ad4345dbaabe14798f6ac0f1":"Submit","4b9c3271dc2f299dc3aeffb369187513":"Reset","5e64227f46b221001e3b151d72fa6412":"Whether to close it",d5bb99590ef447a1af8e9782786c751d:"Close the current {{@1}} after you specify the operation","1e7196ce05260faa55e5b7ea5a1667c2":"Second confirmation",ed2f135144b4e138cb29419c1f245f4b:"After you click it, ask the user. You can perform the action to avoid false touch upon the manual confirmation. You can use \\${xxx} to take a value.","0d0c6ff7b65e62eba3ddd523e2976389":"Confirm content","7e9646e2db5ce66dc2b4b922ece483ba":"Bubble prompt","5daaffe964aee9d884e0a681b2818a17":"Normal prompt","2fd82aa9dd7fedea2c16b7dfe93b6d0e":"Give the prompt content in the normal status. If you do not fill in it, no prompt pops out. You can use \\${xxx} to take a value.",fb37b983a93aabdcdbbd59ae48c519fb:"Disable prompt",f4f168a3fec79443d2ca8fd1955edee8:"Give the prompt content in the disabled status. If you do not fill in it, a normal prompt pops out. You can use \\${xxx} to take a value.",d420160a9e04c481e55a9686ab158caa:"Mouseover",d6763cb7640bed39caa058f156007a86:"Focus",d586324c6d6b45cb78a4172d836dab3e:"Prompt position",c182ad6b97f0909596a523b1f04c28d2:"Leftside icon",ad7e6f016bc1d9a9bbc6e18224d73247:"Rightside icon","39003734d1d700d5bd97bf1e7a2fcf73":"Style",c12ba7b658a9fccf0815f3951bc759b6:"Highlight style","6aa6b9e2dca63d27dc74eb155020271d":"Block display",c8339fd2a85af4ba66084d28df808de4:"Size",c8caf94205105bac5833ab31cc2129d7:"Button group","66ae9ce23b0b2e243aff087d906a2489":"It is used to display multiple buttons which appears as a whole visually.",e9d2f66bbd44c96a3e03494bf6b1ebf0:"Button 1",ce35a17d2ba7caac95092a7a66ac9a0d:"Button 2",de26e1294acedb55155a418630d57924:"Layout direction","8eb18b36f5a27fa8e6d32bc66546ce05":"Tile mode","2e28645c67c5742e473888a27aab7bd6":"Enable the button group to occupy the parent container. The width of individual buttons is adaptive.","66774850742a81e8b2393195290b7330":"Button management",f9f2b9cc91cd332db6b2b732c3869233:"Add button","40f3bc0a4f4d0f4230fc7fa6f4fcec92":"Child button",f05dd80af77a441216ef940e7887a8db:"Button Toolbar","433e2e80ec74563daf4368e59b525e34":"It can be used to put multiple buttons or button groups. A spacing exists between buttons.","6651fec0511e3593d3438a113dff23d6":"The buttons or button groups are sortable and removable. If you want to edit the buttons or button groups, edit them in the preview area.",d7213304d1a8a02a73a2f4010839e061:"CRUD","7a9f1ec32752de8b69ef21138970f64d":"This button is used to realize the addition, deletion, change, and view of data, and supports three display modes: table, cards, and list. This button is used for data fetching, paging, single operation, batch operation, sorting, quick edit, and other features. Integrate query conditions","48c68eb5a42e2b3e679c53b00f6e203f":"Rendering engine","64ca9bab920a2983bcf270320d850d00":"Reload","9ef5597ac0b4da662bcd967da37eceb4":"Trigger the component data refresh and render it again","95b351c86267f3aedf89520959bce689":"Edit","607e7a4f377fa66b0b28ce318aab841f":"View","5b48dbb8dc710cffe6313bb56a7f6d47":"View details","2f4aaddde33c9b93c36fd2503f3d122b":"Delete","6c546666aab964c39cd8bfdf4fbd46b8":"Are you sure to delete it?","7fb62b30119c3797a843a48368463314":"Delete in batch",e73cefac9d030927da1618c7b15c98c9:"Edit in batch","19c6b7463e1bf73bb4b12ba07abd5444":"Field 1",cf12e55021998a8328201800ec356773:"Query conditions",cfb5f18c43753ad5329348d626bd3739:"Keyword","4a1e3c50547e61503a2d1c356005eb08":"Add, delete, change, view, and quick start-CRUD","85624c8e8b0fc98954eecbe508e8b59d":"API address","3dd674542204724eb5417efc7354ec73":"Verify the format and automatically generate the column configuration.","3266535dc49863d976b9960adad29fef":"The API return format is incorrect. Click the question mark in the example on the right of the API address to view the example.","07b59fd09f6007bac246d9a73b793a49":"Enable feature",bee912d79eefb7335988c4997aa9138d:"Query","0f61da949d2b45534967e197cc2eee29":"Modify in batch",aa85b3cd6aa4cdfd45bfe5a96678ad2f:"Action bar-edit","653eb2792d3126a60caa6982f89a906b":"Action bar-view details","8a4d6dfbcd8072555b5951091f171000":"Action bar-delete",f4b368051b455e386a314688c7c75c1f:"Enabled query field","23c7ea8ee9519459598b2de65fe2a2eb":"Display several fields in each column","41a344642681efaaa418c228ba7fb45c":"Bind field name",ffb01e5bcf4c00447f5150d3cba81371:"Pure text","59cf15fe6b8d659c9bd2f86143534a06":"Template","4ff1e74e43a3586339251494117185ad":"Date","9da188491dd34c4382a5b9f006194e41":"Mapping","8abc564260a1564521e0c3a1d5419b4a":"Action bar","2b6bc0f293f5ca01b006206c2535ccbc":"Action","07a88fae7dd11f87891af91fb54a74bb":"Enable query conditions","7f7c624a843b0d539a4ea59a696702f9":"Batch action","46e6edaeb9968e7f7ab549d4f2f82d6d":"You can manage the batch action buttons through this button. A selection box appears only when you set the batch action buttons. Also, you can configure the position of the batch action button in the appearance. ","8347a927c09a4ec2fe473b0a93f667d0":"Change",f13a0697d58d975d14eb3f3c72c2cbf2:"Single-entry action","3674ea51498e7118732e5e1c53d4bc80":"After you set this button, an action button appears when you hover your mouse over it. Meanwhile, this button appears in the top action bar. When you select a member, it can switch to the batch action button intelligently.","4916771d080ddf6d0551de4d6d2f42a4":"Hide mouseover","569343b4fe5e48131b78611c11eadbeb":"Synchronization address bar","6dbee29a8c54eef9d042ef3280999ad9":"After you open the synchronous address bar, the query condition data and paging information are synchronized to the address bar. When multiple synchronization address bars appear on the page, it is recommended to keep only one synchronization address bar. Otherwise, multiple synchronization address bars tend to affect each other.","2171d1b07d045e796cba4a05bcf7d13f":"Default parameters","01e7eb2256821085a14708d6ddf36814":"This button is used to set the default parameters, such as perPage:20.","58ed0a7a5a91996dbb4c7d6dc7679364":"Retain entry selection","36ac0011faae6f88ee0ec3e642328327":"After the default paging and search, the selected entries are cleared. After you enable this feature, the user’s selection is retained. Also, this feature allows you to achieve the cross-page batch actions. ","2a0b47ba76e886070c3bd6abeae3d1c0":"Single-entry description template","6ab3e5b6c5d5d2cf621e911226495433":"With the [Retain entry selection] enabled, all selected entries are listed. This option can be used to customize the entry display text.","987b04af242bb2dafaf32d890ab952ff":"Designate primary key",a270e70be12fb13a24ca3e4ac70fa838:"This option defaults to id and is used for batch action to get the data at the row level.","54ea89b497ec3bb319c68844dfa3687f":"API",db7ee36de8063c2d5a6c123eac65641a:"Data fetch API","0951dad1723aa1191ce1a2e96db76051":"Whether to perform the initial data fetching","0a60ac8f02ccd2cf723f927284877851":"Yes",c9744f45e76d885ae1c74d4f4a934b2e:"No",a9400c408441f1f7f6d6954deb05ae9a:"Expression","55b22f5d136e73b26cef65aedd8ba86e":"You can use the JS expression to determine it.",bedc70d448b656d828bd3ed7926b3e4d:"One-time data fetch","559fa334442f0f75b0343bbf38b7ff05":"With this option enabled, you can fetch the data only in the initial time. No request for subsequent paging and sorting is sent to the API. Instead, the subsequent paging and sorting are achieved by the front-end device.","1af68c43e1780249f11b9de1eeaeb281":"Enable timed refresh","9800f1ce2f78a23b81c8d944ebf9cce9":"After you set this option, the timed refresh takes place automatically. The unit is ms.","19c5410b23fba4bbfd1a58bbd5268c9b":"Silent refresh","04f840b0772f4b5d59954a29a76f4e7b":"Whether to display the loading after you set the automatic timed refresh.","6037dae99e9446deaed45f7e408f47ab":"Detection expression for stopping timed refresh","32e3a79e80dcf7f7304e8092dd7acc6f":"The refresh takes place constantly once you set the timed refresh. The refresh proceeds unless and until an expression is given and the conditions are satisfied.","154ef40e477c031f6c1ec15caefb570a":"Disable automatic refresh when a popout appears.","50f7c85bf60a9f43522789644566c62b":"The automatic refresh is disabled when a popout appears. The automatic refresh is recovered after you close the popout.",d8905a70e93a33c7a86240f467c653d4:"Whether you can drag and sort them or not.","040a78b24eaff47d4fa7e266473635b4":"API for sequential saving",ee850a0e326b217bdeb61d936c521177:"API for quick saving","8343f619879fa79bc8ef1a35b2fc3e78":"After you set the quick edit in the column, you can use this API to save the data in batch.",d891e79d4a8718a7dbd47ac68aaaa5cb:"API for quick saving of a single entry","38db6e045e214ffcd03ede695002271c":"This API is used to save the data when you set the quick edit and the immediate saving in the column.","522110866c19dace2ce38336617405c2":"Default message prompt","3b69c2e540c05e9ca530ed30cf224472":"It overwrites the default message prompt. However, if the API returns a msg, this msg is used preferentially.",fb24383a41f23196349548b5d0cb98ce:"Prompt for successful acquisition","62e3e15c8fb9038f2780329bc26e8bab":"Prompt for acquisition failure",c62a1b7f314be10aead10475e7543f6a:"Prompt for successful saving of the sequences",c8035507b7a576d43e9f227c91c7a7b5:"Prompt for failure to save the sequences","7cb0932b806559be232d2a69453224e7":"Prompt for successful quick saving",fd79a193a487b8c9d5a302d0d88c1c2c:"Prompt for quick saving failure",ff57a3bf69a1065707e77c18c51f7bbb:"Content display mode","20aadc3f9b7edb564dc58898898e0dc8":"Column information","72cf373be86a38b29f6d2f15900b0da1":"Sub-title",f26225bde6a250894a04db4c53ea03d0:"Details","3bb4d608c6bee2b7b6d788417cde04e3":"Simple display data: $a $b",b339aa87104709397ba68e7ebbc6e5ba:"Table",d87f215d9ac688b1d3399bf575a0ef6f:"Card","3712972d84adf48acbd6ad24b4d75ad0":"List",e4fd8d64804a4f3d743eff384a6eb20a:"You can select and edit the non-built content in the preview area.","14555503d6e09ecd66661d04c882e79b":"Top toolbar configuration","3862626c138ce5945e0e273a1bdfbad0":"Paging","439a19857be1fb8d3e6017258e32c486":"Statistical data",bc908986a4e4eec3dca3530afd1d4306:"Change page number","77281549955309c49f5eef77838a85e5":"Load more","1add12ff3338a990b60154b75019c348":"Export CSV","7d57852b946d9d4d64fb2a48ca2b4a44":"Export Excel formatted files","16c6099bc0efaa669d8de698c105e333":"Column selector","073694928db5b0b5423ebe095ec62d39":"Change query conditions","5b9c3e6ce478196f802722cb09d61f0b":"Drag and switch","66eeacd93a7c1bda93906fe908ad11a0":"Select all",d5bc35360607472de4525358af126de4:"Alignment method","413f48cc71f71083ce532a86e3efdc21":"Left alignment",fd8e9572cc6bf87653c4d8f8b8dd0db9:"Right alignment","1325969c143a639294c1c6ab370b35a3":"Bottom toolbar configuration","440a3a2d7f1b123718be75e2baee8391":"You can select and edit the details in the preview area.","34da7e4a0ecdb63967427f43adf2de3e":"Whether to display and hide query conditions","25c0db3ddce9bfffd497d0c824cf3c72":"Whether the query conditions are visible by default","259d11c300a365b6767228c12d29ce53":"Hide top prompt for quick saving",fa9417bacb7714e82663655345ca213d:"Whether to display paging condition always",e3d2a85f20608a5bde7d539969d03167:"Hide selection button",af1af0a7fad9e8bdcd21694d0e036e12:"Content CSS class name",c11322c9cc43ce3c004cf03f5ac0acd0:"Data source","62569fcb0fc8314daea97989bba3877c":"This option is left blank. The properties of the items or rows returned from the API are read by default. If anything else exists, set it here, e.g., \\${xxxx}.","606bc931d2b3ebba2569cb1494719e2c":"Number of items shown on each page","004d01f56242e07cbdc97256bb11c75b":"Retain selection during paging","3d330edb46341a26ccc9aaa7f7938a8e":"Maximum number of selected items","95e68bea2d8c8e41ffa619d4364a0d6f":"Page field name ","537f8b09437bdb7fac429dc4e8666763":"Paging step field name","30c7bd5acd4564057bd89e0846f01728":"Sorting weight field",dd8d217677e4c5df28b7f46aa99b22a8:"It is a field name that is used to determine the position. The new sequence that you set is assigned to this field.",e04e8f570e2fb43a533b224f3c48523d:"Number of switch-overs on each page","0fc1de8f71a7470213fc68f981abdbc2":"Configure the expression that you can select for each item.","7d5fefd589000879088063dceb4b2552":"Use js expression. If failed to set it, you can select all items.","614ec7801e03f7ee009e4448e6ed4001":"Enable a single entry, and click and select the entire area.","530ab79908eabe5b329ffe17695079e2":"Automatic return to the top ","9092afb1ccb692308ef06d8001da2208":"Whether to return to the top during paging.",c8cf39b24bb52d0562472c33b86824fe:"Synchronize query conditions",d3c172700af4f3f3afb028d6bb4a90a4:"After the query, the returned data is synchronized to the query conditions. ","5db6b2160b9169b9d89de247d14ab740":"“Add, delete, change, and view” edit area",f49d40842a3c66c4de2e57a48157c707:"Display a single card","0212e8c9b113143a031d1f3e25167794":"Click to add a button element in the left component panel.","6312e80e416fa79ff3383e1577c243b8":"Click to add a content element in the left component panel.",a3cf7c9ee581ae71eb51d18b610b05b6:"Add content","00a1f644f34b9ee43adf82cb3449158c":"It supports the following template syntax: \\${xxx}",f7a82c9758acc4ff4c5350182f2ca378:"Image address","3bdd08adab6ea90b9164b20a0e4151ac":"Description",d85562778760b00b1372af642c4630e6:"Whether to highlight expression,","4011e5fb23b422f755d81269a5242d22":"e.g.: this.isOwner",d4f223e0619836d03d488c89558f38e7:"Maximum number of buttons put in each row of the card","620868e5e60e5c22249c3277c971bb13":"Title CSS class name","1fee6fa022c97f5dd7f48e362cea5acf":"Highlight CSS class name","2a3c7d647a29fb7dc5aedabac216575e":"Sub-title CSS class name",a5680444d449b2099b067e9963fe43aa:"CSS class name of top image layer ",b8e1e46cbdea20de4e5fc130d31b7bcc:"Image CSS class name",a31119cb2fddee3366163a311f317cf7:"CSS class name of content area",e82eb2350b4283822aeea21aff9d97b5:"Field {{@1}}","9caecd931b956381e0763d05aa42835c":"Field",bcee820bc20342a4d388a35ed32a35fe:"Column name","093c340f7e1fbde1928ca56b5c7f9cc4":"Card list","85c17b016309a3f867a1803049b3bcd8":"This feature resembles the table, but it uses a small card to display the data. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take priority to use the “CRUD” component. ","6223c41373004e3111e768225450b4e8":"Card set","3983b9f5575ae146d2d06f8ec5447a4d":"Configure single-item information",a3f38735bf211edb2066ac4e51b55cb2:"Open external link","7ea26d0cb93e59339daf6a1ac68624f3":"Bind current environment variables","21efd88b67a39834582ad99aabb9dc60":"No data","35ba83e053cef95e55dfffde279822b5":"No data displayed",e18d033cc4baab3ebb329f6b29eb3cef:"Whether to display header","412593f58b9d062a43cbe2ce38f4dc65":"Whether to display footer",e494f1aa112068688ca863db7f39a0b5:"Header CSS class name",d267231d2d8b60e267acc7d7d9955ae2:"Footer CSS class name",b2d2593bfb7a627817c0bd1ef6a254a8:"Card CSS class name","58e78d512d9ff40c73a263ab616cc652":"Number of class names displayed in each row","3cf0da9fe51f92842e0a6d375fa5c605":"When this parameter is not set, it depends on the card CSS class name.","953e91f3df59837ac2965cc04dec4b0d":"Enable waterflow","39a6853b109ae98f1aabca90283d7edc":"Configure member renderer","6cb01692eea2fa7066d20fe2b6ccaea3":"False data","0c0180cb06a322199a67f10d4ec41cd5":"Carousel image","1007c97dbf952e032ce13be3cb811f23":"It is used to render the carousel image. It allows you to configure the content on each page (in addition to images) and the transition animation.","0a2907a421b8f980986117e4f3044f92":"Associated field",e760ec18028fc075c5705bf184589e70:"Static setting",d314558953b3c76adb7e131aaec8bd86:"Field name","793a763e73f1f742e3a16ddc2ed95ccb":"This option allows you to set the field name and associate the data in the current data domain.",b9994cc749b4cfbbac0a9b140addd242:"Content of the carousel option",c6c7456d446d62a906c2809b6ba19ce1:"Image title",ab8a46ccf46acbf82d020d11468291b1:"Image title class name","098c3d959911b48b4d912cb85ccc4942":"Image description",c6fc4066471664a8602c636cfe1cc766:"Image description class name",cfb6f6e4c92a61ed0e0717abc8d0eec7:"

html segment

","97cc997910b99083bd23c6ac39294ff3":"Automatic carousel","8c2a12c5dee794b8b9608bc1f8087947":"Animation interval","6265104f900789dd51d75b449c3b9f89":"Animation duration","5bc37c57ee54d407f441b222f02391db":"Animation effect","8a0d716ded7baa7ee356ff39c3cf0bec":"Control button theme",f7471313dce32bc3669d338764a0d036:"Control display","1c0fe943329339003e9e3c1b12a27fe3":"Bottom dot",e030190fd1c10b0c967f48e789fa86b1:"Left and right arrows",c28479019e24e0e4745f4948e9e97ee7:"Width",ad5a36ee5f4054594c30b6dc481e2d81:"Previous card","49e0f68798e3c69b7990076bd8f1f47f":"Next card",d09504750ebc1d75c38d86e16060f83d:"Chart","10e14f791d73c7c0f4113787f36f1626":"This option is used to render the chart. Based on the echarts library, it supports all echart types theoretically.","67b6bec14c39be3f2602271e2fe3bcde":"Refresh data","0310aa5a05fe07147d8b7ef20616f659":"Trigger component data update","3d6abfdea70af544603da70f93ed3d24":"API fetch","03677b68a73eb59e5faf281f49f3c130":"The API can return the configuration or data. Recommend that the return data could be mapped into the Echarts configuration.","1396ebc166bd49c1e3b67549a1b4caa0":"Whether to fetch API initially","2af32ab13a9dece315cec2764d6aa7d4":"Timed refresh interval",bc827aaffaa35a95607346cc104c0785:"After you set this option, the timed refresh takes place automatically. The minimum refresh interval is 3000 ms.","57c7d1125d2803b946a5b25c3f80f249":"Echarts configuration","3d3fa75d8b345b22a5fbd14a65a0af71":"This option supports the data mapping, which can fill in the data returned from the API.","43ddd80698198791d4a738bb20a2d7f4":"Configure DrillDown",c8da43fe6ad1c537f86cecb353250145:"Delete DrillDown","4fd9621d4facc101aba3afec055e14d1":"Data processing",d98ef182637b4d10e16e8073c1101e51:"The chart configuration is completely replaced.",f1f13cb0ca4720a727cbfba4c82e5890:"This option defaults to the append mode. The new configuration is merged with the old one. If selected, the configuration is entirely overwritten.","40128a51e9667fe6a20a0454069368ba":"

Content${value|json}

","7e3f6245e2a6adb903cf85c77cb1bbd7":"Configure DrillDown details","38bbd995a790f5a67211e034b007c145":"Highlight code","86e38e6425f722ba725718af2366ac08":"Fixed value",e90e6ff080f179215c3566a61ca62367:"Folder","452b62e9b7e650fa163300da2893654a":"The folder can unfold or fold the content area to keep the page clean.","81d2b9f20fb2083c75a5b052b84e897a":"Unfold title","7349194c139069b32889101768aa7428":"The title appeared when the folder is in the unfolded status.","3a8647306ee6456517b7bf9c8bc7de23":"Title position",c949729cd1a1e425595c1a297649c7c6:"Top","12c4c5e8abda77e1fdc93653d6414187":"Bottom","731f9b470e0948cbf56341a53c423213":"Display icon","96c0cc844a06e0850c04f7c44b6475fb":"Foldable","63b67eead04256e42ea9f6f7218731ee":"Title class name","66d88b3e01aff17c7973181e53fc8c0c":"Content class name",d09980a88568f75e9267ca7b531c74eb:"Fold panel","0d571a7ab19e098820e8cea4d5a80f7d":"When the information volume is huge and there are many classes, you can use the fold panel to sort the classes.","17dcbf1f144607d4af0bb718e008682f":"Title 1",f7fb20f6cacd5e40c7f5732cb377d0bf:"This is content 1.","72d41bd9eb3882f7da6f55d0ff0a39f6":"Title 2","0431ee7033364800e261d1e560808231":"Icon position",a7eaff29603a9c40927f726013d2c016:"Left","128d58f066a18ddb2ddb701921d5c77c":"Right","47b4e22880eb59ce9989b8419222e88a":"Accordion mode",bb3548f0bb97ab11ee92284ecf37ec16:"In the accordion mode, you can unfold a single panel only.",f24544b06700857ec11b434cb2916692:"Panel management",c5ceab33d3e275262b4992a8cb43317f:"Add folder",b839e579e920068bd817d34cd7927069:"Add folder","030a54b0afb54fc7f90e1a0f64eb8205":"By default, unfold this panel.","39b066b81835fd66bd4529d1220c9dd3":"Title {{@1}}",ded228f9173b241dd8df2a4811ea0e98:"A simple container allows you to put several renderers together.",a823cfa70cfa46c788e1eedae043f6e5:"Container label",f7d64e5e79994c3c8853f2608d7b2d25:"Because the HTML label is invalid, re-enter it again.","473d2078518479669823205110842376":"Custom Code","8b9c77fa4e646b9cb270f833252e511b":"This feature is implemented through the embedded code.","0b13dc6251002bf556263fb3e4675b11":"HTML content",d6b917c76b92aa9b92b6bebdcab993f3:"onMount code",e64739dd24bb0bfcb6f6e1ee2cce5413:"onUpdate code","0601b7aa5b53cbc3616e24719bcd2aaa":"onUnmount code",b82231f254baf9a28bf752683d31b169:"Custom container",e5b5798a8bab7dc8a578431991731040:"The container component is implemented through the custom code.","96ec95de2d7da5b16465eb980f74deae":"

Custom container area

","749f710d280419b1da031c9bc79b3b07":"Custom container area","356b1959a9da95997b4de31415d9d74e":"Date display","2bc6d101e5701a70f2fb9e0b67581594":"It is mainly used to associate the field name for date display. It supports various formats, such as X (time stamp), YYYY-MM-DD HH:mm:ss.",a2344febfc246ddc7281f62217ba42c0:"Date value","84ff80a2dc4717cc01acd486040a6763":"Display date format","6eea1b15be458a6999c9259aa2280a70":"Refer to the format use method in the moment.",a7032449ae8761aea61cc30e32d3be10:"Data date format","4c1cff4d8c05daa6ed9352a241ee628c":"Placeholder",b54e0f0a60f8e2c4c31f3b1ad7d5a613:"Date and time display","2a898869829eae8adcfca290fd34a67d":"Date and time value",b0d6f2d882adc2163e6a08a121d18677:"Display date and time format",ab3aec075a09d055b2a28c8b61925ee0:"Popout",e83a256e4f5bb4ff8b3d804b5473217a:"Confirm","773ddc154f1e9b80f04e8bc9d83d2caf":"Trigger when you click the Confirm button in the popout.","625fb26b4b3340f7872b411f401e754c":"Cancel","08ab4ffcd1bddd249a193e6353bb52bb":"Trigger when you click the Cancel button in the popout.","4708bcefff645287c8781a1de2a0f20b":"Trigger the popout Confirm action",af17a4e37e5c6d68fff33c084192801b:"Trigger the popout Cancel action",dd10fdec63a2224aa3d28b48d428cb98:"Data mapping",abf68809d31c8eabb3eb5ae9e00abfcd:"< p class = text SM text muted > when data mapping is not enabled, the pop-up box will have all the data of the environment where the pop-up box button is triggered by default","1fab180b92bddf03ecf7da009f86d826":"

When data mapping is enabled, the data in the pop-up box will only contain the set part. Please bind the data. For example, < code > {A: \\ ${a}, B: 2} < / code > < / P > < p > if you want to customize on the basis of default, please first add a key of ` & ` and a value of ` \\ $` as the first line < div > when the value is < code >__ Undefined < / code > means to delete the corresponding field, which can be combined with < code > {&: \\ $} < / code > to achieve the blacklist effect",d6f555510792c9f3cb9e8087af037898:"There are errors in the data mapping, please check carefully",c14ebcefcb02c97b925b762d8bacd1ee:"Press ESC to close the pop-up box","4cade75641878a17e2f1ff29ff0ac235":"Click the area outside the pop-up box to close the pop-up box","391b8fa9c747a1799353ab856e666ad5":"sm","18c63459a2c069022c7790430f761214":"default",aed1dfbc31703955e64806b799b67645:"md",ab18e30c0dc4093ceeda8961fac3d1f4:"lg","949934d97c42801151673a51d3adc421":"Extra big","5831b836c8132033f90b3f530fa433db":"Whether to display the close button","79e5818b205352166231217ea39c4f1f":"Top CSS class name","7e1eb2c588aa1301f4aa19395ef0a177":"Separator",bc43ae8e61f1ad4be2b0a9e70501e490:"This option is used to display a separator which is used for the visual separation.","33f1fc330b325469b43614c9d96f590e":"Drawer type popout","0c5a0448b07419ad2900c36867e8e4e0":"Trigger when you click the drawer confirmation button","57f215184a2fb83541f7cfa22d039feb":"Trigger when you click the drawer cancellation button","97b6bad87c4320faac2f6a5cf556c26c":"Trigger drawer confirmation action","909ba2872b2d670ec0ecbcacc4c8c833":"Trigger drawer cancellation action",d4d2a66820d30e07b44c850eb3f116c0:"Position","81b8345bc49ce2aa550ad9792acec3e9":"Define where the pop-up box is called","399f43daffee1afae2a881027b6fb1f9":'Click "external" to close the pop-up box',b09cb613b11a41f3b3804d9c75da90b1:"Press ESC to close","6d7f8b31caaf80deb65eb2c8bdd41cd7":"Very small",b90f6c7021e444a34a00fcba6a428762:"Show mask","07e8695e6142a6e50b323c3d5aae2101":"Draggable","0fad5a56c8b4643f24797eaa616bef6f":"Define whether the pop-up box can be dragged and resized","7fdaa90d63dd5163de1911264bc5c514":"Bodyclassname class name",cc70a816b7d61e7212d57335c0a15af5:"Drop Down Button","74bafe23b0be1a14aa218b396cb33bd0":"More buttons are displayed after you click the drop-down button.","213a4e49568569943403ff31fff31ee5":"Configure drop-down button collection",b5b57c711fd2d2309cc390a8b44d2b69:"Button text","314454bbee226e4b32b612afdd8e9442":"Mouseover","4a757588f5aee8cd039b1d166b096d1a":"Click external area to disable","9951d740257c40978c238a683b1d4a80":"Click content to disable","205cb6cc6c8d37f3bed62d9c8bfae976":"Unfold by default","697eb55e1c6cecf43e63a26232dda5b2":"The drop-down menu defaults to unfold after you select this option.",b2aa282e908597d1d700c1f4de17b8aa:"Menu alignment method",e57996d3d771141f1b3080bbd8ad605b:"The button occupies the parent container width after you select this option.","1ce673c48f29162208e75bc210307bfc":"Display style",c9e265ec462b61887af6f58928923925:"Hide drop-down icon","938ac86e738246ccd0ca0224031f96af":"Drop-down menu",ff9f6c2d74c413daa3cd6fb12f8dfd3e:"Each",f34111ff3694a6c6de6e31bef8ebadcb:"The feature renderer can be based on the current renderer for the loop output of variables.","874268022baac239b06c40600d3ce080":"<%= data.index + 1 %>. Content: <%= data.item %>","69bdc66bb88ac5b63053e2bb7db41801":"Loop",b7c16dedc4291d333fba7628ec9eb073:"If the container has a value, you do not need to configure a variable name. If it has not any value, you need to configure a variable name. It supports multiple levels, e.g., a.b indicates that the b’s attributes under the object a are associated. The target variable may be an array and can also be an object.","4726ff4e62d3fcfa4b090aaefc393229":"No content is available temporarily.","5d5f9d49fcb2109f94a43590ef796ca7":"When no variable is associated or the target variable is not an array or object, it displays the placeholder information.",f549581bf93c72ed69c37e906e04191d:"Flex layout","6ab8332f3da284b137d54f6ba901e93c":"flex layout",ef5abdfc944546ddcbe10e9884cf5832:"Column I","874fdb7b3a5730910a4de1c58220c337":"Column II","3a76596e73fa265257ce90b7bed684c7":"Column III","5aefca559c5a41d10078e21e6d616825":"Layout","2fdc3722b88a2ba5077e0d11156ede6a":"Horizontal distribution method of child nodes","4ba6c2256050d805ae5cd1e0e84737cf":"Starting point alignment","56c17ba6a56c01706ae00a31611deb03":"Center alignment",abeb360ab1e66534a041fb8b44e1a00e:"End alignment",d5a3cb1cc31a0469b011abdbd3e947f7:"Even distribution (leave a blank at the starting and end points)","85530444a72a840ee657e2df99970136":"Even distribution (alignment at the starting and end points)","9aad08fbd356fb4279f0efa81b3d016e":"Even distribution (equal spacing between elements)",ae558cbf4c35d381b6542f517f2e8dff:"Even distribution (automatic stretch)","70d39e84bc1ecefaf6e19cf78c9574fe":"Position of child nodes at the vertical direction",ed97c73866617b40a7b1215867e0f489:"Baseline alignment","7ac1519928de413cfe36f5d2e0610430":"Automatic stretch","8e15f51c9512fdbf4287794d6642a90b":"Child node management",bc78248b34b7bf18691e6d385e0f544b:"Child node content","197af5d5971778e3b80deb25182d63e3":'Child node${index | plus}',"023c4bfc60545a2668c2d5111171b5d8":"CSS class name of external layer",a4611da51ffee9140976d01668e45d45:"Child node collection","729a4cca5ed3504793c1f3a87d2b48b9":"Button Group Select","29513434492e5d19a9660e0a918befd1":"This option is used to display multiple buttons which appear as a whole visually. Meanwhile, it can be used as an option selector for form items.","6edda84461bf13d38328cb401c8c23db":"Option 1","39692081e75ef73c6479fc25f8f10dfc":"Option 2",a457872a51628ccadfb9bcfa23428a98:"The button click and selection can be used as an option.","755955372bcc0c7ebf161a656bc389b3":"Value change","2fc76872efce1eabd3b74a3e4fd5b976":"Be triggered when the selected value changes.","528609917710d813a55e5a6cecf1e458":"Selected value","288f0c404c4e546aa3683ff5054e85e2":"Clear",c374a44713fa5ff5da2565beb398c7d3:"Delete selected value","8db57ba01ffb9bf29c1656de5f0208f5":"Reset the value to resetValue. If the resetValue is not configured, the value is cleared.","8f40db3b25528063f1b6a59602a05cd5":"Value assignment","944908c981a86bfa0cfab9360ab38184":"Allow the button to occupy the parent container fully. The width of individual buttons is adaptive.",ac3880323853de9adc4f66bc06d438ff:"Button style","0b98b0bea3db6ae5b67a09c7bb2d032b":"Button selection style","55b45c73ae417c4dead67905b1550e85":"Form Item","3b49c8cece3f495f0e76b73823c68bfa":"Button collection","012f602372cd2dbd639cd966c63e1f90":"Toolbar",b6872877e1eb5ddedd904c170db26024:"Chained-Select",fdf1664c0790d25f236bd596aef1acef:"Through the source fetch option, you can add the levels infinitely as long as there is a return result.","556988a9dc1816dd979e96eb5cd19a85":"Chained drop-down box","225f3ed00750ae78ad1e6ea42c8f5087":"Default value",da3ca8191fb919fb34e8e78fc6f2fc78:"Enter value in options",bc8d09093edd98769d5cb39e759aa498:"Concatenated value","2646ee1ebb6922a5c9359de6cd3b3639":"After this option is enabled, concatenate the values of the selected options to get a value of the current form item. ","1395eba8d9efe27aa1ecd1a45e3e5dcd":"Get option API","4ea50507bf8b9ceb908677f30fb20e68":"Option label field",fe4c9c2eed1ad213040d84036c675454:"The default rendering option group gets the label variable in each item and uses it as the display text.",be43687d4ed1d9e663c729e12618166d:"Option value field",f1e6b60c4b6df555a6b03f91033091f4:"The default rendering option group gets the value variable in each item and uses it as the form item value.",f411d0f1f925d9b48d8c1d451bd809b1:"Description","2ef0fb6299da5954f5ea84a088684ee5":"Option description","454e60f5759903d7d3dba58e3f9bd590":"Checkbox","81c8c07d13f425215010783bbf3bf06e":"Select form",c75fde0e2d329ce62f55cb1a207181ae:"Be triggered when the selection status changes.",ddd6650e02f5a266c3df2703daf37270:"Selection status",db0258df1ddbd88749b335aecdc8425e:"Value format","53235c46364db079356d57da5870f967":"Selected value","56f3150f1713a5e5c6e7c55fb0b79b75":"Unselected value","7c7a88eb1bb4b40206c6c680bd8995a8":"Default selection",db98f889ce6bc235e66bd4b2a788d137:"Checkbox","6d1383a2806f0516aac2c115f96799eb":"You can configure multiple select boxes through options and can also fetch options through the source.","05f87b331e1c97691776d93a6598373f":"Option A",f38c0a46797523b11051e35ec0f82a42:"Option B","9c541222ced2435288c24b34f8ad1fb8":"Select all","05bef457e8350e1a5d8007cad41b70e5":"Select all by default","84f31b24ffc8ea2b81d61a6f054b5bb6":"Code","08346c5bb99d8e3bfa406995b8c4f067":"The code editor is a monaco-editor, which supports {{@1}} and so on.",ab0710b367acefa1d6a78e2338291e86:"Get focus","4638e799b95e1b71edd55f278a6f707c":"Be triggered when the input box gets a focus.",efa3ddc1e26ed5d8cf7d9855cc7bd42e:"Current code",fc96a5f1b79cb734afe08e401b6ba5e7:"Lose focus",c776ab86eb24f6b3db35114e43026f75:"Be triggered when the input box loses the focus.","829c57d7064cad467ec466ae26244ebb":"The input box gets a focus.","295bb704f5205801d57d672780b94117":"Language","44fe0e1bcabcea83d6a30e6af0fd42af":"Full screen ",b3b97a293baac13db6367aba5539a09c:"Control size","3386da5f56fac758ed0f18e024ecb943":"Extra big","254bb8aa6b92d588d957a383df24db1e":"Combo","4db731c7d73988e40a01b4bf1a7f00d7":"Through the combination of multiple form items, you can configure whether to add and delete the initially set template.",b58c7549c0246c55b9cac96383200338:"Add","8575b828c7320de82b9f99058aa1f55f":"Be triggered when you add a combination item",aacd80d2c978abae7b955510a938788c:"Value of the current combination item","4933bd64bb23de03ca8ed246fa5509c5":"Delete combination item","0410242a74850f010a9a8061bc0cd891":"Delete item index","74333901ae9ad27a93487dc850e45609":"Value of existing combination item","95e09290c4e0f01323bb5abf301c950b":"Change tab",ba2bd765f6c2e2b717139c5453884e14:"Be triggered when you set tabsMode to true and change the tab.",b04c6cf9cb1212b9c173ddfeec129028:"Tab index","055f2f284d2bdb15bd9e542ea9f93285":"Fixed member type",e3b9236d585eb9c93a074f264737cb65:"Multiple branches","66e867eb73a118649800c0a064d0b5aa":"Type description","5aa528690fd771f89683a7f00868f39e":"Branch management","35b65a5a3f8d721e12cae310463d69d6":"Hit conditions","7341e991c8e8cfec68d31ffe0e06e429":'For example: this.type === "text"',"85485d70be6b380294428018e54fc9b9":"Judge whether to use this branch according to the member’s data.","50bfed6ada3e7d0ef4d20eb727b3d7df":"Configure sub-form item",d68162ea1904f627b033fe3953da295d:"Configure sub-form collection",aab09f676645f2651655a711d5e3327c:"Add initial value",dda5ffc9ecbad13d424346890bacca6a:"Whether to change its type","8a0c77e91392d70df522b55eb4d403e2":"Multi-line mode","26343b8bcb694fa5e333b47d8b663d1c":"Whether to go to a newline","86032735a191d117b02111e447494380":"Whether to ","28a59fee1a4714493a8d6cec05c1417b":"The data structure in the default array is an object. If there is a form item only, you can configure the value. Thus, the value contained in the array is the value of the form item. ","7f2579cabd4d654458a720eed517a37d":"Whether to add",ea1e5695bf682ea3b31aba0c35198ae3:"Add button text","1ab31449faaaeeeb7200d724eab9a7ab":"Whether to delete",fa3e9f9e49f5a81c998f949155f86b50:"Request sent before the deletion",f962922d46ef18e68127642e5c00165a:"Deletion confirmation prompt",fc763fd5ddf637fe4ba1ac59e10b8d3a:"Confirm to delete the previous request",f41a714bc8b26dc27a93a07c44e329a8:"Drag the sorted prompt text","91396e9bc25c9e8b63907fe22408e2bb":"You can adjust the sequence by dragging the [Change] button in each line.","8ee004bdd55b578acdb10b1bcd3fa4f7":"Remove border",e9cbda74a1ffc06228fca68e4d16c4dd:"Limit minimum number","3baaa61e619e32fc36eff14839b1a63f":"Limit maximum number",b8ccbc166c72b2eb54aac1332c99fb49:"A prompt appears in case of failure to limit the sub-form item.",b34cbe877b2c8464c625858fcf19f4eb:"A prompt appears in case of failure to verify the minimum length.",ea2474ff679195d9b54bd5ff3384fdfd:"A prompt appears in case of failure to verify the maximum length.","1c5b9cb245f04413a2d888bd59442097":"Whether to fill in the parent variable with the same name automatically.",e673084b4261d10104d27ae9e4d014a4:"Adopt the Tabs display mode","6e7bd650f763085de3bddd51a8d6aa88":"Tabs display mode",fd6e80f1e0199d6ecc3ee81ae04aa9ef:"Normal","2dd25b8c21efbfee4a198787810d65d8":"Inlink",fc6c9fa3af230165c39fb314c086be22:"Template for generating tab title","9ff4713f6b17e96e9cd76650fd5892be":"Lazy loading","93dc24d4ad01981d5994ba7f8ffaf345":"When a lag occurs if there are much data, you can enable this configuration item.","98d52b737d6bc171b6d5bad9a42f6e23":"Strict mode",cb5ca128b6c78a90f26673e21b0b3f28:"If you want to transit the value of the environment variable into Combo, disable this option.",bc91f4844843d6c8ec1acb78a1f1aba4:"Configure synchronization field","07bf6c08bb5f0bdb32dbfecc7d3fe290":"If the Combo level is deep, the data acquisition at the bottom level is out of synchronization with that at the external level. However, configuring this attribute of the combo can achieve the synchronization.","3f2176cdae8a4ed6a4c4eaff002a3b24":"Allow to leave this field blank",ead7156521ca11acb7ca7bdf4c9c87f6:"If the sub-form item is configured with a validator and is in the single-entry mode, the user can select to clear it (leave it blank).","7ab968b8219f6c348478da255ebcbcb9":"CSS configuration of individual columns","6e87bfe16db746db13966f0d7552b052":"Condition Builder",ab7f2096d3ea8aa85f453b204bfbc493:"It is used to set the complicated combination condition. It allows you to add conditions and groups, set the combination method, and drag the sorting feature and other features.",ae5e21c7b57aaaff2071b757f35dbb3e:"It allows the user to enter the query conditions. Thus, the backend device can generate query where according to the data. ","55d4790c5d819cd0462cbe89561b0dd4":"Number","97b0b6499334ed889b372513290a2a52":"Boolean","0c3bf4fce50589b1073baf15f8a00d36":"Date and time","6d6b4f2bbd2fd0b5faee33673d7f06ae":"Quick start-condition combination","22ed9ec0e00b5deab2c335ad1fd2e343":"Condition type",e996419dedc2f1ffd96e7a0e808127d0:"Field name",c322edb884724d04842fc35f4d29a24e:"Minimum value","5da893141114a59da868052b3a17a79a":"Maximum value",d26404c10871481ab6bbb4837a34ae95:"Step",dbd5b99c34260412f10835d82b59919c:"Date display format","94575fbef23460cb02524d20d152d728":"Time display format",f20a86701d87369e5166c28a71b8b8cd:"You can fetch the field option remotely. It supports the API or data mapping.",ed4ad0f9e6374d6915ce3d2c0dec7c2c:"Operator","61260d9386fd95a268dfc93d977c2706":"Form item container",c5739a29e7c403fc212608cefe70cf29:"Element collection",a00f44e570f896de5490cba9d2462951:"Insert a new element",a9a8efb2541ee6f89ea7b83e610ebf7f:"Add element",bac53d3c739f7fb3327704efd5b40eee:"Diff Editor","7b4fe9415d80d3694d2f630411ac7e9c":"Compare the codes on both sides. The supportive language includes {@1}} and so on.","0517b74cbe247a903faf40991a5a335f":"diff editor","42f04184315801c372989820106cc4ee":"Be triggered when the right input box gets a focus.","58ec44a580ba7cdcdf65985f5c44940c":"Be triggered when the right input box loses the focus.",b42cb49fc7c4ec140697e6d78c39e585:"Get the focus which lies on the right editor panel.","2a69150aa382f6a309c03a96145d4266":"Left default value","04b8c503707c34f9c275d349275787f2":"It allows you to use ${xxx} to get the variable.",a71e655ab56c9962742f72623f67ca76:"Right default value","460bc46ffeb31b737669e2312c5bae72":"Field Set",a89cd8150a1dbc60ac7063580e0852e2:"Through the combination of multiple form items, you can configure whether to fold",a13a2fa224ca5b6f44d5aee33ec29d58:"Text 1","37dd6f28ffb87d8907a286e0ef4dc7fe":"Text 2",d6c40a2ee219c010edbcdaa2eeb94ddd:"Sub-form Item",ec2a8ec81d1d2588db8c7827ba99e7d3:"Whether to fold",f315bd4984fd09c30581674d28287f12:"Whether to fold by default",ab2d2b13794ae1e2d7bf3bcd5af55dce:"Control style","23ecf42cada8bf2715792d718544d107":"xs",e5a226534fb99ab260865b936d3c85ba:"CSS class name of content area ","12b54e3fdccdbb5588785fce5534edbd":"Click to add a sub-form item in the left component panel","1297c46c0ea697a0041c3899b15d69c6":"Add sub-form item",cd948961f71f87ecc72b251147d96144:"Control type","0766a6467bed7f2840871a5f0638669d":"Single-line text box","15d169d28cd48c97fe751e4cc92ca926":"Multi-line text","829abe5a8dcd0579a340d20636b59276":"Group","9597dcaf432ceba92a160d61cb1ef65f":"Number input","9913107b19cb6012250134ff91377430":"Radio","006ded9fa277cf030592021f595a07d5":"Select",a6beb974cc0b50eebd18120b8110a88b:"Switch","481e034e6026969aae4ce7ce7c8a7b6f":"Input File","6bfb9bb2218ff32b6139e98bc93707c0":"Input Image","24b6d4c0892a8f3ee2a982e3ab0afe38":"Rich Text",fdf6f7f6497556de440fe434b721ee99:"Display name","712538d3e674792ec94feb9a5eb2cc0a":"Submit field name",eee1e2258d7ea163fec625ee44be9637:"Form","10b3d542748da2043f79395bfa2ab35f":"It is used to create, edit or display the data. To configure the initialization interface, you can load the data remotely. To configure the submission interface, you can send the data to the remote device. Additionally, you can submit the data to other components. Thus, it is possible to build communication with other components.","5ac57ce6df8c2a19668b7429aebd9f33":"Input Text","1b6f9adf1e6a41a18b9a76407d945618":"Create form quickly","380c80efc8d38510d31f50578690b781":"Submission address",ffc2c1671eb7e3f6751006cd7a9961f4:"Text and input box display mode","81f8a50d084992815ab844109b3ea27f":"Top and bottom","3720b9ef8053b7b8a54c7d8ace051912":"Left and right placement","9d68944682609cb230534195ca7c62ae":"Form control",cf993a1d9c0352215055d180aca60b97:"Control in the group","3673ed1983c1be059126e3715fc34922":"Form collection","741e41f5247b1541bde22c00e65f4401":"Initialization completed",f75e31cd2e3bfb79be420b0e61a533cc:"Be triggered when the request to the remote initialization interface is sent successfully","211f02318e3cceff5ee50d4949a5c8ed":"initApi Initialization data returned from the remote request",b2a5322c8dbc0d8343315cafbd39b7ce:"Value change",d6fc04abf4889a864bea240d6b67963a:"Be triggered when the form value changes","66f1115691b0a3e434dd3e8a6e733730":"Current form data","7233c9cadee5096097673c9590eae9b8":"The form item is checked successfully","6611594c527756e23d4044f908fedfa9":"Be triggered after the form item check is successful",e00a32d415785d5a5d43a593d26cbaa0:"The form item check fails",d4c12cea41e1595329358edb365c5f5b:"Be triggered after the form item check fails","368f9bab722b255f1fdb669a89f0c594":"The form check is successful","35e69ab84129d721229bc5b48afdedd2":"Be triggered after the form check is successful","641fc404690a43cb13e4666ce272974f":"The form check fails","5d7dfa5bf9bcd278f06fa37e482a2c35":"Be triggered after the form check fails","23b62e9cbc868e024b80d2e3fad80ac7":"Successful submission","8c9d9d2594b9cc39294c6939bd08a5d5":"Be triggered after the form submission request is successful","18344d8a27aa678e401d5e575d4efe99":"Data after the submission is successful",f5d008dea7d2e953195a5588dea3c8e4:"Failure to submit","86555672b37841b639311e7d49f0f593":"Be triggered after the form submission fails","17aa713bc661f98e585ec3725d6d4f0d":"Error information returned after the submission fails","4e34003861eee3de1e0c9c1222249bbb":"Submit form",a360c5d4e723ad78a5e52eb1f5f3f2a2:"Trigger form submission","1b6f5cc49e71c90a5b85a796285e3135":"Reset form","35de8c264c2a87836ccbf302b4ee673f":"Trigger form resetting","4a3deab45c0a7218b8ae58a33fd24c28":"Clear form",c18255cd6a048da86045c59a65fdc92d:"Trigger form clearing","17f2bf425eeb7d20d79c595344e9dc94":"Check form","27f35bc7086bf54e27e254f5d77c3168":"Trigger form check","60ad7d0d170b973ab9cdb0b23e636704":"Submit button name",a834505b13627a2e9eb4e0a0c2746e5c:"It is valid when no button is customized.",cbef9ad64297efd7657d5b67b2112751:"Automatic focus",ded8caee55c05aa0f1a4e6a197c480bd:"After the setting, the first form item that you can input in the form gets focused",c8801f299681b3080968effcb13a57fe:"Disable the “Enter” key to submit the form","4fe8162504ae5fb955c30863d88834fa":"After the setting, you cannot submit the form through the “Enter” key on the keyboard","6232c762a93aeb3c89cc759c06802610":"Reset form after the submission","7d61784cd115d333f01a3c0c46408a1c":"After the form submission, restore the value of all form items to the initial value","49086a13c74f262de398e60f448ab056":"Submit the form once after the initialization","1babd035cabfeb997ac3eee3f938d794":"With this option enabled, trigger the one-time submission after the form initialization is complete","0d1fb15904862f5fd2d81d2fc8f371d6":"Whether to close the dialog after the form submission ",e91209a4a78c0b34c26b681b49e0681a:"Submit the form to another component","4133d2c3613ece9792c90d185ec32306":"You can submit the value of the current form to the target component by setting the attribute. Instead, the value is not saved by the interface. Enter the name attribute of the target component. Multiple components are separated with commas. When the target is window, the form data is attached to the address bar.","7653297de32f34fdec0dd0653aebf358":"Redirection","6d00e21637c382cbd4d949b7735a2e41":"When the value is set, redirect to the target address after the form submission.","672b63d7523095b949f5fad233fa0cde":"Whether to enable local cache","8a0544ca2f7ddaf8768ab599858315a6":"With this option enabled, the form data is cached in the browser. Changing the page or closing the popout does not clear the data in the current form.",ce2457fe99197e0fe81b6fb08e3eaf0e:"Clear local caching after the submission is successful",bc01ee1a28f980c298679610fe4d2d66:"After you enable the local cache and the configuration item and the form submission is successful, clear the cached data of the current form in the browser. ",f5e55fb88f5adc71beb0b1fff60face6:"Form combination check","8101a0aec7eba32e633e3cc29f4b7ede":"Check rule","80ce5ea9ac2c3001e6e8ea3175ecc12d":"Error prompt",ff7cc75cc43c25c823d05d87cb8190b0:"Saving API",d325cfafec323a62463af3d3da9b6ede:"It is used to save the form data.",dd1b9892e274b16540aeda961437870d:"Is the asynchronous mode adopted?",e638bd32b4342dfc7a15990a79f588ae:"What is the asynchronous mode?","6df230c8f18709575777172f0a9a588c":"The asynchronous mode is mainly used to solve the request timeout problem. After the asynchronous mode is enabled, the program periodically polls to request for an additional interface after the request is complete to consult whether the operation is complete. Thus, the interface can return the result quickly without the need to complete process actually.",daf3aec137ac74941adb1b1d3e3dd1d3:"Asynchronous detection interface","0705e4aba9f22ae70d906e2201a4a68d":"After this attribute is set and the form is submitted and sent to the saving interface, it continues to poll the request for this interface until the returned finished attribute is true.",b4bc91701b86fe8543d649e97daea602:"Initialization interface","258c437ef67e5ef12f3a766ff1802f85":"It is used to initialize the form data",e8c46074d8432532cac25eba56bca354:"Is the asynchronous mode adopted?",d2af24c0f76cf325f1c8fa939576c379:"After this property is set and the form requests initApi, it continues to poll the request for this interface until the returned finished attribute is true.",ab94e2c30b3cf0fd11eea477f70dcbaf:"Initialization failed",b64292a1903bd969d0e3a558c334f5bf:"Default message information","8a5e590f69e1ae52d86396410ceeee5a":"You cannot set this option. The msg field returned from the interface has a higher priority.","3b108349b93f7c8c4e2346f8d48c092a":"The saving is successful","6de920b4e4e08b261cda928d9beefab4":"Failure to save",b66ef8966dad62d377bc5310d8b88e7f:"Prompt for successful saving",cf538bbe1fb431f9e2668da4d84cfadf:"Prompt for failure to save","6509e435d66db2a105b2444b1d3d0db1":"Prompt for verification failure","02e977ba56a7ccc59c277d2d5be43ba0":"It is packaged with Panel.","1cb01363e2463443bc8105f544ce2736":"With this option disabled, the form can display the form item only. The title and action bar does not appear.","1fdadb49bcabfdc36a4a9e020f597f4d":"Display mode","57d348e83d929dd4cb3bab04debc93a5":"CSS class name of Panel","9b26fa2b5943c827eea294e79b1427fa":"You can set Panel--info.","85ca671c1bb6de5a15456a9692d2edf4":"Enable debugging",f24b7483069b44490a6379be5b90f4e3:"Indicate that the data of the current form is at the top of the form",eb332076d766c2e817285f0a6d4860b9:"Formula","000cf7353ce03857c671e89c91b35464":"Calculate the specified variable value through the formula and apply its result in the specified variable","9da7578f9329ccaee1bbdf6a766744fd":"Calculation formula","77562ec3db28683ec71612a11e6b39ef":"The formula calculation result is applied in the variable corresponding to this field name.",c80c42a0be1b39ed899b1f5560875cf8:"It supports the JS expression, such as: data.var_a + 2. That is, when the form item var_a changes, it sets the current form item to a value of var_a + 2 automatically. If it is set to a string, it should be placed inside quotation marks.","89a8549c2ed7fc23a683599731d92b22":"Application conditions","8add6799ceff24eb041c5a6a92bb1694":'It supports the following conditions. For example, the \\${xxx} or data.xxx == "a" expression is used to configure the application conditions. When the application conditions are satisfied, you can set the calculation result to the target variable. ',"3df193f5d4f652a4bac331a69761041b":"Whether to apply it initially","86cebf86c66c6a4e6731b840c3967ab0":"Whether to run the formula result during initialization and set it to the target variable.",aaff9b44fa3c84058d6bec9888b7b39f:"Whether to apply it automatically","677568b4f6505bdd63387137bfcbf35a":"Whether to automatically calculate the formula result. In case of any change, automatically set it to the target variable.
With this option disabled, you can press the button to trigger the operation.","222c7bc60f06552b019d71bce57013ed":"Feature component (formula)",bb09a378529edac439abc2edf05c10d7:"Form group","39d36f049a794eb8df305b5ca7710c36":"Display multiple form items horizontally","32f6f7f8164c7f78e4b46eb50c158ab9":"Sub-form","400fbff5e744d3b7317dd130eaad723e":"Click to add a form item in the left component panel",bd1aded1c983ab7fcf3990f0dc31047c:"Column width configuration",a170a375b264f7fe0c02a7ca8c268784:"Width setting",daa0f354e189c0da577ea25be13f874d:"Adaption width","4db804afe5c99f7ca4fe988ada35c77f":"Adaption content",f1d4ff50f3828f9b73412e7d94e6dd6e:"Custom",d5d885add2551454955bd70411769c88:"Width ratio",ff7e66f1feaaed3260b6e8ef432efc79:"Spacing size","1b3408880b73544a3fad501dafbb71e6":"Configuration of column CSS class name","551481accddd97e18d7152f511fb8987":"Divided into several rows",d27d7b1542d91641d1d232c9f58b96d1:"Hide domain",d50b9a7291d45d1da8633439427afaef:"Hide form item","4f6595b5030e171fcead42d321ba767f":"Feature component (hide field)",b6946d13d670fc49b721b626bca426b7:"Array input box","6e43f86d0b2973c34078bc7c7bc02eb0":"The array input box allows you to customize the member input type. In fact, it is a method of flatting the Combo flat value, which can be replaced by combo directly. ","02cc4f8f5a9aefbc03c778f7a5c989c7":"Enter",a4b72cd5d7c953c57b00e3597b9ef666:"Array box","89e34c77922f9362fc8f4033e7f6bdf4":"Enable drag and sort","1362211a6bfc8cc4130d54643e8e9732":"This option allows you to drag and sort the prompt text",ba6a6f2cdb46e8f80fbfd4fed20eafac:"Input City","20700607ccdb7b6c83f3b5bc525e6975":"This option allows you to select a region or city",ee167d4c74e600248aefe9d0ba474705:"Change in selected value","770fe9e7899cd310b035ef50a39ab2ae":"Reset to default value","9633e6be5ecb44fbd69b3e8328cc8430":"Allows you to select a region",eec86dd33ae6186937da563fcde3555e:"Allows you to select a city","95892a76bc26c2db31087c9914e442b4":"Whether a search box appears",d1b5ad85ada6350ea1a1432b813700be:"Input Color","5a9e72d006165ae3dacdbd96f931f70e":"It supports hex, hls, rgb, and rgba formats. It defaults to the hex format.","6b36c6f7ec834692ec6c8e3816349fdd":"Color","277daf93adca7889605057f566b584bf":"Change in input box content","40fa260f07ed5a14f9516c0c37fbfd4e":"The input box loses focus.","3086da6514671fb8950171bf3af4ab2d":"Clear input box content",a47b08f4c83158a058c06e176cff501a:"Color picker","1b25b3b1b5076f0c2e6bd12d73c56f79":"Hide color palette","9b161db0e2e749c1106c702c8097d380":"With this option enabled, disable manual color input. Thus, you can select a color among alternative colors only.","05a64e0df1490a5db391e7a43eced6e0":"Alternative colors","6cbabc9a4cc07c1e26bb131c02833f8d":"Alternative colors at the bottom of the color picker","79d7c8cd739a1f94c7bb30c74323eaa7":"X (time stamp)","84c7af622906c4e9d62bbf905d6ee517":"X (ms time stamp)",aa2fb1b6cffd7c9783c11047adcdbae4:"Select date","8935dbb864f032bacc618b0938887ad7":"YYYY MM DD",ff91b28a49de6fd998dea31598198a73:"Select date and time","3e253325914594e1dc483c0b64ea7643":"YYYY MM DD HH mm ss",fbd05a89ca037ca9e5a6af4c2206d488:"Please select time","90696835bfa70d38b02ef5533d33c88d":"HH mm","6154f88c0ac259ace41b0a5be45d753c":"HH mm ss","904393383755b88e61f5c242eafabdda":"Select month","55546b74d8819d49cccda6277f3a3282":"Select quarter","13ef7828361c8aebbf6ebe09370f5e41":"Select year","4be42a8a2cbb9088b4d051cfd824d68c":"It supports the use of relative values, such as now, +1day, -2weeks, +1hours, and +2years. Meanwhile, it supports such variables as \\${start_date}.",be28cd64f978dd70c1cd345ebe751bca:"Date box, input-datetime, date and time box, input-time, time box, input-month, month box, input-quarter, quarter box, input-year, and year box","52ea2070560eb55083b64f5ba748697d":"This option allows you to select year, month, and date. It supports the setting of relative values, e.g., +2days later.",e54ca3223a36c6489de0fb8a39d4049f:"Date configuration","96f9d9fc9cef8b18e3cd1cf9077147d1":"Be triggered when the time value changes","0a72b3858efffaa1bab685fa840b701b":"Time value",f6db3514c72bdc34922f137a8a92b997:"Be triggered when the input box gets a focus (non-embedded mode)","0f5fc3b84cf9c24ff3acae45ae22fb57":"Be triggered when the input box loses the focus (non-embedded mode)",e02d111d524de97e8622121f7ce845cf:'Before the data submission, format the data according to the setting. Refer to the format application in moment.',ecd1a3cadcf1d55250afafbbde767250:"Display format","182503224cfaf1f63c566f13da56a2a4":"Refer to the format application in moment.",bf8f46b5c3b309f666965a74d57ac093:"It supports the use of relative values, such as now, +1day, -2weeks, +1hours, and +2years.",f0789e79d48f135e5d870753f7a85d05:"Mode",a553741d5ebb9c80d7d2a63b202cf4b8:"Floating layer",c6e1b91d329a61b691d0d5d2eb343ddd:"Embedding",a2847d82fc998cbe25447b14d113234b:"Select date range","3f9c3a9eb55b7116bcaa6b614ecb38be":"Select date and time range",ddc4a982defd88cd164c61da914819e1:"Select time range",c899221db27c8b3606ce7c807f0765f2:"Select month range",c09ddfc72d3c34ae6aa76d5a457cb403:"Select quarter range",cb6deedf9cd4a0b65abd70798cfed85e:"Select year range","7866226eb814f681dcc4037e7489aab8":"Date Range","28de3d73d839b616bd617b3636669780":"Date range box, input-datetime-range, date and time range, input-time-range, time range, input-month-range, month range, input-quarter-range, quarter range, input-year-range, year range","9024ff398faf8340b92bf0208431973b":"For the date range, you can set the minimum and maximum dates through minDate and maxDate.",e7271563debf3c7bcb85e23816c35acb:"Minimum span,","6f44927b5ffddc499e4dc26889169143":"e.g., 2 days","6da95498bea887b2ea7c6c2bb4b2fdc3":"Maximum span,","61fd7e3e86b168be41ac2e37237e1788":"e.g., 1 year","2f8d6f1584b73bfc6dada44526abb502":"Yesterday","0dc86a275145ad5a7774e594f0d94a06":"This week","79abd4ee3661ff70c7d79716c8aaed83":"Previous week","73bef6f0c997ffe317c868c4716baab0":"Latest 7 days","8f2a5a5f6e3777c7a0e1ce9484a2f7d7":"This month",d5578d93388a5b2552316418cd1124da:"Previous month",ffb2b7fbf227d9d21e03d0f160fb2a34:"This quarter",dd657784cc0d5511d2f25459e49ead1a:"Previous quarter",d3dbc7a7fd9fc5ccd168084c8579c1ec:"This year","2f92fc7bf6ef3dd57c514d0797fe2f1e":"Start placeholder prompt","592c59589144ddc68d05d528da17dcdc":"Start time",a04c4894d83323d187f65cc357fa646e:"Post placeholder prompt",f782779e8b5d709462c8e71e0d9019f2:"End time","59a81f21a829e24e9a765c4d6e509e68":"Select year, month, date, and time","5eb8cb70e4dc97622c967d7c7efd6566":"Date and time range","7f4466c0a16a1808b5ee398ce55997ab":"For the date and time range, you can set the minimum and maximum dates through minDate and maxDate.",ab37cc3baa3ec204bd7ebfa450568c40:"Email box",e3c0d799e8880a36edb07e34fd1bed67:"Verify whether the input meets the Email format","3bc5e602b2d4c7fffe79258e2ac6952e":"Email","899339c1133a6100a1b223680d26692c":"Upload Excel",b0e4a21f29af38986eebbbf867eee31b:"Automatically parse Excel","7caadb59b5892d107a909816b6571c66":"excel Be triggered after the upload and parsing are complete",eb3daf37c93971703187ecbacb00c74e:"excel Parsed data",d9435aa8028acfc660276c4e0af5536a:"Parsing mode",b14494137c805dc66bdc9ed88d7fd2de:"Object","0e67d4b0e351b00f4bea9840aa6b99d7":"Array",fe5c59cbac3d45314ec6397d9f75789a:"Whether to parse all sheets","50b10b178196378f4359ce11bbc31372":"Whether to parse the sheet into a pure text","1647e4bfb548f2e8468d10b4b3bfbe21":"Whether to include empty content",ec1f230a0181d79b37967a455b1f3515:"You can upload several files. Also, you can configure whether to automatically upload files and to upload large files by dividing them into multiple parts ","8dccb3d6633a85edb21fa52599211654":"It is be triggered when the upload file value changes. It can also be triggered in case of failure to upload.","5560230c43dd8d8c2b4a62d829f152b3":"Uploaded file","7dcb3fb3ccc93369798d4b6950e96058":"Remove file","03d585240162dad662a0a6b5d90a4692":"Be triggered when you remove a file","6775136a73e41c1b2cb4ab025773e326":"Removed file",a7699ba73144aad544eb9ac49f82749d:"Uploaded successfully",e309c24c2b07e5970208a82388f1d88e:"Be triggered when the file is uploaded successfully",a27518f50ea00aaacb2c4e52f113eeb1:"Result data returned after the remote upload request is successful","54e5de428ca9d59119d4624706215a4d":"The upload fails.","4855bc3f3d06b9cf58d14b61839c5a51":"Be triggered if the file upload fails","236dc056d6800bf423df47520637c52d":"Error information returned after the remote upload request fails","36d40a48f3da92af9fe55ee77cfae46f":"Clear data","18843505278637e44a29e7e1f39e0b06":"Clear selected files",cf6e87cb9edfa398ccfc3db377e34ca4:"Button name","0ec0e6e04b9e918939ac8e0daf407b75":"Maximum number","0a9dced8856958fbd05508d1218f8090":"Maximum volume","3e999689c93e7cd95ce6acdded1835fb":"Submission method",d28879b6a8a4ddb62bf6f2ab59303df7:"Submitted together with the form","3a76423b7ae40b0fa8b0bedb470cce7e":"Separate upload","7c6722203327e8173be987f36fadf610":"Data format",fde1ab2f504097f3f717acbb653b4f09:'${formType ? asBase64 ? "You can use it for small files. By default, the file download address is submitted to the form. After setting, the base64 format string of the file content is submitted to the form." : "The File control does not take over the file upload. Thus, the file upload is directly completed by the saving interface of the form. You can choose either of this option and Base64 (什么和Base64 ???)" : ""}',"6168fb08fe64663a502a132c5589b73d":"Binary","7245fe895fa1cfc42b5217a3de314565":"Automatic upload",cf9e4c80962e712eaa55551cccff317e:"Enable block","454dbf9b835af8627d4dfff2903298b7":"Block size","2af0c8b5999a1d243ec5fe503da20026":"Block preparation interface","5548252bd28fc1d217d13a9e5771ecb0":"It is used for the block preparation. A file can be called once. If an error occurs, the subsequent block upload interrupts.",d7832abe5b9ce8e41537b4964fd7cf70:"Block upload interface","14008d63c109cc0d0c4ba305671800d2":"It is used to receive each uploaded block. A large file is divided into multiple blocks according to the chunkSize and then each block is uploaded by calling this interface.","70c935fa7ae03aeb1ff87b878e16841f":"Upload completion interface",c88aaeddb5aa95c7627d84df33929e3f:"After all blocks are uploaded, the `eTag` information collected for the uploaded files is merged. Then, you can request the backend to complete the file upload. ","1e4dc4d5f4a3a95ddc349147d4d8cd39":"File receiver","258d9e27231b06769dd584a3365545ba":"By default, this option is left blank. The files are uploaded to bos. You can set your bos address in the system configuration.","28b988ce6ae6dd62d24bcb8a52119179":"File type",f0a37d6f810c73a2f936f33035d99056:"Enter the file suffix. If there are several types, they are separated with ,.","58892b7a6a785706712761d5aebb4639":"Template link",af4b910df15b00ba7fb5163558389cfe:"It applies to the scenarios that have upload format requirements, such as excel upload format. Also, it provides users with a template download entry.","26d384ebe61b6ffe0e64310331f9e998":"Drag to upload","644d03767c8148de6651cc6b00b0173f":"Selection button",d1b06a828d05b0ff72328d50b16a8443:"Upload button","0d4ebf2f4a10336011cfe0466b29ba5c":"Input Group","5b7363cba6bad37b6614809e9bd90746":"The input combination supports several types of control combinations.","13370c4a5c95eff126068be5cfd2a9df":"input combination",ff10d1d90be63fbcdc7377435bf18f96:"Input combination","0a7f8e17f8487c3715a154bea698778e":"This option allows you to crop the image. Also, it can limit the width, height, and size of the image. It supports automatic upload and upload of multiple images.","295afc11c5fad1a6d97ae174abfcc5bf":"File value change",d4633ba7a30303a59891d051a7715cc9:"With this option enabled, you cannot enable the crop feature at the same time","22616e32a895c56187921ac6cc673f51":"Maximum image volume","13446481eaf0a047d8fddf159d981a7c":"The upload is rejected when the file exceeds the size limit. The size is expressed in bytes.",aeae3dd09f5cc972944a892802244483:"Maximum number of pictures",eec48d0e729f7260544646c60ef6580d:"Upload is not allowed when the number exceeds",b582587147013afc52c58de5fe34d7d7:"File reception interface",d24bada35447c81d7d7ddec13c44b576:"It is a file reception interface. If this option is left blank, the files are uploaded to hiphoto.","7c5e7ad8954effd97cb78dcb0e8f99d9":"Image type",f816b3decb401dcd0c22db7f104beccc:"Enter the image suffix or MimeType. If there are several types of images, they are separated with ,.","99e6b6011bacaabc18aeac70390252a3":"Placeholder image address","886df74c6a38c09891f46bd029490ae7":"Whether to turn on fixed size","037805d2f16cfe69e3145c9f436c06ef":"Hide upload button","80f7e6960804df47856301e7ad8bef6d":"Enable compression","2c4a34adf66f12d0a08716383304a66e":"It is implemented by hiphoto. For the custom interface, it is invalid.","5d8ff202988e28795bc72ab60d67d79d":"Compression configuration",d4efa8f599c1effe67bf6a7f38a9c40d:"Whether to display compression option",f8a68f636880acd097317f16aeacaedc:"Turn on Cropping","3d948d24bc4c29689c5a1d4bcb9f2b98":"With this option enabled, you cannot enable the multi-select mode.",e09f3466f78e62c1494fb36816950501:"Cropping ratio",ea172e50aedd5afb561ef02ca119821c:"Whether it can be rotated when cutting",ae948ea02f5abf3c6409b1c3fe3a2295:"No during cropping (scalable)","4697838df60efb48d857c12387c6d795":"Crop region limit",bc436447f54b10a9ac3f0ee3e1b863dc:"No limit","7ccc0313ac4c40b364f482341ecc3bb8":"Drawing area","4db4c540f05524c38e9431173736517b":"Image limit","93f0c741d286a0353f95afa4a8aeff64":"Width Limited","5738784edf25dd7c3e40e0c1af4dc80a":"Height Limited","367e853038270c93e2c35a2bfdf0bcb5":"Limit maximum width","3693431e7944d7d46959b44b93de894c":"Limit maximum height","37494f474367871edc678cd5f4fc8ea8":"Limit minimum width","484abb6891d6ea842c58e5ada6dbf411":"Limit minimum height","9b43b6d003635fbf2e02f9bab12929a5":"Limit aspect ratio","2e81b2a5e6d523a70db93481f01af875":"Limit. Limit the minimum height","1765a2daba3ba8c5af95e66fa83545d4":"Aspect ratio description",a7b7da38fcb8e246e910e178c5fe4ebc:"When the aspect ratio does not meet conditions, the description appears as the prompt information.",ed55564c631322fa3042c77286d6562c:"Input KV","746dd83e6891ccc9a19804c23c2c4443":"It is used to edit the data of the key-value pair type",b3747d09769d3a2ea8aa664edc901212:"Be triggered when you delete a combination item.","654ad5670efdd25f1417958a7026a355":"Value type","9648d874d516a87965066342394e86e6":"Key prompt information","4dae7425b21494a318cd4a69ce24608f":"Value prompt information","233662283039ded8c29f070d1a807029":"Whether to sort","4f9c849b6b7f048cfd242cef3e707a58":"Select month","7c3885e3c3eca4d95521b3e220586628":"Month range","5b4ad7ffa6eee985e72e002bf18ac09a":"To select the month range, you can set the minimum and maximum dates through minDate and maxDate.","1e65b8181e9a40e76b86e2c261cafbe0":"Input Number",c45782c425bfc31824af8129bd6e0282:"It supports the setting of the maximum and minimum values and the step and precision.",acc945d0c8449dce7dc1441f466ec413:"Input value","5f914e36c49db618d06981df7b3c4d81":"The number box gets a focus",e52c2701b682679d6c670a8578cfa382:"Current value",efdd0d8923130f281b54506eef2121cf:"The number box loses the focus","0849471829a565a8af6b70a46346e574":"Clear the number box content","33bf23fcb86101a9994b7e4bfdc2b062":"Enter a number or use the \\${xxx} to get a variable. Otherwise, the configuration does not come effect.",e284e64008fd8b066da04bca335d032a:"Number of decimal places",b317cbf67c94f986fc44cf4cbc2280c6:"Precisely retain the number of decimal places according to the rounding rules ","4c9bb42608b11278a5d9a2471b74eb40":"Prefix","0c8fe8b3675b0c7f5a896a153461ea46":"It appears before the input content. It is not contained in the data value.","242d641eab57223af01fb29940a096ed":"Suffix","7915dcc78c28ed3cda8fc949a86e4806":"Unit option","8c80ed1f85135cc9153d0b7406ac5b38":"Quick edit","0a8c852e27763a18ce5b72a87ba8b5ba":"Single-side button",de93563a076f72b3e919870c9dad9935:"Two-side button","5dd92ede50cc183f0f067dd29be5c325":"Password box",a8105204604a0b11e916f3879aae3b0b:"Password",a483bccf85587055ab31314ad1d2f82a:"Quarter","549a2a421951fc8c304c6223f346e024":"Select quarter","39891e1760c79287985adece9a107fd6":"Quarter range","6036c91d6b0b6d1a2468684e597d9f70":"Input Range","4c65f10eacbfaf580236b5cbe2de68de":"Select a value or range","0a6a4aee139530801791c556e7177a7f":"Be triggered when the sliding block value changes",f34b1a3e26aadb6f60c546dbe9c62232:"Be triggered when you set showInput to true and the input box gets a focus.","404625f170839b2a24d7ab65304c2fe7":"Current value of the sliding block","7c9ec5db3bf23f367c1a905d356aab5c":"It is triggered when you set showInput to true and the input box loses the focus.","1659f1112dd649ec55390fe7c8e3b1d0":"Clear input box","7220e4d5f9f65e4fadee5183f2e0c54d":"Method","9ec172e2cdff6146d623087d567c8574":"Single sliding block","753a8c54d3944e252be1af928b8e7afd":"Double sliding block",f2996845b6bf0a07fe26f74f35e42ebe:"Units",e48d95a94e49b81b12a0113a5c253d8f:"Value label",a465db53b8c98f42caa15ca5662f9c90:"Direction","3aed2c11e95a9c0ea1d853d4aee72e8c":"Auto","1d1a0bd85740653320d80f0d6e0918e7":"Inputtable",d22aa5f57ff8679ee7b7d473ef31417d:"Resettable","15628d1d85aee23c229c528a70419414":"Track","108db12ed4454cf1ab4242ca98442b7a":"Scores",f11a0f49123c2099ca6c6162ca37f0ec:"Support the read-only and half-star selection",ce9201dd7d5816945fbedae79927518f:"Be triggered when the score value changes",cef3580fce1b3156908cc852dadef892:"Score value",e2c6470c3f2e76cb98ba951a64e41c3d:"Clear score value","09bbfb387dce6201df1ccef2aab161a6":"Clear","5ea244a79d480632f635a254c95c38df":"Whether to allow you to clear it after you click it again",fa6f66437097fe23c948f4f9b78ecec0:"Half-star allowed","1a10cd6599219eafb615b34234cfc0b5":"Description content","9c07532d0c9acfecfc4ec2eb265c3e03":"Characters","2a3d1f6d5b0afdbf04033e2f2c1fa11e":"Failed to select color value","497562b3159756834c7adfe9525bd7b5":"The default unselected color value is #e7e7e8.","4dd547945b10f672a7e48d7ffc42496e":"Select color value",f186d55a48868a88b026d48efc1cf36f:"Score description",d38056d1c6aa9456f4b6b2c20aab06a2:"Input Repeat",b3389af540d99fe9e51fb2995dbd6dff:"Select the repeated frequency, e.g., hourly, daily, weekly, and so on.","2d842318fbd931286be387aaf5b2a7c3":"Cycle",a2d92b5adb07a4bf8a45e55643bc39f8:"Enable unit","42c036311993897680ef37f11e4e20a8":"You can customize the configuration bar of the rich text.",e2591e971f4c28db7c80a5f546084a1d:"Rich text","70209fc05c1a5b21f05b186a0f7ba2ee":"Editor type",eca97e97331bd76aab9f6160991e02bb:"froala setting item","39624e820b79bbd62561357f6179c8d7":"Prompt language displayed when the mouse is over the configuration in the configuration bar",a7bac2239fcdcb3a067903d8077c4a07:"Chinese",f9fb6a063d1856da86a06def2dc6b921:"English","81fafee54baebeb9591b5e7840d7e650":"Configuration item displayed in the large-screen mode","0b6eee152cb2553ed4298ca2fe82d3f8":"Screen width ≥ 1200px",d85a80d177db696b29b7338af1501055:'The configuration is separated with a space. You can group the configuration bars using |. Reference documentation',f126c4368fbf51cfd470684e7c3d31c9:"Configuration item displayed in the medium-screen mode","3b8c320d14dba586c581ceb951917397":"Screen width ≥ 992px","89bc688b5b497e515ce3c026a1d92669":"Configuration item displayed in the small-screen mode",a849d8a0f59f3ae146b149b7b4fc7480:"Screen width ≥ 768px",b8c8f1c6a56e902bd837420da0f554b3:"tinymce Setting item",e4d0e65de0018b63698ff22d683d6dd5:"Whether to display the menu bar","63068211669d69b4028eebe0052425e7":"Enabled plugin","8cfcd52cebdc2555b202f4b03de93662":'The configuration is separated with a space. Reference documentation',"1a920d9999206a9fa5f588c7405fe081":"The SubForm allows you to configure a subform as the current form item.","18c113b99afa964ee988f30e81baf12b":"Name field description","4d930a9c13fca9d74e1a77496abfaa58":"The button description is displayed by using this field value when this field appears in the value.","307ae20f587910da3e9bb4e885334b6a":"Button label description",e366ccf1556c0672dcecba135ed5472e:"Setting","70c04a0f4522e39fde5f18ebc85b6232":"The minimum number of buttons is allowed. ",f58ea00f6a84bcb1cac174d1f68c88bd:"The maximum number of buttons is allowed.",e41fd1934b82f93f5737827be7323119:"Form edit box","0fbb26a646da61d2123319b4d0144ba4":"If it can be used to display the data, it can also be used to display the data of array type, e.g., multiple sub-form.","4ba0387a2daf11ad9c67a75b52819eb3":"Table and form",a80f36ea893b8135df8d9266bf13afac:"Description text","1f9794dd5634220ed0a498c666cf46fe":"Column collection",b2c712c788d3a143206eee22fe24d9f1:"Green","6b93fcfc1a5795189c6072fa6e86d4f6":"Quickly build the table","0c14e431f1b5ecd163f8fa010a0654c7":"Add a column","13c250c68608118463871ce7cd8b292c":"Form edit","6a2f67fe2d8bb1d389eb934dd8a72b1f":"Add button name","44177f78c596be113d4fe7c6bd7bb46a":"Add button icon","1d34fdbdcac357588c255c1ed2336a3f":"API submitted during submission","96848841ea9b2a7d692aa6de57aa5e3e":"Delete button name","34f020715121478c6a8e4654954c84fd":"Delete button icon",a497289d862c6aeff8e61b6479b1081a:"API submitted during deletion","748f181258041bac1fe7346e970dfebc":"Whether to edit","412e319fdd893e6f3b26a1975d21b0e0":"Edit button name","396ffcbab4e21acb77f6987f18ec94a3":"Edit button icon",c128de224b606b094bd8139890fbe215:"Whether to copy",d59abc7020b4a6d943a0031da4518422:"Copy button name","5d04af0e9d59ab3f1265cd8345c2517c":"Copy button icon","681bdd6184b526ade9665e6d74976863":"API submitted during modification",c29e632a658ecb98edb874833b070e98:"Confirm edit button name","24c39bb36955b3113baefcfc20c5f60b":"Confirm edit button icon","9c68c27e8939af40897d1b0bca0360a5":"Cancel edit button name",e54289c1f0e9311185adee89af24e618:"Cancel edit button icon","1205e138ba64dddf61c1f8e6eb3a1aa7":"Confirm mode","1c1618f67cfea6fefb5f287932be2c27":"Get the parent data","5831c1f77c5acefa6dfe9c64d06ca78a":'Configure "canAccessSuperData": true Configure "strictMode" at the same time: False Enable this feature. It maps the variable with the same name of the parent data domain automatically during the initialization. Note that it is mapped only during the initialization. Once modified, the data in the current line predominates. If it is of form item type, it is used as the initial value.',"677fb705e57897710d28867b7628307e":"Input CSS class name","14d342362f66aa86e2aa1c1e11aa1204":"Label","1b4996b29c7b4d5fb45ca701e6438d14":"Configure options to implement the selected option.","52636511861a0e08cbe6a0eb1c27d816":"Red","9c9aabab3f7627ff4bb224b2738b26ea":"Blue","9888468550779b1777260b8fafe6abc2":"Option prompt",a2cbb42e488dffe644bdb87c26afbc07:"The latest label you use","6f6fa31a91b516b28ebee7a86a9b13e2":"After you set the option, drop down these options for your reference when you enter it.","379b5486e7860a9f38f37dddabbb094c":"Text box, email box, input-email, URL box, input-url, password box, and input-password",f222f5413d3854897741e0ec4b0d2c7b:"Text input box. It supports the input of common text, password, URL, email, and other content.","9306b956ca5950203ee49a2680cac63d":"Additional widget on the left side or right side of the input box",d548d3e938088d5d469a28c20e939750:"Automatic complementation","424cd425082360322678a5c8d6910b80":"Call the interface provision option according to the input content. The current input value can use the ${term} variable.","7e9c83e86beb612377a94e6e8d1fc644":"Display field","26ff46d82166741297ce666b2792af85":"The data field corresponding to the option text. If multiple fields are merged, configure it through the template.","6d4ce0631f37676a887c9599691fabec":"It is the field that corresponds to the option text","2e01f5f5889e33d003bec7857cd38445":"Value field","959c27193eb0a41d01f4b53dcc4b9245":"It is the field that corresponds to the value.","82a61b32c76fba3dc83e2611624e93ec":"Time box",c54993eb4c2a46263cca2e6bdebb051d:"Hour, minute, and second input",c166d8f9804ecef74b3b74190599a7b8:"To select the date range, you can set the minimum and maximum dates through minDate and maxDate.","479728c411bac59bc44d5ab8dc3cb4f0":"Tree Select","15ac5d800c0163b4b806622739478e9b":"You can select it in the tree structure. You can configure the option through options and can also fetch options through the source.","57a6105deead3fec79028cce7bfa2004":"Option C","9bc04a190ce0a5ba1ed473cb628b5ed4":"Option D",f77f634e6892c6447c5d9df623e42aff:"Tree selection",b35014ec330e91860bb188200fba12db:"Select node value","65d76d0590aa6e05d61fe8db4c6a11ca":"Add an item","0761b99481b1bd10c1d6aad6028a8281":"Be triggered when you submit a new node",de2392357fc78e9e0f0946bcc0af87b6:"Added node information",cf965b232227a0e9d14f4f7e31b01c62:"Option collection",cd994c38456676f5a55c5593b6a652bf:"Edit option",e385c7c6f726dc2641866d9050777efb:"Edited node information",d015e18748f42f53bb6ab213e9b06187:"Delete option","58cbd355c5bdb80653a8ae3d3b316c37":"Deleted node information","58995b490ba67e5d29dd87f422b14861":"Lazy loading completed",ec2fb7a5db150690b14b63f83d9d4b30:"Be triggered when the remote request from the lazy loading interface is successful",e6b94af26512b3f7ea8eb1433d4a2aaa:"deferApi The data returned after the lazy loading remote request is successful",e2edde5adbdf33f6dce59a299cbf5fad:"Unfold","38747bcbc3c47924098076ee87e59933":"Unfold specified level",a148ea1749eaf611df5cc95b533751ec:"Unfolded to the level??","37252d3a5eb0ebab17bfce14968b47c9":"?","01356df4561f9da87d2876ec9c0dacfe":"Unfold levels",def9e98b60e3bfc493bcd7693e702096:"Folded","3ebb9059b6abc8f80a212b5795270ec2":"Fold tree nodes",d81f0b9079d5a38bbedffeacaad8b905:"Delete data",ce5e449208bb568eaf722bab9a20380e:"Reset data","25ae4ca8d4b8a67b273066a97a516327":"Options",fe7509e0ed085b86f07e3e9975cc5b3d:"Value","72453d792655604f1fab821146133d7d":"Sub-option","210da23d108e85b2f0bbfa85846cb792":"Add a sub-item","7dae2e2c470a12011e0c8b831506f656":"Hide top level",feec2a81557811b7fc38b0e6b758c3f7:"Whether to display icon","018d13580184c6ca3df616940ebaee66":"Do not automatically select sub nodes","210bc6834481c05ed90875d87a262ed5":"Whether the child node is automatically selected when the parent is selected",b39c6fb1cdf629d3f3032d6c7d4694a8:"Whether the value contains a sub-node.","1fa482fed3042cac9f96c6f43c13f84a":"Whether the value contains a child node only.","55b50a43f58fa746600d6bafdf405336":"Top-level text",c48d9f48ce8a798772f17d1f47560529:"Top level","945da00807804cb992a3aeb0ed6ea698":"Whether to display single-select button","13604cddfe74bc9b9078dd61f9fb94ef":"URL input box",ed2e16700e32afdcdd745aa31454edb9:"Verify whether a valid URL is input",b233766d3fae72574d3f9ee98c5be120:"Select year","32a750b4fd61f1cfe37cac7147f05b3c":"To select the year range, you can set the minimum and maximum dates through minDate and maxDate.","973b69af999dbdf4fa124df8c928ca6e":"Read-only mode","710ad08b11419332713360d2750cd707":"Disable","7abf78a41095c6d21a1cc89b4a876233":"Delete form item value when it is hidden",cd8992b644e6c18367861a4d913fd116:"Verify","1040279cf7b8dbdb842f597c30095f62":"Check API","133886b10fd9721e6cf91b76f2df5b6e":"Separately check the API of this form item",b95c6e14a4d8f6a6c6d99d583916f327:"Merged into one row",d22dfe420e4b00e000b93f94db3c856e:"Select List","5e391af52da238f13c78b471a7cc54f3":"You can select a single list of multiple lists. This feature allows you to fetch options by source. You can configure images for the options and also customize the HTML configuration.",d1f923b8e23b66b3e48953ba1ce17839:"Location Picker","989ea9acbab9b17d2c15e2946b5365bb":"Select position",dffd9d86d2003615897b12ce7597d77b:"Baidu Map AK",a269e7de6c7735290733eb3e574c2129:'Get Baidu Map AK from the Baidu Map Open Platform',b472ba224a7d132c487ee6ec4798f835:"Coordinate format","36443b53c845b197db8d39eeda433ab9":"Baidu coordinate",f58cb611aec0998a44ef104b5c950b40:"Coordinate format by State Bureau of Surveying and Mapping","076a041dcf45a36b29c5cdb8b8eca922":"Rectangular Switch","183aae5eec1ff547833dc338aaeffc9a":"You can configure row single-select and column single-select, and single-select or multi-select for all options. ","7583b85ff3579d60a9f9d323c2f6674a":"Row title description","3fc35bb610852289cf718f07a5b79369":"Column 1","50987924540e6e35c78246031499e75b":"Column 2","08a6996be7a86af5692cbca41922a5d1":"Row 1",ce31d858c63395098c5e4cd892bd473b:"Row 2",e9b376d39966c8182683019f95ff8cf3:"Row, column, or cell single-select","0f244785fd9f555aae9797db4d14fb09":"Column level","5a57bd526cc3170b6c86f920fc24cdee":"Row level","45dde5879e77d7f7a15d04b8fed26ec8":"Single cell",dc7558211f2990370954c2e7ca498ee9:"Column configuration",f4c807fd8453f4b3fdaab02fb9c21ba7:"Add a column","39886861ea5d8b526e0ac5ecc78d110c":"Column description","34ad26bd1fb448c7f2384252d856c02b":"Row title text","48baa62373a2f90d6aa743d7821be956":"Row configuration","854af3c2cd9c275ac70fc5121ea4fb2e":"Row description",bf306308e467aeb7b00df0e2dd127d06:"Add a row","75bf5fd49520bce97de632700fc8a129":"Get matrix data API","24d9de25721d1fb0ecf89ef81c43d877":"Nested Select","10d1cfb7219a5445ef1e70aa16e4451d":"It applies to sub-items contained in the option. You can fetch options through source. It supports the selection of multiple options.","03cd388fe29a4fc116c0021e496a113a":"Option b1",fb00d1c1a65d3739c03a0b2715168327:"Option b2","353ae08afdb3d0a3587e9b27ca239c33":"Option c1",bea7ad76f0f321124ff614a099cb9a85:"Option c2",dbdae74eb12668e2b9568b013bf27d45:"Retrievable",ae45cdb51c795df3b046f71afe3611bf:"Blank prompt","601bb29fe72e56930dea03ae3e1aa555":"The text appeared when no result exists during retrieval",e3be7b8a459a08fec8f378a0660b642b:"Multi-select","6a7f7d89c8f1f3e6aab0962ff920b145":"Parent option as a return value",c23eb92d1f249452c3ff3ee13738b47a:"With this feature enabled, you can select the parent option but cannot select all child options. Also, the parent option is used as the return value.","8fcbfdc1a9403f6339d81911473806da":"Picker","819776e8d96b1438eca3594f47bdb1c6":"Through the pickerSchema, you can configure the data source available to select the data you need. It supports the selection of multiple data sources.",dc0c50a5c9832b393df34835111c34a3:"Enable embedded mode","1ac065ed64b81380384a0b371d5b404f":"Configuration option details",d64b585847f015eaa1443a3a03562350:"Display the style of the selected data","0861915dbac25ccb573b3bb72ffeebd7":'It allows you to get the variable using \\${xxx} or write the template logic using lodash.template syntax. Details',c2c23b4fc7f695c58e947ad413f2c5d8:"Checkbox type","33e6c41fed95c25e3b426d596d504579":"Drawer type popout","5a7af8d3e471d98339c84b07a844547b":"You can configure the options through options and can fetch the options through the source.","1e890599eec94efccec337cd474f7f1b":"The first option is selected by default.","46110787e4774b81418b274e9b06127e":"Display one row of options","83a00680e0872e2a35496be7e12c1309":"Number of options in each row",c30264927c3c170efd2e7763becf12fc:"Single option","8a0c1f35cff334fc105b6d52b195369d":"It supports the selection of multiple options and can give an input prompt. You can get the options using the source. ","75cc2a992ea150d3a6c68ac4bc486637":"Added item",a13b85bddbcdab63ef2b2d98dd46afe9:"Edited option","8aa4d6aedd7957ebc6b87fec655695ef":"Deleted option",e19c0792886a147d74fc662d7af138bb:"Display the selected value in a single row",b28aa9c36d0b506a71aa78b628e796c6:"Number of labels displayed","2b23767de575e27fc9e4e0949e885f81":"Maximum number of labels displayed. The floating layers are folded in case of exceeding the maximum number. All labels are displayed by default.",dfac151de712ab0b3618072c8a7f0a0f:"Advanced","406af2b98e6210cd42d7f824cb6dfd16":"Option value check",fa8d03e8b5458c1a1d742736bc26e25b:"With this feature enabled, the option text becomes red when the option value does not match the option among the current options.","33e7b7433fdbeafa1ef71105ee28c061":"Static",c99e0a675933de39693b7e80d5b70405:"It is purely used to display data. Also, it can be used to display json, date, image, and progress data.","134492cd10a0646da6f23a743feee6d4":"Static value","04f5f12c49c2a6fdc43da049591328ad":"Static display ","663a93dacbba9f7860dca783cf772419":"Quick edit",abd733d00ec656e7b0cfd88deedf102f:"Quick edit mode","78f395c15aaf8c92d9223f6ca69b41a4":"Drop-down","5e2d1e872682befd5350687f94a6b417":"Save immediately","2d2eb2ac28f074d1caef0d332d61cfb0":"With this feature enabled, the modification is submitted immediately. Instead, the modifications cannot be submitted in batch after they are marked.",eccba4475f3144e417e55fd96e831e09:"API for immediate saving",c8e5c062d5ad38e54413abd9c7cfb2f4:"Whether to separately configure an API for immediate saving. If no API is configured for immediate saving, quickSaveItemApi is used by default. ",c3ed36e4abb96c18a6c83350994cdea7:"Configure quick edit type","45a6c55d8d2d92af84e219defef084d5":"Configure quick edit","3f337f436989e9847790e4435423f77e":"View more display options",f7247cd14bd964b883bbb481892c440b:"Pop-out mode","2a2924380dfcaea998bd8a49703545a9":"Drawer",a06e8df4e9232cc606e0202e06a198d8:"Floating layer position","68b54e7b408c4fb83561c931aa668eae":"Middle part of the target",e18459c93769a5afec01e1ce60f9b9fd:"Top left corner of the target","1fc3cdd8437f5057774cde2f2c51f97c":"Top right corner of the target","63dd9faca92bccfd436ff21a6b4b3151":"Bottom left corner of the target",d01c239688b9c8fc145191ee642dc080:"Bottom right corner of the target","8fcf9802436282672a8e28ebd6262390":"Top left corner of the page",aed25160b4e8cfc613a743c4549e9222:"Top right corner of the page",d4a4ab1916187e09b9c037705fd49ffa:"Bottom left corner of the page","921fccbb84c829bf8c6f0b9957029f44":"Bottom right corner of the page","1d53f83df1d889a70131b7a93c819575":"Content details","8dda45360dcf9ca501fd7d0eb53045b5":"Configure to view more display content",fd389de167730ba8542217ad31b95562:"View more content configuration",f9a9fcc3bf6a3c8ff1e99fa48ed6d03d:"Copy",deb65aca8dba2ff9d0cfaed0a3441068:"Copy content template","622e14515c4fd5ca6fe6946e3a1bfb4a":"It defaults to the current field value and can be customized.","261bba7ad82914e477f4b37f6a83874e":"CSS class name","16a20243f9b741c08216dc9548de2968":"Overall",e1b2f870112bd38f8d7e14a0ad589930:"Control",d38b7fc2d31e0ae21cb4bc7d7df14e92:"Switch control","6e17d8bb70df1c1e379fa86cb235ac82":"Switch form",ddccb436305b0a984c77d4ffa0725375:"Be triggered when the switch value changes",a75c768fda740b2c8f6e2dcc76400f23:"Switch value","7e1eec8349c4998d142960009305f27a":"Fill text",c580bacf343343f04a1b551e46d02c4f:"When it is enabled","9ff352ae39cdaeaa4fc54f83575eedc9":"When it is disabled","48433deca382e67b26af31c6ff967d04":"The default selected value is true and the default unselected value is false.",cadd676e2710e50ac149211078f8a306:"Selected value","13f19e1d0dd528aafd6263fafdc35e82":"Unselected value","617a63f1b19b5aad029f973479bac917":"Tabs Transfer","4f26f1edebcdeea90f6e4247a501dbaf":"Tabs Transfer Picker",ab5dea29793d933fa7b5487a7309df6a:"Member","71f8043aefd52572b172e7d1fbd5af57":"Magician",fda93c79275b812a6c1c189fbebf8b08:"Zhu Geliang","573cb0d34bd1cdc7b368c59db9b7bb7d":"Warrior",e37a86d1a1dbed0cd53c95582977f075:"Cao Cao",ccddd2de691ff2d56b651877f72d90ed:"Zhong Wuyan",c0db8e7b42528eeae96310c6629e53b3:"Jungling","293040fc607f40caf6d6e16042012182":"Li Bai",b5256ec780343c4e20e397b43cab96a9:"Han Xin","49dcf9f88e7b7b8ca7448631021d7d12":"Yun Zhongjun","1fd02a90c38333badc226309fea6fecb":"User","8b3a9a5c912610c384bc8dc2c8514386":"Select all options",e1112a529dc969a03bbbb409905ff2ec:"Tab change-over",d202bc660c4d2eeb58e194b6320bd235:"Be triggered when the tab change-over takes place","9e7a97a3d043f566f2435329e01e09f9":"Currently activated tab index","91208131116f2823993daf99f15e1325":"Clear selected content",dda222620b789d07c2c5c279475caaf1:"Reset selected content","2ac24a383a1faae33f81772b757b2817":"Modify selected tab","91f894b900f593c848e5b21f2b414b05":"Modify currently selected tab and select other options","791959f9b90734dce08da79f4ac27a41":"Search API","6eaeb8ccaa8473e2b985095be2bf3cd1":"Select display mode during query","6541f1702af367c41a3127ed8511eb50":"List form",d58ba4b5e94680fcb08300e176502fb8:"Table form","406573cea6af9b0c6462295108e1f5c0":"Tree selection form","6c5358b981a475da2a83e95e4170647a":"Cascaded selection form",b51b404751554341aae342bc5a6e9b22:"Title Text on the left",c7840604d79e814f02f8260bc2ba6544:"Title Text of the result on the right",c6a16ef980efc2ac48c58727e5bade81:"Textarea","2af7e3952d7430d1e4c86ea5aca4e4fa":"It allows you to enter characters in a newline.","5bc28acd4afb712dcbc234927357cd87":"Be triggered when the input box value changes",cd7f479dd052edc1261261c15fb0b50f:"Remove blank space at start and end positions",d3a8fe0d542476cf7989ef9e69cdd6f7:"With this feature enabled, you cannot enter blank space at start and end positions.","829d96cf23f19759e4ef988fb5320032":"Minimum number of lines displayed",c0afd6005e68838e37e26dc7c34cf368:"Maximum number of lines displayed","685e5f4815e87c4690dda7d7aa163904":"Shuttle","26b4a55f458275a108c1ef213a354ced":"Shuttle component","1b09b6621ebf0d10ce98f0178fa1bda1":"Trigger the component data update. Several values are separated with “,”.","0ba83d9fe027d8386b814f4966f20d4e":"Check display mode","847fe7c3978764607631845b0a43926b":"Association selection form","9037f708f0d9750505aa741399768ac0":"Option set on the left","3dd8d112997a8d0ae0641b8bf69eb7ff":"Left selection form","7980e24e70a7e56490fa397d5bc6b86a":"Right selection form",baf916e9b0de774b78e716e91b963690:"Show statistics",e40d15221a911e060b8a05ec7aa9533c:"Tree Select","26aa42c81825364d2d691261017b6797":"Click the input box to pop out the tree select-box for your selection.","382df0b291e5306c423bcf471eb1734f":"Tree drop-down",ac34e635d05de0ac2de78737ea313995:"Be triggered when you add an option.","5f5e2d89e987fa64d56471b2e3d50cda":"Added option item","8784005bbfb2b66592cc0c5cc0a62f2d":"Be triggered when you submit the edit option","25a4d7b5ce2585aada1205e1121e9967":"Edited option information","91a6d3a760184e581eccd52bfa3f7a18":"Delete node","3c72d934764bb7205f593903c63ac7ec":"Be triggered when you submit the deletion option","7768e7d47fa6e9b811d1a1f684703cfb":"Deleted option information",cfd5faa079bd9d7092e7cdc92f353c30:"Autocomplete interface",a9f97c7c1bec32a0912f1dd36b2c3b90:"After each new content is input, the interface will be called and the update options will be returned according to the interface. The current user input value is in ` \\ ${term} '< Code > please do not set it at the same time as the access option interface","72cd009894ef3ea735d5e2a9b4656c04":"Expand sub options by default","0770f4a4a4f769d778ffe228675e8c3a":"Options: default expansion level",d1b65ac6a715ec342d7b738c64b55aa0:"New option interface","07e2cb845d6b6c3f91e6960c209b36da":"Edit options interface","8c05730667f91c371ace46c17f46c875":"Delete option interface","43474db97aff2ed0a876a47b6f4cdc7d":"Automatically generated UUID","43e1548e15272e1007051d7c8b70adf6":"Automatically generate UUID in the UUID v4 format without the need to configure it","844d72db7e57be4d77881ee9b4294e75":"UUID (will be hide)","2820712cac089483cf2b4a0c939fc780":"Column","9e17d57a0ba39254a75c0265aa3063ca":"Column layout",e63907bf0db529e84866d1ae737bfc0d:"Column","9bdb07e72d3a9a6084201a7398523f5a":"Insert","3c43c5860b4dfaced296d7a63eae1513":"Insert a new row below",decaeded2b6f2c66f191ff34b868b1eb:"Insert a new row above",eb22d47f16f92e6f621c2b9d87119303:"Number of columns",c288b519484207bea1d51884a5e9acaf:"Column spacing",d81bb206a889656035b929cd8bb1ef10:"None","98d695d6a6a48cfb4bc2f6396ee64787":"Horizontal alignment","1cc9a6949b47913462ff832cb684bdde":"Middle alignment",da1b972efb29f850b50e219ad4d98ba5:"Justified alignment","11b7fc50778c89572391ec4c6c4b55e1":"Vertical alignment","2a6ad292447e6354ca39ee7f40d2fcc8":"Top alignment",d68c21b6b65e7a2e361762b65b8a5032:"Bottom alignment","0d9eb53682343f1cbd562c9a944ef5bf":"Insert a column on the left","814276d30e338eccbaee96c3e6bacb61":"Insert a column on the right","2a3e7f5c382c56faf261a87573658325":"Manual","19432e481cefd1bf88fc707f20ea62c5":"Column CSS class name","5ea5dbb698afe7ca566b94e92f6a3835":"Column {{@1}}","9cc03fc4b3e87e8410e10357a219b44e":"Insert a column on the left","6b12fc99e2a46aed982d46b93ac191a0":"Insert a column on the right","57ff158884582ed498a87d03aed46146":"Insert a row above ",bd63eab86ac0e0b35a06d0f24a098096:"Insert a row below","69a519f6b7fd6d0bebba72e7572ea1d6":"It is used to implement the left and right typesetting layout. It defaults to even distribution. You can configure the width of a column through columnClassName.",f9c91bffab8b1202cf32ab508879e805:"Fixed width
w-xs","8c187c1862900db487c8d47e19490fac":"Automatic fill-up",b6f2fcb279241fe5ff9a8052a444266a:"< span class = label label default > column ${index | plus}",cb2f68c9c24e85d21e6b090b6e5657d8:"Column","92e2c6523449dfad4350f58908260266":"Press and hold the right block of the highlighted box and then drag it to adjust the width ","129b16a89a82c6d5e03ab075633b3892":"Column CSS class name",d34cc10492e80595a901a292d0c16bb8:"You can add a width class style to adjust the width. By default, the width is equally distributed.","84b620405949e278f214a811a3a19e2b":"Column {{@1}}","4bfd6e7e1ec0fe485aa0e7741d1670db":"Insert a column on the left","9d75cc0b193601391a139285d55a3493":"Insert a column on the right","713315591970d7c8b49d1c732fe54fde":"It can be used to embed the current page.","8f1c078c6d42759e6ccb1a9bf35f1629":"Page address","51ad722113289f70b6d77c78ddf0c64a":"The default width is the parent container width. The value is expressed in px by default or in percent, e.g., 100%.",c78d9b9ab9db5951eb5526e8a46677d9:"The default height is the container height. The value is expressed in px by default or in percent, e.g., 100%.","9ef4425332e5f8bcad86de483b4faedf":"IFrame page ({{@1}})","67997ccf7ea846c3c2d278b01ed9600b":"Image display","6dcf991e992a0b765df0933411fe9bb2":"It can be used to display an image. It supports the static setting of the image address. Also, you can configure the association of the name with the variable.",e18aa5e376437da71083a29c4cddaf46:"Thumbnail",fb43d5ffa21f3c4055c29fad350f27e4:"Original image","582570bef8c57c5af7658c4a4eea45ff":"Thumbnail address","1193e1aab7bea094279ae7b4288ba848":"If a field name is bound, you do not need to set it. Also, it supports the variable.",f5865bf2d791d293374af4aa76d27c4d:"The image displayed when no data is available",e1110b854bceeed0e887cb951bb3d2f3:"Enable image enlargement feature","7ffade593e390a2a2cc43e6663461b71":"Original image address","214953c5f7557b1a5f1310c87238ee03":"If it is not configured, use the thumbnail address by default.","6d45b56ee94ea873a554ec41b9f2074a":"Whether to display the image size","00cedb73310cc531a43d23cfa5ba0e5f":"Thumbnail display mode",b0267f4aa776e75443b7ef6e8dad257e:"Fill up the width",c30b1b6f29debb05449aa3cb40268e7e:"Fill up the height",e13556bb3580ac3746e1f8663eb15896:"Included","47303119ba97a66d168ff042575b9de4":"Fill-up","319501b9acacdd6f94a9bdd0637a3cd2":"Thumbnail ratio","4d080f1e18d86051b8d651c68685f319":"Thumbnail CSS class name",e040fc4bf539dd1cf6ebca6b4bff857a:"Image collection","93f46deec83b8f9005233a1467498d52":"Display several images","2382c315a6ba396be1932dd8dafaff52":"Image 1",ce6e2814f207c9333f10785606c57df3:"Image 2","45a4922d3f42d0b137c6845c4c77031f":"Associate data","2d4247be13246794180897b40fcdbcb1":"e.g., \\${listVar}. It is used to associate the data existed in the application domain.","81a2b634d7ddcffc21b787613673943c":"Image collection data","0f088d8f579c362068d7a3858e207280":"Thumbnail",ebb2073c604e72ffd9ae1b796665b702:"CSS class name of the image list","5acc93183b7fe3816a845aca52baeff2":"JSON display","5a4b81442789f3b2e7b665bd430eeabf":"It is used to display the JSON data.",f891291cbfaec7ba3754520e2a5227d8:"By default, unfold the levels.","6dfe63d8c039df37787c87afe4c68604":"You can use it to display the text address.","6ab20dc4b64021b85886ad9c12b6e0cc":"Destination address","78ce29fdc55e6d0980b591a264c537a8":"It allows you to fetch the variable. If a field name is bound, you do not need to set it.","5d809212900f3bc3ba122fe93638394d":"When it is left blank, automatically use the destination address value.","88a5126f6a1463fc9986b590ee4ab99f":"Open it in a new window","39a2cb79c6d9762783e20522ea86dcff":"Left",de2a774bf98944b8f0ec8755d5f59d64:"Right",e370757f933a8ecd87bf0255c3ce45d0:"Advanced setting",e35dbea2b0c097d7fb76173da0e0bba1:"HTML <a> the target property of the element. This attribute specifies where to display the linked resource.","9f556fb46ecef854282d17e631578b1c":"It displays a list. It allows you to customize the title and sub-title, content, and button group. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take the priority to use the “CRUD” component.","84c04f1e9ce6a6a228228dd3fb96b99e":"Configuration member details","1ac0e1626be43287983fe3e5559320eb":"No data","4e53bfe03e30bb3eae63d90d1f7f2a1c":"List div CSS class name",d9eac94850a74ec881198f4ffe4edcfa:"List item","3ed7b428165499a1b91ed1eb287ba343":"It supports the following template syntax: ${xxx}","456d29ef8bafd5202547e50d3e64d4ea":"Log",d06f8476d115020496058363a32bc40b:"It is used to display logs in real time.",a2bc1edd7be9348e5a998feb0886c55d:"Log data source",ddeeaa33ae62ead1a77a859fb79b78d7:"It displays the mapping of the current values. For example, if the original value is 1, 2, or 3..., it is required to display offline, online, expiration, and so on.","844318bd1d58ba0bf7dabbb771174b12":'I/span>',"2fccd71275cdf5d6c0c677ef79dd84a0":'II',"198a96c4cfc64d5feba81b3f931f8289":'III',"626a0f2fdf13bcadf11581006ab9eba3":'IV',ce3fd44456123f571e9d083b98da9fcb:' V/span>',"8b139ce9fa196b602bb1ee3bd25b25df":"Mapping table",a9de5901385d644363cd056482be7517:"

When the value hits the left Key, it displays the right conent. When the value does not hit the key, the key is the content of * by default. Ensure that the key value is unique.","2b10dfa6dbdf8775ab2b38fc67e7ea49":"Wildcard value","87cac3a9c9576d9b5bad6639c891112c":"It displays the markdown content.",eb99816b4a216b2eb884cc6194f00ec6:"## This is a title",f6a5891819c67a80c1179c7cdaa00935:"It is used to render the nav menu and supports the landscape and portrait modes.","4cb18f42ea06a97b382397c40ed64fb2":"Page 1",a004407ac524b6d331671fb7a013c3fc:"Page 2","310c10c1fcd37bf760bc15c30f54e722":"Menu management",ba750e6e302292402a4c61ed72331cba:"Add menu",f7a63e1e77fac1bfa05a060d55e27692:"A configuration error exists in the menu, so you need to check it carefully.","7fa141f341e173e2339dcf0ce6869b5c":"Redirection address","720fc47e20be9b7a2e67a4ed808b3bf2":"Whether to highlight",a6ed2640c41d0e3df4acb4f15d37f6e3:"You can configure whether to highlight the menu. ",dc55fd2e990771fd670743ca5dd59275:"Automatically analyze the menu address when you leave it blank","78b7cf23a2b93db1ec36e6c6cfe170db":"Include sub-menu","710b20ff1d85f7965bfaac44ae26344e":"A configuration error exists in the sub-menu, so you need to check it carefully.","02f925f6a5136c2b65b5da8d1216b5b8":"Sub-menu management","59ad4734917af165482774de9c2d50cc":"Add sub-menu","4d25cfe4cd14270af9420acd25526691":"Get menu API","9fc8c79aac0302a60ebc0777183cd181":"If you want to set the menu address dynamically, enter the API address here.","737669a8ef038ebd37fd7b2f3b5f389d":"Whether to arrange vertically","8d79a8cbe0ed37accbe0739024d5d896":"Action bar. It is used for tables.","6c0fe599b36c2a55efd8705681783ee5":"Button set","975903dc39691813530e108986e49ac1":"Click to add a button in the left component panel",c641fe0ae06e6c0547d89fefa91e7f75:"Add button","88d1257b0cf667319085f3e0033b9607":"Button behavior",f10f0be4aa9684eef9d78234072fe08b:"Drawer type pop-out (Drawer)","4f02d2efe05a20232ab9da63c090595c":"Send request","5dfd5a78e2ba1bc8afb482a8745454ea":"Download file","4e58f9c94d345e14e2d69cc8496b7b5a":"Page redirection (single-page mode)","982db3084a2c470d1a9b34efa024511c":"Page redirection",f20d9579ebdc9dfc30a212ae6cae931f:"Refresh target","6a086902a84969a835423002718e86b4":"Copy content",a56c9f13b1566009fdc7640bc551709e:"Reset and submit form","30313d6fa06603604db18086bbcad9d3":"Clear and submit form","0fc26855080a4219bbfad638029a795c":"Redirect to next entry","8ba8a1bead7ca55554cff1c85246ae09":"Redirect to previous entry",c28f4d63beabc4833b17aaa10ca550db:"Copy format","21fa07f18f80bee50695686831ae1286":"Designate refresh target","8a089992349df754f182a5d02de8e8e0":"Popout title",b680997c50ca749acd4e6075cdca244e:"

You are right! You click it just now

",c3c8422fcecd8c1cc922cba15ab5cbc0:"Configure popout content","262c7c7b9874ae5607fb51da468d0e8c":"Configure content of drawer type popout ","5eb694a4252528628929ced97ca95823":"Target API","84d38979bed546b93c4b3a399844419e":"

Content

","0cc0fff6eb667b140d3fd06e34a8c69f":"Configure feedback popout details",deb9089ed7ebcacd712117fc4204c65f:"Configure feedback popout content","215f64480a93893fc56c51aeb5d40f11":"Clear setting","7984d95c01b725a2709fb8f5ee330fb4":"Whether to pop up expression",dfa07586a471e24b23fe68e11f5dc41a:"Use JS expression, e.g., `this.xxx == 1`.","47186f00df86d3edad3b5595ba8c2a0a":"Whether canceling the popout interrupts the subsequent operation?","4f21e04fe35d39c79e7779cdf2f4e232":"Whether confirming the popout interrupts the subsequent operation?","0bbc3ec26c36a87c9df3183def6ca9e0":"Whether to open a new window?",d0c3025a64b26e5fbf22005f400c06d7:"Whether to close the current popout?","0c15a924dc3bedefb79c958972bef2b9":"Confirm text","06b13b11740f7663af325bf5426930ba":"Click to pop up this content. You can perform the corresponding operation after you confirm it. ",fa9a0a79f29fef72e3060ea1af93c305:"Refresh target component","437d629f00e62cf99b3ad288f84ade46":"Specify target component you want to refresh after you complete the current action. Support data transfer, such as xxx?a=\\${a}&b=\\${b}. Multiple targets are separated with a comma.",b01f08bf5b9f8e3ef9d49e31d89bf770:"Specify response component",f667748a8e9717498da714d4e5087af2:"Specify action executor. It defaults to the functional component where the current component resides. The action executor is specified in terms of the target component.","80ddab8a52f74d707765501b0caae21f":"Customize click event",babbd439bc04241ed3536f892668c250:"Transfer two parameters, i.e, event and props.","867ade50f0bbb10bac65a5c3bc7895e9":"Keyboard shortcut key","45882ddedb42c1a38462949750bc8a84":"Display a prompt icon. When your mouse hovers over the icon, the icon prompts the content.",ff88d5db9d61f14bce6e3397fd4652a5:"When no value is available, this prompt is displayed in place of the value.","348097cc50579e489f0bcb5433637d3a":"With this option enabled, you can sort them according to the current column sequence (backend sequence).","9db64f772c11c614ee00bb3cc066f46f":"Column group name","19c4f5e98ad302574202de30dddbaf66":"Enable quick edit","15c3796e07e33afc7252df751f610c5d":"Whether to save immediately",ba5a0a1ff2c438ae7719ca48b0ce3af7:"Enable “View more display options”",d689e3c38fdb32c98fb27f8f35a26552:"View more popout modes","6e78b595d6a296938201a3c80660bf35":"Enable content copy feature","65f7e01d58cb5065f49e0e8f48cc16be":"Fixed position","9ed8a4c5d1b3726121175dc986268b0c":"Unfixed","0a5ac2f5c327e28c58d51db967a0e603":"Display by default",a3bd2104e3df81df713de636b907462c:"Trigger bottom display conditions","986a5f50e946674bb91c9408fc974497":"Always",a165f0fe5fb904049f6b6961105e433f:"Mobile terminal","03ee8b948c9b34daca9584811bcca17d":"Tablet","82d9f1f96084674e2b0101ecc04d5d58":"Small PC screen",f4166de371b5dfb87efce228b17a3fbb:"Large PC screen",f8cffd4d3fcdca390a3a3de24d209bb6:"Forced wrapping of content ","4619988f1c5d9093dc00d1430633b2bd":"Internal CSS class name",bdd9d38d7e2929024089363dc8f48b7a:"Column width",b198805e7a6b35830ba813f51db2fdc4:"Fixed column width. Setting the fixed column width is not recommended.",abb58b3bac0533ab4359ed977fa3c073:"<{{@1}}> column","044892c0c637f2d9e78e78956b1ded01":"Anonymous column","59ceff465ad16932d8972191ad815dfb":"Page","54002bbf7eb3da8346dd4be61d642bca":"Sidebar","49400a573b9f7a7bd693f84ec59379d7":"Initialization data returned from the remote request","5d758dc5e33ba0122c256d80c1572e88":"Drop-down refresh",d6fdfa4f989be6586a7a29ea85522f24:"With the drop-down refresh enabled, it is triggered after you stop the drop-down action.","56e6db657d4775698984f883b71cb379":"Toolbar content","4f9fa9ee5b0604d97da73e77fdbc281e":"Sidebar content","40fd4b2a194b2b1284a7f7f738b69640":"Page content","0e82bfaaec104a9f0eeb14820b42e7c8":"Area display","685fae7809f86f9edee4338daaa212a0":"A prompt icon will appear near the title, and the mouse will prompt the content.",ac82acdf2f38faaf293c8690b2ea627f:"Data initialization interface","9d191f6126f21da8222755c14f49707b":"Set the default prompt information of ajax. It is useful when ajax does not return the msg information. If ajax returns a msg value, ajax returns the value predominately.","4e5640b31caf3326c27026bd1ed8f4cb":"Header CSS class name",e656f261cac36cc658e8d69973d7611d:"Content CSS class name","1444bd7ae7b7301b6edf930c2ab8b175":"Sidebar CSS class name",dbe33f485b394a3e77240c530b9965e4:"Toolbar CSS class name","674be25c9feffcf78eba48d53a944148":"Mobile terminal pull-down refresh",e24bc5fd094c7c272725c6340d8aeb8e:"Drop-down process prompt text","717b23399e04873441478fef1cc16d43":"Prompt text in the release process",f59b11ff84daeb60b027dc02490b627a:"Paging component","7cfb5e222a5954e891fba6e3802c7ea6":"The paging component can display the paging of the list to improve the page performance.","9ed7d3adc032f6b78808e7f3786ec9cc":"Total","8e60090c332693095d5852d92ee149ee":"Number of entries on each page","47c62ec10a240c35b8446cc923c5e8ef":"Pager","97b8cf6ae269b6f6d75063073cd565cc":"Paging change",c9fc9b668c08d0e54415c7054d414651:"Paging type","35242cff1266fd3610f124b0e5e76f9b":"ordinary","40e49965594422b15ddd789eef4dda7e":"simple and easy",da184573d7eac6362e01e6fb202d3c91:"Pagination layout display","7c94d517ef4d6633144d5c719d0019d0":"Select to render this item. You can drag and drop the sorting to adjust the display order","65a4ce155100cd7fa671b0f85c1df2cc":"Next page","442d73ebc936d3b74e41b901cce44a6e":"Current page",fe00f5ed371bdec5801ac07f8bb564be:"Last page:",eec5bfeff8012238efbf611fc22c32f6:"Total number","71fa2ba926cd032c0ebe0bcdd5d3eb10":"Number of entries on each page","04519bf3bf428bb1a75938ac65dba040":"Default number of entries on each page","040f05137eb37e880873a763ff653fe9":"Maximum number of buttons","2ee8eb6b1a80a4b025f97fca6afb800d":"Display the maximum number of paging buttons. The minimum value is 5 and the maximum value is 20. ",cd6f79e7bff1337c12c86a15ceedd6da:"Panel",e04a2f1662121e5a3c397d496114185b:"Display a panel. You can configure the title and content area.","4e9bb0326ab4d3a2af94d901c7f1b6a7":"This is a panel.","5bf5f1fd54476671bd6fd9d97e3e6b6b":"This is the content area.",cac3ba71180c97b1b6432833b3417d2c:"Add content in the content area","1fae678397df046c1754092f15a71d98":"Fixed bottom","68744acedf015b8cfc445af30583815e":"Display content area","5a0fbcaaeb439684bb4ae5be579e4cd4":"Form display mode",f99d7e5f15906ca78c45753ee3b04a8b:"Horizontal ratio of form","9970ad07468267e2f309f1467c75bb80":"Theme",fbae87bcc352f6933541fb77a07418ed:"Primary color","540f84ddc0883866b229f71c2844199a":"Danger","5e5d3f13111593b2710673006d4c8297":"External layer","65810a32a98f09be550b0c421df6c540":"Header area",f3b9889baa6d17ec63f05ea7d326bcfa:"Footer area",da71dcbb13405815476cef28a8b9c4f6:"External layer of button","6c5b1f0e8e361a801fa75da070d1cba5":"It is used to display the pure text. The html label is escaped.","67e77a196826a8880e47ad949ce08ac0":"This a pure text.",f8fc21a9fd40881e8fd3d7f15919465c:'If the current field has a value, do not set it any more. Otherwise, the new set value overwrites the old one. It allows you to get the variable using \\${xxx} or write the template logic using lodash.template syntax. Details',"83077805e05ac6bedad69b47fca4462b":"Progress display",c77048def6e8a2d6c556a3fcc9c66730:"Progress bar, progress",b1aefb18d4bf96dc283a26d67abc41a8:"It is used to display the progress. You can configure this option to display the progresses in different color.","2dde3029c4170a1c8e961a90766e0194":"Inheritance",ce179eca04fab0d584506b0d19736836:"Linear","2db0fcd5342b479688fd999a0108ef5a":"Circular","3fa8b34a2744f62fe93dd599a275af39":"Dashboard","1ca3fa86d8faa46cc75792bcf90d7fff":"Progress value",b0932e5bb7f7d95e3636d82d1a039854:"No data void prompt","940b12c19fcf7aced0cdd164edc9acbc":"Placeholder prompt","9cf66e7783e4c9b1d74bcd411edb6950":"The value existed when the data field is not defined. The value does not include 0.","2f0faae87508471abce4384b60900e15":"Line width",bd9b3f7e564c9eeaedd72f1bcbb7fc9f:"Notch angle","31a088147dc0006e4775d066980fa688":"Notch position","77a7419dd4fad70c3f3e4b075b2c3fcb":"Display animation",a04564aaca658461333b00cbcd071518:"Pure color","0a9fc7083e2768107fc178ff36f29ba0":"Strip",c035fb9e67c0b566fd5d35889035424e:"Allocate different value segments. Give a prompt to the user in a different color.","23bf030ca760141f317dde1b7f49b11a":"Property table","44f2bc36dacb88424dabf9df71da0e77":"Machine configuration","1cb82ab4f259d5b75da0ae86583b31ff":"Other description","9a4ca43777061ebc91bc64cb994957bc":"Number of columns displayed in each row","17fa61e1da428936a31b51c955a99d65":"Display mode","7fa5c95b26550753b0931fa21cea5d10":"The property is taken from the variable.","6940ea5aa4c18e105cbcd32cbe410839":"Property list",ae41a992ccceb36f83024f72531186ec:"Property name","52dff5b153bb5eaca33a008458ce0209":"Property value","42c3762943823c37b537a10c09765822":"Number of crossing columns ","22b03c024d815ad327e8b95d684ced38":"QR Code","1857d9050ac0527374f4324c0a5ad910":"This option can be used to generate a QR code.",e71377bb59c70af683be127ec49d01c7:"QR code value","57eda9139c0b3bc0605ed4cf303ffbd2":"It allows you to use \\${xxx} to get the variable.",f13c3e0717ea842cddc1402e8dabfb6b:"Complexity",c4bde7dba8c6eed0ca0165b071b259bf:"Width and height values","2f97db95d75280bfedc5afa72d2c717d":"Background color",ebf2453eddf55441b711d187f3872ffe:"Foreground color",d5e6d5c44426a82e18e31eadf7f1e09b:"It is usually used to reset the form data to the initial value.","6a06f12bdf3fc96df6cb45467b9a7c2c":"Service","9cc50da6bb17ea7ecf44c254c9b37619":"The functional container can be used to load the data or the renderer configuration. The loaded data can be used in the container.",c5a33208cf3deab68cd9fe34679edff6:"The functional component is used to fetch the data.","54d99a6a50a2373055c0f66ab727a869":"api initialization data","7a0c222fcaa42473d1c75c113c3641b5":"api initialization completed",acd4bd22755a537431d74b28c3c2ad67:"schemaApi initialization data","5a7d03912f38d0b24d04b28da40864a6":"schemaApi initialization completed",f885d4055567877facf0a3ff376a114e:"Re-build",c8f0e77a9eb5de26e6ab62695d8494b6:"Trigger schemaApi refresh and re-build Schema",e22855f53b7a1ab33e920375c0cd0e3d:"Variable assignment","8b10146a8a896b890b3796eefcc3c6d3":"Update the data in the data domain","47d68cd0f4c3e91a86d23afe8afccfb8":"Service",f754888421621d122c110d83e710e9d3:"Add content","31f8a7a967286a16eb404e3ba237619e":"Data API","54f876a529283de5668426b2dc8adb15":"Set the default prompt information of the service. It is useful when the service does not return the msg information. If the service returns and carries a msg value, the service’s return result value dominates.","7fa237c1b62d04aaec0144d1fc89d620":"WebSocket Real-time API update","9dfeacc54ab6cd6d2ac08df387777f9e":"Initial loading of Data API","98223d478e88ccbc2406412a46dda8c2":"Silent loading","71ae1c76cc4160f8fb76e404e35ca08f":"Whether to display the loading animation after you set the automatic timed refresh.",b897babfafd35cc5d6e66470115c93cf:"Stop timed refresh detection","11bcbff684dfe6edf36e1fd1adc5ba30":"Schema API","8cc3239eba9fe65b99242adb33634b33":"Content Schema API","3f423669b0ffeb3993b95085cd8a111e":"Initial loading of Schema API","8e8aaafe8db0d8eb05e3b11550cbabe7":"Global configuration","7481babe858320dd6a4adcf307fd151d":"Customize function to get data",bfdee34e14602e3113c88a9145843e86:"Transfer two parameters, e.g., data and setData",fb559ab354303d1927dcd9f0f2dffa23:"Succeed to get data","56f0a1c0bc0408556c5810ea4f219dd4":"Fail to get data","29326bcd28fb39bd41e54242fa532c85":"Trend chart","270301455c3de762a7e2b145dac7a8b4":"It is used to embed and display simple charts","44e13bdad8c7eb6391e84d940513b927":"Status display","82a3047196be368be13dcdd2373520ff":"Display the status by using icons to associate fields. For example, display √ for 1 and x for 0. You can customize this block.","774b2bcaca8a64f46c84b510cec89109":"Icon configuration",b698a95f1e217e5465835ee0d23b1b1c:"Configure different value segments. Give a prompt to the user in a different style.",aacb2b36c47395e4b4b409e351eb4279:"Steps Step bar","863a8583132d087e57aebb7d89e18a50":"Step 1","9757f2c59c17e9aea46e0c8adb69597e":"Step 2","207e30c0e7318027d521dd7c6fab6a99":"Step 3",b8a2d347bdb22fde367a851df8335771:"Step list","59cecbff0cc77511590d2161cc3058e9":"Current steps",f3f08da7f65e1d5596a66cedd7caeb9a:"Start from 0","6bf1f392c0a404d1f7558e6dcdd6c2e6":"Current status",fb852fc6cce168301447d1baff276dc5:"In progress","8797922788916874c39ee1524bbc3638":"Wait","769d88e425e03120b83ee4ed6b9d588e":"Completed",ad8e01fe719bf1a5af82ee0d100d246b:"Error",d1f03ea8d9d3c3a241e8a340b8a384d3:"API for getting steps ","74f0f6730053049f4c9beca2ab00c193":"It is used to submit a form. The form verification is required. If it is in the popup, the popup is closed automatically.",ea2b32f5d78d2305b9b7bc21e056a009:"It is used to display the table data. You can configure the column information and then associate the data to complete the display. It supports the nested and super table headers, coluln fixing, table header fixing, and cell merging. You need to configure a data source for the current component. This component does not have the data fetch feature. You need to take the priority to use the “CRUD” component.","257f5a3886d87d2255206f86b880d07e":"Select table item","6130b1f75d624b2f73f5d923492e92f7":"Manual table item selection event",aeddca0456d8fe520dc95545a83458e9:"Selected row","4f907cb94921bb62a8399adec922bb60":"Unselected row",f3d21138c8ecf5683503c4f814cc7199:"Column sorting",d84464cfb2a5828a200fe9c28a323122:"Column sorting click event","652f155e644e82ebb0a1aed97ab6ab23":"Column sorting name","460e3a697d1680445a47139c0816fbe6":"Column sorting value","3d0b957a99d0c366612c01913e17a0c7":"Column screening",b35963687361af98e6acdc004e87fc3c:"Column screening click event",ad11fba3ac676233f3105e76e7de0501:"Column screening name","8e4b9c88c51aaad1a28a28e8b536697f":"Column screening value","93a5a0253f11e3a2e58f4e87a52fb094":"Column search","6d4c4990ab2c32efe8a17c5f22e10cb5":"Column search click event",a80a4486100baf3f45fab3a59e4a816d:"Column search name",b9a565fe1dc488efae1d63464f277f09:"Column search data","85ddd38957256b6e9026f42ed570bc35":"Row sorting",d7a66def82af88cd5d408e38feb8a65a:"Manual drag-and-drop and sorting event","1987561c006c7192ab619f81103d2a2f":"Sorted data",ecfebbc91e2c18a512aeb11b7da15193:"Column display change",c94f45773a42dc386b9c9dcdc6fa542b:"Column customization click event","70567329ee851a5ba7e7301bd8e9d9a1":"Column configuration event displayed currently","76e47871d654c3b0b0e301c0a076e55a":"Row click",cc13521eab2c7423b3fb857772405cc3:"Whole-row click event","2fbbf5c38b66ac5496ac42246bbe9e0b":"Row click data","8eb3c8b16106e5487cd1fa3b8a1342ce":"Set selected item","908cc16fe4f7972450167e26276ac726":"Set selected table item",a2b39e5a8b5015234dcd8e07a2e00e3d:"Selected item","366a3c07289bd6efb7c2a182f7a12772":"Set to select all",e97c09cd119b64ae0a8dfd42a1d449cb:"Set to select all table items",c3e8652924c258e121eed16414d3a9e5:"Clear selected items","7619ec29c0a854dd49e0a7a47bf1a127":"Clear selected all table items",b94bd878cae4ddc567b00a2dc4f21d74:"Enable sorting","5dc3017c21ae2e31ab127dbde8ec80e9":"Enable table dragging and sorting feature","25915fb58615ba9a5e145efa252fec30":"Automatically merge cells",d7d0936858fcdf4ffdb2899451ec74fc:"Set number of columns","80174cabf025dfe269aee5390b813708":"Set the number of columns from left to right within which you can enable the feature of automatically merging cells. Thus, you can decide whether to merge cells according to whether their field values are the same.","14921c3831512876f6d58b2a497b86df":"Column display switch",cc42dd3170fdf36bdc2b0f58ab23eb84:"Enable",b15d91274e9fc68608c609999e0413fa:"Disable","6fe0b71c07a5ce5f7a09f7fdb1d63827":"It is enabled automatically when there are more than 5 columns.","2206c0e11aa5f4f154aa9e5dfffcb474":"Whether to fix the table header","5006fdc5659989e42c3855c17c57f878":"Whether to enable the bottom display of a single entry","9db359f376a1a588ef7dcbef53cc114a":"If there are too many columns, some columns can be displayed at the footer of the current row.",df74194830e695efbfce16c0c64223cf:"Default footer expansion","94be543c4fd399f0839211464c8583ce":"First entry","9a7b52fc8659f1786907fe93efa85bf7":"All",b07deca9076bd3354b1b2709d58d725a:"Fail to expand","76b3250fb1e8593fac075b64029300fa":"Row highlighting rule","1fe38acb67e766f7767d9f8e88bfe990":"It supports the template syntax, such as <%= data.id % 2 ? 'bg-success' : '' %>.","734ebf8b33422c456e937fc27c9a16ce":"CSS class name of external layer","320f489db3dade075d69f155b346f98b":"CSS class name of table","08ca0d502abc4336855d837f281caef4":"CSS class name of top layer",b6469055adf2b7bfb187f74ae17dfe54:"CSS class name of footer external layer","39ff38577b97cf98fc130f9bd596d4c4":"CSS class name of toolbar ","175e01917d9d4891a40eab43f4487030":"Table view","9fe8304dade75a37bc04f45515688325":"Display table type","2560b304e691da78ee2e02f5af9b494d":"Region",f7d29dfae05b5d049b64b040b14d9a00:"City","44e7ebb4007104495dcb7afbbb6778fb":"Sales volume","3f0cb8b8c238c3b4e08898ce6d449c8d":"North China","692e92669c0ca340eff4fdcef32896ee":"Beijing",b8b75a5f9109919ff3f67b336b62afe9:"Tianjin",d1c2b2d68063b4a57af61e3027861cd8:"View width",b32ec25f2bdf7b2eed5e947cf82a4fde:"Default internal spacing of cells","8a42ded5c9d58f3dd9e3a8968ec04b34":"Display border","9b4bae5d8251de0b6f00b704936b00d3":"Border color",d273f56b3e598e794c3480f1e62f3ed9:"Cell {{@1}}, {{@2}}","466c65230ac92494c3af79757b4b78aa":"Row {{@1}}","1ebd0cd417700f3f4a7ee5f64518fcd1":"Cell","4d775d4cd79e2ed6a2fc66fd1e7139c8":"Display","7ec907e7059b758ace2f3adb9bb803ff":"Text color","104711e38d3cd9335dbd1f4301178edb":"Text in bold","65194da33aa3aa1d0fd08b5690af6f26":"Cell width",fbd9998b10e690230b0f2fa9b24087ac:"Cell padding","0bbc2ea4e1d1f23feb576de5dca1ce3b":"Center alignment","4745afe0f89f665e41adf819da5df1b6":"Number of horizontally merged columns","7c2e1f863e86715e892f61a54e558b20":"Number of vertically merged columns","5a431ad16d8f7f23fac3be5650e51caa":"Row height",db439b129f3143e14a7024f08ea3732d:"Row background color","30d6ed36667cb98165f07c59702754ea":"Grid","49d45317662097180e27fa53235d9b13":"No corresponding td id is found.","013326241579b9b2735756f2204bf8bc":"No content in the column I",a896691b72032fe21a00b6487381a529:"Add a column on the left","24e4bbbf29a8d31e711c8d9366bf1a6f":"Add a row on the right",aea2dd682bc9dc2974dd971581148459:"Add a row above",bac058b86f8fd4e8f5e2ef3807799aea:"Add a column on the right","488d0742c010851e9c6ce3264df9542b":"Split cell","9377e388f7189d6103a3985a321115c8":"Tab",a8b1273cb2d53ad858906ff9744a9891:"The content group can be displayed in the form of tab to reduce the user cost.",f78416dbd6c6a40a3ecd1c1f2b0672c8:"Tab 1","9769ee568100b0c530a06ec3f0c0044d":"Content 1","4be268145385303e8ebeb480458a380e":"Tab 2",c50159e2acff0f4ffdce4c67ec3513a3:"Content 2",c8794c58d0eb020ca40905d1904d88b2:"Modify activation tab value",fcd3abb110aab48ebd0ac2a1d7040d6d:"Modify the key of currently activated tab item of key","9d000284174ff09642502803887f28ed":"Activate the item ?","29645b509093191cad34c673c1b3efb7":"?","9578012b7d75a3a47c76acc176caf403":"Active item","3ba265c6b63bde0319822afd6b9a649d":"Title prompt",b744b72fd649d904e561358fc26c455f:"Pop up the prompt when you move the mouse to the tab. It can give a complete prompt when the title is too long.","6e7fe62a865cb9ae90e52f85f4c6b8a0":"Default tab",a8986713e2b83c9ecafe5b107c09b68e:"Display a tab by default. When you configure hash, use hash. Otherwise, you need to use an index value. It can get variables, such as tab\\${id} and \\${id}.",acb839aac679bb34be9b4b49806b74a8:"You can use \\${xxx} value. You can re-render the configured tab dynamically according to the data.","5b9af1bc3012bb3c8e07b983b423ec17":"Render the content during the activation.","4bcecc15d16e8c851dc3d155b8f30929":"The content rendering can be conducted to improve the rendering performance only when you activate the tab.","12c6a62683d63e404d71a31c9cb5209c":"Destroy content after being hidden","5b52bcb62a2e1dab99ef841b05395b6d":"When you destroy other option cards, destroy the current content. Thus, you can re-render the content when you activate the tab again. This applies to the scenarios for getting the data when the data container should be rendered every time.",ecfcea4b381d761fecd512761bc07954:"Linear",b30f254eccefa14c9980235bcbec74f9:"Simple","3d7443aeba7c8eaf1cbb42ad5232fa10":"Enhanced",ee5e5a588705699a51eb3c5778c3020a:"Imitate Chrome",c5b8044dacf2e63931d85e5e307a9168:"Horizontal fill-up","22d18bf0c476ebe7aa9303108677ff2e":"Selector","5bff38cb05e3710a0c0cb16ed3ced78f":"Sidebar","593c1c61592f80831f58b2e44cfe63fa":"Title area position","030c8cb75e9707285b28c4931bfeddc5":"Title area","32b4bc87bf7f95cd6094992f0135ff7f":"Title icon","996a919888ae86e842c76245daae2360":"After you set it, update the Hash of the address bar synchronously.",f3051dd9b3538e170322fd5224b28de0:"It can be rendered only during activation.",ee51f2d49fa12c730d2a0efef0d67e44:"Its content area cannot be rendered until you select the tab. Thus, it is possible to improve the rendering performance.","024f24defb08c5c9d463a2668cbb9802":"Destroy upon being hidden","370bb4d6806c88a7df2ac17ca2a7b6a6":"Disabling the tab leads to the destruction of its content area. By configuring the “Render only during activation” tab, it is possible to realize the re-load effect every time when you select it.",f6724322c613ca164ea9a9d03e9055c9:"Card {{@1}}","8a471486c6c7bbe43e14392c6b127aea":"Asynchronous Task","4f58f808d62c4e31c347e483898396d5":"It is used to show or perform asynchronous tasks.","9ee043b0a77a26d22eec0f4ea99afbd3":"hive task","2c8a99d35cb5704994cabcc61a4c3a4a":'View detailsLog.',"3709f71c9552ed5db76cbe8f3cb5d4be":"Small traffic",c60ad696dee4e1eeff6f0f2c2e9b9fc0:"Total","5c0dc424442c913c6d16a2cf43137da4":"Initial task information","78caf7115c5140f8913c581920239f22":"Task name","3a3778f20c0e1a55adafad4861a71216":"Task ID",bc7e74f7ccf8ed6fa5b7b7649b221daa:"Task status","1d35dcbf191e36dcc6c15f71277d72ed":"Task description","76ba17faedd82297d09b2edd70c5914e":"Add task information","093bcd735847b8464d683464165adbb8":"You do not have to set it if the detection interface returns this information.","7dca021cccc260dbe1d81dfc6b29f513":"Status detection interface","358e55678114f19424efbb42c0a927d9":"Timed detection interval","77bd60ba17a73ede5d81c4eeba0f830d":"Submission API","1e057692fcf81e07e20b5f7c9073ea35":"Retry API","24e3562a3262e80c3119f22b8f447f64":"Title of task name column",cb8e07cea4df337bb6dcb8362b5f7e02:"Action bar title",f2acd3adcc0a0d73b318c83a29a4d2a9:"Status bar title","8a4cf07caf84c91a87e8ff3c48a944b9":"Remarks","0cbbb89050458c2bcf0ca98c19dc8864":"Remarks bar title","879eb99c7b1aa3223925b9b2dbad4c63":"Launch","804b6382fa6d8b53c5a2a409f30f7fe2":"Re-try button name","132c5cdcceb0f1f17c8c088a42959aa4":"Try again",dd4e55c39cee201b82dbc9cb2aca173f:"Do not get started",c0d2181d579cd1e965ed10d5183b1fc0:"Ready",fad5222ca0acfaee54f06458188d916a:"Completed","7a4b9e6f14bda48d2c3bf0fa431bd2b3":"Configuration of status label text",f198581dbbc357ccc0283cfe02d56edd:"Initial status code",d6bab2368de31490741ed95f732aaa25:"Ready status code","6eafca9359acbb0bedcf86d6b8609e41":"Status code in progress","7e8b2e41a303cb8532b9ad2006da3c25":"Error status code","231b6f799949f9a743d5193006a15af7":"Completion status code","003797f6b66c67cd87ec684cacb4ab70":"Error and retry status code ","89d19c1fda4906bd7a336895835ce20e":"CSS class name of button ",c52b46333f6d5d2796ee64cb359cd58a:"CSS class name of re-try button ",b091a100499d48dd4ccf0b982aa37d68:"Configure CSS class name of status label ","7ac24322bc8eeac88db6823942423ac3":"Time display","82315a0cd63e7f81233ad804e0d02deb":"Time value",a389ce9c52a94bbdd5c7fa84af85348c:"Display time format",dd438f6fb09d6223fd95df16383f0f44:"Text prompt container","33813749a95477897085e2435acc16b6":"It is similar to a container. Multiple renderers can be put together. When the user puts the mouse over or clicks on the container, a floating layer for the text prompt is displayed.","9b14c9051067bef2dd9a15683201dd18":"Prompt text",ab97cef55407efa11f79211e17cb2b4b:"The default configuration is “Mouseover”.",b47707f0e916e3e3f4ba885bc2cf2c11:"Theme color",a32b3b848eee6929634dfc9a9d8bcdb1:"Bright color",adb7e5312abdb9a44297e48d63815fa3:"Dark color","0de826c66ae3fe8043e9a39b35616ee6":"Container inlink","4583d3453c31cd3ff068c1358d8e7f1c":"Click the area outside the container to close the prompt","8e290c31bc0b4f76edbd58c3575b8420":"Floating layer offset","03c87fc8d49f865f0c2895d9ef3fe352":"Prompt the offset of the floating layer position from the “Horizontal” and “Vertical” position.","4e3e1e12e701890f4461808cc8f9d407":"Can enter the floating layer","9d6246f57f6924410b0c68f2172420f9":"With this option enabled, the floating layer is closed after your mouse is over the prompt floating layer.","90919000a708f8d66b7591e21b8e33f1":"Display floating layer arrow",ed81f127f3b2aaff73a4f4dd5968fdcb:"With this option enabled, a prompt floating layer does not display the direction arrow. ",b60e5222037939812dabb7da9979c27d:"Delay in enabling","82bb338503938f2da52e91f7244a34a2":"Delay in disabling",d55c726c99995e106ba5f3bb2b791a86:"CSS class name of content area","0ce2605d7eed6782adb6bc62ffae2335":"CSS class name of floating layer",edb5acdc9ee5e75fbc238ab4a0300eaf:"Text content",b1f824deef0d11e1fe3b73167a902e31:"Text style","74cfa7e77be335e8e5489a00ef099cb9":"Ordinary text",d482086f653d92fa8f1011d39738dba3:"Paragraph",ae27115431c46fa374ac28200304f341:"Level 1 heading",de86106d6632da3fafb946f85ba91324:"Level 2 heading","27f2c5c60f373a4380ec107ad8895f0e":"Level 3 heading",c961174771e843ac4046b2b21c49424b:"Level 4 heading",a791de104833c917f801c1976b9af960:"Level 5 heading",de2687f9a16fea3654be84c74137b805:"Level 6 heading","65862c97143c6c5479e0c623093a25d6":"It is used to display a text or paragraph. Also, it supports the template syntax which can be used associate the dynamic data.","38accbc34901ee6fd7bd7cd9f92f0a2a":"This is the current time of the template content <%- new Date() %>.","590e147e49735ebbfc51ae2175c36eb0":"Edit content","47ae015d04dda362d066e4f9ac09d647":"In the inlink mode, the span label packaged content is adopted by default. In the non-inlink mode, the div label is used as a container by default.","7fcf42edf5817042904f4a122ff77582":"Video","1d5bbe0ab0d90a223c162fb375997a98":"The video control can be used to play various types of video files, including flv and hls formats.",f50bc38cf567e68250a8d15edfd8eb27:"Video address","733dda7842619a437b2486f6f71b0c10":"You can write a static value and can also use variables, such as \\${videoSrc}.",fb103fc64a0caeec24c707b9e7b50870:"Video cover image address","828f83110677bab8ef940f79f77b9049":"You can write a static value and can also use variables, such as \\${videoPoster}.","351cb1f8ffbcc9d2d4c1f35505e15864":"Mute",c7638cec349cb86eaeaeb983909fae0e:"Live stream","82f5f7bf3fb529360947cbb3b988037f":"If it is a live stream, select it. Otherwise, it may not play normally.",df0134afa26415a560ae1320dee10c19:"Video proportion","0d682d277649d8c7952d36f836619a44":"Display cover separately",ee1600dfbd6f9e86ca8761cf3fcf6a17:"Video rate","8e7124c3069460d4a8a04c3e3d9ce752":"Video frame information","1fc7d723b3a82ce32bfbbfa0a1761969":"For example, enter \\${videoFrames}. You can search for the videoFrames in the current application domain. If it is an object, a video screen-shot list is generated. After you click the list, click the screen-shot to redirect to the corresponding frame.","1fa035e78c5408c9079c20637acdb2bb":"It is used to render the Web Component.","8df7c8a1f9f579f0ddc35bb4ee50f166":"Package","5acec91385a3b9093e3c803f6b0d869a":"Wizard",c8c0339a6f9e105cfef45b76b788b635:"The form wizard can split multiple complex form items into multiple steps. Then, it can guide the user to fill the items step by step.","155149d24d20197bc0836bededf63abf":"Click “Complete”",d384a3c931bdf315e4760c9fc5980e6d:"Be triggered during final submission","335d6c56c43204f9efcefe36f097d35a":"Form data submitted","5be9e21eb0797c9faa053eb0237c36f9":"Step change-over",d837ddaacb39a13806590da335e89397:"Be triggered during step change-over","02f706d7510e68c96aa073852d90ec20":"Step index","33c627bce8015c50152941a5b6fada32":"Be triggered when the final submission is successful","574f27f7223c86545a7724d18da96651":"Be triggered when the final submission fails","8a427977d8135a019e4f1056120bfad2":"Submit steps successfully",d65dcca33a0118a0a5ce343264192ea6:"Submit a single step successfully","5d7d91d9da162ee8fddd4d331d1434b5":"Submitting steps fails","1c11d38e7ecf2facbf82f772d9222d45":"Submitting a single step fails","357954d848a9e2f12208673b3906a972":"Error information returned after submitting a single step fails",d6c21651c32c63c8d61c85944c2c91af:"Submit all","75e3dc4be4ae7aca7e1cebc13f7e486a":"Submit all data","0c3005b490ef428660ca2265a714bdbb":"Step-by-step submission","832efcc5c30746b84b910cde8630d491":"Submit the data of the current step data",eeb6908870e058bc23d52c1e405a054e:"Previous step",fc5dbc5789e158384f634eb8ff466b46:"Return to the previous step","38ce27d84639f3a6e07c00b3b4995c0e":"Next step","5fa57cab26a9d4e659c2e497018729ef":"Positioning step",fce22163929e8191b7de43699316f2a0:"Switch to the specified step",d529f7d5ed8956cd890173b4b5045a67:"Switch to the step ???","4a0ff5106d129883b446a29b1dac6f47":"??","78ada959bf5bdd6c70ee411c4cf23601":"Target step","098521c027a49fba5eb7f35430a6a9da":"Setting steps",c5538d5c74235d2988e51e632c4eed0b:"Add a step",dda36edbd4626e7fc868c14f9aa1556a:"Other settings","1fd41e410930ac58e748f7704c3a05f3":"If the API returns the step variable and the value is of digit type, e.g., 3, redirect to Step 3 after the submission.","938b484df1447d8f01f96e45125eb031":"Whether it is open or not","20022725ac2c53869f7af6646ca4ba29":"An expression is used to decide whether the current step can be open by clicking it. Additional available variable: currentStep represents the current step.",d4b8306441c00f01d4f044b3802c4266:"Default start value","37c0c041a0ad487d23c9f42c29f6d5e1":"Get started from Step N? It supports a template. However, you can render the template and set the current number of steps only during the component creation. Then, the current step cannot change according to the startStep when the component is refreshed.","076bd7c0adfc4f5d2abde6b309d9f53b":"It is used to initialize the wizard data. When the step field is returned from the interface, it is possible to control the default redirection to the Step N. Note that the value must be of number type. When submiting is returned and an asynchronous save interface exists in the current step, the wizard can initially enter the asynchronous submission status.",dbb19fea1965f7ef88cf1d1e0450c0f4:"It is used to save the form data. In the last step, click Finish to trigger the saving. If the save interface is already set in the last step, the setting here is invalid. ","0f04a65952b58cbbc5ca6cba868c3bec":"Previous button name",e54827ae56fcb690d879b9cdd29f0ac7:"Next button name",abb7ba84b95c6c90341ac9c883fbc85b:"Save and next button name",bed196af058f458def957031f88abd09:"Save and next step","81b522590d543401ad15ae8a9155361d":"Finish button name","22c2aa6b59ab30c88fd84e8e5b3c4ad7":"Previous step","7b91646d808737e7138ad8f32a3b6cde":"Next step","52b36576f88c31ed3971ca4d1fccd46f":"Step","8164ad50987e0508caf7638c663f8b7b":"Step {{@1}}",de5e232d10e2fa6218259289d4de4835:"Similar to the container, the only difference is that there is a layer of padding by default.","3954d7a9c047b7522ef92ddd5fc35852":"Padding","315dcc9412a4499cf846736fdbaaa72a":"Child node","5db7ca044a5179bf05428b283ac0452c":"After you set the style, the size setting is invalid.",c5e1f01e3d98b4db536765ae0d5b91a9:"Click “Select”","7c57a563ab87bc6eb5edd8f5b953f499":"Interface setting","6aa351f5dacd13d3d862d9c93e4a0241":"Sending method","8dc91bca9bc83efea73150e3478657fc":"Sending conditions",bf9e242338d2c26b182aa6b9c015d84c:'For example: this.type == "123"',"91ee84292a5bf5e59d3b6309f948f2f1":"An expression is used to set the sending conditions for the request.","55409342e28d37db86fb23efbd84a025":"The sending entity format is ",e06a14abe7ef66a8ead143db4ae9786e:"When a file exists in the sending content, the form-data format is used automatically.","773a0e8384fd6f784088b829d7cc2f68":"Whether to set the cache",c1b110f13431df9662299f26def71df1:"Set the valid time of the request cache, which is in ms.",a18ea11244325dd3d20c5988bc7f6e39:"Download file","68caa6082eda1745aa3f6b6d12efe423":"When the interface is for the binary file download, select it. Otherwise, the file shows unrecognizable codes.","91831507074270c0da8a31ad9ff87495":"Data replacement","42be3061671b38468cc6ac84f6a0dd77":"The default data is the append method. After being enabled, the current data is replaced completely.","4e7c006f535b13b9737ac310bc34193a":"Initial loading","3c743b8b2d662421117a2fb1c445425d":"When you configure the initialization interface, the component fetches the interface data initially. It can be modified according to the following configuration.","713ec76479b992652ed39364d3d03870":"For example, this.id represents the initial loading when an id value exists.",e5e3131aaf96b6dd10574bc9beeaf934:"Timed refresh","81fe75a5216d4f612f1809c122f5145a":"Timed refresh interval which is in ms.","83f16354dd1532422dc8b3581d096e7b":"Stop timed refresh","620f826a77f079c5683a9d3c59461ea1":"The timed refresh is always triggered once you set the timed refresh successfully. The refresh proceeds unless and until an expression is given and the conditions are satisfied.","90260d55567cfd97ec2f085963a60bcf":"HTTP configuration","9ae7a582479116d4cb41e828fbd59798":"Send data mapping","0fcbf036057c6dd88b7b809daa0c5eb7":"When the data mapping is not enabled, it send as much data as possible when the API is sent. If you want to control the data sent by yourself, or need additional data processing, enable this option.","5414824fb8efdb7d59beae4bf95fdefd":'

When the data mapping is not enabled, the sent data is automatically cut into the whitelist mode. Thus, what is sent is determined by the configuration. Bind the data, e.g., {"a": "\\${a}", "b": 2}

If you want to customize (???) based on the default(?????), add a Key as `&`. The Value is `\\$$` in the first row.

When the value is __undefined, it indicates that you need to delete the corresponding field. You can combine the {"&": "\\$$"} to achieve the blacklist effect.
',"7dd590a9d9e783e980d318bd52891905":"Return the result mapping","7e295b6ff39ec7356e06c4534bfc4fb3":"If required to process the additional data for the return result, enable this option.","417125a06b1d2bfff025e83a4e067bf0":"Sending adapter","62efcb25e5b21da47c09780119da3458":"Function signature: (api) => api, The data is in api.data. After being revised, return the api object.","6eb8944029108ad3b6bb3572a648fafa":"Receiving adapter",e83cbec70e17988749c4a02a3b73f55c:"Function signature: (payload, response, api) => payload",be47bd270e7756d4233e59bbe4cd5b96:"Request header","9e8c8bc795ad25fc992cee9d81a8c46d":"You can configure the headers object and add a custom request header.",be604f8b7ec5e80288b091ee12bbab7f:"Point","9adcfe38533f68035b2bf7831d310381":"Ribbon",cbc608353218e1d63e6f47c9db1eae64:"Text content","2613e43b46ca52dabc232054c1611c80":"Corner mark theme",d8c7e04c8e2be23dd3b81a31db6e04f1:"Information",e4f10a8916d4c5375529e21d9b66e5f9:"Corner mark position",ebc556841a9264ebaab728efad7af777:"Offset","81cdf47e8d8adfc70faac2cbc55e4067":"Offset of corner mark relative to the “horizontal” and “vertical” positions","7ba3812c61e01b3049404a46fac8deda":"Customize corner mark size","29e13ada94b145a1359291d5e1564655":"Capping number","42becf09dfd209746b66726e7d21d014":"It takes effect when it is a number in the text content.",b599979e9a40823363451aeaadc0723f:"Animation",b8c467fce096a649583c0bc9d9281a5c:"Corner mark",e35abd1e31f244eb08d1f62e6f825df2:"Bind variable",f7d2996639d97b4a03fc0e40e2eb853a:"Shortcut key","71dc8feb597052ecd0e73c9062eecdeb":"No configuration",e8755fb1e985a5d26df0fce1f0b7b0f8:"Add option","51d8a85a3c59453eed398eb8f5d35585":"Select default value",cb73fbd12620c6ff4d7e5d1047c3be4d:"Enter static default value","303efd5ba79e639001b4328cd266dddc":"Click to configure expression","7d92f998d24da41b58db140b1864f773":"The current expression becomes exceptional. The loop reference exists.",b5cc1cd60cd694f45142dc52a5bf53fc:"The numeric type do not match.","01820262aa9ad5b130f8f5b86bfd2968":"Customize option",c8158b3cad598b0b5939788ca4efb298:"Get API",b4fdf79b8f54856b072ec3874b830d1f:"Enter display text",f4ab507e2fa2d2bd66bcdeafd9fef797:"Keep consistent with the text by default",aafda9e8f6b7b613680677c513edb7a6:"Cancel selection","0560b060c438e9326f92718ccbc3f95b":"Select this item by default","5d26b8a41e805204c9dcd5ea7e23b150":"Enter text or value","22de6ef85ed60ec54dbdc1d8583e5104":"Add in batch","421252e16c6cb544fe9ce0be94a190e0":"Add options in batch",c130bd5b55edefdaf8923269e9a52439:'Each option is listed in a separate row. All items with non-repeated values are added as new options.
You can set the label and value for each row using a space, respectively, e.g., "张三 zhangsan"',"1e2f96a69fbef8caa8823a3067ebbdc7":"Enter option content",a4f1ddbbfc96930d24e4b54cb815b62b:"No option","5b4ffa2eadaf629b833b37a3e8742b2c":"No chunking","3569877e498155b59ef5299870c43f80":"By average","15e1fdd9d5cc4dc595fba0eee0719cba":"By step width","56d37871117270ce5d157a8de90dacd6":"Keep consistent with the chunk","6903085e7f31286560e4a2e160beac42":"Chunk","7145575ab9e3b4529eea61fe5fe76d0e":"Number of chunks","1c8737ec7da60e12207c9eb04ccabcd4":"Add chunk",dc4c91dfaa3b760147bd92e648560af4:"Subscript","662d8b49913650f543c024d4d02009a2":"Add subscript","69fbb2e5fc9eb3ba06096cbedbf5a622":"Conditions","8baf21fa26d6d24b4faa872953275d8d":"Static","8494b2036d3ccfe6102e930d9d8a3397":"Enter {{@1}} conditions","311f6d1fa5f13b0e280d7b3c9d40c5be":"Expand more","38aa9dc2a0f14555322061d2ff997349":"More configurations","355c54009e364bf4396be424fba10e0f":"At least retain a node","9046ad86a1a47f16e954f2ec38fb680a":"Because the level is too deep, it is recommended to use the [Get API] management option.",f69608e93e9728f4fbef583bfa1326c1:"Option name","684a0d1aeca4e9acff89221b57826d4d":"Option value",bbcbe681f9225f8adf3663f563a9f294:"Add sub-option",c08dbaf90614532aed9f526e58b7fef2:"Option management","442781667396d6eff51113f482d89e54":"Add check rule",d7a169e81b60ee08c82b5d9de473e362:"Error prompt","9d9cf35ff82a6d960538ecd650e09945":"Default system prompt: {{@1}}","5ef6ce89f52b4331b080a0f3019414f3":"Use system-customized prompt by default",db1cac8e2f6206e8f179b1ff47a676df:"The data match fails",e9908cdf79e965f6907ce9f291cdfcf8:"Action configuration",be5fbbe34ce9979bfb6576d9eddc5612:"Save",d1d9049139d870edd490215530d90458:"Execute action","9eac7e07ca0a3181766e5ecc70d20727":"Search for the running action","0174bdde9517fa331bf7d716a553e023":"Action description","0aeca07a02601a8e701a46d1a8b5ce43":"Basic settings",da1ed600ce65be863766444e60c2da05:"Execution conditions","13b2de1073f76444c49d2c6a21e46e26":"Execute this action by default",d80bc0fcbfb250480320b683e48b1467:"Select component","07682f1424e400c467accdb556d59e1c":"No configuration content","2e3ca80a58643bc28e87cc3b17bc9d80":"Execute this action","7030ff64701a938becbc5aa67ddb86e8":"Error",dec2eb7145e149f281cb7e75fbe8972a:"Redirection link",ae10a948eca808b3dd77506b24f3fd0e:"Redirect to the specified page",c7a34a3465d1beea2f85d53edcff8235:"Redirect to","0b72392143e4038e98128cb0f6f679b3":"Page Parameters",c068b579db3bf0a553bd0af4f81cc14f:"Parameter name",bfed4943c5f487de1b63a82f7230cce2:"Parameter value","56aa76ab3c987377e855ae2c6c612050":"Open a new window",fd5fb471ecce1eea63a6a95b6707f815:"Open a page","67e21dd387607ae3fb59846504fa2c4c":"Open the specified page",d7098f5050f017673319c5db1473ada7:"Open","39e107b7c4aa580f913ccbebc00f7534":"Refresh the page","261242fe62b18b620419802c7dd7da7f":"Trigger the browser to refresh the page",ca180138a862543561d3a2c4f08b2e1b:"Return page","5f6b9e7a050ae3f34b38191435e14b24":"Back from browser","27e0ca877865238aad6940481b2984d4":"Return to the previous page",f80d12dcd65429fd28841e768062d3c2:"Dialog&Message","0561589c26e732981f29709a9b574234":"Popup","256dbc5161ae393ec8a0e83ae6cf9469":"Open popout. The popup supports the complicated interaction design.","6cff4b6d794cc17f5d24dbe0d21e5732":"Dialog","507c1d40c5d6b990cf8c832b0a91cadb":"Popout content",a532be3ad5f3fda70d228b8542e81835:"Configure",b67cbb1ca7439053f06d59aac5e410dc:"Drawer content","3b02248ca3790e356e47b6900c0e3931":"Close",f33c2c6ff58bcec40d3e74e591bb3df2:"Close the current popup window",e495f416b83e4c7ff3c66ec3be96a76f:"Message prompt","61d7aaa88181c527cfb936d4c686d267":"Pop up message prompt","4e5242a645864528e10f04dc2326a5c4":"Message:","6d00710a2528332bfcac14b58e412042":"Message type",b87b77561e776367e6756e11ea652217:"Message content","43ab9af06e1e0f0b2a8767b46cf8b1cf":"Title content",f41a94bb85c5223181c4cdf83ea9021b:"Duration (ms)",a0a837f2873de80bc9ec353c30e73171:"Display position",f3296f64a8a1330d7a07f1d269a1db92:"Top left",b97a5adf068bee6c852db9dcea3a9799:"Middle upper",eafeba264b6338939f11f1b1adf40d2b:"Top right",d429ffb093e9aa3bf80da125f1be318c:"Bottom left",c241aa8f427118a719b94cbd8f2bb22d:"Middle lower","9cd707caffdfb314d939298f2f2c267c":"Bottom right","8c8fbec263e20f087555c9abcb6dd07a":"Display close button","3f3a016027e540ef10a16dbd49fffde9":"Display icon","0cd902f953656adb29985b68e6fc9754":"Configure and send an API request","1535fcfa4cb8e4d467127154977e9788":"Sending",c14a21300b61bb83b4420a1586497951:"Request:","88bdaf32c27ab169d3d686b86b3fae99":"Configure request",c5dec2a8d2308c1c15ec2e5441fd721c:"Static mode","4abbdba4b6b06ce00702a255bd89c92c":"After being selected, the service request is sent in silent mode. That is, no success or error prompt pops up.",e3b49b5bbbdea05598525e91dbdfa638:"Storage result","4dca05af026848011eedee1b53efa61c":"Enter variable name of storage request result","4da82260041107e5780bcbb3a14ef791":"If you need to perform multiple sending requests, you can modify this variable name to distinguish the results returned by different requests.","0d83078816aa273f2941c9b55ec82bf3":"Data","3f9e257178738d5d180ddc2996809c10":"Status identification","99c74120cc62f4bf31d661e3212b7121":"Prompt information","89049706952412d790b801def284629e":"Trigger download file",bb79667f37035e9562ec6bcffd6cf8ef:"Component",c852fb60f1b8ce921c3def1eba000bc5:"Component visibility","1bd4cfded5e11a7a8ea4dcfd2fa17e15":"Control the display and hide of the selected component",dce5379cb978a8259ecfca8f08f00817:"Hide",edf25860e3d457eb8ca9cb5dca06dfd7:"Display/hide","12c8d50c55eeec7059ddd5c303e34f77":"Component availability","5e75800641ec5c1198092bcf9d34f180":"Control the enabling and disabling of the selected component","7854b52a889b3ef0590d9f542efeb4c8":"Enable",d86d5919f595226b7a1e8264635ca23d:"Enable/disable",c5a9b6e8c522de8a14ad7fab51c1a1e3:"Refresh component",be4b778e7f5aa6aa5a811d7db4e1a8b3:"Request and re-load the data of the selected component","694fc5efa9e1d1c2c5eb6525e1c7fb29":"Refresh",ea4d3723b350b2cb8f4c1a615e1b7df1:"Set component data",cb7add16ba6f0cd65d5ddcad71359813:"Set the data of the data container or form item",b91ebe714155c83b6d3bc02b675a31e9:"Data","08ce6e74bb4a64753f1af2e5c836debb":"Assignment method","139294edcce271bf483dda437c421c29":"Designate serial number",a7b0b80a7bea1e5e973967c179866ef0:"Enter serial number",e887792fbbd65d21e43e832a5cd63aac:"Enter the serial number to be updated",e3a6f648390842e0c7aa82d0f2c3f6e3:"Field assignment",a25657422b40023f2731619587940bc7:"Variable name",a33903526e8fb3d1ac3066da70e7941e:"Field value","82986a4cab1d0efdbc23b3ac5f0fd509":"Clear form data",f457845da8c119a8688e333a3554284f:"Reset form data",a84a1311bea7370f1749341ffa6f75e1:"Check form data",b7579706a363e5f23b1040fecfbcb677:"Check","51325230409d4b7c64aaeb3db9904801":"Component feature action","98d130cb9a360df782f6510abacbc022":"Trigger the feature action of the selected component","557d01c07aa7c4450a414932e6c1ed2a":"Copy the text content to the clipboard","5aa4369ec61715ddef3641992fad0d4d":"Copy content:",ac04259507be8ba6b891dc9dc208f491:"Content template",c7f16d729f3bca8f6936416884a74fb8:"Customize JS","1b5a6299ef404c1f7b4292c290b80f55":"Customize action logic through JavaScript","9a2ee7044ff04234a8892a13583d14b6":"Variable value",fe9e25f4e4b3aeefeb9b7a9c368ede7e:"All data","186c8d63db1c09c38bcfd048fb15846e":"Scroll to previous page",d9b6b8e29d63ac6bb7a0381e994ebcb5:"Return to previous step","47b9cbf9f3a3f08264b19f4a1228e865":"Scroll to next page","211ae8c8666f8b803282a74f90fb0dc6":"Open prompt dialog","56eafb82d11c72b65efe07b9bedb5c19":"Open confirmation dialog",e777eb796f8a02e97a891fde43d10ce4:"{{@1}} variable",cc6aeb073ebc3cb29734a49164f8964c:"Page variables","979a50681e278dcc0be18f68459e8217":"System variables","8deee3cdecdf06a05d22fcacc7031492":"Component action","9654916723a8d1d82f5ab9d2911edf93":"Tip: After you add the following event action, the following event action should be done earlier than the old version action. It is recommended to you migrate it to the event action mechanism, helping you achieve the more flexible interaction design.","88f7a3aef4888dd507482aedc02bb808":"Configuration action (old version)",c500cfabdec9b2761fe9f1aa543933eb:"Action",fa476b76ccbd4ac9316f0fd80257b77a:"Reset and submit",c0a8088f2bbc993500c5a01b0f0a1887:"Data source variable","71448f8c10c79b32312b7e3abe9104ef":"({{@1}} result)",f4381cd48d8cb4307bc140613ea57d48:"{{@1}} result","0b446df580ad309e7c26e5242eddafac":"Event variable","1fab2b4934161e87a1f0133b9d5bc1b5":"Add event","4db5110d41293fef57f5a1f364187896":"Go to add an event quickly and start you product.","5baa9ac58c00a7fb818d4a113d3f8cff":"The image upload address is not configured.","7241f67ee4fa8e0adb5d602b5f9516df":"Start color","9f1b854df133912bb46203e84f0594ee":"Start color","8ea65e3d4e52c871d1c58b1926380ab0":"End color","0c46a7f77a7247a9cc6d6e995c0ea8cb":"End color",c7706039e8ad85969df13ce3458d199a:"Gradually-changed angle",f4882cbf65b232af449d7289354b9a16:"* The angle ranges from 0 to 360 degrees. 0 degree indicates that the angle changes gradually from the bottom to the top.","5b9ea77bb6ce2d6c82e97b120d757201":"Click or drag image to upload","61a87a021904dc65995e99d4c476cb21":"Image position","737391648d1216a1f84ac9ff52da5aa2":"Image size","0f1fd39145bad43e18f81337e0144c8c":"Fill-up",e0d76824dfe5e09c7068b44f605266d2:"Appropriate",e39d3b7a3600d9327221a637f910fc0b:"Stretch",e1ff2c83c09f2dc6cc74ae02ab6b8222:"Tile","7ddd9dbf373f760acfd63778469b5c4b":"Tile horizontally","4ab931e0f709f9b493e660156925a113":"Tile vertically","21f3929a4484e6e992af64ec1dd3a576":"Original size",a80a25b59908402cf7ee31a07d0e7739:"Left border",e0dfa25ebceabddb2180720d36d4c3b6:"Top border","57463587977a534f7859eb9d7c536629":"Right border","154d5216e42c916884431f0eea951999":"Bottom border",a8b0c20416853bda54120bf19477ad11:"All",df68a5dc8f8847179b7afdf943f80796:"Top left corner",e717b4ae480e7c073fd5a44647a7f0da:"Top right corner","2a97dfb2d236c87c41fd588f006111dc":"Bottom left corner","1c9bc9dab33944e953412f8b22cb024a":"Bottom right corner","4dbe7c40ee82a56bb7a8152d4bbc07f9":"Rounded corner size",bb1531cc9643230ba0cbd7465818b52f:"Border line type",cc4c575642609fbf059a5df81eb86bfc:"Solid line",b1e0ebac23ed95807ecc566da3ffab48:"Dotted line","61f6f4fc0b806ac9d41ad0792e6155f6":"Dashed line",bade10099f8447210ce7b97fa106b527:"Line width","5babfafd769570de3bba47605753361a":"Border width ",af208c560d926f0daf4b2ce2d396505d:"X-axis offset",b6b46126bfb0851ca10e74541c5d7be1:"Y-axis offset","4a32b29da68a6ee204b3743e0fab8bb3":"Blur","22d460dcddb7fda718bc62034c459158":"Spread",b24a723b73f96ab3340fe9502370ee13:"Inner shadow","1cbac849ccc41edb12271d9fe9b65b5f":"Shadow Color",e94d6fc08a97892ff9d8c8d9a8d9e0ab:"Set Shadow Color",a5d833839a610994dc4752e2d91f4192:"Display Type","2c86d897c71cc9c2e648222a200d5bbb":"Block","0b0052c532b457b2d032c9f56af9e4e5":"Inline block","70d457cd36de1acefe7d9587f3f862c9":"Inline element",b5f55e5c7101d9be5218d63850e1ad8b:"Flex layout",a648bd0b9eb3c86e39cabeac484917a5:"Flex layout configuration","452dba7c65211630f8066b070fdf157f":"Automatic line wrapping","098d946b6f0cc85110c54cfac8691cc3":"Flex direction",aee1aeb8d65547f8a368bd7364cacf12:"Default level","4c38eb0fea71a9506fd434a7ac5cb1c2":"Default to vertical",ae07817b441091793c8af39256908373:"Horizontal reverse","618515fd68ecfc4a5b58462f0cb9666b":"Vertical reverse","58554717be87c1f8a6d6c769f74f0679":"Main axis alignment",dfc71567fb75f5c73da377013a223168:"Leave a blank at the starting and end points",eb5ec10ef70689996dd5cd66e17a64aa:"Alignment at the starting and end points",ba3a7db7cc1ac5a908358f62fdbb21de:"Equal spacing between elements",f6cbf29fdb5e94052a22986533c7267f:"Cross-axis alignment","6b461e0a4ffef9438fb8f01369091cac":"Font Type","2539fe0e6d40a023dd95d0bd71d10bc9":"Select Font","690660d9dbd7312ad2825e554736e2f8":"Font Color","5f15efdc32badce0902c46a7a0105c51":"Font Size","4c5fead0489fbc7651c91400dec5d379":"Text Style",d1b490c01d24a1a70e9c83a29ac38fde:"Text position","4ae7f423d9ed9ffa48c3e404f96bb51f":"Text Type Setting","65786fea9d354015d3a2724086f7f3d6":"Default font","1a63ac23010e0573f7c0a8cd3314b8c6":"Example","226c06861b0605a3276311b1369204f2":"Interface return example","1f318234cab713b51b5172d91770bc11":"Advanced configuration",a0472043a9598b1b19f1adcec1e1d75d:"An error exists in the interface configuration, so you need to check it carefully.","2816c3584802b2fc75db5bc3c6aa81e8":"Set valid time of request cache","6e889f0cc8c1d8f705edfd5d0bbdaaa0":"Select it and set Content-Disposition when the interface is used to download binary files.","508a38f518821a0f6bb2d15269b31ece":"The default data is the append method. After you enable this option, it is replaced completely.","5c131eb3bc61f6b0a26e20449ad7ce56":"Customize adapter",f514cabe63553a850063834c9d44a5ee:"You can get dynamic options through the interface and fetch all options once.","47d0a7caaa2baee8d38612a1c57421ef":"Whether to perform initial load","866a60d7fbdfeba6ae42c7e9c7b03059":"When you configure the initialization interface, the component fetches the interface data initially. It can be modified according to the following configuration.","3f4f3acd6968f38361dddc6612a0c54f":"Backend agency","66670400b1f3e4b6c94cff171d441585":"Form item inline","21a1d138166d5d92276d126cf1d6ecac":"Control width",ffaa96ef7232cb6d8ee4d7e673dbf4ac:"Full occupation","4e9ce9dfe13d97031d228fc5ae229f0d":"Hide title",e2773277c7765d4590f7128423c58cee:"After the title is hidden, the title width is 0 in the horizontal layout.",cc572c07586f4ea0c5b9b1060eb777f2:"Placeholder for empty content prompt","8528426e54902956723f322bdbbcfafc":"Input box prompt",dc5dbe7a1b1ff5cae22ffbb636bc6380:"It appears when the input box gets the focus. It is used to prompt the user’s input content.",ff255db9b108589abd5c649e2a02e3f1:"Control prompt","9e783b34207fe24bc488136faba65442":"Display the prompt beside the input control. Note that you need to set the control width. Otherwise, the prompt to trigger the icon leads to the automatic wrapping.","7ad83bbe4646a0011ece7fd338d1e189":"Display prompt beside title",b3e55578af5dd473bab62641bb2f5f8e:"Input type","16084784a0f126b501e96994c792d411":"Date type","8190915888889ed18be44ea0351d0448":"Month","8f30e9f8678c24496921bebae6ca2ac6":"Year",dc46b7f19799047a26fee668d49be0f3:"The option rendering template supports JSX and uses the variable \\${xx}.",b18ec08df2e47313bcc93430e7a25fd3:"It supports the JS expression, such as `this.xxx == 1`.",b7dee01f2d085d90c47bcb8b490d9055:"Click to select icon","689fad203a167d542c12bdc46f27e921":"Name","6c1e18fd4cb57288a9f43603d5167292":"It is required when you need to link it. Other components can be linked with the current component through this name.",ae344073ea6ca9ce742899cdf6d3e106:"Enter a letter or figure","1a1ff1e1149a0cd1b39c0b231a334d04":"You can specify to refresh the target component after the operation is complete. Enter the name property of the target component. Multiple components should be separated with ,. If the target component is a form item, first enter the form name, and then connect the form item name with ., such as xxForm.xxControl. Additionally, you can refresh the whole page if you set the refresh target object to window. ","705b3b333576dbf6c063d7060a4cc509":"After the name is set, the completion of the current component operation will trigger the refresh of the target component (according to the set name).","7080fa6e0ca1d7e24f6f8cac05077a3a":'Which secondary CSS class names are available? Go to Style instructions. In addition, you can add a custom class name, and then add a custom style in the system configuration.',"3bce1a6217990c8dc087d254f1fe754a":"Automatic fill",f01553e415ca33cc89d0bca84023f4b5:"Automatically fill the value in a field of the currently-selected option into a form item in the form. The data mapping is supportive.","04d815a5d4b803d6bb956d2da5a82688":"Required",a1b6281dc554ac84a3e6062f812fe50d:"Light text description below the form item control","85541bd9f7f39a6e6d9d26cbe09cbdd4":"Read-only","4d681c4aa93c8d005ec2ca2370618d6e":"Visible","5d0595edc3d14aec24efef85534e4314":"Default value setting","495333d64fc1efafd6c40bc9a3929fee":"Get the value according to the name when it is not set","32f13c9db34f638c2c5cf2bf19326ebf":"Keyboard event","2882b15b04cb47d1497160b5061b9186":"Disabled by default","530c4483c7e52dc409509b755eabee11":"Thousands separator","090dbd614a66a56a5eadec87f59ea15c":"Image path","2a0c4740f156a9536049f4610da25400":"File","4fa2ae7d726dc395cfea70ff3d7256d2":"Markdown content","52f43ce846b2bf73f86195cf196fe578":"Counter",b9245d69d2d82b0081ced47a18c27f41:"Full border","8f9b1b7e38cd2ed16f22807417ab3573":"Half border","7fc7940b4f7f58b49c71bf9e237b633e":"No border",b4521626a48dcb61001fc563d2433ed3:"Sortable","6fdccea6068e0698c565acd92052a86e":"You must select the end level.",a80c61384a8459ef7bfb5082a2b54b5f:"You must select the end level, but cannot select the middle level.","71758057056e7f31d73e3f3ac8860b4f":"Delete field when it is hid.",ce641d8297471a5d65c46cdfb023097c:"Delete the value of the form item in the form submission data when the current form item is hid.","3e719b87b9ee71d4613caefbf2fd1074":"UTC conversion",d52e57147787797ae0153d43bf8be298:"After this feature is enabled, the submitted data and displayed data are UTC-converted. Recommend you enable the applications that have cross-region users.","339b9ebd91070de050b4bfe483aa4474":"Embedded mode","49a79f4047b81186c069ed1c9c151c66":"Light color","41e8e8b9935c9ee4e88b06643a2d5b81":"Dark color",bde770827b9137ddb3eb676878af9709:"Secondary",b1ea078db7298ea7872d894283378507:"Uploading method","74cef1162781310e1503d2dc463a76fc":"Baidu Object Storage","38fbc7fb70b4399d7e4050d3cbcdf229":"Storage repository",e5d59ccec2caa64ca83b7cc740645928:"Default repository in the platform",b6789c926cf3d23d13a6a3220bcb8e23:"Initial static data",a4895ee2e87d1c47b734dbcf1a535aeb:"Select page","150075376834f1879d6ceb7c2d10ec67":"Proportion","34598b2c71a8affb13da84ba39e905d5":"12 equally-divided parts. The title width occupies n/12.","73ec114993142f627ab6c3e6706fa3c3":"Title width",ae6fa9e75d38b9db24f78496b72bcc75:"Fixed width","424f04d454332ddaff4daa0a365e9335":"Sub-form display mode",b17754a193ac835bcae0bf960f3a3772:"Set sub-form horizontal ratio","2e282fb6405a60830112991f88e95753":"Left width",c41b3271487a3cc63e79feeb11b11de0:"Ratio","0fcf69b5d0b44955fcbec9702f90b556":"Small width",b591aed69defa2abf0486da6a58dfb5e:"Fixed width","0fa590019ace86acee8d7655e5fb11b7":"Big width","51c1e80408011ba118cdcc696f28283d":"Left and right distribution adjustment (n/12)",aa0ff71cb10c3e54d68874dc2b17acaf:"There are 12 equally-divided parts in total. You can set the left width equivalent to n/12.","1f08c91da33fc5f0616e8a85c0456a18":"The static data do not support multiple levels temporarily. Thus, you can switch to the code mode or use the source interface to get the data.",cf763c357566be6fdaee886a40ddcca7:"Option text","1ca0b9b486be3b766a92474189f11fc8":"Concatenation symbol",ab8e2e8cd076bd115cdd600d17ca5020:"Concatenate multiple values to a connector that consists of a string.","6df0630b4f00b6bd05de8af09c2f78ad":"Extract value only",d7d810ec89408c206a220f62edde737f:"After this option is enabled, the value of the selected option is encapsulated to an array. After this option is disabled, the data of the whole option is encapsulated to an array.","4cff56e2b9703018efc48218b83844b1":"Can create","457c4cf8e1e2e0daef8949085555563f":"The configuration event action can be inserted or intercept the default interaction.",d03c96a2da4905c5f13a87c0d8ddbdb4:"Add API","26bb8418786593149c0bf9f8970ab6de":"Create",a32b3bf74850faad3a9ae6a0a5dac781:"Editable",ea56ca3dac0d39e463a8233fd40a9eb6:"Edit API","3c87af7c432e6b1f59e4f415fd5060cf":"Deletable","793e260d5b7c67d43b5c6d5e885d2363":"Delete API","63bbd68594c9a987d0ff41d645fafa16":"Whether the first option is selected by default.","0dd2e4469872c176ab1e85b66d99da98":"Hide path",b7e26fcff328b28b393ef2e57e96e258:"Hide the text information about the ancestor node of the selected node",c49fc970bcd168e1c652a8ced5d95d0d:"Other item",a45b5d3fcdb8210d249b2c6d545b6691:"Cursor type","2c3888961c01fc9c466d88c88029158f":"No pointer","062d0b688adb10f3af5ebc2fd2667f1c":"Floating","92e3a830ae9a1252278da742c0af74c3":"Help","87e277f953fd3c867d7fa02897c2c124":"Cross pointer",c19639326396d2527268484379a671d8:"Moveable","183f48b3c1f0f84e538cd4315e5645e9":"Fetchable","4f9b192ce84b4df0900510257082ef43":"Enlarged",b21ac25366449b1720bdd75d39f163d2:"Reduced","93ab99d761c9ca97dc926e6db10469a3":"Font size","86cdd659decaa1b959795eff92a0c2d6":"Font weight",e8ed49e9fde0bb778e2185876c2d2697:"Margin","4e7f76261f8c4c6d78998f85fc1f4c6e":"Margin","841d77223f0ec8cd0b530ed8e0775b20":"Padding",b5bd9a6703f5433ff34aa0af9049740c:"Rounded corner width","14eb3a698316caf3fbe9b2ab9c3d9527":"Special effect",cff1ec632eaf35f64791615e15ce6d76:"Mailbox format",fab6f9029822dea7838bf9908d7f5c09:"Url format","1111c44adfa40fe9cb22797d2c1e37e8":"Letter","725bf3485a0456cf7f65a507ce67254b":"Letters and numbers","96c4ea83892a3227a2aa5b8f3759bca4":"Integer","35962d17a3fba5f4802d7845695a3e72":"Floating-point number","28e8e048490110c8dd8e2ad6af324980":"Fixed length","8c4ee6022f1525097a1141acad094d4e":"Maximum length","17971609e210034c0d6a25b0186e2b7b":"Maximum length","92448a35f41de3a1fa69135acfed5ce9":"Mobile phone number","193a8c42c1c373f385a4c7b33ffc381e":"Phone number","6102d474314f27577d89e85b4c6cc4a5":"Postcode","84e0cb5d57ed995b0cc04b4ab9a7997b":"ID card number","8dbec4f0c05be45a8acf6a5ae9d1f880":"JSON Format",eb242bc7524c797fb1aee2344dec92da:"Identical to the specified value",c17d9577233793976d3902c117eed82b:"It is identical to the specified field value.",b457177c184722b655954a08cf3f71ca:"Customize regular expressions",d3927ffde0fdefc47f910e70226d6a4e:"Customize regular expression 2","0ebee58f4f2a0f807f08a6427dc58497":"Customize regular expression 3","15f52cddb226421e68c70488fff3db5b":"Customize regular expression 4","271b01959e09c0771760f59964baed56":"Customize regular expression 5","4eddee6a20aceddd6bcdf7e0736887ee":"Verification rules",ba3c802f3ce1641eb6f8986e8d19e672:"Add rule","7be30fe376e9bfd8895ee50e6f4216f3":"Set length",d00f99fd76e86ba4dab6f70858010ca0:"Set maximum value",e993ecfbb3f934481257f1bb57056bfe:"Set minimum value","99f5d503544334c670cbe1f400aea9e1":"Set maximum length value","91bdac623455c91b7400328a5600cec0":"Set minimum length value","7002c4a1b7cb5bc32ffd52e1f2d74c70":"Set value",aa9cfa5321e589494841ddd90a10c467:"Set field name",d22b6fb1c857777ba21467835efc65d6:"Set regular expression rules","1b7e06ef04d7167e174eb6929421592f":"Email format incorrect","2d163645de4d4b4760e9fbdb535a1a88":"This option is required.","87c91ce706ab845b55ce95372265b92e":"Url format incorrect","2b702fb5b95d47944246f79ae4032281":"Enter integer","48e2aca8e6347b008b6fbdb48fc4b597":"Enter letter",de66a286057d4e3f1ee2d9bccbd48ce5:"Enter figure","84f46c9b82c3c8fe276dfa65173c59bb":"Enter floating-point value",fb73d98245f558dbb2d6a0c8d2699780:"You can input letters, figures, `-`, and `_` only.","923a91fdc2c777f8443c85278060195a":"The format is incorrect. Enter the content that meets the rule of `$1`.",d87b1a3d180a1cc56bbd174d2860ca4c:"Enter more content which includes at least $1 character.","9b8d6abb2f03fbcbdb0e4d2b1970a751":"Control the content length and do not enter more than $1 character.","2a5d0be4d5cd088f0371ba6f8656fe7a":"Check it when the current input value exceeds the maximum value $1 ","8256618e16217325e6a1d880f8eb7adb":"Check it when the current input value is less than minimum value $1",f58829312013d929923b0c2a1fbacf19:"Check Json format","161278fb2c71e5a8aa8aac50f230233d":"Enter valid phone number",ba42949accfe87c20e6c2486cd065dd2:"Enter valid phone number","1d2c5048143328e21cb9c2dd84b696fb":"Enter valid postal address","038b3ed111e87b56572f3945a1b0e02c":"Enter valid ID number","335e2618dda48c05f4f833ebb1e299df":"Enter the content with a length of $1",bce45e909d6d14a126554c8cf6f65a13:"Do not enter all blank characters","17bb8e76f78bd16a1841e36ab8462e53":"The input data is inconsistent with $1.",ab534c35774dccc322331a079ae6e7df:"The input data is inconsistent with $1.",ebd0dc3ebde6182caa3b66e0faf658b6:"Customize verification prompt",d7772d568894afbb1c924bed7f7ddb32:"When the prompt conditions are not satisfied, you can customize it.","58c9592f818d706420236c6f9f595517":"Add prompt","171f7b825707ddd79175fed3f8def6cd":"The submission is done once the modification is complete","6ccb7091c39a5229f7e77eff4dd44a0e":"After you enable this option, trigger the submission once you make a modification every time","1a006028adf7167ae28cdf532bb75ef4":"Trigger check action","8d877748c3bc71b517e2d46344916b3f":"Trigger the check action once you make a modification every time after the submission","2c60032f2a57717e4f7c16ee185795d6":"Trigger the check once you make a modification","5ed62f810226722d7c910c2d8dc4a0e8":"Trigger it upon the submission",ed3dd0bfa89500c5feb306cd4d9db56c:"Regular expressions","537b39a8b56fdc27a5fdd70aa032d3bc":"Required",ab90c616dd114af087b31b90d3cb4063:"Number of characters","41e82a5a0e53ba94d1160ee855c72a7a":"Enter number of characters",a85ce2404b26140080c929ad9c3ec305:"Enter more content which includes at least $1 character",e93275245d529c486018e47136bfae2e:"Check Json format","2c8c25bb51dfd9ddfc74fd75a8a380a1":"Value content","859102d8ced9928cc71bb225961171bf":"Enter Js regular expression",a4313469fd7361486fe47076629c76ac:"Add record","50abd0bf31e07dbee84e9e5b9a407840":"Add record","73f28ac83b623fb81d73f16fb3856fa0":"Data import","8d9a071ee2ef45e045968e117a205c07":"Import","09d44261d7883bf5141a462a790d2816":"Data export","55405ea6ff6fd823ffab7e6b10ddfa95":"Export","6ff4bf3d567e977aa4c90c27dff1e6db":"Fuzzy query",e5f71fc31e7246dd6ccc5539570471b0:"Search",c26996a6506adf397f0668d376d0b40b:"Simple query","9c4666fd08c2738eb9611a3721cb5f0f":"Advanced query",e22b59b6bda1cf9a58f8979fd0a0b43c:"Edit record",a790208cafd5c95a18dd9a168319ecf8:"Delete record","39ccc34fa3ee9be12d8bae7e6fecbac2":"Action column","240145572215920ae06db1eeb85b29c0":"Optional","099cf136d6a4b6ed4646af4a2ed066b2":"Retain selected items","60011314ed92794f3d4f3e874c359279":"After the default switch-over to a page and the search, the items selected by the user are cleared. After you enable this feature, the user’s selection is retained. Also, this feature allows you to achieve the cross-page batch actions.","949a8b7bd2c10070a2fae16f9c66afbb":"Column setting","2816cea6c4887a53c417831deb5fbe00":"Custom display column",d3c5079f7e26b1a7374ff76341376de4:"It is enabled automatically when the number of columns exceeds 10.","4a3ebd0ef27212de3b0c39e6a9701b1d":"Search setting",a9a3a4608d48214efbdfac99888f6e0f:"Action setting","84a2f40385427bbf2edc79e3368e4e0f":"Add action",cb43abed5ba14bf32fbb1058e12d2303:"More and paging","48b42e5c3ea447092eaf0a1a13195540":"Paging mode","16b8ff2b147382be4cf8654f829df904":"Frontend paging",d2e20bb1e977f9571a9e2d1b39a7ff10:"The data is loaded to the browser once, so you do not make a request to load the data on the current page that is requested by the backend user. It is not recommended to enable this option because it has significant influence on the performance.","73721e611daaafe5c34aa9f3f901d016":"Data container","46a0f3086dce242abe54e48bd86e0394":"List display","278249b178c958cee0f5ee9ee9d1e0f5":"{{@ 1}} Create wizard",d75a7984d3fa5b32f5d8312e899aeea8:"Data configuration",c2f1f9254c245976e346377515c2e578:"Feature configuration","0943d61befec4c6cf2d21d170c9b066e":"Condition query","5246d2c81fa12b1f4f73635c257e232d":"Data operation","1b79a4f49b7a21e62b8868f12189b0b0":"Data loading","5a28d015b7b3518f75bc4cc27d9f6c20":"List data paging",cfd84204d9476936c949d071cc2338cf:"Data query",c6bd3393c21379d3f75d179abe36da3d:"Use specified conditions to accomplish list data query","3a6ecf25c38317b21b8c6287100f053a":"Trigger data query",b3a4d6a345372c5def1d5a1bf6077bce:"Load more data to list container","34e83e1be408c4f198464da1bf56bf9c":"Load more data","2c77cfaef73ce2e81131861e9c6d670e":"Selected data","9c9153c49491c381dc2adb2c36fccb04":"No data selected","9a4fe969f1066e197fd2369a44d879ac":"Current page",a7f33a2d99056edcdaced5c8841a9bcb:"Total number of data entries",a0c35361a003527d123cb581f5c68f4b:"This option is to realize the addition, deletion, change, and view of the data in the card list. It is used for data fetch, paging, single-entry operation, batch operation, sorting, quick edit, and other features. Also, it is integrated with the query conditions.","860827796ce2fa94e9ee39e53f011ec0":"This option is to realize the addition, deletion, change, and view of the data in the list. It is used for data fetching, paging, single operation, batch operation, sorting, quick edit, and other features. Also, it is integrated with the query conditions.","629645f147f378869fe9d7ee2bbc2857":"Sub-title content","97d03d4621f0024cf045afbd901197a5":"Select area","44705bb94d83e7bd6b3b6c1480ebfb38":"Click to trigger selected area or cancel selected area",e30a958a6397e53fae9d5316e851d3aa:"Entire","31ad7a215f3df84c33b8c28223147b8e":"Select-box","563ae5ccda5004fa1fce77c1ed5bf057":"Hide select-box",aeca6900b9e45f7f235eb9d443f0dd61:"This option is used to hide the select-box. It is possible to achieve the selection style by customizing the appearance of the selection status.","1d4103a96a70de2cb69dd597d679fefe":"Selection status",e8b90f43fc3cfb0a68e4392054de97e9:`\r If the backend does not return the Echart configuration directly, you can compile a paragraph of function to pack it. \r

Signature: (config, echarts, data) => config

\r

Parameter description

\r @@ -327,7 +327,7 @@ Expecting `+fa.join(", ")+", got '"+(this.terminals_[_e]||_e)+"'":Ma="Parse erro {{@1}} }, null, '
')}`,d2b46e7989e18239d7036affd4d521db:"{{@1}}字段","9caecd931b956381e0763d05aa42835c":"字段","47cd88592f6ef2b258f02c0690d267ed":"隐藏,默认选中","32c65d8d7431e76029678ec7bb73a5ab":"标题","020586d0c69f8211840ddf9ee9bbf6ab":"绑定字段","226b0912184333c81babf2f1894ec0c1":"类型","97d07614380da93d257f9fbf81aa56fb":"文本","20def7942674282277c3714ed7ea6ce0":"图片","4ff1e74e43a3586339251494117185ad":"日期",c7bff79d059a0b7ff9b02441959d8be2:"进度","3fea7ca76cdece641436d7ab0d02ab1b":"状态","9da188491dd34c4382a5b9f006194e41":"映射",b3e55578af5dd473bab62641bb2f5f8e:"输入类型","9b6425cd2d496c9cb5a6c6b8ff125d1b":"输入框","15d169d28cd48c97fe751e4cc92ca926":"多行文本","9597dcaf432ceba92a160d61cb1ef65f":"数字输入","9913107b19cb6012250134ff91377430":"单选框","454e60f5759903d7d3dba58e3f9bd590":"勾选框",db98f889ce6bc235e66bd4b2a788d137:"复选框","006ded9fa277cf030592021f595a07d5":"下拉框",a6beb974cc0b50eebd18120b8110a88b:"开关",b339aa87104709397ba68e7ebbc6e5ba:"表格","481e034e6026969aae4ce7ce7c8a7b6f":"文件上传","6bfb9bb2218ff32b6139e98bc93707c0":"图片上传","24b6d4c0892a8f3ee2a982e3ab0afe38":"富文本编辑器","4484fa04e7b71db4c8293e5bcb53eca4":"添加字段","4cc6a76c146c0360a41ceaf5e212c891":"基于接口自动生成字段",a9fea442707e26dee478b34a2f2ce263:"请先填写接口","91aa2166ee4811414381c8d94e6567e6":"API返回格式不正确,请查看接口响应格式要求","3712972d84adf48acbd6ad24b4d75ad0":"列表","66ab5e9f24c8f46012a25c89919fb191":"新增",f26225bde6a250894a04db4c53ea03d0:"详情","95b351c86267f3aedf89520959bce689":"编辑","2f4aaddde33c9b93c36fd2503f3d122b":"删除",e73cefac9d030927da1618c7b15c98c9:"批量编辑","7fb62b30119c3797a843a48368463314":"批量删除","8d9a071ee2ef45e045968e117a205c07":"导入","55405ea6ff6fd823ffab7e6b10ddfa95":"导出",c26996a6506adf397f0668d376d0b40b:"简单查询","6ff4bf3d567e977aa4c90c27dff1e6db":"模糊查询","9c4666fd08c2738eb9611a3721cb5f0f":"高级查询",a094e5b7699ea4b61094cc4120170423:"数据来源","4e7f76261f8c4c6d78998f85fc1f4c6e":"外边距","16a20243f9b741c08216dc9548de2968":"整体","23ecf42cada8bf2715792d718544d107":"极小","391b8fa9c747a1799353ab856e666ad5":"小",fd6e80f1e0199d6ecc3ee81ae04aa9ef:"正常",aed1dfbc31703955e64806b799b67645:"中",ab18e30c0dc4093ceeda8961fac3d1f4:"大","461d364c67ec6a45e011ed13f2f7154f":"上边距","31e3752986d64c8b36897c8641c8628d":"右边距",eabe91d9426b6446f707cea3e7ab2418:"下边距","2e46d251ee6188bb1b3ff20656276572":"左边距","3dc4038d0f0a2d2b3c2b2e29a5ec6dde":"置无",a8b0c20416853bda54120bf19477ad11:"全部",af767b7e4ae069d54f9ea839858d4c6d:"上","4d9c32c23df5d234e629c922c58d8e12":"右","3850a186c3235bc646d4c2f79cebac36":"下",d2aff1417831aa621c16cd5b95306b4b:"左","841d77223f0ec8cd0b530ed8e0775b20":"内边距","961534b4ea37e4e88aada736b299d063":"边框",d4d2a66820d30e07b44c850eb3f116c0:"位置","58f966670529f4753fb3c5a0647606be":"大小","6b36c6f7ec834692ec6c8e3816349fdd":"颜色",fbae87bcc352f6933541fb77a07418ed:"主色",d8c7e04c8e2be23dd3b81a31db6e04f1:"信息","900c70fa5f7dbc014e6f762d5e0e885c":"警告","540f84ddc0883866b229f71c2844199a":"危险","330363dfc524cff2488f2ebde0500896":"成功","2fc96b2704b05d6a9f299c442573ee77":"白色",adb7e5312abdb9a44297e48d63815fa3:"暗色","48d0a09bdd5fe7e89f0a445b0ffdf14f":"浅色","0d98c74797e49d00bcc4c17c9d557a2b":"其他","0103eb2d3dca70270d1a74e9ec987ac9":"圆角","8456bc40d48da5af833f1c63385e9879":"字体",b3b2682579133673d3fe08c156d565dc:"细","56dce5d1cbb97439d291c458e50107e0":"粗","49a79f4047b81186c069ed1c9c151c66":"淡色","8e1b944f4389bdaab6f11d5bc83190c8":"背景",c28479019e24e0e4745f4948e9e97ee7:"宽度",f72ce9ad683cc82e0eab557ffc9c67a0:"特小",b95c462d7697958c25861193fc89ae07:"加大","3386da5f56fac758ed0f18e024ecb943":"特大",ffaa96ef7232cb6d8ee4d7e673dbf4ac:"占满","47eac1ac32a8aa9081dffbdc4d374318":"请输入 css 类名","939d5345ad4345dbaabe14798f6ac0f1":"提交","55c56d01a7747ffe0346d42145b62d97":"[amis-editor]响应动态添加插件事件:",d6f73c6f3b92be5a64f7ea0163501284:"区域节点不允许剪切。","4fda4f585214d469c04466e2fc98b796":"根节点不允许剪切。","657bbe06d3922b23552817df7fa8268e":"当前元素不允许剪切。","416445a316595bdeb44b661c7de875a8":"当前元素不能向上移动","6ac88d87b2fd118ba7beab8c17880470":"当前元素不能向下移动",fdb3cba60407b2f1aea0230cca644573:"区域节点不可以直接删除。","8a4b4e2e3b0382007e0c69ed1fe6fe71":"根节点不允许删除。","22f031f3de2e55c430a818d8c588f7a1":"当前元素不允许删除。","3b6d5995e9f2ecd3df059b3f1bea201e":"调用错误,或者存在跨域。","09f33be5ec04eb48b3102e4e31af5b38":"调用错误","283c2a52955ad87574fd6c0cc932c443":"只能在 Iframe 里面调用",a71002967924a83e32b38a80705290fb:"系统错误","058ebdf2884474ebff2977ba2f0e275e":"系统消息","88f000a0fdc38ce3808cef072b00893c":"渲染中...","279321f97f11da7bc90facca156b3444":"代码有误,错误的地方是\\n {{@1}}","7e4b38ba0ab9cbfcabd9dd859e36b601":"当前有部分已更改数据因为格式不正确尚未保存,您确认要丢弃这部分更改吗?",af86ad9dd8a221f931dcdc5a63382b6f:"查看更改","43d586cd6cf1a512c0bcb85ed9efde51":"请确认",bb79667f37035e9562ec6bcffd6cf8ef:"组件","5cb297585d4c81bb8fdbd31210a30d6f":"系统组件","6fce1c9aa3654ae2f0eedcc068a7e189":"自定义组件","06e004ef21414c06d3e4ff2cefaf6a04":"代码","7f7c624a843b0d539a4ea59a696702f9":"批量操作",b80ed82d124c6fd9242dcacdda2a2f8b:"更改组件类型","41150516bf0d90646edc5239593366e9":"选中组件插入到",d87481b371771b4f150da76e311bbbef:"输入关键字可过滤组件",becdc848350872592201e31bab03892a:"无法预览","751dfe6f476903c21381c9acf88332e2":"没有可用组件,也许你该切换容器试试。",e22c9a05b424b761efce11f17726fdd7:"替换","9bdb07e72d3a9a6084201a7398523f5a":"插入","625fb26b4b3340f7872b411f401e754c":"取消","95509c09bdef4bb7842a9b957ab1f971":"关闭悬浮模式","426480bb614633c8c3ba8faa0338b72f":"开启悬浮模式",fbf7967f9baf6a22bd6ca7f4e6390bf9:"{{@1}}-[公共配置]","93383ef1ab4a433df97a56a73e571b9f":"大纲","962d43ff8d39c381d8e2c73838412111":"查询页面元素","0c95d1856ffdeeade7cebe0ef928f361":"将目标拖入导航中的节点可以切换容器",c482df2a3ac8e014febd8a5fc9cadaea:"加载中,请稍等...",c44c6c179c44e794b103053886847dc4:"没有预览图",e4cefe7df36e92da1d7e875b92655507:"点击展开","7ae451de83aa6f5f140e941904377391":"点击折叠","84c8f0087acfc9b9862371d0bd59b830":"点击添加「{{@1}}」",f3430f4fdd8b9643daa74f4a5716dd15:" 详情 ",b797a8992ef41320919e45a069f2b459:"没有找到可用组件,您可以换个关键字继续查找。","0bd36c8db19e3a93506f39ebc8ff0ab9":"当表单、列表等组件有名字时会出现在这里方便选择",bb28ec819520ced0ffb4c3da01f112e2:"点击清空当前区域",eeb6908870e058bc23d52c1e405a054e:"上一步","38ce27d84639f3a6e07c00b3b4995c0e":"下一步",e83a256e4f5bb4ff8b3d804b5473217a:"确认","22c799040acdb2601b437ed5449de076":"容器",bd9fcf46b4e5993f97fe04ee9ebcd7ed:"撤销",c3c873d33f1c6482c79b0ffd862786cd:"重做",e9509c688a0df6b088503d21569b6e8f:"类型错误,无法渲染","2168c5735883bd040eaf09909d0911b8":"输入关键字查询组件",e9c38f88375807704270aa3572454976:"搜索历史","288f0c404c4e546aa3683ff5054e85e2":"清空","4b9bc9abf2a2beb3772d903a3d01d1de":"点击删除这条搜索记录","9d3128a1675de32cdd290b31140a7290":"搜索结果为空,您可以换个关键字继续查找。",accb901a02b1415b40d95cdd31b8da1d:"组件分类","79d3abe929f67f0644a78bf32adb3a89":"复制",b7d817611230d382f6ef92b41848a342:"复制当前选中元素",eafbece1016a6af76cce466e55ad9f00:"粘贴",e0b9bb8e41eccd3ce6b282664643d7f8:"将复制的元素插入到当前选中节点","43fc77886b7fbcd658f0ccdba36bd5a0":"剪切",a6be4ad12e9612811963c44466af3218:"剪切当前选中元素","58887132871b71b015c3a391e7755815":"恢复上一次撤销的操作",be5fbbe34ce9979bfb6576d9eddc5612:"保存","1f81fd4598e9151538f29c41b8aa0020":"保存当前所有操作","645dbc5504e722a30896486085a06b32":"预览","5bc425ac8b75c571093a63eb6073c354":"开启预览模式","426cd14ebd62a4922186527d07ba37f3":"删除当前节点","499e58e764420aeed2d1476a56d8fa34":"向上移动",d040485f0e3887f0b297f8f772db03e4:"向上移动当前节点","08ad565f066d30572d1f8e2ee17cbe12":"向下移动","6348dc0e83d6ab391a8816f67d0e5ceb":"向下移动当前节点",fbec96e028142496df88ed2c63b44512:"点击查看当前可用快捷键","9c3f1278ffa822835bb3a677f02bca27":"当前可用快捷键","4e98a5dcd3defffb23629fce3add04f6":"暂无快捷键","186733ed7ec817040b8f9cbc610ba49a":"程序错误",e777eb796f8a02e97a891fde43d10ce4:"{{@1}}变量","5d665bc55779aafdefcc4050e3a8429e":"{{@1}}({{@2}})渲染发生错误:",a30dd4945df5b44b264fa3be6ee9682e:"当前渲染器信息:","63f94190d2d4ea22263e6e9f07c96558":"错误对象:",f66335b5bff0e26fdff2a3303e0f9bb0:"错误信息:","966e23b5c1efe8e18fc4f0c326d47314":")渲染发生错误,详细错误信息请查看控制台输出。","245897371cda2055f5c17c6cf298ed48":"温馨提示:预览模式下禁止跳转",e1b7255934e3189b1f5d440fc1aa0230:"注册插件异常,已存在同名插件:","979a50681e278dcc0be18f68459e8217":"系统变量","75c142934800d6ee31fcf3fdff9e5d53":"[amis-editor]当前已有{{@1}}插件","0e24e1bbc19612a350f81296d9fb7802":"请先选择一个元素作为插入的位置。",bd690facb536d759814ee64f2760fecb:"当前节点不允许追加新组件。","02f180cd26ff0951ddfda490080ee5ea":"配置项已复制","1ff035555ac8a68dc5b0ea2d0af55f00":"剪切板内容为空","6cb01692eea2fa7066d20fe2b6ccaea3":"假数据","7f2f0461a58c43667d7245ce92bb2e77":"按住拖动调整位置","78c1c38b91c672da1113fa2564c14ea6":"向前插入组件","87f48bbadfbef5ef4554e06b7e141d37":"向后插入组件","0ec9eaf9c3525eb110db58aae5912210":"更多","417db09508befe7dbe9f84a517a6edec":"重复一份","99b81127ef28368151621cdfccce69f8":"取消多选","205f45ee17394bd5668412780eaa55e2":"插入组件","4c725f0159023c485ead728680e277ba":"选中{{@1}}","7ad78e0991f34ff3a345c59a2fc31572":"选中层级",aafda9e8f6b7b613680677c513edb7a6:"取消选中",b58d101f52531c845f15db63d7212115:"复制配置","74e2bc6615b7dbbb11fd5e1e212263ae":"剪切配置",e2f401af580d1354ae00ec4ca19e2e24:"粘贴配置","21462ae22216eec41dc688cc4a8ae64b":"向前移动",ed2bc13d8bbd99e16e017dd5f5393393:"向后移动","9e54f3e4ee3330299c5fdc910c2e8d3c":"撤销(Undo)",ae8e86e426c2ba00da274b66dc372a8b:"重做(Redo)","2b6bc0f293f5ca01b006206c2535ccbc":"操作",aa920263020f14211a44ea172efc7253:"上下文数据","48ac479789304b37afa2f1b06642f4da":"当前","9bc16c658ab8a8c4eddc5e24d85bef20":"上层","004d4be2ba8e6b8eed9333d15bc80a88":"上{{@1}}层",e366ccf1556c0672dcecba135ed5472e:"设置","0cbec43d00e491a663ff0525ffe31868":"快速构建「{{@1}}」","1dd554cdfc1ddf7dce13453805523c16":"变更",a82240ce09faf0b972a8aa5c9e93d209:"插入组件面板",eadc8c8d4a8776893672330598babca0:"位置错误,目标位置没有找到",f3c057f37fb9a4e7dd44b04919c12578:"请从左侧组件面板中点击添加新的元素。",f942c7a6a35c4eb1381d2966462d0489:'
拖入占位
',"392342f7750a565f9a79c678c6b12421":"<隐藏状态>","8e44aba21d01c1e08cc79f4ebaf0b3f2":"布局容器组件不支持拖拽插入子元素。","52e6abbe5c11e7cbf14788c1540f8bf2":"已复制","372ea9fd27fb7cfacfe1b4ca3046f8d0":"配置项","2a6287664de5ab46c65220c7182878ff":"已剪切",db805d4e361ac2d3fc6047eaea1a7c69:"自由容器","969e9e56b3812abffa3994f35ea31835":"吸附容器","5b804b05e14aaacc75033a4f77fc2844":"源码","69a53230577258b6d97ee932befcc168":"<列>:",cc6aeb073ebc3cb29734a49164f8964c:"页面变量",b71e8739cb9bcba8057a8fa8b59512da:"<列>","34d240d1ded259c32f7fee21e99c5671":"预览/编辑","6722089d251c1e4aabe9d58c26a2208a":"开启/关闭预览模式","107542a61cdccbb2981ad0c8bafc3440":"替换组件","813a5158d9f7171d20e7df340c5b48f9":"组件上下文",d2655fdad2c9f8b6f6d7050d65226428:"注册插件「{{@1}}」异常,已存在同名插件:",e9d4c83c9cdc23c65d11f74866636661:"配置面板加载中","5ae147607b7896f8fd827337027607a9":"{{@1}}(抽屉式弹窗)","7336083e6c61fe75fb5ec3f5ef101ac7":"抽屉式弹窗",e5fd721b2921aa63bb7574c6bbead312:"{{@1}}(确认对话框)",fa6b01f51cc2b8e16bfbb914b6c08ace:"确认对话框","05e70c7ef060f6c3ddcb4220702cde0f":"{{@1}}(弹窗)","6cff4b6d794cc17f5d24dbe0d21e5732":"弹窗",c65e6ddd7b48846aa1e5224d4e5743c1:"视图结构","67bcc69dd0a75d50c5cbb7f107ee9f63":"组件大纲","80e73cda4bd12532252652b4e19bb39b":"弹窗大纲","21efd88b67a39834582ad99aabb9dc60":"暂无数据","451d71974652fdd1840a73c980f80fe8":"跳过向导",bc63dada3cdf28357dd4fe56ff5c567f:"当前层{{@1}}","0383d6f467ed0dd89860a7b8cc793ce9":"上{{@1}}层{{@2}}"});var oi=Jh,i6=vI,Bv=gI,W2=yI,q_=CI,ti=wI,G_=Fi,K_={},Y_={};function Dv(i){return xa(i)&&Object.keys(i).forEach(function(n){i[n]===void 0&&delete i[n]}),i}var qo=[];function da(i,n,e){if(n===void 0&&(n=!1),e===void 0&&(e={}),Array.isArray(i)){var t=!1,r=i.map(function(l){var s=da(l,n,e);return s!==l&&(t=!0),s});return t?r:i}if(!xa(i)||i.constructor!==Object)return typeof i=="string"&&Object.keys(e).forEach(function(l){var s=e[l];i=i.replaceAll(l,s)}),i;var o={},d=!1;if(i.$$id||(d=!0,o.$$id=oi()),qo.length>2&&i[qo[0]]&&i[qo[1]]&&i[qo[2]]&&(d=!0,qo.forEach(function(l){o[l]=void 0})),i.type&&(i=oA(i),n&&(d=!0,(!i.__origin||i.__origin!=="scaffold")&&typeof i.id=="string"&&i.id.startsWith("u:")))){var c=ni();i.id&&(e[i.id]=c),o.id=c}return Object.keys(i).forEach(function(l){var s=i[l],u=da(s,n,e);u!==s&&(d=!0,o[l]=u)}),d&&(i=Dv(y(y({},i),o))),i}function la(i,n){if(Array.isArray(i)){var e=!1,t=i.map(function(d){var c=la(d,n);return c!==d&&(e=!0),c});return e?t:i}if(!xa(i)||A2(i))return i;var r=!1,o={};return i.$$id&&(r=!0,o.$$id=void 0),Object.keys(i).forEach(function(d){var c=i[d];if(typeof n=="function"?n(d,c):n!==!1&&d.substring(0,2)==="__")return o[d]=void 0,void(r=!0);var l=la(c,n);l!==c&&(r=!0,o[d]=l)}),r&&(i=Dv(y(y({},i),o))),i}function Od(i,n,e){var t=i;return e&&e.push(i),n.forEach(function(r){t=t[r],e&&e.push(t)}),t}function go(i,n,e){e===void 0&&(e="$$id");for(var t=[],r=!1,o=[{path:".",data:i}],d=function(){var c=o.shift(),l=c.data,s=c.path;if(l[e]===n)return r=!0,t=s.split(".").filter(function(u){return u}),"break";Object.keys(l).forEach(function(u){var h=l[u];Array.isArray(h)?h.forEach(function(p,g){xa(p)&&o.push({data:p,path:"".concat(s,".").concat(u,".").concat(g)})}):xa(h)&&o.push({data:h,path:"".concat(s,".").concat(u)})})};o.length&&d()!=="break";);return r?t:null}function Oa(i,n,e){var t=go(i,n,e);return t===null?null:Od(i,t)}function Lv(i,n,e){e===void 0&&(e=!1);var t=go(i,n);if(t===null||!t.length)return null;var r=i,o=[r];for(t.pop(),t.forEach(function(d){r=r[d],o.unshift(r)});e&&Array.isArray(o[0]);)o.shift();return o[0]}function Ct(i,n,e,t){t===void 0&&(t=!1);var r=go(i,n);if(r===null)return i;var o=[],d=Od(i,r,o);if(Array.isArray(e)&&o[o.length-2]&&Array.isArray(o[o.length-2])){var c=o[o.length-2].indexOf(o[o.length-1]);o[o.length-2]=o[o.length-2].concat(),o[o.length-2].splice.apply(o[o.length-2],[c,1].concat(e)),o.pop()}else o[o.length-1]=d=y(y(y({},t?null:d),e),{$$id:n});for(;o.length>1;){var l=o.pop();Array.isArray(o[o.length-1])?o[o.length-1]=o[o.length-1].concat():o[o.length-1]=y({},o[o.length-1]),o[o.length-1][r[o.length-1]]=l}return o[0]}function ad(i,n,e,t){var r=go(i,n);if(r===null)return i;Array.isArray(e)&&e.push.apply(e,r);var o=r.pop(),d=[],c=Od(i,r,d);for(Array.isArray(c)?(d[d.length-1]=c=c.concat(),c.splice(o,1),t&&!c.length&&(d[d.length-1]=void 0)):(d[d.length-1]=c=y({},c),delete c[o]);d.length>1;){var l=d.pop();Array.isArray(d[d.length-1])?d[d.length-1]=d[d.length-1].concat():d[d.length-1]=y({},d[d.length-1]),l===void 0?delete d[d.length-1][r[d.length-1]]:d[d.length-1][r[d.length-1]]=l}return d[0]}function bn(i,n,e){var t=go(i,n);if(t===null)return i;var r=parseInt(t.pop(),10),o=[],d=Od(i,t,o);if(!Array.isArray(d))return i;for(o[o.length-1]=d=d.concat(),e(d,d[r],r);o.length>1;){var c=o.pop();Array.isArray(o[o.length-1])?o[o.length-1]=o[o.length-1].concat():o[o.length-1]=y({},o[o.length-1]),o[o.length-1][t[o.length-1]]=c}return o[0]}function J_(i,n){return bn(i,n,function(e,t,r){r!==0&&(e.splice(r,1),e.splice(r-1,0,t))})}function Z_(i,n){return bn(i,n,function(e,t,r){r!==e.length-1&&(e.splice(r,1),e.splice(r+1,0,t))})}function X_(i,n,e){return e===void 0&&(e={}),bn(i,n,function(t,r,o){var d=da(la(r));t.splice(o+1,0,el(d,e))})}function el(i,n){return n===void 0&&(n={}),Il(i,function(e,t,r){var o,d=typeof e=="string"&&e.indexOf("u:")===0;if(t==="id"&&d&&r){var c=ni();n[r.id]=c,r.id=c}else t==="componentId"&&d&&(r.componentId=(o=n[e])!==null&&o!==void 0?o:e);return e}),i}function cd(i){Object.isFrozen(i)||(Array.isArray(i)&&i.forEach(function(n){return cd(n)}),xa(i)&&!A2(i)&&(!i.type||i.__origin&&i.__origin==="scaffold"||(i.id=ni()),Object.keys(i).forEach(function(n){var e=i[n];(xa(e)||Array.isArray(e))&&cd(e)})))}function zb(i,n,e){return e===void 0&&(e={}),(i==null?void 0:i.$$commonSchema)===n?e[n]=i:vn(i)?Object.keys(i).forEach(function(t){zb(i[t],n,e)}):Array.isArray(i)&&i.map(function(t){return zb(t,n,e)}),e}function al(i,n){if(Array.isArray(i))return i.map(function(r){return al(r,n)});if(vn(i)){var e={},t=!1;return Object.keys(i).forEach(function(r){var o=i[r],d=al(o,n);if(i.$$commonSchema?e[r]&&(e[r]=d):e[r]=d,d!==o&&(t=!0),r!=="$$commonSchema"||n){if(r==="$$commonSchema"&&n){var c=zb(n,o);c[o]&&(i=e=y({},c[o]))}}else i=e={$$commonSchema:o}}),t?e:i}return i}function Vb(i){if(Array.isArray(i))return i.map(function(t){return Vb(t)});if(vn(i)){var n={},e=!1;return Object.keys(i).forEach(function(t){var r=i[t];~["visible","visibleOn","hidden","hiddenOn","toggled"].indexOf(t)&&(t="$$".concat(t),e=!0);var o=Vb(r);n[t]=o,o!==r&&(e=!0)}),e?n:i}return i}function jv(i,n){var e=localStorage.getItem("amis-editor-".concat(i));return e&&(e=JSON.parse(e)),e||n}function Q_(i,n){n=JSON.stringify(n),localStorage.setItem("amis-editor-".concat(i),n)}var X=Pe;function eA(i){return i.replace(/\W+(.)/g,function(n,e){return e.toUpperCase()})}var Qr=function(i,n){var e;return Lt(i,function(t){bd(t,e)||(n(t,e),e=t)})};function Vn(i,n){n===void 0&&(n=1);for(var e=[];n-- >0;)e.push(i);return e}function Va(i,n,e){return mv.diff(i,n,e)}function r6(i,n){return n?n.reduce(function(e,t){return function(r,o,d){if(r&&Array.isArray(d==null?void 0:d.path)){r=r===o?y({},r):r;var c=d.path.concat();d.kind!=="A"&&c.pop(),c.reduce(function(l,s){var u=l.target,h=l.source[s],p=u[s];return h===p&&(p=Array.isArray(p)?p.concat():y({},p),u[s]=p),{source:h,target:p}},{target:r,source:o}),mv.applyChange(r,o,d)}return r}(e,i,t)},i):i}function Il(i,n,e){Object.keys(i).forEach(function(t){var r=i[t];e!=null&&e(r,t)||(vn(r)||Array.isArray(r)?Il(r,n,e):n(r,t,i))})}var U2=function(i){return no(i)||!isNaN(parseFloat(String(i).toString()))},o6=function(i,n){return n===void 0&&(n="px"),i?U2(i)?"".concat(parseFloat(String(i).toString())).concat(n):i:void 0};function zv(i){return Object.prototype.toString.call(i).slice(8,-1)==="String"}function xa(i){return Object.prototype.toString.call(i).slice(8,-1)==="Object"}function $n(i,n,e){i===void 0&&(i={}),e===void 0&&(e=3);var t={type:"object",properties:{}};return A2(i)||e<=0||Object.keys(i).forEach(function(r){var o=i[r],d=Array.isArray(o)?"array":typeof o;~["string","number"].indexOf(d)?t.properties[r]={type:d,title:(n==null?void 0:n(d,r))||r}:~["object","array"].indexOf(d)&&o?t.properties[r]=y({type:d,title:(n==null?void 0:n(d,r))||r},d==="object"?$n(o,n,e-1):typeof o[0]=="object"?{items:$n(o[0],n,e-1)}:{}):t.properties[r]={type:"",title:(n==null?void 0:n(d,r))||r}}),t}function ni(){return"u:"+oi()}function Vv(i){return i.pluginIcon&&Zh(i.pluginIcon)}function aA(i){return!(!i||i.type!=="flex")}function Zt(i,n){if(i==="auto")return"auto";var e=parseInt(i),t=n;no(n)||(t=parseInt(n));var r=i.substring(e.toString().length);return r||(r="px"),"".concat(e+t).concat(r)}function $v(i){return i.replace(/[|\\{}()[\]^$+*?.]/g,"")}function tA(i){return["divider","crud2","crud","list","picker","table","table-view","grid","cards","card","form","progress","diff-editor","editor","input-range","flex"].includes(i)}function oa(){var i,n;return(n=(i=window==null?void 0:window.editorStore)===null||i===void 0?void 0:i.i18nEnabled)!==null&&n!==void 0&&n}function yo(i,n,e){var t;return n=n||((t=window==null?void 0:window.editorStore)===null||t===void 0?void 0:t.appCorpusData),vn(n)?Kh(i,function(r){return n[r]||r},e):i}function _f(i){var n,e;return zv(i)&&((e=(n=window==null?void 0:window.editorStore)===null||n===void 0?void 0:n.appCorpusData)===null||e===void 0?void 0:e[i])||i}function nA(i){var n,e,t,r;return!!i&&(i.rendererName==="page"&&(i.name==="aside"||i.name==="body")||!!(!((e=(n=i.node)===null||n===void 0?void 0:n.schema)===null||e===void 0)&&e.isFreeContainer)||!(!(!((t=i.$$editor)===null||t===void 0)&&t.needFillPlaceholder)&&!(!((r=i.regionConfig)===null||r===void 0)&&r.needFillPlaceholder)))}function iA(){return y({themeConfig:K_},Y_)}var rA={"background-color":"background"};function oA(i){if(!(i!=null&&i.style)||ti(i.style)||!["tpl","page","container","chart","flex","grid"].includes(i.type))return i;var n=y({},i.style),e={},t={},r={},o={};if(Object.keys(n).forEach(function(c){["background","background-color","radius","boxShadow"].includes(c)?(e[(rA[c]||c)+":default"]=n[c],delete n[c]):["color","fontSize","fontWeight","font-family","lineHeight"].includes(c)?(o[c]=n[c],delete n[c]):c.includes("border")?(t[c]=n[c],delete n[c]):(c.includes("padding")||c.includes("margin"))&&(r[c]=n[c],delete n[c])}),e=Object.assign(ti(e)?{}:e,ti(t)?{}:{"border:default":t},ti(r)?{}:{"padding-and-margin:default":r},ti(o)?{}:{"font:default":o}),ti(e))return i;var d={baseControlClassName:e};return i.themeCss?d.baseControlClassName=y(y({},i.themeCss.baseControlClassName),e):d={baseControlClassName:e},y(y({},i),{style:n,themeCss:d})}function dA(i,n){var e,t,r,o,d,c,l,s,u;return ve(this,void 0,void 0,function(){var h,p,g,w,x,O,I;return he(this,function(S){switch(S.label){case 0:return[4,n==null?void 0:n.getContextSchemas(i)];case 1:return S.sent(),[4,(e=n==null?void 0:n.dataSchema)===null||e===void 0?void 0:e.getDataPropsAsOptions()];case 2:return h=(t=S.sent())!==null&&t!==void 0?t:[],p=[],!((r=n==null?void 0:n.store)===null||r===void 0)&&r.isSubEditor?(p=((l=(c=(d=(o=n.config)===null||o===void 0?void 0:o.hostNode)===null||d===void 0?void 0:d.info)===null||c===void 0?void 0:c.getSubEditorVariable)===null||l===void 0?void 0:l.call(c,(s=n.config)===null||s===void 0?void 0:s.hostNode.schema))||[],[4,n.config.getHostNodeDataSchema()]):[3,4];case 3:g=S.sent(),(w=((g==null?void 0:g.getDataPropsAsOptions())||[]).filter(function(N){return N.label===a("813a5158d9f7171d20e7df340c5b48f9")}).reduce(function(N,P){return N.push.apply(N,K([],U(P.children||[]),!1)),N},[]))!=null&&w.length&&(x=!1,h=h.map(function(N){return N.label!==a("813a5158d9f7171d20e7df340c5b48f9")||x||(x=!0,N.children=N.children.concat(w)),N}),x||(h=K([{label:a("813a5158d9f7171d20e7df340c5b48f9"),children:w}],U(h),!1))),S.label=4;case 4:return O=Hv(h),I=((u=n==null?void 0:n.variableManager)===null||u===void 0?void 0:u.getVariableFormulaOptions())||[],[2,K(K(K([],U(p),!1),U(O),!1),U(I),!1).filter(function(N){var P;return(P=N.children)===null||P===void 0?void 0:P.length})]}})})}function hr(i){return ve(this,void 0,void 0,function(){var n,e,t,r,o,d,c,l;return he(this,function(s){switch(s.label){case 0:return n=[],e=i.props,t=e.variables,r=e.requiredDataPropsVariables,t&&!r?[3,2]:(o=i.props.formProps||i.props,d=o.node,c=o.manager,[4,dA(d,c)]);case 1:l=s.sent(),Array.isArray(l)&&(i.isUnmount||(n=l)),s.label=2;case 2:return t&&(Array.isArray(t)?n=K(K([],U(t),!1),U(n),!1):typeof t=="function"?n=K(K([],U(t(i)),!1),U(n),!1):Ei(t)&&(n=K(K([],U(yd(i.props.variables,i.props.data,"| raw")),!1),U(n),!1))),i.appLocale&&i.appCorpusData?[2,yo(n,i.appCorpusData)]:[2,n]}})})}var Hv=function(i){var n=K([],U(i),!1),e=n.findIndex(function(t){return t.label===a("813a5158d9f7171d20e7df340c5b48f9")});return~e&&n.splice(e,1,y(y({},n[e]),{children:n[e].children.map(function(t,r){return y(y({},t),{label:r===0?"当前层".concat(t.label?"("+t.label+")":""):a("af767b7e4ae069d54f9ea839858d4c6d").concat(r,"层").concat(t.label?"("+t.label+")":"")})})})),n},cA=It(function(i){var n=document.querySelector(i);n&&(n.scrollIntoViewIfNeeded?n.scrollIntoViewIfNeeded():n.scrollIntoView())},200),$b=function(i,n,e){var t=[];return Il(i,function(r,o,d){var c,l;if(o==="type"&&r==="page"){var s=d.definitions;s&&Object.keys(s).forEach(function(g){if(g.includes("ref-"))if(n==="list")t.push(s[g]);else{var w=s[g],x=w.type==="drawer"?a("7336083e6c61fe75fb5ec3f5ef101ac7"):w.dialogType?a("fa6b01f51cc2b8e16bfbb914b6c08ace"):a("6cff4b6d794cc17f5d24dbe0d21e5732");t.push({label:"".concat(w.title||"-","(").concat(x,")"),value:w.$$id})}})}if(o==="actionType"&&r==="dialog"||o==="actionType"&&r==="drawer"||o==="actionType"&&r==="confirmDialog"){var u=new Map([["dialog",{title:a("6cff4b6d794cc17f5d24dbe0d21e5732"),body:"dialog"}],["drawer",{title:a("7336083e6c61fe75fb5ec3f5ef101ac7"),body:"drawer"}],["confirmDialog",{title:a("fa6b01f51cc2b8e16bfbb914b6c08ace"),body:["dialog","args"]}]]),h=(c=u.get(r))===null||c===void 0?void 0:c.body,p=Array.isArray(h)?d[h[0]]||d[h[1]]:d[h];u.has(r)&&p&&!p.$ref&&(n=="list"?t.push(y(y({},p),{type:Array.isArray(h)?"dialog":h})):(!e||e&&e!==p.id)&&t.push({label:"".concat((p==null?void 0:p.title)||"-","(").concat((l=u.get(r))===null||l===void 0?void 0:l.title,")"),value:p.$$id}))}},function(r,o){return o.toString().startsWith("__")}),t},Nl=function(i,n){var e=Lv(i,n);return e.actionType?{dialog:"dialog",drawer:"drawer",confirmDialog:"dialog"}[e.actionType]:Oa(e,n).type},lA=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.mainRef=v.createRef(),e}return q(n,i),n.prototype.handleWResizerMouseDown=function(e){return this.startResize(e,"horizontal")},n.prototype.handleHResizerMouseDown=function(e){return this.startResize(e,"vertical")},n.prototype.handleResizerMouseDown=function(e){return this.startResize(e,"both")},n.prototype.startResize=function(e,t){var r,o,d,c=this;if(t===void 0&&(t="horizontal"),(e.button===1&&window.event!==null||e.button===0)&&!e.defaultPrevented){e.preventDefault();var l=this.props,s=l.manager,u=l.id,h=l.node,p=l.store;if(h){var g=document.querySelector('[data-editor-id="'.concat(u,'"]'));if(g){s.disableHover=!0;var w=s[t==="both"?"onSizeChangeStart":t==="vertical"?"onHeightChangeStart":"onWidthChangeStart"](e,{dom:g,node:h,store:p,resizer:t==="both"?this.resizerDom:t==="vertical"?this.hResizerDom:this.wResizerDom}),x=(r=w.data)===null||r===void 0?void 0:r.onMove,O=(o=w.data)===null||o===void 0?void 0:o.onEnd;if(x||O){(d=this.mainRef.current)===null||d===void 0||d.setAttribute("data-resizing","");var I=function(N){N.preventDefault(),x==null||x(N)},S=function(N){var P;N.preventDefault(),s.disableHover=!1,(P=c.mainRef.current)===null||P===void 0||P.removeAttribute("data-resizing"),window.removeEventListener("mousemove",I),window.removeEventListener("mouseup",S),document.body.style.cursor="default";var R=function(_){window.removeEventListener("click",R,!0),_.preventDefault(),_.stopPropagation()};window.addEventListener("click",R,!0),setTimeout(function(){return window.removeEventListener("click",R,!0)},350),O==null||O(N)};window.addEventListener("mousemove",I),window.addEventListener("mouseup",S),document.body.style.cursor=t==="both"?"nwse-resize":t==="vertical"?"ns-resize":"ew-resize"}}}}},n.prototype.wResizerRef=function(e){var t;e?e.addEventListener("mousedown",this.handleWResizerMouseDown):(t=this.wResizerDom)===null||t===void 0||t.removeEventListener("mousedown",this.handleWResizerMouseDown),this.wResizerDom=e},n.prototype.hResizerRef=function(e){var t;e?e.addEventListener("mousedown",this.handleHResizerMouseDown):(t=this.hResizerDom)===null||t===void 0||t.removeEventListener("mousedown",this.handleHResizerMouseDown),this.hResizerDom=e},n.prototype.resizerRef=function(e){var t;e?e.addEventListener("mousedown",this.handleResizerMouseDown):(t=this.resizerDom)===null||t===void 0||t.removeEventListener("mousedown",this.handleResizerMouseDown),this.resizerDom=e},n.prototype.handleMouseEnter=function(){this.props.manager.disableHover||this.props.store.setHoverId(this.props.id)},n.prototype.handleDragStart=function(e){var t=this.props,r=t.manager,o=t.id;r.disableHover||r.startDrag(o,e)},n.prototype.render=function(){var e=this.props,t=e.className,r=e.store,o=e.id,d=e.title,c=e.children,l=e.node;e.toolbarContainer;var s=e.onSwitch,u=r.sortedToolbars,h=r.sortedSecondaryToolbars,p=r.sortedSpecialToolbars,g=r.isActive(o),w=r.parentIsFreeContainer(),x=r.isHoved(o)||r.dropId===o||r.insertOrigId===o||w===o,O=r.draggableContainer(o),I=document.getElementById("aePreviewHighlightBox").offsetWidth-l.x<176;return v.createElement("div",{className:de("ae-Editor-hlbox",{shake:o===r.insertOrigId,selected:g||~r.selections.indexOf(o),hover:x,regionOn:l.childRegions.some(function(S){return r.isRegionHighlighted(S.id,S.region)}),isFreeContainerElem:!!w||O},t),"data-hlbox-id":o,style:{display:l.w&&l.h?"block":"none",top:l.y,left:l.x,width:l.w,height:l.h},ref:this.mainRef,onMouseEnter:this.handleMouseEnter,draggable:!!w||O,onDragStart:this.handleDragStart},g?v.createElement("div",{className:"ae-Editor-toolbarPopover ".concat(I?"is-right-elem":"")},v.createElement("div",{className:"ae-Editor-nav"},l.host?v.createElement("div",{className:"ae-Editor-tip parent",onClick:function(){return s==null?void 0:s(l.host.id)}},l.host.label):null,v.createElement("div",{key:"tip",className:"ae-Editor-tip current"},d),l.firstChild?v.createElement("div",{className:"ae-Editor-tip child",onClick:function(){return s==null?void 0:s(l.firstChild.id)}},l.firstChild.label):null),v.createElement("div",{className:"ae-Editor-toolbar",key:"toolbar"},u.map(function(S){return v.createElement("button",{key:S.id,type:"button",draggable:S.draggable,onDragStart:S.onDragStart,"data-id":S.id,"data-tooltip":S.tooltip||void 0,"data-position":S.placement||"top",onClick:S.onClick},S.iconSvg?v.createElement(xe,{className:"icon",icon:S.iconSvg}):~S.icon.indexOf("<")?v.createElement("span",{dangerouslySetInnerHTML:{__html:S.icon}}):v.createElement("i",{className:S.icon}))}))):null,g&&h.length?v.createElement("div",{className:"ae-Editor-toolbar sencondary",key:"sencondary-toolbar"},h.map(function(S){return v.createElement("button",{key:S.id,type:"button",className:S.className,"data-id":S.id,"data-tooltip":S.tooltip||void 0,"data-position":S.placement||"top",onClick:S.onClick},S.iconSvg?v.createElement(xe,{className:"icon",icon:S.iconSvg}):~S.icon.indexOf("<")?v.createElement("span",{dangerouslySetInnerHTML:{__html:S.icon}}):v.createElement("i",{className:S.icon}))})):null,g&&p.length?v.createElement("div",{className:"ae-Editor-toolbar special",key:"special-toolbar"},p.map(function(S){return v.createElement("button",{key:S.id,type:"button",className:S.className,"data-id":S.id,"data-tooltip":S.tooltip||void 0,"data-position":S.placement||"top",onClick:S.onClick},S.iconSvg?v.createElement(xe,{className:"icon",icon:S.iconSvg}):~S.icon.indexOf("<")?v.createElement("span",{dangerouslySetInnerHTML:{__html:S.icon}}):v.createElement("i",{className:S.icon}))})):null,c,l.widthMutable?v.createElement(v.Fragment,null,v.createElement("span",{className:"ae-border-WResizer",ref:this.wResizerRef}),v.createElement("span",{className:"ae-WResizer",ref:this.wResizerRef})):null,l.heightMutable?v.createElement(v.Fragment,null,v.createElement("span",{className:"ae-border-HResizer",ref:this.hResizerRef}),v.createElement("span",{className:"ae-HResizer",ref:this.hResizerRef})):null,l.widthMutable&&l.heightMutable?v.createElement("span",{className:"ae-Resizer",ref:this.resizerRef}):null)},j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handleWResizerMouseDown",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handleHResizerMouseDown",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handleResizerMouseDown",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"wResizerRef",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"hResizerRef",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"resizerRef",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleMouseEnter",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragStart",null),n=j([wa],n)}(v.Component),sA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleClick=function(){var e=this.props,t=e.manager,r=e.id,o=e.name;t.emptyRegion(r,o)},n.prototype.render=function(){var e=this.props,t=e.store,r=e.id,o=e.name,d=e.title,c=e.node,l=e.isOnlyChildRegion,s=t.isRegionHighlighted(r,o),u=t.isRegionHighlightHover(r,o),h=t.isRegionDragEnter(r,o),p=t.getNodeById(r),g=c.x-p.x,w=c.y-p.y;return v.createElement("div",{"data-renderer":c.host.info.renderer.name,"data-region":o,className:de("ae-Editor-rhlbox",h?"is-dragenter":"",!l&&u?"region-hover":"",s?"is-highlight":"",g<87&&w<21&&c.x<190?"region-label-within":""),style:{width:c.w,height:c.h,borderWidth:"".concat(Math.max(0,w),"px ").concat(Math.max(0,p.w-g-c.w),"px ").concat(Math.max(0,p.h-w-c.h),"px ").concat(Math.max(0,g),"px")}},v.createElement("div",{"data-node-id":r,"data-node-region":o,className:"region-tip ".concat(l?"is-only-child-region":""," ignore-hover-elem")},d,v.createElement("span",{className:"margin-space"},"|"),v.createElement("button",{type:"button",className:"clear-icon-btn","data-tooltip":a("bb28ec819520ced0ffb4c3da01f112e2"),"data-position":"bottom",onClick:this.handleClick},v.createElement(xe,{icon:"clear-btn"}))))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleClick",null),n=j([wa],n)}(v.Component),fA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.render=function(){return v.createElement("div",{className:"ae-ErrorRenderer"},a("e9509c688a0df6b088503d21569b6e8f"))},n}(v.Component),bA=function(i){function n(e){var t=i.call(this,e)||this;return t.ref=v.createRef(),t.scrollElem=null,t.state={visible:e.visible!==void 0&&e.visible},t}return q(n,i),n.prototype.componentDidMount=function(){this.bindScrollEvent()},n.prototype.componentWillUnmount=function(){this.scrollElem&&this.scrollElem.removeEventListener("scroll",this.handleScroll)},n.prototype.getDefaultTarget=function(){return this.ref.current&&this.ref.current.ownerDocument?this.ref.current.ownerDocument:window},n.prototype.handleScroll=function(e){var t=this.props.visibilityHeight||400,r=function(o,d){var c;if(typeof window>"u")return 0;var l,s=d?"scrollTop":"scrollLeft",u=0,h=(l=o)!=null&&l===l.window;return h?u=o[d?"pageYOffset":"pageXOffset"]:o instanceof Document?u=o.documentElement[s]:o&&(u=o[s]),o&&!h&&typeof u!="number"&&(u=(c=(o.ownerDocument||o).documentElement)===null||c===void 0?void 0:c[s]),u}(e.target,!0);this.setState({visible:r>t})},n.prototype.bindScrollEvent=function(){var e=this.props.target;this.scrollElem=e()||this.getDefaultTarget(),this.scrollElem&&(this.scrollElem.addEventListener("scroll",this.handleScroll),this.handleScroll({target:this.scrollElem}))},n.prototype.scrollToTop=function(e){var t=this.props.onClick;this.scrollElem&&(this.scrollElem.scrollTo({top:0,behavior:"smooth"}),typeof t=="function"&&t(e))},n.prototype.render=function(){var e=this.props,t=e.children,r=e.className,o=de("editor-backTop",r===void 0?"":r,this.state.visible?"":"hidden"),d=Da(this.props,["className","children","visibilityHeight","target","visible"]),c=v.createElement("div",{className:"backTop-content"},v.createElement("div",{className:"backTop-icon"},"UP"));return v.createElement("div",y({},d,{className:o,onClick:this.scrollToTop,ref:this.ref}),t||c)},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getDefaultTarget",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleScroll",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"bindScrollEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"scrollToTop",null),n}(v.Component),uA=function(i){function n(e){var t=i.call(this,e)||this;t.initialContent="",t.dialogMountRef=v.createRef();var r=[].slice.call(document.querySelectorAll('link[rel="stylesheet"], style')).map(function(o){return o.outerHTML});return r.push(""),t.initialContent="".concat(r.join(""),'
'),t}return q(n,i),n.prototype.componentDidMount=function(){if(this.props.autoFocus){var e=this.props.manager.store;setTimeout(function(){if(Bt(e)){var t=Qt(e.outline,function(r){return!r.isRegion&&r.clickable});t&&e.setActiveId(t.id)}},350)}else this.props.manager.buildRenderersAndPanels()},n.prototype.iframeRefFunc=function(e){var t=this.props.store;this.iframeRef=e,Bt(t)&&t.setIframe(e)},n.prototype.getModalContainer=function(){return this.props.store.getDoc().body},n.prototype.isMobile=function(){return!0},n.prototype.getDialogMountRef=function(){return this.dialogMountRef.current},n.prototype.iframeContentDidMount=function(){var e;(e=this.iframeRef.contentWindow)===null||e===void 0||e.document.body.classList.add("is-modalOpened")},n.prototype.render=function(){var e=this.props,t=e.editable,r=e.store,o=e.appLocale;e.autoFocus;var d=e.env,c=e.data,l=e.manager,s=Ia(e,["editable","store","appLocale","autoFocus","env","data","manager"]);return v.createElement(Dk,{className:"ae-PreviewIFrame",initialContent:this.initialContent,ref:this.iframeRefFunc,contentDidMount:this.iframeContentDidMount},v.createElement(pA,{store:r,editable:t,manager:l}),v.createElement("div",{ref:this.dialogMountRef,className:"ae-Dialog-preview-mount-node"},Ca(t?r.filteredSchema:r.filteredSchemaForPreview,y(y({},s),{key:t?"edit-mode":"preview-mode",theme:d.theme,data:c??r.ctx,locale:o,editorDialogMountNode:this.getDialogMountRef}),y(y({},d),{session:"".concat(d.session,"-iframe-preview"),useMobileUI:!0,isMobile:this.isMobile,getModalContainer:this.getModalContainer})),v.createElement(mA,null)))},j([Pe,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"iframeRefFunc",null),j([Pe,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getModalContainer",null),j([Pe,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"isMobile",null),j([Pe,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getDialogMountRef",null),j([Pe,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"iframeContentDidMount",null),n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component);function pA(i){var n=i.store,e=i.editable,t=i.manager,r=B2.useFrame().document,o=v.useRef(e),d=v.useCallback(function(){n.setHoverId("")},[]),c=v.useCallback(function(p){var g=p.target.closest("[data-editor-id]");g&&n.setHoverId(g.getAttribute("data-editor-id"))},[]),l=v.useCallback(function(){lb()},[]),s=v.useCallback(function(p){var g=p.target.closest("[data-editor-id]");if(lb(),!p.defaultPrevented&&(g&&n.setActiveId(g.getAttribute("data-editor-id")),o.current)){var w=t.trigger("prevent-click",{data:p});w.prevented||w.stoped||(p.preventDefault(),p.stopPropagation())}},[]),u=v.useCallback(function(p){o.current&&(p.preventDefault(),p.stopPropagation())},[]),h=v.useCallback(function(){t.store.getIframe().style.cssText+="height: ".concat(r.body.offsetHeight,"px")},[]);return v.useEffect(function(){n.setDoc(r);var p=r==null?void 0:r.querySelector(".frame-content");r.addEventListener("click",l),p.addEventListener("mouseleave",d),p.addEventListener("mousemove",c),p.addEventListener("click",s,!0),p.addEventListener("mouseover",u);var g=yl(r.body,function(){h()});return h(),function(){r.removeEventListener("click",l),p.removeEventListener("mouseleave",d),p.removeEventListener("mousemove",c),p.removeEventListener("click",s),p.removeEventListener("mouseover",u),n.setDoc(document),g()}},[r]),v.useEffect(function(){var p;(p=r==null?void 0:r.querySelector("body>div:first-child"))===null||p===void 0||p.classList.toggle("is-edting",e),o.current=e},[e]),null}var d6,mA=C.memo(function(){var i=window.spiriteIcons;return i?v.createElement("div",{id:"amis-icon-manage-mount-node",style:{display:"none"},dangerouslySetInnerHTML:{__html:i}}):null}),Wv=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.env=y(y({},e.props.manager.env),{notify:function(t,r,o){e.props.editable?console.warn("[Notify]",t,r):ea[t]?ea[t](r,o||a(t==="error"?"a71002967924a83e32b38a80705290fb":"058ebdf2884474ebff2977ba2f0e275e")):console.warn("[Notify]",t,r)},theme:e.props.theme,session:"preview-".concat(e.props.manager.id),rendererResolver:e.rendererResolver.bind(e)}),e.doingSelection=!1,e.unReaction=Qr(function(){return[e.getHighlightNodes(),e.props.store.activeId]},function(t,r){var o=U(t,1)[0],d=e.props.store;setTimeout(function(){e.calculateHighlightBox(o)},50);var c=r==null?void 0:r[0];Array.isArray(c)&&(c=c.filter(function(l){return!~o.indexOf(l)}),d.resetHighlightBox(c))}),e}return q(n,i),n.prototype.componentDidMount=function(){this.currentDom=ma.findDOMNode(this),this.currentDom.addEventListener("mouseleave",this.handleMouseLeave),this.currentDom.addEventListener("mousemove",this.handleMouseMove),this.currentDom.addEventListener("click",this.handleClick,!0),this.currentDom.addEventListener("mouseover",this.handeMouseOver),this.currentDom.addEventListener("mousedown",this.handeMouseDown),this.props.manager.on("after-update",this.handlePanelChange);var e=this.props.store;this.dialogReaction=Lt(function(){var t,r,o;return!((t=e.root.children)===null||t===void 0)&&t.length?"".concat((r=e.root.children[0])===null||r===void 0?void 0:r.type,":").concat((o=e.root.children[0])===null||o===void 0?void 0:o.id):""},function(t){var r=t.split(":")[0];if(r==="dialog"||r==="drawer"){var o=t.split(":")[1];e.changeOutlineTabsKey("dialog-outline"),e.setPreviewDialogId(o),e.setActiveId(o)}else e.setActiveId(e.getRootId())})},n.prototype.componentWillUnmount=function(){var e,t,r=this;this.currentDom&&(this.currentDom.removeEventListener("mouseleave",this.handleMouseLeave),this.currentDom.removeEventListener("mousemove",this.handleMouseMove),this.currentDom.removeEventListener("click",this.handleClick,!0),this.currentDom.removeEventListener("mouseover",this.handeMouseOver),this.currentDom.removeEventListener("mousedown",this.handeMouseDown),this.props.manager.off("after-update",this.handlePanelChange),(e=this.dialogReaction)===null||e===void 0||e.call(this)),(t=this.scrollLayer)===null||t===void 0||t.removeEventListener("scroll",this.handlePanelChange),setTimeout(function(){return iI([r.env.session])},500)},n.prototype.contentsRef=function(e){var t;e?(this.scrollLayer=e,this.scrollLayer.addEventListener("scroll",this.handlePanelChange),this.layer=e.querySelector(".ae-Preview-widgets"),this.props.store.setLayer(this.layer),this.unSensor=yl(e,this.handlePanelChange)):(delete this.scrollLayer,delete this.layer,(t=this.unSensor)===null||t===void 0||t.call(this),delete this.unSensor)},n.prototype.handlePanelChange=function(){var e=this;setTimeout(function(){return e.calculateHighlightBox(e.getHighlightNodes())},50)},n.prototype.getHighlightNodes=function(){return this.props.store.highlightNodes.map(function(e){return e.id})},n.prototype.calculateHighlightBox=function(e){var t=this.props.store;this.layer&&t.calculateHighlightBox(e)},n.prototype.handeMouseDown=function(e){var t,r=this,o=e.button===1&&window.event!==null||e.button===0;if(this.props.editable&&o&&!e.defaultPrevented&&!e.defaultPrevented&&!(!((t=e.target)===null||t===void 0)&&t.closest("[draggable]"))){var d=this.layer;if(d){var c=null,l=d.getBoundingClientRect(),s=e.pageX,u=e.pageY,h=s-l.left,p=u-l.top,g=function(x){c||((c=document.createElement("div")).classList.add("ae-Editor-selectionCursor"),d.appendChild(c)),r.doingSelection=!0;var O=x.pageX-s,I=x.pageY-u;c.style.cssText="left: ".concat(h+Math.min(O,0),"px; top: ").concat(p+Math.min(I,0),"px; width: ").concat(Math.abs(O),"px; height: ").concat(Math.abs(I),"px;")},w=function(x){r.doingSelection=!1,window.removeEventListener("mousemove",g),window.removeEventListener("mouseup",w),c&&d.removeChild(c);var O=x.pageX-s,I=x.pageY-u,S={x:h+Math.min(O,0),y:p+Math.min(I,0),w:Math.abs(O),h:Math.abs(I)};if(!(S.w<10&&S.h<10)){var N=function(P){window.removeEventListener("click",N,!0),P.preventDefault(),P.stopPropagation()};window.addEventListener("click",N,!0),setTimeout(function(){return window.removeEventListener("click",N,!0)},350),r.doSelection(S)}};window.addEventListener("mousemove",g),window.addEventListener("mouseup",w)}}},n.prototype.doSelection=function(e){var t=this.layer,r=ma.findDOMNode(this);if(t&&r){var o=[],d=t.getBoundingClientRect(),c=e.x+d.left,l=e.y+d.top,s=(e.w,e.h,e.x+d.left+e.w),u=e.y+d.top+e.h,h=r.querySelectorAll("[data-editor-id]");[].slice.apply(h).forEach(function(g){if(!o.some(function(x){return x.contains(g)})){var w=g.getBoundingClientRect();c<=w.left&&l<=w.top&&s>=w.right&&u>=w.bottom&&(~o.indexOf(g)||o.push(g))}});var p=o.map(function(g){return g.getAttribute("data-editor-id")}).filter(function(g,w,x){return x.indexOf(g)===w});p.length&&this.props.manager.setSelection(p)}},n.prototype.handleClick=function(e){var t,r=this.props.store,o=e.target.closest("[data-editor-id]");if(!e.target.closest(".ae-editor-action-btn"))if(e.defaultPrevented)e.stopPropagation();else{if(o){var d=o.getAttribute("data-editor-id"),c="",l=e.target.closest("[data-region-host]");if(l){var s=l.getAttribute("data-region-host");s&&s===d&&l.getAttribute("data-region")&&(c=l.getAttribute("data-region"))}e.metaKey?this.props.manager.toggleSelection(d):r.setActiveId(d,c)}if(!(!((t=this.layer)===null||t===void 0)&&t.contains(e.target))&&this.props.editable){var u=this.props.manager.trigger("prevent-click",{data:e});u.prevented||u.stoped||(e.preventDefault(),e.stopPropagation())}}},n.prototype.handleNavSwitch=function(e){this.props.store.setActiveId(e)},n.prototype.handleMouseMove=function(e){var t;if(!this.doingSelection&&!this.props.manager.disableHover){var r=this.props.store,o=e.target;if(!(!((t=this.layer)===null||t===void 0)&&t.contains(o))&&!e.target.closest(".ignore-hover-elem")){var d=o.closest("[data-editor-id]");if(d){var c=d.getAttribute("data-editor-id"),l="",s=e.target.closest("[data-region-host]");if(s){var u=s.getAttribute("data-region-host");u&&u===c&&s.getAttribute("data-region")&&(l=s.getAttribute("data-region"))}r.setMouseMoveRegion(l),r.setHoverId(c)}}}},n.prototype.handleMouseLeave=function(){var e=this.props.store;e.setMouseMoveRegion(""),e.setHoverId("")},n.prototype.handeMouseOver=function(e){this.props.editable&&(e.preventDefault(),e.stopPropagation())},n.prototype.handleDragEnter=function(e){this.props.editable&&this.props.manager.dnd.dragEnter(e.nativeEvent)},n.prototype.handleDragLeave=function(e){this.props.editable&&this.props.manager.dnd.dragLeave(e.nativeEvent)},n.prototype.handleDragOver=function(e){this.props.editable&&this.props.manager.dnd.dragOver(e.nativeEvent)},n.prototype.handleDrop=function(e){this.props.editable&&this.props.manager.dnd.drop(e.nativeEvent)},n.prototype.getCurrentTarget=function(){return this.props.isMobile?this.currentDom.querySelector(".ae-Preview-inner"):this.currentDom.querySelector(".ae-Preview-body")},n.prototype.rendererResolver=function(e,t,r){var o=this.props,d=o.editable,c=o.manager,l=rI(e,t);if(d===!1)return l;l=l||{name:"error",test:function(){return!0},component:fA};var s=c.getEditorInfo(l,e,t);return s&&(l=y(y({},l),{component:c.makeWrapper(s,l)})),l},n.prototype.render=function(){var e=this,t=this.props,r=t.className,o=t.editable,d=t.store,c=t.manager,l=t.amisEnv;t.theme;var s=t.isMobile,u=t.autoFocus,h=t.toolbarContainer,p=t.appLocale,g=Ia(t,["className","editable","store","manager","amisEnv","theme","isMobile","autoFocus","toolbarContainer","appLocale"]),w=y(y({},this.env),l);return v.createElement("div",{id:"editor-preview-body",onDragEnter:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDragOver:this.handleDragOver,onDrop:this.handleDrop,className:de("ae-Preview","AMISCSSWrapper",r,s?"is-mobile-body hoverShowScrollBar":"is-pc-body")},v.createElement("div",{className:de("ae-Preview-body",r,o?"is-edting":"",s?"is-mobile":"is-pc hoverShowScrollBar"),ref:this.contentsRef},s&&v.createElement(v.Fragment,null,v.createElement("div",{className:"mobile-sound"}),v.createElement("div",{className:"mobile-receiver"}),v.createElement("div",{className:"mobile-left-btn"}),v.createElement("div",{className:"mobile-right-btn"}),v.createElement("div",{className:"mobile-open-btn"})),v.createElement("div",{className:"ae-Preview-inner"},s?v.createElement(uA,y({},g,{key:"mobile",editable:o,store:d,env:w,manager:c,autoFocus:u,appLocale:p})):v.createElement(hA,y({},g,{editable:o,autoFocus:u,store:d,env:w,manager:c,key:"pc",appLocale:p})),v.createElement("div",{className:"ae-Preview-widgets",id:"aePreviewHighlightBox"},d.highlightNodes.map(function(x){return v.createElement(lA,{node:x,key:x.id,store:d,id:x.id,title:x.label,toolbarContainer:h,onSwitch:e.handleNavSwitch,manager:c},x.childRegions.map(function(O){return!x.memberImmutable(O.region)&&d.isRegionActive(O.id,O.region)?v.createElement(sA,{manager:c,key:O.region,store:d,node:O,id:O.id,name:O.region,title:O.label,preferTag:O.preferTag,isOnlyChildRegion:x.childRegions.length===1}):null}))}))),this.currentDom&&v.createElement(bA,{key:s?"mobile-back-up":"pc-back-up",className:"ae-editor-action-btn",target:this.getCurrentTarget.bind(this),onClick:function(x){console.log(x)}},v.createElement(xe,{icon:"back-up",className:"back-top-icon"}))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"contentsRef",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handlePanelChange",null),j([X,E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],n.prototype,"calculateHighlightBox",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handeMouseDown",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleNavSwitch",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handleMouseMove",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleMouseLeave",null),j([X,E("design:type",Function),E("design:paramtypes",[MouseEvent]),E("design:returntype",void 0)],n.prototype,"handeMouseOver",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragEnter",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragLeave",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragOver",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDrop",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getCurrentTarget",null),n=j([wa],n)}(C.Component),hA=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.dialogMountRef=v.createRef(),e}return q(n,i),n.prototype.componentDidMount=function(){var e=this.props.store;this.props.autoFocus?setTimeout(function(){if(Bt(e)){var t=Qt(e.outline,function(r){return!r.isRegion&&r.clickable});t&&Bt(e)&&e.setActiveId(t.id)}},350):this.props.manager.buildRenderersAndPanels()},n.prototype.componentDidUpdate=function(e){var t=this.props;t.editable!==e.editable&&t.editable&&this.props.manager.trigger("preview2editor",{data:this.props.manager})},n.prototype.getDialogMountRef=function(){return this.dialogMountRef.current},n.prototype.render=function(){var e=this.props,t=e.editable,r=e.store,o=e.appLocale;e.autoFocus;var d=e.env,c=e.data;e.manager;var l=Ia(e,["editable","store","appLocale","autoFocus","env","data","manager"]);return v.createElement("div",{ref:this.dialogMountRef,className:"ae-Dialog-preview-mount-node"},Ca(t?r.filteredSchema:r.filteredSchemaForPreview,y(y({},l),{key:t?"edit-mode":"preview-mode",theme:d.theme,data:c??r.ctx,locale:o,editorDialogMountNode:this.getDialogMountRef}),d))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getDialogMountRef",null),n=j([wa],n)}(v.Component),vA=function(i){function n(e){var t=i.call(this,e)||this;return t.env=y({session:"preview"},t.props.env),t.state={scale:!0},t.rootRef=t.rootRef.bind(t),t.syncHeight=t.syncHeight.bind(t),t.handleClick=t.handleClick.bind(t),t}return q(n,i),n.prototype.componentWillUnmount=function(){this.unSensor&&this.unSensor()},n.prototype.rootRef=function(e){var t;this.ref=e,e&&(this.syncHeight(),this.unSensor=yl((t=e.firstChild)===null||t===void 0?void 0:t.firstChild,this.syncHeight))},n.prototype.syncHeight=function(){if(this.ref){var e=this.state.scale,t=this.ref.firstChild;this.ref.style.cssText="height: ".concat(t.scrollHeight/(e?2:1),"px;")}},n.prototype.handleClick=function(e){e.preventDefault(),this.setState({scale:!this.state.scale})},n.prototype.render=function(){var e=this,t=this.props,r=t.schema,o=t.theme;return v.createElement(oI,{unMountOnHidden:!1,schema:r,component:function(d){var c=d.schema;return v.createElement("div",{className:"ae-RenderersPicker-thumb ".concat(e.state.scale?"is-scaled":"")},v.createElement("div",{className:"ae-Editor-rendererThumbWrap"},v.createElement("div",{className:"ae-Editor-rendererThumbIcon",onClick:e.handleClick},v.createElement(xe,{icon:e.state.scale?"zoom-in":"zoom-out"})),v.createElement("div",{ref:e.rootRef,className:"ae-Editor-rendererThumb"},v.createElement("div",{className:"ae-Editor-rendererThumbInner"},Ca(y(y({},c),{mode:c.mode==="horizontal"?"normal":c.mode}),{theme:o},e.env)))))}})},n}(v.Component),gA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleLeftClick=function(e){var t=e.currentTarget.getAttribute("data-value");this.props.store.setInsertTag(t)},n.prototype.handleClick=function(e){var t=e.currentTarget.getAttribute("data-value");this.props.store.setInsertSelected(t)},n.prototype.hadnlDBClick=function(e){var t=e.currentTarget.getAttribute("data-value"),r=this.props.store;r.setInsertSelected(t);var o=this.props.manager;r.insertMode==="replace"?o.replace():o.insert()},n.prototype.handleInsert=function(){this.props.manager.insert()},n.prototype.handleReplace=function(){this.props.manager.replace()},n.prototype.handleCancel=function(){this.props.store.closeInsertPanel()},n.prototype.render=function(){var e,t,r=this,o=this.props.store,d=this.props.manager,c=(e=o.getNodeById(o.insertId))===null||e===void 0?void 0:e.info,l=(t=Wa(c.regions,function(g){return g.key===o.insertRegion}))===null||t===void 0?void 0:t.label,s=o.groupedInsertRenderers,u=Object.keys(s),h=o.insertTag||a("a8b0c20416853bda54120bf19477ad11"),p=s[h]||s[a("a8b0c20416853bda54120bf19477ad11")];return v.createElement("div",{className:"ae-InsertPanel"},o.insertMode==="replace"?v.createElement("div",{className:"ae-InsertPanel-title"},a("b80ed82d124c6fd9242dcacdda2a2f8b")):v.createElement("div",{className:"ae-InsertPanel-title"},v.createElement("span",null,a("41150516bf0d90646edc5239593366e9"))," ",v.createElement("code",null,c.name," > ",l)),v.createElement("div",{className:"m-b-xs"},v.createElement(ci,{className:"editor-InputSearch",value:o.insertRenderersKeywords,onChange:o.changeInsertRenderersKeywords,placeholder:a("d87481b371771b4f150da76e311bbbef"),clearable:!1},o.insertRenderersKeywords?v.createElement("a",{onClick:o.resetInsertRenderersKeywords},v.createElement(xe,{icon:"close",className:"icon"})):v.createElement(xe,{icon:"search",className:"icon"}))),v.createElement("div",{className:"ae-RenderersPicker-list"},v.createElement("ul",null,u.map(function(g){return v.createElement("li",{key:g,className:h===g?"is-active":""},v.createElement("a",{"data-value":g,onClick:r.handleLeftClick},g))})),v.createElement("div",{className:"ae-RenderersPicker-content"},Array.isArray(p)&&p.length?v.createElement("ul",null,p.map(function(g){return v.createElement("li",{key:g.id,className:o.insertSelected===g.id?"is-active":"","data-value":g.id,onClick:r.handleClick,onDoubleClick:r.hadnlDBClick},v.createElement(vA,{theme:d.env.theme,env:d.env,schema:g.previewSchema||{type:"tpl",tpl:a("becdc848350872592201e31bab03892a")}}),v.createElement("div",{className:"ae-RenderersPicker-info"},v.createElement("h4",null,g.name),v.createElement("div",null,v.createElement(wd,{html:g.description}),g.docLink?v.createElement("a",{target:"_blank",href:o.amisDocHost+g.docLink},v.createElement("span",null,a("f26225bde6a250894a04db4c53ea03d0"))):null)))})):v.createElement("div",null,a("751dfe6f476903c21381c9acf88332e2")))),v.createElement("div",{className:"ae-InsertPanel-footer"},o.insertMode==="replace"?v.createElement(ke,{className:"action-btn action-btn-primary",onClick:this.handleReplace,disabled:!o.insertSelected,level:"primary"},a("e22c9a05b424b761efce11f17726fdd7")):v.createElement(ke,{className:"action-btn action-btn-primary",onClick:this.handleInsert,disabled:!o.insertSelected,level:"primary"},a("9bdb07e72d3a9a6084201a7398523f5a")),v.createElement(ke,{className:"action-btn",onClick:this.handleCancel},a("625fb26b4b3340f7872b411f401e754c"))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleLeftClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"hadnlDBClick",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleInsert",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleReplace",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleCancel",null),n=j([wa],n)}(v.Component);function Hb(){return Hb=Object.assign?Object.assign.bind():function(i){for(var n=1;n0){var d=t.getResultTags(e.allResult);r=d.curResultTags,o=d.curResultByTag}return t.state={resultTags:r,resultByTag:o,curKeyword:e.externalKeyword||"",searchResult:[],searchResultByTag:{},visible:!1,curKeywordSearchHistory:t.getSearchHistory(),toggleTagFolderStatus:!0},t}return q(n,i),n.prototype.componentDidMount=function(){var e,t;!((t=(e=this.ref.current)===null||e===void 0?void 0:e.childNodes[0])===null||t===void 0)&&t.childNodes[0]&&(this.curInputBox=this.ref.current.childNodes[0].childNodes[0],this.curInputBox.addEventListener("keyup",this.bindEnterEvent))},n.prototype.componentWillUnmount=function(){this.curInputBox&&this.curInputBox.removeEventListener("keyup",this.bindEnterEvent)},n.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this,r=e.externalKeyword,o=e.allResult;if(r!==this.state.curKeyword&&this.setState({curKeyword:r},function(){t.groupedResultByKeyword(r)}),o!==this.props.allResult){var d=[],c={};if(o&&o.length>0){var l=this.getResultTags(o);d=l.curResultTags,c=l.curResultByTag}this.setState({resultTags:d,resultByTag:c})}},n.prototype.getSearchHistory=function(){var e=[];if(window.localStorage){var t=window.localStorage.getItem(this.localStorageKey);if(t){var r=JSON.parse(t);r&&Array.isArray(r)&&(e=r)}}return e},n.prototype.getResultTags=function(e){var t=[],r={},o=this.props.tagKey||"tags";return e.forEach(function(d){!Pn(d)&&d[o]&&(Array.isArray(d[o])?d[o].concat():d[o]?[d[o]]:[a("0d98c74797e49d00bcc4c17c9d557a2b")]).forEach(function(c){t.indexOf(c)<0&&t.push(c),r[c]||(r[c]=[]),r[c].push(d)})}),{curResultTags:t,curResultByTag:r}},n.prototype.groupedResultByKeyword=function(e){e===void 0&&(e="");var t=this.props.allResult,r=[],o={},d=e||this.state.curKeyword,c=this.props.tagKey||"tags";if(d&&new RegExp($v(d),"i"),t.length&&Pn(t[0]))ud(t,e).forEach(function(s){r.push(s)});else{var l=new Map;ud(t,e,{keys:["name","description","scaffold.type","searchKeywords"]}).forEach(function(s){l.set(s.id,s)}),t.forEach(function(s){l.has(s.id)&&(s[c]?(Array.isArray(s[c])?s[c].concat():s[c]?[s[c]]:[a("0d98c74797e49d00bcc4c17c9d557a2b")]).forEach(function(u){o[u]=o[u]||[],o[u].push(s)}):r.push(s))})}this.setState({searchResult:r,searchResultByTag:o})},n.prototype.bindFocusEvent=function(){this.setState({visible:!0})},n.prototype.bindBlurEvent=function(){var e=this,t=this.state.curKeyword;this.setState({visible:!1},function(){t&&e.addSearchHistory(t),e.props.onChange(t)})},n.prototype.updateCurKeyword=function(e){var t=this,r=e;r=r&&r.trim(),this.setState({curKeyword:r},function(){t.groupedResultByKeyword(r),t.props.immediateChange&&t.props.onChange(r)})},n.prototype.changeTagFoldStatus=function(e,t){t.preventDefault(),t.stopPropagation(),this.curInputBox.focus(),this.curTagFolded[e]=!this.curTagFolded[e],this.setState({toggleTagFolderStatus:!this.state.toggleTagFolderStatus})},n.prototype.bindEnterEvent=function(e){var t=this;e.preventDefault();var r=this.state.curKeyword;(e==null?void 0:e.keyCode)===13&&this.setState({visible:!1},function(){t.addSearchHistory(r),t.props.onChange(r)})},n.prototype.bindClearActionEvent=function(){var e=this;this.setState({curKeyword:"",searchResult:[],searchResultByTag:{}},function(){e.props.onChange("")})},n.prototype.bindTagClickEvent=function(e){var t,r=this,o=this.state.resultByTag[e];this.setState({visible:!1,curKeyword:e,searchResult:o,searchResultByTag:(t={},t[e]=o,t)},function(){r.props.onTagChange&&r.props.onTagChange(e)})},n.prototype.addSearchHistory=function(e){var t=this.state.curKeywordSearchHistory;t.indexOf(e)>-1||(t.length===10&&t.shift(),t.push(e),this.updateSearchHistory())},n.prototype.clickKeywordEvent=function(e){var t=this;this.setState({visible:!1,curKeyword:e},function(){t.groupedResultByKeyword(e),t.props.onChange(e)})},n.prototype.deleteSearchHistory=function(e,t){e.preventDefault(),e.stopPropagation(),this.curInputBox.focus();var r=this.state.curKeywordSearchHistory,o=r.indexOf(t);r.splice(o,1),this.updateSearchHistory()},n.prototype.clearSearchHistory=function(e){var t=this;e.preventDefault(),e.stopPropagation(),this.curInputBox.focus();var r=this.state.curKeywordSearchHistory;r&&r.length>0&&this.setState({curKeywordSearchHistory:[]},function(){t.updateSearchHistory()})},n.prototype.updateSearchHistory=function(){if(window.localStorage){var e=this.state.curKeywordSearchHistory;window.localStorage.setItem(this.localStorageKey,JSON.stringify(e))}},n.prototype.renderNameByKeyword=function(e,t){if(t&&~e.indexOf(t)){var r=e.indexOf(t),o=r+t.length;return v.createElement("span",null,e.substring(0,r),v.createElement("span",{className:"is-keyword"},t),e.substring(o))}return e},n.prototype.resultIsHasScroll=function(e,t){var r=this,o=0;return(e?Object.keys(e):[]).map(function(d){r.curTagFolded[d]?o+=1:o+=e[d].length+1}),o>t},n.prototype.render=function(){var e=this,t=this.props,r=t.allResult,o=t.closeAutoComplete,d=t.immediateChange,c=this.state,l=c.resultTags,s=c.curKeyword,u=c.searchResult,h=c.searchResultByTag,p=c.visible,g=h?Object.keys(h):[],w=K([],U(this.state.curKeywordSearchHistory),!1).reverse(),x=!1;return p&&r&&r.length>0&&(x=!0),o&&s&&(x=!1),o&&(!l||l&&l.length===0)&&(!w||w&&w.length===0)&&(x=!1),v.createElement("div",{className:"editor-InputSearch-panel",ref:this.ref},v.createElement(ci,{className:"editor-InputSearch",value:s,onChange:this.updateCurKeyword,placeholder:a("2168c5735883bd040eaf09909d0911b8"),clearable:!1,onFocus:this.bindFocusEvent,onBlur:this.bindBlurEvent},v.createElement(v.Fragment,null,d&&(s?v.createElement(xe,{icon:"search-clear",className:"icon delete-btn-icon",onClick:this.bindClearActionEvent}):v.createElement(xe,{icon:"editor-search",className:"icon",onClick:this.bindBlurEvent})),!d&&v.createElement(v.Fragment,null,s&&v.createElement(xe,{icon:"search-clear",className:"icon delete-btn-icon margin-right",onClick:this.bindClearActionEvent}),v.createElement(xe,{icon:"editor-search",className:"icon",onClick:this.bindBlurEvent})))),v.createElement("div",{className:"editor-InputSearch-content ".concat(x?"":"hidden-status")},!s&&w&&w.length>0&&v.createElement("div",{className:"search-history ".concat(l&&l.length>0?"has-border-bottom":"")},v.createElement("div",{className:"header"},v.createElement("div",{className:"header-title"},a("e9c38f88375807704270aa3572454976")),v.createElement("div",{className:"header-clear-icon",onClick:function(O){return e.clearSearchHistory(O)}},a("288f0c404c4e546aa3683ff5054e85e2"))),v.createElement("div",{className:"history-cont ".concat(w.length>6?"hasScrollBtn":"")},w.map(function(O,I){return v.createElement("div",{className:"history-item",key:"".concat(O,"-").concat(I),onClick:function(){return e.clickKeywordEvent(O)}},v.createElement("div",{className:"history-keyword"},O),v.createElement("div",{className:"delete-icon",title:a("4b9bc9abf2a2beb3772d903a3d01d1de")},v.createElement(xe,{icon:"close",onClick:function(S){return e.deleteSearchHistory(S,O)}})))}))),s&&u.length===0&&g.length===0&&v.createElement("div",{className:"search-result-list"},v.createElement("div",{className:"search-result-placeholder"},a("9d3128a1675de32cdd290b31140a7290"))),s&&u.length>0&&v.createElement("div",{className:"search-result-list ".concat(u.length>6?"hasScrollBtn":"")},u.length>1&&v.createElement("div",{className:"subRenderers-list only-one-tag"},u.map(function(O,I){return v.createElement("div",{className:"subRenderers-item",key:"subRenderers-only-one-tag-".concat(I),onClick:function(){return e.clickKeywordEvent(O.name)}},O.name||O.type)}))),s&&g.length>0&&v.createElement("div",{className:"search-result-list ".concat(this.resultIsHasScroll(h,6)?"hasScrollBtn":"")},g.length>1&&g.map(function(O,I){return v.createElement("div",{className:"multiple-subRenderers-list",key:"".concat(O,"-subRenderers-list")},v.createElement("div",{className:de("subRenderers-header",{"is-folded":!!e.curTagFolded[O]}),title:e.curTagFolded[O]?a("e4cefe7df36e92da1d7e875b92655507"):a("7ae451de83aa6f5f140e941904377391"),onClick:function(S){e.changeTagFoldStatus(O,S)}},O,v.createElement(xe,{icon:"right-arrow-bold"})),v.createElement("div",{className:de("subRenderers-list",{"is-folded":!!e.curTagFolded[O]})},h[O]&&h[O].map(function(S,N){return v.createElement("div",{className:"subRenderers-item",key:N,onClick:function(){return e.clickKeywordEvent(S.name)}},e.renderNameByKeyword(S.name,s))})))}),g.length===1&&g.map(function(O,I){return v.createElement("div",{className:"subRenderers-list only-one-tag",key:"subRenderers-tag-".concat(O)},h[O]&&h[O].map(function(S,N){return v.createElement("div",{className:"subRenderers-item",key:"subRenderers-only-one-tag-".concat(N),onClick:function(){return e.clickKeywordEvent(S.name)}},S.name||S.type)}))})),!s&&l&&l.length>0&&v.createElement("div",{className:"tag-list"},v.createElement("div",{className:"header"},a("accb901a02b1415b40d95cdd31b8da1d")),v.createElement("div",{className:"tag-list-cont"},l.length?l.map(function(O,I){return v.createElement("div",{className:"tag-item",key:"".concat(O,"-").concat(I),onClick:function(){return e.bindTagClickEvent(O)}},O)}):null))))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getSearchHistory",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"bindFocusEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"bindBlurEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"updateCurKeyword",null),j([X,E("design:type",Function),E("design:paramtypes",[String,Object]),E("design:returntype",void 0)],n.prototype,"changeTagFoldStatus",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"bindEnterEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"bindClearActionEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"bindTagClickEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"addSearchHistory",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"clickKeywordEvent",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,String]),E("design:returntype",void 0)],n.prototype,"deleteSearchHistory",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"clearSearchHistory",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"updateSearchHistory",null),j([X,E("design:type",Function),E("design:paramtypes",[String,String]),E("design:returntype",void 0)],n.prototype,"renderNameByKeyword",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,Number]),E("design:returntype",void 0)],n.prototype,"resultIsHasScroll",null),n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),yA=function(i){function n(e){var t=i.call(this,e)||this;t.localStorageKey="amis-editor-renderer-search-history";var r=e.store.subRenderersByOrder;r=r.filter(function(l){return!l.disabledRendererPlugin});var o=e.store,d=o.subRenderersKeywords,c=o.subRenderersTag;return t.state={subRenderersByOrder:r,defaultKeyword:d||c||""},t.lastSubRenderersTag=e.store.subRenderersTag,t.changeSubRenderersTag=t.changeSubRenderersTag.bind(t),t}return q(n,i),n.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=e.store.subRenderersTag,r=e.store.subRenderersKeywords;t===this.lastSubRenderersTag||r||(this.lastSubRenderersTag=t,this.setState({defaultKeyword:t}))},n.prototype.changeSubRenderersTag=function(e){this.lastSubRenderersTag=e,this.props.store.changeSubRenderersTag(e)},n.prototype.render=function(){var e=this.state,t=e.subRenderersByOrder,r=e.defaultKeyword,o=this.props.store.changeSubRenderersKeywords;return v.createElement(Uv,{allResult:t,externalKeyword:r,searchPanelUUID:this.localStorageKey,onChange:o,onTagChange:this.changeSubRenderersTag,immediateChange:!0,closeAutoComplete:!0})},n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),CA=function(i){function n(e){var t=i.call(this,e)||this;t.localStorageKey="amis-editor-custom-renderer-search-history";var r=e.store.customRenderersByOrder;r=r.filter(function(l){return!l.disabledRendererPlugin});var o=e.store,d=o.customRenderersKeywords,c=o.customRenderersTag;return t.state={customRenderersByOrder:r,defaultKeyword:d||c||""},t}return q(n,i),n.prototype.render=function(){var e=this.state,t=e.customRenderersByOrder,r=e.defaultKeyword,o=this.props.store,d=o.changeCustomRenderersKeywords,c=o.changeCustomRenderersTag;return t&&t.length>0?v.createElement(Uv,{allResult:t,externalKeyword:r,immediateChange:!0,closeAutoComplete:!0,searchPanelUUID:this.localStorageKey,onChange:d,onTagChange:c}):null},n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),Af=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={toggleCollapseFolderStatus:!1},e.curCollapseFolded={},e}return q(n,i),n.prototype.handleRegionFilterClick=function(e){var t=e.currentTarget.getAttribute("data-value"),r=this.props,o=r.store,d=r.manager;t=t===o.subRendererRegion?"":t,d.switchToRegion(t)},n.prototype.handleDragStart=function(e,t){var r=e.currentTarget.getAttribute("data-id");e.dataTransfer.setData('dnd-dom/[data-id="'.concat(r,'"]'),"")},n.prototype.handleClick=function(e){var t=e.currentTarget.getAttribute("data-dnd-id");this.props.manager.addElem(t)},n.prototype.changeCollapseFoldStatus=function(e,t){this.curCollapseFolded[e]=!this.curCollapseFolded[e],this.setState({toggleCollapseFolderStatus:!this.state.toggleCollapseFolderStatus}),t.preventDefault(),t.stopPropagation()},n.prototype.renderThumb=function(e){var t=this.props.manager;return e?Ca(e,{onAction:W2},t.env):v.createElement("p",null,a("c44c6c179c44e794b103053886847dc4"))},n.prototype.render=function(){var e=this,t=this.props,r=t.store,o=t.searchRendererType,d=t.className,c=this.props.groupedRenderers||{},l=Object.keys(c);return v.createElement("div",{className:de("ae-RendererList",d)},o==="renderer"&&v.createElement(yA,{store:r}),o==="custom-renderer"&&v.createElement(CA,{store:r}),v.createElement("hr",{className:"margin-top"}),v.createElement("div",{className:"ae-RendererList-groupWrap hoverShowScrollBar"},l.length?l.map(function(s,u){var h=c[s];return h&&h.length?v.createElement(v.Fragment,{key:s},v.createElement("div",{key:"".concat(s,"-head"),className:"ae-RendererList-head collapse-header",onClick:function(p){e.changeCollapseFoldStatus(s,p)}},s,v.createElement("div",{className:de("expander-icon",{"is-folded":!!e.curCollapseFolded[s]}),title:e.curCollapseFolded[s]?a("e4cefe7df36e92da1d7e875b92655507"):a("7ae451de83aa6f5f140e941904377391")},v.createElement(xe,{icon:"right-arrow-bold"}))),v.createElement("div",{key:"".concat(s,"-content"),className:de("ae-RendererList-group collapse-content",{"is-folded":!!e.curCollapseFolded[s]})},h.map(function(p){var g="".concat(u,"_").concat(p.id),w=Vv(p);return v.createElement("div",{key:g,className:"ae-RendererList-item",draggable:!0,"data-id":g,"data-dnd-type":"subrenderer","data-dnd-id":p.id,"data-dnd-data":JSON.stringify(p.scaffold||{type:p.type}),onDragStart:function(x){return e.handleDragStart(x,p.name)}},v.createElement("div",{className:"icon-box","data-dnd-id":p.id,title:"点击添加「".concat(p.name,"」"),onClick:e.handleClick},w&&v.createElement(xe,{icon:p.pluginIcon}),!w&&v.createElement("i",{className:de("fa-fw",p.icon||"fa fa-circle-thin")})),v.createElement("div",{className:"ae-RendererInfo","data-dnd-id":p.id,onClick:e.handleClick},p.name),v.createElement(_a,{tooltipClassName:"ae-RendererThumb",trigger:"hover",rootClose:!0,placement:"right",tooltip:{offset:[10,0],children:function(){return v.createElement("div",null,v.createElement("div",{className:"ae-Renderer-title"},p.name),p.description||p.docLink?v.createElement("div",{className:"ae-Renderer-info"},v.createElement(wd,{html:p.description?p.description:""}),p.docLink&&v.createElement("a",{target:"_blank",href:r.amisDocHost+p.docLink},a("f26225bde6a250894a04db4c53ea03d0"))):null,v.createElement("div",{className:"ae-Renderer-preview"},e.renderThumb(p.previewSchema)))}}},v.createElement("div",{className:"ae-RendererIcon"},v.createElement(xe,{icon:"editor-help",className:"icon"}))))}))):null}):v.createElement("span",null,a("b797a8992ef41320919e45a069f2b459"))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleRegionFilterClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,String]),E("design:returntype",void 0)],n.prototype,"handleDragStart",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[String,Object]),E("design:returntype",void 0)],n.prototype,"changeCollapseFoldStatus",null),n=j([wa],n)}(v.Component),qv=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleSelect=function(e){e&&this.props.store.changeRenderersTabsKey(e)},n.prototype.render=function(){var e=this.props,t=e.store,r=e.manager,o=t.renderersTabsKey||"base-renderers",d=t.theme,c=t.customRenderersByOrder||[],l=t.groupedSubRenderers||{},s=t.groupedCustomRenderers||{};return v.createElement("div",{className:"ae-RendererPanel"},v.createElement("div",{className:"panel-header"},a("bb79667f37035e9562ec6bcffd6cf8ef")),v.createElement("div",{className:"ae-RendererPanel-content"},t.showCustomRenderersPanel&&c.length>0&&v.createElement(Cl,{theme:d,tabsMode:"line",className:"ae-RendererList-tabs",linksClassName:"ae-RendererList-tabs-header",contentClassName:"ae-RendererList-tabs-content",activeKey:o,onSelect:this.handleSelect},v.createElement(mr,{key:"base-renderers",eventKey:"base-renderers",title:a("5cb297585d4c81bb8fdbd31210a30d6f"),className:"ae-RendererList-tabs-panel base-renderers",mountOnEnter:!0,unmountOnExit:!1},v.createElement(Af,{groupedRenderers:l,store:t,manager:r,searchRendererType:"renderer"})),v.createElement(mr,{key:"custom-renderers",eventKey:"custom-renderers",title:a("6fce1c9aa3654ae2f0eedcc068a7e189"),className:"ae-RendererList-tabs-panel custom-renderers",mountOnEnter:!0,unmountOnExit:!1},v.createElement(Af,{groupedRenderers:s,store:t,manager:r,searchRendererType:"custom-renderer"}))),(!t.showCustomRenderersPanel||Object.keys(s).length<1)&&v.createElement(Af,{className:"only-base-component",groupedRenderers:l,store:t,manager:r,searchRendererType:"renderer"})))},j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleSelect",null),n=j([wa],n)}(v.Component),Gv=Ke.model("EditorNode",{parentId:"",parentRegion:"",isCommonConfig:!1,id:"",type:"",label:"",regionInfo:Ke.maybe(Ke.frozen()),path:"",schemaPath:"",region:"",preferTag:"",state:Ke.optional(Ke.frozen(),{}),widthMutable:!1,heightMutable:!1,memberIndex:-1,folded:!1,patched:!1,x:0,y:0,w:0,h:0,dialogTitle:"",dialogType:"",children:Ke.optional(Ke.array(Ke.late(function(){return Gv})),[])}).volatile(function(){return{getData:Ke.frozen()}}).views(function(i){var n,e;return{get info(){return n},setInfo:function(t){n=t},updateSharedContext:function(t){t&&(n!=null&&n.hasOwnProperty("sharedContext"))&&(n.sharedContext=t)},get rendererConfig(){return e},setRendererConfig:function(t){e=t},get isVitualRenderer(){return!!~i.memberIndex},get clickable(){var t,r;return((t=this.info)===null||t===void 0?void 0:t.editable)!==!1||!(!((r=this.info)===null||r===void 0)&&r.hostId)},get draggable(){var t;return!(!this.moveable||((t=this.info)===null||t===void 0?void 0:t.draggable)===!1)},get moveable(){var t,r;return!(this.isRegion||((t=this.info)===null||t===void 0?void 0:t.movable)===!1||!Array.isArray(this.schemaParent)||!((r=this.host)===null||r===void 0)&&r.memberImmutable(this.parent.region))},get canMoveUp(){return!(this.isRegion||!this.moveable||!Array.isArray(this.schemaParent)||!this.prevSibling)},get canMoveDown(){return!(this.isRegion||!this.moveable||!Array.isArray(this.schemaParent)||!this.nextSibling)},get removable(){var t;return!(this.isRegion||((t=this.info)===null||t===void 0?void 0:t.removable)===!1||!Array.isArray(this.schemaParent)||!this.host||this.host.memberImmutable(this.parent.region))},get duplicatable(){var t;return!(this.isRegion||((t=this.info)===null||t===void 0?void 0:t.duplicatable)===!1||!Array.isArray(this.schemaParent)||this.host.memberImmutable(this.parent.region))},get replaceable(){var t;return!this.isRegion&&((t=this.info)===null||t===void 0?void 0:t.replaceable)!==!1},memberImmutable:function(t){var r,o;return!!(((r=this.info)===null||r===void 0?void 0:r.memberImmutable)===!0||Array.isArray((o=this.info)===null||o===void 0?void 0:o.memberImmutable)&&~this.info.memberImmutable.indexOf(t))},get isRegion(){return!!i.region},get childRegions(){var t,r,o=this.uniqueChildren.filter(function(c,l,s){return c.isRegion});if(!((t=this.info)===null||t===void 0)&&t.multifactor){var d=this.sameIdChild;(r=d==null?void 0:d.childRegions)===null||r===void 0||r.forEach(function(c){return o.push(c)})}return o},get uniqueChildren(){var t=i.children.filter(function(o,d,c){return c.findIndex(function(l){return o.isRegion?l.id===o.id&&l.region===o.region:l.id===o.id})===d});if(Array.isArray(this.schema)){var r=this.schema;t=t.sort(function(o,d){return Dt(r,function(c){return(c==null?void 0:c.$$id)===o.id})-Dt(r,function(c){return(c==null?void 0:c.$$id)===d.id})})}return t},get sameIdChild(){var t;return(t=this.uniqueChildren)===null||t===void 0?void 0:t.find(function(r){return!r.isRegion&&r.id===i.id})},get singleRegion(){return!(this.uniqueChildren.length!==1||!this.uniqueChildren[0].isRegion)},isExists:function(t){return i.children.some(function(r){return r.id===t})},getChildById:function(t){return i.children.find(function(r){return r.id===t})},get parent(){try{var t=X5(i,2);return(t==null?void 0:t.id)!=="root"?t:null}catch{return null}},get ancestorField(){var t,r,o,d,c=X5(i,4);if((c==null?void 0:c.id)==="root")return null;var l=(r=(t=c==null?void 0:c.getComponent())===null||t===void 0?void 0:t.props)!==null&&r!==void 0?r:{},s=(o=l==null?void 0:l.body)!==null&&o!==void 0?o:[],u=Object.keys((d=l==null?void 0:l.data)!==null&&d!==void 0?d:{});return to(K(K([],U(s.map(function(h){var p;return(p=h==null?void 0:h.name)!==null&&p!==void 0?p:""})),!1),U(u),!1))},get host(){var t=i.parent;return t!=null&&t.isRegion&&(t=t.parent),t},get firstChild(){var t=i;if(!t.children.length)return null;for(var r=t.children[0];r;){if(!r.isRegion&&r.id!==t.id)return r;r=r.children.length?r.children[0]:null}return null},get index(){return this.parent.uniqueChildren.indexOf(i)},get prevSibling(){for(var t=this.parent.uniqueChildren,r=t.indexOf(i)-1;r>=0&&t[r];){if(t[r].id!==i.id)return t[r];r--}return null},get nextSibling(){for(var t=this.parent.uniqueChildren,r=t.length,o=t.indexOf(i)+1;o"):a("b71e8739cb9bcba8057a8fa8b59512da");c="".concat(h).concat((t=s??u)!==null&&t!==void 0?t:l)}return c=c??l,{id:e.id,label:c,value:(r=d==null?void 0:d.id)!==null&&r!==void 0?r:e.id,type:(o=d==null?void 0:d.type)!==null&&o!==void 0?o:e.type,schema:d,disabled:!!e.region,visible:!e.region||!!(e!=null&&e.children.length),children:e==null?void 0:e.children}},1,!0)},get scaffoldData(){var n;return Fi(i.ctx,y(y({},((n=i.scaffoldForm)===null||n===void 0?void 0:n.value)||{}),{__step:i.scaffoldFormStep}))},get dialogOutlineList(){var n=i.schema;return $b(n,"list")}}}).actions(function(i){Cc(i);var n=0,e=null,t=void 0,r=document,o=void 0,d=It(function(){return i.updateTargetName()},250,{leading:!1,trailing:!0});return{setLayer:function(c){t=c},getLayer:function(){return t},setDoc:function(c){r=c},getDoc:function(){return r},setIframe:function(c){o=c},getIframe:function(){return o},setIsMobile:function(c){i.isMobile=!!c},setCtx:function(c){i.ctx=c},setTheme:function(c){i.theme=c},setIsSubEditor:function(c){i.isSubEditor=c},setShowCustomRenderersPanel:function(c){i.showCustomRenderersPanel=c},setSchema:function(c){var l,s=da(c||{});if(i.schema){var u=Va(i.schema,s,function(x,O){return O==="$$id"}),h=r6(i.schema,u);if(((l=u==null?void 0:u[0])===null||l===void 0?void 0:l.kind)==="A"&&(u[0].item.kind==="D"||u[0].item.kind==="N")&&Array.isArray(u[0].path)){var p=u[0].path,g=p.pop(),w=p.reduce(function(x,O){return x[O]},h);w[g]=w[g].map(function(x){return y(y({},x),{$$id:oi()})})}i.schema=h}else i.schema=s;this.resetHistory(),d()},insertSchema:function(c){var l,s=c.context.id,u=c.context.region,h=Oa(i.schema,s);if(h){var p=da(c.context.data);h!=null&&h.isFreeContainer&&(p.style={position:"absolute",inset:"10px auto auto 10px"},tA(p.type)&&(p.style.width="300px"));var g=Array.isArray(h[u])?h[u].concat():h[u]?[h[u]]:[];if(c.context.beforeId){var w=Dt(g,function(x){return(x==null?void 0:x.$$id)===c.context.beforeId});~w?g.splice(w,0,p):g.push(p)}else g.push(p);return this.traceableSetSchema(Ct(i.schema,s,((l={})[u]=g,l))),c.context.data=p,p}},moveSchema:function(c){var l,s=c.context,u=i.schema;if(s.sourceId!==s.beforeId){var h=Oa(u,s.sourceId);u=ad(u,s.sourceId,void 0,!0);var p=s.region,g=Oa(u,s.id)[p];if(g=Array.isArray(g)?g.concat():g?[g]:[],s.beforeId){var w=Dt(g,function(x){return x.$$id===s.beforeId});if(!~w)throw new Error(a("eadc8c8d4a8776893672330598babca0"));g.splice(w,0,h)}else g.push(h);this.traceableSetSchema(Ct(u,s.id,((l={})[p]=g,l)))}},setActiveId:function(c,l,s){l===void 0&&(l=""),s===void 0&&(s=[]);var u=c?i.getNodeById(c):void 0;(u==null?void 0:u.clickable)===!1||c&&!u||(i.activeId=c,i.activeRegion=l,i.selections=s)},setActiveDialogPath:function(c){i.activeDialogPath=c},setPreviewDialogId:function(c){i.previewDialogId=c||""},setSelections:function(c){i.activeId="",i.activeRegion="",i.selections=c?c.concat():[]},clearSelection:function(){i.selections=[]},setHoverId:function(c,l){var s=c?i.getNodeById(c):void 0;(s==null?void 0:s.clickable)!==!1&&(i.hoverId=c,i.hoverRegion=l||"")},setMouseMoveRegion:function(c){i.mouseMoveRegion=c},setInsertId:function(c){i.insertId=c},setContextId:function(c){i.contextId=c},setDragId:function(c,l,s,u){l===void 0&&(l="move"),s===void 0&&(s="schema"),i.dragId=c,i.dragMode=l,i.dragType=s,i.dragSchema=u||(c?i.getSchema(c):null)},setDropId:function(c,l){l===void 0&&(l=""),i.dropId=c,i.dropRegion=l,i.planDropId="",i.planDropRegion=""},setPlanDropId:function(c,l){i.planDropId=c,i.planDropRegion=l},setActiveToolbars:function(c){i.toolbars=c},setPanels:function(c){i.panels=c},setSubRenderers:function(c){i.subRenderers=c},changeSubRenderersKeywords:function(c){i.subRenderersKeywords=c,i.subRenderersTag=""},changeSubRenderersTag:function(c){i.subRenderersKeywords="",i.subRenderersTag=c},resetSubRenderersKeywords:function(){i.subRenderersKeywords="",i.subRenderersTag=""},changeCustomRenderersKeywords:function(c){i.customRenderersKeywords=c,i.customRenderersTag=""},changeCustomRenderersTag:function(c){i.customRenderersKeywords="",i.customRenderersTag=c},resetCustomRenderersKeywords:function(){i.customRenderersKeywords="",i.customRenderersTag=""},changeSubRendererRegion:function(c){i.subRendererRegion=c},changePanelKey:function(c){c!==i.getPanelKey()&&(i.panelKey=c)},changeLeftPanelKey:function(c){c!=="insert"&&i.panelKey!=="insert"&&c!==i.getLeftPanelKey()&&(i.leftPanelKey=c)},changeRenderersTabsKey:function(c){c!==i.renderersTabsKey&&(i.renderersTabsKey=c)},changeOutlineTabsKey:function(c){c!==i.outlineTabsKey&&(i.outlineTabsKey=c)},changeLeftPanelOpenStatus:function(c){c!==i.leftPanelOpenStatus&&(i.leftPanelOpenStatus=c)},showRendererPanel:function(c,l){i.getLeftPanelKey()!=="renderers"?i.leftPanelKey="renderers":c!==i.subRenderersTag&&c||ea.info(l||a("f3c057f37fb9a4e7dd44b04919c12578")),i.renderersTabsKey="base-renderers",c&&this.changeSubRenderersTag(c),this.changeLeftPanelOpenStatus(!0)},changeValue:function(c,l){i.activeId&&this.changeValueById(i.activeId,c,l)},definitionOnchangeValue:function(c,l){this.changeValueById(i.getRootId(),c,l)},changeValueById:function(c,l,s,u,h){var p=Oa(i.schema,c);if(p)if(s){var g=r6(p,s);this.traceableSetSchema(Ct(i.schema,c,da(g),!0),h)}else this.traceableSetSchema(Ct(i.schema,c,da(l),u),h)},batchChangeValue:function(c){this.traceableSetSchema(c.reduce(function(l,s){return Ct(l,s.id,da(s.value),!0)},i.schema),!0)},updateContainerStyleByDrag:function(c,l,s){var u=c||i.dragId;if(u){var h=i.getSchema(u),p=(h==null?void 0:h.style)||{};if(u&&(p==null?void 0:p.position)==="fixed"||(p==null?void 0:p.position)==="absolute"){var g=(p.inset||"auto").split(" "),w={top:g[0]||"auto",right:g[1]||"auto",bottom:g[2]||g[0]||"auto",left:g[3]||g[1]||"auto"},x="".concat(w.top!=="auto"?Zt(w.top,s):"auto"," ").concat(w.right!=="auto"?Zt(w.right,-l):"auto"," ").concat(w.bottom!=="auto"?Zt(w.bottom,-s):"auto"," ").concat(w.left!=="auto"?Zt(w.left,l):"auto");this.changeValueById(u,y(y({},h),{style:y(y({},p),{inset:x})})),this.calculateHighlightBox([u])}}},moveUp:function(c){c&&this.traceableSetSchema(J_(i.schema,c))},moveDown:function(c){c&&this.traceableSetSchema(Z_(i.schema,c))},del:function(c){var l,s;if(c===i.activeId){var u=(l=i.getNodeById(c))===null||l===void 0?void 0:l.host;this.setActiveId(u?u.id:"")}else if(i.activeId){var h=Oa(i.schema,c);Oa(h,i.activeId)&&(u=(s=i.getNodeById(c))===null||s===void 0?void 0:s.host,this.setActiveId(u?u.id:""))}this.traceableSetSchema(ad(i.schema,c))},delMulti:function(c){var l=this;(Array.isArray(c)?c:[c]).forEach(function(s){var u,h;if(s===i.activeId){var p=(u=i.getNodeById(s))===null||u===void 0?void 0:u.host;l.setActiveId(p?p.id:"")}else if(i.activeId){var g=Oa(i.schema,s);Oa(g,i.activeId)&&(p=(h=i.getNodeById(s))===null||h===void 0?void 0:h.host,l.setActiveId(p?p.id:""))}}),this.traceableSetSchema(c.reduce(function(s,u){return ad(s,u)},i.schema))},duplicate:function(c){this.traceableSetSchema((Array.isArray(c)?c:[c]).reduce(function(l,s){return X_(l,s)},i.schema))},emptyRegion:function(c,l){var s;this.traceableSetSchema(Ct(i.schema,c,((s={})[l]=[],s)))},replaceChild:function(c,l){this.traceableSetSchema(Ct(i.schema,c,da(l),!0))},setInsertRegion:function(c,l,s,u,h,p){l===void 0&&(l=""),s===void 0&&(s=a("a8b0c20416853bda54120bf19477ad11")),u===void 0&&(u="insert"),h===void 0&&(h=""),i.insertId=l,i.insertRegion=c,i.insertTag=s,i.insertMode=u,i.insertOrigId=h,i.insertBeforeId=p||""},closeInsertPanel:function(){i.insertOrigId="",i.insertId="",i.insertRegion="",i.insertSelected="",i.insertRenderersKeywords="",i.insertBeforeId=""},showInsertRendererPanel:function(){i.showInsertRenderer=!0},closeInsertRendererPanel:function(){i.showInsertRenderer=!1},setInsertRenderers:function(c){i.insertRenderers=c},changeInsertRenderersKeywords:function(c){i.insertRenderersKeywords=c},resetInsertRenderersKeywords:function(){i.insertRenderersKeywords=""},setInsertTag:function(c){i.insertTag=c},setInsertSelected:function(c){i.insertSelected=c},setJSONSchemaUri:function(c){i.jsonSchemaUri=c},openSubEditor:function(c){var l=i.activeId;l&&(i.subEditorContext=y(y({},c),{hostNode:i.getNodeById(l),data:Fi(i.ctx,cI(c.data,{__curCmptTreeWrap:{label:c.title,disabled:!0},__superCmptTreeSource:i.getComponentTreeSource()}))}))},confirmSubEditor:function(c){var l,s=U(c,1)[0],u=i.subEditorContext,h=u.onChange,p=u.slot,g=s.schema,w=((l=s.__pristine)===null||l===void 0?void 0:l.schema)||g;if(p){var x=i.subEditorSlotPath.replace(/(?:\/)/g,".");g=dr(g,x),w=dr(w,x),Array.isArray(g)&&g.length===1&&!Array.isArray(w)&&(g=g[0])}h(g,h.length>1?Va(w,g):void 0),i.subEditorContext=void 0},closeSubEditor:function(){i.subEditorContext=void 0},subEditorOnChange:function(){e&&(i.subEditorContext=y(y({},i.subEditorContext),{canUndo:e.canUndo(),canRedo:e.canRedo()}))},undoSubEditor:function(){e&&e.undo()},redoSubEditor:function(){e&&e.redo()},subEditorRef:function(c){e=c},openScaffoldForm:function(c){i.scaffoldForm=c,i.scaffoldStepManipulated=!1},closeScaffoldForm:function(){i.scaffoldForm=void 0},setScaffoldBuzy:function(c){i.scaffoldFormBuzy=!!c},setScaffoldStep:function(c){i.scaffoldFormStep=c},setScaffoldStepManipulated:function(c){i.scaffoldStepManipulated=c},setScaffoldError:function(c){c===void 0&&(c=""),i.scaffoldError=c},updateScaffoldData:function(c,l){i.scaffoldForm&&c&&(i.scaffoldForm=y(y({},i.scaffoldForm),{value:l?c:y(y({},i.scaffoldForm.value),c)}))},openPopOverForm:function(c){i.popOverForm=c},closePopOverForm:function(){i.popOverForm=void 0},calculateHighlightBox:function(c){i.calculateStarted=!0,c.forEach(function(l){var s=i.getNodeById(l);s==null||s.calculateHighlightBox(i)})},resetHighlightBox:function(c){c.forEach(function(l){var s=i.getNodeById(l);s==null||s.resetHighlightBox(i)})},updateTargetName:function(){var c=[];Il(i.schema,function(l,s,u){return s==="name"&&l&&u&&(u.type==="crud"||u.type==="form"||u.type==="page"||u.type==="service"||u.type==="chart"||u.type==="wizard")&&c.push({type:u.type,name:l,editorId:u.$$id}),l}),i.targetNames=lI(c)},traceableSetSchema:function(c,l){var s=i.schemaHistory.findIndex(function(u){return u.versionId===i.versionId});~s&&i.schemaHistory.splice(s+1,i.schemaHistory.length-s-1),l&&i.schemaHistory.pop(),i.schemaHistory.push({versionId:i.versionId=n++,schema:c}),i.schema=c,d()},undo:function(){var c=i.schemaHistory.findIndex(function(s){return s.versionId===i.versionId});if(c>0){var l=i.schemaHistory[c-1];i.versionId=l.versionId,i.schema=l.schema,d(),this.autoSelectRoot()}},redo:function(){var c=i.schemaHistory.findIndex(function(s){return s.versionId===i.versionId});if(c1&&(ca==null?void 0:ca[ca.length-1])==="actions"&&nt.kind==="N"&&(!((me=nt.rhs)===null||me===void 0)&&me.__selectDialog)){var Ad=Pf(Ie,Le,Oe,(Ne=nt.rhs)===null||Ne===void 0?void 0:Ne.__selectDialog),tn=Ad.newSchema,Ga=Ad.dialogRefsName;return Re=Hr(tn,(_e=nt.rhs)===null||_e===void 0?void 0:_e.__selectDialog,Ga),!((Te=nt.rhs)===null||Te===void 0)&&Te.__relatedDialogId&&(Re=Hr(Re,(ce=nt.rhs)===null||ce===void 0?void 0:ce.__relatedDialogId,Ga)),Re}if(Vi==="N"&&(ca==null?void 0:ca.length)>1&&(ca==null?void 0:ca[ca.length-1])==="__selectDialog"){var bi=Pf(Ie,Le,Oe,Un);tn=bi.newSchema,na=Ga=bi.dialogRefsName,Re=Hr(tn,Un,Ga)}else{if(Vi==="N"&&(ca==null?void 0:ca.length)>1&&(ca==null?void 0:ca[ca.length-1])==="__relatedDialogId")return Re=Hr(Re,Un,na);if(Vi==="E"&&(ca==null?void 0:ca.length)>1&&(ca==null?void 0:ca[ca.length-1])==="__selectDialog"){var $i=Pf(Ie,Le,Oe,Un);tn=$i.newSchema,na=Ga=$i.dialogRefsName,Re=Hr(tn,Un,Ga)}else if(Vi==="E"&&(ca==null?void 0:ca.length)>1&&(ca==null?void 0:ca[ca.length-1])==="__relatedDialogId")return Re=Hr(Re,Un,na)}}}catch(Or){pe={error:Or}}finally{try{Ma&&!Ma.done&&(se=fa.return)&&se.call(fa)}finally{if(pe)throw pe.error}}return Re}return null}(w,M),z&&(V=Va(L,z),B.definitionOnchangeValue(z,V)),B.activeDialogPath&&((Z=(ie=B.getSchemaByPath(B.activeDialogPath.split("/").filter(function(J){return J!==""})))===null||ie===void 0?void 0:ie.$$id)&&B.setPreviewDialogId(Z),B.setActiveDialogPath("")),[2]}})})},data:xI([O,_,R]),node:g,manager:w,popOverContainer:h},y({},Da(s,"replaceText")))}function OA(i,n,e){for(var t=i.Renderer;t.ComposedComponent;)t=t.ComposedComponent;var r=t.prototype;if(Array.isArray(n)){var o=Xh(n,function(d){return d.renderMethod});Object.keys(o).forEach(function(d){var c;if(!r["__".concat(d)]&&r[d]){var l,s,u=o[d],h=(c=u[0])===null||c===void 0?void 0:c.renderMethodOverride;r["__".concat(d)]=r[d],r[d]=(l=r["__".concat(d)],s=(h==null?void 0:h(u.concat(),tl))||function(){for(var p=[],g=0;gx&&(!this.exchangeY||u<0||s<0)?(this.exchangeX=n.clientX,this.exchangeY=n.clientY,this.dropBeforeId=(t=l[g])===null||t===void 0?void 0:t.$$id,w!==x-1&&(Qi.capture(d),d.insertBefore(e,p),Qi.animateAll())):~w&&w0||s>0)&&(this.exchangeX=n.clientX,this.exchangeY=n.clientY,l[g+1]?this.dropBeforeId=(r=l[g+1])===null||r===void 0?void 0:r.$$id:delete this.dropBeforeId,w!==x+1&&(Qi.capture(d),d.insertBefore(e,p.nextSibling),Qi.animateAll()))}e.parentNode!==d&&(delete this.dropBeforeId,Qi.capture(d),d.appendChild(e),Qi.animateAll())},i.prototype.getDropBeforeId=function(){return this.dropBeforeId},i.prototype.getTarget=function(n){for(var e,t,r=n.target.closest("[data-editor-id]");r;){if(((e=r.parentElement)===null||e===void 0?void 0:e.closest("[data-region]"))===this.dndContainer)return r.getAttribute("data-renderer")==="grid"?r.parentElement:r;r=((t=r.parentElement)===null||t===void 0?void 0:t.closest("[data-editor-id]"))||null}return null},i.prototype.getChild=function(n,e){for(var t=e;t&&t.parentElement!==n;)t=t.parentElement;return t},i.prototype.dispose=function(){delete this.dropBeforeId},i}(),NA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.enter=function(e,t){t.innerHTML="",t.classList.add("use-position"),t.classList.add("is-horizontal");var r=this.dnd.dragElement,o=this.dndContainer.getBoundingClientRect(),d=Array.isArray(this.region.schema)?this.region.schema:[];if(r&&r.closest("[data-region]")===this.dndContainer){var c=r.getAttribute("data-editor-id"),l=Dt(d,function(u){return u.$$id===c});if(~l&&d[l+1]&&(this.dropBeforeId=d[l+1].$$id),r.nextElementSibling){var s=r.nextElementSibling.getBoundingClientRect();t.style.cssText+="top: 0; left: ".concat(s.x-o.x,"px;")}else t.style.cssText+="top: 0; left: 100%;"}else t.style.cssText+="top: 0; left: -999999%;";this.dndContainer.appendChild(t)},n.prototype.leave=function(e,t){t.classList.remove("use-position"),t.classList.remove("is-horizontal")},n.prototype.over=function(e,t){var r,o,d=this.getTarget(e);if(d){if(((r=this.dndContainer)===null||r===void 0?void 0:r.getAttribute("data-renderer"))==="table"){var c=(o=d.parentElement)===null||o===void 0?void 0:o.closest("th[data-editor-id], td[data-editor-id]");c&&this.dndContainer.contains(c)&&(d=c)}var l=this.dndContainer.getBoundingClientRect();!Array.isArray(this.region.schema)||this.region.schema;var s=d.getBoundingClientRect();d.nextElementSibling&&d.nextElementSibling.hasAttribute("data-editor-id")?(t.style.cssText+="left: ".concat(s.x-l.x,"px;"),this.dropBeforeId=d.getAttribute("data-editor-id")):e.clientX>s.x+s.width/2?(t.style.cssText+="top: 0; left: ".concat(s.right-l.x,"px;"),delete this.dropBeforeId):(t.style.cssText+="left: ".concat(s.x-l.x,"px;"),this.dropBeforeId=d.getAttribute("data-editor-id"))}},n}(Yv),h4=It(function(i){ea.warning(i)},500),kA=function(){function i(n,e){this.manager=n,this.store=e,this.toDispose=[],this.dragEnterCount=0,this.lastX=0,this.lastY=0,this.lastMoveAt=0,this.startX=0,this.startY=0,this.toDispose.push(Qr(function(){return e.dragType==="schema"?e.dragId:""},this.updateDragElements),Qr(function(){return{id:e.dropId,region:e.dropRegion}},this.updateDropRegion),Qr(function(){return{id:e.planDropId,region:e.planDropRegion}},this.updatePlanDropRegion)),this.dragGhost=document.createElement("div"),this.dragGhost.classList.add("ae-DragGhost"),this.dragGhost.classList.add("is-ghost")}return i.prototype.createDragImage=function(n,e){var t=document.createElement("div");return t.classList.add("ae-DragImage"),t.innerHTML="".concat((e==null?void 0:e.label)||n,""),document.body.appendChild(t),this.dragImage=t,t},i.prototype.disposeDragImage=function(){var n,e=this.dragImage;(n=e==null?void 0:e.parentElement)===null||n===void 0||n.removeChild(e),delete this.dragImage},i.prototype.switchToRegion=function(n,e,t){var r,o,d,c,l,s=this.store;if(!e||!t||s.dropId===e&&s.dropRegion===t)return!1;var u=s.getNodeById(e,t),h=u.regionInfo,p=s.dragSchema;if(((r=h==null?void 0:h.accept)===null||r===void 0?void 0:r.call(h,p))===!1||!((o=u.host)===null||o===void 0)&&o.memberImmutable(t))return!1;var g={mode:s.dragMode,sourceType:s.dragType,sourceId:s.dragId,data:s.dragSchema,targetId:e,targetRegion:t};return!this.manager.trigger("dnd-accept",g).prevented&&((d=this.dndMode)===null||d===void 0||d.leave(n,this.dragGhost),(c=this.dndMode)===null||c===void 0||c.dispose(),s.setDropId(e,t),this.makeDNDModeInstance(u),(l=this.dndMode)===null||l===void 0||l.enter(n,this.dragGhost),!0)},i.prototype.makeDNDModeInstance=function(n){var e;if(!n||!Bt(n))return this.dndMode||null;var t=(e=n.regionInfo)===null||e===void 0?void 0:e.dndMode,r=Yv;return t==="position-h"&&(r=NA),this.dndMode=new r(this,n),this.dndMode},i.prototype.startDrag=function(n,e){var t,r=this,o=this.store.getNodeById(n),d=this.store.getDoc().querySelector('[data-editor-id="'.concat(n,'"]'));if(o&&d){if((t=e.target)===null||t===void 0||t.addEventListener("dragend",this.dragEnd),this.lastX=e.clientX,this.lastY=e.clientY,this.manager.draggableContainer(o.id))return this.curDragId=n,this.startX=e.clientX,void(this.startY=e.clientY);this.dragElement=d,e.dataTransfer.effectAllowed="move",e.dataTransfer.setDragImage(this.createDragImage(n,o),0,0),e.dataTransfer.setData("dnd/ae-node-".concat(n).toLowerCase(),""),setTimeout(function(){r.store.setDragId(n);var c=o.parent;r.switchToRegion(e,c.id,c.region)},4)}else e.preventDefault()},i.prototype.dragEnter=function(n){var e,t=this.store;this.dragEnterCount++;var r=t.activeId;if(r)if(o=t.getNodeById(r)){if(!t.dragId&&this.dragEnterCount===1){var o,d=n.dataTransfer.types;if(d.length>0)for(var c=function(h){if(/^dnd-dom\/(.*)$/.test(d[h])){var p=RegExp.$1,g=document.querySelector(p);if(g){g.addEventListener("dragend",l.dragEnd);var w=g.getAttribute("data-dnd-id"),x=g.getAttribute("data-dnd-type"),O=g.getAttribute("data-dnd-data"),I=O?JSON.parse(O):{type:"tpl",tpl:"Unknown"};t.setDragId(w,"copy",x,I);var S=t.activeContainerId;if(S){var N=t.getNodeById(S);if(N!=null&&N.childRegions.length){var P=0;N.childRegions.forEach(function(R,_){R.region&&(P=_)}),l.switchToRegion(n,N.id,N.childRegions[P].region)}}return"break"}}},l=this,s=d.length-1;s>=0&&c(s)!=="break";s--);if(this.curDragId&&this.manager.draggableContainer(this.curDragId)&&(o=t.getNodeById(r))){var u=o.parentId?t.getNodeById(o.parentId):void 0;!((e=u==null?void 0:u.schema)===null||e===void 0)&&e.isFreeContainer&&t.setDropId(o.parentId,"body")}}}else h4(a("0e24e1bbc19612a350f81296d9fb7802"));else h4(a("0e24e1bbc19612a350f81296d9fb7802"))},i.prototype.dragOver=function(n){var e,t=this.store,r=n.target;n.preventDefault();var o=n.clientX-this.lastX,d=n.clientY-this.lastY,c=Math.max(Math.abs(o),Math.abs(d)),l=Date.now(),s=r.closest("[data-region][data-region-host]"),u=s==null?void 0:s.getAttribute("data-region-host"),h=s==null?void 0:s.getAttribute("data-region");if(c>0&&this.curDragId&&this.manager.draggableContainer(this.curDragId)){var p=t.getDoc(),g=parent==null?void 0:parent.window.document,w=p.querySelector("[data-hlbox-id='".concat(this.curDragId,"']"));if(t.isMobile&&!w&&g&&(w=g.querySelector("[data-hlbox-id='".concat(this.curDragId,"']"))),w){var x=(w.style.inset||"auto").split(" "),O={top:w.style.top||x[0]||"auto",right:w.style.right||x[1]||"auto",bottom:w.style.bottom||x[2]||x[0]||"auto",left:w.style.left||x[3]||x[1]||"auto"};w.style.inset="".concat(O.top!=="auto"?Zt(O.top,d):"auto"," ").concat(O.right!=="auto"?Zt(O.right,-o):"auto"," ").concat(O.bottom!=="auto"?Zt(O.bottom,-d):"auto"," ").concat(O.left!=="auto"?Zt(O.left,o):"auto")}var I=p.querySelector("[data-editor-id='".concat(this.curDragId,"']"));if(I){var S=(I.style.inset||"auto").split(" "),N={top:S[0]||"auto",right:S[1]||"auto",bottom:S[2]||S[0]||"auto",left:S[3]||S[1]||"auto"};I.style.inset="".concat(N.top!=="auto"?Zt(N.top,d):"auto"," ").concat(N.right!=="auto"?Zt(N.right,-o):"auto"," ").concat(N.bottom!=="auto"?Zt(N.bottom,-d):"auto"," ").concat(N.left!=="auto"?Zt(N.left,o):"auto")}return this.lastX=n.clientX,void(this.lastY=n.clientY)}if(t.dropId&&r)if(c<5){if(!s||u===t.dropId)return;l-this.lastMoveAt>200&&h&&u&&this.switchToRegion(n,u,h)}else t.setPlanDropId("",""),this.lastMoveAt=l,this.lastX=n.clientX,this.lastY=n.clientY,t.dropId===u&&h&&h!==t.dropRegion&&this.switchToRegion(n,t.dropId,h),(e=this.dndMode)===null||e===void 0||e.over(n,this.dragGhost)},i.prototype.drop=function(n){var e;return ve(this,void 0,void 0,function(){var t,r,o,d,c,l,s,u;return he(this,function(h){switch(h.label){case 0:return t=this.store,this.curDragId&&this.manager.draggableContainer(this.curDragId)?(r=n.clientX-this.startX,o=n.clientY-this.startY,this.manager.updateContainerStyleByDrag(this.curDragId,r,o),this.curDragId="",this.store.setDropId(""),[2]):t.dropId?(d=(e=this.dndMode)===null||e===void 0?void 0:e.getDropBeforeId(),t.dragMode!=="move"?[3,1]:(this.manager.move(t.dropId,t.dropRegion,t.dragId,d),[3,4])):[2];case 1:return t.dragMode!=="copy"?[3,4]:(c=t.dragSchema,l=t.dropId,s=t.dropRegion,u=void 0,t.dragType!=="subrenderer"?[3,3]:(u=Wa(t.subRenderers,function(p){return p.id===t.dragId}))!=null&&u.scaffoldForm?[4,this.manager.scaffold(u.scaffoldForm,c)]:[3,3]);case 2:c=h.sent(),h.label=3;case 3:this.manager.addChild(l,s,c,d,u,{id:t.dragId,type:t.dragType,data:t.dragSchema}),h.label=4;case 4:return[2]}})})},i.prototype.dragLeave=function(n){this.dragEnterCount--},i.prototype.dragEnd=function(n){var e,t;(e=n.target)===null||e===void 0||e.removeEventListener("dragend",this.dragEnd),(t=this.dndMode)===null||t===void 0||t.leave(n,this.dragGhost),delete this.dndMode,this.dragGhost.innerHTML="",this.store.setDragId(""),this.store.setDropId(""),this.disposeDragImage(),this.dragEnterCount=0},i.prototype.updateDragElements=function(n){n&&this.manager.draggableContainer(n)||(n?[].slice.call(this.store.getDoc().querySelectorAll('[data-editor-id="'.concat(n,'"]'))).forEach(function(e){return e.classList.add("ae-is-draging")}):[].slice.call(this.store.getDoc().querySelectorAll(".ae-is-draging")).forEach(function(e){return e.classList.remove("ae-is-draging")}))},i.prototype.updateDropRegion=function(n,e){var t,r;this.store.dragId&&this.manager.draggableContainer(this.store.dragId)||(e!=null&&e.id&&e.region&&((t=this.store.getDoc().querySelector('[data-region="'.concat(e.region,'"][data-region-host="').concat(e.id,'"]')))===null||t===void 0||t.classList.remove("is-dragenter")),n.id&&n.region&&((r=this.store.getDoc().querySelector('[data-region="'.concat(n.region,'"][data-region-host="').concat(n.id,'"]')))===null||r===void 0||r.classList.add("is-dragenter")))},i.prototype.updatePlanDropRegion=function(n,e){var t,r;this.store.dragId&&this.manager.draggableContainer(this.store.dragId)||(e!=null&&e.id&&e.region&&((t=this.store.getDoc().querySelector('[data-region="'.concat(e.region,'"][data-region-host="').concat(e.id,'"]')))===null||t===void 0||t.classList.remove("is-entering")),n.id&&n.region&&((r=this.store.getDoc().querySelector('[data-region="'.concat(n.region,'"][data-region-host="').concat(n.id,'"]')))===null||r===void 0||r.classList.add("is-entering")))},i.prototype.dispose=function(){this.disposeDragImage(),this.toDispose.forEach(function(n){return n()}),this.toDispose=[]},j([X,E("design:type",Function),E("design:paramtypes",[DragEvent]),E("design:returntype",void 0)],i.prototype,"dragEnter",null),j([X,E("design:type",Function),E("design:paramtypes",[DragEvent]),E("design:returntype",void 0)],i.prototype,"dragOver",null),j([X,E("design:type",Function),E("design:paramtypes",[DragEvent]),E("design:returntype",Promise)],i.prototype,"drop",null),j([X,E("design:type",Function),E("design:paramtypes",[DragEvent]),E("design:returntype",void 0)],i.prototype,"dragLeave",null),j([X,E("design:type",Function),E("design:paramtypes",[DragEvent]),E("design:returntype",void 0)],i.prototype,"dragEnd",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],i.prototype,"updateDragElements",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,Object]),E("design:returntype",void 0)],i.prototype,"updateDropRegion",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,Object]),E("design:returntype",void 0)],i.prototype,"updatePlanDropRegion",null),i}(),_A=function(){function i(n,e,t){this.variables=Array.isArray(e)?wl(Me(e),[function(r){var o;return(o=r.order)!==null&&o!==void 0?o:1}]):[],this.dataSchema=n instanceof pd?n:new pd([]),this.options=pt(t,["beforeScopeInsert","afterScopeInsert","onContextSchemaChange","onContextOptionChange"]),this.init()}return i.prototype.init=function(){var n,e=this,t=this.variables,r=this.dataSchema,o=(n=this.options)!==null&&n!==void 0?n:{},d=o.beforeScopeInsert,c=o.afterScopeInsert;t.forEach(function(l){var s,u=l.parentId,h=l.name,p=l.title,g=l.schema;r.hasScope(u)&&(r.switchTo(u),r.hasScope(h)&&r.removeScope(h),d&&typeof d=="function"&&(g=d(e,g)),r.addScope({type:"object",$id:h,properties:(s={},s[h]=y(y({},g),{title:p}),s)},h),r.switchTo(h),c&&typeof c=="function"&&c(e))}),r.switchToRoot()},i.prototype.getVariableContextSchema=function(){var n,e,t=this,r=[],o=((n=this.options)!==null&&n!==void 0?n:{}).onContextSchemaChange;return this.variables&&((e=this.variables)===null||e===void 0?void 0:e.length)>0&&(r=this.variables.map(function(d){if(t.dataSchema.hasScope(d.name)){var c=t.dataSchema.getScope(d.name);return c.schemas.length>0?c.schemas[0]:null}return null}).filter(function(d){return d!==null})),o&&typeof o=="function"&&(r=o(this,r)),r},i.prototype.getVariableFormulaOptions=function(n){var e,t,r=this;n===void 0&&(n=!1);var o=((e=this.options)!==null&&e!==void 0?e:{}).onContextOptionChange,d=[];return this.variables&&((t=this.variables)===null||t===void 0?void 0:t.length)>0&&this.variables.forEach(function(c){if(r.dataSchema.hasScope(c.name)){var l=r.dataSchema.getScope(c.name),s=sb(l.getDataPropsAsOptions(),function(u){var h;return y(y({},u),{tag:(h=OI[u.type])!==null&&h!==void 0?h:u.type})});l.tag?d.push({label:l.tag,children:s}):d.push.apply(d,K([],U(s),!1))}}),o&&typeof o=="function"&&(d=o(this,d,"formula")),db(d,function(c){c.type==="array"&&delete c.children}),n?d:U_(d)},i.prototype.getVariableOptions=function(){var n,e,t,r,o=((n=this.options)!==null&&n!==void 0?n:{}).onContextOptionChange,d=(r=(t=(e=this.getVariableFormulaOptions(!1))===null||e===void 0?void 0:e[0])===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[];return d=sb(d,function(c,l,s,u){return y(y({},c),{valueExpression:typeof c.value!="string"||c.value.startsWith("${")?c.value:"${".concat(c.value,"}")})}),o&&typeof o=="function"&&(d=o(this,d,"normal")),d},i.prototype.getPageVariablesOptions=function(){var n,e=[],t=(n=this.dataSchema)===null||n===void 0?void 0:n.root;return t&&(e=t.getDataPropsAsOptions().filter(function(r){return["__query","__page"].includes(r.value)})),db(e,function(r){r.type==="array"&&delete r.children}),e},i.prototype.getNameByPath=function(n,e,t){var r,o;if(e===void 0&&(e="value"),t===void 0&&(t="label"),!n||typeof n!="string")return"";var d=K(K([],U(this.getVariableOptions()),!1),U(this.getPageVariablesOptions()),!1),c=Qt(d,function(l){return l[e??"value"]===n});return c&&(o=(r=c[t??"label"])!==null&&r!==void 0?r:c[e??"value"])!==null&&o!==void 0?o:""},i}(),Xt=[];function AA(){window.AMISEditorCustomPlugins&&Object.keys(window.AMISEditorCustomPlugins).forEach(function(i){var n=window.AMISEditorCustomPlugins[i];n&&le(n)})}function le(i){var n=Array.from(new Set(["global"].concat(i.scene||"global")));i.scene=n;var e=null;if(~(e=i.prototype&&i.prototype.isNpmCustomWidget?Xt.findIndex(function(o){return Array.isArray(o)?o[0].prototype.name===i.prototype.name:o.prototype.name===i.prototype.name}):Xt.findIndex(function(o){return o===i}))||(i.id=i.id||i.name||oi()),i.priority!=null&&Number.isInteger(i.priority))if(~(e=~e?e:Xt.findIndex(function(o){return!Array.isArray(o)&&o.id===i.id&&(o==null?void 0:o.prototype)instanceof ue}))){var t=Xt[e],r=t.priority&&Number.isInteger(t.priority)?t.priority:0;i.priority>r?Xt.splice(e,1,i):console.warn("注册插件「".concat(i.id,"」异常,已存在同名插件:"),i)}else Xt.push(i);else~e?console.warn("注册插件「".concat(i.id,"」异常,已存在同名插件:"),i):Xt.push(i)}var PA=function(){function i(n,e){var t=this;this.config=n,this.store=e,this.toDispose=[],this.id=oi(),this.disableHover=!1,this.broadcasts=[],this.pluginEvents={},this.pluginActions={},this.listeners=[],this.lazyPatchSchema=It(this.patchSchema.bind(this),250,{leading:!1,trailing:!0}),this.patching=!1,this.patchingInvalid=!1,this.env=y(y(y({},IA),Da(n.amisEnv,"replaceText")),{theme:n.theme}),this.env.beforeDispatchEvent=this.beforeDispatchEvent.bind(this,this.env.beforeDispatchEvent),this.hackIn=OA,AA(),((n==null?void 0:n.plugins)||[]).forEach(function(r){if(!Array.isArray(r)&&r.priority&&Number.isInteger(r.priority)){var o=Xt.findIndex(function(l){return!Array.isArray(l)&&!Array.isArray(r)&&l.id===r.id&&(l==null?void 0:l.prototype)instanceof ue});if(~o){var d=Xt[o],c=d.priority&&Number.isInteger(d.priority)?d.priority:0;r.priority>c&&Xt.splice(o,1)}}}),this.plugins=(n.disableBultinPlugin?[]:Xt).concat(this.normalizeScene(n==null?void 0:n.plugins)).filter(function(r){return r=Array.isArray(r)?r[0]:r,!n.disablePluginList||(typeof n.disablePluginList=="function"?!n.disablePluginList(r.id||"",r):!n.disablePluginList.includes(r.id||"unkown"))}).map(function(r){var o,d={};Array.isArray(r)&&(d=typeof r[1]=="function"?r[1]():r[1],r=r[0]);var c=new r(t,d);return c.order=(o=c.order)!==null&&o!==void 0?o:0,c.rendererName&&(t.pluginEvents[c.rendererName]=c.events||[],t.pluginActions[c.rendererName]=c.actions||[]),c}).sort(function(r,o){return r.order-o.order}),this.hackRenderers(),this.dnd=new kA(this,e),this.dataSchema=new pd(n.schemas||[]),this.variableManager=new _A(this.dataSchema,n==null?void 0:n.variables,n==null?void 0:n.variableOptions),this.toDispose.push(Qr(function(){return e.activeId},function(r,o){return ve(t,void 0,void 0,function(){return he(this,function(d){switch(d.label){case 0:return this.store.insertId&&this.store.closeInsertPanel(),this.buildJSONSchemaUri(),this.buildToolbars(),[4,this.buildRenderers()];case 1:return d.sent(),this.buildPanels(),cA('[data-node-id="'.concat(r,'"]')),this.trigger("active",r?y(y({},this.buildEventContext(r)),{active:!0}):{id:o,active:!1}),[2]}})})}),Lt(function(){return e.selections.join(",")},function(){t.buildPanels()}),Lt(function(){return e.needPatch},function(r){r&&t.lazyPatchSchema()}),Qr(function(){return{id:e.hoverId,region:e.hoverRegion}},function(r,o){var d,c,l=e.getDoc();r.id&&r.region?(d=l.querySelector('[data-region="'.concat(r.region,'"][data-region-host="').concat(r.id,'"]')))===null||d===void 0||d.classList.add("is-region-active"):o!=null&&o.id&&(o!=null&&o.region)&&((c=l.querySelector('[data-region="'.concat(o.region,'"][data-region-host="').concat(o.id,'"]')))===null||c===void 0||c.classList.remove("is-region-active"))}))}return i.prototype.normalizeScene=function(n){return(n==null?void 0:n.map(function(e){var t;Array.isArray(e)&&(t=e[1],e=e[0]);var r=Array.from(new Set(["global"].concat(e.scene||"global")));return e.scene=r,t?[e,t]:e}))||[]},i.prototype.dynamicAddPlugin=function(n){var e;if(n)if(this.plugins.some(function(o){return o&&o.name===n}))console.warn("[amis-editor]当前已有".concat(n,"插件"));else{var t=Xt.find(function(o){return o.prototype&&o.prototype.name===n});if(!t&&window.AMISEditorCustomPlugins&&(t=window.AMISEditorCustomPlugins[n]),t){var r=new t(this);r.order=(e=r.order)!==null&&e!==void 0?e:0,this.plugins.push(r),this.plugins.sort(function(o,d){return o.order-d.order}),r.rendererName&&(this.pluginEvents[r.rendererName]=r.events||[],this.pluginActions[r.rendererName]=r.actions||[]),this.buildRenderers()}}},i.prototype.buildRenderersAndPanels=function(){var n=this;setTimeout(function(){return ve(n,void 0,void 0,function(){var e,t;return he(this,function(r){switch(r.label){case 0:return(e=this.store).activeId||!(!((t=e==null?void 0:e.schema)===null||t===void 0)&&t.$$id)?[3,2]:[4,this.buildRenderers()];case 1:r.sent(),this.buildPanels(e.schema.$$id),r.label=2;case 2:return[2]}})})},200)},i.prototype.buildEventContext=function(n){var e=typeof n=="string"?this.store.getNodeById(n):n,t=this.store.getSchema(e.id);return{node:e,id:e.id,info:e.info,path:e.path,schemaPath:e.schemaPath,schema:t,data:""}},i.prototype.buildJSONSchemaUri=function(){var n=this.store.activeId,e="";if(n){var t=this.buildEventContext(n),r=this.trigger("before-resolve-json-schema",t);if(e=r.context.data,!r.prevented){this.plugins.forEach(function(d){var c;if(!e){var l=(c=d.buildJSONSchema)===null||c===void 0?void 0:c.call(d,t);l&&(e=l)}}),t.data=e;var o=this.trigger("after-resolve-json-schema",t);e=o.data}}this.store.setJSONSchemaUri(e)},i.prototype.buildToolbars=function(){var n=this.store.activeId,e=[];if(n){var t=this.buildEventContext(n);this.plugins.forEach(function(r){var o,d=y({},t);(o=r.buildEditorToolbar)===null||o===void 0||o.call(r,d,e)}),this.trigger("build-toolbars",y(y({},t),{data:e}))}this.store.setActiveToolbars(e.map(function(r){return y(y({},r),{order:r.order||0,id:oi()})}))},i.prototype.collectPanels=function(n,e,t){var r=this;e===void 0&&(e=!1),t===void 0&&(t=!1);var o=[];if(n){var d=y(y({},this.buildEventContext(n)),{secondFactor:t,data:o,selections:this.store.selections.map(function(c){return r.buildEventContext(c)})});this.plugins.forEach(function(c){var l;(l=c.buildEditorPanel)===null||l===void 0||l.call(c,d,o)}),e&&this.trigger("build-panels",d),o=d.data||o,d.changeLeftPanelKey&&this.store.changeLeftPanelKey(d.changeLeftPanelKey)}return o},i.prototype.buildPanels=function(n){var e,t,r=n||this.store.activeId,o=[];if(!r&&(!((e=this.store)===null||e===void 0)&&e.schema)&&(r=(t=this.store)===null||t===void 0?void 0:t.schema.$$id),r||this.store.selections.length){r=r||this.store.selections[0];var d=this.store.getNodeById(r);o=d?this.collectPanels(d,!0):o}this.store.setPanels(o.map(function(c){return y(y({},c),{order:c.order||0})}))},i.prototype.collectRenderers=function(n,e){var t,r,o,d;return e===void 0&&(e=this.store.activeContainerId),ve(this,void 0,void 0,function(){var c,l,s,u,h,p,g,w,x,O,I,S,N;return he(this,function(P){switch(P.label){case 0:if(c=[],!(l=e)&&(!((t=this.store)===null||t===void 0)&&t.schema)&&(l=(r=this.store)===null||r===void 0?void 0:r.schema.$$id),!l)return[2,c];if(!(s=this.store.getNodeById(l)))return[2,c];u=this.store.getSchema(l),h={node:s,id:s.id,info:s.info,path:s.path,schemaPath:s.schemaPath,schema:u,region:n},p=[],g=function(R,_){var F,k;return he(this,function(M){switch(M.label){case 0:return F=w.plugins[R],[4,(o=F.buildSubRenderers)===null||o===void 0?void 0:o.call(F,h,c,lf())];case 1:return(k=M.sent())&&(Array.isArray(k)?k:[k]).forEach(function(B){return c.push(y(y({},B),{id:oi(),plugin:F,parent:s.info,order:B.order||0}))}),F.asyncUpdateCustomSubRenderersInfo&&p.push(F),[2]}})},w=this,x=0,O=this.plugins.length,P.label=1;case 1:return x1))return[3,11];se.label=4;case 4:se.trys.push([4,9,10,11]),F=qa(N),k=F.next(),se.label=5;case 5:return k.done?[3,8]:(M=k.value,B=U(M.id.split("-"),2),L=B[0],z=B[1],V=this.store.getNodeById(L,z),[4,(h=(u=(s=V==null?void 0:V.info)===null||s===void 0?void 0:s.plugin)===null||u===void 0?void 0:u.buildDataSchemas)===null||h===void 0?void 0:h.call(u,V,x,O)]);case 6:(Z=se.sent())&&(M.removeSchema(Z.$id),M.addSchema(Z)),se.label=7;case 7:return k=F.next(),[3,5];case 8:return[3,11];case 9:return ie=se.sent(),we={error:ie},[3,11];case 10:try{k&&!k.done&&(be=F.return)&&be.call(F)}finally{if(we)throw we.error}return[7];case 11:return ae=Object.keys(this.dataSchema.idMap).find(function(me){var Ne;return/\-currentRow$/.test(me)&&!(!((Ne=pe.dataSchema.idMap[me].children)===null||Ne===void 0)&&Ne.length)})||(S==null?void 0:S.id),ae&&this.dataSchema.switchTo(ae),p.info.isListComponent&&(J=N[N.length-1],this.dataSchema.switchTo(J.parent)),[2,e?this.dataSchema.current.schemas:this.dataSchema.getSchemas()]}})})},i.prototype.getAvailableContextFields=function(n){var e,t,r,o,d,c,l,s;return ve(this,void 0,void 0,function(){var u,h,p,g,w,x;return he(this,function(O){if(!n)return[2];for(u=void 0,h=n;!u&&h&&((u=this.dataSchema.hasScope("".concat(h.id,"-").concat(h.type))?this.dataSchema.getScope("".concat(h.id,"-").concat(h.type)):void 0)||!["combo","input-table"].includes((e=h==null?void 0:h.info)===null||e===void 0?void 0:e.type));)(h=h.parent)==null||h.isRegion;if(!u)return!h&&this.store.isSubEditor?[2,(r=(t=this.config)===null||t===void 0?void 0:t.getAvaiableContextFields)===null||r===void 0?void 0:r.call(t,n)]:[2,(d=h==null?void 0:(o=h.info.plugin).getAvailableContextFields)===null||d===void 0?void 0:d.call(o,h,n)];for(;u;){if(p=U(u.id.split("-"),2),g=p[0],w=p[1],(x=this.store.getNodeById(g,w))&&!(!((c=x.info)===null||c===void 0)&&c.isListComponent))return[2,(s=x==null?void 0:(l=x.info.plugin).getAvailableContextFields)===null||s===void 0?void 0:s.call(l,x,n)];u=u.parent}return[2]})})},i.prototype.beforeDispatchEvent=function(n,e,t,r,o,d){var c,l,s,u;n==null||n(e,t,r,o,d);var h=t.props.$$id||((c=t.props.$$editor)===null||c===void 0?void 0:c.id);if(h){var p=this.store.getNodeById(h,t.props.type);(u=(s=(l=p==null?void 0:p.info)===null||l===void 0?void 0:l.plugin)===null||s===void 0?void 0:s.rendererBeforeDispatchEvent)===null||u===void 0||u.call(s,p,e,la(o))}},i.prototype.dispose=function(){this.trigger("dispose",{data:this}),this.toDispose.forEach(function(n){return n()}),this.toDispose=[],this.plugins.forEach(function(n){var e;return(e=n.dispose)===null||e===void 0?void 0:e.call(n)}),this.plugins.splice(0,this.plugins.length),this.listeners.splice(0,this.listeners.length),this.broadcasts.splice(0,this.broadcasts.length),this.lazyPatchSchema.cancel(),this.dnd.dispose()},j([X,E("design:type",Function),E("design:paramtypes",[Object,Object]),E("design:returntype",void 0)],i.prototype,"panelChangeValue",null),i}(),Jv=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.afterResolveEditorInfo=function(e){var t,r,o,d,c,l,s=this.props.store,u=e.context;if(!((t=s.subEditorContext)===null||t===void 0)&&t.slot){var h=s.subEditorSlotPath;!~u.schemaPath.indexOf(h)&&u.data?(u.data.editable=!1,u.data.memberImmutable=!Array.isArray((d=s.subEditorContext)===null||d===void 0?void 0:d.value),u.data.memberImmutable||(u.data.name=a("22c799040acdb2601b437ed5449de076"))):u.schemaPath===h&&u.data&&(Array.isArray((c=s.subEditorContext)===null||c===void 0?void 0:c.value)||(u.data.movable=!1,u.data.removable=!1),u.data.typeMutable=(l=s.subEditorContext)===null||l===void 0?void 0:l.typeMutable)}else u.data&&!u.schemaPath&&(!((r=s.subEditorContext)===null||r===void 0)&&r.memberImmutable)&&(u.data.memberImmutable=(o=s.subEditorContext)===null||o===void 0?void 0:o.memberImmutable)},n.prototype.handleBuildPanels=function(e){var t,r;if(!((r=this.props.store.subEditorContext)===null||r===void 0)&&r.slot){var o=e.context;if(o.info.memberImmutable){var d=o.data.concat();o.data.splice(0,o.data.length);var c=d.filter(function(l){return l.key!=="renderers"});c&&(t=o.data).push.apply(t,K([],U(c),!1)),o.changeLeftPanelKey="outline"}}},n.prototype.buildSchema=function(){var e,t,r=this,o=this.props,d=o.store,c=o.manager,l=o.amisEnv,s=d.subEditorContext,u=c.config,h=d.superEditorData;s&&(h=Fi(d.superEditorData,s==null?void 0:s.data));var p=((e=c.config)===null||e===void 0?void 0:e.variables)||[];return{size:"full",title:(t=d.subEditorContext)===null||t===void 0?void 0:t.title,onClose:d.closeSubEditor,onConfirm:d.confirmSubEditor,body:d.subEditorContext?{type:"form",mode:"normal",wrapperComponent:"div",onValidate:function(g){return ve(r,void 0,void 0,function(){var w,x,O;return he(this,function(I){switch(I.label){case 0:return[4,(O=(x=d.subEditorContext)===null||x===void 0?void 0:x.validate)===null||O===void 0?void 0:O.call(x,g)];case 1:return(w=I.sent())?[2,{schema:w}]:[2]}})})},onChange:d.subEditorOnChange,body:[{name:"schema",asFormItem:!0,children:function(g){var w,x,O,I,S=g.value,N=g.onChange;return v.createElement(G2,{autoFocus:!0,value:S,ref:d.subEditorRef,onChange:N,data:(w=d.subEditorContext)===null||w===void 0?void 0:w.data,hostNode:(x=d.subEditorContext)===null||x===void 0?void 0:x.hostNode,superEditorData:h,schemaFilter:c.config.schemaFilter,theme:c.env.theme,afterResolveEditorInfo:r.afterResolveEditorInfo,onBuildPanels:r.handleBuildPanels,isMobile:d.isMobile,isSubEditor:!0,ctx:d.ctx,schemas:(O=c.config)===null||O===void 0?void 0:O.schemas,variables:p,amisEnv:l||u.amisEnv,appLocale:u.appLocale,i18nEnabled:u.i18nEnabled,plugins:u.plugins,actionOptions:u.actionOptions,showCustomRenderersPanel:(I=d.showCustomRenderersPanel)===null||I===void 0||I,isHiddenProps:u.isHiddenProps,$schemaUrl:u.$schemaUrl,onFormulaEditorOpen:function(P,R,_){return ve(r,void 0,void 0,function(){var F,k;return he(this,function(M){return(F=(k=c==null?void 0:c.config)===null||k===void 0?void 0:k.onFormulaEditorOpen)&&typeof F=="function"?[2,F(P,R,_,{node:s==null?void 0:s.hostNode,manager:c})]:[2]})})},getHostNodeDataSchema:function(){return ve(r,void 0,void 0,function(){return he(this,function(P){switch(P.label){case 0:return[4,c.getContextSchemas(c.store.activeId)];case 1:return P.sent(),[2,c.dataSchema]}})})},getAvaiableContextFields:function(P){return c.getAvailableContextFields(P)}})}}]}:{type:"tpl",tpl:"Loading..."},actions:[[{children:s?v.createElement("div",{className:"ae-DialogToolbar"},v.createElement("button",{type:"button","data-tooltip":a("bd9fcf46b4e5993f97fe04ee9ebcd7ed"),disabled:!s.canUndo,onClick:d.undoSubEditor},v.createElement("i",{className:"fa fa-undo"})),v.createElement("button",{type:"button","data-tooltip":a("c3c873d33f1c6482c79b0ffd862786cd"),disabled:!s.canRedo,onClick:d.redoSubEditor},v.createElement("i",{className:"fa fa-rotate-right"}))):null},{type:"submit",label:a("e83a256e4f5bb4ff8b3d804b5473217a"),level:"primary"},{type:"button",label:a("625fb26b4b3340f7872b411f401e754c"),actionType:"close"}]],closeOnEsc:!1,bodyClassName:"ae-dialog subEditor-dialog"}},n.prototype.render=function(){var e=this.props,t=e.store,r=e.theme,o=e.manager;return Ca(y({type:"dialog"},this.buildSchema()),{show:!!t.subEditorContext,data:{schema:t.subEditorValue}},y(y({},Da(o.env,"replaceText")),{session:"editor-dialog",theme:r}))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"afterResolveEditorInfo",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleBuildPanels",null),n=j([wa],n)}(v.Component),FA=function(i){function n(e){var t=i.call(this,e)||this;return t.breadcrumbRef=v.createRef(),t.bcnContentRef=v.createRef(),t.state={showLeftScrollBtn:!1,showRightScrollBtn:!1},t.unReaction=Lt(function(){return t.props.store.bcn},function(){t.refreshHandleScroll(!0)}),t}return q(n,i),n.prototype.componentDidMount=function(){var e=this,t=this.getCurBreadcrumb(),r=this.getBreadcrumbContainer();t&&r&&(this.unSensor=yl(r,function(){e.refreshHandleScroll()}))},n.prototype.componentWillUnmount=function(){this.unReaction(),this.unSensor&&(this.unSensor(),delete this.unSensor)},n.prototype.refreshHandleScroll=function(e){var t=this;setTimeout(function(){t.HandleScroll(e)},0)},n.prototype.getCurBreadcrumb=function(){return this.bcnContentRef.current},n.prototype.getBreadcrumbContainer=function(){return this.breadcrumbRef.current},n.prototype.getScrollLeft=function(){var e=this.getCurBreadcrumb();return e?e.style.left:"0"},n.prototype.toNumber=function(e){return e?Number.parseInt(e):0},n.prototype.HandleScroll=function(e){var t=this.getCurBreadcrumb(),r=this.getBreadcrumbContainer();if(t&&r){var o=this.toNumber(this.getScrollLeft()),d=t.offsetWidth-r.offsetWidth;e&&(t.style.left="0"),this.setState({showLeftScrollBtn:o<0,showRightScrollBtn:o>-d})}},n.prototype.handleScrollToLeft=function(){var e=this.getCurBreadcrumb();if(e){var t=this.toNumber(this.getScrollLeft());t>=-50&&t<0?(e.style.left="0",this.refreshHandleScroll()):t<-50&&(e.style.left="".concat(t+50,"px"),this.refreshHandleScroll())}},n.prototype.handleScrollToRight=function(){var e=this.getCurBreadcrumb(),t=this.getBreadcrumbContainer();if(e&&t){var r=this.toNumber(this.getScrollLeft()),o=e.offsetWidth-t.offsetWidth;e.style.left=r-50>-o?"".concat(r-50,"px"):"-".concat(o,"px"),this.refreshHandleScroll()}},n.prototype.handleClick=function(e){var t,r=e.currentTarget,o=r.getAttribute("data-node-id"),d=r.getAttribute("data-node-region"),c=this.props.store;this.props.manager;var l=c.getNodeById(o);((t=l==null?void 0:l.info)===null||t===void 0?void 0:t.editable)!==!1&&(d?c.setActiveId(o,d):c.setActiveId(o))},n.prototype.handleMouseEnter=function(e){var t=e.currentTarget,r=t.getAttribute("data-node-id"),o=t.getAttribute("data-node-region");this.props.store.setHoverId(r,o)},n.prototype.render=function(){var e=this,t=this.props.store,r=this.state,o=r.showLeftScrollBtn,d=r.showRightScrollBtn,c=t.bcn;return v.createElement("div",{className:"ae-Breadcrumb",ref:this.breadcrumbRef},o&&v.createElement("div",{className:"ae-Breadcrumb-scrollLeft-btn",onClick:this.handleScrollToLeft},v.createElement(xe,{icon:"editor-double-arrow",className:"icon"})),v.createElement("div",{className:"ae-Breadcrumb-content",ref:this.bcnContentRef},c.length?v.createElement("ul",null,c.map(function(l,s){var u,h=(u=l.parent)===null||u===void 0?void 0:u.uniqueChildren;return v.createElement("li",{key:s},v.createElement("span",{"data-node-id":l.id,"data-node-region":l.region,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter},l.label),(h==null?void 0:h.length)>1?v.createElement("ul",{className:"hoverShowScrollBar"},h.map(function(p){return v.createElement("li",{key:"".concat(p.id,"-").concat(p.region)},v.createElement("span",{"data-node-id":p.id,"data-node-region":p.region,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,className:p.id===l.id&&p.region===l.region?"is-active":""},p.label))})):null)})):null),d&&v.createElement("div",{className:"ae-Breadcrumb-scrollRight-btn",onClick:this.handleScrollToRight},v.createElement(xe,{icon:"editor-double-arrow",className:"icon"})))},j([X,E("design:type",Function),E("design:paramtypes",[Boolean]),E("design:returntype",void 0)],n.prototype,"refreshHandleScroll",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getCurBreadcrumb",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getBreadcrumbContainer",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",String)],n.prototype,"getScrollLeft",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",Number)],n.prototype,"toNumber",null),j([X,E("design:type",Function),E("design:paramtypes",[Boolean]),E("design:returntype",void 0)],n.prototype,"HandleScroll",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleScrollToLeft",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleScrollToRight",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleMouseEnter",null),n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),Zv=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleConfirm=function(e){var t,r,o,d,c=U(e,1)[0];return ve(this,void 0,void 0,function(){var l,s,u;return he(this,function(h){switch(h.label){case 0:return l=this.props.store,s=(t=l.scaffoldForm)===null||t===void 0?void 0:t.pipeOut,c=y(y({},(r=l.scaffoldForm)===null||r===void 0?void 0:r.value),c),s&&typeof s=="function"?[4,s(c)]:[3,2];case 1:u=h.sent(),c=y({},u),h.label=2;case 2:return(o=l.scaffoldForm)===null||o===void 0||o.callback(c),l.closeScaffoldForm(),!((d=l.scaffoldForm)===null||d===void 0)&&d.stepsBody&&l.setScaffoldStep(0),[2]}})})},n.prototype.buildSchema=function(){var e,t,r,o=this.props.store.scaffoldForm,d=(t=o.controls)!==null&&t!==void 0?t:o.body;return o.stepsBody&&(d=K([{type:"steps",name:"__step",className:"ae-Steps",steps:d.map(function(c,l){return{title:c.title,value:l,iconClassName:"ae-Steps-Icon"}})}],U(d.map(function(c,l){return{type:"container",visibleOn:"__step === ".concat(l),body:c.body}})),!1)),r=xa(o.mode)?o.mode:{mode:o.mode||"normal"},y(y({type:"form",wrapWithPanel:!1,initApi:o.initApi,api:o.api},r),((e={wrapperComponent:"div"})[o.controls?"controls":"body"]=d,e))},n.prototype.scopeRef=function(e){this.amisScope=e},n.prototype.goToNextStep=function(){var e,t=this.props.store,r=(e=this.amisScope)===null||e===void 0?void 0:e.getComponents()[0].props.store,o=t.scaffoldFormStep+1;r.setValueByName("__step",o),t.updateScaffoldData(r==null?void 0:r.data,!0),t.setScaffoldStep(o),t.setScaffoldStepManipulated(!0)},n.prototype.goToPrevStep=function(){var e,t=this.props.store,r=(e=this.amisScope)===null||e===void 0?void 0:e.getComponents()[0].props.store,o=t.scaffoldFormStep-1;r.setValueByName("__step",o),t.updateScaffoldData(r==null?void 0:r.data,!0),t.setScaffoldStep(o)},n.prototype.handleConfirmClick=function(){var e;return ve(this,void 0,void 0,function(){var t,r,o,d;return he(this,function(c){switch(c.label){case 0:if(!(t=(e=this.amisScope)===null||e===void 0?void 0:e.getComponents()[0]))return[2];r=this.props.store,c.label=1;case 1:return c.trys.push([1,4,,5]),r.setScaffoldBuzy(!0),[4,t.doAction({type:"submit"},t.props.data,!0)];case 2:return o=c.sent(),[4,this.handleConfirm([o])];case 3:return c.sent(),[3,5];case 4:return d=c.sent(),console.log(d.stack),r.setScaffoldError(d.message),[3,5];case 5:return r.setScaffoldBuzy(!1),r.setScaffoldStep(0),[2]}})})},n.prototype.handleCancelClick=function(){this.props.store.closeScaffoldForm(),this.props.store.setScaffoldStep(0)},n.prototype.render=function(){var e=this.props,t=e.store,r=e.theme,o=e.manager,d=t.scaffoldForm,c=uI(r||"cxd").classnames,l=!!(d!=null&&d.stepsBody),s=!!(d!=null&&d.canSkip),u=l&&t.scaffoldFormStep===d.body.length-1,h=l&&t.scaffoldFormStep===0;return v.createElement(dt,{theme:r,size:(d==null?void 0:d.size)||"md",contentClassName:d==null?void 0:d.className,show:!!d,onHide:this.handleCancelClick,className:"ae-scaffoldForm-Modal :AMISCSSWrapper",closeOnEsc:!t.scaffoldFormBuzy},v.createElement("div",{className:c("Modal-header")},t.scaffoldFormBuzy?null:v.createElement("a",{"data-position":"left",onClick:this.handleCancelClick,className:c("Modal-close")},v.createElement(xe,{icon:"close",className:"icon"})),v.createElement("div",{className:c("Modal-title")},d==null?void 0:d.title)),v.createElement("div",{className:c("Modal-body")},d?Ca(this.buildSchema(),{data:t.scaffoldData,onValidate:d.validate,scopeRef:this.scopeRef,manager:o},y(y({},o.env),{session:"scaffold-dialog",theme:r})):v.createElement("p",null,"Loading...")),v.createElement("div",{className:c("Modal-footer")},t.scaffoldFormBuzy||t.scaffoldError?v.createElement("div",{className:c("Dialog-info"),key:"info"},v.createElement(Ri,{size:"sm",key:"info",show:t.scaffoldFormBuzy}),t.scaffoldError?v.createElement("span",{className:c("Dialog-error")},t.scaffoldError):null):null,l&&s&&h&&v.createElement(ke,{onClick:this.handleConfirmClick,disabled:t.scaffoldFormBuzy},a("451d71974652fdd1840a73c980f80fe8")),l&&!h&&v.createElement(ke,{level:"primary",onClick:this.goToPrevStep,disabled:t.scaffoldFormBuzy},a("eeb6908870e058bc23d52c1e405a054e")),l&&!u&&v.createElement(ke,{level:"primary",onClick:this.goToNextStep,disabled:t.scaffoldFormBuzy},a("38ce27d84639f3a6e07c00b3b4995c0e")),(!l||u)&&v.createElement(ke,{level:"primary",onClick:this.handleConfirmClick,disabled:t.scaffoldFormBuzy},a("e83a256e4f5bb4ff8b3d804b5473217a")),v.createElement(ke,{onClick:this.handleCancelClick},a("625fb26b4b3340f7872b411f401e754c"))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",Promise)],n.prototype,"handleConfirm",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"scopeRef",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"goToNextStep",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"goToPrevStep",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",Promise)],n.prototype,"handleConfirmClick",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleCancelClick",null),n=j([wa],n)}(v.Component),MA=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.overlay=v.createRef(),e}return q(n,i),n.prototype.buildSchema=function(){var e=this,t=this.props.store.popOverForm;return{type:"form",wrapWithPanel:!1,mode:"normal",wrapperComponent:"div",body:t.body,submitOnChange:!0,autoFocus:!0,onFinished:function(r){var o;(o=t.callback)===null||o===void 0||o.call(t,r,Va(t.value,r)),setTimeout(function(){var d;return(d=e.overlay.current)===null||d===void 0?void 0:d.updatePosition()},200)}}},n.prototype.render=function(){var e=this.props,t=e.store,r=e.theme,o=e.manager,d=t.popOverForm;return v.createElement(En,{target:d==null?void 0:d.target,placement:"left-bottom-left-top left-top-left-bottom right-bottom-right-top right-top-right-bottom center",show:!!d,ref:this.overlay},v.createElement(Tn,{overlay:!0,className:"ae-Editor-popOverForm",onHide:t.closePopOverForm},d?Ca(this.buildSchema(),{data:Fi(t.ctx,d==null?void 0:d.value),node:d==null?void 0:d.node,manager:o},y(y({},o.env),{session:"popover-form",theme:r})):v.createElement("p",null,"Loading...")))},n=j([wa],n)}(v.Component),RA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.render=function(){var e=this.props.store.contextMenuPanel,t=e&&e.menus?e.menus:[];return t&&t.length>0?v.createElement("div",{className:"context-menu-setting"},v.createElement("div",{className:"setting-header"},a("7f7c624a843b0d539a4ea59a696702f9")),v.createElement("div",{className:"setting-body"},t.map(function(r){return r.label&&v.createElement("div",{key:r.label,className:"setting-item ".concat(r.disabled?"disabled":""),onClick:r.disabled?null:r.onSelect},v.createElement("div",{className:"icon-box"},v.createElement(xe,{icon:r.icon,className:"menu-icon"})),v.createElement("div",{className:"setting-info"},r.label))}))):null},n=j([wa],n)}(v.Component),BA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.getPopOverContainer=function(){return ma.findDOMNode(this)},n.prototype.render=function(){var e=this.props,t=e.store,r=e.manager,o=e.node,d=e.panelItem,c=e.theme,l=t.activeId;return v.createElement(_2,{position:"left",size:"md",theme:c,show:!!d,onHide:t.closeInsertPanel,className:"ae-InsertPanel-drawer"},d&&d.component?v.createElement(d.component,{key:d.key,id:l,info:o==null?void 0:o.info,path:o==null?void 0:o.path,value:t.value,onChange:r.panelChangeValue,store:t,manager:r,popOverContainer:this.getPopOverContainer}):null)},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getPopOverContainer",null),n=j([wa],n)}(v.Component),DA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.getPopOverContainer=function(){return ma.findDOMNode(this)},n.prototype.render=function(){var e=this.props,t=e.store,r=e.manager,o=e.node,d=e.panelItem,c=e.theme,l=t.activeId,s=t.showInsertRenderer;return v.createElement(_2,{position:"left",size:"md",theme:c,show:s,onHide:t.closeInsertRendererPanel,className:"ae-InsertRendererPanel-drawer",bodyClassName:"ae-drawer-renderers"},d.title&&v.createElement("div",{className:"ae-drawer-title"},d.title),d&&d.component?v.createElement(d.component,{key:d.key,id:l,info:o==null?void 0:o.info,path:o==null?void 0:o.path,value:t.value,onChange:r.panelChangeValue,store:t,manager:r,popOverContainer:this.getPopOverContainer}):null)},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getPopOverContainer",null),n=j([wa],n)}(v.Component),LA=function(i){function n(e){var t=i.call(this,e)||this;return t.state={isFixedStatus:!1},t}return q(n,i),n.prototype.handleHidden=function(){var e=this.props.store,t=e.changeLeftPanelOpenStatus,r=e.leftPanelOpenStatus,o=e.changeLeftPanelKey,d=!r;t(d),o(d?"outline":"none")},n.prototype.handleFixed=function(){this.setState({isFixedStatus:!this.state.isFixedStatus})},n.prototype.handleSelect=function(e){var t=this.props.store,r=t.changeLeftPanelOpenStatus,o=t.changeLeftPanelKey;e&&(r(!0),o(e))},n.prototype.getPopOverContainer=function(){return ma.findDOMNode(this)},n.prototype.render=function(){var e=this,t=this.props,r=t.store,o=t.manager,d=t.theme,c=this.state.isFixedStatus,l=r.leftPanelOpenStatus,s=r.getLeftPanels(),u=r.activeId,h=r.getNodeById(u),p=r.getLeftPanelKey(),g=r.insertId&&r.insertRegion&&Wa(s,function(x){return x.key==="insert"}),w=Wa(s,function(x){return x.key==="insertRenderer"});return v.createElement(v.Fragment,null,s.length>0&&v.createElement("div",{className:de("editor-left-panel width-draggable",l?"":"hidden-status",c?"fixed-status":"")},v.createElement("div",{className:"editor-panel-btn","editor-tooltip":a(c?"95509c09bdef4bb7842a9b957ab1f971":"426480bb614633c8c3ba8faa0338b72f"),"tooltip-position":"right"},v.createElement(xe,{icon:c?"editor-fixed":"editor-no-fixed",className:"panel-btn",onClick:this.handleFixed})),v.createElement(Cl,{className:"editorPanel-tabs",linksClassName:"editorPanel-tabs-header",contentClassName:"editorPanel-tabs-content",theme:d,activeKey:p,onSelect:this.handleSelect,tabsMode:"sidebar",sidePosition:"left"},s.map(function(x){return x.key!=="insert"&&x.key!=="insertRenderer"?v.createElement(mr,{key:x.key,eventKey:x.key,title:x.title,className:"editorPanel-tabs-pane ae-Editor-".concat(x.key,"Pane"),mountOnEnter:!0,unmountOnExit:!1},function(O){return O.render?O.render({id:u,info:h==null?void 0:h.info,path:h==null?void 0:h.path,node:h,value:r.value,onChange:o.panelChangeValue,store:r,manager:o,popOverContainer:e.getPopOverContainer}):O.component?v.createElement(O.component,{node:h,key:O.key,id:u,info:h==null?void 0:h.info,path:h==null?void 0:h.path,value:r.value,onChange:o.panelChangeValue,store:r,manager:o,popOverContainer:e.getPopOverContainer}):null}(x)):null})),v.createElement("div",{className:de("left-panel-arrow",l?"":"hidden-status"),onClick:this.handleHidden})),c&&v.createElement("div",{className:"editor-left-panel-fixed-placeholder"}),v.createElement(BA,{store:r,manager:o,node:h,panelItem:g,theme:d}),v.createElement(DA,{store:r,manager:o,node:h,panelItem:w,theme:d}))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleHidden",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleFixed",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleSelect",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getPopOverContainer",null),n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),Xv=function(i){function n(e){var t=i.call(this,e)||this;return t.handleResizeMouseDown=t.handleResizeMouseDown.bind(t),t.handleResizeMouseMove=t.handleResizeMouseMove.bind(t),t.handleResizeMouseUp=t.handleResizeMouseUp.bind(t),t}return q(n,i),n.prototype.handleResizeMouseDown=function(e){e.nativeEvent.which==3||(this.dragWrap=e.currentTarget.parentElement,document.addEventListener("mousemove",this.handleResizeMouseMove),document.addEventListener("mouseup",this.handleResizeMouseUp),this.startX=e.clientX,this.startWidth=this.dragWrap.offsetWidth,e.preventDefault())},n.prototype.handleResizeMouseMove=function(e){var t=this.props.isLeftDragIcon,r=e.clientX-this.startX;this.dragWrap.style.cssText+="width: ".concat(Math.max(t?this.startWidth-r:this.startWidth+r,260),"px")},n.prototype.handleResizeMouseUp=function(){document.removeEventListener("mousemove",this.handleResizeMouseMove),document.removeEventListener("mouseup",this.handleResizeMouseUp)},n.prototype.render=function(){var e=this.props,t=e.isLeftDragIcon,r=e.className;return v.createElement("div",{onMouseDown:this.handleResizeMouseDown,className:de("width-draggable-icon",r,t?"leftBtn":"")})},n}(v.Component),jA=function(i){function n(e){var t=i.call(this,e)||this;return t.state={isOpenStatus:!0,isFixedStatus:!1},t}return q(n,i),n.prototype.handleFixed=function(){this.setState({isFixedStatus:!this.state.isFixedStatus})},n.prototype.handleSelect=function(e){this.props.store.changePanelKey(e)},n.prototype.handleHidden=function(){this.setState({isOpenStatus:!this.state.isOpenStatus})},n.prototype.getPopOverContainer=function(){return ma.findDOMNode(this)},n.prototype.render=function(){var e=this,t=this.props,r=t.store,o=t.manager,d=t.theme,c=this.state,l=c.isOpenStatus,s=c.isFixedStatus,u=r.getPanels(),h=r.activeId,p=r.getNodeById(h),g=r.getPanelKey(),w=function(x){return x.render?x.render({id:h,info:p==null?void 0:p.info,path:p==null?void 0:p.path,node:p,value:r.value,onChange:o.panelChangeValue,store:r,manager:o,popOverContainer:e.getPopOverContainer}):x.component?v.createElement(x.component,{node:p,key:x.key,id:h,info:p==null?void 0:p.info,path:p==null?void 0:p.path,value:r.value,onChange:o.panelChangeValue,store:r,manager:o,popOverContainer:e.getPopOverContainer}):null};return u.length>0?v.createElement("div",{className:de("editor-right-panel width-draggable","AMISCSSWrapper",u.length>1?"mul-tabs-panel":"",l?"":"hidden-status",s?"fixed-status":"")},v.createElement("div",{className:"editor-panel-btn","editor-tooltip":a(s?"95509c09bdef4bb7842a9b957ab1f971":"426480bb614633c8c3ba8faa0338b72f"),"tooltip-position":"left"},v.createElement(xe,{icon:s?"editor-fixed":"editor-no-fixed",className:"panel-btn",onClick:this.handleFixed})),v.createElement("div",{className:"editorPanel-inner"},u.length===1?w(u[0]):v.createElement(Cl,{theme:d,tabsMode:"sidebar",sidePosition:"right",className:"editorPanel-tabs",linksClassName:"editorPanel-tabs-header",contentClassName:"editorPanel-tabs-content",activeKey:g,onSelect:this.handleSelect},u.map(function(x){var O=Vv(x);return v.createElement(mr,{key:x.key,eventKey:x.key,title:v.createElement("span",{className:"editor-tab-icon","editor-tooltip":x.title,"tooltip-position":"left"},O&&v.createElement(xe,{icon:x.pluginIcon,className:"pluginIcon"}),!O&&v.createElement("i",{className:"fa ".concat(x.icon)})),className:"editorPanel-tabs-pane ae-Editor-".concat(x.key,"Pane"),mountOnEnter:!0,unmountOnExit:!1},w(x))}))),v.createElement(Xv,{isLeftDragIcon:!0}),v.createElement("div",{className:de("right-panel-arrow",l?"":"hidden-status"),onClick:this.handleHidden})):null},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleFixed",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleSelect",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleHidden",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getPopOverContainer",null),n=j([wa,E("design:paramtypes",[Object])],n)}(v.Component),G2=function(i){function n(e){var t,r,o=this;(o=i.call(this,e)||this).mainRef=v.createRef(),o.toDispose=[],o.isInternalChange=!1;var d=e.value,c=e.isSubEditor,l=c!==void 0&&c;e.onChange;var s=e.showCustomRenderersPanel,u=e.superEditorData,h=Ia(e,["value","isSubEditor","onChange","showCustomRenderersPanel","superEditorData"]),p=y({},h);return o.store=wA.create({isMobile:e.isMobile,theme:e.theme,isSubEditor:l,amisDocHost:e.amisDocHost,ctx:e.ctx,superEditorData:u,appLocale:e.appLocale,appCorpusData:(t=e==null?void 0:e.amisEnv)===null||t===void 0?void 0:t.replaceText,i18nEnabled:(r=e==null?void 0:e.i18nEnabled)!==null&&r!==void 0&&r},p),o.store.setSchema(d),s!==void 0&&o.store.setShowCustomRenderersPanel(s),o.manager=new PA(p,o.store),e.isSubEditor&&window.editorStore||(window.editorStore=o.store),document.addEventListener("keydown",o.handleKeyDown),window.addEventListener("message",o.handleMessage,!1),o.toDispose.push(Lt(function(){return o.store.schemaRaw},function(g){o.lastResult=g,o.isInternalChange||e.onChange(g)})),o.toDispose.push(o.manager.on("preview2editor",function(){return o.manager.rebuild()})),o}return q(n,i),n.prototype.componentDidMount=function(){this.props.isSubEditor||this.manager.trigger("init",{data:this.manager})},n.prototype.componentDidUpdate=function(e){var t,r,o,d=this.props;d.value!==e.value&&d.value!==this.lastResult&&(this.isInternalChange=!0,this.store.setSchema(d.value),this.isInternalChange=!1),d.isMobile!==e.isMobile&&this.store.setIsMobile(d.isMobile),d.ctx!==e.ctx&&this.store.setCtx(d.ctx),d.appLocale!==e.appLocale&&this.store.setAppLocale(d.appLocale),((t=d==null?void 0:d.amisEnv)===null||t===void 0?void 0:t.replaceText)!==((r=e==null?void 0:e.amisEnv)===null||r===void 0?void 0:r.replaceText)&&this.store.setAppCorpusData((o=d==null?void 0:d.amisEnv)===null||o===void 0?void 0:o.replaceText)},n.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.handleKeyDown),window.removeEventListener("message",this.handleMessage),this.toDispose.forEach(function(e){return e()}),this.toDispose=[],this.manager.dispose(),pI(this.store)},n.prototype.handleKeyDown=function(e){var t;if(!this.props.isSubEditor){var r=this.manager.store;if(e.target.tagName==="BODY"&&(e.key==="z"||e.key==="Z")&&(e.metaKey||e.ctrlKey)&&e.shiftKey)return e.preventDefault(),void this.redo();if(e.target.tagName==="BODY"&&(e.key==="z"||e.key==="Z")&&(e.metaKey||e.ctrlKey))return e.preventDefault(),void this.undo();if(e.target.tagName==="BODY"&&(e.key==="s"||e.key==="S")&&(e.metaKey||e.ctrlKey))return e.preventDefault(),void this.save();if(e.target.tagName!=="BODY"||e.key!=="c"&&e.key!=="C"||!e.metaKey&&!e.ctrlKey){if(e.target.tagName==="BODY"&&(e.key==="v"||e.key==="V")&&(e.metaKey||e.ctrlKey))return e.preventDefault(),void(this.curCopySchemaData&&this.paste());if(e.target.tagName==="BODY"&&e.key==="x"&&(e.metaKey||e.ctrlKey))e.preventDefault(),this.store.activeId&&((o=r.getNodeById(this.store.activeId))&&r.activeRegion?ea.warning(a("d6f73c6f3b92be5a64f7ea0163501284")):r.isRootSchema(this.store.activeId)?ea.warning(a("4fda4f585214d469c04466e2fc98b796")):o&&o.moveable?(this.copy(),this.manager.del(this.store.activeId)):ea.warning(a("657bbe06d3922b23552817df7fa8268e")));else if(e.target.tagName==="BODY"&&e.key==="p"&&(e.metaKey||e.ctrlKey))e.preventDefault(),this.preview();else if(e.target.tagName==="BODY"&&e.key==="ArrowUp"&&(e.metaKey||e.ctrlKey))e.preventDefault(),this.store.activeId&&((o=r.getNodeById(this.store.activeId))&&o.canMoveUp?this.manager.moveUp():ea.warning(a("416445a316595bdeb44b661c7de875a8")));else if(e.target.tagName==="BODY"&&e.key==="ArrowDown"&&(e.metaKey||e.ctrlKey))e.preventDefault(),this.store.activeId&&((o=r.getNodeById(this.store.activeId))&&o.canMoveDown?this.manager.moveDown():ea.warning(a("6ac88d87b2fd118ba7beab8c17880470")));else if(e.target.tagName==="BODY"&&(e.key==="Backspace"||e.key==="Delete")){var o;e.preventDefault(),this.store.activeId&&((o=r.getNodeById(this.store.activeId))&&r.activeRegion&&(!((t=o.info)===null||t===void 0)&&t.regions)&&o.info.regions.length>1?ea.warning(a("fdb3cba60407b2f1aea0230cca644573")):r.isRootSchema(this.store.activeId)?ea.warning(a("8a4b4e2e3b0382007e0c69ed1fe6fe71")):o&&(o.removable||o.removable===void 0)?this.manager.del(this.store.activeId):ea.warning(a("22f031f3de2e55c430a818d8c588f7a1")));return}}else this.copy()}},n.prototype.handleMessage=function(e){e.data&&e.data.type==="amis-widget-register-event"&&e.data.editorPluginName&&(console.info(a("55c56d01a7747ffe0346d42145b62d97"),e.data.editorPluginName),this.manager.dynamicAddPlugin(e.data.editorPluginName))},n.prototype.handleContextMenu=function(e){var t,r,o;lb();var d="",c="";if(this.store.activeId?d=(t=e.target.closest('[data-editor-id="'.concat(this.store.activeId,'"]')))===null||t===void 0?void 0:t.getAttribute("data-editor-id"):this.store.selections.length&&(d=(r=e.target.closest(this.store.selections.map(function(g){return'[data-editor-id="'.concat(g,'"]')}).join(",")))===null||r===void 0?void 0:r.getAttribute("data-editor-id")),d||(d=(o=e.target.closest("[data-editor-id]"))===null||o===void 0?void 0:o.getAttribute("data-editor-id")),!d){var l=e.target.closest("[data-node-id]");if(!(d=l==null?void 0:l.getAttribute("data-node-id")))return;c=l.getAttribute("data-node-region")}e.preventDefault(),e.stopPropagation();var s=this.manager,u=0,h=0;if(e.target.ownerDocument!==document){var p=s.store.getIframe().getBoundingClientRect();u=p.left,h=p.top}s.openContextMenu(d,c,{x:window.scrollX+e.clientX+u,y:window.scrollY+e.clientY+h})},n.prototype.canUndo=function(){return this.store.canUndo},n.prototype.canRedo=function(){return this.store.canRedo},n.prototype.undo=function(){this.props.onUndo?this.props.onUndo():this.store.undo()},n.prototype.redo=function(){this.props.onRedo?this.props.onRedo():this.store.redo()},n.prototype.save=function(){this.props.onSave&&this.props.onSave()},n.prototype.preview=function(){this.props.onPreview&&this.props.onPreview(!this.props.preview)},n.prototype.copy=function(){this.store.activeId&&(this.curCopySchemaData=this.store.getSchema(this.store.activeId))},n.prototype.paste=function(){if(this.store.activeId&&this.curCopySchemaData){if(!this.curCopySchemaData)return;var e=this.store.getSimpleSchema(this.curCopySchemaData);this.store.activeId===this.curCopySchemaData.$$id?this.manager.appendSiblingSchema(el(e)):this.manager.addElem(el(e))}},n.prototype.getToolbarContainer=function(){return this.mainRef.current},n.prototype.render=function(){var e=this.props,t=e.preview,r=e.isMobile,o=e.className,d=e.theme,c=e.appLocale,l=e.data,s=e.previewProps,u=e.autoFocus;e.isSubEditor;var h=e.amisEnv;return v.createElement("div",{ref:this.mainRef,className:de("ae-Editor",{preview:t},o)},v.createElement("div",{className:"ae-Editor-inner",onContextMenu:this.handleContextMenu},!t&&v.createElement(LA,{store:this.store,manager:this.manager,theme:d}),v.createElement("div",{className:"ae-Main"},!t&&v.createElement(FA,{store:this.store,manager:this.manager}),v.createElement(Wv,y({},s,{editable:!t,isMobile:r,store:this.store,manager:this.manager,theme:d,appLocale:c,data:l,amisEnv:h,autoFocus:u,toolbarContainer:this.getToolbarContainer}))),!t&&v.createElement(jA,{store:this.store,manager:this.manager,theme:d,appLocale:c,amisEnv:h}),!t&&v.createElement(RA,{store:this.store})),v.createElement(Jv,{store:this.store,manager:this.manager,theme:d,amisEnv:h}),v.createElement(Zv,{store:this.store,manager:this.manager,theme:d}),v.createElement(MA,{store:this.store,manager:this.manager,theme:d}))},n.defaultProps={autoFocus:!0},j([X,E("design:type",Function),E("design:paramtypes",[KeyboardEvent]),E("design:returntype",void 0)],n.prototype,"handleKeyDown",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleMessage",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleContextMenu",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"getToolbarContainer",null),n}(C.Component),zA=[{label:a("4e7f76261f8c4c6d78998f85fc1f4c6e"),children:[{label:a("16a20243f9b741c08216dc9548de2968"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"m-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"m-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"m"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"m-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"m-lg"}]},{label:a("461d364c67ec6a45e011ed13f2f7154f"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"m-t-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"m-t-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"m-t"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"m-t-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"m-t-lg"}]},{label:a("31e3752986d64c8b36897c8641c8628d"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"m-r-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"m-r-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"m-r"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"m-r-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"m-r-lg"}]},{label:a("eabe91d9426b6446f707cea3e7ab2418"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"m-b-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"m-b-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"m-b"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"m-b-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"m-b-lg"}]},{label:a("2e46d251ee6188bb1b3ff20656276572"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"m-l-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"m-l-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"m-l"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"m-l-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"m-l-lg"}]},{label:a("3dc4038d0f0a2d2b3c2b2e29a5ec6dde"),children:[{label:a("a8b0c20416853bda54120bf19477ad11"),value:"m-none"},"|",{label:a("af767b7e4ae069d54f9ea839858d4c6d"),value:"m-t-none"},{label:a("4d9c32c23df5d234e629c922c58d8e12"),value:"m-r-none"},{label:a("3850a186c3235bc646d4c2f79cebac36"),value:"m-b-none"},{label:a("d2aff1417831aa621c16cd5b95306b4b"),value:"m-l-none"}]}]},{label:a("841d77223f0ec8cd0b530ed8e0775b20"),children:[{label:a("16a20243f9b741c08216dc9548de2968"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"p-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"p-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"p"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"p-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"p-lg"}]},{label:a("461d364c67ec6a45e011ed13f2f7154f"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"p-t-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"p-t-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"p-t"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"p-t-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"p-t-lg"}]},{label:a("31e3752986d64c8b36897c8641c8628d"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"p-r-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"p-r-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"p-r"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"p-r-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"p-r-lg"}]},{label:a("eabe91d9426b6446f707cea3e7ab2418"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"p-b-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"p-b-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"p-b"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"p-b-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"p-b-lg"}]},{label:a("2e46d251ee6188bb1b3ff20656276572"),children:[{label:a("23ecf42cada8bf2715792d718544d107"),value:"p-l-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"p-l-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"p-l"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"p-l-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"p-l-lg"}]},{label:a("3dc4038d0f0a2d2b3c2b2e29a5ec6dde"),children:[{label:a("a8b0c20416853bda54120bf19477ad11"),value:"p-none"},"|",{label:a("af767b7e4ae069d54f9ea839858d4c6d"),value:"p-t-none"},{label:a("4d9c32c23df5d234e629c922c58d8e12"),value:"p-r-none"},{label:a("3850a186c3235bc646d4c2f79cebac36"),value:"p-b-none"},{label:a("d2aff1417831aa621c16cd5b95306b4b"),value:"p-l-none"}]}]},{label:a("961534b4ea37e4e88aada736b299d063"),className:"w2x",children:[{label:a("d4d2a66820d30e07b44c850eb3f116c0"),children:[{label:a("a8b0c20416853bda54120bf19477ad11"),value:"b-a"},"|",{label:a("af767b7e4ae069d54f9ea839858d4c6d"),value:"b-t"},{label:a("4d9c32c23df5d234e629c922c58d8e12"),value:"b-r"},{label:a("3850a186c3235bc646d4c2f79cebac36"),value:"b-b"},{label:a("d2aff1417831aa621c16cd5b95306b4b"),value:"b-l"},"|",{label:a("3dc4038d0f0a2d2b3c2b2e29a5ec6dde"),value:"no-border"}]},{label:a("58f966670529f4753fb3c5a0647606be"),children:[{label:"2x",value:"b-2x"},{label:"3x",value:"b-3x"},{label:"4x",value:"b-4x"},{label:"5x",value:"b-5x"}]},{label:a("6b36c6f7ec834692ec6c8e3816349fdd"),children:[{label:a("fbae87bcc352f6933541fb77a07418ed"),value:"b-primary",className:"bg-primary"},{label:a("d8c7e04c8e2be23dd3b81a31db6e04f1"),value:"b-info",className:"bg-info"},{label:a("900c70fa5f7dbc014e6f762d5e0e885c"),value:"b-warning",className:"bg-warning"},{label:a("540f84ddc0883866b229f71c2844199a"),value:"b-danger",className:"bg-danger"},{label:a("330363dfc524cff2488f2ebde0500896"),value:"b-success",className:"bg-success"},{label:a("2fc96b2704b05d6a9f299c442573ee77"),value:"b-white",className:"bg-white"},{label:a("adb7e5312abdb9a44297e48d63815fa3"),value:"b-dark",className:"bg-dark"},{label:a("48d0a09bdd5fe7e89f0a445b0ffdf14f"),value:"b-light",className:"bg-light"}]}]},{label:a("0d98c74797e49d00bcc4c17c9d557a2b"),className:"w2x",children:[{label:a("0103eb2d3dca70270d1a74e9ec987ac9"),children:[{label:a("a8b0c20416853bda54120bf19477ad11"),value:"r"},"|",{label:a("af767b7e4ae069d54f9ea839858d4c6d"),value:"r-t"},{label:a("4d9c32c23df5d234e629c922c58d8e12"),value:"r-r"},{label:a("3850a186c3235bc646d4c2f79cebac36"),value:"r-b"},{label:a("d2aff1417831aa621c16cd5b95306b4b"),value:"r-l"},"|",{label:"2x",value:"r-2x"},{label:"3x",value:"r-3x"}]},{label:a("8456bc40d48da5af833f1c63385e9879"),children:[{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"font-normal"},{label:a("b3b2682579133673d3fe08c156d565dc"),value:"font-thin"},{label:a("56dce5d1cbb97439d291c458e50107e0"),value:"font-bold"},"|",{label:a("23ecf42cada8bf2715792d718544d107"),value:"text-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"text-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"text-base"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"text-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"text-lg"}]},{label:a("6b36c6f7ec834692ec6c8e3816349fdd"),children:[{label:a("fbae87bcc352f6933541fb77a07418ed"),value:"text-primary",className:"text-primary"},{label:a("d8c7e04c8e2be23dd3b81a31db6e04f1"),value:"text-info",className:"text-info"},{label:a("900c70fa5f7dbc014e6f762d5e0e885c"),value:"text-warning",className:"text-warning"},{label:a("540f84ddc0883866b229f71c2844199a"),value:"text-danger",className:"text-danger"},{label:a("330363dfc524cff2488f2ebde0500896"),value:"text-success",className:"text-success"},{label:a("2fc96b2704b05d6a9f299c442573ee77"),value:"text-white",className:"text-white bg-dark"},{label:a("adb7e5312abdb9a44297e48d63815fa3"),value:"text-dark",className:"text-dark"},{label:a("49a79f4047b81186c069ed1c9c151c66"),value:"text-muted",className:"text-muted"}]},{label:a("8e1b944f4389bdaab6f11d5bc83190c8"),children:[{label:a("fbae87bcc352f6933541fb77a07418ed"),value:"bg-primary",className:"bg-primary"},{label:a("d8c7e04c8e2be23dd3b81a31db6e04f1"),value:"bg-info",className:"bg-info"},{label:a("900c70fa5f7dbc014e6f762d5e0e885c"),value:"bg-warning",className:"bg-warning"},{label:a("540f84ddc0883866b229f71c2844199a"),value:"bg-danger",className:"bg-danger"},{label:a("330363dfc524cff2488f2ebde0500896"),value:"bg-success",className:"bg-success"},{label:a("2fc96b2704b05d6a9f299c442573ee77"),value:"bg-white",className:"bg-white"},{label:a("adb7e5312abdb9a44297e48d63815fa3"),value:"bg-dark",className:"bg-dark"},{label:a("48d0a09bdd5fe7e89f0a445b0ffdf14f"),value:"bg-light",className:"bg-light"},"|",{label:a("3dc4038d0f0a2d2b3c2b2e29a5ec6dde"),value:"no-bg"}]},{label:a("c28479019e24e0e4745f4948e9e97ee7"),children:[{label:a("f72ce9ad683cc82e0eab557ffc9c67a0"),value:"w-xxs"},{label:a("23ecf42cada8bf2715792d718544d107"),value:"w-xs"},{label:a("391b8fa9c747a1799353ab856e666ad5"),value:"w-sm"},{label:a("fd6e80f1e0199d6ecc3ee81ae04aa9ef"),value:"w"},{label:a("aed1dfbc31703955e64806b799b67645"),value:"w-md"},{label:a("ab18e30c0dc4093ceeda8961fac3d1f4"),value:"w-lg"},{label:a("b95c462d7697958c25861193fc89ae07"),value:"w-xl"},{label:a("3386da5f56fac758ed0f18e024ecb943"),value:"w-xxl"},{label:a("ffaa96ef7232cb6d8ee4d7e673dbf4ac"),value:"w-full"}]}]}];(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={isFocused:!1,isOpened:!1},e.values=[],e}q(n,i),n.prototype.open=function(){this.setState({isOpened:!0})},n.prototype.close=function(){this.setState({isOpened:!1})},n.prototype.toggle=function(){this.setState({isOpened:!this.state.isOpened})},n.prototype.handleFocus=function(e){this.setState({isFocused:!0}),this.props.onFocus&&this.props.onFocus(e)},n.prototype.handleBlur=function(e){this.setState({isFocused:!1}),this.props.onBlur&&this.props.onBlur(e)},n.prototype.handleChange=function(e){(0,this.props.onChange)(e.currentTarget.value)},n.prototype.getParent=function(){return ma.findDOMNode(this)},n.prototype.getTarget=function(){return ma.findDOMNode(this)},n.prototype.handlePopOverChange=function(e){var t=this.props.value||"",r=t.replace(/\s+/g," ").split(/\s+/),o=r.indexOf(e.value),d=this.props.onChange;if(~o)r.splice(o,1),t=r.join(" ");else{if(/(?:^|\s)(m|p)\-(t|r|b|l)(?:\-(?:xs|sm|md|lg))?(?:$|\s)/.test(e.value)){var c=new RegExp("(?:^|\\s)".concat(RegExp.$1,"\\-").concat(RegExp.$2,"(?:\\-(?:xs|sm|md|lg))?(?=(\\s|$))"),"ig");t=t.replace(c,"")}else/(?:^|\s)(m|p)(?:\-(xs|sm|md|lg))?(?:$|\s)/.test(e.value)?(c=new RegExp("(?:^|\\s)".concat(RegExp.$1,"(?:\\-(?:xs|sm|md|lg))?(?=(\\s|$))"),"ig"),t=t.replace(c,"")):/(?:^|\s)(m|p)(?:\-(t|r|b|l))?\-none(?:$|\s)/.test(e.value)?(c=new RegExp(RegExp.$2?"(?:^|\\s)".concat(RegExp.$1,"(?:(?:\\-").concat(RegExp.$2,"(?:\\-(?:xs|sm|md|lg)))|\\-none)?(?=(\\s|$))"):"(?:^|\\s)".concat(RegExp.$1,"(?:[^\\s$]+)?(?=(\\s|$))"),"ig"),t=t.replace(c,"$1")):/(?:^|\s)w(?:\-\w+)?(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)w(?:\-\w+)?(?=(\s|$))/g,""):e.value==="b-a"?t=(t=t.replace(/(?:^|\s)b\-(?:t|r|b|l)(?=(\s|$))/g,"")).replace(/(?:^|\s)no\-border(?=(\s|$))/g,""):/(?:^|\s)b\-(?:t|r|b|l)?(?:$|\s)/.test(e.value)?t=(t=t.replace(/(?:^|\s)b\-a(?=(\s|$))/g,"")).replace(/(?:^|\s)no\-border(?=(\s|$))/g,""):/(?:^|\s)b\-\dx(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)b\-\dx(?=(\s|$))/g,""):e.value==="no-border"?t=t.replace(/(?:^|\s)b\-(?:\dx|\w+)(?=(\s|$))/g,""):/(?:^|\s)b\-(?:primary|info|warning|danger|success|white|dark|light)(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)b\-(?:primary|info|warning|danger|success|white|dark|light)(?=(\s|$))/g,""):e.value==="r"?t=t.replace(/(?:^|\s)r\-(?:t|r|b|l)(?=(\s|$))/g,""):/(?:^|\s)r\-(?:t|r|b|l)?(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)r(?=(\s|$))/g,""):/(?:^|\s)r\-\dx(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)r\-\dx(?=(\s|$))/g,""):/(?:^|\s)text\-(?:xs|sm|base|md|lg)(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)text\-(?:xs|sm|base|md|lg)(?=(\s|$))/g,""):/(?:^|\s)font\-(?:normal|thin|bold)(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)font\-(?:normal|thin|bold)(?=(\s|$))/g,""):/(?:^|\s)text\-(?:primary|info|warning|danger|success|white|dark|light)(?:$|\s)/.test(e.value)?t=t.replace(/(?:^|\s)text\-(?:primary|info|warning|danger|success|white|dark|light)(?=(\s|$))/g,""):/(?:^|\s)bg\-(?:primary|info|warning|danger|success|white|dark|light)(?:$|\s)/.test(e.value)?t=(t=t.replace(/(?:^|\s)bg\-(?:primary|info|warning|danger|success|white|dark|light)(?=(\s|$))/g,"")).replace(/(?:^|\s)no\-bg(?=(\s|$))/g,""):e.value==="no-bg"&&(t=t.replace(/(?:^|\s)bg\-(?:primary|info|warning|danger|success|white|dark|light)(?=(\s|$))/g,""));t=t.replace(/\s+/g," ").trim(),t+=(t?" ":"")+e.value}d(t)},n.prototype.renderGroup=function(e,t){var r=this,o=this.props.classnames;return v.createElement("div",{key:t,className:o("ae-ClassNameControl-group",e.className)},v.createElement("label",{className:o("ae-ClassNameControl-groupLabel",e.labelClassName)},e.label),e.children&&e.children.length?e.children[0].value?this.renderOptions(e.children,t):e.children.map(function(d,c){return r.renderGroup(d,c)}):null)},n.prototype.renderOptions=function(e,t){var r=this,o=this.props.classnames;return function(d){for(var c=[],l=c[0]=[],s=0,u=d.length;s0&&I.moveable),onSelect:function(){return w.moveUp()}}),t.push({label:a("ed2bc13d8bbd99e16e017dd5f5393393"),disabled:!(Array.isArray(O)&&R1?t.push({label:a("205f45ee17394bd5668412780eaa55e2"),children:N.childRegions.map(function(F){return{label:"".concat(F.label),data:F.region,onHighlight:function(k,M){return k?x.setHoverId(s,M):x.setHoverId("")},onSelect:function(){return x.showInsertRendererPanel()}}})}):t.push({label:a("205f45ee17394bd5668412780eaa55e2"),data:N.childRegions[0].region,onHighlight:function(F,k){return F?x.setHoverId(s,k):x.setHoverId("")},onSelect:function(){return x.showInsertRendererPanel()}})),t.push({label:a("107542a61cdccbb2981ad0c8bafc3440"),disabled:!(I.host&&((o=I.info)===null||o===void 0?void 0:o.typeMutable)!==!1&&I.parent.isRegion&&x.panels.some(function(F){return F.key==="renderers"})&&I.replaceable),onSelect:function(){return w.showReplacePanel(s)}})}g.length||!(!((d=p.plugin.scaffoldForm)===null||d===void 0)&&d.canRebuild)&&!(!((c=p.scaffoldForm)===null||c===void 0)&&c.canRebuild)||t.push({label:"快速构建「".concat(p.plugin.name,"」"),disabled:u.$$commonSchema,onSelect:function(){return l.manager.reScaffold(s,p.scaffoldForm||p.plugin.scaffoldForm,u)}})},n.prototype.buildEditorPanel=function(e,t){if(e.selections.length){var r=this.manager.store,o=[],d=y(y({},e),{data:o,region:""});(o=this.manager.buildContextMenus(d)).length&&t.push({key:"contextmenu",icon:"fa fa-cog",title:a("2b6bc0f293f5ca01b006206c2535ccbc"),menus:o,render:this.manager.makeSchemaFormRender({body:[{type:"button-group",buttons:o.filter(function(c){return c!=="|"}).map(function(c){return y(y({},c),{type:"button",onClick:c.onSelect})})}],panelById:r.activeId})})}},n.prototype.afterInsert=function(e){var t,r,o=this,d=e.context;if(d.node&&(!((r=(t=d.subRenderer)===null||t===void 0?void 0:t.plugin)===null||r===void 0)&&r.popOverBody)){var c=d.data.$$id;c&&setTimeout(function(){o.manager.setActiveId(c),requestAnimationFrame(function(){o.manager.openNodePopOverForm(c)})},200)}},n.scene=["layout"],n}(ue));var $A=/^\/schemas\/(.*).json$/;function HA(i,n,e,t){return ve(this,void 0,void 0,function(){var r,o,d,c,l,s,u;return he(this,function(h){switch(h.label){case 0:return r=Array.isArray(t)?t.concat():[],[3,3];case 1:d.apply(o,[(u.schema=h.sent(),u)]),h.label=2;case 2:h.label=3;case 3:return $A.test(n)&&(c=RegExp.$1,l="".concat(i.replace(/^(\w+\:\/\/[^\/]+)\/.*$/,"$1"),"/schemas/").concat(c,".json"),s=Dt(r,function(p){var g;return((g=p.fileMatch)===null||g===void 0?void 0:g[0])===e}),~s&&r.splice(s,1),r.push({uri:l,fileMatch:[e],schema:{$schema:"http://json-schema.org/draft-07/schema#",$ref:"".concat(i,"#/definitions/").concat(c)}})),[2,r]}})})}var Ff=It(function(i){ea.warning(`代码有误,错误的地方是 `.concat(i.toString().split(` -`)[1]))},3e3),eg=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={wrongSchema:"",value:e.props.value,contents:e.obj2str(e.props.value,e.props)},e.toDispose=[],e.uri="isuda://schema/".concat(oi(),".json"),e.emitChange=It(function(){var t=e.props,r=t.onChange,o=t.value,d=e.str2obj(e.state.contents);if(d&&(vn(d)||Xr(d))){e.setState({wrongSchema:""}),delete d.$schema,d=al(d,e.props.value);var c=Va(e.lastResult||o,d);e.lastResult=d,r(d,c)}else e.setState({wrongSchema:e.state.contents})},250,{trailing:!0,leading:!1}),e.editorFactory=function(t,r,o){var d=r.Uri.parse(e.uri);return e.model=r.editor.createModel(e.state.contents,"json",d),r.editor.create(t,y(y({autoIndent:!0,formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!0,scrollBeyondLastLine:!1,folding:!0,scrollbar:{alwaysConsumeMouseWheel:!1},minimap:{enabled:!1}},o),{model:e.model}))},e.editorDidMount=function(t,r){e.editor=t,e.monaco=r,e.changeJsonOptions(e.props),e.props.onPaste&&e.toDispose.push(e.editor.onDidPaste(e.props.onPaste).dispose)},e.editorWillUnmount=function(t,r){e.toDispose.forEach(function(o){return o()}),e.toDispose=[]},e.handleChange=function(t){e.setState({contents:t},e.emitChange)},e.handleBlur=function(){return ve(e,void 0,void 0,function(){var t,r,o;return he(this,function(d){switch(d.label){case 0:return t=this.state,r=t.wrongSchema,o=t.value,r?[4,SI([{className:"w-full",type:"tpl",label:!1,tpl:a("7e4b38ba0ab9cbfcabd9dd859e36b601")},{type:"switch",label:!1,option:a("af86ad9dd8a221f931dcdc5a63382b6f"),name:"diff",value:!1},{visibleOn:"this.diff",label:!1,type:"diff-editor",allowFullscreen:!0,disabled:!0,name:"newValue",size:"xxl",language:"json",diffValue:"${oldValue}"}],{oldValue:o,newValue:r},a("43d586cd6cf1a512c0bcb85ed9efde51"))]:[2];case 1:return d.sent()?this.setState({wrongSchema:"",contents:Qc(o)}):this.editor.focus(),[2]}})})},e}return q(n,i),n.prototype.componentDidUpdate=function(e){var t=this.props;e.$schema!==t.$schema&&this.monaco&&this.changeJsonOptions(t),i6(t.value,e.value)&&i6(t.value,this.lastResult)&&(this.lastResult=null,this.setState({value:t.value,contents:this.obj2str(t.value,t)}))},n.prototype.obj2str=function(e,t){var r;return e=al(e),Xr(e)||(e=y({type:e==null?void 0:e.type},e)),Xr(e)||(!e.type&&(!((r=t.$schema)===null||r===void 0)&&r.match(/PageSchema/i))?e.type="page":e.type||delete e.type,delete e.$schema),Qc(e)},n.prototype.str2obj=function(e){try{if(e==="")return{};var t=z2(e);return Ff&&Ff.cancel(),t}catch(r){return Ff(r),null}},n.prototype.changeJsonOptions=function(e){var t;return e===void 0&&(e=this.props),ve(this,void 0,void 0,function(){var r,o,d;return he(this,function(c){switch(c.label){case 0:return r=this.monaco,(o=e.$schemaUrl||"".concat(window.location.protocol,"//").concat(window.location.host,"/schema.json")).indexOf("/")===0&&(o="".concat(window.location.protocol,"//").concat(window.location.host).concat(o)),[4,HA(o,e.$schema,r.Uri.parse(this.uri).toString(),(t=r.languages.json)===null||t===void 0?void 0:t.jsonDefaults.diagnosticsOptions.schemas)];case 1:return d=c.sent(),r.languages.json.jsonDefaults.setDiagnosticsOptions({schemas:d,validate:!0,enableSchemaRequest:!0,allowComments:!0}),[2]}})})},n.prototype.render=function(){var e=this.props,t=e.disabled,r=e.className,o=e.theme;return v.createElement(fb,{className:de("amis-code-editor",r),value:this.state.contents,onChange:this.handleChange,onBlur:this.handleBlur,language:"json",theme:o,editorFactory:this.editorFactory,editorDidMount:this.editorDidMount,editorWillUnmount:this.editorWillUnmount,options:{automaticLayout:!0,lineNumbers:"off",glyphMargin:!1,tabSize:2,wordWrap:"on",lineDecorationsWidth:0,lineNumbersMinChars:0,selectOnLineNumbers:!0,scrollBeyondLastLine:!1,folding:!0,minimap:{enabled:!1},readOnly:t}})},n}(v.Component),WA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleCodePaste=function(){var e=this;setTimeout(function(){e.props.manager.patchSchema(!0)},500)},n.prototype.render=function(){var e=this.props,t=e.onChange,r=e.manager,o=e.store;return v.createElement("div",{className:"ae-CodePanel"},v.createElement("div",{className:"panel-header"},a("5b804b05e14aaacc75033a4f77fc2844")),v.createElement("div",{className:"ae-CodePanel-content"},v.createElement(eg,{value:o.valueWithoutHiddenProps,onChange:t,$schema:o.jsonSchemaUri,$schemaUrl:r.config.$schemaUrl,onPaste:this.handleCodePaste})))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleCodePaste",null),n}(v.Component);le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e}return q(n,i),n.prototype.buildJSONSchema=function(e){return e.info.$schema},n.prototype.buildEditorPanel=function(e,t){e.info;var r=e.selections;this.manager.store.jsonSchemaUri&&!r.length&&t.push({key:"code",icon:"png-icon code-png",title:v.createElement("span",{className:"editor-tab-icon","editor-tooltip":a("06e004ef21414c06d3e4ff2cefaf6a04")},v.createElement(xe,{icon:"editor-code"})),position:"left",component:Qv(WA),order:5e3})},n.scene=["layout"],n}(ue));var UA=v.lazy(function(){return mI(()=>import("./main-b57235ed.js").then(i=>i.m),["assets/main-b57235ed.js","assets/index-91036dd3.js","assets/index-42fdf5e4.css"]).then(hI)});le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.dataViewer={type:"json",name:"ctx",asFormItem:!0,className:"m-b-none",component:function(t){for(var r=t.value,o=U(v.useState(0),2),d=o[0],c=o[1],l=r||{},s=[l];Object.getPrototypeOf(l)!==Object.prototype;){var u=Object.getPrototypeOf(l);if(Object.prototype.toString.call(u)!=="[object Object]")break;s.push(u),l=u}return v.createElement("div",{className:"aeDataChain"},v.createElement("div",{className:"aeDataChain-aside"},v.createElement("ul",null,s.map(function(h,p){return v.createElement("li",{className:p===d?"is-active":"",key:p,onClick:function(){return c(p)}},p===0?a("48ac479789304b37afa2f1b06642f4da"):p===1?a("9bc16c658ab8a8c4eddc5e24d85bef20"):a("af767b7e4ae069d54f9ea839858d4c6d").concat(p,"层"))}))),v.createElement("div",{className:"aeDataChain-main"},v.createElement(v.Suspense,{fallback:v.createElement("div",null,"...")},v.createElement(UA,{name:!1,src:s[d],enableClipboard:!1,iconStyle:"square",collapsed:2}))))}},e}return q(n,i),n.prototype.buildEditorToolbar=function(e,t){var r=this;e.id,e.schema;var o=e.node.getComponent();o&&o.props&&o.props.data&&o.props.store&&(o.props.store,t.push({icon:"fa fa-bug",order:-1e3,placement:"bottom",tooltip:a("aa920263020f14211a44ea172efc7253"),onClick:function(){return r.openDebugForm(o.props.data)}}))},n.prototype.openDebugForm=function(e){return ve(this,void 0,void 0,function(){return he(this,function(t){switch(t.label){case 0:return[4,this.manager.scaffold({title:a("aa920263020f14211a44ea172efc7253"),body:[y({},this.dataViewer)]},{ctx:e})];case 1:return t.sent(),[2]}})})},n.scene=["layout"],n.id="data-debug",n}(ue)),le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e.rendererName="error",e.name="Error",e.isBaseComponent=!0,e}return q(n,i),n.scene=["layout"],n}(ue));var qA=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={curSearchElemKey:""},e}return q(n,i),n.prototype.handleClick=function(e){var t=this.props.store,r=e.currentTarget,o=r.getAttribute("data-node-id"),d=r.getAttribute("data-node-region");this.props.manager,d?t.activeId===o&&t.activeRegion===d?t.setActiveId(o):t.setActiveId(o,d):t.setActiveId(o)},n.prototype.handleDialogNodeClick=function(e,t){this.props.store.setPreviewDialogId(t.$$id)},n.prototype.handleEnter=function(e){var t=e.currentTarget,r=t.getAttribute("data-node-id"),o=t.getAttribute("data-node-region");this.props.store.setHoverId(r,o)},n.prototype.handleTabChange=function(e){var t=this.props.store;e&&Bt(t)&&(t.changeOutlineTabsKey(e),e==="component-outline"&&t.setPreviewDialogId())},n.prototype.handleDragStart=function(e){var t=e.currentTarget.getAttribute("data-node-id");t&&this.props.manager.startDrag(t,e)},n.prototype.handleDragOver=function(e){var t=e.target.closest("[data-node-id][data-node-region]");if(t){var r=this.props.manager,o=t.getAttribute("data-node-id"),d=t.getAttribute("data-node-region");e.preventDefault(),o&&d&&r.dnd.switchToRegion(e.nativeEvent,o,d)}},n.prototype.handleDrop=function(e){this.props.manager.dnd.drop(e.nativeEvent)},n.prototype.handleSearchElemKeyChange=function(e){this.setState({curSearchElemKey:e})},n.prototype.clearSearchElemKey=function(){this.setState({curSearchElemKey:""})},n.prototype.renderTitleByKeyword=function(e,t){if(t&&~e.indexOf(t)){var r=e.indexOf(t),o=r+t.length;return v.createElement("span",null,e.substring(0,r),v.createElement("span",{className:"has-keywords"},t),e.substring(o))}return e},n.prototype.renderItem=function(e,t,r){var o,d=this,c=this.props.store,l=this.state.curSearchElemKey,s=!c.dragging&&e.singleRegion?e.uniqueChildren[0].uniqueChildren:e.uniqueChildren,u=s.length;return!c.dragging||e.isRegion||e.children.length?v.createElement("li",{className:de("ae-Outline-node",{"is-folded":e.folded,"is-active":c.activeId===e.id&&!e.region||e.isRegion&&c.dropId===e.id&&c.dropRegion===e.region||e.isRegion&&c.activeId===e.id&&c.activeRegion===e.region,"is-region":e.isRegion,"is-hover":!e.isRegion&&(c.isHoved(e.id)||c.isContextOn(e.id)),"has-children":u,"is-dragging":c.dragId===e.id&&c.dragType==="schema"}),key:t},v.createElement("a",{onClick:this.handleClick,onMouseEnter:this.handleEnter,"data-node-id":e.id,"data-node-region":e.region,"data-node-common-config":(o=e.schema)===null||o===void 0?void 0:o.$$commonSchema,draggable:e.draggable,onDragStart:this.handleDragStart},u?v.createElement("span",{onClick:e.toggleFold,className:de("ae-Outline-expander ae-Outline-node-icon",{"is-folded":e.folded}),"data-node-id":e.id,"data-node-region":e.region},v.createElement(xe,{icon:"down-arrow"})):null,v.createElement("span",{className:"ae-Outline-node-text"},e.isCommonConfig?"".concat(e.label,"-[公共配置]"):this.renderTitleByKeyword(this.getDialogNodeLabel(e,r),l))),u?v.createElement("ul",{className:"ae-Outline-sublist"},s.map(function(h,p){return d.renderItem(h,p,r)})):null):null},n.prototype.getDialogNodeLabel=function(e,t){return t?this.getDialogLabel(e,!0,"dialogTitle"):e.label},n.prototype.getDialogLabel=function(e,t,r){r===void 0&&(r="title");var o="";return t&&(o=e.label),e.type!=="dialog"&&e.type!=="drawer"||(!t||t&&!e.region)&&(o=e.type==="drawer"?"".concat(e[r]||a("7336083e6c61fe75fb5ec3f5ef101ac7"),"(抽屉式弹窗)"):e.dialogType==="confirm"?"".concat(e[r]||a("fa6b01f51cc2b8e16bfbb914b6c08ace"),"(确认对话框)"):"".concat(e[r]||a("6cff4b6d794cc17f5d24dbe0d21e5732"),"(弹窗)")),o},n.prototype.renderDialogItem=function(e,t){var r=this,o=this.props.store,d=o.root.children,c=e.$$id===o.previewDialogId,l=this.getDialogLabel(e,!1);return d!=null&&d.length&&c?this.renderItem(d[0],t,"dialog"):v.createElement("li",{className:de("ae-Outline-node"),key:t},v.createElement("a",{onClick:function(s){return r.handleDialogNodeClick(s,e)}},v.createElement("span",{className:"ae-Outline-node-text"},this.renderTitleByKeyword(l,this.state.curSearchElemKey))))},n.prototype.render=function(){var e=this,t=this.state.curSearchElemKey,r=this.props.store,o=r.outlineTabsKey||"component-outline",d=r.outline,c=r.dialogOutlineList;return v.createElement("div",{className:"ae-Outline-panel"},v.createElement("div",{className:"panel-header"},a("c65e6ddd7b48846aa1e5224d4e5743c1")),v.createElement(Cl,{className:"ae-outline-tabs",linksClassName:"ae-outline-tabs-header",contentClassName:"ae-outline-tabs-content",tabsMode:"line",onSelect:this.handleTabChange,activeKey:o},v.createElement(mr,{className:"ae-outline-tabs-panel",key:"component-outline",eventKey:"component-outline",title:a("67bcc69dd0a75d50c5cbb7f107ee9f63")},v.createElement(ci,{className:"editor-InputSearch",value:t,onChange:this.handleSearchElemKeyChange,placeholder:a("962d43ff8d39c381d8e2c73838412111"),clearable:!1},t?v.createElement("a",{onClick:this.clearSearchElemKey},v.createElement(xe,{icon:"close",className:"icon"})):v.createElement(xe,{icon:"editor-search",className:"icon"})),v.createElement("hr",{className:"margin-top"}),v.createElement("div",{className:de("ae-Outline","hoverShowScrollBar",{"ae-Outline--draging":r.dragging}),onDragOver:this.handleDragOver,onDrop:this.handleDrop},r.dragging?v.createElement("div",{className:"ae-Outline-tip"},a("0c95d1856ffdeeade7cebe0ef928f361")):null,d.length?v.createElement("ul",{className:"ae-Outline-list"},d.map(function(l,s){return e.renderItem(l,s)})):v.createElement("div",null,a("c482df2a3ac8e014febd8a5fc9cadaea")))),v.createElement(mr,{className:"ae-outline-tabs-panel",key:"dialog-outline",eventKey:"dialog-outline",title:a("80e73cda4bd12532252652b4e19bb39b")},v.createElement(ci,{className:"editor-InputSearch",value:t,onChange:this.handleSearchElemKeyChange,placeholder:a("962d43ff8d39c381d8e2c73838412111"),clearable:!1},t?v.createElement("a",{onClick:this.clearSearchElemKey},v.createElement(xe,{icon:"close",className:"icon"})):v.createElement(xe,{icon:"editor-search",className:"icon"})),v.createElement("hr",{className:"margin-top"}),v.createElement("div",{className:de("ae-Outline","hoverShowScrollBar",{"ae-Outline--draging":r.dragging}),onDragOver:this.handleDragOver,onDrop:this.handleDrop},c.length?v.createElement("ul",{className:"ae-Outline-list"},c.map(function(l,s){return e.renderDialogItem(l,s)})):v.createElement("div",null,a("21efd88b67a39834582ad99aabb9dc60"))))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,Object]),E("design:returntype",void 0)],n.prototype,"handleDialogNodeClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleEnter",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleTabChange",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragStart",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragOver",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDrop",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleSearchElemKeyChange",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"clearSearchElemKey",null),j([X,E("design:type",Function),E("design:paramtypes",[String,String]),E("design:returntype",void 0)],n.prototype,"renderTitleByKeyword",null),n=j([wa],n)}(v.Component);le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e}return q(n,i),n.prototype.buildEditorPanel=function(e,t){var r=this.manager.store;if(r&&e.selections.length){var o=r.changeLeftPanelOpenStatus,d=r.changeLeftPanelKey;o(!0),d("outline")}t.push({key:"outline",icon:"png-icon outline-png",title:v.createElement("span",{className:"editor-tab-icon","editor-tooltip":a("93383ef1ab4a433df97a56a73e571b9f")},v.createElement(xe,{icon:"editor-outline"})),component:Qv(qA),position:"left",order:4e3})},n.scene=["layout"],n}(ue)),le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=9999,e}return q(n,i),n.prototype.getRendererInfo=function(e){var t=e.renderer,r=e.schema,o=e.path;if(r.$$id&&t)return/(^|\/)static\-field/.test(o)||t.name==="card-item"||t.name==="list-item-field"||t.name==="card-item-field"?void 0:{name:"Unknown",$schema:"/schemas/UnkownSchema.json"}},n.scene=["layout"],n}(ue));var ag={};function f(i,n,e){var t=ag[i]||{};return typeof t=="function"?t(n,e):n?y(y({},t),n):t}function Y(i,n){ag[i]=n}function Rn(i){try{return i==="undefined"?void 0:JSON.parse(i)}catch{return i}}function ir(i){return Array.isArray(i)?i.length?i:void 0:typeof i=="string"?i||void 0:typeof i=="object"?Object.keys(i).length?i:void 0:i}function G(i,n){return n===void 0&&(n=!0),n?function(e){return e===void 0?i:e}:function(e){return e||i}}function W(i,n,e){return{type:"tooltip-wrapper",tooltip:n,tooltipTheme:"dark",placement:"top",tooltipStyle:y({fontSize:"12px"},e||{}),className:"ae-formItemControl-label-tip",body:i}}function Rt(i){var n,e="data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg t='1631083237695' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2420' xmlns:xlink='http://www.w3.org/1999/xlink' width='1024' height='1024'%3E%3Cdefs%3E%3Cstyle type='text/css'%3E%3C/style%3E%3C/defs%3E%3Cpath d='M959.872 128c0.032 0.032 0.096 0.064 0.128 0.128v767.776c-0.032 0.032-0.064 0.096-0.128 0.128H64.096c-0.032-0.032-0.096-0.064-0.128-0.128V128.128c0.032-0.032 0.064-0.096 0.128-0.128h895.776zM960 64H64C28.8 64 0 92.8 0 128v768c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64V128c0-35.2-28.8-64-64-64z' p-id='2421' fill='%23bfbfbf'%3E%3C/path%3E%3Cpath d='M832 288c0 53.024-42.976 96-96 96s-96-42.976-96-96 42.976-96 96-96 96 42.976 96 96zM896 832H128V704l224-384 256 320h64l224-192z' p-id='2422' fill='%23bfbfbf'%3E%3C/path%3E%3C/svg%3E";return i.type==="date"||i.type==="datetime"||i.type==="time"||i.type==="month"||i.type==="static-date"||i.type==="static-datetime"||i.type==="static-time"||i.type==="static-month"||i.type==="input-date"||i.type==="input-datetime"||i.type==="input-time"||i.type==="input-month"?EI().format("X"):i.type==="image"||i.type==="static-image"?e:i.type==="images"||i.type==="static-images"?[e]:i.type==="number"||i.type==="input-number"?(1e3*Math.random()).toFixed((n=i.precision)!==null&&n!==void 0?n:0):a("6cb01692eea2fa7066d20fe2b6ccaea3")}(function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n})(ue);(function(i){function n(e){var t=i.call(this,e)||this;return t.manager.on("build-panels",t.buildPanels),t}return q(n,i),n.prototype.componentWillUnmount=function(){this.manager.off("build-panels",this.buildPanels)},n.prototype.buildPanels=function(e){var t=e.context.data;Array.isArray(t)&&t.splice(0,t.length)},n.prototype.render=function(){var e=this.props,t=e.preview,r=e.className,o=e.theme,d=e.data,c=e.isMobile,l=e.autoFocus,s=e.previewProps;return v.createElement("div",{className:de("ae-Editor",{preview:t},r)},v.createElement("div",{className:"ae-Editor-inner",onContextMenu:this.handleContextMenu},v.createElement("div",{className:"ae-Main"},v.createElement(Wv,y({},s,{isMobile:c,editable:!t,store:this.store,manager:this.manager,theme:o,data:d,autoFocus:l})))),v.createElement(Jv,{store:this.store,manager:this.manager,theme:o}),v.createElement(Zv,{store:this.store,manager:this.manager,theme:o}))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"buildPanels",null),n})(G2);var Wn=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.UNSAFE_componentWillMount=function(){var e=this,t=this.props;t.data,t.path;var r=t.widthMutable,o=Ia(t,["data","path","widthMutable"]),d=this.context;this.editorNode=d.addChild({id:o.id,type:o.type,label:o.name,path:this.props.path,schemaPath:o.schemaPath,info:o,getData:function(){return e.props.data},widthMutable:r,memberIndex:o.memberIndex})},n.prototype.componentDidMount=function(){this.markDom(this.editorNode.id)},n.prototype.componentDidUpdate=function(){this.markDom(this.editorNode.id)},n.prototype.componentWillUnmount=function(){this.editorNode&&Bt(this.editorNode)&&this.context.removeChild(this.editorNode)},n.prototype.markDom=function(e){var t=ma.findDOMNode(this);if(t){var r=this.editorNode.info,o=r.wrapperResolve?r.wrapperResolve(t):t;(Array.isArray(o)?o:o?[o]:[]).forEach(function(d){return d.setAttribute("data-editor-id",e)})}},n.prototype.render=function(){return v.createElement(co.Provider,{value:this.editorNode},this.props.children)},n.contextType=co,n}(v.Component),GA=[{title:a("79d3abe929f67f0644a78bf32adb3a89"),letters:["⌘","c"],tooltip:a("b7d817611230d382f6ef92b41848a342")},{title:a("eafbece1016a6af76cce466e55ad9f00"),letters:["⌘","v"],tooltip:a("e0b9bb8e41eccd3ce6b282664643d7f8")},{title:a("43fc77886b7fbcd658f0ccdba36bd5a0"),letters:["⌘","x"],tooltip:a("a6be4ad12e9612811963c44466af3218")},{title:a("bd9fcf46b4e5993f97fe04ee9ebcd7ed"),letters:["⌘","z"],tooltip:a("58887132871b71b015c3a391e7755815")},{title:a("c3c873d33f1c6482c79b0ffd862786cd"),letters:["⌘","Shift","z"],tooltip:a("58887132871b71b015c3a391e7755815")},{title:a("be5fbbe34ce9979bfb6576d9eddc5612"),letters:["⌘","s"],tooltip:a("1f81fd4598e9151538f29c41b8aa0020")},{title:a("34d240d1ded259c32f7fee21e99c5671"),letters:["⌘","p"],tooltip:a("6722089d251c1e4aabe9d58c26a2208a")},{title:a("2f4aaddde33c9b93c36fd2503f3d122b"),letters:["Delete"],tooltip:a("426cd14ebd62a4922186527d07ba37f3")},{title:a("2f4aaddde33c9b93c36fd2503f3d122b"),letters:["Backspace"],tooltip:a("426cd14ebd62a4922186527d07ba37f3")},{title:a("499e58e764420aeed2d1476a56d8fa34"),letters:["⌘","↑"],tooltip:a("d040485f0e3887f0b297f8f772db03e4")},{title:a("08ad565f066d30572d1f8e2ee17cbe12"),letters:["⌘","↓"],tooltip:a("6348dc0e83d6ab391a8816f67d0e5ceb")}];(function(i){function n(e){var t=i.call(this,e)||this;return t.state={visible:!1},t}return q(n,i),n.prototype.closeShortcutKeyModal=function(){this.setState({visible:!1})},n.prototype.showShortcutKeyModal=function(){this.setState({visible:!0})},n.prototype.render=function(){var e=this.props,t=e.title,r=e.size,o=e.closeOnEsc,d=e.closeOnOutside,c=this.props.ShortcutKeyList||GA;return v.createElement(v.Fragment,null,v.createElement("div",{className:"shortcut-icon-btn","editor-tooltip":a("fbec96e028142496df88ed2c63b44512"),"tooltip-position":"bottom"},v.createElement(xe,{icon:"editor-shortcut",onClick:this.showShortcutKeyModal})),v.createElement(dt,{size:r||"xs",show:this.state.visible,closeOnEsc:o==null||o,closeOnOutside:d==null||d,onHide:this.closeShortcutKeyModal,contentClassName:"shortcut-list-modal"},v.createElement("div",{className:"shortcut-modal-header"},v.createElement("div",{className:"shortcut-modal-title"},t||a("9c3f1278ffa822835bb3a677f02bca27")),v.createElement(xe,{icon:"close",className:"shortcut-modal-icon",onClick:this.closeShortcutKeyModal})),v.createElement("div",{className:"shortcut-modal-body"},c&&c.length>0&&v.createElement("div",{className:"shortcut-list"},c.map(function(l,s){return v.createElement("div",{className:"shortcut-item",key:s},l.tooltip&&v.createElement("div",{className:"shortcut-title","editor-tooltip":l.tooltip},l.title),!l.tooltip&&v.createElement("div",{className:"shortcut-title"},l.title),v.createElement("div",{className:"shortcut-letters"},l.letters.map(function(u){return v.createElement("div",{className:"shortcut-letter",key:u},u)})))})),!c||c.length===0&&v.createElement("span",null,a("4e98a5dcd3defffb23629fce3add04f6")))))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"closeShortcutKeyModal",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"showShortcutKeyModal",null),n})(v.Component);var v4;(function(i){i.create="create",i.view="view",i.update="update",i.table="table",i.filter="filter"})(v4||(v4={}));var g4;(function(i){i.entity="entity",i.list="list",i.piece="piece"})(g4||(g4={}));var Dn={List:{value:"list",label:a("3712972d84adf48acbd6ad24b4d75ad0")},Insert:{value:"insert",label:a("66ab5e9f24c8f46012a25c89919fb191")},View:{value:"view",label:a("f26225bde6a250894a04db4c53ea03d0")},Edit:{value:"edit",label:a("95b351c86267f3aedf89520959bce689")},Delete:{value:"delete",label:a("2f4aaddde33c9b93c36fd2503f3d122b")},BulkEdit:{value:"bulkEdit",label:a("e73cefac9d030927da1618c7b15c98c9")},BulkDelete:{value:"bulkDelete",label:a("7fb62b30119c3797a843a48368463314")},Import:{value:"import",label:a("8d9a071ee2ef45e045968e117a205c07")},Export:{value:"export",label:a("55405ea6ff6fd823ffab7e6b10ddfa95")},SimpleQuery:{value:"simpleQuery",label:a("c26996a6506adf397f0668d376d0b40b")},FuzzyQuery:{value:"fuzzyQuery",label:a("6ff4bf3d567e977aa4c90c27dff1e6db")},AdvancedQuery:{value:"advancedQuery",label:a("9c4666fd08c2738eb9611a3721cb5f0f")}},Se;(function(i){i.List="List",i.Insert="Insert",i.View="View",i.Edit="Edit",i.Delete="Delete",i.BulkEdit="BulkEdit",i.BulkDelete="BulkDelete",i.Import="Import",i.Export="Export",i.SimpleQuery="SimpleQuery",i.FuzzyQuery="FuzzyQuery",i.AdvancedQuery="AdvancedQuery"})(Se||(Se={}));var rr={cancel:{label:a("625fb26b4b3340f7872b411f401e754c"),value:"cancel",order:0,schema:{level:"default"}},reset:{label:a("4b9c3271dc2f299dc3aeffb369187513"),value:"reset",order:1,schema:{level:"default"}},submit:{label:a("939d5345ad4345dbaabe14798f6ac0f1"),value:"submit",order:2,schema:{level:"primary"}}},Fn="model-entity",K2="api";window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var KA=function(i){var n;return"".concat((n=Dn==null?void 0:Dn[i])===null||n===void 0?void 0:n.value)},YA=function(i){var n;return"".concat((n=Dn==null?void 0:Dn[i])===null||n===void 0?void 0:n.label)},Ru=function(i,n,e){var t,r;e===void 0&&(e=new WeakMap);var o={};if(e.has(i))return e.get(i);e.set(i,o);var d=function(O){return O.map(function(I){return bb(I)?Ru(I,n,e):I})};if(Array.isArray(i))return d(i);try{for(var c=qa(Object.entries(i)),l=c.next();!l.done;l=c.next()){var s=U(l.value,2),u=s[0],h=s[1],p=n(u,h,i),g=U(p,2),w=g[0],x=g[1];w!=="__proto__"&&(bb(x)&&(x=Array.isArray(x)?d(x):Ru(x,n,e)),o[w]=x)}}catch(O){t={error:O}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return o},Ii=function(i,n){return!bb(i)||Array.isArray(i)?i:Ru(i,n)},y4=function(i){if(!i||typeof i!="string")return i;var n={tpl:"input-text",image:"input-image",date:"input-date",progress:"input-number",status:"tag",mapping:"tag",list:"input-table"};return n.hasOwnProperty(i)?n[i]:i};window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var JA=function(){function i(n){this.manager=n}return Object.defineProperty(i.prototype,"key",{get:function(){return this.constructor.key},enumerable:!1,configurable:!0}),i.prototype.getFeatValueByKey=function(n){return KA(n)},i.prototype.getFeatLabelByKey=function(n){return YA(n)},i.prototype.filterByFeat=function(n){return n&&this.features.includes(n)},i}(),Bu=new Map,ZA=function(i){Bu.has(i.key)&&console.warn("[amis-editor][DSBuilder] duplicate DSBuilder「".concat(i.key,"」")),Bu.set(i.key,i)};window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var Li=function(){function i(n){var e=this;this.builders=new Map,Bu.forEach(function(t,r){e.builders.set(r,new t(n))})}return Object.defineProperty(i.prototype,"size",{get:function(){return this.builders.size},enumerable:!1,configurable:!0}),i.prototype.getBuilderByKey=function(n){return this.builders.get(n)},i.prototype.getBuilderByScaffoldSetting=function(n){return this.builders.get(n.dsType)},i.prototype.getBuilderBySchema=function(n,e){var t,r,o;try{for(var d=qa(Array.from(this.builders.entries())),c=d.next();!c.done;c=d.next()){var l=U(c.value,2),s=l[0],u=l[1];if(u.match(n,e)){o=u;break}}}catch(h){t={error:h}}finally{try{c&&!c.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return o||this.getDefaultBuilder()},i.prototype.getDefaultBuilderKey=function(){var n,e,t,r=Array.from(this.builders.entries()).filter(function(c){var l,s=U(c,2);s[0];var u=s[1];return((l=u==null?void 0:u.disabledOn)===null||l===void 0?void 0:l.call(u))!==!0}),o=U((t=(n=r.find(function(c){var l=U(c,2);l[0];var s=l[1];return s.isDefault===!0}))!==null&&n!==void 0?n:(e=r.sort(function(c,l){var s,u;return((s=c[1].order)!==null&&s!==void 0?s:0)-((u=l[1].order)!==null&&u!==void 0?u:0)}))===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:[],2),d=o[0];return o[1],d},i.prototype.getDefaultBuilder=function(){var n,e,t,r=Array.from(this.builders.entries()).filter(function(c){var l,s=U(c,2);s[0];var u=s[1];return((l=u==null?void 0:u.disabledOn)===null||l===void 0?void 0:l.call(u))!==!0}),o=U((t=(n=r.find(function(c){var l=U(c,2);l[0];var s=l[1];return s.isDefault===!0}))!==null&&n!==void 0?n:(e=r.sort(function(c,l){var s,u;return((s=c[1].order)!==null&&s!==void 0?s:0)-((u=l[1].order)!==null&&u!==void 0?u:0)}))===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:[],2);o[0];var d=o[1];return d},i.prototype.getAvailableBuilders=function(){return Array.from(this.builders.entries()).filter(function(n){var e,t=U(n,2);t[0];var r=t[1];return((e=r==null?void 0:r.disabledOn)===null||e===void 0?void 0:e.call(r))!==!0}).sort(function(n,e){var t,r;return((t=n[1].order)!==null&&t!==void 0?t:0)-((r=e[1].order)!==null&&r!==void 0?r:0)})},i.prototype.getDSSelectorSchema=function(n,e){var t,r,o=e||{},d=o.schema,c=o.sourceKey,l=o.getDefautlValue,s=this.getAvailableBuilders(),u=d==null?void 0:d.dsType,h=[];try{for(var p=qa(s),g=p.next();!g.done;g=p.next()){var w=U(g.value,2),x=w[0],O=w[1];d&&!u&&(l&&typeof l=="function"&&l(x,O)||O.match(d,c))&&(u=x),h.push({label:O.name,value:x})}}catch(I){t={error:I}}finally{try{g&&!g.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return y(y({type:"radios",label:a("a094e5b7699ea4b61094cc4120170423"),name:"dsType",visible:h.length>0,options:h},u?{value:u}:{}),n)},i.prototype.buildCollectionFromBuilders=function(n){var e=this.getAvailableBuilders(),t=e.map(function(r,o){var d=U(r,2),c=d[0],l=d[1];return n(l,c,o)}).filter(Boolean);return t},i}();window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var XA=function(i){q(n,i);function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.isDefault=!0,e.name=a("45f3a444853a11667f97e941b53266b0"),e.order=1,e.features=["List","Insert","View","Edit","Delete","BulkEdit","BulkDelete","SimpleQuery"],e}return Object.defineProperty(n.prototype,"key",{get:function(){return this.constructor.key},enumerable:!1,configurable:!0}),n.prototype.match=function(e,t){var r=t&&typeof t=="string"?t:"api",o=e==null?void 0:e[r];if((e==null?void 0:e.dsType)!=null||(o==null?void 0:o.sourceType)!=null)return(e==null?void 0:e.dsType)===this.key||(o==null?void 0:o.sourceType)===this.key;if(Xa(o)&&(o.jsonql!=null||o.strategy!=null))return!1;var d=typeof o=="string"?o:Xa(o)&&(o==null?void 0:o.url)||"";return!!(typeof d=="string"&&(/^(get|post|put|delete|patch|option|jsonp):/.test(o)||!~d.indexOf("api://")))},n.prototype.getContextFields=function(e){return ve(this,void 0,void 0,function(){return he(this,function(t){return[2,[]]})})},n.prototype.getAvailableContextFields=function(e,t){return ve(this,void 0,void 0,function(){return he(this,function(r){return[2]})})},n.prototype.getCRUDListFields=function(e){var t;return ve(this,void 0,void 0,function(){var r,o,d,c,l,s;return he(this,function(u){return r=e||{},o=r.schema,d=r.controlSettings,c=(d||{}).fieldMapper,l=(t=o==null?void 0:o.columns)!==null&&t!==void 0?t:[],s=[],l.forEach(function(h){var p=od(c)?c(h):!1;p!==!1&&s.push(p)}),[2,s]})})},n.prototype.getCRUDSimpleQueryFields=function(e){var t,r;return ve(this,void 0,void 0,function(){var o,d,c,l,s,u;return he(this,function(h){return o=e||{},d=o.schema,c=o.controlSettings,l=(c||{}).fieldMapper,s=d!=null&&d.filter?Array.isArray(d.filter)?d.filter.find(function(p){return p.behavior&&Array.isArray(p.behavior)&&p.type==="form"}):((t=d.filter)===null||t===void 0?void 0:t.type)==="form"?d.filter:void 0:void 0,u=[],((r=s==null?void 0:s.body)!==null&&r!==void 0?r:[]).forEach(function(p){if(!(p.type==="condition-builder"||p.behavior===Se.AdvancedQuery)){var g=od(l)?l(p):!1;g!==!1&&u.push(g)}}),[2,u]})})},n.prototype.makeSourceSettingForm=function(e){var t=e||{},r=t.feat,o=t.renderer,d=t.inScaffold,c=t.sourceSettings,l=t.sourceKey;if(!r)return[];var s=c||{},u=s.label,h=s.name,p=s.renderLabel,g=s.labelClassName,w=s.mode,x=s.horizontalConfig,O=s.visibleOn,I=o==="crud",S=u??(I&&r!=="List"?this.getFeatLabelByKey(r)+a("54ea89b497ec3bb319c68844dfa3687f"):a("54ea89b497ec3bb319c68844dfa3687f")),N=S;r==="Insert"?N=W(S,`用来保存数据, 表单提交后将数据传入此接口。
+`)[1]))},3e3),eg=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={wrongSchema:"",value:e.props.value,contents:e.obj2str(e.props.value,e.props)},e.toDispose=[],e.uri="isuda://schema/".concat(oi(),".json"),e.emitChange=It(function(){var t=e.props,r=t.onChange,o=t.value,d=e.str2obj(e.state.contents);if(d&&(vn(d)||Xr(d))){e.setState({wrongSchema:""}),delete d.$schema,d=al(d,e.props.value);var c=Va(e.lastResult||o,d);e.lastResult=d,r(d,c)}else e.setState({wrongSchema:e.state.contents})},250,{trailing:!0,leading:!1}),e.editorFactory=function(t,r,o){var d=r.Uri.parse(e.uri);return e.model=r.editor.createModel(e.state.contents,"json",d),r.editor.create(t,y(y({autoIndent:!0,formatOnType:!0,formatOnPaste:!0,selectOnLineNumbers:!0,scrollBeyondLastLine:!1,folding:!0,scrollbar:{alwaysConsumeMouseWheel:!1},minimap:{enabled:!1}},o),{model:e.model}))},e.editorDidMount=function(t,r){e.editor=t,e.monaco=r,e.changeJsonOptions(e.props),e.props.onPaste&&e.toDispose.push(e.editor.onDidPaste(e.props.onPaste).dispose)},e.editorWillUnmount=function(t,r){e.toDispose.forEach(function(o){return o()}),e.toDispose=[]},e.handleChange=function(t){e.setState({contents:t},e.emitChange)},e.handleBlur=function(){return ve(e,void 0,void 0,function(){var t,r,o;return he(this,function(d){switch(d.label){case 0:return t=this.state,r=t.wrongSchema,o=t.value,r?[4,SI([{className:"w-full",type:"tpl",label:!1,tpl:a("7e4b38ba0ab9cbfcabd9dd859e36b601")},{type:"switch",label:!1,option:a("af86ad9dd8a221f931dcdc5a63382b6f"),name:"diff",value:!1},{visibleOn:"this.diff",label:!1,type:"diff-editor",allowFullscreen:!0,disabled:!0,name:"newValue",size:"xxl",language:"json",diffValue:"${oldValue}"}],{oldValue:o,newValue:r},a("43d586cd6cf1a512c0bcb85ed9efde51"))]:[2];case 1:return d.sent()?this.setState({wrongSchema:"",contents:Qc(o)}):this.editor.focus(),[2]}})})},e}return q(n,i),n.prototype.componentDidUpdate=function(e){var t=this.props;e.$schema!==t.$schema&&this.monaco&&this.changeJsonOptions(t),i6(t.value,e.value)&&i6(t.value,this.lastResult)&&(this.lastResult=null,this.setState({value:t.value,contents:this.obj2str(t.value,t)}))},n.prototype.obj2str=function(e,t){var r;return e=al(e),Xr(e)||(e=y({type:e==null?void 0:e.type},e)),Xr(e)||(!e.type&&(!((r=t.$schema)===null||r===void 0)&&r.match(/PageSchema/i))?e.type="page":e.type||delete e.type,delete e.$schema),Qc(e)},n.prototype.str2obj=function(e){try{if(e==="")return{};var t=z2(e);return Ff&&Ff.cancel(),t}catch(r){return Ff(r),null}},n.prototype.changeJsonOptions=function(e){var t;return e===void 0&&(e=this.props),ve(this,void 0,void 0,function(){var r,o,d;return he(this,function(c){switch(c.label){case 0:return r=this.monaco,(o=e.$schemaUrl||"".concat(window.location.protocol,"//").concat(window.location.host,"/schema.json")).indexOf("/")===0&&(o="".concat(window.location.protocol,"//").concat(window.location.host).concat(o)),[4,HA(o,e.$schema,r.Uri.parse(this.uri).toString(),(t=r.languages.json)===null||t===void 0?void 0:t.jsonDefaults.diagnosticsOptions.schemas)];case 1:return d=c.sent(),r.languages.json.jsonDefaults.setDiagnosticsOptions({schemas:d,validate:!0,enableSchemaRequest:!0,allowComments:!0}),[2]}})})},n.prototype.render=function(){var e=this.props,t=e.disabled,r=e.className,o=e.theme;return v.createElement(fb,{className:de("amis-code-editor",r),value:this.state.contents,onChange:this.handleChange,onBlur:this.handleBlur,language:"json",theme:o,editorFactory:this.editorFactory,editorDidMount:this.editorDidMount,editorWillUnmount:this.editorWillUnmount,options:{automaticLayout:!0,lineNumbers:"off",glyphMargin:!1,tabSize:2,wordWrap:"on",lineDecorationsWidth:0,lineNumbersMinChars:0,selectOnLineNumbers:!0,scrollBeyondLastLine:!1,folding:!0,minimap:{enabled:!1},readOnly:t}})},n}(v.Component),WA=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.handleCodePaste=function(){var e=this;setTimeout(function(){e.props.manager.patchSchema(!0)},500)},n.prototype.render=function(){var e=this.props,t=e.onChange,r=e.manager,o=e.store;return v.createElement("div",{className:"ae-CodePanel"},v.createElement("div",{className:"panel-header"},a("5b804b05e14aaacc75033a4f77fc2844")),v.createElement("div",{className:"ae-CodePanel-content"},v.createElement(eg,{value:o.valueWithoutHiddenProps,onChange:t,$schema:o.jsonSchemaUri,$schemaUrl:r.config.$schemaUrl,onPaste:this.handleCodePaste})))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"handleCodePaste",null),n}(v.Component);le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e}return q(n,i),n.prototype.buildJSONSchema=function(e){return e.info.$schema},n.prototype.buildEditorPanel=function(e,t){e.info;var r=e.selections;this.manager.store.jsonSchemaUri&&!r.length&&t.push({key:"code",icon:"png-icon code-png",title:v.createElement("span",{className:"editor-tab-icon","editor-tooltip":a("06e004ef21414c06d3e4ff2cefaf6a04")},v.createElement(xe,{icon:"editor-code"})),position:"left",component:Qv(WA),order:5e3})},n.scene=["layout"],n}(ue));var UA=v.lazy(function(){return mI(()=>import("./main-dab188d5.js").then(i=>i.m),["assets/main-dab188d5.js","assets/index-a61a86fd.js","assets/index-42fdf5e4.css"]).then(hI)});le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.dataViewer={type:"json",name:"ctx",asFormItem:!0,className:"m-b-none",component:function(t){for(var r=t.value,o=U(v.useState(0),2),d=o[0],c=o[1],l=r||{},s=[l];Object.getPrototypeOf(l)!==Object.prototype;){var u=Object.getPrototypeOf(l);if(Object.prototype.toString.call(u)!=="[object Object]")break;s.push(u),l=u}return v.createElement("div",{className:"aeDataChain"},v.createElement("div",{className:"aeDataChain-aside"},v.createElement("ul",null,s.map(function(h,p){return v.createElement("li",{className:p===d?"is-active":"",key:p,onClick:function(){return c(p)}},p===0?a("48ac479789304b37afa2f1b06642f4da"):p===1?a("9bc16c658ab8a8c4eddc5e24d85bef20"):a("af767b7e4ae069d54f9ea839858d4c6d").concat(p,"层"))}))),v.createElement("div",{className:"aeDataChain-main"},v.createElement(v.Suspense,{fallback:v.createElement("div",null,"...")},v.createElement(UA,{name:!1,src:s[d],enableClipboard:!1,iconStyle:"square",collapsed:2}))))}},e}return q(n,i),n.prototype.buildEditorToolbar=function(e,t){var r=this;e.id,e.schema;var o=e.node.getComponent();o&&o.props&&o.props.data&&o.props.store&&(o.props.store,t.push({icon:"fa fa-bug",order:-1e3,placement:"bottom",tooltip:a("aa920263020f14211a44ea172efc7253"),onClick:function(){return r.openDebugForm(o.props.data)}}))},n.prototype.openDebugForm=function(e){return ve(this,void 0,void 0,function(){return he(this,function(t){switch(t.label){case 0:return[4,this.manager.scaffold({title:a("aa920263020f14211a44ea172efc7253"),body:[y({},this.dataViewer)]},{ctx:e})];case 1:return t.sent(),[2]}})})},n.scene=["layout"],n.id="data-debug",n}(ue)),le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e.rendererName="error",e.name="Error",e.isBaseComponent=!0,e}return q(n,i),n.scene=["layout"],n}(ue));var qA=function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.state={curSearchElemKey:""},e}return q(n,i),n.prototype.handleClick=function(e){var t=this.props.store,r=e.currentTarget,o=r.getAttribute("data-node-id"),d=r.getAttribute("data-node-region");this.props.manager,d?t.activeId===o&&t.activeRegion===d?t.setActiveId(o):t.setActiveId(o,d):t.setActiveId(o)},n.prototype.handleDialogNodeClick=function(e,t){this.props.store.setPreviewDialogId(t.$$id)},n.prototype.handleEnter=function(e){var t=e.currentTarget,r=t.getAttribute("data-node-id"),o=t.getAttribute("data-node-region");this.props.store.setHoverId(r,o)},n.prototype.handleTabChange=function(e){var t=this.props.store;e&&Bt(t)&&(t.changeOutlineTabsKey(e),e==="component-outline"&&t.setPreviewDialogId())},n.prototype.handleDragStart=function(e){var t=e.currentTarget.getAttribute("data-node-id");t&&this.props.manager.startDrag(t,e)},n.prototype.handleDragOver=function(e){var t=e.target.closest("[data-node-id][data-node-region]");if(t){var r=this.props.manager,o=t.getAttribute("data-node-id"),d=t.getAttribute("data-node-region");e.preventDefault(),o&&d&&r.dnd.switchToRegion(e.nativeEvent,o,d)}},n.prototype.handleDrop=function(e){this.props.manager.dnd.drop(e.nativeEvent)},n.prototype.handleSearchElemKeyChange=function(e){this.setState({curSearchElemKey:e})},n.prototype.clearSearchElemKey=function(){this.setState({curSearchElemKey:""})},n.prototype.renderTitleByKeyword=function(e,t){if(t&&~e.indexOf(t)){var r=e.indexOf(t),o=r+t.length;return v.createElement("span",null,e.substring(0,r),v.createElement("span",{className:"has-keywords"},t),e.substring(o))}return e},n.prototype.renderItem=function(e,t,r){var o,d=this,c=this.props.store,l=this.state.curSearchElemKey,s=!c.dragging&&e.singleRegion?e.uniqueChildren[0].uniqueChildren:e.uniqueChildren,u=s.length;return!c.dragging||e.isRegion||e.children.length?v.createElement("li",{className:de("ae-Outline-node",{"is-folded":e.folded,"is-active":c.activeId===e.id&&!e.region||e.isRegion&&c.dropId===e.id&&c.dropRegion===e.region||e.isRegion&&c.activeId===e.id&&c.activeRegion===e.region,"is-region":e.isRegion,"is-hover":!e.isRegion&&(c.isHoved(e.id)||c.isContextOn(e.id)),"has-children":u,"is-dragging":c.dragId===e.id&&c.dragType==="schema"}),key:t},v.createElement("a",{onClick:this.handleClick,onMouseEnter:this.handleEnter,"data-node-id":e.id,"data-node-region":e.region,"data-node-common-config":(o=e.schema)===null||o===void 0?void 0:o.$$commonSchema,draggable:e.draggable,onDragStart:this.handleDragStart},u?v.createElement("span",{onClick:e.toggleFold,className:de("ae-Outline-expander ae-Outline-node-icon",{"is-folded":e.folded}),"data-node-id":e.id,"data-node-region":e.region},v.createElement(xe,{icon:"down-arrow"})):null,v.createElement("span",{className:"ae-Outline-node-text"},e.isCommonConfig?"".concat(e.label,"-[公共配置]"):this.renderTitleByKeyword(this.getDialogNodeLabel(e,r),l))),u?v.createElement("ul",{className:"ae-Outline-sublist"},s.map(function(h,p){return d.renderItem(h,p,r)})):null):null},n.prototype.getDialogNodeLabel=function(e,t){return t?this.getDialogLabel(e,!0,"dialogTitle"):e.label},n.prototype.getDialogLabel=function(e,t,r){r===void 0&&(r="title");var o="";return t&&(o=e.label),e.type!=="dialog"&&e.type!=="drawer"||(!t||t&&!e.region)&&(o=e.type==="drawer"?"".concat(e[r]||a("7336083e6c61fe75fb5ec3f5ef101ac7"),"(抽屉式弹窗)"):e.dialogType==="confirm"?"".concat(e[r]||a("fa6b01f51cc2b8e16bfbb914b6c08ace"),"(确认对话框)"):"".concat(e[r]||a("6cff4b6d794cc17f5d24dbe0d21e5732"),"(弹窗)")),o},n.prototype.renderDialogItem=function(e,t){var r=this,o=this.props.store,d=o.root.children,c=e.$$id===o.previewDialogId,l=this.getDialogLabel(e,!1);return d!=null&&d.length&&c?this.renderItem(d[0],t,"dialog"):v.createElement("li",{className:de("ae-Outline-node"),key:t},v.createElement("a",{onClick:function(s){return r.handleDialogNodeClick(s,e)}},v.createElement("span",{className:"ae-Outline-node-text"},this.renderTitleByKeyword(l,this.state.curSearchElemKey))))},n.prototype.render=function(){var e=this,t=this.state.curSearchElemKey,r=this.props.store,o=r.outlineTabsKey||"component-outline",d=r.outline,c=r.dialogOutlineList;return v.createElement("div",{className:"ae-Outline-panel"},v.createElement("div",{className:"panel-header"},a("c65e6ddd7b48846aa1e5224d4e5743c1")),v.createElement(Cl,{className:"ae-outline-tabs",linksClassName:"ae-outline-tabs-header",contentClassName:"ae-outline-tabs-content",tabsMode:"line",onSelect:this.handleTabChange,activeKey:o},v.createElement(mr,{className:"ae-outline-tabs-panel",key:"component-outline",eventKey:"component-outline",title:a("67bcc69dd0a75d50c5cbb7f107ee9f63")},v.createElement(ci,{className:"editor-InputSearch",value:t,onChange:this.handleSearchElemKeyChange,placeholder:a("962d43ff8d39c381d8e2c73838412111"),clearable:!1},t?v.createElement("a",{onClick:this.clearSearchElemKey},v.createElement(xe,{icon:"close",className:"icon"})):v.createElement(xe,{icon:"editor-search",className:"icon"})),v.createElement("hr",{className:"margin-top"}),v.createElement("div",{className:de("ae-Outline","hoverShowScrollBar",{"ae-Outline--draging":r.dragging}),onDragOver:this.handleDragOver,onDrop:this.handleDrop},r.dragging?v.createElement("div",{className:"ae-Outline-tip"},a("0c95d1856ffdeeade7cebe0ef928f361")):null,d.length?v.createElement("ul",{className:"ae-Outline-list"},d.map(function(l,s){return e.renderItem(l,s)})):v.createElement("div",null,a("c482df2a3ac8e014febd8a5fc9cadaea")))),v.createElement(mr,{className:"ae-outline-tabs-panel",key:"dialog-outline",eventKey:"dialog-outline",title:a("80e73cda4bd12532252652b4e19bb39b")},v.createElement(ci,{className:"editor-InputSearch",value:t,onChange:this.handleSearchElemKeyChange,placeholder:a("962d43ff8d39c381d8e2c73838412111"),clearable:!1},t?v.createElement("a",{onClick:this.clearSearchElemKey},v.createElement(xe,{icon:"close",className:"icon"})):v.createElement(xe,{icon:"editor-search",className:"icon"})),v.createElement("hr",{className:"margin-top"}),v.createElement("div",{className:de("ae-Outline","hoverShowScrollBar",{"ae-Outline--draging":r.dragging}),onDragOver:this.handleDragOver,onDrop:this.handleDrop},c.length?v.createElement("ul",{className:"ae-Outline-list"},c.map(function(l,s){return e.renderDialogItem(l,s)})):v.createElement("div",null,a("21efd88b67a39834582ad99aabb9dc60"))))))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object,Object]),E("design:returntype",void 0)],n.prototype,"handleDialogNodeClick",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleEnter",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleTabChange",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragStart",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDragOver",null),j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"handleDrop",null),j([X,E("design:type",Function),E("design:paramtypes",[String]),E("design:returntype",void 0)],n.prototype,"handleSearchElemKeyChange",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"clearSearchElemKey",null),j([X,E("design:type",Function),E("design:paramtypes",[String,String]),E("design:returntype",void 0)],n.prototype,"renderTitleByKeyword",null),n=j([wa],n)}(v.Component);le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=-9999,e}return q(n,i),n.prototype.buildEditorPanel=function(e,t){var r=this.manager.store;if(r&&e.selections.length){var o=r.changeLeftPanelOpenStatus,d=r.changeLeftPanelKey;o(!0),d("outline")}t.push({key:"outline",icon:"png-icon outline-png",title:v.createElement("span",{className:"editor-tab-icon","editor-tooltip":a("93383ef1ab4a433df97a56a73e571b9f")},v.createElement(xe,{icon:"editor-outline"})),component:Qv(qA),position:"left",order:4e3})},n.scene=["layout"],n}(ue)),le(function(i){function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.order=9999,e}return q(n,i),n.prototype.getRendererInfo=function(e){var t=e.renderer,r=e.schema,o=e.path;if(r.$$id&&t)return/(^|\/)static\-field/.test(o)||t.name==="card-item"||t.name==="list-item-field"||t.name==="card-item-field"?void 0:{name:"Unknown",$schema:"/schemas/UnkownSchema.json"}},n.scene=["layout"],n}(ue));var ag={};function f(i,n,e){var t=ag[i]||{};return typeof t=="function"?t(n,e):n?y(y({},t),n):t}function Y(i,n){ag[i]=n}function Rn(i){try{return i==="undefined"?void 0:JSON.parse(i)}catch{return i}}function ir(i){return Array.isArray(i)?i.length?i:void 0:typeof i=="string"?i||void 0:typeof i=="object"?Object.keys(i).length?i:void 0:i}function G(i,n){return n===void 0&&(n=!0),n?function(e){return e===void 0?i:e}:function(e){return e||i}}function W(i,n,e){return{type:"tooltip-wrapper",tooltip:n,tooltipTheme:"dark",placement:"top",tooltipStyle:y({fontSize:"12px"},e||{}),className:"ae-formItemControl-label-tip",body:i}}function Rt(i){var n,e="data:image/svg+xml,%3C%3Fxml version='1.0' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg t='1631083237695' class='icon' viewBox='0 0 1024 1024' version='1.1' xmlns='http://www.w3.org/2000/svg' p-id='2420' xmlns:xlink='http://www.w3.org/1999/xlink' width='1024' height='1024'%3E%3Cdefs%3E%3Cstyle type='text/css'%3E%3C/style%3E%3C/defs%3E%3Cpath d='M959.872 128c0.032 0.032 0.096 0.064 0.128 0.128v767.776c-0.032 0.032-0.064 0.096-0.128 0.128H64.096c-0.032-0.032-0.096-0.064-0.128-0.128V128.128c0.032-0.032 0.064-0.096 0.128-0.128h895.776zM960 64H64C28.8 64 0 92.8 0 128v768c0 35.2 28.8 64 64 64h896c35.2 0 64-28.8 64-64V128c0-35.2-28.8-64-64-64z' p-id='2421' fill='%23bfbfbf'%3E%3C/path%3E%3Cpath d='M832 288c0 53.024-42.976 96-96 96s-96-42.976-96-96 42.976-96 96-96 96 42.976 96 96zM896 832H128V704l224-384 256 320h64l224-192z' p-id='2422' fill='%23bfbfbf'%3E%3C/path%3E%3C/svg%3E";return i.type==="date"||i.type==="datetime"||i.type==="time"||i.type==="month"||i.type==="static-date"||i.type==="static-datetime"||i.type==="static-time"||i.type==="static-month"||i.type==="input-date"||i.type==="input-datetime"||i.type==="input-time"||i.type==="input-month"?EI().format("X"):i.type==="image"||i.type==="static-image"?e:i.type==="images"||i.type==="static-images"?[e]:i.type==="number"||i.type==="input-number"?(1e3*Math.random()).toFixed((n=i.precision)!==null&&n!==void 0?n:0):a("6cb01692eea2fa7066d20fe2b6ccaea3")}(function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n})(ue);(function(i){function n(e){var t=i.call(this,e)||this;return t.manager.on("build-panels",t.buildPanels),t}return q(n,i),n.prototype.componentWillUnmount=function(){this.manager.off("build-panels",this.buildPanels)},n.prototype.buildPanels=function(e){var t=e.context.data;Array.isArray(t)&&t.splice(0,t.length)},n.prototype.render=function(){var e=this.props,t=e.preview,r=e.className,o=e.theme,d=e.data,c=e.isMobile,l=e.autoFocus,s=e.previewProps;return v.createElement("div",{className:de("ae-Editor",{preview:t},r)},v.createElement("div",{className:"ae-Editor-inner",onContextMenu:this.handleContextMenu},v.createElement("div",{className:"ae-Main"},v.createElement(Wv,y({},s,{isMobile:c,editable:!t,store:this.store,manager:this.manager,theme:o,data:d,autoFocus:l})))),v.createElement(Jv,{store:this.store,manager:this.manager,theme:o}),v.createElement(Zv,{store:this.store,manager:this.manager,theme:o}))},j([X,E("design:type",Function),E("design:paramtypes",[Object]),E("design:returntype",void 0)],n.prototype,"buildPanels",null),n})(G2);var Wn=function(i){function n(){return i!==null&&i.apply(this,arguments)||this}return q(n,i),n.prototype.UNSAFE_componentWillMount=function(){var e=this,t=this.props;t.data,t.path;var r=t.widthMutable,o=Ia(t,["data","path","widthMutable"]),d=this.context;this.editorNode=d.addChild({id:o.id,type:o.type,label:o.name,path:this.props.path,schemaPath:o.schemaPath,info:o,getData:function(){return e.props.data},widthMutable:r,memberIndex:o.memberIndex})},n.prototype.componentDidMount=function(){this.markDom(this.editorNode.id)},n.prototype.componentDidUpdate=function(){this.markDom(this.editorNode.id)},n.prototype.componentWillUnmount=function(){this.editorNode&&Bt(this.editorNode)&&this.context.removeChild(this.editorNode)},n.prototype.markDom=function(e){var t=ma.findDOMNode(this);if(t){var r=this.editorNode.info,o=r.wrapperResolve?r.wrapperResolve(t):t;(Array.isArray(o)?o:o?[o]:[]).forEach(function(d){return d.setAttribute("data-editor-id",e)})}},n.prototype.render=function(){return v.createElement(co.Provider,{value:this.editorNode},this.props.children)},n.contextType=co,n}(v.Component),GA=[{title:a("79d3abe929f67f0644a78bf32adb3a89"),letters:["⌘","c"],tooltip:a("b7d817611230d382f6ef92b41848a342")},{title:a("eafbece1016a6af76cce466e55ad9f00"),letters:["⌘","v"],tooltip:a("e0b9bb8e41eccd3ce6b282664643d7f8")},{title:a("43fc77886b7fbcd658f0ccdba36bd5a0"),letters:["⌘","x"],tooltip:a("a6be4ad12e9612811963c44466af3218")},{title:a("bd9fcf46b4e5993f97fe04ee9ebcd7ed"),letters:["⌘","z"],tooltip:a("58887132871b71b015c3a391e7755815")},{title:a("c3c873d33f1c6482c79b0ffd862786cd"),letters:["⌘","Shift","z"],tooltip:a("58887132871b71b015c3a391e7755815")},{title:a("be5fbbe34ce9979bfb6576d9eddc5612"),letters:["⌘","s"],tooltip:a("1f81fd4598e9151538f29c41b8aa0020")},{title:a("34d240d1ded259c32f7fee21e99c5671"),letters:["⌘","p"],tooltip:a("6722089d251c1e4aabe9d58c26a2208a")},{title:a("2f4aaddde33c9b93c36fd2503f3d122b"),letters:["Delete"],tooltip:a("426cd14ebd62a4922186527d07ba37f3")},{title:a("2f4aaddde33c9b93c36fd2503f3d122b"),letters:["Backspace"],tooltip:a("426cd14ebd62a4922186527d07ba37f3")},{title:a("499e58e764420aeed2d1476a56d8fa34"),letters:["⌘","↑"],tooltip:a("d040485f0e3887f0b297f8f772db03e4")},{title:a("08ad565f066d30572d1f8e2ee17cbe12"),letters:["⌘","↓"],tooltip:a("6348dc0e83d6ab391a8816f67d0e5ceb")}];(function(i){function n(e){var t=i.call(this,e)||this;return t.state={visible:!1},t}return q(n,i),n.prototype.closeShortcutKeyModal=function(){this.setState({visible:!1})},n.prototype.showShortcutKeyModal=function(){this.setState({visible:!0})},n.prototype.render=function(){var e=this.props,t=e.title,r=e.size,o=e.closeOnEsc,d=e.closeOnOutside,c=this.props.ShortcutKeyList||GA;return v.createElement(v.Fragment,null,v.createElement("div",{className:"shortcut-icon-btn","editor-tooltip":a("fbec96e028142496df88ed2c63b44512"),"tooltip-position":"bottom"},v.createElement(xe,{icon:"editor-shortcut",onClick:this.showShortcutKeyModal})),v.createElement(dt,{size:r||"xs",show:this.state.visible,closeOnEsc:o==null||o,closeOnOutside:d==null||d,onHide:this.closeShortcutKeyModal,contentClassName:"shortcut-list-modal"},v.createElement("div",{className:"shortcut-modal-header"},v.createElement("div",{className:"shortcut-modal-title"},t||a("9c3f1278ffa822835bb3a677f02bca27")),v.createElement(xe,{icon:"close",className:"shortcut-modal-icon",onClick:this.closeShortcutKeyModal})),v.createElement("div",{className:"shortcut-modal-body"},c&&c.length>0&&v.createElement("div",{className:"shortcut-list"},c.map(function(l,s){return v.createElement("div",{className:"shortcut-item",key:s},l.tooltip&&v.createElement("div",{className:"shortcut-title","editor-tooltip":l.tooltip},l.title),!l.tooltip&&v.createElement("div",{className:"shortcut-title"},l.title),v.createElement("div",{className:"shortcut-letters"},l.letters.map(function(u){return v.createElement("div",{className:"shortcut-letter",key:u},u)})))})),!c||c.length===0&&v.createElement("span",null,a("4e98a5dcd3defffb23629fce3add04f6")))))},j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"closeShortcutKeyModal",null),j([X,E("design:type",Function),E("design:paramtypes",[]),E("design:returntype",void 0)],n.prototype,"showShortcutKeyModal",null),n})(v.Component);var v4;(function(i){i.create="create",i.view="view",i.update="update",i.table="table",i.filter="filter"})(v4||(v4={}));var g4;(function(i){i.entity="entity",i.list="list",i.piece="piece"})(g4||(g4={}));var Dn={List:{value:"list",label:a("3712972d84adf48acbd6ad24b4d75ad0")},Insert:{value:"insert",label:a("66ab5e9f24c8f46012a25c89919fb191")},View:{value:"view",label:a("f26225bde6a250894a04db4c53ea03d0")},Edit:{value:"edit",label:a("95b351c86267f3aedf89520959bce689")},Delete:{value:"delete",label:a("2f4aaddde33c9b93c36fd2503f3d122b")},BulkEdit:{value:"bulkEdit",label:a("e73cefac9d030927da1618c7b15c98c9")},BulkDelete:{value:"bulkDelete",label:a("7fb62b30119c3797a843a48368463314")},Import:{value:"import",label:a("8d9a071ee2ef45e045968e117a205c07")},Export:{value:"export",label:a("55405ea6ff6fd823ffab7e6b10ddfa95")},SimpleQuery:{value:"simpleQuery",label:a("c26996a6506adf397f0668d376d0b40b")},FuzzyQuery:{value:"fuzzyQuery",label:a("6ff4bf3d567e977aa4c90c27dff1e6db")},AdvancedQuery:{value:"advancedQuery",label:a("9c4666fd08c2738eb9611a3721cb5f0f")}},Se;(function(i){i.List="List",i.Insert="Insert",i.View="View",i.Edit="Edit",i.Delete="Delete",i.BulkEdit="BulkEdit",i.BulkDelete="BulkDelete",i.Import="Import",i.Export="Export",i.SimpleQuery="SimpleQuery",i.FuzzyQuery="FuzzyQuery",i.AdvancedQuery="AdvancedQuery"})(Se||(Se={}));var rr={cancel:{label:a("625fb26b4b3340f7872b411f401e754c"),value:"cancel",order:0,schema:{level:"default"}},reset:{label:a("4b9c3271dc2f299dc3aeffb369187513"),value:"reset",order:1,schema:{level:"default"}},submit:{label:a("939d5345ad4345dbaabe14798f6ac0f1"),value:"submit",order:2,schema:{level:"primary"}}},Fn="model-entity",K2="api";window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var KA=function(i){var n;return"".concat((n=Dn==null?void 0:Dn[i])===null||n===void 0?void 0:n.value)},YA=function(i){var n;return"".concat((n=Dn==null?void 0:Dn[i])===null||n===void 0?void 0:n.label)},Ru=function(i,n,e){var t,r;e===void 0&&(e=new WeakMap);var o={};if(e.has(i))return e.get(i);e.set(i,o);var d=function(O){return O.map(function(I){return bb(I)?Ru(I,n,e):I})};if(Array.isArray(i))return d(i);try{for(var c=qa(Object.entries(i)),l=c.next();!l.done;l=c.next()){var s=U(l.value,2),u=s[0],h=s[1],p=n(u,h,i),g=U(p,2),w=g[0],x=g[1];w!=="__proto__"&&(bb(x)&&(x=Array.isArray(x)?d(x):Ru(x,n,e)),o[w]=x)}}catch(O){t={error:O}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(t)throw t.error}}return o},Ii=function(i,n){return!bb(i)||Array.isArray(i)?i:Ru(i,n)},y4=function(i){if(!i||typeof i!="string")return i;var n={tpl:"input-text",image:"input-image",date:"input-date",progress:"input-number",status:"tag",mapping:"tag",list:"input-table"};return n.hasOwnProperty(i)?n[i]:i};window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var JA=function(){function i(n){this.manager=n}return Object.defineProperty(i.prototype,"key",{get:function(){return this.constructor.key},enumerable:!1,configurable:!0}),i.prototype.getFeatValueByKey=function(n){return KA(n)},i.prototype.getFeatLabelByKey=function(n){return YA(n)},i.prototype.filterByFeat=function(n){return n&&this.features.includes(n)},i}(),Bu=new Map,ZA=function(i){Bu.has(i.key)&&console.warn("[amis-editor][DSBuilder] duplicate DSBuilder「".concat(i.key,"」")),Bu.set(i.key,i)};window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var Li=function(){function i(n){var e=this;this.builders=new Map,Bu.forEach(function(t,r){e.builders.set(r,new t(n))})}return Object.defineProperty(i.prototype,"size",{get:function(){return this.builders.size},enumerable:!1,configurable:!0}),i.prototype.getBuilderByKey=function(n){return this.builders.get(n)},i.prototype.getBuilderByScaffoldSetting=function(n){return this.builders.get(n.dsType)},i.prototype.getBuilderBySchema=function(n,e){var t,r,o;try{for(var d=qa(Array.from(this.builders.entries())),c=d.next();!c.done;c=d.next()){var l=U(c.value,2),s=l[0],u=l[1];if(u.match(n,e)){o=u;break}}}catch(h){t={error:h}}finally{try{c&&!c.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}return o||this.getDefaultBuilder()},i.prototype.getDefaultBuilderKey=function(){var n,e,t,r=Array.from(this.builders.entries()).filter(function(c){var l,s=U(c,2);s[0];var u=s[1];return((l=u==null?void 0:u.disabledOn)===null||l===void 0?void 0:l.call(u))!==!0}),o=U((t=(n=r.find(function(c){var l=U(c,2);l[0];var s=l[1];return s.isDefault===!0}))!==null&&n!==void 0?n:(e=r.sort(function(c,l){var s,u;return((s=c[1].order)!==null&&s!==void 0?s:0)-((u=l[1].order)!==null&&u!==void 0?u:0)}))===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:[],2),d=o[0];return o[1],d},i.prototype.getDefaultBuilder=function(){var n,e,t,r=Array.from(this.builders.entries()).filter(function(c){var l,s=U(c,2);s[0];var u=s[1];return((l=u==null?void 0:u.disabledOn)===null||l===void 0?void 0:l.call(u))!==!0}),o=U((t=(n=r.find(function(c){var l=U(c,2);l[0];var s=l[1];return s.isDefault===!0}))!==null&&n!==void 0?n:(e=r.sort(function(c,l){var s,u;return((s=c[1].order)!==null&&s!==void 0?s:0)-((u=l[1].order)!==null&&u!==void 0?u:0)}))===null||e===void 0?void 0:e[0])!==null&&t!==void 0?t:[],2);o[0];var d=o[1];return d},i.prototype.getAvailableBuilders=function(){return Array.from(this.builders.entries()).filter(function(n){var e,t=U(n,2);t[0];var r=t[1];return((e=r==null?void 0:r.disabledOn)===null||e===void 0?void 0:e.call(r))!==!0}).sort(function(n,e){var t,r;return((t=n[1].order)!==null&&t!==void 0?t:0)-((r=e[1].order)!==null&&r!==void 0?r:0)})},i.prototype.getDSSelectorSchema=function(n,e){var t,r,o=e||{},d=o.schema,c=o.sourceKey,l=o.getDefautlValue,s=this.getAvailableBuilders(),u=d==null?void 0:d.dsType,h=[];try{for(var p=qa(s),g=p.next();!g.done;g=p.next()){var w=U(g.value,2),x=w[0],O=w[1];d&&!u&&(l&&typeof l=="function"&&l(x,O)||O.match(d,c))&&(u=x),h.push({label:O.name,value:x})}}catch(I){t={error:I}}finally{try{g&&!g.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return y(y({type:"radios",label:a("a094e5b7699ea4b61094cc4120170423"),name:"dsType",visible:h.length>0,options:h},u?{value:u}:{}),n)},i.prototype.buildCollectionFromBuilders=function(n){var e=this.getAvailableBuilders(),t=e.map(function(r,o){var d=U(r,2),c=d[0],l=d[1];return n(l,c,o)}).filter(Boolean);return t},i}();window.amisEditorVersionInfo={version:"5.7.0",buildTime:"2023-12-08"};var XA=function(i){q(n,i);function n(){var e=i!==null&&i.apply(this,arguments)||this;return e.isDefault=!0,e.name=a("45f3a444853a11667f97e941b53266b0"),e.order=1,e.features=["List","Insert","View","Edit","Delete","BulkEdit","BulkDelete","SimpleQuery"],e}return Object.defineProperty(n.prototype,"key",{get:function(){return this.constructor.key},enumerable:!1,configurable:!0}),n.prototype.match=function(e,t){var r=t&&typeof t=="string"?t:"api",o=e==null?void 0:e[r];if((e==null?void 0:e.dsType)!=null||(o==null?void 0:o.sourceType)!=null)return(e==null?void 0:e.dsType)===this.key||(o==null?void 0:o.sourceType)===this.key;if(Xa(o)&&(o.jsonql!=null||o.strategy!=null))return!1;var d=typeof o=="string"?o:Xa(o)&&(o==null?void 0:o.url)||"";return!!(typeof d=="string"&&(/^(get|post|put|delete|patch|option|jsonp):/.test(o)||!~d.indexOf("api://")))},n.prototype.getContextFields=function(e){return ve(this,void 0,void 0,function(){return he(this,function(t){return[2,[]]})})},n.prototype.getAvailableContextFields=function(e,t){return ve(this,void 0,void 0,function(){return he(this,function(r){return[2]})})},n.prototype.getCRUDListFields=function(e){var t;return ve(this,void 0,void 0,function(){var r,o,d,c,l,s;return he(this,function(u){return r=e||{},o=r.schema,d=r.controlSettings,c=(d||{}).fieldMapper,l=(t=o==null?void 0:o.columns)!==null&&t!==void 0?t:[],s=[],l.forEach(function(h){var p=od(c)?c(h):!1;p!==!1&&s.push(p)}),[2,s]})})},n.prototype.getCRUDSimpleQueryFields=function(e){var t,r;return ve(this,void 0,void 0,function(){var o,d,c,l,s,u;return he(this,function(h){return o=e||{},d=o.schema,c=o.controlSettings,l=(c||{}).fieldMapper,s=d!=null&&d.filter?Array.isArray(d.filter)?d.filter.find(function(p){return p.behavior&&Array.isArray(p.behavior)&&p.type==="form"}):((t=d.filter)===null||t===void 0?void 0:t.type)==="form"?d.filter:void 0:void 0,u=[],((r=s==null?void 0:s.body)!==null&&r!==void 0?r:[]).forEach(function(p){if(!(p.type==="condition-builder"||p.behavior===Se.AdvancedQuery)){var g=od(l)?l(p):!1;g!==!1&&u.push(g)}}),[2,u]})})},n.prototype.makeSourceSettingForm=function(e){var t=e||{},r=t.feat,o=t.renderer,d=t.inScaffold,c=t.sourceSettings,l=t.sourceKey;if(!r)return[];var s=c||{},u=s.label,h=s.name,p=s.renderLabel,g=s.labelClassName,w=s.mode,x=s.horizontalConfig,O=s.visibleOn,I=o==="crud",S=u??(I&&r!=="List"?this.getFeatLabelByKey(r)+a("54ea89b497ec3bb319c68844dfa3687f"):a("54ea89b497ec3bb319c68844dfa3687f")),N=S;r==="Insert"?N=W(S,`用来保存数据, 表单提交后将数据传入此接口。
接口响应体要求(如果data中有数据,该数据将被合并到表单上下文中):
`.concat(JSON.stringify({status:0,msg:"",data:{}},null,2),"
")):r==="List"&&(N=W(S,`接口响应体要求:
`.concat(JSON.stringify({status:0,msg:"",items:{},page:0,total:0},null,2),"
")));var P=w??"horizontal",R=y(y(y({renderLabel:p??!0,label:N,name:h??(d?this.getFeatValueByKey(r)+"Api":"api"),mode:P,labelClassName:g,inputClassName:"m-b-none"},P==="horizontal"?x??{}:{}),O&&typeof O=="string"?{visibleOn:O}:{}),{onPickerConfirm:function(M){var B=M,L=function(z){var V;return"".concat(((V=z==null?void 0:z.api)===null||V===void 0?void 0:V.method)||"post",":api://").concat((z==null?void 0:z.key)||"")};return M&&(B=Array.isArray(M)?M.map(L).join(","):L(M)),B}}),_=r!==Se.View,F=(r===Se.Edit||r===Se.View)&&(o==="form"||l==="initApi"),k=r===Se.List&&o==="crud"&&!d;return K([_?f("apiControl",R):null,F?f("apiControl",y(y({},R),{name:"initApi",label:W(a("b4bc91701b86fe8543d649e97daea602"),`接口响应体要求:
diff --git a/admin-views/dist/assets/index-50f0c33d.js.gz b/admin-views/dist/assets/index-50f0c33d.js.gz new file mode 100644 index 00000000..49af655b Binary files /dev/null and b/admin-views/dist/assets/index-50f0c33d.js.gz differ diff --git a/admin-views/dist/assets/index-56e176d6.js.gz b/admin-views/dist/assets/index-56e176d6.js.gz deleted file mode 100644 index f9526200..00000000 Binary files a/admin-views/dist/assets/index-56e176d6.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/index-57c1f9ae.js.gz b/admin-views/dist/assets/index-57c1f9ae.js.gz deleted file mode 100644 index e1c7e488..00000000 Binary files a/admin-views/dist/assets/index-57c1f9ae.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/index-91036dd3.js.gz b/admin-views/dist/assets/index-91036dd3.js.gz deleted file mode 100644 index 1e976133..00000000 Binary files a/admin-views/dist/assets/index-91036dd3.js.gz and /dev/null differ diff --git a/admin-views/dist/assets/index-56e176d6.js b/admin-views/dist/assets/index-952cad48.js similarity index 99% rename from admin-views/dist/assets/index-56e176d6.js rename to admin-views/dist/assets/index-952cad48.js index 3cd7053d..f03cb456 100644 --- a/admin-views/dist/assets/index-56e176d6.js +++ b/admin-views/dist/assets/index-952cad48.js @@ -1,4 +1,4 @@ -import{aI as g,w as $t,t as Ct,p as xa,k as dt,ay as ht,az as mt}from"./index-91036dd3.js";function D(e){return e.getAttribute("w:val")||e.getAttribute("w14:val")||e.getAttribute("val")||""}function jt(e){return parseInt(D(e),10)}function mn(e,t){if(t===void 0&&(t=!1),typeof e=="boolean")return e;if(typeof e=="string"){switch(e){case"1":return!0;case"0":return!1;case"on":return!0;case"off":return!1;case"true":return!0;case"false":return!1}if(typeof e=="number")return e!==0}return t}function tt(e,t){return t===void 0&&(t=!0),mn(D(e),t)}function lt(e,t,n){return n===void 0&&(n=!0),mn(e.getAttribute(t),n)}function gn(e,t,n){n===void 0&&(n=0);var a=e.getAttribute(t);return a?parseInt(a,10):n}function P(e,t){var n=e.getAttribute(t);if(n){if(n.endsWith("%"))return parseInt(n,10)/100;var a=parseInt(n,10);return a/1e5}return 1}function oa(e){return parseInt(D(e)||"0",16)}function ya(e,t){for(var n=16,a=t.replace(/{|}|-/g,""),r=new Array(n),s=0;s.5?l/(2-a-r):l/(a+r),a){case e:s=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ye(e,t,n){e>1&&(e=e/360);var a,r,s;if(t==0)a=r=s=n;else{var x=n<.5?n*(1+t):n+t-n*t,o=2*n-x;a=oe(o,x,e+1/3),r=oe(o,x,e),s=oe(o,x,e-1/3)}return{r:a*255,g:r*255,b:s*255}}function pe(e){return e.length==1?"0"+e:""+e}function fe(e,t,n){var a=[pe(Math.round(e).toString(16)),pe(Math.round(t).toString(16)),pe(Math.round(n).toString(16))];return a.join("").toUpperCase()}function kt(e){return Math.min(Math.max(e,0),255)}var Bt=function(){function e(t){var n=t.match(/^#?([0-9a-f]{6})$/i);n&&(this.r=parseInt(n[1].substring(0,2),16),this.g=parseInt(n[1].substring(2,4),16),this.b=parseInt(n[1].substring(4,6),16),this.isValid=!0)}return e.fromHSL=function(t,n,a){var r=ye(t,n,a);return new e("#".concat(fe(r.r,r.g,r.b)))},e.fromRGB=function(t,n,a){var r=fe(t,n,a);return new e("#".concat(r))},e.prototype.lum=function(t){return this.changeHsl(t,"l","set")},e.prototype.lumMod=function(t){return this.changeHsl(t,"l","mod")},e.prototype.lumOff=function(t){return this.changeHsl(t,"l","off")},e.prototype.hue=function(t){return this.changeHsl(t,"h","set")},e.prototype.hueMod=function(t){return this.changeHsl(t,"h","mod")},e.prototype.hueOff=function(t){return this.changeHsl(t,"h","off")},e.prototype.sat=function(t){return this.changeHsl(t,"s","set")},e.prototype.satMod=function(t){return this.changeHsl(t,"s","mod")},e.prototype.satOff=function(t){return this.changeHsl(t,"s","off")},e.prototype.changeHsl=function(t,n,a){var r=Ge(this.r,this.g,this.b);a==="set"?r[n]=t:a==="mod"?r[n]=r[n]*t:a==="off"&&(r[n]+=r[n]*t);var s=ye(r.h,r.s,r.l);return this.r=s.r,this.g=s.g,this.b=s.b,this},e.prototype.comp=function(){var t=Ge(this.r,this.g,this.b);t.h=t.h+.5,t.h>1&&(t.h-=1);var n=ye(t.h,t.s,t.l);return this.r=n.r,this.g=n.g,this.b=n.b,this},e.prototype.shade=function(t){this.r=kt(this.r-256*t),this.g=kt(this.g-256*t),this.b=kt(this.b-256*t)},e.prototype.tint=function(t){this.r=kt(this.r+256*t),this.g=kt(this.g+256*t),this.b=kt(this.b+256*t)},e.prototype.inv=function(){return this.r=255-this.r,this.g=255-this.g,this.b=255-this.b,this},e.prototype.toHex=function(){return"#"+fe(this.r,this.g,this.b)},e.prototype.toRgba=function(t){return"rgba(".concat(this.r,", ").concat(this.g,", ").concat(this.b,", ").concat(t,")")},e}();function Rt(e,t){var n,a,r=new Bt(t);if(r.isValid){var s=1;try{for(var x=g(e.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:alpha":case"w14:alpha":s=P(l,"val");break;case"a:blue":r.b=256*P(l,"val");break;case"a:blueMod":r.b=r.b*P(l,"val");break;case"a:blueOff":r.b+=r.b*P(l,"val");break;case"a:comp":r.comp();break;case"a:green":r.g=256*P(l,"val");break;case"a:greenMod":r.g=r.g*P(l,"val");break;case"a:greenOff":r.g+=r.g*P(l,"val");break;case"a:red":r.r=256*P(l,"val");break;case"a:redMod":r.r=r.r*P(l,"val");break;case"a:redOff":r.r+=r.r*P(l,"val");break;case"a:lum":r.lum(P(l,"val"));break;case"a:lumMod":r.lumMod(P(l,"val"));break;case"a:lumOff":r.lumOff(P(l,"val"));break;case"a:hue":r.hue(Qt(l.getAttribute("hue"))/360);break;case"a:hueMod":r.hueMod(P(l,"val"));break;case"a:hueOff":r.hueOff(P(l,"val"));break;case"a:sat":r.sat(P(l,"val"));break;case"a:satMod":r.satMod(P(l,"val"));break;case"a:satOff":r.satOff(P(l,"val"));break;case"a:shade":r.shade(P(l,"val"));break;case"a:tint":r.tint(P(l,"val"));break;default:console.log("unknown color modify",l);break}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return s!==1?r.toRgba(s):r.toHex()}return t}function At(e,t){var n=t.firstElementChild;if(n){var a=n.tagName;switch(a){case"a:prstClr":var r=D(n)||"";if(r in Xt)return Rt(n,Xt[r]);console.warn("parseOutline: Unknown color ",r,n);break;case"a:srgbClr":case"a:scrgbClr":case"w14:srgbClr":var s=D(n);if(s)return Rt(n,"#"+s);var x=P(n,"r"),o=P(n,"g"),l=P(n,"b"),y=Bt.fromRGB(x,o,l);return Rt(n,y.toHex());case"a:hslClr":var p=P(n,"r"),f=P(n,"g"),i=P(n,"b"),c=D(n);if(c)return Rt(n,"#"+c);var d=Bt.fromHSL(p,f,i);return Rt(n,d.toHex());case"a:schemeClr":case"w14:schemeClr":var h=D(n);if(h)return Rt(n,e.getThemeColor(h));console.warn("parseOutline: Unknown schemeClr ",n);break;case"a:sysClr":return D(n);default:console.warn("parseOutline: Unknown color type ",a,n)}}return""}function ua(e,t){var n=L(e,"w:firstLine"),a=L(e,"w:hanging"),r=L(e,"w:left"),s=L(e,"w:start"),x=L(e,"w:right"),o=L(e,"w:end");n&&(t["text-indent"]=n),a&&(t["text-indent"]="-".concat(a)),(r||s)&&(t["margin-left"]=r||s),(x||o)&&(t["margin-right"]=x||o)}function va(e,t,n){var a=L(t,"w:before"),r=L(t,"w:after"),s=t.getAttribute("w:lineRule");a&&(n["margin-top"]=a),r&&(n["margin-bottom"]=r);var x=t.getAttribute("w:line");if(x){if(e.renderOptions.forceLineHeight){n["line-height"]=e.renderOptions.forceLineHeight;return}var o=parseInt(x,10),l=e.renderOptions.minLineHeight||1;switch(s){case"auto":var y=Math.max(l,o/240);n["line-height"]="".concat(y.toFixed(2));break;case"atLeast":break;default:var p=Math.max(l,o/20);n["line-height"]="".concat(p,"pt");break}}}function Ta(e){return"var(--docx-theme-font-".concat(e,")")}function Aa(e,t,n){var a,r,s=[],x=e.renderOptions.fontMapping;try{for(var o=g(t.attributes),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.name,f=y.value;switch(p){case"w:ascii":case"w:cs":case"w:eastAsia":x&&f in x&&(f=x[f]),f.indexOf(" ")===-1?s.push(f):s.push('"'+f+'"');break;case"w:asciiTheme":case"w:csTheme":case"w:eastAsiaTheme":s.push(Ta(f));break}}}catch(i){a={error:i}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}s.length&&(n["font-family"]=Array.from(new Set(s)).join(", "))}function bn(e,t){var n=L(e,"w:val"),a=e.getAttribute("w:hRule");a==="exact"?t.height=n:a==="atLeast"&&(t.height=n,t["min-height"]=n)}function kn(e){switch(e){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":case"distribute":return"justify"}return e}function ba(e,t,n){var a=D(t);if(a!=null){switch(a){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":n["text-decoration-style"]="dashed";break;case"dotted":case"dottedHeavy":n["text-decoration-style"]="dotted";break;case"double":n["text-decoration-style"]="double";break;case"single":case"thick":n["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":n["text-decoration-style"]="wavy";break;case"words":n["text-decoration"]="underline";break;case"none":n["text-decoration"]="none";break}var r=wt(e,t);r&&(n["text-decoration-color"]=r)}}function ka(e,t){var n,a;try{for(var r=g(e.attributes),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.name,l=x.value;switch(o){case"w:dropCap":l==="drop"&&(t.float="left");break;case"w:h":typeof l=="object"&&!Array.isArray(l)&&(t.height=L(l,"w:h"));break;case"w:w":typeof l=="object"&&!Array.isArray(l)&&(t.width=L(l,"w:w"));break;case"w:hAnchor":case"w:vAnchor":case"w:lines":break;case"w:wrap":l!=="around"&&console.warn("parseFrame: w:wrap not support "+l);break;default:console.warn("parseFrame: unknown attribute "+o,x)}}}catch(y){n={error:y}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}}function Ra(e,t){switch(e){case"dot":t["text-emphasis"]="filled",t["text-emphasis-position"]="under right";break;case"comma":t["text-emphasis"]="filled sesame";break;case"circle":t["text-emphasis"]="open";break;case"underDot":t["text-emphasis"]="filled",t["text-emphasis-position"]="under right";break}}function Jt(e,t,n){var a,r,s={};try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:sz":case"w:szCs":s["font-size"]=L(l,"w:val",z.FontSize);break;case"w:jc":s["text-align"]=kn(D(l));break;case"w:framePr":ka(l,s);break;case"w:pBdr":Zt(e,l,s);break;case"w:ind":ua(l,s);break;case"w:color":s.color=ha(e,l);break;case"w:shd":"background-color"in s||(s["background-color"]=qe(e,l));break;case"w:spacing":va(e,l,s);break;case"w:highlight":s["background-color"]=wt(e,l,"w:val","yellow");break;case"w:vertAlign":var p=D(l);p==="superscript"?s["vertical-align"]="super":p==="subscript"&&(s["vertical-align"]="sub");break;case"w:position":s["vertical-align"]=L(l,"w:val",z.FontSize);break;case"w:trHeight":bn(l,s);break;case"w:strike":case"w:dstrike":s["text-decoration"]=tt(l)?"line-through":"none";break;case"w:b":s["font-weight"]=tt(l)?"bold":"normal";break;case"w:adjustRightInd":break;case"w:bCs":case"w:iCs":break;case"w:i":s["font-style"]=tt(l)?"italic":"normal";break;case"w:caps":s["text-transform"]=tt(l)?"uppercase":"normal";break;case"w:smallCaps":s["text-transform"]=tt(l)?"lowercase":"normal";break;case"w:u":ba(e,l,s);break;case"w:rFonts":Aa(e,l,s);break;case"w:tblCellSpacing":s["border-spacing"]=L(l,"w:w"),s["border-collapse"]="separate";break;case"w:bdr":s.border=Tt(e,l);break;case"w:vanish":tt(l)&&(s.display="none");break;case"w:kern":break;case"w:pStyle":break;case"w:lang":case"w:noProof":break;case"w:keepLines":case"w:keepNext":case"w:widowControl":case"w:pageBreakBefore":break;case"w:outlineLvl":break;case"w:contextualSpacing":break;case"w:numPr":break;case"w:rPr":var f=l.getElementsByTagName("w14:reflection").item(0);if(f){var i=L(f,"w4:dist",z.Emu)||"0px";s["-webkit-box-reflect"]="below ".concat(i," linear-gradient(transparent, white)")}break;case"w:rStyle":break;case"w:webHidden":s.display="none";break;case"w:tabs":break;case"w:snapToGrid":break;case"w:topLinePunct":break;case"w:wordWrap":tt(l)&&(s["word-break"]="break-all");break;case"w:textAlignment":var c=D(l);c==="center"?s["vertical-align"]="middle":c!=="auto"&&(s["vertical-align"]=c);break;case"w:textDirection":un(l,s);break;case"w:cnfStyle":break;case"w:bidi":tt(l,!0)&&console.warn("w:bidi is not supported.");break;case"w:autoSpaceDE":case"w:autoSpaceDN":break;case"w:kinsoku":break;case"w:overflowPunct":break;case"w:em":Ra(D(l),s);break;case"w:w":var d=jt(l);s.transform="scaleX(".concat(d/100,")"),s.display="inline-block";break;case"w:outline":s["text-shadow"]="-1px -1px 0 #AAA, 1px -1px 0 #AAA, -1px 1px 0 #AAA, 1px 1px 0 #AAA";break;case"w:shadown":case"w:imprint":tt(l,!0)&&(s["text-shadow"]="1px 1px 2px rgba(0, 0, 0, 0.6)");break;case"w14:shadow":var h=L(l,"w14:blurRad",z.Emu)||"4px",m="rgba(0, 0, 0, 0.6)",w=At(e,l);w&&(m=w),s["text-shadow"]="1px 1px ".concat(h," ").concat(m);break;case"w14:textOutline":var v=L(l,"w14:w",z.Emu)||"1px";s["-webkit-text-stroke-width"]=v;var T="white",b=l.getElementsByTagName("w14:solidFill");b.length>0&&(T=At(e,b.item(0))||"white"),s["-webkit-text-stroke-color"]=T;break;case"w14:reflection":break;case"w14:textFill":break;case"w14:ligatures":break;default:console.warn("parsePr Unknown tagName",y,l)}}}catch(k){a={error:k}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s}var te=function(){function e(t){this.name=t}return e.fromXML=function(t,n){var a=n.getAttribute("w:name");return a?new e(a):(console.warn("Bookmark without name"),new e("unknown"))},e}(),Ae=function(){function e(){this.type="textWrapping"}return e.fromXML=function(t,n){return new e},e}(),La=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getAttribute("r:embed")||"",s=t.getDocumentRels(r);return s&&(a.embled=s,a.src=t.loadImage(a.embled)),a},e}(),Ca=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n==null?void 0:n.getElementsByTagName("a:blip").item(0);return r&&(a.blip=La.fromXML(t,r)),a},e}(),ja=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:off":s.off={x:L(l,"x",z.Emu),y:L(l,"y",z.Emu)};break;case"a:ext":s.ext={cx:L(l,"cx",z.Emu),cy:L(l,"cy",z.Emu)};break;case"a:chOff":s.chOff={x:L(l,"x",z.Emu),y:L(l,"y",z.Emu)};break;case"a:chExt":s.chExt={cx:L(l,"cx",z.Emu),cy:L(l,"cy",z.Emu)};break;default:console.warn("Transform: Unknown tag ",y,l)}}}catch(f){a={error:f}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}var p=n.getAttribute("rot");return p&&(s.rot=Qt(p)),s},e}();function Gt(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;if(o==="a:pt"||o==="pt"){var l=x.getAttribute("x"),y=x.getAttribute("y");l&&y&&a.push({x:l,y})}else console.warn("unknown pt",o,x)}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function Ba(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:moveTo":case"moveTo":var l=Gt(x);if(l.length){var y={type:"moveTo",pt:l[0]};a.push(y)}break;case"a:lnTo":case"lnTo":var p=Gt(x);if(p.length){var f={type:"lnTo",pt:p[0]};a.push(f)}break;case"a:quadBezTo":case"quadBezTo":var i=Gt(x);if(i.length){var c={type:"quadBezTo",pts:i};a.push(c)}break;case"a:cubicBezTo":case"cubicBezTo":var d=Gt(x);if(d.length){var h={type:"cubicBezTo",pts:d};a.push(h)}break;case"a:arcTo":case"arcTo":var m=x.getAttribute("wR"),w=x.getAttribute("hR"),v=x.getAttribute("stAng"),T=x.getAttribute("swAng");if(m&&w&&v&&T){var b={type:"arcTo",wR:m,hR:w,stAng:v,swAng:T};a.push(b)}break;case"a:close":case"close":a.push({type:"close"});break;default:console.warn("parsePath: unknown tag",o,x)}}}catch(F){t={error:F}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}var k={defines:a},R=e.getAttribute("fill");R&&(k.fill=R),k.extrusionOk=lt(e,"extrusionOk",!1),k.stroke=lt(e,"stroke",!0);var A=e.getAttribute("w");A&&(k.w=parseInt(A,10));var u=e.getAttribute("h");return u&&(k.h=parseInt(u,10)),k}function Oa(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:path":case"path":a.push(Ba(x));break}}}catch(l){t={error:l}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function be(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:gd":case"gd":var l=x.getAttribute("name"),y=x.getAttribute("fmla");if(l&&y){var p={n:l,f:y};a.push(p)}break}}}catch(f){t={error:f}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function Da(e){var t,n,a={};try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:avLst":case"avLst":a.avLst=be(x);break;case"a:gdLst":case"gdLst":a.gdLst=be(x);break;case"a:rect":case"react":var l={b:x.getAttribute("b")||"",l:x.getAttribute("l")||"",r:x.getAttribute("r")||"",t:x.getAttribute("t")||""};a.rect=l;break;case"a:pathLst":case"pathLst":a.pathLst=Oa(x);break}}}catch(y){t={error:y}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}var Fa=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;s.prst=n.getAttribute("prst");try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:avLst":s.avLst=be(l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),Sa=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.shape=Da(n),a},e}();function qa(e){var t="solid";switch(e){case"dash":case"dashDot":case"lgDash":case"lgDashDot":case"lgDashDotDot":case"sysDash":case"sysDashDot":case"sysDashDotDot":t="dashed";break;case"dot":case"sysDot":t="dotted";break}return t}function Pa(e,t){var n,a,r=L(t,"w",z.Emu),s={width:r};s.style="solid";try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:solidFill":s.color=At(e,l);break;case"a:noFill":s.style="none";break;case"a:round":s.radius="8%";break;case"a:prstDash":s.style=qa(l.getAttribute("val"));break;default:console.warn("parseOutline: Unknown tag ",y,l)}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return s}var Pe=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;if(n)try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:xfrm":s.xfrm=ja.fromXML(t,l);break;case"a:prstGeom":s.geom=Fa.fromXML(t,l);break;case"a:custGeom":s.custGeom=Sa.fromXML(t,l);break;case"a:ln":s.outline=Pa(t,l);break;case"a:noFill":s.noFill=!0;break;case"a:solidFill":s.fillColor=At(t,l);break;default:console.warn("ShapePr: Unknown tag ",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),$e=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n==null?void 0:n.getElementsByTagName("pic:cNvPr").item(0);if(r){a.alt=r.getAttribute("descr")||"",a.altVar=r.getAttribute("descrVar")||"";var s=lt(r,"hidden",!1);if(s)return a}return a.blipFill=Ca.fromXML(t,n==null?void 0:n.getElementsByTagName("pic:blipFill").item(0)),a.spPr=Pe.fromXML(t,n==null?void 0:n.getElementsByTagName("pic:spPr").item(0)),a},e}(),bt=function(){function e(){this.properties={},this.tblGrid=[],this.trs=[]}return e}(),$a=function(){function e(){this.properties={},this.tcs=[]}return e}(),Ma=function(){function e(){this.properties={},this.children=[]}return e.prototype.add=function(t){t&&this.children.push(t)},e}();function Ea(e,t,n,a){var r,s,x=new Ma;try{for(var o=g(t.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tcPr":x.properties=An(e,y);break;case"w:p":x.add(at.fromXML(e,y));break;case"w:tbl":x.add(Nt(e,y));break}}}catch(d){r={error:d}}finally{try{l&&!l.done&&(s=o.return)&&s.call(o)}finally{if(r)throw r.error}}var f=a[n.index];if(x.properties.vMerge){if(x.properties.vMerge==="restart")x.properties.rowSpan=1,a[n.index]=x;else if(f)if(f.properties&&f.properties.rowSpan){f.properties.rowSpan=f.properties.rowSpan+1;var i=x.properties.gridSpan||1;return n.index+=i,null}else console.warn("Tc.fromXML: continue but not found lastCol",n.index,x,a)}else delete a[n.index];var c=x.properties.gridSpan||1;return n.index+=c,x}function Ia(e,t){var n=D(e);switch(n){case"left":case"start":break;case"right":case"end":t.float="right"}}function Na(e,t){var n=_t(e);n&&(t["margin-left"]=n)}function Ha(e,t){var n=_t(e);n&&(t.width=n)}function za(e){var t={},n=oa(e);return(lt(e,"firstRow",!1)||n&32)&&(t.firstRow=!0),(lt(e,"lastRow",!1)||n&64)&&(t.lastRow=!0),(lt(e,"firstColumn",!1)||n&128)&&(t.firstColumn=!0),(lt(e,"lastColumn",!1)||n&256)&&(t.lastColumn=!0),lt(e,"noHBand",!1)||n&512?t.noHBand=!0:t.noHBand=!1,lt(e,"noVBand",!1)||n&1024?t.noVBand=!0:t.noVBand=!1,t}function Ga(e,t,n){if(typeof e.renderOptions.padding>"u"){var a=L(t,"w:tblpX"),r=L(t,"w:tblpY");n.top=r,n.left=a}}function Va(e,t){var n=e.getAttribute("w:type");n==="fixed"&&(t["table-layout"]="fixed")}function ee(e,t){var n,a,r={},s={},x={};r.tblLook={},r.cssStyle=s,r.tcCSSStyle=x;try{for(var o=g(t.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tblBorders":Zt(e,y,s),r.insideBorder=vn(e,y);break;case"w:tcBorders":Zt(e,y,s);break;case"w:tblInd":Na(y,s);break;case"w:jc":Ia(y,s);break;case"w:tblCellMar":case"w:tcMar":wn(y,x);break;case"w:tblStyle":r.pStyle=D(y);break;case"w:tblW":Ha(y,s);break;case"w:shd":s["background-color"]=qe(e,y);break;case"w:tblCaption":r.tblCaption=D(y);break;case"w:tblCellSpacing":Tn(y,s);break;case"w:tblLayout":Va(y,s);break;case"w:tblLook":r.tblLook=za(y);break;case"w:tblStyleRowBandSize":r.rowBandSize=jt(y);break;case"w:tblStyleColBandSize":r.colBandSize=jt(y);break;case"w:tblpPr":Ga(e,y,s);break;default:console.warn("parseTableProperties unknown tag",p,y)}}}catch(f){n={error:f}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return r}function Rn(e,t){var n,a,r={},s={};try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:hidden":tt(l)&&(r.display="none");break;case"w:trHeight":bn(l,r);break;case"w:jc":r["text-align"]=kn(D(l));break;case"w:cantSplit":break;case"w:tblPrEx":var p=ee(e,l);Object.assign(r,p.cssStyle);break;case"w:tblCellSpacing":Tn(l,s);break;case"w:cnfStyle":break;default:console.warn("Tr: Unknown tag ",y,l)}}}catch(f){n={error:f}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return{cssStyle:r}}function Ln(e){var t,n,a=e.slice(),r=0,s=!1;try{for(var x=g(e),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:smartTag":case"w:customXml":var p=[].slice.call(l.children);a.splice.apply(a,$t([r,1],Ct(p),!1)),r=r+p.length;continue;case"w:sdt":var f=l.getElementsByTagName("w:sdtContent").item(0),i=l.getElementsByTagName("w:sdt").item(0);if(i&&(s=!0),f){var c=[].slice.call(f.children);a.splice.apply(a,$t([r,1],Ct(c),!1)),r=r+c.length;continue}break}r=r+1}}catch(d){t={error:d}}finally{try{o&&!o.done&&(n=x.return)&&n.call(x)}finally{if(t)throw t.error}}return s?Ln(a):a}function It(e){var t=[].slice.call(e.children);return Ln(t)}function Wa(e,t,n){var a,r,s=new $a,x={index:0};try{for(var o=g(It(t)),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tc":var f=Ea(e,y,x,n);f&&s.tcs.push(f);break;case"w:trPr":s.properties=Rn(e,y);break;case"w:tblPrEx":var i=ee(e,y);Object.assign(s.properties.cssStyle||{},i.cssStyle);break;default:console.warn("Tr: Unknown tag ",p,y)}}}catch(c){a={error:c}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s}function Ua(e){var t,n,a=[],r=e.getElementsByTagName("w:gridCol");try{for(var s=g(r),x=s.next();!x.done;x=s.next()){var o=x.value,l=L(o,"w:w");a.push({w:l})}}catch(y){t={error:y}}finally{try{x&&!x.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return a}function Nt(e,t){var n,a,r=new bt,s={};try{for(var x=g(It(t)),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:tblPr":r.properties=ee(e,l);break;case"w:tr":r.trs.push(Wa(e,l,s));break;case"w:tblGrid":r.tblGrid=Ua(l);break;default:console.warn("Table.fromXML unknown tag",y,l)}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return r}var Xa=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:fillRef":s.fillColor=At(t,l);break;case"a:lnRef":s.lineColor=At(t,l);break;case"a:fontRef":s.fontColor=At(t,l);break}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();function Za(e,t){var n,a;try{for(var r=g(e.attributes),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.name,l=x.value;switch(o){case"numCol":l!=="1"&&(t["column-count"]=l);break;case"vert":var y=l;switch(y){case"vert":t["writing-mode"]="vertical-rl",t["text-orientation"]="sideways";break;case"vert270":case"eaVert":t["writing-mode"]="vertical-rl",t["text-orientation"]="mixed";break;default:break}break;case"anchor":var p=l;switch(p){case"b":t["vertical-align"]="bottom";break;case"t":t["vertical-align"]="top";break;case"ctr":t["vertical-align"]="middle";break}break;case"rot":var f=Qt(l);f&&(t.transform="rotate(".concat(f,"deg)"));break}}}catch(i){n={error:i}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}}var Cn=function(){function e(){this.style={}}return e.fromXML=function(t,n){var a,r,s,x,o=new e;o.txbxContent=[];try{for(var l=g(n.children),y=l.next();!y.done;y=l.next()){var p=y.value,f=p.tagName;switch(f){case"wps:cNvSpPr":case"wps:cNvPr":break;case"wps:spPr":o.spPr=Pe.fromXML(t,p);break;case"wps:txbx":var i=p.firstElementChild;if(i)try{for(var c=(s=void 0,g(i.children)),d=c.next();!d.done;d=c.next()){var h=d.value,m=h.tagName;switch(m){case"w:p":o.txbxContent.push(at.fromXML(t,h));break;case"w:tbl":o.txbxContent.push(Nt(t,h));break}}}catch(w){s={error:w}}finally{try{d&&!d.done&&(x=c.return)&&x.call(c)}finally{if(s)throw s.error}}else console.warn("unknown wps:txbx",p);break;case"wps:style":o.wpsStyle=Xa.fromXML(t,p);break;case"wps:bodyPr":Za(p,o.style);break;default:console.warn("WPS: Unknown tag ",f,p)}}}catch(w){a={error:w}}finally{try{y&&!y.done&&(r=l.return)&&r.call(l)}finally{if(a)throw a.error}}return o},e}(),Ja=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getAttribute("r:dm");if(r){var s=t.getDocumentRels(r);if(s){var x=t.loadWordRelXML(s);console.log(x)}}return a},e}(),Ka=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e,x=[];s.wps=x,s.wpg=[];try{for(var o=g(n.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"wpg:cNvGrpSpPr":break;case"wpg:grpSpPr":s.spPr=Pe.fromXML(t,y);break;case"wps:wsp":x.push(Cn.fromXML(t,y));break;case"pic:pic":s.pic=$e.fromXML(t,y);break;case"wpg:grpSp":s.wpg.push(e.fromXML(t,y));break;default:console.warn("WPS: Unknown tag ",p,y)}}}catch(f){a={error:f}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},e}(),Kt;(function(e){e.inline="inline",e.anchor="anchor"})(Kt||(Kt={}));function Ya(e){var t=lt(e,"simplePos",!1),n=lt(e,"hidden",!1),a=lt(e,"behindDoc",!1);return{simplePos:t,hidden:n,behindDoc:a}}var ke=function(){function e(){this.position=Kt.inline}return e.fromXML=function(t,n){var a,r,s,x=new e,o={};x.containerStyle=o;var l=n.firstElementChild;if(l){if(l.tagName==="wp:anchor"){x.position=Kt.anchor,x.anchor=Ya(l);var y=gn(l,"relativeHeight",1);o["z-index"]=y}try{for(var p=g(l.children),f=p.next();!f.done;f=p.next()){var i=f.value,c=i.tagName;switch(c){case"wp:simplePos":!((s=x.anchor)===null||s===void 0)&&s.simplePos&&(o.position="absolute",o.x=L(i,"x",z.Emu),o.y=L(i,"y",z.Emu));break;case"wp:positionH":var d=i.getAttribute("relativeFrom");if(d==="column"||d==="page"||d==="margin"){var h=i.firstElementChild;if(h){var m=h.tagName;o.position="absolute",m==="wp:posOffset"?o.left=Te(h.innerHTML,z.Emu):(o.left="0",console.warn("unsupport positionType",m))}}else console.warn("unsupport positionH relativeFrom",d);break;case"wp:positionV":var w=i.getAttribute("relativeFrom");if(w==="paragraph"||w==="page"){x.relativeFromV=w;var h=i.firstElementChild;if(h){var m=h.tagName;o.position="absolute",m==="wp:posOffset"?o.top=Te(h.innerHTML,z.Emu):(o.top="0",console.warn("unsupport positionType",m))}}else console.warn("unsupport positionV relativeFrom",w);break;case"wp:docPr":x.id=i.getAttribute("id")||void 0,x.name=i.getAttribute("name")||void 0;break;case"wp:cNvGraphicFramePr":break;case"a:graphic":var v=i.firstElementChild,T=v==null?void 0:v.firstElementChild;if(T){var b=T.tagName;switch(b){case"pic:pic":x.pic=$e.fromXML(t,T);break;case"wps:wsp":x.wps=Cn.fromXML(t,T);break;case"wpg:wgp":x.wpg=Ka.fromXML(t,T);break;case"dgm:relIds":x.diagram=Ja.fromXML(t,T);break;default:console.warn("unknown graphicData child tag",T)}}break;case"wp:extent":o.width=L(i,"cx",z.Emu),o.height=L(i,"cy",z.Emu);break;case"wp:effectExtent":break;case"wp:wrapNone":break;case"wp14:sizeRelH":case"wp14:sizeRelV":break;default:console.warn("drawing unknown tag",c)}}}catch(k){a={error:k}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(a)throw a.error}}}return x},e}(),jn=function(){function e(t){this.text=t}return e}(),Bn=function(){function e(){}return e}(),On=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getElementsByTagName("v:imagedata").item(0);if(r){var s=r.getAttribute("r:id")||"",x=t.getDocumentRels(s);x&&(a.src=t.loadImage(x))}return a},e}(),Re=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;s.children=[];try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:r":var p=it.fromXML(t,l);p&&s.children.push(p);break;default:console.warn("parse Ruby: Unknown key",y,l)}}}catch(f){a={error:f}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();(function(e){xa(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(Re);var Dn=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:rubyPr":break;case"w:rt":s.rt=Re.fromXML(t,l);break;case"w:rubyBase":s.rubyBase=Re.fromXML(t,l);break;default:console.warn("parse Ruby: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),Fn=function(){function e(){}return e}(),Sn=function(){function e(){}return e}(),qn=function(){function e(){}return e.parseXML=function(t){var n=new e;return n.font=t.getAttribute("w:font")||"",n.char=t.getAttribute("w:char")||"",n},e}(),Me=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.pos=L(n,"w:pos"),a.type=D(n),a.leader=n.getAttribute("w:leader"),a},e}(),Le=function(){function e(t){this.preserveSpace=!1,this.text=String(t)}return e}(),it=function(){function e(){this.properties={},this.children=[]}return e.prototype.addChild=function(t){t&&this.children.push(t)},e.parseRunPr=function(t,n){var a=Jt(t,n),r,s=n.getElementsByTagName("w:rStyle").item(0);return s&&(r=D(s)),{cssStyle:a,rStyle:r}},e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:t":var p=l.textContent||"",f=new Le(p);s.addChild(f);break;case"w:rPr":s.properties=e.parseRunPr(t,l);break;case"w:br":case"w:cr":s.addChild(Ae.fromXML(t,l));break;case"w:drawing":s.addChild(ke.fromXML(t,l));break;case"w:tab":s.addChild(Me.fromXML(t,l));break;case"w:fldChar":s.fldChar=l.getAttribute("w:fldCharType");break;case"w:instrText":s.addChild(new jn(l.textContent||""));break;case"w:lastRenderedPageBreak":var i=new Ae;i.type="page",s.addChild(i);break;case"w:pict":s.addChild(On.fromXML(t,l));break;case"w:ruby":s.addChild(Dn.fromXML(t,l));break;case"w:sym":s.addChild(qn.parseXML(l));break;case"mc:AlternateContent":var c=l.getElementsByTagName("w:drawing").item(0);c&&s.addChild(ke.fromXML(t,c));break;case"w:softHyphen":s.addChild(new Sn);break;case"w:noBreakHyphen":s.addChild(new Bn);break;case"w:separator":s.addChild(new Fn);break;case"w:continuationSeparator":break;default:console.warn("parse Run: Unknown key",y,l)}}}catch(d){a={error:d}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),ne=function(){function e(){this.children=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.fromXML=function(t,n){var a,r,s=new e,x=n.getAttribute("r:id");if(x){var o=t.getDocumentRels(x);o&&(s.relation=o)}var l=n.getAttribute("w:anchor");l&&(s.anchor=l);var y=n.getAttribute("w:tooltip");y&&(s.tooltip=y);try{for(var p=g(n.children),f=p.next();!f.done;f=p.next()){var i=f.value,c=i.tagName;switch(c){case"w:r":s.addChild(it.fromXML(t,i));break;default:console.warn("parse Hyperlink: Unknown key",c,i)}}}catch(d){a={error:d}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(a)throw a.error}}return s},e}(),Qa=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getElementsByTagName("w:ilvl").item(0);r&&(a.ilvl=D(r));var s=n.getElementsByTagName("w:numId").item(0);return s&&(a.numId=D(s)),a},e}(),_a=function(){function e(){this.children=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:r":s.addChild(it.fromXML(t,l));break;case"w:hyperlink":s.addChild(ne.fromXML(t,l));break;case"w:bookmarkStart":s.addChild(te.fromXML(t,l));case"w:bookmarkEnd":break;case"w:proofErr":case"w:noProof":break;case"w:smartTagPr":break;case"w:del":break;default:console.warn("parse Inline: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),ts=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.inlineText=_a.fromXML(t,n),a.instr=n.getAttribute("w:instr")||"",a},e}(),Pn=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.element=n,a},e}();function es(e){var t=e.getElementsByTagName("w:autoSpaceDE").item(0),n=e.getElementsByTagName("w:autoSpaceDN").item(0);return!!t||!!n}var at=function(){function e(){this.properties={},this.children=[],this.fldSimples=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.parseParagraphPr=function(t,n){var a,r,s=Jt(t,n),x,o=n.getElementsByTagName("w:pStyle").item(0);o&&(x=D(o));var l,y=n.getElementsByTagName("w:numPr").item(0);y&&(l=Qa.fromXML(t,y));var p=[],f=n.getElementsByTagName("w:tab");try{for(var i=g(f),c=i.next();!c.done;c=i.next()){var d=c.value;p.push(Me.fromXML(t,d))}}catch(m){a={error:m}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}var h=es(n);return{cssStyle:s,pStyle:x,numPr:l,tabs:p,autoSpace:h}},e.fromXML=function(t,n){var a,r,s=new e;s.fldSimples=[],s.paraId=n.getAttribute("w14:paraId")||"";try{for(var x=g(It(n)),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:pPr":s.properties=e.parseParagraphPr(t,l);break;case"w:r":s.addChild(it.fromXML(t,l));break;case"w:hyperlink":s.addChild(ne.fromXML(t,l));break;case"w:bookmarkStart":s.addChild(te.fromXML(t,l));case"w:bookmarkEnd":break;case"w:proofErr":case"w:noProof":break;case"w:del":case"w:moveTo":case"w:moveFrom":break;case"w:fldSimple":s.fldSimples.push(ts.fromXML(t,l));break;case"m:oMathPara":case"m:oMath":s.addChild(Pn.fromXML(t,l));break;default:console.warn("parse Paragraph: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();function ns(e,t){var n={};if(!t)return n;var a=t.getElementsByTagName("w:rPrDefault").item(0);if(a){var r=a.getElementsByTagName("w:rPr").item(0);r&&(n.rPr=it.parseRunPr(e,r))}var s=t.getElementsByTagName("w:pPrDefault").item(0);if(s){var x=s.getElementsByTagName("w:pPr").item(0);x&&(n.pPr=at.parseParagraphPr(e,x))}return n}function Ve(e,t){var n,a,r={};try{for(var s=g(t.children),x=s.next();!x.done;x=s.next()){var o=x.value,l=o.tagName;switch(l){case"w:rPr":r.rPr=it.parseRunPr(e,o);break;case"w:pPr":r.pPr=at.parseParagraphPr(e,o);break;case"w:tblPr":r.tblPr=ee(e,o);break;case"w:tcPr":r.tcPr=An(e,o);break;case"w:trPr":r.trPr=Rn(e,o);break}}}catch(y){n={error:y}}finally{try{x&&!x.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return r}function as(e,t){var n,a,r={};r.id=t.getAttribute("w:styleId")||"",r.type=t.getAttribute("w:type"),r.tblStylePr={},Object.assign(r,Ve(e,t));try{for(var s=g(t.children),x=s.next();!x.done;x=s.next()){var o=x.value,l=o.tagName;switch(l){case"w:name":r.name=D(o);break;case"w:basedOn":r.basedOn=D(o);break;case"w:rPr":case"w:pPr":case"w:tblPr":case"w:tcPr":case"w:trPr":break;case"w:tblStylePr":var y=o.getAttribute("w:type");r.tblStylePr[y]=Ve(e,o);break;case"w:next":case"w:link":case"w:unhideWhenUsed":case"w:qFormat":case"w:rsid":case"w:uiPriority":case"w:semiHidden":case"w:autoRedefine":break;default:console.warn("parseStyle Unknown tag",l,o)}}}catch(p){n={error:p}}finally{try{x&&!x.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return r}function ss(e,t){var n,a,r={styleMap:{}},s=Array.from(t.getElementsByTagName("w:style"));try{for(var x=g(s),o=x.next();!o.done;o=x.next()){var l=o.value,y=as(e,l);y.id&&(r.styleMap[y.id]=y)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return r.defaultStyle=ns(e,t.getElementsByTagName("w:docDefaults").item(0)),r}var rs=function(){function e(){this.colors={}}return e}();function ls(e){var t,n,a=new rs;if(!e)return a;a.name=e.getAttribute("name")||"";try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName.replace("a:",""),l=x.firstElementChild;if(l){var y=l.nodeName.replace("a:","");if(y==="sysClr")a.colors[o]=l.getAttribute("lastClr")||"";else if(y==="srgbClr")a.colors[o]="#"+l.getAttribute("val")||"";else if(y==="scrgbClr"){var p=P(x,"r")*256,f=P(x,"g")*256,i=P(x,"b")*256;a.colors[o]="rgb(".concat(p,", ").concat(f,", ").concat(i,")")}else if(y==="hslClr"){var c=Qt(x.getAttribute("hue")),d=P(x,"sat")*100,h=P(x,"lum")*100;a.colors[o]="hsl(".concat(c,", ").concat(d,"%, ").concat(h,"%)")}else y==="prstClr"?a.colors[o]=D(x):console.error("unknown clr name",y)}}}catch(m){t={error:m}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function xs(e){var t={};return t}function os(e){var t={};return t}function ys(e){var t={};return e&&(t.clrScheme=ls(e.getElementsByTagName("a:clrScheme").item(0)),t.fontScheme=xs(e.getElementsByTagName("a:fontScheme").item(0)),t.fmtScheme=os(e.getElementsByTagName("a:fmtScheme").item(0))),t}function ps(e){var t={};return t.themeElements=ys(e.getElementsByTagName("a:themeElements").item(0)),t}function yt(e){e===void 0&&(e={});var t="";for(var n in e){var a=e[n];a!=null&&a!==""&&(t+="".concat(n,": ").concat(a,`; +import{aI as g,w as $t,t as Ct,p as xa,k as dt,ay as ht,az as mt}from"./index-a61a86fd.js";function D(e){return e.getAttribute("w:val")||e.getAttribute("w14:val")||e.getAttribute("val")||""}function jt(e){return parseInt(D(e),10)}function mn(e,t){if(t===void 0&&(t=!1),typeof e=="boolean")return e;if(typeof e=="string"){switch(e){case"1":return!0;case"0":return!1;case"on":return!0;case"off":return!1;case"true":return!0;case"false":return!1}if(typeof e=="number")return e!==0}return t}function tt(e,t){return t===void 0&&(t=!0),mn(D(e),t)}function lt(e,t,n){return n===void 0&&(n=!0),mn(e.getAttribute(t),n)}function gn(e,t,n){n===void 0&&(n=0);var a=e.getAttribute(t);return a?parseInt(a,10):n}function P(e,t){var n=e.getAttribute(t);if(n){if(n.endsWith("%"))return parseInt(n,10)/100;var a=parseInt(n,10);return a/1e5}return 1}function oa(e){return parseInt(D(e)||"0",16)}function ya(e,t){for(var n=16,a=t.replace(/{|}|-/g,""),r=new Array(n),s=0;s.5?l/(2-a-r):l/(a+r),a){case e:s=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ye(e,t,n){e>1&&(e=e/360);var a,r,s;if(t==0)a=r=s=n;else{var x=n<.5?n*(1+t):n+t-n*t,o=2*n-x;a=oe(o,x,e+1/3),r=oe(o,x,e),s=oe(o,x,e-1/3)}return{r:a*255,g:r*255,b:s*255}}function pe(e){return e.length==1?"0"+e:""+e}function fe(e,t,n){var a=[pe(Math.round(e).toString(16)),pe(Math.round(t).toString(16)),pe(Math.round(n).toString(16))];return a.join("").toUpperCase()}function kt(e){return Math.min(Math.max(e,0),255)}var Bt=function(){function e(t){var n=t.match(/^#?([0-9a-f]{6})$/i);n&&(this.r=parseInt(n[1].substring(0,2),16),this.g=parseInt(n[1].substring(2,4),16),this.b=parseInt(n[1].substring(4,6),16),this.isValid=!0)}return e.fromHSL=function(t,n,a){var r=ye(t,n,a);return new e("#".concat(fe(r.r,r.g,r.b)))},e.fromRGB=function(t,n,a){var r=fe(t,n,a);return new e("#".concat(r))},e.prototype.lum=function(t){return this.changeHsl(t,"l","set")},e.prototype.lumMod=function(t){return this.changeHsl(t,"l","mod")},e.prototype.lumOff=function(t){return this.changeHsl(t,"l","off")},e.prototype.hue=function(t){return this.changeHsl(t,"h","set")},e.prototype.hueMod=function(t){return this.changeHsl(t,"h","mod")},e.prototype.hueOff=function(t){return this.changeHsl(t,"h","off")},e.prototype.sat=function(t){return this.changeHsl(t,"s","set")},e.prototype.satMod=function(t){return this.changeHsl(t,"s","mod")},e.prototype.satOff=function(t){return this.changeHsl(t,"s","off")},e.prototype.changeHsl=function(t,n,a){var r=Ge(this.r,this.g,this.b);a==="set"?r[n]=t:a==="mod"?r[n]=r[n]*t:a==="off"&&(r[n]+=r[n]*t);var s=ye(r.h,r.s,r.l);return this.r=s.r,this.g=s.g,this.b=s.b,this},e.prototype.comp=function(){var t=Ge(this.r,this.g,this.b);t.h=t.h+.5,t.h>1&&(t.h-=1);var n=ye(t.h,t.s,t.l);return this.r=n.r,this.g=n.g,this.b=n.b,this},e.prototype.shade=function(t){this.r=kt(this.r-256*t),this.g=kt(this.g-256*t),this.b=kt(this.b-256*t)},e.prototype.tint=function(t){this.r=kt(this.r+256*t),this.g=kt(this.g+256*t),this.b=kt(this.b+256*t)},e.prototype.inv=function(){return this.r=255-this.r,this.g=255-this.g,this.b=255-this.b,this},e.prototype.toHex=function(){return"#"+fe(this.r,this.g,this.b)},e.prototype.toRgba=function(t){return"rgba(".concat(this.r,", ").concat(this.g,", ").concat(this.b,", ").concat(t,")")},e}();function Rt(e,t){var n,a,r=new Bt(t);if(r.isValid){var s=1;try{for(var x=g(e.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:alpha":case"w14:alpha":s=P(l,"val");break;case"a:blue":r.b=256*P(l,"val");break;case"a:blueMod":r.b=r.b*P(l,"val");break;case"a:blueOff":r.b+=r.b*P(l,"val");break;case"a:comp":r.comp();break;case"a:green":r.g=256*P(l,"val");break;case"a:greenMod":r.g=r.g*P(l,"val");break;case"a:greenOff":r.g+=r.g*P(l,"val");break;case"a:red":r.r=256*P(l,"val");break;case"a:redMod":r.r=r.r*P(l,"val");break;case"a:redOff":r.r+=r.r*P(l,"val");break;case"a:lum":r.lum(P(l,"val"));break;case"a:lumMod":r.lumMod(P(l,"val"));break;case"a:lumOff":r.lumOff(P(l,"val"));break;case"a:hue":r.hue(Qt(l.getAttribute("hue"))/360);break;case"a:hueMod":r.hueMod(P(l,"val"));break;case"a:hueOff":r.hueOff(P(l,"val"));break;case"a:sat":r.sat(P(l,"val"));break;case"a:satMod":r.satMod(P(l,"val"));break;case"a:satOff":r.satOff(P(l,"val"));break;case"a:shade":r.shade(P(l,"val"));break;case"a:tint":r.tint(P(l,"val"));break;default:console.log("unknown color modify",l);break}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return s!==1?r.toRgba(s):r.toHex()}return t}function At(e,t){var n=t.firstElementChild;if(n){var a=n.tagName;switch(a){case"a:prstClr":var r=D(n)||"";if(r in Xt)return Rt(n,Xt[r]);console.warn("parseOutline: Unknown color ",r,n);break;case"a:srgbClr":case"a:scrgbClr":case"w14:srgbClr":var s=D(n);if(s)return Rt(n,"#"+s);var x=P(n,"r"),o=P(n,"g"),l=P(n,"b"),y=Bt.fromRGB(x,o,l);return Rt(n,y.toHex());case"a:hslClr":var p=P(n,"r"),f=P(n,"g"),i=P(n,"b"),c=D(n);if(c)return Rt(n,"#"+c);var d=Bt.fromHSL(p,f,i);return Rt(n,d.toHex());case"a:schemeClr":case"w14:schemeClr":var h=D(n);if(h)return Rt(n,e.getThemeColor(h));console.warn("parseOutline: Unknown schemeClr ",n);break;case"a:sysClr":return D(n);default:console.warn("parseOutline: Unknown color type ",a,n)}}return""}function ua(e,t){var n=L(e,"w:firstLine"),a=L(e,"w:hanging"),r=L(e,"w:left"),s=L(e,"w:start"),x=L(e,"w:right"),o=L(e,"w:end");n&&(t["text-indent"]=n),a&&(t["text-indent"]="-".concat(a)),(r||s)&&(t["margin-left"]=r||s),(x||o)&&(t["margin-right"]=x||o)}function va(e,t,n){var a=L(t,"w:before"),r=L(t,"w:after"),s=t.getAttribute("w:lineRule");a&&(n["margin-top"]=a),r&&(n["margin-bottom"]=r);var x=t.getAttribute("w:line");if(x){if(e.renderOptions.forceLineHeight){n["line-height"]=e.renderOptions.forceLineHeight;return}var o=parseInt(x,10),l=e.renderOptions.minLineHeight||1;switch(s){case"auto":var y=Math.max(l,o/240);n["line-height"]="".concat(y.toFixed(2));break;case"atLeast":break;default:var p=Math.max(l,o/20);n["line-height"]="".concat(p,"pt");break}}}function Ta(e){return"var(--docx-theme-font-".concat(e,")")}function Aa(e,t,n){var a,r,s=[],x=e.renderOptions.fontMapping;try{for(var o=g(t.attributes),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.name,f=y.value;switch(p){case"w:ascii":case"w:cs":case"w:eastAsia":x&&f in x&&(f=x[f]),f.indexOf(" ")===-1?s.push(f):s.push('"'+f+'"');break;case"w:asciiTheme":case"w:csTheme":case"w:eastAsiaTheme":s.push(Ta(f));break}}}catch(i){a={error:i}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}s.length&&(n["font-family"]=Array.from(new Set(s)).join(", "))}function bn(e,t){var n=L(e,"w:val"),a=e.getAttribute("w:hRule");a==="exact"?t.height=n:a==="atLeast"&&(t.height=n,t["min-height"]=n)}function kn(e){switch(e){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":case"distribute":return"justify"}return e}function ba(e,t,n){var a=D(t);if(a!=null){switch(a){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":n["text-decoration-style"]="dashed";break;case"dotted":case"dottedHeavy":n["text-decoration-style"]="dotted";break;case"double":n["text-decoration-style"]="double";break;case"single":case"thick":n["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":n["text-decoration-style"]="wavy";break;case"words":n["text-decoration"]="underline";break;case"none":n["text-decoration"]="none";break}var r=wt(e,t);r&&(n["text-decoration-color"]=r)}}function ka(e,t){var n,a;try{for(var r=g(e.attributes),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.name,l=x.value;switch(o){case"w:dropCap":l==="drop"&&(t.float="left");break;case"w:h":typeof l=="object"&&!Array.isArray(l)&&(t.height=L(l,"w:h"));break;case"w:w":typeof l=="object"&&!Array.isArray(l)&&(t.width=L(l,"w:w"));break;case"w:hAnchor":case"w:vAnchor":case"w:lines":break;case"w:wrap":l!=="around"&&console.warn("parseFrame: w:wrap not support "+l);break;default:console.warn("parseFrame: unknown attribute "+o,x)}}}catch(y){n={error:y}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}}function Ra(e,t){switch(e){case"dot":t["text-emphasis"]="filled",t["text-emphasis-position"]="under right";break;case"comma":t["text-emphasis"]="filled sesame";break;case"circle":t["text-emphasis"]="open";break;case"underDot":t["text-emphasis"]="filled",t["text-emphasis-position"]="under right";break}}function Jt(e,t,n){var a,r,s={};try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:sz":case"w:szCs":s["font-size"]=L(l,"w:val",z.FontSize);break;case"w:jc":s["text-align"]=kn(D(l));break;case"w:framePr":ka(l,s);break;case"w:pBdr":Zt(e,l,s);break;case"w:ind":ua(l,s);break;case"w:color":s.color=ha(e,l);break;case"w:shd":"background-color"in s||(s["background-color"]=qe(e,l));break;case"w:spacing":va(e,l,s);break;case"w:highlight":s["background-color"]=wt(e,l,"w:val","yellow");break;case"w:vertAlign":var p=D(l);p==="superscript"?s["vertical-align"]="super":p==="subscript"&&(s["vertical-align"]="sub");break;case"w:position":s["vertical-align"]=L(l,"w:val",z.FontSize);break;case"w:trHeight":bn(l,s);break;case"w:strike":case"w:dstrike":s["text-decoration"]=tt(l)?"line-through":"none";break;case"w:b":s["font-weight"]=tt(l)?"bold":"normal";break;case"w:adjustRightInd":break;case"w:bCs":case"w:iCs":break;case"w:i":s["font-style"]=tt(l)?"italic":"normal";break;case"w:caps":s["text-transform"]=tt(l)?"uppercase":"normal";break;case"w:smallCaps":s["text-transform"]=tt(l)?"lowercase":"normal";break;case"w:u":ba(e,l,s);break;case"w:rFonts":Aa(e,l,s);break;case"w:tblCellSpacing":s["border-spacing"]=L(l,"w:w"),s["border-collapse"]="separate";break;case"w:bdr":s.border=Tt(e,l);break;case"w:vanish":tt(l)&&(s.display="none");break;case"w:kern":break;case"w:pStyle":break;case"w:lang":case"w:noProof":break;case"w:keepLines":case"w:keepNext":case"w:widowControl":case"w:pageBreakBefore":break;case"w:outlineLvl":break;case"w:contextualSpacing":break;case"w:numPr":break;case"w:rPr":var f=l.getElementsByTagName("w14:reflection").item(0);if(f){var i=L(f,"w4:dist",z.Emu)||"0px";s["-webkit-box-reflect"]="below ".concat(i," linear-gradient(transparent, white)")}break;case"w:rStyle":break;case"w:webHidden":s.display="none";break;case"w:tabs":break;case"w:snapToGrid":break;case"w:topLinePunct":break;case"w:wordWrap":tt(l)&&(s["word-break"]="break-all");break;case"w:textAlignment":var c=D(l);c==="center"?s["vertical-align"]="middle":c!=="auto"&&(s["vertical-align"]=c);break;case"w:textDirection":un(l,s);break;case"w:cnfStyle":break;case"w:bidi":tt(l,!0)&&console.warn("w:bidi is not supported.");break;case"w:autoSpaceDE":case"w:autoSpaceDN":break;case"w:kinsoku":break;case"w:overflowPunct":break;case"w:em":Ra(D(l),s);break;case"w:w":var d=jt(l);s.transform="scaleX(".concat(d/100,")"),s.display="inline-block";break;case"w:outline":s["text-shadow"]="-1px -1px 0 #AAA, 1px -1px 0 #AAA, -1px 1px 0 #AAA, 1px 1px 0 #AAA";break;case"w:shadown":case"w:imprint":tt(l,!0)&&(s["text-shadow"]="1px 1px 2px rgba(0, 0, 0, 0.6)");break;case"w14:shadow":var h=L(l,"w14:blurRad",z.Emu)||"4px",m="rgba(0, 0, 0, 0.6)",w=At(e,l);w&&(m=w),s["text-shadow"]="1px 1px ".concat(h," ").concat(m);break;case"w14:textOutline":var v=L(l,"w14:w",z.Emu)||"1px";s["-webkit-text-stroke-width"]=v;var T="white",b=l.getElementsByTagName("w14:solidFill");b.length>0&&(T=At(e,b.item(0))||"white"),s["-webkit-text-stroke-color"]=T;break;case"w14:reflection":break;case"w14:textFill":break;case"w14:ligatures":break;default:console.warn("parsePr Unknown tagName",y,l)}}}catch(k){a={error:k}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s}var te=function(){function e(t){this.name=t}return e.fromXML=function(t,n){var a=n.getAttribute("w:name");return a?new e(a):(console.warn("Bookmark without name"),new e("unknown"))},e}(),Ae=function(){function e(){this.type="textWrapping"}return e.fromXML=function(t,n){return new e},e}(),La=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getAttribute("r:embed")||"",s=t.getDocumentRels(r);return s&&(a.embled=s,a.src=t.loadImage(a.embled)),a},e}(),Ca=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n==null?void 0:n.getElementsByTagName("a:blip").item(0);return r&&(a.blip=La.fromXML(t,r)),a},e}(),ja=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:off":s.off={x:L(l,"x",z.Emu),y:L(l,"y",z.Emu)};break;case"a:ext":s.ext={cx:L(l,"cx",z.Emu),cy:L(l,"cy",z.Emu)};break;case"a:chOff":s.chOff={x:L(l,"x",z.Emu),y:L(l,"y",z.Emu)};break;case"a:chExt":s.chExt={cx:L(l,"cx",z.Emu),cy:L(l,"cy",z.Emu)};break;default:console.warn("Transform: Unknown tag ",y,l)}}}catch(f){a={error:f}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}var p=n.getAttribute("rot");return p&&(s.rot=Qt(p)),s},e}();function Gt(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;if(o==="a:pt"||o==="pt"){var l=x.getAttribute("x"),y=x.getAttribute("y");l&&y&&a.push({x:l,y})}else console.warn("unknown pt",o,x)}}catch(p){t={error:p}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function Ba(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:moveTo":case"moveTo":var l=Gt(x);if(l.length){var y={type:"moveTo",pt:l[0]};a.push(y)}break;case"a:lnTo":case"lnTo":var p=Gt(x);if(p.length){var f={type:"lnTo",pt:p[0]};a.push(f)}break;case"a:quadBezTo":case"quadBezTo":var i=Gt(x);if(i.length){var c={type:"quadBezTo",pts:i};a.push(c)}break;case"a:cubicBezTo":case"cubicBezTo":var d=Gt(x);if(d.length){var h={type:"cubicBezTo",pts:d};a.push(h)}break;case"a:arcTo":case"arcTo":var m=x.getAttribute("wR"),w=x.getAttribute("hR"),v=x.getAttribute("stAng"),T=x.getAttribute("swAng");if(m&&w&&v&&T){var b={type:"arcTo",wR:m,hR:w,stAng:v,swAng:T};a.push(b)}break;case"a:close":case"close":a.push({type:"close"});break;default:console.warn("parsePath: unknown tag",o,x)}}}catch(F){t={error:F}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}var k={defines:a},R=e.getAttribute("fill");R&&(k.fill=R),k.extrusionOk=lt(e,"extrusionOk",!1),k.stroke=lt(e,"stroke",!0);var A=e.getAttribute("w");A&&(k.w=parseInt(A,10));var u=e.getAttribute("h");return u&&(k.h=parseInt(u,10)),k}function Oa(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:path":case"path":a.push(Ba(x));break}}}catch(l){t={error:l}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function be(e){var t,n,a=[];try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:gd":case"gd":var l=x.getAttribute("name"),y=x.getAttribute("fmla");if(l&&y){var p={n:l,f:y};a.push(p)}break}}}catch(f){t={error:f}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function Da(e){var t,n,a={};try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName;switch(o){case"a:avLst":case"avLst":a.avLst=be(x);break;case"a:gdLst":case"gdLst":a.gdLst=be(x);break;case"a:rect":case"react":var l={b:x.getAttribute("b")||"",l:x.getAttribute("l")||"",r:x.getAttribute("r")||"",t:x.getAttribute("t")||""};a.rect=l;break;case"a:pathLst":case"pathLst":a.pathLst=Oa(x);break}}}catch(y){t={error:y}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}var Fa=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;s.prst=n.getAttribute("prst");try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:avLst":s.avLst=be(l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),Sa=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.shape=Da(n),a},e}();function qa(e){var t="solid";switch(e){case"dash":case"dashDot":case"lgDash":case"lgDashDot":case"lgDashDotDot":case"sysDash":case"sysDashDot":case"sysDashDotDot":t="dashed";break;case"dot":case"sysDot":t="dotted";break}return t}function Pa(e,t){var n,a,r=L(t,"w",z.Emu),s={width:r};s.style="solid";try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:solidFill":s.color=At(e,l);break;case"a:noFill":s.style="none";break;case"a:round":s.radius="8%";break;case"a:prstDash":s.style=qa(l.getAttribute("val"));break;default:console.warn("parseOutline: Unknown tag ",y,l)}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return s}var Pe=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;if(n)try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:xfrm":s.xfrm=ja.fromXML(t,l);break;case"a:prstGeom":s.geom=Fa.fromXML(t,l);break;case"a:custGeom":s.custGeom=Sa.fromXML(t,l);break;case"a:ln":s.outline=Pa(t,l);break;case"a:noFill":s.noFill=!0;break;case"a:solidFill":s.fillColor=At(t,l);break;default:console.warn("ShapePr: Unknown tag ",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),$e=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n==null?void 0:n.getElementsByTagName("pic:cNvPr").item(0);if(r){a.alt=r.getAttribute("descr")||"",a.altVar=r.getAttribute("descrVar")||"";var s=lt(r,"hidden",!1);if(s)return a}return a.blipFill=Ca.fromXML(t,n==null?void 0:n.getElementsByTagName("pic:blipFill").item(0)),a.spPr=Pe.fromXML(t,n==null?void 0:n.getElementsByTagName("pic:spPr").item(0)),a},e}(),bt=function(){function e(){this.properties={},this.tblGrid=[],this.trs=[]}return e}(),$a=function(){function e(){this.properties={},this.tcs=[]}return e}(),Ma=function(){function e(){this.properties={},this.children=[]}return e.prototype.add=function(t){t&&this.children.push(t)},e}();function Ea(e,t,n,a){var r,s,x=new Ma;try{for(var o=g(t.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tcPr":x.properties=An(e,y);break;case"w:p":x.add(at.fromXML(e,y));break;case"w:tbl":x.add(Nt(e,y));break}}}catch(d){r={error:d}}finally{try{l&&!l.done&&(s=o.return)&&s.call(o)}finally{if(r)throw r.error}}var f=a[n.index];if(x.properties.vMerge){if(x.properties.vMerge==="restart")x.properties.rowSpan=1,a[n.index]=x;else if(f)if(f.properties&&f.properties.rowSpan){f.properties.rowSpan=f.properties.rowSpan+1;var i=x.properties.gridSpan||1;return n.index+=i,null}else console.warn("Tc.fromXML: continue but not found lastCol",n.index,x,a)}else delete a[n.index];var c=x.properties.gridSpan||1;return n.index+=c,x}function Ia(e,t){var n=D(e);switch(n){case"left":case"start":break;case"right":case"end":t.float="right"}}function Na(e,t){var n=_t(e);n&&(t["margin-left"]=n)}function Ha(e,t){var n=_t(e);n&&(t.width=n)}function za(e){var t={},n=oa(e);return(lt(e,"firstRow",!1)||n&32)&&(t.firstRow=!0),(lt(e,"lastRow",!1)||n&64)&&(t.lastRow=!0),(lt(e,"firstColumn",!1)||n&128)&&(t.firstColumn=!0),(lt(e,"lastColumn",!1)||n&256)&&(t.lastColumn=!0),lt(e,"noHBand",!1)||n&512?t.noHBand=!0:t.noHBand=!1,lt(e,"noVBand",!1)||n&1024?t.noVBand=!0:t.noVBand=!1,t}function Ga(e,t,n){if(typeof e.renderOptions.padding>"u"){var a=L(t,"w:tblpX"),r=L(t,"w:tblpY");n.top=r,n.left=a}}function Va(e,t){var n=e.getAttribute("w:type");n==="fixed"&&(t["table-layout"]="fixed")}function ee(e,t){var n,a,r={},s={},x={};r.tblLook={},r.cssStyle=s,r.tcCSSStyle=x;try{for(var o=g(t.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tblBorders":Zt(e,y,s),r.insideBorder=vn(e,y);break;case"w:tcBorders":Zt(e,y,s);break;case"w:tblInd":Na(y,s);break;case"w:jc":Ia(y,s);break;case"w:tblCellMar":case"w:tcMar":wn(y,x);break;case"w:tblStyle":r.pStyle=D(y);break;case"w:tblW":Ha(y,s);break;case"w:shd":s["background-color"]=qe(e,y);break;case"w:tblCaption":r.tblCaption=D(y);break;case"w:tblCellSpacing":Tn(y,s);break;case"w:tblLayout":Va(y,s);break;case"w:tblLook":r.tblLook=za(y);break;case"w:tblStyleRowBandSize":r.rowBandSize=jt(y);break;case"w:tblStyleColBandSize":r.colBandSize=jt(y);break;case"w:tblpPr":Ga(e,y,s);break;default:console.warn("parseTableProperties unknown tag",p,y)}}}catch(f){n={error:f}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}return r}function Rn(e,t){var n,a,r={},s={};try{for(var x=g(t.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:hidden":tt(l)&&(r.display="none");break;case"w:trHeight":bn(l,r);break;case"w:jc":r["text-align"]=kn(D(l));break;case"w:cantSplit":break;case"w:tblPrEx":var p=ee(e,l);Object.assign(r,p.cssStyle);break;case"w:tblCellSpacing":Tn(l,s);break;case"w:cnfStyle":break;default:console.warn("Tr: Unknown tag ",y,l)}}}catch(f){n={error:f}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return{cssStyle:r}}function Ln(e){var t,n,a=e.slice(),r=0,s=!1;try{for(var x=g(e),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:smartTag":case"w:customXml":var p=[].slice.call(l.children);a.splice.apply(a,$t([r,1],Ct(p),!1)),r=r+p.length;continue;case"w:sdt":var f=l.getElementsByTagName("w:sdtContent").item(0),i=l.getElementsByTagName("w:sdt").item(0);if(i&&(s=!0),f){var c=[].slice.call(f.children);a.splice.apply(a,$t([r,1],Ct(c),!1)),r=r+c.length;continue}break}r=r+1}}catch(d){t={error:d}}finally{try{o&&!o.done&&(n=x.return)&&n.call(x)}finally{if(t)throw t.error}}return s?Ln(a):a}function It(e){var t=[].slice.call(e.children);return Ln(t)}function Wa(e,t,n){var a,r,s=new $a,x={index:0};try{for(var o=g(It(t)),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"w:tc":var f=Ea(e,y,x,n);f&&s.tcs.push(f);break;case"w:trPr":s.properties=Rn(e,y);break;case"w:tblPrEx":var i=ee(e,y);Object.assign(s.properties.cssStyle||{},i.cssStyle);break;default:console.warn("Tr: Unknown tag ",p,y)}}}catch(c){a={error:c}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s}function Ua(e){var t,n,a=[],r=e.getElementsByTagName("w:gridCol");try{for(var s=g(r),x=s.next();!x.done;x=s.next()){var o=x.value,l=L(o,"w:w");a.push({w:l})}}catch(y){t={error:y}}finally{try{x&&!x.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return a}function Nt(e,t){var n,a,r=new bt,s={};try{for(var x=g(It(t)),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:tblPr":r.properties=ee(e,l);break;case"w:tr":r.trs.push(Wa(e,l,s));break;case"w:tblGrid":r.tblGrid=Ua(l);break;default:console.warn("Table.fromXML unknown tag",y,l)}}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return r}var Xa=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"a:fillRef":s.fillColor=At(t,l);break;case"a:lnRef":s.lineColor=At(t,l);break;case"a:fontRef":s.fontColor=At(t,l);break}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();function Za(e,t){var n,a;try{for(var r=g(e.attributes),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.name,l=x.value;switch(o){case"numCol":l!=="1"&&(t["column-count"]=l);break;case"vert":var y=l;switch(y){case"vert":t["writing-mode"]="vertical-rl",t["text-orientation"]="sideways";break;case"vert270":case"eaVert":t["writing-mode"]="vertical-rl",t["text-orientation"]="mixed";break;default:break}break;case"anchor":var p=l;switch(p){case"b":t["vertical-align"]="bottom";break;case"t":t["vertical-align"]="top";break;case"ctr":t["vertical-align"]="middle";break}break;case"rot":var f=Qt(l);f&&(t.transform="rotate(".concat(f,"deg)"));break}}}catch(i){n={error:i}}finally{try{s&&!s.done&&(a=r.return)&&a.call(r)}finally{if(n)throw n.error}}}var Cn=function(){function e(){this.style={}}return e.fromXML=function(t,n){var a,r,s,x,o=new e;o.txbxContent=[];try{for(var l=g(n.children),y=l.next();!y.done;y=l.next()){var p=y.value,f=p.tagName;switch(f){case"wps:cNvSpPr":case"wps:cNvPr":break;case"wps:spPr":o.spPr=Pe.fromXML(t,p);break;case"wps:txbx":var i=p.firstElementChild;if(i)try{for(var c=(s=void 0,g(i.children)),d=c.next();!d.done;d=c.next()){var h=d.value,m=h.tagName;switch(m){case"w:p":o.txbxContent.push(at.fromXML(t,h));break;case"w:tbl":o.txbxContent.push(Nt(t,h));break}}}catch(w){s={error:w}}finally{try{d&&!d.done&&(x=c.return)&&x.call(c)}finally{if(s)throw s.error}}else console.warn("unknown wps:txbx",p);break;case"wps:style":o.wpsStyle=Xa.fromXML(t,p);break;case"wps:bodyPr":Za(p,o.style);break;default:console.warn("WPS: Unknown tag ",f,p)}}}catch(w){a={error:w}}finally{try{y&&!y.done&&(r=l.return)&&r.call(l)}finally{if(a)throw a.error}}return o},e}(),Ja=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getAttribute("r:dm");if(r){var s=t.getDocumentRels(r);if(s){var x=t.loadWordRelXML(s);console.log(x)}}return a},e}(),Ka=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e,x=[];s.wps=x,s.wpg=[];try{for(var o=g(n.children),l=o.next();!l.done;l=o.next()){var y=l.value,p=y.tagName;switch(p){case"wpg:cNvGrpSpPr":break;case"wpg:grpSpPr":s.spPr=Pe.fromXML(t,y);break;case"wps:wsp":x.push(Cn.fromXML(t,y));break;case"pic:pic":s.pic=$e.fromXML(t,y);break;case"wpg:grpSp":s.wpg.push(e.fromXML(t,y));break;default:console.warn("WPS: Unknown tag ",p,y)}}}catch(f){a={error:f}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return s},e}(),Kt;(function(e){e.inline="inline",e.anchor="anchor"})(Kt||(Kt={}));function Ya(e){var t=lt(e,"simplePos",!1),n=lt(e,"hidden",!1),a=lt(e,"behindDoc",!1);return{simplePos:t,hidden:n,behindDoc:a}}var ke=function(){function e(){this.position=Kt.inline}return e.fromXML=function(t,n){var a,r,s,x=new e,o={};x.containerStyle=o;var l=n.firstElementChild;if(l){if(l.tagName==="wp:anchor"){x.position=Kt.anchor,x.anchor=Ya(l);var y=gn(l,"relativeHeight",1);o["z-index"]=y}try{for(var p=g(l.children),f=p.next();!f.done;f=p.next()){var i=f.value,c=i.tagName;switch(c){case"wp:simplePos":!((s=x.anchor)===null||s===void 0)&&s.simplePos&&(o.position="absolute",o.x=L(i,"x",z.Emu),o.y=L(i,"y",z.Emu));break;case"wp:positionH":var d=i.getAttribute("relativeFrom");if(d==="column"||d==="page"||d==="margin"){var h=i.firstElementChild;if(h){var m=h.tagName;o.position="absolute",m==="wp:posOffset"?o.left=Te(h.innerHTML,z.Emu):(o.left="0",console.warn("unsupport positionType",m))}}else console.warn("unsupport positionH relativeFrom",d);break;case"wp:positionV":var w=i.getAttribute("relativeFrom");if(w==="paragraph"||w==="page"){x.relativeFromV=w;var h=i.firstElementChild;if(h){var m=h.tagName;o.position="absolute",m==="wp:posOffset"?o.top=Te(h.innerHTML,z.Emu):(o.top="0",console.warn("unsupport positionType",m))}}else console.warn("unsupport positionV relativeFrom",w);break;case"wp:docPr":x.id=i.getAttribute("id")||void 0,x.name=i.getAttribute("name")||void 0;break;case"wp:cNvGraphicFramePr":break;case"a:graphic":var v=i.firstElementChild,T=v==null?void 0:v.firstElementChild;if(T){var b=T.tagName;switch(b){case"pic:pic":x.pic=$e.fromXML(t,T);break;case"wps:wsp":x.wps=Cn.fromXML(t,T);break;case"wpg:wgp":x.wpg=Ka.fromXML(t,T);break;case"dgm:relIds":x.diagram=Ja.fromXML(t,T);break;default:console.warn("unknown graphicData child tag",T)}}break;case"wp:extent":o.width=L(i,"cx",z.Emu),o.height=L(i,"cy",z.Emu);break;case"wp:effectExtent":break;case"wp:wrapNone":break;case"wp14:sizeRelH":case"wp14:sizeRelV":break;default:console.warn("drawing unknown tag",c)}}}catch(k){a={error:k}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(a)throw a.error}}}return x},e}(),jn=function(){function e(t){this.text=t}return e}(),Bn=function(){function e(){}return e}(),On=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getElementsByTagName("v:imagedata").item(0);if(r){var s=r.getAttribute("r:id")||"",x=t.getDocumentRels(s);x&&(a.src=t.loadImage(x))}return a},e}(),Re=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;s.children=[];try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:r":var p=it.fromXML(t,l);p&&s.children.push(p);break;default:console.warn("parse Ruby: Unknown key",y,l)}}}catch(f){a={error:f}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();(function(e){xa(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(Re);var Dn=function(){function e(){}return e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:rubyPr":break;case"w:rt":s.rt=Re.fromXML(t,l);break;case"w:rubyBase":s.rubyBase=Re.fromXML(t,l);break;default:console.warn("parse Ruby: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),Fn=function(){function e(){}return e}(),Sn=function(){function e(){}return e}(),qn=function(){function e(){}return e.parseXML=function(t){var n=new e;return n.font=t.getAttribute("w:font")||"",n.char=t.getAttribute("w:char")||"",n},e}(),Me=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.pos=L(n,"w:pos"),a.type=D(n),a.leader=n.getAttribute("w:leader"),a},e}(),Le=function(){function e(t){this.preserveSpace=!1,this.text=String(t)}return e}(),it=function(){function e(){this.properties={},this.children=[]}return e.prototype.addChild=function(t){t&&this.children.push(t)},e.parseRunPr=function(t,n){var a=Jt(t,n),r,s=n.getElementsByTagName("w:rStyle").item(0);return s&&(r=D(s)),{cssStyle:a,rStyle:r}},e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:t":var p=l.textContent||"",f=new Le(p);s.addChild(f);break;case"w:rPr":s.properties=e.parseRunPr(t,l);break;case"w:br":case"w:cr":s.addChild(Ae.fromXML(t,l));break;case"w:drawing":s.addChild(ke.fromXML(t,l));break;case"w:tab":s.addChild(Me.fromXML(t,l));break;case"w:fldChar":s.fldChar=l.getAttribute("w:fldCharType");break;case"w:instrText":s.addChild(new jn(l.textContent||""));break;case"w:lastRenderedPageBreak":var i=new Ae;i.type="page",s.addChild(i);break;case"w:pict":s.addChild(On.fromXML(t,l));break;case"w:ruby":s.addChild(Dn.fromXML(t,l));break;case"w:sym":s.addChild(qn.parseXML(l));break;case"mc:AlternateContent":var c=l.getElementsByTagName("w:drawing").item(0);c&&s.addChild(ke.fromXML(t,c));break;case"w:softHyphen":s.addChild(new Sn);break;case"w:noBreakHyphen":s.addChild(new Bn);break;case"w:separator":s.addChild(new Fn);break;case"w:continuationSeparator":break;default:console.warn("parse Run: Unknown key",y,l)}}}catch(d){a={error:d}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),ne=function(){function e(){this.children=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.fromXML=function(t,n){var a,r,s=new e,x=n.getAttribute("r:id");if(x){var o=t.getDocumentRels(x);o&&(s.relation=o)}var l=n.getAttribute("w:anchor");l&&(s.anchor=l);var y=n.getAttribute("w:tooltip");y&&(s.tooltip=y);try{for(var p=g(n.children),f=p.next();!f.done;f=p.next()){var i=f.value,c=i.tagName;switch(c){case"w:r":s.addChild(it.fromXML(t,i));break;default:console.warn("parse Hyperlink: Unknown key",c,i)}}}catch(d){a={error:d}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(a)throw a.error}}return s},e}(),Qa=function(){function e(){}return e.fromXML=function(t,n){var a=new e,r=n.getElementsByTagName("w:ilvl").item(0);r&&(a.ilvl=D(r));var s=n.getElementsByTagName("w:numId").item(0);return s&&(a.numId=D(s)),a},e}(),_a=function(){function e(){this.children=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.fromXML=function(t,n){var a,r,s=new e;try{for(var x=g(n.children),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:r":s.addChild(it.fromXML(t,l));break;case"w:hyperlink":s.addChild(ne.fromXML(t,l));break;case"w:bookmarkStart":s.addChild(te.fromXML(t,l));case"w:bookmarkEnd":break;case"w:proofErr":case"w:noProof":break;case"w:smartTagPr":break;case"w:del":break;default:console.warn("parse Inline: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}(),ts=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.inlineText=_a.fromXML(t,n),a.instr=n.getAttribute("w:instr")||"",a},e}(),Pn=function(){function e(){}return e.fromXML=function(t,n){var a=new e;return a.element=n,a},e}();function es(e){var t=e.getElementsByTagName("w:autoSpaceDE").item(0),n=e.getElementsByTagName("w:autoSpaceDN").item(0);return!!t||!!n}var at=function(){function e(){this.properties={},this.children=[],this.fldSimples=[]}return e.prototype.addChild=function(t){this.children.push(t)},e.parseParagraphPr=function(t,n){var a,r,s=Jt(t,n),x,o=n.getElementsByTagName("w:pStyle").item(0);o&&(x=D(o));var l,y=n.getElementsByTagName("w:numPr").item(0);y&&(l=Qa.fromXML(t,y));var p=[],f=n.getElementsByTagName("w:tab");try{for(var i=g(f),c=i.next();!c.done;c=i.next()){var d=c.value;p.push(Me.fromXML(t,d))}}catch(m){a={error:m}}finally{try{c&&!c.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}var h=es(n);return{cssStyle:s,pStyle:x,numPr:l,tabs:p,autoSpace:h}},e.fromXML=function(t,n){var a,r,s=new e;s.fldSimples=[],s.paraId=n.getAttribute("w14:paraId")||"";try{for(var x=g(It(n)),o=x.next();!o.done;o=x.next()){var l=o.value,y=l.tagName;switch(y){case"w:pPr":s.properties=e.parseParagraphPr(t,l);break;case"w:r":s.addChild(it.fromXML(t,l));break;case"w:hyperlink":s.addChild(ne.fromXML(t,l));break;case"w:bookmarkStart":s.addChild(te.fromXML(t,l));case"w:bookmarkEnd":break;case"w:proofErr":case"w:noProof":break;case"w:del":case"w:moveTo":case"w:moveFrom":break;case"w:fldSimple":s.fldSimples.push(ts.fromXML(t,l));break;case"m:oMathPara":case"m:oMath":s.addChild(Pn.fromXML(t,l));break;default:console.warn("parse Paragraph: Unknown key",y,l)}}}catch(p){a={error:p}}finally{try{o&&!o.done&&(r=x.return)&&r.call(x)}finally{if(a)throw a.error}}return s},e}();function ns(e,t){var n={};if(!t)return n;var a=t.getElementsByTagName("w:rPrDefault").item(0);if(a){var r=a.getElementsByTagName("w:rPr").item(0);r&&(n.rPr=it.parseRunPr(e,r))}var s=t.getElementsByTagName("w:pPrDefault").item(0);if(s){var x=s.getElementsByTagName("w:pPr").item(0);x&&(n.pPr=at.parseParagraphPr(e,x))}return n}function Ve(e,t){var n,a,r={};try{for(var s=g(t.children),x=s.next();!x.done;x=s.next()){var o=x.value,l=o.tagName;switch(l){case"w:rPr":r.rPr=it.parseRunPr(e,o);break;case"w:pPr":r.pPr=at.parseParagraphPr(e,o);break;case"w:tblPr":r.tblPr=ee(e,o);break;case"w:tcPr":r.tcPr=An(e,o);break;case"w:trPr":r.trPr=Rn(e,o);break}}}catch(y){n={error:y}}finally{try{x&&!x.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return r}function as(e,t){var n,a,r={};r.id=t.getAttribute("w:styleId")||"",r.type=t.getAttribute("w:type"),r.tblStylePr={},Object.assign(r,Ve(e,t));try{for(var s=g(t.children),x=s.next();!x.done;x=s.next()){var o=x.value,l=o.tagName;switch(l){case"w:name":r.name=D(o);break;case"w:basedOn":r.basedOn=D(o);break;case"w:rPr":case"w:pPr":case"w:tblPr":case"w:tcPr":case"w:trPr":break;case"w:tblStylePr":var y=o.getAttribute("w:type");r.tblStylePr[y]=Ve(e,o);break;case"w:next":case"w:link":case"w:unhideWhenUsed":case"w:qFormat":case"w:rsid":case"w:uiPriority":case"w:semiHidden":case"w:autoRedefine":break;default:console.warn("parseStyle Unknown tag",l,o)}}}catch(p){n={error:p}}finally{try{x&&!x.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return r}function ss(e,t){var n,a,r={styleMap:{}},s=Array.from(t.getElementsByTagName("w:style"));try{for(var x=g(s),o=x.next();!o.done;o=x.next()){var l=o.value,y=as(e,l);y.id&&(r.styleMap[y.id]=y)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(a=x.return)&&a.call(x)}finally{if(n)throw n.error}}return r.defaultStyle=ns(e,t.getElementsByTagName("w:docDefaults").item(0)),r}var rs=function(){function e(){this.colors={}}return e}();function ls(e){var t,n,a=new rs;if(!e)return a;a.name=e.getAttribute("name")||"";try{for(var r=g(e.children),s=r.next();!s.done;s=r.next()){var x=s.value,o=x.tagName.replace("a:",""),l=x.firstElementChild;if(l){var y=l.nodeName.replace("a:","");if(y==="sysClr")a.colors[o]=l.getAttribute("lastClr")||"";else if(y==="srgbClr")a.colors[o]="#"+l.getAttribute("val")||"";else if(y==="scrgbClr"){var p=P(x,"r")*256,f=P(x,"g")*256,i=P(x,"b")*256;a.colors[o]="rgb(".concat(p,", ").concat(f,", ").concat(i,")")}else if(y==="hslClr"){var c=Qt(x.getAttribute("hue")),d=P(x,"sat")*100,h=P(x,"lum")*100;a.colors[o]="hsl(".concat(c,", ").concat(d,"%, ").concat(h,"%)")}else y==="prstClr"?a.colors[o]=D(x):console.error("unknown clr name",y)}}}catch(m){t={error:m}}finally{try{s&&!s.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return a}function xs(e){var t={};return t}function os(e){var t={};return t}function ys(e){var t={};return e&&(t.clrScheme=ls(e.getElementsByTagName("a:clrScheme").item(0)),t.fontScheme=xs(e.getElementsByTagName("a:fontScheme").item(0)),t.fmtScheme=os(e.getElementsByTagName("a:fmtScheme").item(0))),t}function ps(e){var t={};return t.themeElements=ys(e.getElementsByTagName("a:themeElements").item(0)),t}function yt(e){e===void 0&&(e={});var t="";for(var n in e){var a=e[n];a!=null&&a!==""&&(t+="".concat(n,": ").concat(a,`; `))}return t}function Ht(e,t){if(t)for(var n in t){var a=t[n];a!=null&&a!==""&&e.style.setProperty(n,String(a))}}function N(e){return document.createElement(e)}function We(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e,t){e&&t&&e.appendChild(t)}function fs(e,t){e&&t&&e.removeChild(t)}function Ut(e,t){e&&t&&e.classList.add(t)}function Ue(e,t){var n;e&&t&&(n=e.classList).add.apply(n,$t([],Ct(t),!1))}function is(e,t){t.type==="page"&&(e.breakPage=!0);var n=N("br");return n}function cs(e){var t,n=e.styles,a=n.defaultStyle,r="";a!=null&&a.pPr&&(r=yt(a.pPr.cssStyle));var s="";a!=null&&a.rPr&&(s=yt(a.rPr.cssStyle));var x=!((t=e.settings)===null||t===void 0)&&t.autoHyphenation?"hyphens: auto;":"",o=e.getClassPrefix();return` diff --git a/admin-views/dist/assets/index-952cad48.js.gz b/admin-views/dist/assets/index-952cad48.js.gz new file mode 100644 index 00000000..fe0c3572 Binary files /dev/null and b/admin-views/dist/assets/index-952cad48.js.gz differ diff --git a/admin-views/dist/assets/index-2af8b309.js b/admin-views/dist/assets/index-a2b80194.js similarity index 99% rename from admin-views/dist/assets/index-2af8b309.js rename to admin-views/dist/assets/index-a2b80194.js index 629bd9a4..930e77c8 100644 --- a/admin-views/dist/assets/index-2af8b309.js +++ b/admin-views/dist/assets/index-a2b80194.js @@ -1 +1 @@ -import{Q as vr,f as fr}from"./index-91036dd3.js";function lr($,q){for(var v=0;vo[r]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var or={exports:{}};(function($,q){(function(o,r){$.exports=r()})(vr,function(){return function(v){var o={};function r(e){if(o[e])return o[e].exports;var L=o[e]={exports:{},id:e,loaded:!1};return v[e].call(L.exports,L,L.exports,r),L.loaded=!0,L.exports}return r.m=v,r.c=o,r.p="",r(0)}([function(v,o,r){var e;e=(function(L){return{clustering:r(1),regression:r(5),statistics:r(6),histogram:r(15),transform:{regression:r(18),histogram:r(21),clustering:r(22)}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l=r(3),n=r(4),m=l.size,E=l.sumOfColumn,t=l.sum,p=l.zeros,n=r(4),s=n.isNumber,u=Math.pow,a={SINGLE:"single",MULTIPLE:"multiple"};function f(M,N,y){for(var F=p(M.length,2),I=D(N,z(M,y.dimensions)),A=!0,U,T,R,C;A;){A=!1;for(var P=0;PR&&(T.min=R),T.maxf?1:a0)i=h;else if(D<0)c=h+1;else return h+1}return c}function u(a,f,c){if(a&&f){if(a.map&&a.map===d)return a.map(f,c);for(var i=[],h=0,D=a.length;h=10&&m++,m}return{isNumber:g,isInteger:S,quantityExponent:d}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l={linear:function(t,p){for(var n=p.dimensions[0],s=p.dimensions[1],u=0,a=0,f=0,c=0,i=t.length,h=0;h=0;i--)i>1?U+=Math.round(y[i]*Math.pow(10,i+1))/Math.pow(10,i+1)+"x^"+i+" + ":i===1?U+=Math.round(y[i]*100)/100+"x + ":U+=Math.round(y[i]*100)/100;return{points:F,parameter:y,expression:U}}};function m(t,p){for(var n=0;nMath.abs(t[n][s])&&(s=u);for(var a=n;a=n;i--)t[i][c]-=t[i][n]/t[n][n]*t[n][c]}for(var h=new Array(p),D=t.length-1,u=t.length-2;u>=0;u--){for(var f=0,n=u+1;nm&&(m=l[E]);return m}return d}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(9);return function(S){var d=g(S);return d&&Math.sqrt(d)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber,d=r(10);function l(m){var E=m.length;if(!E||E<2)return 0;if(m.length>=2){for(var t=d(m),p=0,n,s=0;s=1)return g[d-1];var l=(d-1)*S,m=Math.floor(l),E=g[m],t=g[m+1];return E+(t-E)*(l-m)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber;function d(l){for(var m=1/0,E=0;E0?T[P-1]:T[P]-y===A?y:T[P]-A,C[P].x1=P50?50:D},scott:function(h,D,x){return Math.ceil((x-D)/(3.5*l(h)*Math.pow(h.length,-1/3)))},freedmanDiaconis:function(h,D,x){return h.sort(n),Math.ceil((x-D)/(2*(d(h,.75)-d(h,.25))*Math.pow(h.length,-1/3)))},sturges:function(h){return Math.ceil(Math.log(h.length)/Math.LN2)+1}};return c}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.getPrecision;return function(d,l,m,E){var t=arguments.length;t<2?(l=d,d=0,m=1):t<3?m=1:t<4?(m=+m,E=S(m)):E=+E;for(var p=Math.ceil(((l-d)/m).toFixed(E)),n=new Array(p+1),s=0;s=Math.sqrt(50)?t*=10:p>=Math.sqrt(10)?t*=5:p>=Math.sqrt(2)&&(t*=2);var n=E<0?-E:0,s=+(d>=S?t:-t).toFixed(n);return{step:s,toFixedPrecision:n}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(5),S=r(19),d=2;return{type:"ecStat:regression",transform:function(m){var E=m.upstream,t=m.config||{},p=t.method||"linear",n=g(p,E.cloneRawData(),{order:t.order,dimensions:S.normalizeExistingDimensions(m,t.dimensions)}),s=n.points,u=t.formulaOn;u==null&&(u="end");var a;if(u!=="none"){for(var f=0;fo[r]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var or={exports:{}};(function($,q){(function(o,r){$.exports=r()})(vr,function(){return function(v){var o={};function r(e){if(o[e])return o[e].exports;var L=o[e]={exports:{},id:e,loaded:!1};return v[e].call(L.exports,L,L.exports,r),L.loaded=!0,L.exports}return r.m=v,r.c=o,r.p="",r(0)}([function(v,o,r){var e;e=(function(L){return{clustering:r(1),regression:r(5),statistics:r(6),histogram:r(15),transform:{regression:r(18),histogram:r(21),clustering:r(22)}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l=r(3),n=r(4),m=l.size,E=l.sumOfColumn,t=l.sum,p=l.zeros,n=r(4),s=n.isNumber,u=Math.pow,a={SINGLE:"single",MULTIPLE:"multiple"};function f(M,N,y){for(var F=p(M.length,2),I=D(N,z(M,y.dimensions)),A=!0,U,T,R,C;A;){A=!1;for(var P=0;PR&&(T.min=R),T.maxf?1:a0)i=h;else if(D<0)c=h+1;else return h+1}return c}function u(a,f,c){if(a&&f){if(a.map&&a.map===d)return a.map(f,c);for(var i=[],h=0,D=a.length;h=10&&m++,m}return{isNumber:g,isInteger:S,quantityExponent:d}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.dataPreprocess,d=g.normalizeDimensions,l={linear:function(t,p){for(var n=p.dimensions[0],s=p.dimensions[1],u=0,a=0,f=0,c=0,i=t.length,h=0;h=0;i--)i>1?U+=Math.round(y[i]*Math.pow(10,i+1))/Math.pow(10,i+1)+"x^"+i+" + ":i===1?U+=Math.round(y[i]*100)/100+"x + ":U+=Math.round(y[i]*100)/100;return{points:F,parameter:y,expression:U}}};function m(t,p){for(var n=0;nMath.abs(t[n][s])&&(s=u);for(var a=n;a=n;i--)t[i][c]-=t[i][n]/t[n][n]*t[n][c]}for(var h=new Array(p),D=t.length-1,u=t.length-2;u>=0;u--){for(var f=0,n=u+1;nm&&(m=l[E]);return m}return d}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(9);return function(S){var d=g(S);return d&&Math.sqrt(d)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber,d=r(10);function l(m){var E=m.length;if(!E||E<2)return 0;if(m.length>=2){for(var t=d(m),p=0,n,s=0;s=1)return g[d-1];var l=(d-1)*S,m=Math.floor(l),E=g[m],t=g[m+1];return E+(t-E)*(l-m)}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(4),S=g.isNumber;function d(l){for(var m=1/0,E=0;E0?T[P-1]:T[P]-y===A?y:T[P]-A,C[P].x1=P50?50:D},scott:function(h,D,x){return Math.ceil((x-D)/(3.5*l(h)*Math.pow(h.length,-1/3)))},freedmanDiaconis:function(h,D,x){return h.sort(n),Math.ceil((x-D)/(2*(d(h,.75)-d(h,.25))*Math.pow(h.length,-1/3)))},sturges:function(h){return Math.ceil(Math.log(h.length)/Math.LN2)+1}};return c}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(2),S=g.getPrecision;return function(d,l,m,E){var t=arguments.length;t<2?(l=d,d=0,m=1):t<3?m=1:t<4?(m=+m,E=S(m)):E=+E;for(var p=Math.ceil(((l-d)/m).toFixed(E)),n=new Array(p+1),s=0;s=Math.sqrt(50)?t*=10:p>=Math.sqrt(10)?t*=5:p>=Math.sqrt(2)&&(t*=2);var n=E<0?-E:0,s=+(d>=S?t:-t).toFixed(n);return{step:s,toFixedPrecision:n}}}).call(o,r,o,v),e!==void 0&&(v.exports=e)},function(v,o,r){var e;e=(function(L){var g=r(5),S=r(19),d=2;return{type:"ecStat:regression",transform:function(m){var E=m.upstream,t=m.config||{},p=t.method||"linear",n=g(p,E.cloneRawData(),{order:t.order,dimensions:S.normalizeExistingDimensions(m,t.dimensions)}),s=n.points,u=t.formulaOn;u==null&&(u="end");var a;if(u!=="none"){for(var f=0;f"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ha$1=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia$1=Object.prototype.hasOwnProperty,ja$1={},ka$1={};function la$1(x_){return ia$1.call(ka$1,x_)?!0:ia$1.call(ja$1,x_)?!1:ha$1.test(x_)?ka$1[x_]=!0:(ja$1[x_]=!0,!1)}function ma$1(x_,e0e,$P,t0e){if($P!==null&&$P.type===0)return!1;switch(typeof e0e){case"function":case"symbol":return!0;case"boolean":return t0e?!1:$P!==null?!$P.acceptsBooleans:(x_=x_.toLowerCase().slice(0,5),x_!=="data-"&&x_!=="aria-");default:return!1}}function na$1(x_,e0e,$P,t0e){if(e0e===null||typeof e0e>"u"||ma$1(x_,e0e,$P,t0e))return!0;if(t0e)return!1;if($P!==null)switch($P.type){case 3:return!e0e;case 4:return e0e===!1;case 5:return isNaN(e0e);case 6:return isNaN(e0e)||1>e0e}return!1}function B$2(x_,e0e,$P,t0e,r0e,n0e,a0e){this.acceptsBooleans=e0e===2||e0e===3||e0e===4,this.attributeName=t0e,this.attributeNamespace=r0e,this.mustUseProperty=$P,this.propertyName=x_,this.type=e0e,this.sanitizeURL=n0e,this.removeEmptyString=a0e}var D$2={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x_){D$2[x_]=new B$2(x_,0,!1,x_,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x_){var e0e=x_[0];D$2[e0e]=new B$2(e0e,1,!1,x_[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(x_){D$2[x_]=new B$2(x_,2,!1,x_.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x_){D$2[x_]=new B$2(x_,2,!1,x_,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(x_){D$2[x_]=new B$2(x_,3,!1,x_.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(x_){D$2[x_]=new B$2(x_,3,!0,x_,null,!1,!1)});["capture","download"].forEach(function(x_){D$2[x_]=new B$2(x_,4,!1,x_,null,!1,!1)});["cols","rows","size","span"].forEach(function(x_){D$2[x_]=new B$2(x_,6,!1,x_,null,!1,!1)});["rowSpan","start"].forEach(function(x_){D$2[x_]=new B$2(x_,5,!1,x_.toLowerCase(),null,!1,!1)});var oa$1=/[\-:]([a-z])/g;function pa$1(x_){return x_[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(x_){D$2[x_]=new B$2(x_,1,!1,x_.toLowerCase(),null,!1,!1)});D$2.xlinkHref=new B$2("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(x_){D$2[x_]=new B$2(x_,1,!1,x_.toLowerCase(),null,!0,!0)});function qa$1(x_,e0e,$P,t0e){var r0e=D$2.hasOwnProperty(e0e)?D$2[e0e]:null,n0e=r0e!==null?r0e.type===0:t0e?!1:!(!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ha$1=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ia$1=Object.prototype.hasOwnProperty,ja$1={},ka$1={};function la$1(x_){return ia$1.call(ka$1,x_)?!0:ia$1.call(ja$1,x_)?!1:ha$1.test(x_)?ka$1[x_]=!0:(ja$1[x_]=!0,!1)}function ma$1(x_,e0e,$P,t0e){if($P!==null&&$P.type===0)return!1;switch(typeof e0e){case"function":case"symbol":return!0;case"boolean":return t0e?!1:$P!==null?!$P.acceptsBooleans:(x_=x_.toLowerCase().slice(0,5),x_!=="data-"&&x_!=="aria-");default:return!1}}function na$1(x_,e0e,$P,t0e){if(e0e===null||typeof e0e>"u"||ma$1(x_,e0e,$P,t0e))return!0;if(t0e)return!1;if($P!==null)switch($P.type){case 3:return!e0e;case 4:return e0e===!1;case 5:return isNaN(e0e);case 6:return isNaN(e0e)||1>e0e}return!1}function B$2(x_,e0e,$P,t0e,r0e,n0e,a0e){this.acceptsBooleans=e0e===2||e0e===3||e0e===4,this.attributeName=t0e,this.attributeNamespace=r0e,this.mustUseProperty=$P,this.propertyName=x_,this.type=e0e,this.sanitizeURL=n0e,this.removeEmptyString=a0e}var D$2={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(x_){D$2[x_]=new B$2(x_,0,!1,x_,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(x_){var e0e=x_[0];D$2[e0e]=new B$2(e0e,1,!1,x_[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(x_){D$2[x_]=new B$2(x_,2,!1,x_.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(x_){D$2[x_]=new B$2(x_,2,!1,x_,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(x_){D$2[x_]=new B$2(x_,3,!1,x_.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(x_){D$2[x_]=new B$2(x_,3,!0,x_,null,!1,!1)});["capture","download"].forEach(function(x_){D$2[x_]=new B$2(x_,4,!1,x_,null,!1,!1)});["cols","rows","size","span"].forEach(function(x_){D$2[x_]=new B$2(x_,6,!1,x_,null,!1,!1)});["rowSpan","start"].forEach(function(x_){D$2[x_]=new B$2(x_,5,!1,x_.toLowerCase(),null,!1,!1)});var oa$1=/[\-:]([a-z])/g;function pa$1(x_){return x_[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(x_){var e0e=x_.replace(oa$1,pa$1);D$2[e0e]=new B$2(e0e,1,!1,x_,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(x_){D$2[x_]=new B$2(x_,1,!1,x_.toLowerCase(),null,!1,!1)});D$2.xlinkHref=new B$2("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(x_){D$2[x_]=new B$2(x_,1,!1,x_.toLowerCase(),null,!0,!0)});function qa$1(x_,e0e,$P,t0e){var r0e=D$2.hasOwnProperty(e0e)?D$2[e0e]:null,n0e=r0e!==null?r0e.type===0:t0e?!1:!(!(2o0e||r0e[a0e]!==n0e[o0e])return` -`+r0e[a0e].replace(" at new "," at ");while(1<=a0e&&0<=o0e);break}}}finally{Oa$1=!1,Error.prepareStackTrace=$P}return(x_=x_?x_.displayName||x_.name:"")?Na$1(x_):""}function Qa$1(x_){switch(x_.tag){case 5:return Na$1(x_.type);case 16:return Na$1("Lazy");case 13:return Na$1("Suspense");case 19:return Na$1("SuspenseList");case 0:case 2:case 15:return x_=Pa$1(x_.type,!1),x_;case 11:return x_=Pa$1(x_.type.render,!1),x_;case 22:return x_=Pa$1(x_.type._render,!1),x_;case 1:return x_=Pa$1(x_.type,!0),x_;default:return""}}function Ra$1(x_){if(x_==null)return null;if(typeof x_=="function")return x_.displayName||x_.name||null;if(typeof x_=="string")return x_;switch(x_){case ua$1:return"Fragment";case ta$1:return"Portal";case xa$1:return"Profiler";case wa$1:return"StrictMode";case Ba$1:return"Suspense";case Ca$1:return"SuspenseList"}if(typeof x_=="object")switch(x_.$$typeof){case za$1:return(x_.displayName||"Context")+".Consumer";case ya$1:return(x_._context.displayName||"Context")+".Provider";case Aa$1:var e0e=x_.render;return e0e=e0e.displayName||e0e.name||"",x_.displayName||(e0e!==""?"ForwardRef("+e0e+")":"ForwardRef");case Da$1:return Ra$1(x_.type);case Fa$1:return Ra$1(x_._render);case Ea$1:e0e=x_._payload,x_=x_._init;try{return Ra$1(x_(e0e))}catch{}}return null}function Sa$1(x_){switch(typeof x_){case"boolean":case"number":case"object":case"string":case"undefined":return x_;default:return""}}function Ta$1(x_){var e0e=x_.type;return(x_=x_.nodeName)&&x_.toLowerCase()==="input"&&(e0e==="checkbox"||e0e==="radio")}function Ua$1(x_){var e0e=Ta$1(x_)?"checked":"value",$P=Object.getOwnPropertyDescriptor(x_.constructor.prototype,e0e),t0e=""+x_[e0e];if(!x_.hasOwnProperty(e0e)&&typeof $P<"u"&&typeof $P.get=="function"&&typeof $P.set=="function"){var r0e=$P.get,n0e=$P.set;return Object.defineProperty(x_,e0e,{configurable:!0,get:function(){return r0e.call(this)},set:function(a0e){t0e=""+a0e,n0e.call(this,a0e)}}),Object.defineProperty(x_,e0e,{enumerable:$P.enumerable}),{getValue:function(){return t0e},setValue:function(a0e){t0e=""+a0e},stopTracking:function(){x_._valueTracker=null,delete x_[e0e]}}}}function Va$1(x_){x_._valueTracker||(x_._valueTracker=Ua$1(x_))}function Wa$1(x_){if(!x_)return!1;var e0e=x_._valueTracker;if(!e0e)return!0;var $P=e0e.getValue(),t0e="";return x_&&(t0e=Ta$1(x_)?x_.checked?"true":"false":x_.value),x_=t0e,x_!==$P?(e0e.setValue(x_),!0):!1}function Xa$1(x_){if(x_=x_||(typeof document<"u"?document:void 0),typeof x_>"u")return null;try{return x_.activeElement||x_.body}catch{return x_.body}}function Ya$1(x_,e0e){var $P=e0e.checked;return m$4({},e0e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:$P??x_._wrapperState.initialChecked})}function Za$1(x_,e0e){var $P=e0e.defaultValue==null?"":e0e.defaultValue,t0e=e0e.checked!=null?e0e.checked:e0e.defaultChecked;$P=Sa$1(e0e.value!=null?e0e.value:$P),x_._wrapperState={initialChecked:t0e,initialValue:$P,controlled:e0e.type==="checkbox"||e0e.type==="radio"?e0e.checked!=null:e0e.value!=null}}function $a$1(x_,e0e){e0e=e0e.checked,e0e!=null&&qa$1(x_,"checked",e0e,!1)}function ab$1(x_,e0e){$a$1(x_,e0e);var $P=Sa$1(e0e.value),t0e=e0e.type;if($P!=null)t0e==="number"?($P===0&&x_.value===""||x_.value!=$P)&&(x_.value=""+$P):x_.value!==""+$P&&(x_.value=""+$P);else if(t0e==="submit"||t0e==="reset"){x_.removeAttribute("value");return}e0e.hasOwnProperty("value")?bb$1(x_,e0e.type,$P):e0e.hasOwnProperty("defaultValue")&&bb$1(x_,e0e.type,Sa$1(e0e.defaultValue)),e0e.checked==null&&e0e.defaultChecked!=null&&(x_.defaultChecked=!!e0e.defaultChecked)}function cb$1(x_,e0e,$P){if(e0e.hasOwnProperty("value")||e0e.hasOwnProperty("defaultValue")){var t0e=e0e.type;if(!(t0e!=="submit"&&t0e!=="reset"||e0e.value!==void 0&&e0e.value!==null))return;e0e=""+x_._wrapperState.initialValue,$P||e0e===x_.value||(x_.value=e0e),x_.defaultValue=e0e}$P=x_.name,$P!==""&&(x_.name=""),x_.defaultChecked=!!x_._wrapperState.initialChecked,$P!==""&&(x_.name=$P)}function bb$1(x_,e0e,$P){(e0e!=="number"||Xa$1(x_.ownerDocument)!==x_)&&($P==null?x_.defaultValue=""+x_._wrapperState.initialValue:x_.defaultValue!==""+$P&&(x_.defaultValue=""+$P))}function db$1(x_){var e0e="";return aa$1.Children.forEach(x_,function($P){$P!=null&&(e0e+=$P)}),e0e}function eb$1(x_,e0e){return x_=m$4({children:void 0},e0e),(e0e=db$1(e0e.children))&&(x_.children=e0e),x_}function fb$1(x_,e0e,$P,t0e){if(x_=x_.options,e0e){e0e={};for(var r0e=0;r0e<$P.length;r0e++)e0e["$"+$P[r0e]]=!0;for($P=0;$P=$P.length))throw Error(y$2(93));$P=$P[0]}e0e=$P}e0e==null&&(e0e=""),$P=e0e}x_._wrapperState={initialValue:Sa$1($P)}}function ib$1(x_,e0e){var $P=Sa$1(e0e.value),t0e=Sa$1(e0e.defaultValue);$P!=null&&($P=""+$P,$P!==x_.value&&(x_.value=$P),e0e.defaultValue==null&&x_.defaultValue!==$P&&(x_.defaultValue=$P)),t0e!=null&&(x_.defaultValue=""+t0e)}function jb$1(x_){var e0e=x_.textContent;e0e===x_._wrapperState.initialValue&&e0e!==""&&e0e!==null&&(x_.value=e0e)}var kb$1={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lb$1(x_){switch(x_){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mb$1(x_,e0e){return x_==null||x_==="http://www.w3.org/1999/xhtml"?lb$1(e0e):x_==="http://www.w3.org/2000/svg"&&e0e==="foreignObject"?"http://www.w3.org/1999/xhtml":x_}var nb$1,ob$1=function(x_){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e0e,$P,t0e,r0e){MSApp.execUnsafeLocalFunction(function(){return x_(e0e,$P,t0e,r0e)})}:x_}(function(x_,e0e){if(x_.namespaceURI!==kb$1.svg||"innerHTML"in x_)x_.innerHTML=e0e;else{for(nb$1=nb$1||document.createElement("div"),nb$1.innerHTML=""+e0e.valueOf().toString()+"",e0e=nb$1.firstChild;x_.firstChild;)x_.removeChild(x_.firstChild);for(;e0e.firstChild;)x_.appendChild(e0e.firstChild)}});function pb$1(x_,e0e){if(e0e){var $P=x_.firstChild;if($P&&$P===x_.lastChild&&$P.nodeType===3){$P.nodeValue=e0e;return}}x_.textContent=e0e}var qb$1={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rb$1=["Webkit","ms","Moz","O"];Object.keys(qb$1).forEach(function(x_){rb$1.forEach(function(e0e){e0e=e0e+x_.charAt(0).toUpperCase()+x_.substring(1),qb$1[e0e]=qb$1[x_]})});function sb$1(x_,e0e,$P){return e0e==null||typeof e0e=="boolean"||e0e===""?"":$P||typeof e0e!="number"||e0e===0||qb$1.hasOwnProperty(x_)&&qb$1[x_]?(""+e0e).trim():e0e+"px"}function tb$1(x_,e0e){x_=x_.style;for(var $P in e0e)if(e0e.hasOwnProperty($P)){var t0e=$P.indexOf("--")===0,r0e=sb$1($P,e0e[$P],t0e);$P==="float"&&($P="cssFloat"),t0e?x_.setProperty($P,r0e):x_[$P]=r0e}}var ub$1=m$4({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vb$1(x_,e0e){if(e0e){if(ub$1[x_]&&(e0e.children!=null||e0e.dangerouslySetInnerHTML!=null))throw Error(y$2(137,x_));if(e0e.dangerouslySetInnerHTML!=null){if(e0e.children!=null)throw Error(y$2(60));if(!(typeof e0e.dangerouslySetInnerHTML=="object"&&"__html"in e0e.dangerouslySetInnerHTML))throw Error(y$2(61))}if(e0e.style!=null&&typeof e0e.style!="object")throw Error(y$2(62))}}function wb$1(x_,e0e){if(x_.indexOf("-")===-1)return typeof e0e.is=="string";switch(x_){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xb$1(x_){return x_=x_.target||x_.srcElement||window,x_.correspondingUseElement&&(x_=x_.correspondingUseElement),x_.nodeType===3?x_.parentNode:x_}var yb$1=null,zb$1=null,Ab$1=null;function Bb$1(x_){if(x_=Cb$1(x_)){if(typeof yb$1!="function")throw Error(y$2(280));var e0e=x_.stateNode;e0e&&(e0e=Db$1(e0e),yb$1(x_.stateNode,x_.type,e0e))}}function Eb$1(x_){zb$1?Ab$1?Ab$1.push(x_):Ab$1=[x_]:zb$1=x_}function Fb$1(){if(zb$1){var x_=zb$1,e0e=Ab$1;if(Ab$1=zb$1=null,Bb$1(x_),e0e)for(x_=0;x_t0e?0:1<$P;$P++)e0e.push(x_);return e0e}function $c$1(x_,e0e,$P){x_.pendingLanes|=e0e;var t0e=e0e-1;x_.suspendedLanes&=t0e,x_.pingedLanes&=t0e,x_=x_.eventTimes,e0e=31-Vc$1(e0e),x_[e0e]=$P}var Vc$1=Math.clz32?Math.clz32:ad$1,bd$1=Math.log,cd$1=Math.LN2;function ad$1(x_){return x_===0?32:31-(bd$1(x_)/cd$1|0)|0}var dd$1=r$5.unstable_UserBlockingPriority,ed$1=r$5.unstable_runWithPriority,fd$1=!0;function gd$1(x_,e0e,$P,t0e){Kb$1||Ib$1();var r0e=hd$1,n0e=Kb$1;Kb$1=!0;try{Hb$1(r0e,x_,e0e,$P,t0e)}finally{(Kb$1=n0e)||Mb$1()}}function id$2(x_,e0e,$P,t0e){ed$1(dd$1,hd$1.bind(null,x_,e0e,$P,t0e))}function hd$1(x_,e0e,$P,t0e){if(fd$1){var r0e;if((r0e=(e0e&4)===0)&&0=be$1),ee$1=String.fromCharCode(32),fe$1=!1;function ge$1(x_,e0e){switch(x_){case"keyup":return $d$1.indexOf(e0e.keyCode)!==-1;case"keydown":return e0e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he$1(x_){return x_=x_.detail,typeof x_=="object"&&"data"in x_?x_.data:null}var ie$1=!1;function je$1(x_,e0e){switch(x_){case"compositionend":return he$1(e0e);case"keypress":return e0e.which!==32?null:(fe$1=!0,ee$1);case"textInput":return x_=e0e.data,x_===ee$1&&fe$1?null:x_;default:return null}}function ke$1(x_,e0e){if(ie$1)return x_==="compositionend"||!ae$1&&ge$1(x_,e0e)?(x_=nd$1(),md$1=ld$1=kd$1=null,ie$1=!1,x_):null;switch(x_){case"paste":return null;case"keypress":if(!(e0e.ctrlKey||e0e.altKey||e0e.metaKey)||e0e.ctrlKey&&e0e.altKey){if(e0e.char&&1=e0e)return{node:$P,offset:e0e-x_};x_=t0e}e:{for(;$P;){if($P.nextSibling){$P=$P.nextSibling;break e}$P=$P.parentNode}$P=void 0}$P=Ke$1($P)}}function Me$1(x_,e0e){return x_&&e0e?x_===e0e?!0:x_&&x_.nodeType===3?!1:e0e&&e0e.nodeType===3?Me$1(x_,e0e.parentNode):"contains"in x_?x_.contains(e0e):x_.compareDocumentPosition?!!(x_.compareDocumentPosition(e0e)&16):!1:!1}function Ne$1(){for(var x_=window,e0e=Xa$1();e0e instanceof x_.HTMLIFrameElement;){try{var $P=typeof e0e.contentWindow.location.href=="string"}catch{$P=!1}if($P)x_=e0e.contentWindow;else break;e0e=Xa$1(x_.document)}return e0e}function Oe$1(x_){var e0e=x_&&x_.nodeName&&x_.nodeName.toLowerCase();return e0e&&(e0e==="input"&&(x_.type==="text"||x_.type==="search"||x_.type==="tel"||x_.type==="url"||x_.type==="password")||e0e==="textarea"||x_.contentEditable==="true")}var Pe$1=fa$1&&"documentMode"in document&&11>=document.documentMode,Qe$1=null,Re$1=null,Se$1=null,Te$1=!1;function Ue$1(x_,e0e,$P){var t0e=$P.window===$P?$P.document:$P.nodeType===9?$P:$P.ownerDocument;Te$1||Qe$1==null||Qe$1!==Xa$1(t0e)||(t0e=Qe$1,"selectionStart"in t0e&&Oe$1(t0e)?t0e={start:t0e.selectionStart,end:t0e.selectionEnd}:(t0e=(t0e.ownerDocument&&t0e.ownerDocument.defaultView||window).getSelection(),t0e={anchorNode:t0e.anchorNode,anchorOffset:t0e.anchorOffset,focusNode:t0e.focusNode,focusOffset:t0e.focusOffset}),Se$1&&Je$1(Se$1,t0e)||(Se$1=t0e,t0e=oe$1(Re$1,"onSelect"),0Af$1||(x_.current=zf$1[Af$1],zf$1[Af$1]=null,Af$1--)}function I$2(x_,e0e){Af$1++,zf$1[Af$1]=x_.current,x_.current=e0e}var Cf$1={},M$1=Bf$1(Cf$1),N$1=Bf$1(!1),Df$1=Cf$1;function Ef$1(x_,e0e){var $P=x_.type.contextTypes;if(!$P)return Cf$1;var t0e=x_.stateNode;if(t0e&&t0e.__reactInternalMemoizedUnmaskedChildContext===e0e)return t0e.__reactInternalMemoizedMaskedChildContext;var r0e={},n0e;for(n0e in $P)r0e[n0e]=e0e[n0e];return t0e&&(x_=x_.stateNode,x_.__reactInternalMemoizedUnmaskedChildContext=e0e,x_.__reactInternalMemoizedMaskedChildContext=r0e),r0e}function Ff(x_){return x_=x_.childContextTypes,x_!=null}function Gf$1(){H$2(N$1),H$2(M$1)}function Hf$1(x_,e0e,$P){if(M$1.current!==Cf$1)throw Error(y$2(168));I$2(M$1,e0e),I$2(N$1,$P)}function If$1(x_,e0e,$P){var t0e=x_.stateNode;if(x_=e0e.childContextTypes,typeof t0e.getChildContext!="function")return $P;t0e=t0e.getChildContext();for(var r0e in t0e)if(!(r0e in x_))throw Error(y$2(108,Ra$1(e0e)||"Unknown",r0e));return m$4({},$P,t0e)}function Jf$1(x_){return x_=(x_=x_.stateNode)&&x_.__reactInternalMemoizedMergedChildContext||Cf$1,Df$1=M$1.current,I$2(M$1,x_),I$2(N$1,N$1.current),!0}function Kf$1(x_,e0e,$P){var t0e=x_.stateNode;if(!t0e)throw Error(y$2(169));$P?(x_=If$1(x_,e0e,Df$1),t0e.__reactInternalMemoizedMergedChildContext=x_,H$2(N$1),H$2(M$1),I$2(M$1,x_)):H$2(N$1),I$2(N$1,$P)}var Lf$1=null,Mf$1=null,Nf$1=r$5.unstable_runWithPriority,Of$1=r$5.unstable_scheduleCallback,Pf$1=r$5.unstable_cancelCallback,Qf$1=r$5.unstable_shouldYield,Rf$1=r$5.unstable_requestPaint,Sf$1=r$5.unstable_now,Tf$1=r$5.unstable_getCurrentPriorityLevel,Uf$1=r$5.unstable_ImmediatePriority,Vf$1=r$5.unstable_UserBlockingPriority,Wf$1=r$5.unstable_NormalPriority,Xf$1=r$5.unstable_LowPriority,Yf$1=r$5.unstable_IdlePriority,Zf$1={},$f$1=Rf$1!==void 0?Rf$1:function(){},ag$1=null,bg$2=null,cg$1=!1,dg$1=Sf$1(),O$1=1e4>dg$1?Sf$1:function(){return Sf$1()-dg$1};function eg$1(){switch(Tf$1()){case Uf$1:return 99;case Vf$1:return 98;case Wf$1:return 97;case Xf$1:return 96;case Yf$1:return 95;default:throw Error(y$2(332))}}function fg$1(x_){switch(x_){case 99:return Uf$1;case 98:return Vf$1;case 97:return Wf$1;case 96:return Xf$1;case 95:return Yf$1;default:throw Error(y$2(332))}}function gg$1(x_,e0e){return x_=fg$1(x_),Nf$1(x_,e0e)}function hg$1(x_,e0e,$P){return x_=fg$1(x_),Of$1(x_,e0e,$P)}function ig$1(){if(bg$2!==null){var x_=bg$2;bg$2=null,Pf$1(x_)}jg$1()}function jg$1(){if(!cg$1&&ag$1!==null){cg$1=!0;var x_=0;try{var e0e=ag$1;gg$1(99,function(){for(;x_O0e?(z0e=M0e,M0e=null):z0e=M0e.sibling;var _0e=u0e(h0e,M0e,m0e[O0e],v0e);if(_0e===null){M0e===null&&(M0e=z0e);break}x_&&M0e&&_0e.alternate===null&&e0e(h0e,M0e),b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e,M0e=z0e}if(O0e===m0e.length)return $P(h0e,M0e),g0e;if(M0e===null){for(;O0eO0e?(z0e=M0e,M0e=null):z0e=M0e.sibling;var A0e=u0e(h0e,M0e,_0e.value,v0e);if(A0e===null){M0e===null&&(M0e=z0e);break}x_&&M0e&&A0e.alternate===null&&e0e(h0e,M0e),b0e=n0e(A0e,b0e,O0e),y0e===null?g0e=A0e:y0e.sibling=A0e,y0e=A0e,M0e=z0e}if(_0e.done)return $P(h0e,M0e),g0e;if(M0e===null){for(;!_0e.done;O0e++,_0e=m0e.next())_0e=c0e(h0e,_0e.value,v0e),_0e!==null&&(b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e);return g0e}for(M0e=t0e(h0e,M0e);!_0e.done;O0e++,_0e=m0e.next())_0e=d0e(M0e,h0e,O0e,_0e.value,v0e),_0e!==null&&(x_&&_0e.alternate!==null&&M0e.delete(_0e.key===null?O0e:_0e.key),b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e);return x_&&M0e.forEach(function($0e){return e0e(h0e,$0e)}),g0e}return function(h0e,b0e,m0e,v0e){var g0e=typeof m0e=="object"&&m0e!==null&&m0e.type===ua$1&&m0e.key===null;g0e&&(m0e=m0e.props.children);var y0e=typeof m0e=="object"&&m0e!==null;if(y0e)switch(m0e.$$typeof){case sa$1:e:{for(y0e=m0e.key,g0e=b0e;g0e!==null;){if(g0e.key===y0e){switch(g0e.tag){case 7:if(m0e.type===ua$1){$P(h0e,g0e.sibling),b0e=r0e(g0e,m0e.props.children),b0e.return=h0e,h0e=b0e;break e}break;default:if(g0e.elementType===m0e.type){$P(h0e,g0e.sibling),b0e=r0e(g0e,m0e.props),b0e.ref=Qg$1(h0e,g0e,m0e),b0e.return=h0e,h0e=b0e;break e}}$P(h0e,g0e);break}else e0e(h0e,g0e);g0e=g0e.sibling}m0e.type===ua$1?(b0e=Xg$1(m0e.props.children,h0e.mode,v0e,m0e.key),b0e.return=h0e,h0e=b0e):(v0e=Vg$1(m0e.type,m0e.key,m0e.props,null,h0e.mode,v0e),v0e.ref=Qg$1(h0e,b0e,m0e),v0e.return=h0e,h0e=v0e)}return a0e(h0e);case ta$1:e:{for(g0e=m0e.key;b0e!==null;){if(b0e.key===g0e)if(b0e.tag===4&&b0e.stateNode.containerInfo===m0e.containerInfo&&b0e.stateNode.implementation===m0e.implementation){$P(h0e,b0e.sibling),b0e=r0e(b0e,m0e.children||[]),b0e.return=h0e,h0e=b0e;break e}else{$P(h0e,b0e);break}else e0e(h0e,b0e);b0e=b0e.sibling}b0e=Wg$1(m0e,h0e.mode,v0e),b0e.return=h0e,h0e=b0e}return a0e(h0e)}if(typeof m0e=="string"||typeof m0e=="number")return m0e=""+m0e,b0e!==null&&b0e.tag===6?($P(h0e,b0e.sibling),b0e=r0e(b0e,m0e),b0e.return=h0e,h0e=b0e):($P(h0e,b0e),b0e=Ug$1(m0e,h0e.mode,v0e),b0e.return=h0e,h0e=b0e),a0e(h0e);if(Pg$1(m0e))return p0e(h0e,b0e,m0e,v0e);if(La$1(m0e))return f0e(h0e,b0e,m0e,v0e);if(y0e&&Rg$1(h0e,m0e),typeof m0e>"u"&&!g0e)switch(h0e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y$2(152,Ra$1(h0e.type)||"Component"))}return $P(h0e,b0e)}}var Yg$1=Sg$1(!0),Zg$1=Sg$1(!1),$g$1={},ah$1=Bf$1($g$1),bh$1=Bf$1($g$1),ch$1=Bf$1($g$1);function dh$1(x_){if(x_===$g$1)throw Error(y$2(174));return x_}function eh$1(x_,e0e){switch(I$2(ch$1,e0e),I$2(bh$1,x_),I$2(ah$1,$g$1),x_=e0e.nodeType,x_){case 9:case 11:e0e=(e0e=e0e.documentElement)?e0e.namespaceURI:mb$1(null,"");break;default:x_=x_===8?e0e.parentNode:e0e,e0e=x_.namespaceURI||null,x_=x_.tagName,e0e=mb$1(e0e,x_)}H$2(ah$1),I$2(ah$1,e0e)}function fh$1(){H$2(ah$1),H$2(bh$1),H$2(ch$1)}function gh$1(x_){dh$1(ch$1.current);var e0e=dh$1(ah$1.current),$P=mb$1(e0e,x_.type);e0e!==$P&&(I$2(bh$1,x_),I$2(ah$1,$P))}function hh$1(x_){bh$1.current===x_&&(H$2(ah$1),H$2(bh$1))}var P$1=Bf$1(0);function ih$1(x_){for(var e0e=x_;e0e!==null;){if(e0e.tag===13){var $P=e0e.memoizedState;if($P!==null&&($P=$P.dehydrated,$P===null||$P.data==="$?"||$P.data==="$!"))return e0e}else if(e0e.tag===19&&e0e.memoizedProps.revealOrder!==void 0){if(e0e.flags&64)return e0e}else if(e0e.child!==null){e0e.child.return=e0e,e0e=e0e.child;continue}if(e0e===x_)break;for(;e0e.sibling===null;){if(e0e.return===null||e0e.return===x_)return null;e0e=e0e.return}e0e.sibling.return=e0e.return,e0e=e0e.sibling}return null}var jh$1=null,kh=null,lh$1=!1;function mh$1(x_,e0e){var $P=nh$1(5,null,null,0);$P.elementType="DELETED",$P.type="DELETED",$P.stateNode=e0e,$P.return=x_,$P.flags=8,x_.lastEffect!==null?(x_.lastEffect.nextEffect=$P,x_.lastEffect=$P):x_.firstEffect=x_.lastEffect=$P}function oh$1(x_,e0e){switch(x_.tag){case 5:var $P=x_.type;return e0e=e0e.nodeType!==1||$P.toLowerCase()!==e0e.nodeName.toLowerCase()?null:e0e,e0e!==null?(x_.stateNode=e0e,!0):!1;case 6:return e0e=x_.pendingProps===""||e0e.nodeType!==3?null:e0e,e0e!==null?(x_.stateNode=e0e,!0):!1;case 13:return!1;default:return!1}}function ph$1(x_){if(lh$1){var e0e=kh;if(e0e){var $P=e0e;if(!oh$1(x_,e0e)){if(e0e=rf$1($P.nextSibling),!e0e||!oh$1(x_,e0e)){x_.flags=x_.flags&-1025|2,lh$1=!1,jh$1=x_;return}mh$1(jh$1,$P)}jh$1=x_,kh=rf$1(e0e.firstChild)}else x_.flags=x_.flags&-1025|2,lh$1=!1,jh$1=x_}}function qh$1(x_){for(x_=x_.return;x_!==null&&x_.tag!==5&&x_.tag!==3&&x_.tag!==13;)x_=x_.return;jh$1=x_}function rh$1(x_){if(x_!==jh$1)return!1;if(!lh$1)return qh$1(x_),lh$1=!0,!1;var e0e=x_.type;if(x_.tag!==5||e0e!=="head"&&e0e!=="body"&&!nf$1(e0e,x_.memoizedProps))for(e0e=kh;e0e;)mh$1(x_,e0e),e0e=rf$1(e0e.nextSibling);if(qh$1(x_),x_.tag===13){if(x_=x_.memoizedState,x_=x_!==null?x_.dehydrated:null,!x_)throw Error(y$2(317));e:{for(x_=x_.nextSibling,e0e=0;x_;){if(x_.nodeType===8){var $P=x_.data;if($P==="/$"){if(e0e===0){kh=rf$1(x_.nextSibling);break e}e0e--}else $P!=="$"&&$P!=="$!"&&$P!=="$?"||e0e++}x_=x_.nextSibling}kh=null}}else kh=jh$1?rf$1(x_.stateNode.nextSibling):null;return!0}function sh$1(){kh=jh$1=null,lh$1=!1}var th$1=[];function uh$1(){for(var x_=0;x_n0e))throw Error(y$2(301));n0e+=1,T$1=S$1=null,e0e.updateQueue=null,vh$1.current=Fh$1,x_=$P(t0e,r0e)}while(zh$1)}if(vh$1.current=Gh$1,e0e=S$1!==null&&S$1.next!==null,xh$1=0,T$1=S$1=R$1=null,yh$1=!1,e0e)throw Error(y$2(300));return x_}function Hh$1(){var x_={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return T$1===null?R$1.memoizedState=T$1=x_:T$1=T$1.next=x_,T$1}function Ih$1(){if(S$1===null){var x_=R$1.alternate;x_=x_!==null?x_.memoizedState:null}else x_=S$1.next;var e0e=T$1===null?R$1.memoizedState:T$1.next;if(e0e!==null)T$1=e0e,S$1=x_;else{if(x_===null)throw Error(y$2(310));S$1=x_,x_={memoizedState:S$1.memoizedState,baseState:S$1.baseState,baseQueue:S$1.baseQueue,queue:S$1.queue,next:null},T$1===null?R$1.memoizedState=T$1=x_:T$1=T$1.next=x_}return T$1}function Jh$1(x_,e0e){return typeof e0e=="function"?e0e(x_):e0e}function Kh$1(x_){var e0e=Ih$1(),$P=e0e.queue;if($P===null)throw Error(y$2(311));$P.lastRenderedReducer=x_;var t0e=S$1,r0e=t0e.baseQueue,n0e=$P.pending;if(n0e!==null){if(r0e!==null){var a0e=r0e.next;r0e.next=n0e.next,n0e.next=a0e}t0e.baseQueue=r0e=n0e,$P.pending=null}if(r0e!==null){r0e=r0e.next,t0e=t0e.baseState;var o0e=a0e=n0e=null,i0e=r0e;do{var s0e=i0e.lane;if((xh$1&s0e)===s0e)o0e!==null&&(o0e=o0e.next={lane:0,action:i0e.action,eagerReducer:i0e.eagerReducer,eagerState:i0e.eagerState,next:null}),t0e=i0e.eagerReducer===x_?i0e.eagerState:x_(t0e,i0e.action);else{var l0e={lane:s0e,action:i0e.action,eagerReducer:i0e.eagerReducer,eagerState:i0e.eagerState,next:null};o0e===null?(a0e=o0e=l0e,n0e=t0e):o0e=o0e.next=l0e,R$1.lanes|=s0e,Dg$1|=s0e}i0e=i0e.next}while(i0e!==null&&i0e!==r0e);o0e===null?n0e=t0e:o0e.next=a0e,He$1(t0e,e0e.memoizedState)||(ug$1=!0),e0e.memoizedState=t0e,e0e.baseState=n0e,e0e.baseQueue=o0e,$P.lastRenderedState=t0e}return[e0e.memoizedState,$P.dispatch]}function Lh$1(x_){var e0e=Ih$1(),$P=e0e.queue;if($P===null)throw Error(y$2(311));$P.lastRenderedReducer=x_;var t0e=$P.dispatch,r0e=$P.pending,n0e=e0e.memoizedState;if(r0e!==null){$P.pending=null;var a0e=r0e=r0e.next;do n0e=x_(n0e,a0e.action),a0e=a0e.next;while(a0e!==r0e);He$1(n0e,e0e.memoizedState)||(ug$1=!0),e0e.memoizedState=n0e,e0e.baseQueue===null&&(e0e.baseState=n0e),$P.lastRenderedState=n0e}return[n0e,t0e]}function Mh$1(x_,e0e,$P){var t0e=e0e._getVersion;t0e=t0e(e0e._source);var r0e=e0e._workInProgressVersionPrimary;if(r0e!==null?x_=r0e===t0e:(x_=x_.mutableReadLanes,(x_=(xh$1&x_)===x_)&&(e0e._workInProgressVersionPrimary=t0e,th$1.push(e0e))),x_)return $P(e0e._source);throw th$1.push(e0e),Error(y$2(350))}function Nh$1(x_,e0e,$P,t0e){var r0e=U$1;if(r0e===null)throw Error(y$2(349));var n0e=e0e._getVersion,a0e=n0e(e0e._source),o0e=vh$1.current,i0e=o0e.useState(function(){return Mh$1(r0e,e0e,$P)}),s0e=i0e[1],l0e=i0e[0];i0e=T$1;var c0e=x_.memoizedState,u0e=c0e.refs,d0e=u0e.getSnapshot,p0e=c0e.source;c0e=c0e.subscribe;var f0e=R$1;return x_.memoizedState={refs:u0e,source:e0e,subscribe:t0e},o0e.useEffect(function(){u0e.getSnapshot=$P,u0e.setSnapshot=s0e;var h0e=n0e(e0e._source);if(!He$1(a0e,h0e)){h0e=$P(e0e._source),He$1(l0e,h0e)||(s0e(h0e),h0e=Ig$1(f0e),r0e.mutableReadLanes|=h0e&r0e.pendingLanes),h0e=r0e.mutableReadLanes,r0e.entangledLanes|=h0e;for(var b0e=r0e.entanglements,m0e=h0e;0$P?98:$P,function(){x_(!0)}),gg$1(97<$P?97:$P,function(){var t0e=wh$1.transition;wh$1.transition=1;try{x_(!1),e0e()}finally{wh$1.transition=t0e}})}function Oh$1(x_,e0e,$P){var t0e=Hg$1(),r0e=Ig$1(x_),n0e={lane:r0e,action:$P,eagerReducer:null,eagerState:null,next:null},a0e=e0e.pending;if(a0e===null?n0e.next=n0e:(n0e.next=a0e.next,a0e.next=n0e),e0e.pending=n0e,a0e=x_.alternate,x_===R$1||a0e!==null&&a0e===R$1)zh$1=yh$1=!0;else{if(x_.lanes===0&&(a0e===null||a0e.lanes===0)&&(a0e=e0e.lastRenderedReducer,a0e!==null))try{var o0e=e0e.lastRenderedState,i0e=a0e(o0e,$P);if(n0e.eagerReducer=a0e,n0e.eagerState=i0e,He$1(i0e,o0e))return}catch{}finally{}Jg$1(x_,r0e,t0e)}}var Gh$1={readContext:vg$1,useCallback:Ah$1,useContext:Ah$1,useEffect:Ah$1,useImperativeHandle:Ah$1,useLayoutEffect:Ah$1,useMemo:Ah$1,useReducer:Ah$1,useRef:Ah$1,useState:Ah$1,useDebugValue:Ah$1,useDeferredValue:Ah$1,useTransition:Ah$1,useMutableSource:Ah$1,useOpaqueIdentifier:Ah$1,unstable_isNewReconciler:!1},Dh$1={readContext:vg$1,useCallback:function(x_,e0e){return Hh$1().memoizedState=[x_,e0e===void 0?null:e0e],x_},useContext:vg$1,useEffect:Wh$1,useImperativeHandle:function(x_,e0e,$P){return $P=$P!=null?$P.concat([x_]):null,Uh$1(4,2,Zh$1.bind(null,e0e,x_),$P)},useLayoutEffect:function(x_,e0e){return Uh$1(4,2,x_,e0e)},useMemo:function(x_,e0e){var $P=Hh$1();return e0e=e0e===void 0?null:e0e,x_=x_(),$P.memoizedState=[x_,e0e],x_},useReducer:function(x_,e0e,$P){var t0e=Hh$1();return e0e=$P!==void 0?$P(e0e):e0e,t0e.memoizedState=t0e.baseState=e0e,x_=t0e.queue={pending:null,dispatch:null,lastRenderedReducer:x_,lastRenderedState:e0e},x_=x_.dispatch=Oh$1.bind(null,R$1,x_),[t0e.memoizedState,x_]},useRef:Sh$1,useState:Qh$1,useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Qh$1(x_),$P=e0e[0],t0e=e0e[1];return Wh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Qh$1(!1),e0e=x_[0];return x_=di$1.bind(null,x_[1]),Sh$1(x_),[x_,e0e]},useMutableSource:function(x_,e0e,$P){var t0e=Hh$1();return t0e.memoizedState={refs:{getSnapshot:e0e,setSnapshot:null},source:x_,subscribe:$P},Nh$1(t0e,x_,e0e,$P)},useOpaqueIdentifier:function(){if(lh$1){var x_=!1,e0e=uf$1(function(){throw x_||(x_=!0,$P("r:"+(tf$1++).toString(36))),Error(y$2(355))}),$P=Qh$1(e0e)[1];return!(R$1.mode&2)&&(R$1.flags|=516,Rh$1(5,function(){$P("r:"+(tf$1++).toString(36))},void 0,null)),e0e}return e0e="r:"+(tf$1++).toString(36),Qh$1(e0e),e0e},unstable_isNewReconciler:!1},Eh$1={readContext:vg$1,useCallback:bi$1,useContext:vg$1,useEffect:Xh$1,useImperativeHandle:$h$1,useLayoutEffect:Yh$1,useMemo:ci$1,useReducer:Kh$1,useRef:Th$1,useState:function(){return Kh$1(Jh$1)},useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Kh$1(Jh$1),$P=e0e[0],t0e=e0e[1];return Xh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Kh$1(Jh$1)[0];return[Th$1().current,x_]},useMutableSource:Ph$1,useOpaqueIdentifier:function(){return Kh$1(Jh$1)[0]},unstable_isNewReconciler:!1},Fh$1={readContext:vg$1,useCallback:bi$1,useContext:vg$1,useEffect:Xh$1,useImperativeHandle:$h$1,useLayoutEffect:Yh$1,useMemo:ci$1,useReducer:Lh$1,useRef:Th$1,useState:function(){return Lh$1(Jh$1)},useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Lh$1(Jh$1),$P=e0e[0],t0e=e0e[1];return Xh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Lh$1(Jh$1)[0];return[Th$1().current,x_]},useMutableSource:Ph$1,useOpaqueIdentifier:function(){return Lh$1(Jh$1)[0]},unstable_isNewReconciler:!1},ei$1=ra$1.ReactCurrentOwner,ug$1=!1;function fi$1(x_,e0e,$P,t0e){e0e.child=x_===null?Zg$1(e0e,null,$P,t0e):Yg$1(e0e,x_.child,$P,t0e)}function gi$1(x_,e0e,$P,t0e,r0e){$P=$P.render;var n0e=e0e.ref;return tg$1(e0e,r0e),t0e=Ch$1(x_,e0e,$P,t0e,n0e,r0e),x_!==null&&!ug$1?(e0e.updateQueue=x_.updateQueue,e0e.flags&=-517,x_.lanes&=~r0e,hi$1(x_,e0e,r0e)):(e0e.flags|=1,fi$1(x_,e0e,t0e,r0e),e0e.child)}function ii$1(x_,e0e,$P,t0e,r0e,n0e){if(x_===null){var a0e=$P.type;return typeof a0e=="function"&&!ji$1(a0e)&&a0e.defaultProps===void 0&&$P.compare===null&&$P.defaultProps===void 0?(e0e.tag=15,e0e.type=a0e,ki$1(x_,e0e,a0e,t0e,r0e,n0e)):(x_=Vg$1($P.type,null,t0e,e0e,e0e.mode,n0e),x_.ref=e0e.ref,x_.return=e0e,e0e.child=x_)}return a0e=x_.child,!(r0e&n0e)&&(r0e=a0e.memoizedProps,$P=$P.compare,$P=$P!==null?$P:Je$1,$P(r0e,t0e)&&x_.ref===e0e.ref)?hi$1(x_,e0e,n0e):(e0e.flags|=1,x_=Tg$1(a0e,t0e),x_.ref=e0e.ref,x_.return=e0e,e0e.child=x_)}function ki$1(x_,e0e,$P,t0e,r0e,n0e){if(x_!==null&&Je$1(x_.memoizedProps,t0e)&&x_.ref===e0e.ref)if(ug$1=!1,(n0e&r0e)!==0)x_.flags&16384&&(ug$1=!0);else return e0e.lanes=x_.lanes,hi$1(x_,e0e,n0e);return li$1(x_,e0e,$P,t0e,n0e)}function mi$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=t0e.children,n0e=x_!==null?x_.memoizedState:null;if(t0e.mode==="hidden"||t0e.mode==="unstable-defer-without-hiding")if(!(e0e.mode&4))e0e.memoizedState={baseLanes:0},ni$1(e0e,$P);else if($P&1073741824)e0e.memoizedState={baseLanes:0},ni$1(e0e,n0e!==null?n0e.baseLanes:$P);else return x_=n0e!==null?n0e.baseLanes|$P:$P,e0e.lanes=e0e.childLanes=1073741824,e0e.memoizedState={baseLanes:x_},ni$1(e0e,x_),null;else n0e!==null?(t0e=n0e.baseLanes|$P,e0e.memoizedState=null):t0e=$P,ni$1(e0e,t0e);return fi$1(x_,e0e,r0e,$P),e0e.child}function oi$1(x_,e0e){var $P=e0e.ref;(x_===null&&$P!==null||x_!==null&&x_.ref!==$P)&&(e0e.flags|=128)}function li$1(x_,e0e,$P,t0e,r0e){var n0e=Ff($P)?Df$1:M$1.current;return n0e=Ef$1(e0e,n0e),tg$1(e0e,r0e),$P=Ch$1(x_,e0e,$P,t0e,n0e,r0e),x_!==null&&!ug$1?(e0e.updateQueue=x_.updateQueue,e0e.flags&=-517,x_.lanes&=~r0e,hi$1(x_,e0e,r0e)):(e0e.flags|=1,fi$1(x_,e0e,$P,r0e),e0e.child)}function pi$1(x_,e0e,$P,t0e,r0e){if(Ff($P)){var n0e=!0;Jf$1(e0e)}else n0e=!1;if(tg$1(e0e,r0e),e0e.stateNode===null)x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),Mg$1(e0e,$P,t0e),Og$1(e0e,$P,t0e,r0e),t0e=!0;else if(x_===null){var a0e=e0e.stateNode,o0e=e0e.memoizedProps;a0e.props=o0e;var i0e=a0e.context,s0e=$P.contextType;typeof s0e=="object"&&s0e!==null?s0e=vg$1(s0e):(s0e=Ff($P)?Df$1:M$1.current,s0e=Ef$1(e0e,s0e));var l0e=$P.getDerivedStateFromProps,c0e=typeof l0e=="function"||typeof a0e.getSnapshotBeforeUpdate=="function";c0e||typeof a0e.UNSAFE_componentWillReceiveProps!="function"&&typeof a0e.componentWillReceiveProps!="function"||(o0e!==t0e||i0e!==s0e)&&Ng$1(e0e,a0e,t0e,s0e),wg$1=!1;var u0e=e0e.memoizedState;a0e.state=u0e,Cg$1(e0e,t0e,a0e,r0e),i0e=e0e.memoizedState,o0e!==t0e||u0e!==i0e||N$1.current||wg$1?(typeof l0e=="function"&&(Gg$1(e0e,$P,l0e,t0e),i0e=e0e.memoizedState),(o0e=wg$1||Lg$1(e0e,$P,o0e,t0e,u0e,i0e,s0e))?(c0e||typeof a0e.UNSAFE_componentWillMount!="function"&&typeof a0e.componentWillMount!="function"||(typeof a0e.componentWillMount=="function"&&a0e.componentWillMount(),typeof a0e.UNSAFE_componentWillMount=="function"&&a0e.UNSAFE_componentWillMount()),typeof a0e.componentDidMount=="function"&&(e0e.flags|=4)):(typeof a0e.componentDidMount=="function"&&(e0e.flags|=4),e0e.memoizedProps=t0e,e0e.memoizedState=i0e),a0e.props=t0e,a0e.state=i0e,a0e.context=s0e,t0e=o0e):(typeof a0e.componentDidMount=="function"&&(e0e.flags|=4),t0e=!1)}else{a0e=e0e.stateNode,yg$1(x_,e0e),o0e=e0e.memoizedProps,s0e=e0e.type===e0e.elementType?o0e:lg$1(e0e.type,o0e),a0e.props=s0e,c0e=e0e.pendingProps,u0e=a0e.context,i0e=$P.contextType,typeof i0e=="object"&&i0e!==null?i0e=vg$1(i0e):(i0e=Ff($P)?Df$1:M$1.current,i0e=Ef$1(e0e,i0e));var d0e=$P.getDerivedStateFromProps;(l0e=typeof d0e=="function"||typeof a0e.getSnapshotBeforeUpdate=="function")||typeof a0e.UNSAFE_componentWillReceiveProps!="function"&&typeof a0e.componentWillReceiveProps!="function"||(o0e!==c0e||u0e!==i0e)&&Ng$1(e0e,a0e,t0e,i0e),wg$1=!1,u0e=e0e.memoizedState,a0e.state=u0e,Cg$1(e0e,t0e,a0e,r0e);var p0e=e0e.memoizedState;o0e!==c0e||u0e!==p0e||N$1.current||wg$1?(typeof d0e=="function"&&(Gg$1(e0e,$P,d0e,t0e),p0e=e0e.memoizedState),(s0e=wg$1||Lg$1(e0e,$P,s0e,t0e,u0e,p0e,i0e))?(l0e||typeof a0e.UNSAFE_componentWillUpdate!="function"&&typeof a0e.componentWillUpdate!="function"||(typeof a0e.componentWillUpdate=="function"&&a0e.componentWillUpdate(t0e,p0e,i0e),typeof a0e.UNSAFE_componentWillUpdate=="function"&&a0e.UNSAFE_componentWillUpdate(t0e,p0e,i0e)),typeof a0e.componentDidUpdate=="function"&&(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate=="function"&&(e0e.flags|=256)):(typeof a0e.componentDidUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=256),e0e.memoizedProps=t0e,e0e.memoizedState=p0e),a0e.props=t0e,a0e.state=p0e,a0e.context=i0e,t0e=s0e):(typeof a0e.componentDidUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=256),t0e=!1)}return qi$1(x_,e0e,$P,t0e,n0e,r0e)}function qi$1(x_,e0e,$P,t0e,r0e,n0e){oi$1(x_,e0e);var a0e=(e0e.flags&64)!==0;if(!t0e&&!a0e)return r0e&&Kf$1(e0e,$P,!1),hi$1(x_,e0e,n0e);t0e=e0e.stateNode,ei$1.current=e0e;var o0e=a0e&&typeof $P.getDerivedStateFromError!="function"?null:t0e.render();return e0e.flags|=1,x_!==null&&a0e?(e0e.child=Yg$1(e0e,x_.child,null,n0e),e0e.child=Yg$1(e0e,null,o0e,n0e)):fi$1(x_,e0e,o0e,n0e),e0e.memoizedState=t0e.state,r0e&&Kf$1(e0e,$P,!0),e0e.child}function ri$1(x_){var e0e=x_.stateNode;e0e.pendingContext?Hf$1(x_,e0e.pendingContext,e0e.pendingContext!==e0e.context):e0e.context&&Hf$1(x_,e0e.context,!1),eh$1(x_,e0e.containerInfo)}var si$1={dehydrated:null,retryLane:0};function ti$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=P$1.current,n0e=!1,a0e;return(a0e=(e0e.flags&64)!==0)||(a0e=x_!==null&&x_.memoizedState===null?!1:(r0e&2)!==0),a0e?(n0e=!0,e0e.flags&=-65):x_!==null&&x_.memoizedState===null||t0e.fallback===void 0||t0e.unstable_avoidThisFallback===!0||(r0e|=1),I$2(P$1,r0e&1),x_===null?(t0e.fallback!==void 0&&ph$1(e0e),x_=t0e.children,r0e=t0e.fallback,n0e?(x_=ui$1(e0e,x_,r0e,$P),e0e.child.memoizedState={baseLanes:$P},e0e.memoizedState=si$1,x_):typeof t0e.unstable_expectedLoadTime=="number"?(x_=ui$1(e0e,x_,r0e,$P),e0e.child.memoizedState={baseLanes:$P},e0e.memoizedState=si$1,e0e.lanes=33554432,x_):($P=vi$1({mode:"visible",children:x_},e0e.mode,$P,null),$P.return=e0e,e0e.child=$P)):x_.memoizedState!==null?n0e?(t0e=wi$1(x_,e0e,t0e.children,t0e.fallback,$P),n0e=e0e.child,r0e=x_.child.memoizedState,n0e.memoizedState=r0e===null?{baseLanes:$P}:{baseLanes:r0e.baseLanes|$P},n0e.childLanes=x_.childLanes&~$P,e0e.memoizedState=si$1,t0e):($P=xi$1(x_,e0e,t0e.children,$P),e0e.memoizedState=null,$P):n0e?(t0e=wi$1(x_,e0e,t0e.children,t0e.fallback,$P),n0e=e0e.child,r0e=x_.child.memoizedState,n0e.memoizedState=r0e===null?{baseLanes:$P}:{baseLanes:r0e.baseLanes|$P},n0e.childLanes=x_.childLanes&~$P,e0e.memoizedState=si$1,t0e):($P=xi$1(x_,e0e,t0e.children,$P),e0e.memoizedState=null,$P)}function ui$1(x_,e0e,$P,t0e){var r0e=x_.mode,n0e=x_.child;return e0e={mode:"hidden",children:e0e},!(r0e&2)&&n0e!==null?(n0e.childLanes=0,n0e.pendingProps=e0e):n0e=vi$1(e0e,r0e,0,null),$P=Xg$1($P,r0e,t0e,null),n0e.return=x_,$P.return=x_,n0e.sibling=$P,x_.child=n0e,$P}function xi$1(x_,e0e,$P,t0e){var r0e=x_.child;return x_=r0e.sibling,$P=Tg$1(r0e,{mode:"visible",children:$P}),!(e0e.mode&2)&&($P.lanes=t0e),$P.return=e0e,$P.sibling=null,x_!==null&&(x_.nextEffect=null,x_.flags=8,e0e.firstEffect=e0e.lastEffect=x_),e0e.child=$P}function wi$1(x_,e0e,$P,t0e,r0e){var n0e=e0e.mode,a0e=x_.child;x_=a0e.sibling;var o0e={mode:"hidden",children:$P};return!(n0e&2)&&e0e.child!==a0e?($P=e0e.child,$P.childLanes=0,$P.pendingProps=o0e,a0e=$P.lastEffect,a0e!==null?(e0e.firstEffect=$P.firstEffect,e0e.lastEffect=a0e,a0e.nextEffect=null):e0e.firstEffect=e0e.lastEffect=null):$P=Tg$1(a0e,o0e),x_!==null?t0e=Tg$1(x_,t0e):(t0e=Xg$1(t0e,n0e,r0e,null),t0e.flags|=2),t0e.return=e0e,$P.return=e0e,$P.sibling=t0e,e0e.child=$P,t0e}function yi$1(x_,e0e){x_.lanes|=e0e;var $P=x_.alternate;$P!==null&&($P.lanes|=e0e),sg$1(x_.return,e0e)}function zi$1(x_,e0e,$P,t0e,r0e,n0e){var a0e=x_.memoizedState;a0e===null?x_.memoizedState={isBackwards:e0e,rendering:null,renderingStartTime:0,last:t0e,tail:$P,tailMode:r0e,lastEffect:n0e}:(a0e.isBackwards=e0e,a0e.rendering=null,a0e.renderingStartTime=0,a0e.last=t0e,a0e.tail=$P,a0e.tailMode=r0e,a0e.lastEffect=n0e)}function Ai$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=t0e.revealOrder,n0e=t0e.tail;if(fi$1(x_,e0e,t0e.children,$P),t0e=P$1.current,t0e&2)t0e=t0e&1|2,e0e.flags|=64;else{if(x_!==null&&x_.flags&64)e:for(x_=e0e.child;x_!==null;){if(x_.tag===13)x_.memoizedState!==null&&yi$1(x_,$P);else if(x_.tag===19)yi$1(x_,$P);else if(x_.child!==null){x_.child.return=x_,x_=x_.child;continue}if(x_===e0e)break e;for(;x_.sibling===null;){if(x_.return===null||x_.return===e0e)break e;x_=x_.return}x_.sibling.return=x_.return,x_=x_.sibling}t0e&=1}if(I$2(P$1,t0e),!(e0e.mode&2))e0e.memoizedState=null;else switch(r0e){case"forwards":for($P=e0e.child,r0e=null;$P!==null;)x_=$P.alternate,x_!==null&&ih$1(x_)===null&&(r0e=$P),$P=$P.sibling;$P=r0e,$P===null?(r0e=e0e.child,e0e.child=null):(r0e=$P.sibling,$P.sibling=null),zi$1(e0e,!1,r0e,$P,n0e,e0e.lastEffect);break;case"backwards":for($P=null,r0e=e0e.child,e0e.child=null;r0e!==null;){if(x_=r0e.alternate,x_!==null&&ih$1(x_)===null){e0e.child=r0e;break}x_=r0e.sibling,r0e.sibling=$P,$P=r0e,r0e=x_}zi$1(e0e,!0,$P,null,n0e,e0e.lastEffect);break;case"together":zi$1(e0e,!1,null,null,void 0,e0e.lastEffect);break;default:e0e.memoizedState=null}return e0e.child}function hi$1(x_,e0e,$P){if(x_!==null&&(e0e.dependencies=x_.dependencies),Dg$1|=e0e.lanes,$P&e0e.childLanes){if(x_!==null&&e0e.child!==x_.child)throw Error(y$2(153));if(e0e.child!==null){for(x_=e0e.child,$P=Tg$1(x_,x_.pendingProps),e0e.child=$P,$P.return=e0e;x_.sibling!==null;)x_=x_.sibling,$P=$P.sibling=Tg$1(x_,x_.pendingProps),$P.return=e0e;$P.sibling=null}return e0e.child}return null}var Bi$1,Ci$1,Di$1,Ei$1;Bi$1=function(x_,e0e){for(var $P=e0e.child;$P!==null;){if($P.tag===5||$P.tag===6)x_.appendChild($P.stateNode);else if($P.tag!==4&&$P.child!==null){$P.child.return=$P,$P=$P.child;continue}if($P===e0e)break;for(;$P.sibling===null;){if($P.return===null||$P.return===e0e)return;$P=$P.return}$P.sibling.return=$P.return,$P=$P.sibling}};Ci$1=function(){};Di$1=function(x_,e0e,$P,t0e){var r0e=x_.memoizedProps;if(r0e!==t0e){x_=e0e.stateNode,dh$1(ah$1.current);var n0e=null;switch($P){case"input":r0e=Ya$1(x_,r0e),t0e=Ya$1(x_,t0e),n0e=[];break;case"option":r0e=eb$1(x_,r0e),t0e=eb$1(x_,t0e),n0e=[];break;case"select":r0e=m$4({},r0e,{value:void 0}),t0e=m$4({},t0e,{value:void 0}),n0e=[];break;case"textarea":r0e=gb$1(x_,r0e),t0e=gb$1(x_,t0e),n0e=[];break;default:typeof r0e.onClick!="function"&&typeof t0e.onClick=="function"&&(x_.onclick=jf$1)}vb$1($P,t0e);var a0e;$P=null;for(s0e in r0e)if(!t0e.hasOwnProperty(s0e)&&r0e.hasOwnProperty(s0e)&&r0e[s0e]!=null)if(s0e==="style"){var o0e=r0e[s0e];for(a0e in o0e)o0e.hasOwnProperty(a0e)&&($P||($P={}),$P[a0e]="")}else s0e!=="dangerouslySetInnerHTML"&&s0e!=="children"&&s0e!=="suppressContentEditableWarning"&&s0e!=="suppressHydrationWarning"&&s0e!=="autoFocus"&&(ca$1.hasOwnProperty(s0e)?n0e||(n0e=[]):(n0e=n0e||[]).push(s0e,null));for(s0e in t0e){var i0e=t0e[s0e];if(o0e=r0e!=null?r0e[s0e]:void 0,t0e.hasOwnProperty(s0e)&&i0e!==o0e&&(i0e!=null||o0e!=null))if(s0e==="style")if(o0e){for(a0e in o0e)!o0e.hasOwnProperty(a0e)||i0e&&i0e.hasOwnProperty(a0e)||($P||($P={}),$P[a0e]="");for(a0e in i0e)i0e.hasOwnProperty(a0e)&&o0e[a0e]!==i0e[a0e]&&($P||($P={}),$P[a0e]=i0e[a0e])}else $P||(n0e||(n0e=[]),n0e.push(s0e,$P)),$P=i0e;else s0e==="dangerouslySetInnerHTML"?(i0e=i0e?i0e.__html:void 0,o0e=o0e?o0e.__html:void 0,i0e!=null&&o0e!==i0e&&(n0e=n0e||[]).push(s0e,i0e)):s0e==="children"?typeof i0e!="string"&&typeof i0e!="number"||(n0e=n0e||[]).push(s0e,""+i0e):s0e!=="suppressContentEditableWarning"&&s0e!=="suppressHydrationWarning"&&(ca$1.hasOwnProperty(s0e)?(i0e!=null&&s0e==="onScroll"&&G$2("scroll",x_),n0e||o0e===i0e||(n0e=[])):typeof i0e=="object"&&i0e!==null&&i0e.$$typeof===Ga$1?i0e.toString():(n0e=n0e||[]).push(s0e,i0e))}$P&&(n0e=n0e||[]).push("style",$P);var s0e=n0e;(e0e.updateQueue=s0e)&&(e0e.flags|=4)}};Ei$1=function(x_,e0e,$P,t0e){$P!==t0e&&(e0e.flags|=4)};function Fi$1(x_,e0e){if(!lh$1)switch(x_.tailMode){case"hidden":e0e=x_.tail;for(var $P=null;e0e!==null;)e0e.alternate!==null&&($P=e0e),e0e=e0e.sibling;$P===null?x_.tail=null:$P.sibling=null;break;case"collapsed":$P=x_.tail;for(var t0e=null;$P!==null;)$P.alternate!==null&&(t0e=$P),$P=$P.sibling;t0e===null?e0e||x_.tail===null?x_.tail=null:x_.tail.sibling=null:t0e.sibling=null}}function Gi$1(x_,e0e,$P){var t0e=e0e.pendingProps;switch(e0e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ff(e0e.type)&&Gf$1(),null;case 3:return fh$1(),H$2(N$1),H$2(M$1),uh$1(),t0e=e0e.stateNode,t0e.pendingContext&&(t0e.context=t0e.pendingContext,t0e.pendingContext=null),(x_===null||x_.child===null)&&(rh$1(e0e)?e0e.flags|=4:t0e.hydrate||(e0e.flags|=256)),Ci$1(e0e),null;case 5:hh$1(e0e);var r0e=dh$1(ch$1.current);if($P=e0e.type,x_!==null&&e0e.stateNode!=null)Di$1(x_,e0e,$P,t0e,r0e),x_.ref!==e0e.ref&&(e0e.flags|=128);else{if(!t0e){if(e0e.stateNode===null)throw Error(y$2(166));return null}if(x_=dh$1(ah$1.current),rh$1(e0e)){t0e=e0e.stateNode,$P=e0e.type;var n0e=e0e.memoizedProps;switch(t0e[wf$1]=e0e,t0e[xf$1]=n0e,$P){case"dialog":G$2("cancel",t0e),G$2("close",t0e);break;case"iframe":case"object":case"embed":G$2("load",t0e);break;case"video":case"audio":for(x_=0;x_<\/script>",x_=x_.removeChild(x_.firstChild)):typeof t0e.is=="string"?x_=a0e.createElement($P,{is:t0e.is}):(x_=a0e.createElement($P),$P==="select"&&(a0e=x_,t0e.multiple?a0e.multiple=!0:t0e.size&&(a0e.size=t0e.size))):x_=a0e.createElementNS(x_,$P),x_[wf$1]=e0e,x_[xf$1]=t0e,Bi$1(x_,e0e,!1,!1),e0e.stateNode=x_,a0e=wb$1($P,t0e),$P){case"dialog":G$2("cancel",x_),G$2("close",x_),r0e=t0e;break;case"iframe":case"object":case"embed":G$2("load",x_),r0e=t0e;break;case"video":case"audio":for(r0e=0;r0eJi$1&&(e0e.flags|=64,n0e=!0,Fi$1(t0e,!1),e0e.lanes=33554432)}else{if(!n0e)if(x_=ih$1(a0e),x_!==null){if(e0e.flags|=64,n0e=!0,$P=x_.updateQueue,$P!==null&&(e0e.updateQueue=$P,e0e.flags|=4),Fi$1(t0e,!0),t0e.tail===null&&t0e.tailMode==="hidden"&&!a0e.alternate&&!lh$1)return e0e=e0e.lastEffect=t0e.lastEffect,e0e!==null&&(e0e.nextEffect=null),null}else 2*O$1()-t0e.renderingStartTime>Ji$1&&$P!==1073741824&&(e0e.flags|=64,n0e=!0,Fi$1(t0e,!1),e0e.lanes=33554432);t0e.isBackwards?(a0e.sibling=e0e.child,e0e.child=a0e):($P=t0e.last,$P!==null?$P.sibling=a0e:e0e.child=a0e,t0e.last=a0e)}return t0e.tail!==null?($P=t0e.tail,t0e.rendering=$P,t0e.tail=$P.sibling,t0e.lastEffect=e0e.lastEffect,t0e.renderingStartTime=O$1(),$P.sibling=null,e0e=P$1.current,I$2(P$1,n0e?e0e&1|2:e0e&1),$P):null;case 23:case 24:return Ki$1(),x_!==null&&x_.memoizedState!==null!=(e0e.memoizedState!==null)&&t0e.mode!=="unstable-defer-without-hiding"&&(e0e.flags|=4),null}throw Error(y$2(156,e0e.tag))}function Li$1(x_){switch(x_.tag){case 1:Ff(x_.type)&&Gf$1();var e0e=x_.flags;return e0e&4096?(x_.flags=e0e&-4097|64,x_):null;case 3:if(fh$1(),H$2(N$1),H$2(M$1),uh$1(),e0e=x_.flags,e0e&64)throw Error(y$2(285));return x_.flags=e0e&-4097|64,x_;case 5:return hh$1(x_),null;case 13:return H$2(P$1),e0e=x_.flags,e0e&4096?(x_.flags=e0e&-4097|64,x_):null;case 19:return H$2(P$1),null;case 4:return fh$1(),null;case 10:return rg$1(x_),null;case 23:case 24:return Ki$1(),null;default:return null}}function Mi$1(x_,e0e){try{var $P="",t0e=e0e;do $P+=Qa$1(t0e),t0e=t0e.return;while(t0e);var r0e=$P}catch(n0e){r0e=` +`+r0e[a0e].replace(" at new "," at ");while(1<=a0e&&0<=o0e);break}}}finally{Oa$1=!1,Error.prepareStackTrace=$P}return(x_=x_?x_.displayName||x_.name:"")?Na$1(x_):""}function Qa$1(x_){switch(x_.tag){case 5:return Na$1(x_.type);case 16:return Na$1("Lazy");case 13:return Na$1("Suspense");case 19:return Na$1("SuspenseList");case 0:case 2:case 15:return x_=Pa$1(x_.type,!1),x_;case 11:return x_=Pa$1(x_.type.render,!1),x_;case 22:return x_=Pa$1(x_.type._render,!1),x_;case 1:return x_=Pa$1(x_.type,!0),x_;default:return""}}function Ra$1(x_){if(x_==null)return null;if(typeof x_=="function")return x_.displayName||x_.name||null;if(typeof x_=="string")return x_;switch(x_){case ua$1:return"Fragment";case ta$1:return"Portal";case xa$1:return"Profiler";case wa$1:return"StrictMode";case Ba$1:return"Suspense";case Ca$1:return"SuspenseList"}if(typeof x_=="object")switch(x_.$$typeof){case za$1:return(x_.displayName||"Context")+".Consumer";case ya$1:return(x_._context.displayName||"Context")+".Provider";case Aa$1:var e0e=x_.render;return e0e=e0e.displayName||e0e.name||"",x_.displayName||(e0e!==""?"ForwardRef("+e0e+")":"ForwardRef");case Da$1:return Ra$1(x_.type);case Fa$1:return Ra$1(x_._render);case Ea$1:e0e=x_._payload,x_=x_._init;try{return Ra$1(x_(e0e))}catch{}}return null}function Sa$1(x_){switch(typeof x_){case"boolean":case"number":case"object":case"string":case"undefined":return x_;default:return""}}function Ta$1(x_){var e0e=x_.type;return(x_=x_.nodeName)&&x_.toLowerCase()==="input"&&(e0e==="checkbox"||e0e==="radio")}function Ua$1(x_){var e0e=Ta$1(x_)?"checked":"value",$P=Object.getOwnPropertyDescriptor(x_.constructor.prototype,e0e),t0e=""+x_[e0e];if(!x_.hasOwnProperty(e0e)&&typeof $P<"u"&&typeof $P.get=="function"&&typeof $P.set=="function"){var r0e=$P.get,n0e=$P.set;return Object.defineProperty(x_,e0e,{configurable:!0,get:function(){return r0e.call(this)},set:function(a0e){t0e=""+a0e,n0e.call(this,a0e)}}),Object.defineProperty(x_,e0e,{enumerable:$P.enumerable}),{getValue:function(){return t0e},setValue:function(a0e){t0e=""+a0e},stopTracking:function(){x_._valueTracker=null,delete x_[e0e]}}}}function Va$1(x_){x_._valueTracker||(x_._valueTracker=Ua$1(x_))}function Wa$1(x_){if(!x_)return!1;var e0e=x_._valueTracker;if(!e0e)return!0;var $P=e0e.getValue(),t0e="";return x_&&(t0e=Ta$1(x_)?x_.checked?"true":"false":x_.value),x_=t0e,x_!==$P?(e0e.setValue(x_),!0):!1}function Xa$1(x_){if(x_=x_||(typeof document<"u"?document:void 0),typeof x_>"u")return null;try{return x_.activeElement||x_.body}catch{return x_.body}}function Ya$1(x_,e0e){var $P=e0e.checked;return m$5({},e0e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:$P??x_._wrapperState.initialChecked})}function Za$1(x_,e0e){var $P=e0e.defaultValue==null?"":e0e.defaultValue,t0e=e0e.checked!=null?e0e.checked:e0e.defaultChecked;$P=Sa$1(e0e.value!=null?e0e.value:$P),x_._wrapperState={initialChecked:t0e,initialValue:$P,controlled:e0e.type==="checkbox"||e0e.type==="radio"?e0e.checked!=null:e0e.value!=null}}function $a$1(x_,e0e){e0e=e0e.checked,e0e!=null&&qa$1(x_,"checked",e0e,!1)}function ab$1(x_,e0e){$a$1(x_,e0e);var $P=Sa$1(e0e.value),t0e=e0e.type;if($P!=null)t0e==="number"?($P===0&&x_.value===""||x_.value!=$P)&&(x_.value=""+$P):x_.value!==""+$P&&(x_.value=""+$P);else if(t0e==="submit"||t0e==="reset"){x_.removeAttribute("value");return}e0e.hasOwnProperty("value")?bb$1(x_,e0e.type,$P):e0e.hasOwnProperty("defaultValue")&&bb$1(x_,e0e.type,Sa$1(e0e.defaultValue)),e0e.checked==null&&e0e.defaultChecked!=null&&(x_.defaultChecked=!!e0e.defaultChecked)}function cb$1(x_,e0e,$P){if(e0e.hasOwnProperty("value")||e0e.hasOwnProperty("defaultValue")){var t0e=e0e.type;if(!(t0e!=="submit"&&t0e!=="reset"||e0e.value!==void 0&&e0e.value!==null))return;e0e=""+x_._wrapperState.initialValue,$P||e0e===x_.value||(x_.value=e0e),x_.defaultValue=e0e}$P=x_.name,$P!==""&&(x_.name=""),x_.defaultChecked=!!x_._wrapperState.initialChecked,$P!==""&&(x_.name=$P)}function bb$1(x_,e0e,$P){(e0e!=="number"||Xa$1(x_.ownerDocument)!==x_)&&($P==null?x_.defaultValue=""+x_._wrapperState.initialValue:x_.defaultValue!==""+$P&&(x_.defaultValue=""+$P))}function db$1(x_){var e0e="";return aa$1.Children.forEach(x_,function($P){$P!=null&&(e0e+=$P)}),e0e}function eb$1(x_,e0e){return x_=m$5({children:void 0},e0e),(e0e=db$1(e0e.children))&&(x_.children=e0e),x_}function fb$1(x_,e0e,$P,t0e){if(x_=x_.options,e0e){e0e={};for(var r0e=0;r0e<$P.length;r0e++)e0e["$"+$P[r0e]]=!0;for($P=0;$P=$P.length))throw Error(y$3(93));$P=$P[0]}e0e=$P}e0e==null&&(e0e=""),$P=e0e}x_._wrapperState={initialValue:Sa$1($P)}}function ib$1(x_,e0e){var $P=Sa$1(e0e.value),t0e=Sa$1(e0e.defaultValue);$P!=null&&($P=""+$P,$P!==x_.value&&(x_.value=$P),e0e.defaultValue==null&&x_.defaultValue!==$P&&(x_.defaultValue=$P)),t0e!=null&&(x_.defaultValue=""+t0e)}function jb$1(x_){var e0e=x_.textContent;e0e===x_._wrapperState.initialValue&&e0e!==""&&e0e!==null&&(x_.value=e0e)}var kb$1={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function lb$1(x_){switch(x_){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mb$1(x_,e0e){return x_==null||x_==="http://www.w3.org/1999/xhtml"?lb$1(e0e):x_==="http://www.w3.org/2000/svg"&&e0e==="foreignObject"?"http://www.w3.org/1999/xhtml":x_}var nb$1,ob$1=function(x_){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e0e,$P,t0e,r0e){MSApp.execUnsafeLocalFunction(function(){return x_(e0e,$P,t0e,r0e)})}:x_}(function(x_,e0e){if(x_.namespaceURI!==kb$1.svg||"innerHTML"in x_)x_.innerHTML=e0e;else{for(nb$1=nb$1||document.createElement("div"),nb$1.innerHTML=""+e0e.valueOf().toString()+"",e0e=nb$1.firstChild;x_.firstChild;)x_.removeChild(x_.firstChild);for(;e0e.firstChild;)x_.appendChild(e0e.firstChild)}});function pb$1(x_,e0e){if(e0e){var $P=x_.firstChild;if($P&&$P===x_.lastChild&&$P.nodeType===3){$P.nodeValue=e0e;return}}x_.textContent=e0e}var qb$1={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},rb$1=["Webkit","ms","Moz","O"];Object.keys(qb$1).forEach(function(x_){rb$1.forEach(function(e0e){e0e=e0e+x_.charAt(0).toUpperCase()+x_.substring(1),qb$1[e0e]=qb$1[x_]})});function sb$1(x_,e0e,$P){return e0e==null||typeof e0e=="boolean"||e0e===""?"":$P||typeof e0e!="number"||e0e===0||qb$1.hasOwnProperty(x_)&&qb$1[x_]?(""+e0e).trim():e0e+"px"}function tb$1(x_,e0e){x_=x_.style;for(var $P in e0e)if(e0e.hasOwnProperty($P)){var t0e=$P.indexOf("--")===0,r0e=sb$1($P,e0e[$P],t0e);$P==="float"&&($P="cssFloat"),t0e?x_.setProperty($P,r0e):x_[$P]=r0e}}var ub$1=m$5({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function vb$1(x_,e0e){if(e0e){if(ub$1[x_]&&(e0e.children!=null||e0e.dangerouslySetInnerHTML!=null))throw Error(y$3(137,x_));if(e0e.dangerouslySetInnerHTML!=null){if(e0e.children!=null)throw Error(y$3(60));if(!(typeof e0e.dangerouslySetInnerHTML=="object"&&"__html"in e0e.dangerouslySetInnerHTML))throw Error(y$3(61))}if(e0e.style!=null&&typeof e0e.style!="object")throw Error(y$3(62))}}function wb$1(x_,e0e){if(x_.indexOf("-")===-1)return typeof e0e.is=="string";switch(x_){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xb$1(x_){return x_=x_.target||x_.srcElement||window,x_.correspondingUseElement&&(x_=x_.correspondingUseElement),x_.nodeType===3?x_.parentNode:x_}var yb$1=null,zb$1=null,Ab$1=null;function Bb$1(x_){if(x_=Cb$1(x_)){if(typeof yb$1!="function")throw Error(y$3(280));var e0e=x_.stateNode;e0e&&(e0e=Db$1(e0e),yb$1(x_.stateNode,x_.type,e0e))}}function Eb$1(x_){zb$1?Ab$1?Ab$1.push(x_):Ab$1=[x_]:zb$1=x_}function Fb$1(){if(zb$1){var x_=zb$1,e0e=Ab$1;if(Ab$1=zb$1=null,Bb$1(x_),e0e)for(x_=0;x_t0e?0:1<$P;$P++)e0e.push(x_);return e0e}function $c$1(x_,e0e,$P){x_.pendingLanes|=e0e;var t0e=e0e-1;x_.suspendedLanes&=t0e,x_.pingedLanes&=t0e,x_=x_.eventTimes,e0e=31-Vc$1(e0e),x_[e0e]=$P}var Vc$1=Math.clz32?Math.clz32:ad$1,bd$1=Math.log,cd$1=Math.LN2;function ad$1(x_){return x_===0?32:31-(bd$1(x_)/cd$1|0)|0}var dd$1=r$6.unstable_UserBlockingPriority,ed$1=r$6.unstable_runWithPriority,fd$1=!0;function gd$1(x_,e0e,$P,t0e){Kb$1||Ib$1();var r0e=hd$1,n0e=Kb$1;Kb$1=!0;try{Hb$1(r0e,x_,e0e,$P,t0e)}finally{(Kb$1=n0e)||Mb$1()}}function id$2(x_,e0e,$P,t0e){ed$1(dd$1,hd$1.bind(null,x_,e0e,$P,t0e))}function hd$1(x_,e0e,$P,t0e){if(fd$1){var r0e;if((r0e=(e0e&4)===0)&&0=be$1),ee$1=String.fromCharCode(32),fe$1=!1;function ge$1(x_,e0e){switch(x_){case"keyup":return $d$1.indexOf(e0e.keyCode)!==-1;case"keydown":return e0e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he$1(x_){return x_=x_.detail,typeof x_=="object"&&"data"in x_?x_.data:null}var ie$1=!1;function je$1(x_,e0e){switch(x_){case"compositionend":return he$1(e0e);case"keypress":return e0e.which!==32?null:(fe$1=!0,ee$1);case"textInput":return x_=e0e.data,x_===ee$1&&fe$1?null:x_;default:return null}}function ke$1(x_,e0e){if(ie$1)return x_==="compositionend"||!ae$1&&ge$1(x_,e0e)?(x_=nd$1(),md$1=ld$1=kd$1=null,ie$1=!1,x_):null;switch(x_){case"paste":return null;case"keypress":if(!(e0e.ctrlKey||e0e.altKey||e0e.metaKey)||e0e.ctrlKey&&e0e.altKey){if(e0e.char&&1=e0e)return{node:$P,offset:e0e-x_};x_=t0e}e:{for(;$P;){if($P.nextSibling){$P=$P.nextSibling;break e}$P=$P.parentNode}$P=void 0}$P=Ke$1($P)}}function Me$1(x_,e0e){return x_&&e0e?x_===e0e?!0:x_&&x_.nodeType===3?!1:e0e&&e0e.nodeType===3?Me$1(x_,e0e.parentNode):"contains"in x_?x_.contains(e0e):x_.compareDocumentPosition?!!(x_.compareDocumentPosition(e0e)&16):!1:!1}function Ne$1(){for(var x_=window,e0e=Xa$1();e0e instanceof x_.HTMLIFrameElement;){try{var $P=typeof e0e.contentWindow.location.href=="string"}catch{$P=!1}if($P)x_=e0e.contentWindow;else break;e0e=Xa$1(x_.document)}return e0e}function Oe$1(x_){var e0e=x_&&x_.nodeName&&x_.nodeName.toLowerCase();return e0e&&(e0e==="input"&&(x_.type==="text"||x_.type==="search"||x_.type==="tel"||x_.type==="url"||x_.type==="password")||e0e==="textarea"||x_.contentEditable==="true")}var Pe$1=fa$1&&"documentMode"in document&&11>=document.documentMode,Qe$1=null,Re$1=null,Se$1=null,Te$1=!1;function Ue$1(x_,e0e,$P){var t0e=$P.window===$P?$P.document:$P.nodeType===9?$P:$P.ownerDocument;Te$1||Qe$1==null||Qe$1!==Xa$1(t0e)||(t0e=Qe$1,"selectionStart"in t0e&&Oe$1(t0e)?t0e={start:t0e.selectionStart,end:t0e.selectionEnd}:(t0e=(t0e.ownerDocument&&t0e.ownerDocument.defaultView||window).getSelection(),t0e={anchorNode:t0e.anchorNode,anchorOffset:t0e.anchorOffset,focusNode:t0e.focusNode,focusOffset:t0e.focusOffset}),Se$1&&Je$1(Se$1,t0e)||(Se$1=t0e,t0e=oe$1(Re$1,"onSelect"),0Af$1||(x_.current=zf$1[Af$1],zf$1[Af$1]=null,Af$1--)}function I$2(x_,e0e){Af$1++,zf$1[Af$1]=x_.current,x_.current=e0e}var Cf$1={},M$1=Bf$1(Cf$1),N$1=Bf$1(!1),Df$1=Cf$1;function Ef$1(x_,e0e){var $P=x_.type.contextTypes;if(!$P)return Cf$1;var t0e=x_.stateNode;if(t0e&&t0e.__reactInternalMemoizedUnmaskedChildContext===e0e)return t0e.__reactInternalMemoizedMaskedChildContext;var r0e={},n0e;for(n0e in $P)r0e[n0e]=e0e[n0e];return t0e&&(x_=x_.stateNode,x_.__reactInternalMemoizedUnmaskedChildContext=e0e,x_.__reactInternalMemoizedMaskedChildContext=r0e),r0e}function Ff(x_){return x_=x_.childContextTypes,x_!=null}function Gf$1(){H$2(N$1),H$2(M$1)}function Hf$1(x_,e0e,$P){if(M$1.current!==Cf$1)throw Error(y$3(168));I$2(M$1,e0e),I$2(N$1,$P)}function If$1(x_,e0e,$P){var t0e=x_.stateNode;if(x_=e0e.childContextTypes,typeof t0e.getChildContext!="function")return $P;t0e=t0e.getChildContext();for(var r0e in t0e)if(!(r0e in x_))throw Error(y$3(108,Ra$1(e0e)||"Unknown",r0e));return m$5({},$P,t0e)}function Jf$1(x_){return x_=(x_=x_.stateNode)&&x_.__reactInternalMemoizedMergedChildContext||Cf$1,Df$1=M$1.current,I$2(M$1,x_),I$2(N$1,N$1.current),!0}function Kf$1(x_,e0e,$P){var t0e=x_.stateNode;if(!t0e)throw Error(y$3(169));$P?(x_=If$1(x_,e0e,Df$1),t0e.__reactInternalMemoizedMergedChildContext=x_,H$2(N$1),H$2(M$1),I$2(M$1,x_)):H$2(N$1),I$2(N$1,$P)}var Lf$1=null,Mf$1=null,Nf$1=r$6.unstable_runWithPriority,Of$1=r$6.unstable_scheduleCallback,Pf$1=r$6.unstable_cancelCallback,Qf$1=r$6.unstable_shouldYield,Rf$1=r$6.unstable_requestPaint,Sf$1=r$6.unstable_now,Tf$1=r$6.unstable_getCurrentPriorityLevel,Uf$1=r$6.unstable_ImmediatePriority,Vf$1=r$6.unstable_UserBlockingPriority,Wf$1=r$6.unstable_NormalPriority,Xf$1=r$6.unstable_LowPriority,Yf$1=r$6.unstable_IdlePriority,Zf$1={},$f$1=Rf$1!==void 0?Rf$1:function(){},ag$1=null,bg$2=null,cg$1=!1,dg$1=Sf$1(),O$1=1e4>dg$1?Sf$1:function(){return Sf$1()-dg$1};function eg$1(){switch(Tf$1()){case Uf$1:return 99;case Vf$1:return 98;case Wf$1:return 97;case Xf$1:return 96;case Yf$1:return 95;default:throw Error(y$3(332))}}function fg$1(x_){switch(x_){case 99:return Uf$1;case 98:return Vf$1;case 97:return Wf$1;case 96:return Xf$1;case 95:return Yf$1;default:throw Error(y$3(332))}}function gg$1(x_,e0e){return x_=fg$1(x_),Nf$1(x_,e0e)}function hg$1(x_,e0e,$P){return x_=fg$1(x_),Of$1(x_,e0e,$P)}function ig$1(){if(bg$2!==null){var x_=bg$2;bg$2=null,Pf$1(x_)}jg$1()}function jg$1(){if(!cg$1&&ag$1!==null){cg$1=!0;var x_=0;try{var e0e=ag$1;gg$1(99,function(){for(;x_O0e?(z0e=M0e,M0e=null):z0e=M0e.sibling;var _0e=u0e(h0e,M0e,m0e[O0e],v0e);if(_0e===null){M0e===null&&(M0e=z0e);break}x_&&M0e&&_0e.alternate===null&&e0e(h0e,M0e),b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e,M0e=z0e}if(O0e===m0e.length)return $P(h0e,M0e),g0e;if(M0e===null){for(;O0eO0e?(z0e=M0e,M0e=null):z0e=M0e.sibling;var A0e=u0e(h0e,M0e,_0e.value,v0e);if(A0e===null){M0e===null&&(M0e=z0e);break}x_&&M0e&&A0e.alternate===null&&e0e(h0e,M0e),b0e=n0e(A0e,b0e,O0e),y0e===null?g0e=A0e:y0e.sibling=A0e,y0e=A0e,M0e=z0e}if(_0e.done)return $P(h0e,M0e),g0e;if(M0e===null){for(;!_0e.done;O0e++,_0e=m0e.next())_0e=c0e(h0e,_0e.value,v0e),_0e!==null&&(b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e);return g0e}for(M0e=t0e(h0e,M0e);!_0e.done;O0e++,_0e=m0e.next())_0e=d0e(M0e,h0e,O0e,_0e.value,v0e),_0e!==null&&(x_&&_0e.alternate!==null&&M0e.delete(_0e.key===null?O0e:_0e.key),b0e=n0e(_0e,b0e,O0e),y0e===null?g0e=_0e:y0e.sibling=_0e,y0e=_0e);return x_&&M0e.forEach(function($0e){return e0e(h0e,$0e)}),g0e}return function(h0e,b0e,m0e,v0e){var g0e=typeof m0e=="object"&&m0e!==null&&m0e.type===ua$1&&m0e.key===null;g0e&&(m0e=m0e.props.children);var y0e=typeof m0e=="object"&&m0e!==null;if(y0e)switch(m0e.$$typeof){case sa$1:e:{for(y0e=m0e.key,g0e=b0e;g0e!==null;){if(g0e.key===y0e){switch(g0e.tag){case 7:if(m0e.type===ua$1){$P(h0e,g0e.sibling),b0e=r0e(g0e,m0e.props.children),b0e.return=h0e,h0e=b0e;break e}break;default:if(g0e.elementType===m0e.type){$P(h0e,g0e.sibling),b0e=r0e(g0e,m0e.props),b0e.ref=Qg$1(h0e,g0e,m0e),b0e.return=h0e,h0e=b0e;break e}}$P(h0e,g0e);break}else e0e(h0e,g0e);g0e=g0e.sibling}m0e.type===ua$1?(b0e=Xg$1(m0e.props.children,h0e.mode,v0e,m0e.key),b0e.return=h0e,h0e=b0e):(v0e=Vg$1(m0e.type,m0e.key,m0e.props,null,h0e.mode,v0e),v0e.ref=Qg$1(h0e,b0e,m0e),v0e.return=h0e,h0e=v0e)}return a0e(h0e);case ta$1:e:{for(g0e=m0e.key;b0e!==null;){if(b0e.key===g0e)if(b0e.tag===4&&b0e.stateNode.containerInfo===m0e.containerInfo&&b0e.stateNode.implementation===m0e.implementation){$P(h0e,b0e.sibling),b0e=r0e(b0e,m0e.children||[]),b0e.return=h0e,h0e=b0e;break e}else{$P(h0e,b0e);break}else e0e(h0e,b0e);b0e=b0e.sibling}b0e=Wg$1(m0e,h0e.mode,v0e),b0e.return=h0e,h0e=b0e}return a0e(h0e)}if(typeof m0e=="string"||typeof m0e=="number")return m0e=""+m0e,b0e!==null&&b0e.tag===6?($P(h0e,b0e.sibling),b0e=r0e(b0e,m0e),b0e.return=h0e,h0e=b0e):($P(h0e,b0e),b0e=Ug$1(m0e,h0e.mode,v0e),b0e.return=h0e,h0e=b0e),a0e(h0e);if(Pg$1(m0e))return p0e(h0e,b0e,m0e,v0e);if(La$1(m0e))return f0e(h0e,b0e,m0e,v0e);if(y0e&&Rg$1(h0e,m0e),typeof m0e>"u"&&!g0e)switch(h0e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(y$3(152,Ra$1(h0e.type)||"Component"))}return $P(h0e,b0e)}}var Yg$1=Sg$1(!0),Zg$1=Sg$1(!1),$g$1={},ah$1=Bf$1($g$1),bh$1=Bf$1($g$1),ch$1=Bf$1($g$1);function dh$1(x_){if(x_===$g$1)throw Error(y$3(174));return x_}function eh$1(x_,e0e){switch(I$2(ch$1,e0e),I$2(bh$1,x_),I$2(ah$1,$g$1),x_=e0e.nodeType,x_){case 9:case 11:e0e=(e0e=e0e.documentElement)?e0e.namespaceURI:mb$1(null,"");break;default:x_=x_===8?e0e.parentNode:e0e,e0e=x_.namespaceURI||null,x_=x_.tagName,e0e=mb$1(e0e,x_)}H$2(ah$1),I$2(ah$1,e0e)}function fh$1(){H$2(ah$1),H$2(bh$1),H$2(ch$1)}function gh$1(x_){dh$1(ch$1.current);var e0e=dh$1(ah$1.current),$P=mb$1(e0e,x_.type);e0e!==$P&&(I$2(bh$1,x_),I$2(ah$1,$P))}function hh$1(x_){bh$1.current===x_&&(H$2(ah$1),H$2(bh$1))}var P$1=Bf$1(0);function ih$1(x_){for(var e0e=x_;e0e!==null;){if(e0e.tag===13){var $P=e0e.memoizedState;if($P!==null&&($P=$P.dehydrated,$P===null||$P.data==="$?"||$P.data==="$!"))return e0e}else if(e0e.tag===19&&e0e.memoizedProps.revealOrder!==void 0){if(e0e.flags&64)return e0e}else if(e0e.child!==null){e0e.child.return=e0e,e0e=e0e.child;continue}if(e0e===x_)break;for(;e0e.sibling===null;){if(e0e.return===null||e0e.return===x_)return null;e0e=e0e.return}e0e.sibling.return=e0e.return,e0e=e0e.sibling}return null}var jh$1=null,kh=null,lh$1=!1;function mh$1(x_,e0e){var $P=nh$1(5,null,null,0);$P.elementType="DELETED",$P.type="DELETED",$P.stateNode=e0e,$P.return=x_,$P.flags=8,x_.lastEffect!==null?(x_.lastEffect.nextEffect=$P,x_.lastEffect=$P):x_.firstEffect=x_.lastEffect=$P}function oh$1(x_,e0e){switch(x_.tag){case 5:var $P=x_.type;return e0e=e0e.nodeType!==1||$P.toLowerCase()!==e0e.nodeName.toLowerCase()?null:e0e,e0e!==null?(x_.stateNode=e0e,!0):!1;case 6:return e0e=x_.pendingProps===""||e0e.nodeType!==3?null:e0e,e0e!==null?(x_.stateNode=e0e,!0):!1;case 13:return!1;default:return!1}}function ph$1(x_){if(lh$1){var e0e=kh;if(e0e){var $P=e0e;if(!oh$1(x_,e0e)){if(e0e=rf$1($P.nextSibling),!e0e||!oh$1(x_,e0e)){x_.flags=x_.flags&-1025|2,lh$1=!1,jh$1=x_;return}mh$1(jh$1,$P)}jh$1=x_,kh=rf$1(e0e.firstChild)}else x_.flags=x_.flags&-1025|2,lh$1=!1,jh$1=x_}}function qh$1(x_){for(x_=x_.return;x_!==null&&x_.tag!==5&&x_.tag!==3&&x_.tag!==13;)x_=x_.return;jh$1=x_}function rh$1(x_){if(x_!==jh$1)return!1;if(!lh$1)return qh$1(x_),lh$1=!0,!1;var e0e=x_.type;if(x_.tag!==5||e0e!=="head"&&e0e!=="body"&&!nf$1(e0e,x_.memoizedProps))for(e0e=kh;e0e;)mh$1(x_,e0e),e0e=rf$1(e0e.nextSibling);if(qh$1(x_),x_.tag===13){if(x_=x_.memoizedState,x_=x_!==null?x_.dehydrated:null,!x_)throw Error(y$3(317));e:{for(x_=x_.nextSibling,e0e=0;x_;){if(x_.nodeType===8){var $P=x_.data;if($P==="/$"){if(e0e===0){kh=rf$1(x_.nextSibling);break e}e0e--}else $P!=="$"&&$P!=="$!"&&$P!=="$?"||e0e++}x_=x_.nextSibling}kh=null}}else kh=jh$1?rf$1(x_.stateNode.nextSibling):null;return!0}function sh$1(){kh=jh$1=null,lh$1=!1}var th$1=[];function uh$1(){for(var x_=0;x_n0e))throw Error(y$3(301));n0e+=1,T$1=S$1=null,e0e.updateQueue=null,vh$1.current=Fh$1,x_=$P(t0e,r0e)}while(zh$1)}if(vh$1.current=Gh$1,e0e=S$1!==null&&S$1.next!==null,xh$1=0,T$1=S$1=R$1=null,yh$1=!1,e0e)throw Error(y$3(300));return x_}function Hh$1(){var x_={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return T$1===null?R$1.memoizedState=T$1=x_:T$1=T$1.next=x_,T$1}function Ih$1(){if(S$1===null){var x_=R$1.alternate;x_=x_!==null?x_.memoizedState:null}else x_=S$1.next;var e0e=T$1===null?R$1.memoizedState:T$1.next;if(e0e!==null)T$1=e0e,S$1=x_;else{if(x_===null)throw Error(y$3(310));S$1=x_,x_={memoizedState:S$1.memoizedState,baseState:S$1.baseState,baseQueue:S$1.baseQueue,queue:S$1.queue,next:null},T$1===null?R$1.memoizedState=T$1=x_:T$1=T$1.next=x_}return T$1}function Jh$1(x_,e0e){return typeof e0e=="function"?e0e(x_):e0e}function Kh$1(x_){var e0e=Ih$1(),$P=e0e.queue;if($P===null)throw Error(y$3(311));$P.lastRenderedReducer=x_;var t0e=S$1,r0e=t0e.baseQueue,n0e=$P.pending;if(n0e!==null){if(r0e!==null){var a0e=r0e.next;r0e.next=n0e.next,n0e.next=a0e}t0e.baseQueue=r0e=n0e,$P.pending=null}if(r0e!==null){r0e=r0e.next,t0e=t0e.baseState;var o0e=a0e=n0e=null,i0e=r0e;do{var s0e=i0e.lane;if((xh$1&s0e)===s0e)o0e!==null&&(o0e=o0e.next={lane:0,action:i0e.action,eagerReducer:i0e.eagerReducer,eagerState:i0e.eagerState,next:null}),t0e=i0e.eagerReducer===x_?i0e.eagerState:x_(t0e,i0e.action);else{var l0e={lane:s0e,action:i0e.action,eagerReducer:i0e.eagerReducer,eagerState:i0e.eagerState,next:null};o0e===null?(a0e=o0e=l0e,n0e=t0e):o0e=o0e.next=l0e,R$1.lanes|=s0e,Dg$1|=s0e}i0e=i0e.next}while(i0e!==null&&i0e!==r0e);o0e===null?n0e=t0e:o0e.next=a0e,He$1(t0e,e0e.memoizedState)||(ug$1=!0),e0e.memoizedState=t0e,e0e.baseState=n0e,e0e.baseQueue=o0e,$P.lastRenderedState=t0e}return[e0e.memoizedState,$P.dispatch]}function Lh$1(x_){var e0e=Ih$1(),$P=e0e.queue;if($P===null)throw Error(y$3(311));$P.lastRenderedReducer=x_;var t0e=$P.dispatch,r0e=$P.pending,n0e=e0e.memoizedState;if(r0e!==null){$P.pending=null;var a0e=r0e=r0e.next;do n0e=x_(n0e,a0e.action),a0e=a0e.next;while(a0e!==r0e);He$1(n0e,e0e.memoizedState)||(ug$1=!0),e0e.memoizedState=n0e,e0e.baseQueue===null&&(e0e.baseState=n0e),$P.lastRenderedState=n0e}return[n0e,t0e]}function Mh$1(x_,e0e,$P){var t0e=e0e._getVersion;t0e=t0e(e0e._source);var r0e=e0e._workInProgressVersionPrimary;if(r0e!==null?x_=r0e===t0e:(x_=x_.mutableReadLanes,(x_=(xh$1&x_)===x_)&&(e0e._workInProgressVersionPrimary=t0e,th$1.push(e0e))),x_)return $P(e0e._source);throw th$1.push(e0e),Error(y$3(350))}function Nh$1(x_,e0e,$P,t0e){var r0e=U$1;if(r0e===null)throw Error(y$3(349));var n0e=e0e._getVersion,a0e=n0e(e0e._source),o0e=vh$1.current,i0e=o0e.useState(function(){return Mh$1(r0e,e0e,$P)}),s0e=i0e[1],l0e=i0e[0];i0e=T$1;var c0e=x_.memoizedState,u0e=c0e.refs,d0e=u0e.getSnapshot,p0e=c0e.source;c0e=c0e.subscribe;var f0e=R$1;return x_.memoizedState={refs:u0e,source:e0e,subscribe:t0e},o0e.useEffect(function(){u0e.getSnapshot=$P,u0e.setSnapshot=s0e;var h0e=n0e(e0e._source);if(!He$1(a0e,h0e)){h0e=$P(e0e._source),He$1(l0e,h0e)||(s0e(h0e),h0e=Ig$1(f0e),r0e.mutableReadLanes|=h0e&r0e.pendingLanes),h0e=r0e.mutableReadLanes,r0e.entangledLanes|=h0e;for(var b0e=r0e.entanglements,m0e=h0e;0$P?98:$P,function(){x_(!0)}),gg$1(97<$P?97:$P,function(){var t0e=wh$1.transition;wh$1.transition=1;try{x_(!1),e0e()}finally{wh$1.transition=t0e}})}function Oh$1(x_,e0e,$P){var t0e=Hg$1(),r0e=Ig$1(x_),n0e={lane:r0e,action:$P,eagerReducer:null,eagerState:null,next:null},a0e=e0e.pending;if(a0e===null?n0e.next=n0e:(n0e.next=a0e.next,a0e.next=n0e),e0e.pending=n0e,a0e=x_.alternate,x_===R$1||a0e!==null&&a0e===R$1)zh$1=yh$1=!0;else{if(x_.lanes===0&&(a0e===null||a0e.lanes===0)&&(a0e=e0e.lastRenderedReducer,a0e!==null))try{var o0e=e0e.lastRenderedState,i0e=a0e(o0e,$P);if(n0e.eagerReducer=a0e,n0e.eagerState=i0e,He$1(i0e,o0e))return}catch{}finally{}Jg$1(x_,r0e,t0e)}}var Gh$1={readContext:vg$1,useCallback:Ah$1,useContext:Ah$1,useEffect:Ah$1,useImperativeHandle:Ah$1,useLayoutEffect:Ah$1,useMemo:Ah$1,useReducer:Ah$1,useRef:Ah$1,useState:Ah$1,useDebugValue:Ah$1,useDeferredValue:Ah$1,useTransition:Ah$1,useMutableSource:Ah$1,useOpaqueIdentifier:Ah$1,unstable_isNewReconciler:!1},Dh$1={readContext:vg$1,useCallback:function(x_,e0e){return Hh$1().memoizedState=[x_,e0e===void 0?null:e0e],x_},useContext:vg$1,useEffect:Wh$1,useImperativeHandle:function(x_,e0e,$P){return $P=$P!=null?$P.concat([x_]):null,Uh$1(4,2,Zh$1.bind(null,e0e,x_),$P)},useLayoutEffect:function(x_,e0e){return Uh$1(4,2,x_,e0e)},useMemo:function(x_,e0e){var $P=Hh$1();return e0e=e0e===void 0?null:e0e,x_=x_(),$P.memoizedState=[x_,e0e],x_},useReducer:function(x_,e0e,$P){var t0e=Hh$1();return e0e=$P!==void 0?$P(e0e):e0e,t0e.memoizedState=t0e.baseState=e0e,x_=t0e.queue={pending:null,dispatch:null,lastRenderedReducer:x_,lastRenderedState:e0e},x_=x_.dispatch=Oh$1.bind(null,R$1,x_),[t0e.memoizedState,x_]},useRef:Sh$1,useState:Qh$1,useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Qh$1(x_),$P=e0e[0],t0e=e0e[1];return Wh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Qh$1(!1),e0e=x_[0];return x_=di$1.bind(null,x_[1]),Sh$1(x_),[x_,e0e]},useMutableSource:function(x_,e0e,$P){var t0e=Hh$1();return t0e.memoizedState={refs:{getSnapshot:e0e,setSnapshot:null},source:x_,subscribe:$P},Nh$1(t0e,x_,e0e,$P)},useOpaqueIdentifier:function(){if(lh$1){var x_=!1,e0e=uf$1(function(){throw x_||(x_=!0,$P("r:"+(tf$1++).toString(36))),Error(y$3(355))}),$P=Qh$1(e0e)[1];return!(R$1.mode&2)&&(R$1.flags|=516,Rh$1(5,function(){$P("r:"+(tf$1++).toString(36))},void 0,null)),e0e}return e0e="r:"+(tf$1++).toString(36),Qh$1(e0e),e0e},unstable_isNewReconciler:!1},Eh$1={readContext:vg$1,useCallback:bi$1,useContext:vg$1,useEffect:Xh$1,useImperativeHandle:$h$1,useLayoutEffect:Yh$1,useMemo:ci$1,useReducer:Kh$1,useRef:Th$1,useState:function(){return Kh$1(Jh$1)},useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Kh$1(Jh$1),$P=e0e[0],t0e=e0e[1];return Xh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Kh$1(Jh$1)[0];return[Th$1().current,x_]},useMutableSource:Ph$1,useOpaqueIdentifier:function(){return Kh$1(Jh$1)[0]},unstable_isNewReconciler:!1},Fh$1={readContext:vg$1,useCallback:bi$1,useContext:vg$1,useEffect:Xh$1,useImperativeHandle:$h$1,useLayoutEffect:Yh$1,useMemo:ci$1,useReducer:Lh$1,useRef:Th$1,useState:function(){return Lh$1(Jh$1)},useDebugValue:ai$1,useDeferredValue:function(x_){var e0e=Lh$1(Jh$1),$P=e0e[0],t0e=e0e[1];return Xh$1(function(){var r0e=wh$1.transition;wh$1.transition=1;try{t0e(x_)}finally{wh$1.transition=r0e}},[x_]),$P},useTransition:function(){var x_=Lh$1(Jh$1)[0];return[Th$1().current,x_]},useMutableSource:Ph$1,useOpaqueIdentifier:function(){return Lh$1(Jh$1)[0]},unstable_isNewReconciler:!1},ei$1=ra$1.ReactCurrentOwner,ug$1=!1;function fi$1(x_,e0e,$P,t0e){e0e.child=x_===null?Zg$1(e0e,null,$P,t0e):Yg$1(e0e,x_.child,$P,t0e)}function gi$1(x_,e0e,$P,t0e,r0e){$P=$P.render;var n0e=e0e.ref;return tg$1(e0e,r0e),t0e=Ch$1(x_,e0e,$P,t0e,n0e,r0e),x_!==null&&!ug$1?(e0e.updateQueue=x_.updateQueue,e0e.flags&=-517,x_.lanes&=~r0e,hi$1(x_,e0e,r0e)):(e0e.flags|=1,fi$1(x_,e0e,t0e,r0e),e0e.child)}function ii$1(x_,e0e,$P,t0e,r0e,n0e){if(x_===null){var a0e=$P.type;return typeof a0e=="function"&&!ji$1(a0e)&&a0e.defaultProps===void 0&&$P.compare===null&&$P.defaultProps===void 0?(e0e.tag=15,e0e.type=a0e,ki$1(x_,e0e,a0e,t0e,r0e,n0e)):(x_=Vg$1($P.type,null,t0e,e0e,e0e.mode,n0e),x_.ref=e0e.ref,x_.return=e0e,e0e.child=x_)}return a0e=x_.child,!(r0e&n0e)&&(r0e=a0e.memoizedProps,$P=$P.compare,$P=$P!==null?$P:Je$1,$P(r0e,t0e)&&x_.ref===e0e.ref)?hi$1(x_,e0e,n0e):(e0e.flags|=1,x_=Tg$1(a0e,t0e),x_.ref=e0e.ref,x_.return=e0e,e0e.child=x_)}function ki$1(x_,e0e,$P,t0e,r0e,n0e){if(x_!==null&&Je$1(x_.memoizedProps,t0e)&&x_.ref===e0e.ref)if(ug$1=!1,(n0e&r0e)!==0)x_.flags&16384&&(ug$1=!0);else return e0e.lanes=x_.lanes,hi$1(x_,e0e,n0e);return li$1(x_,e0e,$P,t0e,n0e)}function mi$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=t0e.children,n0e=x_!==null?x_.memoizedState:null;if(t0e.mode==="hidden"||t0e.mode==="unstable-defer-without-hiding")if(!(e0e.mode&4))e0e.memoizedState={baseLanes:0},ni$1(e0e,$P);else if($P&1073741824)e0e.memoizedState={baseLanes:0},ni$1(e0e,n0e!==null?n0e.baseLanes:$P);else return x_=n0e!==null?n0e.baseLanes|$P:$P,e0e.lanes=e0e.childLanes=1073741824,e0e.memoizedState={baseLanes:x_},ni$1(e0e,x_),null;else n0e!==null?(t0e=n0e.baseLanes|$P,e0e.memoizedState=null):t0e=$P,ni$1(e0e,t0e);return fi$1(x_,e0e,r0e,$P),e0e.child}function oi$1(x_,e0e){var $P=e0e.ref;(x_===null&&$P!==null||x_!==null&&x_.ref!==$P)&&(e0e.flags|=128)}function li$1(x_,e0e,$P,t0e,r0e){var n0e=Ff($P)?Df$1:M$1.current;return n0e=Ef$1(e0e,n0e),tg$1(e0e,r0e),$P=Ch$1(x_,e0e,$P,t0e,n0e,r0e),x_!==null&&!ug$1?(e0e.updateQueue=x_.updateQueue,e0e.flags&=-517,x_.lanes&=~r0e,hi$1(x_,e0e,r0e)):(e0e.flags|=1,fi$1(x_,e0e,$P,r0e),e0e.child)}function pi$1(x_,e0e,$P,t0e,r0e){if(Ff($P)){var n0e=!0;Jf$1(e0e)}else n0e=!1;if(tg$1(e0e,r0e),e0e.stateNode===null)x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),Mg$1(e0e,$P,t0e),Og$1(e0e,$P,t0e,r0e),t0e=!0;else if(x_===null){var a0e=e0e.stateNode,o0e=e0e.memoizedProps;a0e.props=o0e;var i0e=a0e.context,s0e=$P.contextType;typeof s0e=="object"&&s0e!==null?s0e=vg$1(s0e):(s0e=Ff($P)?Df$1:M$1.current,s0e=Ef$1(e0e,s0e));var l0e=$P.getDerivedStateFromProps,c0e=typeof l0e=="function"||typeof a0e.getSnapshotBeforeUpdate=="function";c0e||typeof a0e.UNSAFE_componentWillReceiveProps!="function"&&typeof a0e.componentWillReceiveProps!="function"||(o0e!==t0e||i0e!==s0e)&&Ng$1(e0e,a0e,t0e,s0e),wg$1=!1;var u0e=e0e.memoizedState;a0e.state=u0e,Cg$1(e0e,t0e,a0e,r0e),i0e=e0e.memoizedState,o0e!==t0e||u0e!==i0e||N$1.current||wg$1?(typeof l0e=="function"&&(Gg$1(e0e,$P,l0e,t0e),i0e=e0e.memoizedState),(o0e=wg$1||Lg$1(e0e,$P,o0e,t0e,u0e,i0e,s0e))?(c0e||typeof a0e.UNSAFE_componentWillMount!="function"&&typeof a0e.componentWillMount!="function"||(typeof a0e.componentWillMount=="function"&&a0e.componentWillMount(),typeof a0e.UNSAFE_componentWillMount=="function"&&a0e.UNSAFE_componentWillMount()),typeof a0e.componentDidMount=="function"&&(e0e.flags|=4)):(typeof a0e.componentDidMount=="function"&&(e0e.flags|=4),e0e.memoizedProps=t0e,e0e.memoizedState=i0e),a0e.props=t0e,a0e.state=i0e,a0e.context=s0e,t0e=o0e):(typeof a0e.componentDidMount=="function"&&(e0e.flags|=4),t0e=!1)}else{a0e=e0e.stateNode,yg$1(x_,e0e),o0e=e0e.memoizedProps,s0e=e0e.type===e0e.elementType?o0e:lg$1(e0e.type,o0e),a0e.props=s0e,c0e=e0e.pendingProps,u0e=a0e.context,i0e=$P.contextType,typeof i0e=="object"&&i0e!==null?i0e=vg$1(i0e):(i0e=Ff($P)?Df$1:M$1.current,i0e=Ef$1(e0e,i0e));var d0e=$P.getDerivedStateFromProps;(l0e=typeof d0e=="function"||typeof a0e.getSnapshotBeforeUpdate=="function")||typeof a0e.UNSAFE_componentWillReceiveProps!="function"&&typeof a0e.componentWillReceiveProps!="function"||(o0e!==c0e||u0e!==i0e)&&Ng$1(e0e,a0e,t0e,i0e),wg$1=!1,u0e=e0e.memoizedState,a0e.state=u0e,Cg$1(e0e,t0e,a0e,r0e);var p0e=e0e.memoizedState;o0e!==c0e||u0e!==p0e||N$1.current||wg$1?(typeof d0e=="function"&&(Gg$1(e0e,$P,d0e,t0e),p0e=e0e.memoizedState),(s0e=wg$1||Lg$1(e0e,$P,s0e,t0e,u0e,p0e,i0e))?(l0e||typeof a0e.UNSAFE_componentWillUpdate!="function"&&typeof a0e.componentWillUpdate!="function"||(typeof a0e.componentWillUpdate=="function"&&a0e.componentWillUpdate(t0e,p0e,i0e),typeof a0e.UNSAFE_componentWillUpdate=="function"&&a0e.UNSAFE_componentWillUpdate(t0e,p0e,i0e)),typeof a0e.componentDidUpdate=="function"&&(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate=="function"&&(e0e.flags|=256)):(typeof a0e.componentDidUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=256),e0e.memoizedProps=t0e,e0e.memoizedState=p0e),a0e.props=t0e,a0e.state=p0e,a0e.context=i0e,t0e=s0e):(typeof a0e.componentDidUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=4),typeof a0e.getSnapshotBeforeUpdate!="function"||o0e===x_.memoizedProps&&u0e===x_.memoizedState||(e0e.flags|=256),t0e=!1)}return qi$1(x_,e0e,$P,t0e,n0e,r0e)}function qi$1(x_,e0e,$P,t0e,r0e,n0e){oi$1(x_,e0e);var a0e=(e0e.flags&64)!==0;if(!t0e&&!a0e)return r0e&&Kf$1(e0e,$P,!1),hi$1(x_,e0e,n0e);t0e=e0e.stateNode,ei$1.current=e0e;var o0e=a0e&&typeof $P.getDerivedStateFromError!="function"?null:t0e.render();return e0e.flags|=1,x_!==null&&a0e?(e0e.child=Yg$1(e0e,x_.child,null,n0e),e0e.child=Yg$1(e0e,null,o0e,n0e)):fi$1(x_,e0e,o0e,n0e),e0e.memoizedState=t0e.state,r0e&&Kf$1(e0e,$P,!0),e0e.child}function ri$1(x_){var e0e=x_.stateNode;e0e.pendingContext?Hf$1(x_,e0e.pendingContext,e0e.pendingContext!==e0e.context):e0e.context&&Hf$1(x_,e0e.context,!1),eh$1(x_,e0e.containerInfo)}var si$1={dehydrated:null,retryLane:0};function ti$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=P$1.current,n0e=!1,a0e;return(a0e=(e0e.flags&64)!==0)||(a0e=x_!==null&&x_.memoizedState===null?!1:(r0e&2)!==0),a0e?(n0e=!0,e0e.flags&=-65):x_!==null&&x_.memoizedState===null||t0e.fallback===void 0||t0e.unstable_avoidThisFallback===!0||(r0e|=1),I$2(P$1,r0e&1),x_===null?(t0e.fallback!==void 0&&ph$1(e0e),x_=t0e.children,r0e=t0e.fallback,n0e?(x_=ui$1(e0e,x_,r0e,$P),e0e.child.memoizedState={baseLanes:$P},e0e.memoizedState=si$1,x_):typeof t0e.unstable_expectedLoadTime=="number"?(x_=ui$1(e0e,x_,r0e,$P),e0e.child.memoizedState={baseLanes:$P},e0e.memoizedState=si$1,e0e.lanes=33554432,x_):($P=vi$1({mode:"visible",children:x_},e0e.mode,$P,null),$P.return=e0e,e0e.child=$P)):x_.memoizedState!==null?n0e?(t0e=wi$1(x_,e0e,t0e.children,t0e.fallback,$P),n0e=e0e.child,r0e=x_.child.memoizedState,n0e.memoizedState=r0e===null?{baseLanes:$P}:{baseLanes:r0e.baseLanes|$P},n0e.childLanes=x_.childLanes&~$P,e0e.memoizedState=si$1,t0e):($P=xi$1(x_,e0e,t0e.children,$P),e0e.memoizedState=null,$P):n0e?(t0e=wi$1(x_,e0e,t0e.children,t0e.fallback,$P),n0e=e0e.child,r0e=x_.child.memoizedState,n0e.memoizedState=r0e===null?{baseLanes:$P}:{baseLanes:r0e.baseLanes|$P},n0e.childLanes=x_.childLanes&~$P,e0e.memoizedState=si$1,t0e):($P=xi$1(x_,e0e,t0e.children,$P),e0e.memoizedState=null,$P)}function ui$1(x_,e0e,$P,t0e){var r0e=x_.mode,n0e=x_.child;return e0e={mode:"hidden",children:e0e},!(r0e&2)&&n0e!==null?(n0e.childLanes=0,n0e.pendingProps=e0e):n0e=vi$1(e0e,r0e,0,null),$P=Xg$1($P,r0e,t0e,null),n0e.return=x_,$P.return=x_,n0e.sibling=$P,x_.child=n0e,$P}function xi$1(x_,e0e,$P,t0e){var r0e=x_.child;return x_=r0e.sibling,$P=Tg$1(r0e,{mode:"visible",children:$P}),!(e0e.mode&2)&&($P.lanes=t0e),$P.return=e0e,$P.sibling=null,x_!==null&&(x_.nextEffect=null,x_.flags=8,e0e.firstEffect=e0e.lastEffect=x_),e0e.child=$P}function wi$1(x_,e0e,$P,t0e,r0e){var n0e=e0e.mode,a0e=x_.child;x_=a0e.sibling;var o0e={mode:"hidden",children:$P};return!(n0e&2)&&e0e.child!==a0e?($P=e0e.child,$P.childLanes=0,$P.pendingProps=o0e,a0e=$P.lastEffect,a0e!==null?(e0e.firstEffect=$P.firstEffect,e0e.lastEffect=a0e,a0e.nextEffect=null):e0e.firstEffect=e0e.lastEffect=null):$P=Tg$1(a0e,o0e),x_!==null?t0e=Tg$1(x_,t0e):(t0e=Xg$1(t0e,n0e,r0e,null),t0e.flags|=2),t0e.return=e0e,$P.return=e0e,$P.sibling=t0e,e0e.child=$P,t0e}function yi$1(x_,e0e){x_.lanes|=e0e;var $P=x_.alternate;$P!==null&&($P.lanes|=e0e),sg$1(x_.return,e0e)}function zi$1(x_,e0e,$P,t0e,r0e,n0e){var a0e=x_.memoizedState;a0e===null?x_.memoizedState={isBackwards:e0e,rendering:null,renderingStartTime:0,last:t0e,tail:$P,tailMode:r0e,lastEffect:n0e}:(a0e.isBackwards=e0e,a0e.rendering=null,a0e.renderingStartTime=0,a0e.last=t0e,a0e.tail=$P,a0e.tailMode=r0e,a0e.lastEffect=n0e)}function Ai$1(x_,e0e,$P){var t0e=e0e.pendingProps,r0e=t0e.revealOrder,n0e=t0e.tail;if(fi$1(x_,e0e,t0e.children,$P),t0e=P$1.current,t0e&2)t0e=t0e&1|2,e0e.flags|=64;else{if(x_!==null&&x_.flags&64)e:for(x_=e0e.child;x_!==null;){if(x_.tag===13)x_.memoizedState!==null&&yi$1(x_,$P);else if(x_.tag===19)yi$1(x_,$P);else if(x_.child!==null){x_.child.return=x_,x_=x_.child;continue}if(x_===e0e)break e;for(;x_.sibling===null;){if(x_.return===null||x_.return===e0e)break e;x_=x_.return}x_.sibling.return=x_.return,x_=x_.sibling}t0e&=1}if(I$2(P$1,t0e),!(e0e.mode&2))e0e.memoizedState=null;else switch(r0e){case"forwards":for($P=e0e.child,r0e=null;$P!==null;)x_=$P.alternate,x_!==null&&ih$1(x_)===null&&(r0e=$P),$P=$P.sibling;$P=r0e,$P===null?(r0e=e0e.child,e0e.child=null):(r0e=$P.sibling,$P.sibling=null),zi$1(e0e,!1,r0e,$P,n0e,e0e.lastEffect);break;case"backwards":for($P=null,r0e=e0e.child,e0e.child=null;r0e!==null;){if(x_=r0e.alternate,x_!==null&&ih$1(x_)===null){e0e.child=r0e;break}x_=r0e.sibling,r0e.sibling=$P,$P=r0e,r0e=x_}zi$1(e0e,!0,$P,null,n0e,e0e.lastEffect);break;case"together":zi$1(e0e,!1,null,null,void 0,e0e.lastEffect);break;default:e0e.memoizedState=null}return e0e.child}function hi$1(x_,e0e,$P){if(x_!==null&&(e0e.dependencies=x_.dependencies),Dg$1|=e0e.lanes,$P&e0e.childLanes){if(x_!==null&&e0e.child!==x_.child)throw Error(y$3(153));if(e0e.child!==null){for(x_=e0e.child,$P=Tg$1(x_,x_.pendingProps),e0e.child=$P,$P.return=e0e;x_.sibling!==null;)x_=x_.sibling,$P=$P.sibling=Tg$1(x_,x_.pendingProps),$P.return=e0e;$P.sibling=null}return e0e.child}return null}var Bi$1,Ci$1,Di$1,Ei$1;Bi$1=function(x_,e0e){for(var $P=e0e.child;$P!==null;){if($P.tag===5||$P.tag===6)x_.appendChild($P.stateNode);else if($P.tag!==4&&$P.child!==null){$P.child.return=$P,$P=$P.child;continue}if($P===e0e)break;for(;$P.sibling===null;){if($P.return===null||$P.return===e0e)return;$P=$P.return}$P.sibling.return=$P.return,$P=$P.sibling}};Ci$1=function(){};Di$1=function(x_,e0e,$P,t0e){var r0e=x_.memoizedProps;if(r0e!==t0e){x_=e0e.stateNode,dh$1(ah$1.current);var n0e=null;switch($P){case"input":r0e=Ya$1(x_,r0e),t0e=Ya$1(x_,t0e),n0e=[];break;case"option":r0e=eb$1(x_,r0e),t0e=eb$1(x_,t0e),n0e=[];break;case"select":r0e=m$5({},r0e,{value:void 0}),t0e=m$5({},t0e,{value:void 0}),n0e=[];break;case"textarea":r0e=gb$1(x_,r0e),t0e=gb$1(x_,t0e),n0e=[];break;default:typeof r0e.onClick!="function"&&typeof t0e.onClick=="function"&&(x_.onclick=jf$1)}vb$1($P,t0e);var a0e;$P=null;for(s0e in r0e)if(!t0e.hasOwnProperty(s0e)&&r0e.hasOwnProperty(s0e)&&r0e[s0e]!=null)if(s0e==="style"){var o0e=r0e[s0e];for(a0e in o0e)o0e.hasOwnProperty(a0e)&&($P||($P={}),$P[a0e]="")}else s0e!=="dangerouslySetInnerHTML"&&s0e!=="children"&&s0e!=="suppressContentEditableWarning"&&s0e!=="suppressHydrationWarning"&&s0e!=="autoFocus"&&(ca$1.hasOwnProperty(s0e)?n0e||(n0e=[]):(n0e=n0e||[]).push(s0e,null));for(s0e in t0e){var i0e=t0e[s0e];if(o0e=r0e!=null?r0e[s0e]:void 0,t0e.hasOwnProperty(s0e)&&i0e!==o0e&&(i0e!=null||o0e!=null))if(s0e==="style")if(o0e){for(a0e in o0e)!o0e.hasOwnProperty(a0e)||i0e&&i0e.hasOwnProperty(a0e)||($P||($P={}),$P[a0e]="");for(a0e in i0e)i0e.hasOwnProperty(a0e)&&o0e[a0e]!==i0e[a0e]&&($P||($P={}),$P[a0e]=i0e[a0e])}else $P||(n0e||(n0e=[]),n0e.push(s0e,$P)),$P=i0e;else s0e==="dangerouslySetInnerHTML"?(i0e=i0e?i0e.__html:void 0,o0e=o0e?o0e.__html:void 0,i0e!=null&&o0e!==i0e&&(n0e=n0e||[]).push(s0e,i0e)):s0e==="children"?typeof i0e!="string"&&typeof i0e!="number"||(n0e=n0e||[]).push(s0e,""+i0e):s0e!=="suppressContentEditableWarning"&&s0e!=="suppressHydrationWarning"&&(ca$1.hasOwnProperty(s0e)?(i0e!=null&&s0e==="onScroll"&&G$2("scroll",x_),n0e||o0e===i0e||(n0e=[])):typeof i0e=="object"&&i0e!==null&&i0e.$$typeof===Ga$1?i0e.toString():(n0e=n0e||[]).push(s0e,i0e))}$P&&(n0e=n0e||[]).push("style",$P);var s0e=n0e;(e0e.updateQueue=s0e)&&(e0e.flags|=4)}};Ei$1=function(x_,e0e,$P,t0e){$P!==t0e&&(e0e.flags|=4)};function Fi$1(x_,e0e){if(!lh$1)switch(x_.tailMode){case"hidden":e0e=x_.tail;for(var $P=null;e0e!==null;)e0e.alternate!==null&&($P=e0e),e0e=e0e.sibling;$P===null?x_.tail=null:$P.sibling=null;break;case"collapsed":$P=x_.tail;for(var t0e=null;$P!==null;)$P.alternate!==null&&(t0e=$P),$P=$P.sibling;t0e===null?e0e||x_.tail===null?x_.tail=null:x_.tail.sibling=null:t0e.sibling=null}}function Gi$1(x_,e0e,$P){var t0e=e0e.pendingProps;switch(e0e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ff(e0e.type)&&Gf$1(),null;case 3:return fh$1(),H$2(N$1),H$2(M$1),uh$1(),t0e=e0e.stateNode,t0e.pendingContext&&(t0e.context=t0e.pendingContext,t0e.pendingContext=null),(x_===null||x_.child===null)&&(rh$1(e0e)?e0e.flags|=4:t0e.hydrate||(e0e.flags|=256)),Ci$1(e0e),null;case 5:hh$1(e0e);var r0e=dh$1(ch$1.current);if($P=e0e.type,x_!==null&&e0e.stateNode!=null)Di$1(x_,e0e,$P,t0e,r0e),x_.ref!==e0e.ref&&(e0e.flags|=128);else{if(!t0e){if(e0e.stateNode===null)throw Error(y$3(166));return null}if(x_=dh$1(ah$1.current),rh$1(e0e)){t0e=e0e.stateNode,$P=e0e.type;var n0e=e0e.memoizedProps;switch(t0e[wf$1]=e0e,t0e[xf$1]=n0e,$P){case"dialog":G$2("cancel",t0e),G$2("close",t0e);break;case"iframe":case"object":case"embed":G$2("load",t0e);break;case"video":case"audio":for(x_=0;x_<\/script>",x_=x_.removeChild(x_.firstChild)):typeof t0e.is=="string"?x_=a0e.createElement($P,{is:t0e.is}):(x_=a0e.createElement($P),$P==="select"&&(a0e=x_,t0e.multiple?a0e.multiple=!0:t0e.size&&(a0e.size=t0e.size))):x_=a0e.createElementNS(x_,$P),x_[wf$1]=e0e,x_[xf$1]=t0e,Bi$1(x_,e0e,!1,!1),e0e.stateNode=x_,a0e=wb$1($P,t0e),$P){case"dialog":G$2("cancel",x_),G$2("close",x_),r0e=t0e;break;case"iframe":case"object":case"embed":G$2("load",x_),r0e=t0e;break;case"video":case"audio":for(r0e=0;r0eJi$1&&(e0e.flags|=64,n0e=!0,Fi$1(t0e,!1),e0e.lanes=33554432)}else{if(!n0e)if(x_=ih$1(a0e),x_!==null){if(e0e.flags|=64,n0e=!0,$P=x_.updateQueue,$P!==null&&(e0e.updateQueue=$P,e0e.flags|=4),Fi$1(t0e,!0),t0e.tail===null&&t0e.tailMode==="hidden"&&!a0e.alternate&&!lh$1)return e0e=e0e.lastEffect=t0e.lastEffect,e0e!==null&&(e0e.nextEffect=null),null}else 2*O$1()-t0e.renderingStartTime>Ji$1&&$P!==1073741824&&(e0e.flags|=64,n0e=!0,Fi$1(t0e,!1),e0e.lanes=33554432);t0e.isBackwards?(a0e.sibling=e0e.child,e0e.child=a0e):($P=t0e.last,$P!==null?$P.sibling=a0e:e0e.child=a0e,t0e.last=a0e)}return t0e.tail!==null?($P=t0e.tail,t0e.rendering=$P,t0e.tail=$P.sibling,t0e.lastEffect=e0e.lastEffect,t0e.renderingStartTime=O$1(),$P.sibling=null,e0e=P$1.current,I$2(P$1,n0e?e0e&1|2:e0e&1),$P):null;case 23:case 24:return Ki$1(),x_!==null&&x_.memoizedState!==null!=(e0e.memoizedState!==null)&&t0e.mode!=="unstable-defer-without-hiding"&&(e0e.flags|=4),null}throw Error(y$3(156,e0e.tag))}function Li$1(x_){switch(x_.tag){case 1:Ff(x_.type)&&Gf$1();var e0e=x_.flags;return e0e&4096?(x_.flags=e0e&-4097|64,x_):null;case 3:if(fh$1(),H$2(N$1),H$2(M$1),uh$1(),e0e=x_.flags,e0e&64)throw Error(y$3(285));return x_.flags=e0e&-4097|64,x_;case 5:return hh$1(x_),null;case 13:return H$2(P$1),e0e=x_.flags,e0e&4096?(x_.flags=e0e&-4097|64,x_):null;case 19:return H$2(P$1),null;case 4:return fh$1(),null;case 10:return rg$1(x_),null;case 23:case 24:return Ki$1(),null;default:return null}}function Mi$1(x_,e0e){try{var $P="",t0e=e0e;do $P+=Qa$1(t0e),t0e=t0e.return;while(t0e);var r0e=$P}catch(n0e){r0e=` Error generating stack: `+n0e.message+` -`+n0e.stack}return{value:x_,source:e0e,stack:r0e}}function Ni$1(x_,e0e){try{console.error(e0e.value)}catch($P){setTimeout(function(){throw $P})}}var Oi$1=typeof WeakMap=="function"?WeakMap:Map;function Pi$1(x_,e0e,$P){$P=zg$1(-1,$P),$P.tag=3,$P.payload={element:null};var t0e=e0e.value;return $P.callback=function(){Qi$1||(Qi$1=!0,Ri$1=t0e),Ni$1(x_,e0e)},$P}function Si$1(x_,e0e,$P){$P=zg$1(-1,$P),$P.tag=3;var t0e=x_.type.getDerivedStateFromError;if(typeof t0e=="function"){var r0e=e0e.value;$P.payload=function(){return Ni$1(x_,e0e),t0e(r0e)}}var n0e=x_.stateNode;return n0e!==null&&typeof n0e.componentDidCatch=="function"&&($P.callback=function(){typeof t0e!="function"&&(Ti$1===null?Ti$1=new Set([this]):Ti$1.add(this),Ni$1(x_,e0e));var a0e=e0e.stack;this.componentDidCatch(e0e.value,{componentStack:a0e!==null?a0e:""})}),$P}var Ui$1=typeof WeakSet=="function"?WeakSet:Set;function Vi$1(x_){var e0e=x_.ref;if(e0e!==null)if(typeof e0e=="function")try{e0e(null)}catch($P){Wi$1(x_,$P)}else e0e.current=null}function Xi$1(x_,e0e){switch(e0e.tag){case 0:case 11:case 15:case 22:return;case 1:if(e0e.flags&256&&x_!==null){var $P=x_.memoizedProps,t0e=x_.memoizedState;x_=e0e.stateNode,e0e=x_.getSnapshotBeforeUpdate(e0e.elementType===e0e.type?$P:lg$1(e0e.type,$P),t0e),x_.__reactInternalSnapshotBeforeUpdate=e0e}return;case 3:e0e.flags&256&&qf$1(e0e.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(y$2(163))}function Yi$1(x_,e0e,$P){switch($P.tag){case 0:case 11:case 15:case 22:if(e0e=$P.updateQueue,e0e=e0e!==null?e0e.lastEffect:null,e0e!==null){x_=e0e=e0e.next;do{if((x_.tag&3)===3){var t0e=x_.create;x_.destroy=t0e()}x_=x_.next}while(x_!==e0e)}if(e0e=$P.updateQueue,e0e=e0e!==null?e0e.lastEffect:null,e0e!==null){x_=e0e=e0e.next;do{var r0e=x_;t0e=r0e.next,r0e=r0e.tag,r0e&4&&r0e&1&&(Zi$1($P,x_),$i$1($P,x_)),x_=t0e}while(x_!==e0e)}return;case 1:x_=$P.stateNode,$P.flags&4&&(e0e===null?x_.componentDidMount():(t0e=$P.elementType===$P.type?e0e.memoizedProps:lg$1($P.type,e0e.memoizedProps),x_.componentDidUpdate(t0e,e0e.memoizedState,x_.__reactInternalSnapshotBeforeUpdate))),e0e=$P.updateQueue,e0e!==null&&Eg$1($P,e0e,x_);return;case 3:if(e0e=$P.updateQueue,e0e!==null){if(x_=null,$P.child!==null)switch($P.child.tag){case 5:x_=$P.child.stateNode;break;case 1:x_=$P.child.stateNode}Eg$1($P,e0e,x_)}return;case 5:x_=$P.stateNode,e0e===null&&$P.flags&4&&mf$1($P.type,$P.memoizedProps)&&x_.focus();return;case 6:return;case 4:return;case 12:return;case 13:$P.memoizedState===null&&($P=$P.alternate,$P!==null&&($P=$P.memoizedState,$P!==null&&($P=$P.dehydrated,$P!==null&&Cc$1($P))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(y$2(163))}function aj$1(x_,e0e){for(var $P=x_;;){if($P.tag===5){var t0e=$P.stateNode;if(e0e)t0e=t0e.style,typeof t0e.setProperty=="function"?t0e.setProperty("display","none","important"):t0e.display="none";else{t0e=$P.stateNode;var r0e=$P.memoizedProps.style;r0e=r0e!=null&&r0e.hasOwnProperty("display")?r0e.display:null,t0e.style.display=sb$1("display",r0e)}}else if($P.tag===6)$P.stateNode.nodeValue=e0e?"":$P.memoizedProps;else if(($P.tag!==23&&$P.tag!==24||$P.memoizedState===null||$P===x_)&&$P.child!==null){$P.child.return=$P,$P=$P.child;continue}if($P===x_)break;for(;$P.sibling===null;){if($P.return===null||$P.return===x_)return;$P=$P.return}$P.sibling.return=$P.return,$P=$P.sibling}}function bj$1(x_,e0e){if(Mf$1&&typeof Mf$1.onCommitFiberUnmount=="function")try{Mf$1.onCommitFiberUnmount(Lf$1,e0e)}catch{}switch(e0e.tag){case 0:case 11:case 14:case 15:case 22:if(x_=e0e.updateQueue,x_!==null&&(x_=x_.lastEffect,x_!==null)){var $P=x_=x_.next;do{var t0e=$P,r0e=t0e.destroy;if(t0e=t0e.tag,r0e!==void 0)if(t0e&4)Zi$1(e0e,$P);else{t0e=e0e;try{r0e()}catch(n0e){Wi$1(t0e,n0e)}}$P=$P.next}while($P!==x_)}break;case 1:if(Vi$1(e0e),x_=e0e.stateNode,typeof x_.componentWillUnmount=="function")try{x_.props=e0e.memoizedProps,x_.state=e0e.memoizedState,x_.componentWillUnmount()}catch(n0e){Wi$1(e0e,n0e)}break;case 5:Vi$1(e0e);break;case 4:cj$1(x_,e0e)}}function dj$1(x_){x_.alternate=null,x_.child=null,x_.dependencies=null,x_.firstEffect=null,x_.lastEffect=null,x_.memoizedProps=null,x_.memoizedState=null,x_.pendingProps=null,x_.return=null,x_.updateQueue=null}function ej$1(x_){return x_.tag===5||x_.tag===3||x_.tag===4}function fj$1(x_){e:{for(var e0e=x_.return;e0e!==null;){if(ej$1(e0e))break e;e0e=e0e.return}throw Error(y$2(160))}var $P=e0e;switch(e0e=$P.stateNode,$P.tag){case 5:var t0e=!1;break;case 3:e0e=e0e.containerInfo,t0e=!0;break;case 4:e0e=e0e.containerInfo,t0e=!0;break;default:throw Error(y$2(161))}$P.flags&16&&(pb$1(e0e,""),$P.flags&=-17);e:t:for($P=x_;;){for(;$P.sibling===null;){if($P.return===null||ej$1($P.return)){$P=null;break e}$P=$P.return}for($P.sibling.return=$P.return,$P=$P.sibling;$P.tag!==5&&$P.tag!==6&&$P.tag!==18;){if($P.flags&2||$P.child===null||$P.tag===4)continue t;$P.child.return=$P,$P=$P.child}if(!($P.flags&2)){$P=$P.stateNode;break e}}t0e?gj$1(x_,$P,e0e):hj$1(x_,$P,e0e)}function gj$1(x_,e0e,$P){var t0e=x_.tag,r0e=t0e===5||t0e===6;if(r0e)x_=r0e?x_.stateNode:x_.stateNode.instance,e0e?$P.nodeType===8?$P.parentNode.insertBefore(x_,e0e):$P.insertBefore(x_,e0e):($P.nodeType===8?(e0e=$P.parentNode,e0e.insertBefore(x_,$P)):(e0e=$P,e0e.appendChild(x_)),$P=$P._reactRootContainer,$P!=null||e0e.onclick!==null||(e0e.onclick=jf$1));else if(t0e!==4&&(x_=x_.child,x_!==null))for(gj$1(x_,e0e,$P),x_=x_.sibling;x_!==null;)gj$1(x_,e0e,$P),x_=x_.sibling}function hj$1(x_,e0e,$P){var t0e=x_.tag,r0e=t0e===5||t0e===6;if(r0e)x_=r0e?x_.stateNode:x_.stateNode.instance,e0e?$P.insertBefore(x_,e0e):$P.appendChild(x_);else if(t0e!==4&&(x_=x_.child,x_!==null))for(hj$1(x_,e0e,$P),x_=x_.sibling;x_!==null;)hj$1(x_,e0e,$P),x_=x_.sibling}function cj$1(x_,e0e){for(var $P=e0e,t0e=!1,r0e,n0e;;){if(!t0e){t0e=$P.return;e:for(;;){if(t0e===null)throw Error(y$2(160));switch(r0e=t0e.stateNode,t0e.tag){case 5:n0e=!1;break e;case 3:r0e=r0e.containerInfo,n0e=!0;break e;case 4:r0e=r0e.containerInfo,n0e=!0;break e}t0e=t0e.return}t0e=!0}if($P.tag===5||$P.tag===6){e:for(var a0e=x_,o0e=$P,i0e=o0e;;)if(bj$1(a0e,i0e),i0e.child!==null&&i0e.tag!==4)i0e.child.return=i0e,i0e=i0e.child;else{if(i0e===o0e)break e;for(;i0e.sibling===null;){if(i0e.return===null||i0e.return===o0e)break e;i0e=i0e.return}i0e.sibling.return=i0e.return,i0e=i0e.sibling}n0e?(a0e=r0e,o0e=$P.stateNode,a0e.nodeType===8?a0e.parentNode.removeChild(o0e):a0e.removeChild(o0e)):r0e.removeChild($P.stateNode)}else if($P.tag===4){if($P.child!==null){r0e=$P.stateNode.containerInfo,n0e=!0,$P.child.return=$P,$P=$P.child;continue}}else if(bj$1(x_,$P),$P.child!==null){$P.child.return=$P,$P=$P.child;continue}if($P===e0e)break;for(;$P.sibling===null;){if($P.return===null||$P.return===e0e)return;$P=$P.return,$P.tag===4&&(t0e=!1)}$P.sibling.return=$P.return,$P=$P.sibling}}function ij$1(x_,e0e){switch(e0e.tag){case 0:case 11:case 14:case 15:case 22:var $P=e0e.updateQueue;if($P=$P!==null?$P.lastEffect:null,$P!==null){var t0e=$P=$P.next;do(t0e.tag&3)===3&&(x_=t0e.destroy,t0e.destroy=void 0,x_!==void 0&&x_()),t0e=t0e.next;while(t0e!==$P)}return;case 1:return;case 5:if($P=e0e.stateNode,$P!=null){t0e=e0e.memoizedProps;var r0e=x_!==null?x_.memoizedProps:t0e;x_=e0e.type;var n0e=e0e.updateQueue;if(e0e.updateQueue=null,n0e!==null){for($P[xf$1]=t0e,x_==="input"&&t0e.type==="radio"&&t0e.name!=null&&$a$1($P,t0e),wb$1(x_,r0e),e0e=wb$1(x_,t0e),r0e=0;r0er0e&&(r0e=a0e),$P&=~n0e}if($P=r0e,$P=O$1()-$P,$P=(120>$P?120:480>$P?480:1080>$P?1080:1920>$P?1920:3e3>$P?3e3:4320>$P?4320:1960*nj$1($P/1960))-$P,10<$P){x_.timeoutHandle=of$1(Uj$1.bind(null,x_),$P);break}Uj$1(x_);break;case 5:Uj$1(x_);break;default:throw Error(y$2(329))}}return Mj$1(x_,O$1()),x_.callbackNode===e0e?Nj$1.bind(null,x_):null}function Ii$1(x_,e0e){for(e0e&=~uj$1,e0e&=~Hi$1,x_.suspendedLanes|=e0e,x_.pingedLanes&=~e0e,x_=x_.expirationTimes;0r0e&&(r0e=a0e),$P&=~n0e}if($P=r0e,$P=O$1()-$P,$P=(120>$P?120:480>$P?480:1080>$P?1080:1920>$P?1920:3e3>$P?3e3:4320>$P?4320:1960*nj$1($P/1960))-$P,10<$P){x_.timeoutHandle=of$1(Uj$1.bind(null,x_),$P);break}Uj$1(x_);break;case 5:Uj$1(x_);break;default:throw Error(y$3(329))}}return Mj$1(x_,O$1()),x_.callbackNode===e0e?Nj$1.bind(null,x_):null}function Ii$1(x_,e0e){for(e0e&=~uj$1,e0e&=~Hi$1,x_.suspendedLanes|=e0e,x_.pingedLanes&=~e0e,x_=x_.expirationTimes;0 component higher in the tree to provide a loading indicator or placeholder to display.`)}V$1!==5&&(V$1=2),i0e=Mi$1(i0e,o0e),u0e=a0e;do{switch(u0e.tag){case 3:n0e=i0e,u0e.flags|=4096,e0e&=-e0e,u0e.lanes|=e0e;var y0e=Pi$1(u0e,n0e,e0e);Bg$2(u0e,y0e);break e;case 1:n0e=i0e;var M0e=u0e.type,O0e=u0e.stateNode;if(!(u0e.flags&64)&&(typeof M0e.getDerivedStateFromError=="function"||O0e!==null&&typeof O0e.componentDidCatch=="function"&&(Ti$1===null||!Ti$1.has(O0e)))){u0e.flags|=4096,e0e&=-e0e,u0e.lanes|=e0e;var z0e=Si$1(u0e,n0e,e0e);Bg$2(u0e,z0e);break e}}u0e=u0e.return}while(u0e!==null)}Zj$1($P)}catch(_0e){e0e=_0e,Y$1===$P&&$P!==null&&(Y$1=$P=$P.return);continue}break}while(1)}function Pj$1(){var x_=oj$1.current;return oj$1.current=Gh$1,x_===null?Gh$1:x_}function Tj$1(x_,e0e){var $P=X$1;X$1|=16;var t0e=Pj$1();U$1===x_&&W$1===e0e||Qj$1(x_,e0e);do try{ak$1();break}catch(r0e){Sj$1(x_,r0e)}while(1);if(qg$1(),X$1=$P,oj$1.current=t0e,Y$1!==null)throw Error(y$2(261));return U$1=null,W$1=0,V$1}function ak$1(){for(;Y$1!==null;)bk$1(Y$1)}function Rj$1(){for(;Y$1!==null&&!Qf$1();)bk$1(Y$1)}function bk$1(x_){var e0e=ck$1(x_.alternate,x_,qj$1);x_.memoizedProps=x_.pendingProps,e0e===null?Zj$1(x_):Y$1=e0e,pj$1.current=null}function Zj$1(x_){var e0e=x_;do{var $P=e0e.alternate;if(x_=e0e.return,e0e.flags&2048){if($P=Li$1(e0e),$P!==null){$P.flags&=2047,Y$1=$P;return}x_!==null&&(x_.firstEffect=x_.lastEffect=null,x_.flags|=2048)}else{if($P=Gi$1($P,e0e,qj$1),$P!==null){Y$1=$P;return}if($P=e0e,$P.tag!==24&&$P.tag!==23||$P.memoizedState===null||qj$1&1073741824||!($P.mode&4)){for(var t0e=0,r0e=$P.child;r0e!==null;)t0e|=r0e.lanes|r0e.childLanes,r0e=r0e.sibling;$P.childLanes=t0e}x_!==null&&!(x_.flags&2048)&&(x_.firstEffect===null&&(x_.firstEffect=e0e.firstEffect),e0e.lastEffect!==null&&(x_.lastEffect!==null&&(x_.lastEffect.nextEffect=e0e.firstEffect),x_.lastEffect=e0e.lastEffect),1a0e&&(o0e=a0e,a0e=y0e,y0e=o0e),o0e=Le$1(m0e,y0e),n0e=Le$1(m0e,a0e),o0e&&n0e&&(g0e.rangeCount!==1||g0e.anchorNode!==o0e.node||g0e.anchorOffset!==o0e.offset||g0e.focusNode!==n0e.node||g0e.focusOffset!==n0e.offset)&&(v0e=v0e.createRange(),v0e.setStart(o0e.node,o0e.offset),g0e.removeAllRanges(),y0e>a0e?(g0e.addRange(v0e),g0e.extend(n0e.node,n0e.offset)):(v0e.setEnd(n0e.node,n0e.offset),g0e.addRange(v0e)))))),v0e=[],g0e=m0e;g0e=g0e.parentNode;)g0e.nodeType===1&&v0e.push({element:g0e,left:g0e.scrollLeft,top:g0e.scrollTop});for(typeof m0e.focus=="function"&&m0e.focus(),m0e=0;m0eO$1()-jj$1?Qj$1(x_,0):uj$1|=$P),Mj$1(x_,e0e)}function lj$1(x_,e0e){var $P=x_.stateNode;$P!==null&&$P.delete(e0e),e0e=0,e0e===0&&(e0e=x_.mode,e0e&2?e0e&4?(Gj$1===0&&(Gj$1=tj$1),e0e=Yc$1(62914560&~Gj$1),e0e===0&&(e0e=4194304)):e0e=eg$1()===99?1:2:e0e=1),$P=Hg$1(),x_=Kj$1(x_,e0e),x_!==null&&($c$1(x_,e0e,$P),Mj$1(x_,$P))}var ck$1;ck$1=function(x_,e0e,$P){var t0e=e0e.lanes;if(x_!==null)if(x_.memoizedProps!==e0e.pendingProps||N$1.current)ug$1=!0;else if($P&t0e)ug$1=!!(x_.flags&16384);else{switch(ug$1=!1,e0e.tag){case 3:ri$1(e0e),sh$1();break;case 5:gh$1(e0e);break;case 1:Ff(e0e.type)&&Jf$1(e0e);break;case 4:eh$1(e0e,e0e.stateNode.containerInfo);break;case 10:t0e=e0e.memoizedProps.value;var r0e=e0e.type._context;I$2(mg$1,r0e._currentValue),r0e._currentValue=t0e;break;case 13:if(e0e.memoizedState!==null)return $P&e0e.child.childLanes?ti$1(x_,e0e,$P):(I$2(P$1,P$1.current&1),e0e=hi$1(x_,e0e,$P),e0e!==null?e0e.sibling:null);I$2(P$1,P$1.current&1);break;case 19:if(t0e=($P&e0e.childLanes)!==0,x_.flags&64){if(t0e)return Ai$1(x_,e0e,$P);e0e.flags|=64}if(r0e=e0e.memoizedState,r0e!==null&&(r0e.rendering=null,r0e.tail=null,r0e.lastEffect=null),I$2(P$1,P$1.current),t0e)break;return null;case 23:case 24:return e0e.lanes=0,mi$1(x_,e0e,$P)}return hi$1(x_,e0e,$P)}else ug$1=!1;switch(e0e.lanes=0,e0e.tag){case 2:if(t0e=e0e.type,x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),x_=e0e.pendingProps,r0e=Ef$1(e0e,M$1.current),tg$1(e0e,$P),r0e=Ch$1(null,e0e,t0e,x_,r0e,$P),e0e.flags|=1,typeof r0e=="object"&&r0e!==null&&typeof r0e.render=="function"&&r0e.$$typeof===void 0){if(e0e.tag=1,e0e.memoizedState=null,e0e.updateQueue=null,Ff(t0e)){var n0e=!0;Jf$1(e0e)}else n0e=!1;e0e.memoizedState=r0e.state!==null&&r0e.state!==void 0?r0e.state:null,xg$1(e0e);var a0e=t0e.getDerivedStateFromProps;typeof a0e=="function"&&Gg$1(e0e,t0e,a0e,x_),r0e.updater=Kg$1,e0e.stateNode=r0e,r0e._reactInternals=e0e,Og$1(e0e,t0e,x_,$P),e0e=qi$1(null,e0e,t0e,!0,n0e,$P)}else e0e.tag=0,fi$1(null,e0e,r0e,$P),e0e=e0e.child;return e0e;case 16:r0e=e0e.elementType;e:{switch(x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),x_=e0e.pendingProps,n0e=r0e._init,r0e=n0e(r0e._payload),e0e.type=r0e,n0e=e0e.tag=hk$1(r0e),x_=lg$1(r0e,x_),n0e){case 0:e0e=li$1(null,e0e,r0e,x_,$P);break e;case 1:e0e=pi$1(null,e0e,r0e,x_,$P);break e;case 11:e0e=gi$1(null,e0e,r0e,x_,$P);break e;case 14:e0e=ii$1(null,e0e,r0e,lg$1(r0e.type,x_),t0e,$P);break e}throw Error(y$2(306,r0e,""))}return e0e;case 0:return t0e=e0e.type,r0e=e0e.pendingProps,r0e=e0e.elementType===t0e?r0e:lg$1(t0e,r0e),li$1(x_,e0e,t0e,r0e,$P);case 1:return t0e=e0e.type,r0e=e0e.pendingProps,r0e=e0e.elementType===t0e?r0e:lg$1(t0e,r0e),pi$1(x_,e0e,t0e,r0e,$P);case 3:if(ri$1(e0e),t0e=e0e.updateQueue,x_===null||t0e===null)throw Error(y$2(282));if(t0e=e0e.pendingProps,r0e=e0e.memoizedState,r0e=r0e!==null?r0e.element:null,yg$1(x_,e0e),Cg$1(e0e,t0e,null,$P),t0e=e0e.memoizedState.element,t0e===r0e)sh$1(),e0e=hi$1(x_,e0e,$P);else{if(r0e=e0e.stateNode,(n0e=r0e.hydrate)&&(kh=rf$1(e0e.stateNode.containerInfo.firstChild),jh$1=e0e,n0e=lh$1=!0),n0e){if(x_=r0e.mutableSourceEagerHydrationData,x_!=null)for(r0e=0;r0e"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(x_){console.error(x_)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports),ReactDOM$1=_mergeNamespaces({__proto__:null,default:ReactDOM},[reactDomExports]);function _typeof$3(x_){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e0e){return typeof e0e}:function(e0e){return e0e&&typeof Symbol=="function"&&e0e.constructor===Symbol&&e0e!==Symbol.prototype?"symbol":typeof e0e},_typeof$3(x_)}function _toPrimitive$2(x_,e0e){if(_typeof$3(x_)!=="object"||x_===null)return x_;var $P=x_[Symbol.toPrimitive];if($P!==void 0){var t0e=$P.call(x_,e0e||"default");if(_typeof$3(t0e)!=="object")return t0e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e0e==="string"?String:Number)(x_)}function _toPropertyKey$2(x_){var e0e=_toPrimitive$2(x_,"string");return _typeof$3(e0e)==="symbol"?e0e:String(e0e)}function _defineProperty$6(x_,e0e,$P){return e0e=_toPropertyKey$2(e0e),e0e in x_?Object.defineProperty(x_,e0e,{value:$P,enumerable:!0,configurable:!0,writable:!0}):x_[e0e]=$P,x_}function ownKeys$4(x_,e0e){var $P=Object.keys(x_);if(Object.getOwnPropertySymbols){var t0e=Object.getOwnPropertySymbols(x_);e0e&&(t0e=t0e.filter(function(r0e){return Object.getOwnPropertyDescriptor(x_,r0e).enumerable})),$P.push.apply($P,t0e)}return $P}function _objectSpread2$2(x_){for(var e0e=1;e0e"u"&&($P=e0e,e0e=void 0),typeof $P<"u"){if(typeof $P!="function")throw new Error(formatProdErrorMessage(1));return $P(createStore)(x_,e0e)}if(typeof x_!="function")throw new Error(formatProdErrorMessage(2));var r0e=x_,n0e=e0e,a0e=[],o0e=a0e,i0e=!1;function s0e(){o0e===a0e&&(o0e=a0e.slice())}function l0e(){if(i0e)throw new Error(formatProdErrorMessage(3));return n0e}function c0e(f0e){if(typeof f0e!="function")throw new Error(formatProdErrorMessage(4));if(i0e)throw new Error(formatProdErrorMessage(5));var h0e=!0;return s0e(),o0e.push(f0e),function(){if(h0e){if(i0e)throw new Error(formatProdErrorMessage(6));h0e=!1,s0e();var m0e=o0e.indexOf(f0e);o0e.splice(m0e,1),a0e=null}}}function u0e(f0e){if(!isPlainObject$9(f0e))throw new Error(formatProdErrorMessage(7));if(typeof f0e.type>"u")throw new Error(formatProdErrorMessage(8));if(i0e)throw new Error(formatProdErrorMessage(9));try{i0e=!0,n0e=r0e(n0e,f0e)}finally{i0e=!1}for(var h0e=a0e=o0e,b0e=0;b0e"u")throw new Error(formatProdErrorMessage(12));if(typeof $P(void 0,{type:ActionTypes.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage(13))})}function combineReducers(x_){for(var e0e=Object.keys(x_),$P={},t0e=0;t0e"u")throw s0e&&s0e.type,new Error(formatProdErrorMessage(14));c0e[d0e]=h0e,l0e=l0e||h0e!==f0e}return l0e=l0e||n0e.length!==Object.keys(i0e).length,l0e?c0e:i0e}}function bindActionCreator(x_,e0e){return function(){return e0e(x_.apply(this,arguments))}}function bindActionCreators(x_,e0e){if(typeof x_=="function")return bindActionCreator(x_,e0e);if(typeof x_!="object"||x_===null)throw new Error(formatProdErrorMessage(16));var $P={};for(var t0e in x_){var r0e=x_[t0e];typeof r0e=="function"&&($P[t0e]=bindActionCreator(r0e,e0e))}return $P}function compose$1(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P component higher in the tree to provide a loading indicator or placeholder to display.`)}V$1!==5&&(V$1=2),i0e=Mi$1(i0e,o0e),u0e=a0e;do{switch(u0e.tag){case 3:n0e=i0e,u0e.flags|=4096,e0e&=-e0e,u0e.lanes|=e0e;var y0e=Pi$1(u0e,n0e,e0e);Bg$2(u0e,y0e);break e;case 1:n0e=i0e;var M0e=u0e.type,O0e=u0e.stateNode;if(!(u0e.flags&64)&&(typeof M0e.getDerivedStateFromError=="function"||O0e!==null&&typeof O0e.componentDidCatch=="function"&&(Ti$1===null||!Ti$1.has(O0e)))){u0e.flags|=4096,e0e&=-e0e,u0e.lanes|=e0e;var z0e=Si$1(u0e,n0e,e0e);Bg$2(u0e,z0e);break e}}u0e=u0e.return}while(u0e!==null)}Zj$1($P)}catch(_0e){e0e=_0e,Y$1===$P&&$P!==null&&(Y$1=$P=$P.return);continue}break}while(1)}function Pj$1(){var x_=oj$1.current;return oj$1.current=Gh$1,x_===null?Gh$1:x_}function Tj$1(x_,e0e){var $P=X$1;X$1|=16;var t0e=Pj$1();U$1===x_&&W$1===e0e||Qj$1(x_,e0e);do try{ak$1();break}catch(r0e){Sj$1(x_,r0e)}while(1);if(qg$1(),X$1=$P,oj$1.current=t0e,Y$1!==null)throw Error(y$3(261));return U$1=null,W$1=0,V$1}function ak$1(){for(;Y$1!==null;)bk$1(Y$1)}function Rj$1(){for(;Y$1!==null&&!Qf$1();)bk$1(Y$1)}function bk$1(x_){var e0e=ck$1(x_.alternate,x_,qj$1);x_.memoizedProps=x_.pendingProps,e0e===null?Zj$1(x_):Y$1=e0e,pj$1.current=null}function Zj$1(x_){var e0e=x_;do{var $P=e0e.alternate;if(x_=e0e.return,e0e.flags&2048){if($P=Li$1(e0e),$P!==null){$P.flags&=2047,Y$1=$P;return}x_!==null&&(x_.firstEffect=x_.lastEffect=null,x_.flags|=2048)}else{if($P=Gi$1($P,e0e,qj$1),$P!==null){Y$1=$P;return}if($P=e0e,$P.tag!==24&&$P.tag!==23||$P.memoizedState===null||qj$1&1073741824||!($P.mode&4)){for(var t0e=0,r0e=$P.child;r0e!==null;)t0e|=r0e.lanes|r0e.childLanes,r0e=r0e.sibling;$P.childLanes=t0e}x_!==null&&!(x_.flags&2048)&&(x_.firstEffect===null&&(x_.firstEffect=e0e.firstEffect),e0e.lastEffect!==null&&(x_.lastEffect!==null&&(x_.lastEffect.nextEffect=e0e.firstEffect),x_.lastEffect=e0e.lastEffect),1a0e&&(o0e=a0e,a0e=y0e,y0e=o0e),o0e=Le$1(m0e,y0e),n0e=Le$1(m0e,a0e),o0e&&n0e&&(g0e.rangeCount!==1||g0e.anchorNode!==o0e.node||g0e.anchorOffset!==o0e.offset||g0e.focusNode!==n0e.node||g0e.focusOffset!==n0e.offset)&&(v0e=v0e.createRange(),v0e.setStart(o0e.node,o0e.offset),g0e.removeAllRanges(),y0e>a0e?(g0e.addRange(v0e),g0e.extend(n0e.node,n0e.offset)):(v0e.setEnd(n0e.node,n0e.offset),g0e.addRange(v0e)))))),v0e=[],g0e=m0e;g0e=g0e.parentNode;)g0e.nodeType===1&&v0e.push({element:g0e,left:g0e.scrollLeft,top:g0e.scrollTop});for(typeof m0e.focus=="function"&&m0e.focus(),m0e=0;m0eO$1()-jj$1?Qj$1(x_,0):uj$1|=$P),Mj$1(x_,e0e)}function lj$1(x_,e0e){var $P=x_.stateNode;$P!==null&&$P.delete(e0e),e0e=0,e0e===0&&(e0e=x_.mode,e0e&2?e0e&4?(Gj$1===0&&(Gj$1=tj$1),e0e=Yc$1(62914560&~Gj$1),e0e===0&&(e0e=4194304)):e0e=eg$1()===99?1:2:e0e=1),$P=Hg$1(),x_=Kj$1(x_,e0e),x_!==null&&($c$1(x_,e0e,$P),Mj$1(x_,$P))}var ck$1;ck$1=function(x_,e0e,$P){var t0e=e0e.lanes;if(x_!==null)if(x_.memoizedProps!==e0e.pendingProps||N$1.current)ug$1=!0;else if($P&t0e)ug$1=!!(x_.flags&16384);else{switch(ug$1=!1,e0e.tag){case 3:ri$1(e0e),sh$1();break;case 5:gh$1(e0e);break;case 1:Ff(e0e.type)&&Jf$1(e0e);break;case 4:eh$1(e0e,e0e.stateNode.containerInfo);break;case 10:t0e=e0e.memoizedProps.value;var r0e=e0e.type._context;I$2(mg$1,r0e._currentValue),r0e._currentValue=t0e;break;case 13:if(e0e.memoizedState!==null)return $P&e0e.child.childLanes?ti$1(x_,e0e,$P):(I$2(P$1,P$1.current&1),e0e=hi$1(x_,e0e,$P),e0e!==null?e0e.sibling:null);I$2(P$1,P$1.current&1);break;case 19:if(t0e=($P&e0e.childLanes)!==0,x_.flags&64){if(t0e)return Ai$1(x_,e0e,$P);e0e.flags|=64}if(r0e=e0e.memoizedState,r0e!==null&&(r0e.rendering=null,r0e.tail=null,r0e.lastEffect=null),I$2(P$1,P$1.current),t0e)break;return null;case 23:case 24:return e0e.lanes=0,mi$1(x_,e0e,$P)}return hi$1(x_,e0e,$P)}else ug$1=!1;switch(e0e.lanes=0,e0e.tag){case 2:if(t0e=e0e.type,x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),x_=e0e.pendingProps,r0e=Ef$1(e0e,M$1.current),tg$1(e0e,$P),r0e=Ch$1(null,e0e,t0e,x_,r0e,$P),e0e.flags|=1,typeof r0e=="object"&&r0e!==null&&typeof r0e.render=="function"&&r0e.$$typeof===void 0){if(e0e.tag=1,e0e.memoizedState=null,e0e.updateQueue=null,Ff(t0e)){var n0e=!0;Jf$1(e0e)}else n0e=!1;e0e.memoizedState=r0e.state!==null&&r0e.state!==void 0?r0e.state:null,xg$1(e0e);var a0e=t0e.getDerivedStateFromProps;typeof a0e=="function"&&Gg$1(e0e,t0e,a0e,x_),r0e.updater=Kg$1,e0e.stateNode=r0e,r0e._reactInternals=e0e,Og$1(e0e,t0e,x_,$P),e0e=qi$1(null,e0e,t0e,!0,n0e,$P)}else e0e.tag=0,fi$1(null,e0e,r0e,$P),e0e=e0e.child;return e0e;case 16:r0e=e0e.elementType;e:{switch(x_!==null&&(x_.alternate=null,e0e.alternate=null,e0e.flags|=2),x_=e0e.pendingProps,n0e=r0e._init,r0e=n0e(r0e._payload),e0e.type=r0e,n0e=e0e.tag=hk$1(r0e),x_=lg$1(r0e,x_),n0e){case 0:e0e=li$1(null,e0e,r0e,x_,$P);break e;case 1:e0e=pi$1(null,e0e,r0e,x_,$P);break e;case 11:e0e=gi$1(null,e0e,r0e,x_,$P);break e;case 14:e0e=ii$1(null,e0e,r0e,lg$1(r0e.type,x_),t0e,$P);break e}throw Error(y$3(306,r0e,""))}return e0e;case 0:return t0e=e0e.type,r0e=e0e.pendingProps,r0e=e0e.elementType===t0e?r0e:lg$1(t0e,r0e),li$1(x_,e0e,t0e,r0e,$P);case 1:return t0e=e0e.type,r0e=e0e.pendingProps,r0e=e0e.elementType===t0e?r0e:lg$1(t0e,r0e),pi$1(x_,e0e,t0e,r0e,$P);case 3:if(ri$1(e0e),t0e=e0e.updateQueue,x_===null||t0e===null)throw Error(y$3(282));if(t0e=e0e.pendingProps,r0e=e0e.memoizedState,r0e=r0e!==null?r0e.element:null,yg$1(x_,e0e),Cg$1(e0e,t0e,null,$P),t0e=e0e.memoizedState.element,t0e===r0e)sh$1(),e0e=hi$1(x_,e0e,$P);else{if(r0e=e0e.stateNode,(n0e=r0e.hydrate)&&(kh=rf$1(e0e.stateNode.containerInfo.firstChild),jh$1=e0e,n0e=lh$1=!0),n0e){if(x_=r0e.mutableSourceEagerHydrationData,x_!=null)for(r0e=0;r0e"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(x_){console.error(x_)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports;const ReactDOM=getDefaultExportFromCjs(reactDomExports),ReactDOM$1=_mergeNamespaces({__proto__:null,default:ReactDOM},[reactDomExports]);function _typeof$3(x_){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e0e){return typeof e0e}:function(e0e){return e0e&&typeof Symbol=="function"&&e0e.constructor===Symbol&&e0e!==Symbol.prototype?"symbol":typeof e0e},_typeof$3(x_)}function _toPrimitive$2(x_,e0e){if(_typeof$3(x_)!=="object"||x_===null)return x_;var $P=x_[Symbol.toPrimitive];if($P!==void 0){var t0e=$P.call(x_,e0e||"default");if(_typeof$3(t0e)!=="object")return t0e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e0e==="string"?String:Number)(x_)}function _toPropertyKey$2(x_){var e0e=_toPrimitive$2(x_,"string");return _typeof$3(e0e)==="symbol"?e0e:String(e0e)}function _defineProperty$6(x_,e0e,$P){return e0e=_toPropertyKey$2(e0e),e0e in x_?Object.defineProperty(x_,e0e,{value:$P,enumerable:!0,configurable:!0,writable:!0}):x_[e0e]=$P,x_}function ownKeys$4(x_,e0e){var $P=Object.keys(x_);if(Object.getOwnPropertySymbols){var t0e=Object.getOwnPropertySymbols(x_);e0e&&(t0e=t0e.filter(function(r0e){return Object.getOwnPropertyDescriptor(x_,r0e).enumerable})),$P.push.apply($P,t0e)}return $P}function _objectSpread2$2(x_){for(var e0e=1;e0e"u"&&($P=e0e,e0e=void 0),typeof $P<"u"){if(typeof $P!="function")throw new Error(formatProdErrorMessage(1));return $P(createStore)(x_,e0e)}if(typeof x_!="function")throw new Error(formatProdErrorMessage(2));var r0e=x_,n0e=e0e,a0e=[],o0e=a0e,i0e=!1;function s0e(){o0e===a0e&&(o0e=a0e.slice())}function l0e(){if(i0e)throw new Error(formatProdErrorMessage(3));return n0e}function c0e(f0e){if(typeof f0e!="function")throw new Error(formatProdErrorMessage(4));if(i0e)throw new Error(formatProdErrorMessage(5));var h0e=!0;return s0e(),o0e.push(f0e),function(){if(h0e){if(i0e)throw new Error(formatProdErrorMessage(6));h0e=!1,s0e();var m0e=o0e.indexOf(f0e);o0e.splice(m0e,1),a0e=null}}}function u0e(f0e){if(!isPlainObject$9(f0e))throw new Error(formatProdErrorMessage(7));if(typeof f0e.type>"u")throw new Error(formatProdErrorMessage(8));if(i0e)throw new Error(formatProdErrorMessage(9));try{i0e=!0,n0e=r0e(n0e,f0e)}finally{i0e=!1}for(var h0e=a0e=o0e,b0e=0;b0e"u")throw new Error(formatProdErrorMessage(12));if(typeof $P(void 0,{type:ActionTypes.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(formatProdErrorMessage(13))})}function combineReducers(x_){for(var e0e=Object.keys(x_),$P={},t0e=0;t0e"u")throw s0e&&s0e.type,new Error(formatProdErrorMessage(14));c0e[d0e]=h0e,l0e=l0e||h0e!==f0e}return l0e=l0e||n0e.length!==Object.keys(i0e).length,l0e?c0e:i0e}}function bindActionCreator(x_,e0e){return function(){return e0e(x_.apply(this,arguments))}}function bindActionCreators(x_,e0e){if(typeof x_=="function")return bindActionCreator(x_,e0e);if(typeof x_!="object"||x_===null)throw new Error(formatProdErrorMessage(16));var $P={};for(var t0e in x_){var r0e=x_[t0e];typeof r0e=="function"&&($P[t0e]=bindActionCreator(r0e,e0e))}return $P}function compose$1(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P=0)&&($P[r0e]=x_[r0e]);return $P}var reactIs$1={exports:{}},reactIs_production_min$2={};/** @license React v16.13.1 + */var f$4=reactExports,g$5=60103;reactJsxRuntime_production_min.Fragment=60107;if(typeof Symbol=="function"&&Symbol.for){var h$4=Symbol.for;g$5=h$4("react.element"),reactJsxRuntime_production_min.Fragment=h$4("react.fragment")}var m$4=f$4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n$6=Object.prototype.hasOwnProperty,p$4={key:!0,ref:!0,__self:!0,__source:!0};function q$4(x_,e0e,$P){var t0e,r0e={},n0e=null,a0e=null;$P!==void 0&&(n0e=""+$P),e0e.key!==void 0&&(n0e=""+e0e.key),e0e.ref!==void 0&&(a0e=e0e.ref);for(t0e in e0e)n$6.call(e0e,t0e)&&!p$4.hasOwnProperty(t0e)&&(r0e[t0e]=e0e[t0e]);if(x_&&x_.defaultProps)for(t0e in e0e=x_.defaultProps,e0e)r0e[t0e]===void 0&&(r0e[t0e]=e0e[t0e]);return{$$typeof:g$5,type:x_,key:n0e,ref:a0e,props:r0e,_owner:m$4.current}}reactJsxRuntime_production_min.jsx=q$4;reactJsxRuntime_production_min.jsxs=q$4;jsxRuntime.exports=reactJsxRuntime_production_min;var jsxRuntimeExports=jsxRuntime.exports;const jsx=jsxRuntimeExports.jsx,jsxs=jsxRuntimeExports.jsxs,Fragment=jsxRuntimeExports.Fragment;function Provider(x_){var e0e=x_.store,$P=x_.context,t0e=x_.children,r0e=reactExports.useMemo(function(){var o0e=createSubscription(e0e);return{store:e0e,subscription:o0e}},[e0e]),n0e=reactExports.useMemo(function(){return e0e.getState()},[e0e]);useIsomorphicLayoutEffect$1(function(){var o0e=r0e.subscription;return o0e.onStateChange=o0e.notifyNestedSubs,o0e.trySubscribe(),n0e!==e0e.getState()&&o0e.notifyNestedSubs(),function(){o0e.tryUnsubscribe(),o0e.onStateChange=null}},[r0e,n0e]);var a0e=$P||ReactReduxContext;return jsx(a0e.Provider,{value:r0e,children:t0e})}function _extends$1A(){return _extends$1A=Object.assign?Object.assign.bind():function(x_){for(var e0e=1;e0e=0)&&($P[r0e]=x_[r0e]);return $P}var reactIs$1={exports:{}},reactIs_production_min$2={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var hasRequiredReactIs_production_min;function requireReactIs_production_min(){if(hasRequiredReactIs_production_min)return reactIs_production_min$2;hasRequiredReactIs_production_min=1;var x_=typeof Symbol=="function"&&Symbol.for,e0e=x_?Symbol.for("react.element"):60103,$P=x_?Symbol.for("react.portal"):60106,t0e=x_?Symbol.for("react.fragment"):60107,r0e=x_?Symbol.for("react.strict_mode"):60108,n0e=x_?Symbol.for("react.profiler"):60114,a0e=x_?Symbol.for("react.provider"):60109,o0e=x_?Symbol.for("react.context"):60110,i0e=x_?Symbol.for("react.async_mode"):60111,s0e=x_?Symbol.for("react.concurrent_mode"):60111,l0e=x_?Symbol.for("react.forward_ref"):60112,c0e=x_?Symbol.for("react.suspense"):60113,u0e=x_?Symbol.for("react.suspense_list"):60120,d0e=x_?Symbol.for("react.memo"):60115,p0e=x_?Symbol.for("react.lazy"):60116,f0e=x_?Symbol.for("react.block"):60121,h0e=x_?Symbol.for("react.fundamental"):60117,b0e=x_?Symbol.for("react.responder"):60118,m0e=x_?Symbol.for("react.scope"):60119;function v0e(y0e){if(typeof y0e=="object"&&y0e!==null){var M0e=y0e.$$typeof;switch(M0e){case e0e:switch(y0e=y0e.type,y0e){case i0e:case s0e:case t0e:case n0e:case r0e:case c0e:return y0e;default:switch(y0e=y0e&&y0e.$$typeof,y0e){case o0e:case l0e:case p0e:case d0e:case a0e:return y0e;default:return M0e}}case $P:return M0e}}}function g0e(y0e){return v0e(y0e)===s0e}return reactIs_production_min$2.AsyncMode=i0e,reactIs_production_min$2.ConcurrentMode=s0e,reactIs_production_min$2.ContextConsumer=o0e,reactIs_production_min$2.ContextProvider=a0e,reactIs_production_min$2.Element=e0e,reactIs_production_min$2.ForwardRef=l0e,reactIs_production_min$2.Fragment=t0e,reactIs_production_min$2.Lazy=p0e,reactIs_production_min$2.Memo=d0e,reactIs_production_min$2.Portal=$P,reactIs_production_min$2.Profiler=n0e,reactIs_production_min$2.StrictMode=r0e,reactIs_production_min$2.Suspense=c0e,reactIs_production_min$2.isAsyncMode=function(y0e){return g0e(y0e)||v0e(y0e)===i0e},reactIs_production_min$2.isConcurrentMode=g0e,reactIs_production_min$2.isContextConsumer=function(y0e){return v0e(y0e)===o0e},reactIs_production_min$2.isContextProvider=function(y0e){return v0e(y0e)===a0e},reactIs_production_min$2.isElement=function(y0e){return typeof y0e=="object"&&y0e!==null&&y0e.$$typeof===e0e},reactIs_production_min$2.isForwardRef=function(y0e){return v0e(y0e)===l0e},reactIs_production_min$2.isFragment=function(y0e){return v0e(y0e)===t0e},reactIs_production_min$2.isLazy=function(y0e){return v0e(y0e)===p0e},reactIs_production_min$2.isMemo=function(y0e){return v0e(y0e)===d0e},reactIs_production_min$2.isPortal=function(y0e){return v0e(y0e)===$P},reactIs_production_min$2.isProfiler=function(y0e){return v0e(y0e)===n0e},reactIs_production_min$2.isStrictMode=function(y0e){return v0e(y0e)===r0e},reactIs_production_min$2.isSuspense=function(y0e){return v0e(y0e)===c0e},reactIs_production_min$2.isValidElementType=function(y0e){return typeof y0e=="string"||typeof y0e=="function"||y0e===t0e||y0e===s0e||y0e===n0e||y0e===r0e||y0e===c0e||y0e===u0e||typeof y0e=="object"&&y0e!==null&&(y0e.$$typeof===p0e||y0e.$$typeof===d0e||y0e.$$typeof===a0e||y0e.$$typeof===o0e||y0e.$$typeof===l0e||y0e.$$typeof===h0e||y0e.$$typeof===b0e||y0e.$$typeof===m0e||y0e.$$typeof===f0e)},reactIs_production_min$2.typeOf=v0e,reactIs_production_min$2}var hasRequiredReactIs;function requireReactIs(){return hasRequiredReactIs||(hasRequiredReactIs=1,reactIs$1.exports=requireReactIs_production_min()),reactIs$1.exports}var hoistNonReactStatics_cjs,hasRequiredHoistNonReactStatics_cjs;function requireHoistNonReactStatics_cjs(){if(hasRequiredHoistNonReactStatics_cjs)return hoistNonReactStatics_cjs;hasRequiredHoistNonReactStatics_cjs=1;var x_=requireReactIs(),e0e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$P={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t0e={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r0e={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},n0e={};n0e[x_.ForwardRef]=t0e,n0e[x_.Memo]=r0e;function a0e(p0e){return x_.isMemo(p0e)?r0e:n0e[p0e.$$typeof]||e0e}var o0e=Object.defineProperty,i0e=Object.getOwnPropertyNames,s0e=Object.getOwnPropertySymbols,l0e=Object.getOwnPropertyDescriptor,c0e=Object.getPrototypeOf,u0e=Object.prototype;function d0e(p0e,f0e,h0e){if(typeof f0e!="string"){if(u0e){var b0e=c0e(f0e);b0e&&b0e!==u0e&&d0e(p0e,b0e,h0e)}var m0e=i0e(f0e);s0e&&(m0e=m0e.concat(s0e(f0e)));for(var v0e=a0e(p0e),g0e=a0e(f0e),y0e=0;y0e component higher in the tree to provide a loading The error may be correlated with this previous error: `+o0e.current.stack+` -`),p0e}return useIsomorphicLayoutEffect$1(function(){i0e.current=x_,s0e.current=c0e,l0e.current=u0e,o0e.current=void 0}),useIsomorphicLayoutEffect$1(function(){function p0e(){try{var f0e=$P.getState();if(f0e===s0e.current)return;var h0e=i0e.current(f0e);if(e0e(h0e,l0e.current))return;l0e.current=h0e,s0e.current=f0e}catch(b0e){o0e.current=b0e}n0e()}return a0e.onStateChange=p0e,a0e.trySubscribe(),p0e(),function(){return a0e.tryUnsubscribe()}},[$P,a0e]),u0e}function createSelectorHook(x_){x_===void 0&&(x_=ReactReduxContext);var e0e=x_===ReactReduxContext?useReduxContext:function(){return reactExports.useContext(x_)};return function(t0e,r0e){r0e===void 0&&(r0e=refEquality);var n0e=e0e(),a0e=n0e.store,o0e=n0e.subscription,i0e=useSelectorWithStoreAndSubscription(t0e,r0e,a0e,o0e);return reactExports.useDebugValue(i0e),i0e}}var useSelector=createSelectorHook();setBatch(reactDomExports.unstable_batchedUpdates);function _setPrototypeOf$2(x_,e0e){return _setPrototypeOf$2=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t0e,r0e){return t0e.__proto__=r0e,t0e},_setPrototypeOf$2(x_,e0e)}function _inheritsLoose$1(x_,e0e){x_.prototype=Object.create(e0e.prototype),x_.prototype.constructor=x_,_setPrototypeOf$2(x_,e0e)}function isAbsolute(x_){return x_.charAt(0)==="/"}function spliceOne(x_,e0e){for(var $P=e0e,t0e=$P+1,r0e=x_.length;t0e=0;l0e--){var c0e=t0e[l0e];c0e==="."?spliceOne(t0e,l0e):c0e===".."?(spliceOne(t0e,l0e),s0e++):s0e&&(spliceOne(t0e,l0e),s0e--)}if(!a0e)for(;s0e--;s0e)t0e.unshift("..");a0e&&t0e[0]!==""&&(!t0e[0]||!isAbsolute(t0e[0]))&&t0e.unshift("");var u0e=t0e.join("/");return o0e&&u0e.substr(-1)!=="/"&&(u0e+="/"),u0e}function valueOf$2(x_){return x_.valueOf?x_.valueOf():Object.prototype.valueOf.call(x_)}function valueEqual(x_,e0e){if(x_===e0e)return!0;if(x_==null||e0e==null)return!1;if(Array.isArray(x_))return Array.isArray(e0e)&&x_.length===e0e.length&&x_.every(function(r0e,n0e){return valueEqual(r0e,e0e[n0e])});if(typeof x_=="object"||typeof e0e=="object"){var $P=valueOf$2(x_),t0e=valueOf$2(e0e);return $P!==x_||t0e!==e0e?valueEqual($P,t0e):Object.keys(Object.assign({},x_,e0e)).every(function(r0e){return valueEqual(x_[r0e],e0e[r0e])})}return!1}var isProduction=!0,prefix$2="Invariant failed";function invariant$4(x_,e0e){if(!x_){if(isProduction)throw new Error(prefix$2);var $P=typeof e0e=="function"?e0e():e0e,t0e=$P?"".concat(prefix$2,": ").concat($P):prefix$2;throw new Error(t0e)}}function addLeadingSlash$1(x_){return x_.charAt(0)==="/"?x_:"/"+x_}function stripLeadingSlash(x_){return x_.charAt(0)==="/"?x_.substr(1):x_}function hasBasename(x_,e0e){return x_.toLowerCase().indexOf(e0e.toLowerCase())===0&&"/?#".indexOf(x_.charAt(e0e.length))!==-1}function stripBasename$1(x_,e0e){return hasBasename(x_,e0e)?x_.substr(e0e.length):x_}function stripTrailingSlash(x_){return x_.charAt(x_.length-1)==="/"?x_.slice(0,-1):x_}function parsePath$1(x_){var e0e=x_||"/",$P="",t0e="",r0e=e0e.indexOf("#");r0e!==-1&&(t0e=e0e.substr(r0e),e0e=e0e.substr(0,r0e));var n0e=e0e.indexOf("?");return n0e!==-1&&($P=e0e.substr(n0e),e0e=e0e.substr(0,n0e)),{pathname:e0e,search:$P==="?"?"":$P,hash:t0e==="#"?"":t0e}}function createPath(x_){var e0e=x_.pathname,$P=x_.search,t0e=x_.hash,r0e=e0e||"/";return $P&&$P!=="?"&&(r0e+=$P.charAt(0)==="?"?$P:"?"+$P),t0e&&t0e!=="#"&&(r0e+=t0e.charAt(0)==="#"?t0e:"#"+t0e),r0e}function createLocation(x_,e0e,$P,t0e){var r0e;typeof x_=="string"?(r0e=parsePath$1(x_),r0e.state=e0e):(r0e=_extends$1A({},x_),r0e.pathname===void 0&&(r0e.pathname=""),r0e.search?r0e.search.charAt(0)!=="?"&&(r0e.search="?"+r0e.search):r0e.search="",r0e.hash?r0e.hash.charAt(0)!=="#"&&(r0e.hash="#"+r0e.hash):r0e.hash="",e0e!==void 0&&r0e.state===void 0&&(r0e.state=e0e));try{r0e.pathname=decodeURI(r0e.pathname)}catch(n0e){throw n0e instanceof URIError?new URIError('Pathname "'+r0e.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):n0e}return $P&&(r0e.key=$P),t0e?r0e.pathname?r0e.pathname.charAt(0)!=="/"&&(r0e.pathname=resolvePathname(r0e.pathname,t0e.pathname)):r0e.pathname=t0e.pathname:r0e.pathname||(r0e.pathname="/"),r0e}function locationsAreEqual(x_,e0e){return x_.pathname===e0e.pathname&&x_.search===e0e.search&&x_.hash===e0e.hash&&x_.key===e0e.key&&valueEqual(x_.state,e0e.state)}function createTransitionManager(){var x_=null;function e0e(a0e){return x_=a0e,function(){x_===a0e&&(x_=null)}}function $P(a0e,o0e,i0e,s0e){if(x_!=null){var l0e=typeof x_=="function"?x_(a0e,o0e):x_;typeof l0e=="string"?typeof i0e=="function"?i0e(l0e,s0e):s0e(!0):s0e(l0e!==!1)}else s0e(!0)}var t0e=[];function r0e(a0e){var o0e=!0;function i0e(){o0e&&a0e.apply(void 0,arguments)}return t0e.push(i0e),function(){o0e=!1,t0e=t0e.filter(function(s0e){return s0e!==i0e})}}function n0e(){for(var a0e=arguments.length,o0e=new Array(a0e),i0e=0;i0eE0e?w0e.splice(E0e,w0e.length-E0e,$0e):w0e.push($0e),l0e({action:A0e,location:$0e,index:E0e,entries:w0e})}})}function h0e(z0e,_0e){var A0e="REPLACE",$0e=createLocation(z0e,_0e,c0e(),O0e.location);s0e.confirmTransitionTo($0e,A0e,$P,function(S0e){S0e&&(O0e.entries[O0e.index]=$0e,l0e({action:A0e,location:$0e}))})}function b0e(z0e){var _0e=clamp(O0e.index+z0e,0,O0e.entries.length-1),A0e="POP",$0e=O0e.entries[_0e];s0e.confirmTransitionTo($0e,A0e,$P,function(S0e){S0e?l0e({action:A0e,location:$0e,index:_0e}):l0e()})}function m0e(){b0e(-1)}function v0e(){b0e(1)}function g0e(z0e){var _0e=O0e.index+z0e;return _0e>=0&&_0e"u"&&(forwardRef=forwardRefShim);function isModifiedEvent$1(x_){return!!(x_.metaKey||x_.altKey||x_.ctrlKey||x_.shiftKey)}var LinkAnchor=forwardRef(function(x_,e0e){var $P=x_.innerRef,t0e=x_.navigate,r0e=x_.onClick,n0e=_objectWithoutPropertiesLoose$3(x_,["innerRef","navigate","onClick"]),a0e=n0e.target,o0e=_extends$1A({},n0e,{onClick:function(s0e){try{r0e&&r0e(s0e)}catch(l0e){throw s0e.preventDefault(),l0e}!s0e.defaultPrevented&&s0e.button===0&&(!a0e||a0e==="_self")&&!isModifiedEvent$1(s0e)&&(s0e.preventDefault(),t0e())}});return forwardRefShim!==forwardRef?o0e.ref=e0e||$P:o0e.ref=$P,React$1.createElement("a",o0e)}),Link$2=forwardRef(function(x_,e0e){var $P=x_.component,t0e=$P===void 0?LinkAnchor:$P,r0e=x_.replace,n0e=x_.to,a0e=x_.innerRef,o0e=_objectWithoutPropertiesLoose$3(x_,["component","replace","to","innerRef"]);return React$1.createElement(context.Consumer,null,function(i0e){i0e||invariant$4(!1);var s0e=i0e.history,l0e=normalizeToLocation(resolveToLocation(n0e,i0e.location),i0e.location),c0e=l0e?s0e.createHref(l0e):"",u0e=_extends$1A({},o0e,{href:c0e,navigate:function(){var p0e=resolveToLocation(n0e,i0e.location),f0e=createPath(i0e.location)===createPath(normalizeToLocation(p0e)),h0e=r0e||f0e?s0e.replace:s0e.push;h0e(p0e)}});return forwardRefShim!==forwardRef?u0e.ref=e0e||a0e:u0e.innerRef=a0e,React$1.createElement(t0e,u0e)})}),forwardRefShim$1=function(e0e){return e0e},forwardRef$1=React$1.forwardRef;typeof forwardRef$1>"u"&&(forwardRef$1=forwardRefShim$1);function joinClassnames(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$PsetTimeout(()=>{var x_;return(x_=document.getElementById("app-loader"))==null?void 0:x_.remove()},500),registerGlobalFunction=(x_,e0e)=>{window.$owl={...window.$owl,[x_]:e0e}},arrayGet=(x_,e0e,$P=null)=>{try{if(e0e===null)return x_;if(x_[e0e]!==void 0)return x_[e0e];for(const t0e of e0e.split("."))if(x_[t0e]!==void 0)x_=x_[t0e];else return $P}catch{return $P}return x_},mergeObject=(x_,e0e)=>{for(const $P in e0e)if(e0e.hasOwnProperty($P)){const t0e=e0e[$P],r0e=x_[$P];if(t0e===null)continue;isObject$p(t0e)&&isObject$p(r0e)?x_[$P]=mergeObject(r0e,t0e):x_[$P]=t0e}return x_},isArray$s=x_=>Object.prototype.toString.call(x_)==="[object Array]",isObject$p=x_=>Object.prototype.toString.call(x_)==="[object Object]",isString$9=x_=>Object.prototype.toString.call(x_)==="[object String]",isSSR=function(){try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}}(),getCacheKey=x_=>window.$adminApiPrefix.replace(/^\//,"")+"-"+x_,Token=()=>{const x_=getCacheKey("token");return{value:localStorage.getItem(x_),set:e0e=>localStorage.setItem(x_,e0e),clear:()=>localStorage.removeItem(x_)}},inLoginPage=()=>window.location.hash=="#/login",goToLoginPage=()=>window.location.hash="#/login",msgHandler=(x_,e0e)=>{const $P="owl-msg-"+x_;if(!localStorage.getItem($P)){localStorage.setItem($P,x_),setTimeout(()=>{localStorage.removeItem($P)},5e3);try{e0e().then(()=>{localStorage.removeItem($P)})}catch{localStorage.removeItem($P)}}},clearMsgSign=()=>{Object.keys(localStorage).forEach(e0e=>{e0e.startsWith("owl-msg-")&&localStorage.removeItem(e0e)})},defaultSettings={darkTheme:!1,footer:!1,breadcrumb:!0,themeColor:"#1677ff",layoutMode:"default",siderTheme:"light",topTheme:"light",animateInType:"alpha",animateInDuration:600,animateOutType:"alpha",animateOutDuration:600,loginTemplate:"default",keepAlive:!1,enableTab:!1,tabIcon:!0},defaultToken={token:{borderRadius:4,wireframe:!0,colorSplit:"var(--color-border)"},components:{Menu:{iconSize:18,collapsedIconSize:18,itemMarginInline:8,subMenuItemBg:"transparent"}}},initialState$1={settings:{system_theme_setting:defaultSettings},userInfo:{},routes:[],userLoading:!1,inited:!1,openSetting:!1,antdToken:defaultToken};function store$3(x_=initialState$1,e0e){switch(e0e.type){case"update-userInfo":{const{userInfo:$P=initialState$1.userInfo,userLoading:t0e}=e0e.payload;return $P!=null&&$P.name&&localStorage.setItem(getCacheKey("user_name"),($P==null?void 0:$P.name)||""),{...x_,userLoading:t0e,userInfo:$P}}case"update-breadcrumb":{const{breadcrumb:$P}=e0e.payload;return{...x_,breadcrumb:$P}}case"update-settings":{const{settings:$P}=e0e.payload,t0e=JSON.parse(JSON.stringify(mergeObject(x_.settings,$P)));return localStorage.setItem(getCacheKey("settings"),JSON.stringify(t0e)),{...x_,settings:t0e}}case"update-routes":{const{routes:$P}=e0e.payload;return{...x_,routes:$P}}case"update-inited":{const{inited:$P}=e0e.payload;return{...x_,inited:$P}}case"update-open-setting":{const{openSetting:$P}=e0e.payload;return{...x_,openSetting:$P}}case"update-antd-token":{const{antdToken:$P}=e0e.payload;return{...x_,antdToken:$P}}default:return x_}}const GlobalContext=reactExports.createContext({});var createUpdateEffect=function(x_){return function(e0e,$P){var t0e=reactExports.useRef(!1);x_(function(){return function(){t0e.current=!1}},[]),x_(function(){if(!t0e.current)t0e.current=!0;else return e0e()},$P)}},extendStatics$2=function(x_,e0e){return extendStatics$2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($P,t0e){$P.__proto__=t0e}||function($P,t0e){for(var r0e in t0e)Object.prototype.hasOwnProperty.call(t0e,r0e)&&($P[r0e]=t0e[r0e])},extendStatics$2(x_,e0e)};function __extends$2(x_,e0e){if(typeof e0e!="function"&&e0e!==null)throw new TypeError("Class extends value "+String(e0e)+" is not a constructor or null");extendStatics$2(x_,e0e);function $P(){this.constructor=x_}x_.prototype=e0e===null?Object.create(e0e):($P.prototype=e0e.prototype,new $P)}var __assign$3=function(){return __assign$3=Object.assign||function(e0e){for(var $P,t0e=1,r0e=arguments.length;t0e=0;o0e--)(a0e=x_[o0e])&&(n0e=(r0e<3?a0e(n0e):r0e>3?a0e(e0e,$P,n0e):a0e(e0e,$P))||n0e);return r0e>3&&n0e&&Object.defineProperty(e0e,$P,n0e),n0e}function __metadata(x_,e0e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(x_,e0e)}function __awaiter(x_,e0e,$P,t0e){function r0e(n0e){return n0e instanceof $P?n0e:new $P(function(a0e){a0e(n0e)})}return new($P||($P=Promise))(function(n0e,a0e){function o0e(l0e){try{s0e(t0e.next(l0e))}catch(c0e){a0e(c0e)}}function i0e(l0e){try{s0e(t0e.throw(l0e))}catch(c0e){a0e(c0e)}}function s0e(l0e){l0e.done?n0e(l0e.value):r0e(l0e.value).then(o0e,i0e)}s0e((t0e=t0e.apply(x_,e0e||[])).next())})}function __generator(x_,e0e){var $P={label:0,sent:function(){if(n0e[0]&1)throw n0e[1];return n0e[1]},trys:[],ops:[]},t0e,r0e,n0e,a0e;return a0e={next:o0e(0),throw:o0e(1),return:o0e(2)},typeof Symbol=="function"&&(a0e[Symbol.iterator]=function(){return this}),a0e;function o0e(s0e){return function(l0e){return i0e([s0e,l0e])}}function i0e(s0e){if(t0e)throw new TypeError("Generator is already executing.");for(;a0e&&(a0e=0,s0e[0]&&($P=0)),$P;)try{if(t0e=1,r0e&&(n0e=s0e[0]&2?r0e.return:s0e[0]?r0e.throw||((n0e=r0e.return)&&n0e.call(r0e),0):r0e.next)&&!(n0e=n0e.call(r0e,s0e[1])).done)return n0e;switch(r0e=0,n0e&&(s0e=[s0e[0]&2,n0e.value]),s0e[0]){case 0:case 1:n0e=s0e;break;case 4:return $P.label++,{value:s0e[1],done:!1};case 5:$P.label++,r0e=s0e[1],s0e=[0];continue;case 7:s0e=$P.ops.pop(),$P.trys.pop();continue;default:if(n0e=$P.trys,!(n0e=n0e.length>0&&n0e[n0e.length-1])&&(s0e[0]===6||s0e[0]===2)){$P=0;continue}if(s0e[0]===3&&(!n0e||s0e[1]>n0e[0]&&s0e[1]=x_.length&&(x_=void 0),{value:x_&&x_[t0e++],done:!x_}}};throw new TypeError(e0e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read$3(x_,e0e){var $P=typeof Symbol=="function"&&x_[Symbol.iterator];if(!$P)return x_;var t0e=$P.call(x_),r0e,n0e=[],a0e;try{for(;(e0e===void 0||e0e-- >0)&&!(r0e=t0e.next()).done;)n0e.push(r0e.value)}catch(o0e){a0e={error:o0e}}finally{try{r0e&&!r0e.done&&($P=t0e.return)&&$P.call(t0e)}finally{if(a0e)throw a0e.error}}return n0e}function __spread$2(){for(var x_=[],e0e=0;e0e-1&&(r0e=setTimeout(function(){cache$4.delete(x_)},e0e)),cache$4.set(x_,__assign$3(__assign$3({},$P),{timer:r0e}))},getCache=function(x_){return cache$4.get(x_)},cachePromise=new Map,getCachePromise=function(x_){return cachePromise.get(x_)},setCachePromise=function(x_,e0e){cachePromise.set(x_,e0e),e0e.then(function($P){return cachePromise.delete(x_),$P}).catch(function(){cachePromise.delete(x_)})},listeners$2={},trigger$1=function(x_,e0e){listeners$2[x_]&&listeners$2[x_].forEach(function($P){return $P(e0e)})},subscribe$2=function(x_,e0e){return listeners$2[x_]||(listeners$2[x_]=[]),listeners$2[x_].push(e0e),function(){var t0e=listeners$2[x_].indexOf(e0e);listeners$2[x_].splice(t0e,1)}},useCachePlugin=function(x_,e0e){var $P=e0e.cacheKey,t0e=e0e.cacheTime,r0e=t0e===void 0?5*60*1e3:t0e,n0e=e0e.staleTime,a0e=n0e===void 0?0:n0e,o0e=e0e.setCache,i0e=e0e.getCache,s0e=reactExports.useRef(),l0e=reactExports.useRef(),c0e=function(d0e,p0e){o0e?o0e(p0e):setCache(d0e,r0e,p0e),trigger$1(d0e,p0e.data)},u0e=function(d0e,p0e){return p0e===void 0&&(p0e=[]),i0e?i0e(p0e):getCache(d0e)};return useCreation(function(){if($P){var d0e=u0e($P);d0e&&Object.hasOwnProperty.call(d0e,"data")&&(x_.state.data=d0e.data,x_.state.params=d0e.params,(a0e===-1||new Date().getTime()-d0e.time<=a0e)&&(x_.state.loading=!1)),s0e.current=subscribe$2($P,function(p0e){x_.setState({data:p0e})})}},[]),useUnmount$1(function(){var d0e;(d0e=s0e.current)===null||d0e===void 0||d0e.call(s0e)}),$P?{onBefore:function(d0e){var p0e=u0e($P,d0e);return!p0e||!Object.hasOwnProperty.call(p0e,"data")?{}:a0e===-1||new Date().getTime()-p0e.time<=a0e?{loading:!1,data:p0e==null?void 0:p0e.data,error:void 0,returnNow:!0}:{data:p0e==null?void 0:p0e.data,error:void 0}},onRequest:function(d0e,p0e){var f0e=getCachePromise($P);return f0e&&f0e!==l0e.current?{servicePromise:f0e}:(f0e=d0e.apply(void 0,__spreadArray([],__read$3(p0e),!1)),l0e.current=f0e,setCachePromise($P,f0e),{servicePromise:f0e})},onSuccess:function(d0e,p0e){var f0e;$P&&((f0e=s0e.current)===null||f0e===void 0||f0e.call(s0e),c0e($P,{data:d0e,params:p0e,time:new Date().getTime()}),s0e.current=subscribe$2($P,function(h0e){x_.setState({data:h0e})}))},onMutate:function(d0e){var p0e;$P&&((p0e=s0e.current)===null||p0e===void 0||p0e.call(s0e),c0e($P,{data:d0e,params:x_.state.params,time:new Date().getTime()}),s0e.current=subscribe$2($P,function(f0e){x_.setState({data:f0e})}))}}:{}};const useCachePlugin$1=useCachePlugin;function isObject$n(x_){var e0e=typeof x_;return x_!=null&&(e0e=="object"||e0e=="function")}var isObject_1=isObject$n;const isObject$o=getDefaultExportFromCjs(isObject_1);var freeGlobal$1=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$a=freeGlobal||freeSelf||Function("return this")(),_root=root$a,root$9=_root,now$3=function(){return root$9.Date.now()},now_1=now$3,reWhitespace=/\s/;function trimmedEndIndex$1(x_){for(var e0e=x_.length;e0e--&&reWhitespace.test(x_.charAt(e0e)););return e0e}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(x_){return x_&&x_.slice(0,trimmedEndIndex(x_)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,root$8=_root,Symbol$7=root$8.Symbol,_Symbol=Symbol$7,Symbol$6=_Symbol,objectProto$l=Object.prototype,hasOwnProperty$j=objectProto$l.hasOwnProperty,nativeObjectToString$1=objectProto$l.toString,symToStringTag$1=Symbol$6?Symbol$6.toStringTag:void 0;function getRawTag$1(x_){var e0e=hasOwnProperty$j.call(x_,symToStringTag$1),$P=x_[symToStringTag$1];try{x_[symToStringTag$1]=void 0;var t0e=!0}catch{}var r0e=nativeObjectToString$1.call(x_);return t0e&&(e0e?x_[symToStringTag$1]=$P:delete x_[symToStringTag$1]),r0e}var _getRawTag=getRawTag$1,objectProto$k=Object.prototype,nativeObjectToString=objectProto$k.toString;function objectToString$1(x_){return nativeObjectToString.call(x_)}var _objectToString=objectToString$1,Symbol$5=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$5?Symbol$5.toStringTag:void 0;function baseGetTag$a(x_){return x_==null?x_===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(x_)?getRawTag(x_):objectToString(x_)}var _baseGetTag=baseGetTag$a;function isObjectLike$e(x_){return x_!=null&&typeof x_=="object"}var isObjectLike_1=isObjectLike$e;const isObjectLike$f=getDefaultExportFromCjs(isObjectLike_1);var baseGetTag$9=_baseGetTag,isObjectLike$d=isObjectLike_1,symbolTag$3="[object Symbol]";function isSymbol$5(x_){return typeof x_=="symbol"||isObjectLike$d(x_)&&baseGetTag$9(x_)==symbolTag$3}var isSymbol_1=isSymbol$5,baseTrim=_baseTrim,isObject$m=isObject_1,isSymbol$4=isSymbol_1,NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$4(x_){if(typeof x_=="number")return x_;if(isSymbol$4(x_))return NAN;if(isObject$m(x_)){var e0e=typeof x_.valueOf=="function"?x_.valueOf():x_;x_=isObject$m(e0e)?e0e+"":e0e}if(typeof x_!="string")return x_===0?x_:+x_;x_=baseTrim(x_);var $P=reIsBinary.test(x_);return $P||reIsOctal.test(x_)?freeParseInt(x_.slice(2),$P?2:8):reIsBadHex.test(x_)?NAN:+x_}var toNumber_1=toNumber$4,isObject$l=isObject_1,now$2=now_1,toNumber$3=toNumber_1,FUNC_ERROR_TEXT$3="Expected a function",nativeMax$7=Math.max,nativeMin$4=Math.min;function debounce$4(x_,e0e,$P){var t0e,r0e,n0e,a0e,o0e,i0e,s0e=0,l0e=!1,c0e=!1,u0e=!0;if(typeof x_!="function")throw new TypeError(FUNC_ERROR_TEXT$3);e0e=toNumber$3(e0e)||0,isObject$l($P)&&(l0e=!!$P.leading,c0e="maxWait"in $P,n0e=c0e?nativeMax$7(toNumber$3($P.maxWait)||0,e0e):n0e,u0e="trailing"in $P?!!$P.trailing:u0e);function d0e(M0e){var O0e=t0e,z0e=r0e;return t0e=r0e=void 0,s0e=M0e,a0e=x_.apply(z0e,O0e),a0e}function p0e(M0e){return s0e=M0e,o0e=setTimeout(b0e,e0e),l0e?d0e(M0e):a0e}function f0e(M0e){var O0e=M0e-i0e,z0e=M0e-s0e,_0e=e0e-O0e;return c0e?nativeMin$4(_0e,n0e-z0e):_0e}function h0e(M0e){var O0e=M0e-i0e,z0e=M0e-s0e;return i0e===void 0||O0e>=e0e||O0e<0||c0e&&z0e>=n0e}function b0e(){var M0e=now$2();if(h0e(M0e))return m0e(M0e);o0e=setTimeout(b0e,f0e(M0e))}function m0e(M0e){return o0e=void 0,u0e&&t0e?d0e(M0e):(t0e=r0e=void 0,a0e)}function v0e(){o0e!==void 0&&clearTimeout(o0e),s0e=0,t0e=i0e=r0e=o0e=void 0}function g0e(){return o0e===void 0?a0e:m0e(now$2())}function y0e(){var M0e=now$2(),O0e=h0e(M0e);if(t0e=arguments,r0e=this,i0e=M0e,O0e){if(o0e===void 0)return p0e(i0e);if(c0e)return clearTimeout(o0e),o0e=setTimeout(b0e,e0e),d0e(i0e)}return o0e===void 0&&(o0e=setTimeout(b0e,e0e)),a0e}return y0e.cancel=v0e,y0e.flush=g0e,y0e}var debounce_1=debounce$4;const debounce$5=getDefaultExportFromCjs(debounce_1);var useDebouncePlugin=function(x_,e0e){var $P=e0e.debounceWait,t0e=e0e.debounceLeading,r0e=e0e.debounceTrailing,n0e=e0e.debounceMaxWait,a0e=reactExports.useRef(),o0e=reactExports.useMemo(function(){var i0e={};return t0e!==void 0&&(i0e.leading=t0e),r0e!==void 0&&(i0e.trailing=r0e),n0e!==void 0&&(i0e.maxWait=n0e),i0e},[t0e,r0e,n0e]);return reactExports.useEffect(function(){if($P){var i0e=x_.runAsync.bind(x_);return a0e.current=debounce$5(function(s0e){s0e()},$P,o0e),x_.runAsync=function(){for(var s0e=[],l0e=0;l0e-1&&listeners.splice($P,1)}}if(isBrowser$2){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var x_=0;x_-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(x_,e0e){var $P=this.__data__,t0e=assocIndexOf($P,x_);return t0e<0?(++this.size,$P.push([x_,e0e])):$P[t0e][1]=e0e,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype.delete=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4,ListCache$3=_ListCache;function stackClear$1(){this.__data__=new ListCache$3,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(x_){var e0e=this.__data__,$P=e0e.delete(x_);return this.size=e0e.size,$P}var _stackDelete=stackDelete$1;function stackGet$1(x_){return this.__data__.get(x_)}var _stackGet=stackGet$1;function stackHas$1(x_){return this.__data__.has(x_)}var _stackHas=stackHas$1,baseGetTag$8=_baseGetTag,isObject$j=isObject_1,asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$9(x_){if(!isObject$j(x_))return!1;var e0e=baseGetTag$8(x_);return e0e==funcTag$2||e0e==genTag$1||e0e==asyncTag||e0e==proxyTag}var isFunction_1=isFunction$9;const isFunction$a=getDefaultExportFromCjs(isFunction_1);var root$7=_root,coreJsData$1=root$7["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var x_=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return x_?"Symbol(src)_1."+x_:""}();function isMasked$1(x_){return!!maskSrcKey&&maskSrcKey in x_}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(x_){if(x_!=null){try{return funcToString$2.call(x_)}catch{}try{return x_+""}catch{}}return""}var _toSource=toSource$2,isFunction$8=isFunction_1,isMasked=_isMasked,isObject$i=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$j=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$i=objectProto$j.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$i).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(x_){if(!isObject$i(x_)||isMasked(x_))return!1;var e0e=isFunction$8(x_)?reIsNative:reIsHostCtor;return e0e.test(toSource$1(x_))}var _baseIsNative=baseIsNative$1;function getValue$4(x_,e0e){return x_==null?void 0:x_[e0e]}var _getValue=getValue$4,baseIsNative=_baseIsNative,getValue$3=_getValue;function getNative$7(x_,e0e){var $P=getValue$3(x_,e0e);return baseIsNative($P)?$P:void 0}var _getNative=getNative$7,getNative$6=_getNative,root$6=_root,Map$4=getNative$6(root$6,"Map"),_Map=Map$4,getNative$5=_getNative,nativeCreate$4=getNative$5(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(x_){var e0e=this.has(x_)&&delete this.__data__[x_];return this.size-=e0e?1:0,e0e}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$i=Object.prototype,hasOwnProperty$h=objectProto$i.hasOwnProperty;function hashGet$1(x_){var e0e=this.__data__;if(nativeCreate$2){var $P=e0e[x_];return $P===HASH_UNDEFINED$2?void 0:$P}return hasOwnProperty$h.call(e0e,x_)?e0e[x_]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$h=Object.prototype,hasOwnProperty$g=objectProto$h.hasOwnProperty;function hashHas$1(x_){var e0e=this.__data__;return nativeCreate$1?e0e[x_]!==void 0:hasOwnProperty$g.call(e0e,x_)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(x_,e0e){var $P=this.__data__;return this.size+=this.has(x_)?0:1,$P[x_]=nativeCreate&&e0e===void 0?HASH_UNDEFINED$1:e0e,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1,Hash=_Hash,ListCache$2=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$2),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(x_){var e0e=typeof x_;return e0e=="string"||e0e=="number"||e0e=="symbol"||e0e=="boolean"?x_!=="__proto__":x_===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(x_,e0e){var $P=x_.__data__;return isKeyable(e0e)?$P[typeof e0e=="string"?"string":"hash"]:$P.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(x_){var e0e=getMapData$3(this,x_).delete(x_);return this.size-=e0e?1:0,e0e}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(x_){return getMapData$2(this,x_).get(x_)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(x_){return getMapData$1(this,x_).has(x_)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(x_,e0e){var $P=getMapData(this,x_),t0e=$P.size;return $P.set(x_,e0e),this.size+=$P.size==t0e?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$3(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}MapCache$3.prototype.clear=mapCacheClear;MapCache$3.prototype.delete=mapCacheDelete;MapCache$3.prototype.get=mapCacheGet;MapCache$3.prototype.has=mapCacheHas;MapCache$3.prototype.set=mapCacheSet;var _MapCache=MapCache$3,ListCache$1=_ListCache,Map$2=_Map,MapCache$2=_MapCache,LARGE_ARRAY_SIZE$2=200;function stackSet$1(x_,e0e){var $P=this.__data__;if($P instanceof ListCache$1){var t0e=$P.__data__;if(!Map$2||t0e.lengtho0e))return!1;var s0e=n0e.get(x_),l0e=n0e.get(e0e);if(s0e&&l0e)return s0e==e0e&&l0e==x_;var c0e=-1,u0e=!0,d0e=$P&COMPARE_UNORDERED_FLAG$3?new SetCache$3:void 0;for(n0e.set(x_,e0e),n0e.set(e0e,x_);++c0e-1&&x_%1==0&&x_-1&&x_%1==0&&x_<=MAX_SAFE_INTEGER$2}var isLength_1=isLength$3,baseGetTag$6=_baseGetTag,isLength$2=isLength_1,isObjectLike$a=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$6="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(x_){return isObjectLike$a(x_)&&isLength$2(x_.length)&&!!typedArrayTags[baseGetTag$6(x_)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$7(x_){return function(e0e){return x_(e0e)}}var _baseUnary=baseUnary$7,_nodeUtil={exports:{}};_nodeUtil.exports;(function(x_,e0e){var $P=_freeGlobal,t0e=e0e&&!e0e.nodeType&&e0e,r0e=t0e&&!0&&x_&&!x_.nodeType&&x_,n0e=r0e&&r0e.exports===t0e,a0e=n0e&&$P.process,o0e=function(){try{var i0e=r0e&&r0e.require&&r0e.require("util").types;return i0e||a0e&&a0e.binding&&a0e.binding("util")}catch{}}();x_.exports=o0e})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$6=_baseUnary,nodeUtil$3=_nodeUtilExports,nodeIsTypedArray=nodeUtil$3&&nodeUtil$3.isTypedArray,isTypedArray$5=nodeIsTypedArray?baseUnary$6(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$5,baseTimes$1=_baseTimes,isArguments$4=isArguments_1,isArray$o=isArray_1,isBuffer$7=isBufferExports,isIndex$3=_isIndex,isTypedArray$4=isTypedArray_1,objectProto$e=Object.prototype,hasOwnProperty$e=objectProto$e.hasOwnProperty;function arrayLikeKeys$2(x_,e0e){var $P=isArray$o(x_),t0e=!$P&&isArguments$4(x_),r0e=!$P&&!t0e&&isBuffer$7(x_),n0e=!$P&&!t0e&&!r0e&&isTypedArray$4(x_),a0e=$P||t0e||r0e||n0e,o0e=a0e?baseTimes$1(x_.length,String):[],i0e=o0e.length;for(var s0e in x_)(e0e||hasOwnProperty$e.call(x_,s0e))&&!(a0e&&(s0e=="length"||r0e&&(s0e=="offset"||s0e=="parent")||n0e&&(s0e=="buffer"||s0e=="byteLength"||s0e=="byteOffset")||isIndex$3(s0e,i0e)))&&o0e.push(s0e);return o0e}var _arrayLikeKeys=arrayLikeKeys$2,objectProto$d=Object.prototype;function isPrototype$5(x_){var e0e=x_&&x_.constructor,$P=typeof e0e=="function"&&e0e.prototype||objectProto$d;return x_===$P}var _isPrototype=isPrototype$5;function overArg$2(x_,e0e){return function($P){return x_(e0e($P))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$4=_isPrototype,nativeKeys=_nativeKeys,objectProto$c=Object.prototype,hasOwnProperty$d=objectProto$c.hasOwnProperty;function baseKeys$2(x_){if(!isPrototype$4(x_))return nativeKeys(x_);var e0e=[];for(var $P in Object(x_))hasOwnProperty$d.call(x_,$P)&&$P!="constructor"&&e0e.push($P);return e0e}var _baseKeys=baseKeys$2,isFunction$7=isFunction_1,isLength$1=isLength_1;function isArrayLike$a(x_){return x_!=null&&isLength$1(x_.length)&&!isFunction$7(x_)}var isArrayLike_1=isArrayLike$a,arrayLikeKeys$1=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$9=isArrayLike_1;function keys$d(x_){return isArrayLike$9(x_)?arrayLikeKeys$1(x_):baseKeys$1(x_)}var keys_1=keys$d;const keys$e=getDefaultExportFromCjs(keys_1);var baseGetAllKeys$1=_baseGetAllKeys,getSymbols$2=_getSymbols,keys$c=keys_1;function getAllKeys$2(x_){return baseGetAllKeys$1(x_,keys$c,getSymbols$2)}var _getAllKeys=getAllKeys$2,getAllKeys$1=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$b=Object.prototype,hasOwnProperty$c=objectProto$b.hasOwnProperty;function equalObjects$1(x_,e0e,$P,t0e,r0e,n0e){var a0e=$P&COMPARE_PARTIAL_FLAG$3,o0e=getAllKeys$1(x_),i0e=o0e.length,s0e=getAllKeys$1(e0e),l0e=s0e.length;if(i0e!=l0e&&!a0e)return!1;for(var c0e=i0e;c0e--;){var u0e=o0e[c0e];if(!(a0e?u0e in e0e:hasOwnProperty$c.call(e0e,u0e)))return!1}var d0e=n0e.get(x_),p0e=n0e.get(e0e);if(d0e&&p0e)return d0e==e0e&&p0e==x_;var f0e=!0;n0e.set(x_,e0e),n0e.set(e0e,x_);for(var h0e=a0e;++c0e=0;l0e--){var c0e=t0e[l0e];c0e==="."?spliceOne(t0e,l0e):c0e===".."?(spliceOne(t0e,l0e),s0e++):s0e&&(spliceOne(t0e,l0e),s0e--)}if(!a0e)for(;s0e--;s0e)t0e.unshift("..");a0e&&t0e[0]!==""&&(!t0e[0]||!isAbsolute(t0e[0]))&&t0e.unshift("");var u0e=t0e.join("/");return o0e&&u0e.substr(-1)!=="/"&&(u0e+="/"),u0e}function valueOf$2(x_){return x_.valueOf?x_.valueOf():Object.prototype.valueOf.call(x_)}function valueEqual(x_,e0e){if(x_===e0e)return!0;if(x_==null||e0e==null)return!1;if(Array.isArray(x_))return Array.isArray(e0e)&&x_.length===e0e.length&&x_.every(function(r0e,n0e){return valueEqual(r0e,e0e[n0e])});if(typeof x_=="object"||typeof e0e=="object"){var $P=valueOf$2(x_),t0e=valueOf$2(e0e);return $P!==x_||t0e!==e0e?valueEqual($P,t0e):Object.keys(Object.assign({},x_,e0e)).every(function(r0e){return valueEqual(x_[r0e],e0e[r0e])})}return!1}var isProduction=!0,prefix$2="Invariant failed";function invariant$4(x_,e0e){if(!x_){if(isProduction)throw new Error(prefix$2);var $P=typeof e0e=="function"?e0e():e0e,t0e=$P?"".concat(prefix$2,": ").concat($P):prefix$2;throw new Error(t0e)}}function addLeadingSlash$1(x_){return x_.charAt(0)==="/"?x_:"/"+x_}function stripLeadingSlash(x_){return x_.charAt(0)==="/"?x_.substr(1):x_}function hasBasename(x_,e0e){return x_.toLowerCase().indexOf(e0e.toLowerCase())===0&&"/?#".indexOf(x_.charAt(e0e.length))!==-1}function stripBasename$1(x_,e0e){return hasBasename(x_,e0e)?x_.substr(e0e.length):x_}function stripTrailingSlash(x_){return x_.charAt(x_.length-1)==="/"?x_.slice(0,-1):x_}function parsePath$1(x_){var e0e=x_||"/",$P="",t0e="",r0e=e0e.indexOf("#");r0e!==-1&&(t0e=e0e.substr(r0e),e0e=e0e.substr(0,r0e));var n0e=e0e.indexOf("?");return n0e!==-1&&($P=e0e.substr(n0e),e0e=e0e.substr(0,n0e)),{pathname:e0e,search:$P==="?"?"":$P,hash:t0e==="#"?"":t0e}}function createPath(x_){var e0e=x_.pathname,$P=x_.search,t0e=x_.hash,r0e=e0e||"/";return $P&&$P!=="?"&&(r0e+=$P.charAt(0)==="?"?$P:"?"+$P),t0e&&t0e!=="#"&&(r0e+=t0e.charAt(0)==="#"?t0e:"#"+t0e),r0e}function createLocation(x_,e0e,$P,t0e){var r0e;typeof x_=="string"?(r0e=parsePath$1(x_),r0e.state=e0e):(r0e=_extends$1A({},x_),r0e.pathname===void 0&&(r0e.pathname=""),r0e.search?r0e.search.charAt(0)!=="?"&&(r0e.search="?"+r0e.search):r0e.search="",r0e.hash?r0e.hash.charAt(0)!=="#"&&(r0e.hash="#"+r0e.hash):r0e.hash="",e0e!==void 0&&r0e.state===void 0&&(r0e.state=e0e));try{r0e.pathname=decodeURI(r0e.pathname)}catch(n0e){throw n0e instanceof URIError?new URIError('Pathname "'+r0e.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):n0e}return $P&&(r0e.key=$P),t0e?r0e.pathname?r0e.pathname.charAt(0)!=="/"&&(r0e.pathname=resolvePathname(r0e.pathname,t0e.pathname)):r0e.pathname=t0e.pathname:r0e.pathname||(r0e.pathname="/"),r0e}function locationsAreEqual(x_,e0e){return x_.pathname===e0e.pathname&&x_.search===e0e.search&&x_.hash===e0e.hash&&x_.key===e0e.key&&valueEqual(x_.state,e0e.state)}function createTransitionManager(){var x_=null;function e0e(a0e){return x_=a0e,function(){x_===a0e&&(x_=null)}}function $P(a0e,o0e,i0e,s0e){if(x_!=null){var l0e=typeof x_=="function"?x_(a0e,o0e):x_;typeof l0e=="string"?typeof i0e=="function"?i0e(l0e,s0e):s0e(!0):s0e(l0e!==!1)}else s0e(!0)}var t0e=[];function r0e(a0e){var o0e=!0;function i0e(){o0e&&a0e.apply(void 0,arguments)}return t0e.push(i0e),function(){o0e=!1,t0e=t0e.filter(function(s0e){return s0e!==i0e})}}function n0e(){for(var a0e=arguments.length,o0e=new Array(a0e),i0e=0;i0eE0e?w0e.splice(E0e,w0e.length-E0e,$0e):w0e.push($0e),l0e({action:A0e,location:$0e,index:E0e,entries:w0e})}})}function h0e(z0e,_0e){var A0e="REPLACE",$0e=createLocation(z0e,_0e,c0e(),O0e.location);s0e.confirmTransitionTo($0e,A0e,$P,function(S0e){S0e&&(O0e.entries[O0e.index]=$0e,l0e({action:A0e,location:$0e}))})}function b0e(z0e){var _0e=clamp(O0e.index+z0e,0,O0e.entries.length-1),A0e="POP",$0e=O0e.entries[_0e];s0e.confirmTransitionTo($0e,A0e,$P,function(S0e){S0e?l0e({action:A0e,location:$0e,index:_0e}):l0e()})}function m0e(){b0e(-1)}function v0e(){b0e(1)}function g0e(z0e){var _0e=O0e.index+z0e;return _0e>=0&&_0e"u"&&(forwardRef=forwardRefShim);function isModifiedEvent$1(x_){return!!(x_.metaKey||x_.altKey||x_.ctrlKey||x_.shiftKey)}var LinkAnchor=forwardRef(function(x_,e0e){var $P=x_.innerRef,t0e=x_.navigate,r0e=x_.onClick,n0e=_objectWithoutPropertiesLoose$3(x_,["innerRef","navigate","onClick"]),a0e=n0e.target,o0e=_extends$1A({},n0e,{onClick:function(s0e){try{r0e&&r0e(s0e)}catch(l0e){throw s0e.preventDefault(),l0e}!s0e.defaultPrevented&&s0e.button===0&&(!a0e||a0e==="_self")&&!isModifiedEvent$1(s0e)&&(s0e.preventDefault(),t0e())}});return forwardRefShim!==forwardRef?o0e.ref=e0e||$P:o0e.ref=$P,React$1.createElement("a",o0e)}),Link$2=forwardRef(function(x_,e0e){var $P=x_.component,t0e=$P===void 0?LinkAnchor:$P,r0e=x_.replace,n0e=x_.to,a0e=x_.innerRef,o0e=_objectWithoutPropertiesLoose$3(x_,["component","replace","to","innerRef"]);return React$1.createElement(context.Consumer,null,function(i0e){i0e||invariant$4(!1);var s0e=i0e.history,l0e=normalizeToLocation(resolveToLocation(n0e,i0e.location),i0e.location),c0e=l0e?s0e.createHref(l0e):"",u0e=_extends$1A({},o0e,{href:c0e,navigate:function(){var p0e=resolveToLocation(n0e,i0e.location),f0e=createPath(i0e.location)===createPath(normalizeToLocation(p0e)),h0e=r0e||f0e?s0e.replace:s0e.push;h0e(p0e)}});return forwardRefShim!==forwardRef?u0e.ref=e0e||a0e:u0e.innerRef=a0e,React$1.createElement(t0e,u0e)})}),forwardRefShim$1=function(e0e){return e0e},forwardRef$1=React$1.forwardRef;typeof forwardRef$1>"u"&&(forwardRef$1=forwardRefShim$1);function joinClassnames(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$PsetTimeout(()=>{var x_;return(x_=document.getElementById("app-loader"))==null?void 0:x_.remove()},500),registerGlobalFunction=(x_,e0e)=>{window.$owl={...window.$owl,[x_]:e0e}},arrayGet=(x_,e0e,$P=null)=>{try{if(e0e===null)return x_;if(x_[e0e]!==void 0)return x_[e0e];for(const t0e of e0e.split("."))if(x_[t0e]!==void 0)x_=x_[t0e];else return $P}catch{return $P}return x_},mergeObject=(x_,e0e)=>{for(const $P in e0e)if(e0e.hasOwnProperty($P)){const t0e=e0e[$P],r0e=x_[$P];if(t0e===null)continue;isObject$p(t0e)&&isObject$p(r0e)?x_[$P]=mergeObject(r0e,t0e):x_[$P]=t0e}return x_},isArray$s=x_=>Object.prototype.toString.call(x_)==="[object Array]",isObject$p=x_=>Object.prototype.toString.call(x_)==="[object Object]",isString$9=x_=>Object.prototype.toString.call(x_)==="[object String]",isSSR=function(){try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}}(),getCacheKey=x_=>window.$adminApiPrefix.replace(/^\//,"")+"-"+x_,Token=()=>{const x_=getCacheKey("token");return{value:localStorage.getItem(x_),set:e0e=>localStorage.setItem(x_,e0e),clear:()=>localStorage.removeItem(x_)}},inLoginPage=()=>window.location.hash=="#/login",goToLoginPage=()=>window.location.hash="#/login",msgHandler=(x_,e0e)=>{const $P="owl-msg-"+x_;if(!localStorage.getItem($P)){localStorage.setItem($P,x_),setTimeout(()=>{localStorage.removeItem($P)},5e3);try{e0e().then(()=>{localStorage.removeItem($P)})}catch{localStorage.removeItem($P)}}},clearMsgSign=()=>{Object.keys(localStorage).forEach(e0e=>{e0e.startsWith("owl-msg-")&&localStorage.removeItem(e0e)})},defaultSettings={darkTheme:!1,footer:!1,breadcrumb:!0,themeColor:"#1677ff",layoutMode:"default",siderTheme:"light",topTheme:"light",animateInType:"alpha",animateInDuration:600,animateOutType:"alpha",animateOutDuration:600,loginTemplate:"default",keepAlive:!1,enableTab:!1,tabIcon:!0},defaultToken={token:{borderRadius:4,wireframe:!0,colorSplit:"var(--color-border)"},components:{Menu:{iconSize:18,collapsedIconSize:18,itemMarginInline:8,subMenuItemBg:"transparent"}}},initialState$1={settings:{system_theme_setting:defaultSettings},userInfo:{},routes:[],userLoading:!1,inited:!1,openSetting:!1,antdToken:defaultToken};function store$3(x_=initialState$1,e0e){switch(e0e.type){case"update-userInfo":{const{userInfo:$P=initialState$1.userInfo,userLoading:t0e}=e0e.payload;return $P!=null&&$P.name&&localStorage.setItem(getCacheKey("user_name"),($P==null?void 0:$P.name)||""),{...x_,userLoading:t0e,userInfo:$P}}case"update-breadcrumb":{const{breadcrumb:$P}=e0e.payload;return{...x_,breadcrumb:$P}}case"update-settings":{const{settings:$P}=e0e.payload,t0e=JSON.parse(JSON.stringify(mergeObject(x_.settings,$P)));return localStorage.setItem(getCacheKey("settings"),JSON.stringify(t0e)),{...x_,settings:t0e}}case"update-routes":{const{routes:$P}=e0e.payload;return{...x_,routes:$P}}case"update-inited":{const{inited:$P}=e0e.payload;return{...x_,inited:$P}}case"update-open-setting":{const{openSetting:$P}=e0e.payload;return{...x_,openSetting:$P}}case"update-antd-token":{const{antdToken:$P}=e0e.payload;return{...x_,antdToken:$P}}default:return x_}}const GlobalContext=reactExports.createContext({});var createUpdateEffect=function(x_){return function(e0e,$P){var t0e=reactExports.useRef(!1);x_(function(){return function(){t0e.current=!1}},[]),x_(function(){if(!t0e.current)t0e.current=!0;else return e0e()},$P)}},extendStatics$2=function(x_,e0e){return extendStatics$2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function($P,t0e){$P.__proto__=t0e}||function($P,t0e){for(var r0e in t0e)Object.prototype.hasOwnProperty.call(t0e,r0e)&&($P[r0e]=t0e[r0e])},extendStatics$2(x_,e0e)};function __extends$2(x_,e0e){if(typeof e0e!="function"&&e0e!==null)throw new TypeError("Class extends value "+String(e0e)+" is not a constructor or null");extendStatics$2(x_,e0e);function $P(){this.constructor=x_}x_.prototype=e0e===null?Object.create(e0e):($P.prototype=e0e.prototype,new $P)}var __assign$3=function(){return __assign$3=Object.assign||function(e0e){for(var $P,t0e=1,r0e=arguments.length;t0e=0;o0e--)(a0e=x_[o0e])&&(n0e=(r0e<3?a0e(n0e):r0e>3?a0e(e0e,$P,n0e):a0e(e0e,$P))||n0e);return r0e>3&&n0e&&Object.defineProperty(e0e,$P,n0e),n0e}function __metadata(x_,e0e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(x_,e0e)}function __awaiter(x_,e0e,$P,t0e){function r0e(n0e){return n0e instanceof $P?n0e:new $P(function(a0e){a0e(n0e)})}return new($P||($P=Promise))(function(n0e,a0e){function o0e(l0e){try{s0e(t0e.next(l0e))}catch(c0e){a0e(c0e)}}function i0e(l0e){try{s0e(t0e.throw(l0e))}catch(c0e){a0e(c0e)}}function s0e(l0e){l0e.done?n0e(l0e.value):r0e(l0e.value).then(o0e,i0e)}s0e((t0e=t0e.apply(x_,e0e||[])).next())})}function __generator(x_,e0e){var $P={label:0,sent:function(){if(n0e[0]&1)throw n0e[1];return n0e[1]},trys:[],ops:[]},t0e,r0e,n0e,a0e;return a0e={next:o0e(0),throw:o0e(1),return:o0e(2)},typeof Symbol=="function"&&(a0e[Symbol.iterator]=function(){return this}),a0e;function o0e(s0e){return function(l0e){return i0e([s0e,l0e])}}function i0e(s0e){if(t0e)throw new TypeError("Generator is already executing.");for(;a0e&&(a0e=0,s0e[0]&&($P=0)),$P;)try{if(t0e=1,r0e&&(n0e=s0e[0]&2?r0e.return:s0e[0]?r0e.throw||((n0e=r0e.return)&&n0e.call(r0e),0):r0e.next)&&!(n0e=n0e.call(r0e,s0e[1])).done)return n0e;switch(r0e=0,n0e&&(s0e=[s0e[0]&2,n0e.value]),s0e[0]){case 0:case 1:n0e=s0e;break;case 4:return $P.label++,{value:s0e[1],done:!1};case 5:$P.label++,r0e=s0e[1],s0e=[0];continue;case 7:s0e=$P.ops.pop(),$P.trys.pop();continue;default:if(n0e=$P.trys,!(n0e=n0e.length>0&&n0e[n0e.length-1])&&(s0e[0]===6||s0e[0]===2)){$P=0;continue}if(s0e[0]===3&&(!n0e||s0e[1]>n0e[0]&&s0e[1]=x_.length&&(x_=void 0),{value:x_&&x_[t0e++],done:!x_}}};throw new TypeError(e0e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read$3(x_,e0e){var $P=typeof Symbol=="function"&&x_[Symbol.iterator];if(!$P)return x_;var t0e=$P.call(x_),r0e,n0e=[],a0e;try{for(;(e0e===void 0||e0e-- >0)&&!(r0e=t0e.next()).done;)n0e.push(r0e.value)}catch(o0e){a0e={error:o0e}}finally{try{r0e&&!r0e.done&&($P=t0e.return)&&$P.call(t0e)}finally{if(a0e)throw a0e.error}}return n0e}function __spread$2(){for(var x_=[],e0e=0;e0e-1&&(r0e=setTimeout(function(){cache$4.delete(x_)},e0e)),cache$4.set(x_,__assign$3(__assign$3({},$P),{timer:r0e}))},getCache=function(x_){return cache$4.get(x_)},cachePromise=new Map,getCachePromise=function(x_){return cachePromise.get(x_)},setCachePromise=function(x_,e0e){cachePromise.set(x_,e0e),e0e.then(function($P){return cachePromise.delete(x_),$P}).catch(function(){cachePromise.delete(x_)})},listeners$2={},trigger$1=function(x_,e0e){listeners$2[x_]&&listeners$2[x_].forEach(function($P){return $P(e0e)})},subscribe$2=function(x_,e0e){return listeners$2[x_]||(listeners$2[x_]=[]),listeners$2[x_].push(e0e),function(){var t0e=listeners$2[x_].indexOf(e0e);listeners$2[x_].splice(t0e,1)}},useCachePlugin=function(x_,e0e){var $P=e0e.cacheKey,t0e=e0e.cacheTime,r0e=t0e===void 0?5*60*1e3:t0e,n0e=e0e.staleTime,a0e=n0e===void 0?0:n0e,o0e=e0e.setCache,i0e=e0e.getCache,s0e=reactExports.useRef(),l0e=reactExports.useRef(),c0e=function(d0e,p0e){o0e?o0e(p0e):setCache(d0e,r0e,p0e),trigger$1(d0e,p0e.data)},u0e=function(d0e,p0e){return p0e===void 0&&(p0e=[]),i0e?i0e(p0e):getCache(d0e)};return useCreation(function(){if($P){var d0e=u0e($P);d0e&&Object.hasOwnProperty.call(d0e,"data")&&(x_.state.data=d0e.data,x_.state.params=d0e.params,(a0e===-1||new Date().getTime()-d0e.time<=a0e)&&(x_.state.loading=!1)),s0e.current=subscribe$2($P,function(p0e){x_.setState({data:p0e})})}},[]),useUnmount$1(function(){var d0e;(d0e=s0e.current)===null||d0e===void 0||d0e.call(s0e)}),$P?{onBefore:function(d0e){var p0e=u0e($P,d0e);return!p0e||!Object.hasOwnProperty.call(p0e,"data")?{}:a0e===-1||new Date().getTime()-p0e.time<=a0e?{loading:!1,data:p0e==null?void 0:p0e.data,error:void 0,returnNow:!0}:{data:p0e==null?void 0:p0e.data,error:void 0}},onRequest:function(d0e,p0e){var f0e=getCachePromise($P);return f0e&&f0e!==l0e.current?{servicePromise:f0e}:(f0e=d0e.apply(void 0,__spreadArray([],__read$3(p0e),!1)),l0e.current=f0e,setCachePromise($P,f0e),{servicePromise:f0e})},onSuccess:function(d0e,p0e){var f0e;$P&&((f0e=s0e.current)===null||f0e===void 0||f0e.call(s0e),c0e($P,{data:d0e,params:p0e,time:new Date().getTime()}),s0e.current=subscribe$2($P,function(h0e){x_.setState({data:h0e})}))},onMutate:function(d0e){var p0e;$P&&((p0e=s0e.current)===null||p0e===void 0||p0e.call(s0e),c0e($P,{data:d0e,params:x_.state.params,time:new Date().getTime()}),s0e.current=subscribe$2($P,function(f0e){x_.setState({data:f0e})}))}}:{}};const useCachePlugin$1=useCachePlugin;function isObject$n(x_){var e0e=typeof x_;return x_!=null&&(e0e=="object"||e0e=="function")}var isObject_1=isObject$n;const isObject$o=getDefaultExportFromCjs(isObject_1);var freeGlobal$1=typeof commonjsGlobal$1=="object"&&commonjsGlobal$1&&commonjsGlobal$1.Object===Object&&commonjsGlobal$1,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root$a=freeGlobal||freeSelf||Function("return this")(),_root=root$a,root$9=_root,now$3=function(){return root$9.Date.now()},now_1=now$3,reWhitespace=/\s/;function trimmedEndIndex$1(x_){for(var e0e=x_.length;e0e--&&reWhitespace.test(x_.charAt(e0e)););return e0e}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(x_){return x_&&x_.slice(0,trimmedEndIndex(x_)+1).replace(reTrimStart,"")}var _baseTrim=baseTrim$1,root$8=_root,Symbol$7=root$8.Symbol,_Symbol=Symbol$7,Symbol$6=_Symbol,objectProto$l=Object.prototype,hasOwnProperty$j=objectProto$l.hasOwnProperty,nativeObjectToString$1=objectProto$l.toString,symToStringTag$1=Symbol$6?Symbol$6.toStringTag:void 0;function getRawTag$1(x_){var e0e=hasOwnProperty$j.call(x_,symToStringTag$1),$P=x_[symToStringTag$1];try{x_[symToStringTag$1]=void 0;var t0e=!0}catch{}var r0e=nativeObjectToString$1.call(x_);return t0e&&(e0e?x_[symToStringTag$1]=$P:delete x_[symToStringTag$1]),r0e}var _getRawTag=getRawTag$1,objectProto$k=Object.prototype,nativeObjectToString=objectProto$k.toString;function objectToString$1(x_){return nativeObjectToString.call(x_)}var _objectToString=objectToString$1,Symbol$5=_Symbol,getRawTag=_getRawTag,objectToString=_objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$5?Symbol$5.toStringTag:void 0;function baseGetTag$a(x_){return x_==null?x_===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(x_)?getRawTag(x_):objectToString(x_)}var _baseGetTag=baseGetTag$a;function isObjectLike$e(x_){return x_!=null&&typeof x_=="object"}var isObjectLike_1=isObjectLike$e;const isObjectLike$f=getDefaultExportFromCjs(isObjectLike_1);var baseGetTag$9=_baseGetTag,isObjectLike$d=isObjectLike_1,symbolTag$3="[object Symbol]";function isSymbol$5(x_){return typeof x_=="symbol"||isObjectLike$d(x_)&&baseGetTag$9(x_)==symbolTag$3}var isSymbol_1=isSymbol$5,baseTrim=_baseTrim,isObject$m=isObject_1,isSymbol$4=isSymbol_1,NAN=0/0,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$4(x_){if(typeof x_=="number")return x_;if(isSymbol$4(x_))return NAN;if(isObject$m(x_)){var e0e=typeof x_.valueOf=="function"?x_.valueOf():x_;x_=isObject$m(e0e)?e0e+"":e0e}if(typeof x_!="string")return x_===0?x_:+x_;x_=baseTrim(x_);var $P=reIsBinary.test(x_);return $P||reIsOctal.test(x_)?freeParseInt(x_.slice(2),$P?2:8):reIsBadHex.test(x_)?NAN:+x_}var toNumber_1=toNumber$4,isObject$l=isObject_1,now$2=now_1,toNumber$3=toNumber_1,FUNC_ERROR_TEXT$3="Expected a function",nativeMax$7=Math.max,nativeMin$4=Math.min;function debounce$4(x_,e0e,$P){var t0e,r0e,n0e,a0e,o0e,i0e,s0e=0,l0e=!1,c0e=!1,u0e=!0;if(typeof x_!="function")throw new TypeError(FUNC_ERROR_TEXT$3);e0e=toNumber$3(e0e)||0,isObject$l($P)&&(l0e=!!$P.leading,c0e="maxWait"in $P,n0e=c0e?nativeMax$7(toNumber$3($P.maxWait)||0,e0e):n0e,u0e="trailing"in $P?!!$P.trailing:u0e);function d0e(M0e){var O0e=t0e,z0e=r0e;return t0e=r0e=void 0,s0e=M0e,a0e=x_.apply(z0e,O0e),a0e}function p0e(M0e){return s0e=M0e,o0e=setTimeout(b0e,e0e),l0e?d0e(M0e):a0e}function f0e(M0e){var O0e=M0e-i0e,z0e=M0e-s0e,_0e=e0e-O0e;return c0e?nativeMin$4(_0e,n0e-z0e):_0e}function h0e(M0e){var O0e=M0e-i0e,z0e=M0e-s0e;return i0e===void 0||O0e>=e0e||O0e<0||c0e&&z0e>=n0e}function b0e(){var M0e=now$2();if(h0e(M0e))return m0e(M0e);o0e=setTimeout(b0e,f0e(M0e))}function m0e(M0e){return o0e=void 0,u0e&&t0e?d0e(M0e):(t0e=r0e=void 0,a0e)}function v0e(){o0e!==void 0&&clearTimeout(o0e),s0e=0,t0e=i0e=r0e=o0e=void 0}function g0e(){return o0e===void 0?a0e:m0e(now$2())}function y0e(){var M0e=now$2(),O0e=h0e(M0e);if(t0e=arguments,r0e=this,i0e=M0e,O0e){if(o0e===void 0)return p0e(i0e);if(c0e)return clearTimeout(o0e),o0e=setTimeout(b0e,e0e),d0e(i0e)}return o0e===void 0&&(o0e=setTimeout(b0e,e0e)),a0e}return y0e.cancel=v0e,y0e.flush=g0e,y0e}var debounce_1=debounce$4;const debounce$5=getDefaultExportFromCjs(debounce_1);var useDebouncePlugin=function(x_,e0e){var $P=e0e.debounceWait,t0e=e0e.debounceLeading,r0e=e0e.debounceTrailing,n0e=e0e.debounceMaxWait,a0e=reactExports.useRef(),o0e=reactExports.useMemo(function(){var i0e={};return t0e!==void 0&&(i0e.leading=t0e),r0e!==void 0&&(i0e.trailing=r0e),n0e!==void 0&&(i0e.maxWait=n0e),i0e},[t0e,r0e,n0e]);return reactExports.useEffect(function(){if($P){var i0e=x_.runAsync.bind(x_);return a0e.current=debounce$5(function(s0e){s0e()},$P,o0e),x_.runAsync=function(){for(var s0e=[],l0e=0;l0e-1&&listeners.splice($P,1)}}if(isBrowser$2){var revalidate=function(){if(!(!isDocumentVisible()||!isOnline()))for(var x_=0;x_-1}var _listCacheHas=listCacheHas$1,assocIndexOf=_assocIndexOf;function listCacheSet$1(x_,e0e){var $P=this.__data__,t0e=assocIndexOf($P,x_);return t0e<0?(++this.size,$P.push([x_,e0e])):$P[t0e][1]=e0e,this}var _listCacheSet=listCacheSet$1,listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;function ListCache$4(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype.delete=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4,ListCache$3=_ListCache;function stackClear$1(){this.__data__=new ListCache$3,this.size=0}var _stackClear=stackClear$1;function stackDelete$1(x_){var e0e=this.__data__,$P=e0e.delete(x_);return this.size=e0e.size,$P}var _stackDelete=stackDelete$1;function stackGet$1(x_){return this.__data__.get(x_)}var _stackGet=stackGet$1;function stackHas$1(x_){return this.__data__.has(x_)}var _stackHas=stackHas$1,baseGetTag$8=_baseGetTag,isObject$j=isObject_1,asyncTag="[object AsyncFunction]",funcTag$2="[object Function]",genTag$1="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction$9(x_){if(!isObject$j(x_))return!1;var e0e=baseGetTag$8(x_);return e0e==funcTag$2||e0e==genTag$1||e0e==asyncTag||e0e==proxyTag}var isFunction_1=isFunction$9;const isFunction$a=getDefaultExportFromCjs(isFunction_1);var root$7=_root,coreJsData$1=root$7["__core-js_shared__"],_coreJsData=coreJsData$1,coreJsData=_coreJsData,maskSrcKey=function(){var x_=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||"");return x_?"Symbol(src)_1."+x_:""}();function isMasked$1(x_){return!!maskSrcKey&&maskSrcKey in x_}var _isMasked=isMasked$1,funcProto$2=Function.prototype,funcToString$2=funcProto$2.toString;function toSource$2(x_){if(x_!=null){try{return funcToString$2.call(x_)}catch{}try{return x_+""}catch{}}return""}var _toSource=toSource$2,isFunction$8=isFunction_1,isMasked=_isMasked,isObject$i=isObject_1,toSource$1=_toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto$1=Function.prototype,objectProto$j=Object.prototype,funcToString$1=funcProto$1.toString,hasOwnProperty$i=objectProto$j.hasOwnProperty,reIsNative=RegExp("^"+funcToString$1.call(hasOwnProperty$i).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative$1(x_){if(!isObject$i(x_)||isMasked(x_))return!1;var e0e=isFunction$8(x_)?reIsNative:reIsHostCtor;return e0e.test(toSource$1(x_))}var _baseIsNative=baseIsNative$1;function getValue$4(x_,e0e){return x_==null?void 0:x_[e0e]}var _getValue=getValue$4,baseIsNative=_baseIsNative,getValue$3=_getValue;function getNative$7(x_,e0e){var $P=getValue$3(x_,e0e);return baseIsNative($P)?$P:void 0}var _getNative=getNative$7,getNative$6=_getNative,root$6=_root,Map$4=getNative$6(root$6,"Map"),_Map=Map$4,getNative$5=_getNative,nativeCreate$4=getNative$5(Object,"create"),_nativeCreate=nativeCreate$4,nativeCreate$3=_nativeCreate;function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{},this.size=0}var _hashClear=hashClear$1;function hashDelete$1(x_){var e0e=this.has(x_)&&delete this.__data__[x_];return this.size-=e0e?1:0,e0e}var _hashDelete=hashDelete$1,nativeCreate$2=_nativeCreate,HASH_UNDEFINED$2="__lodash_hash_undefined__",objectProto$i=Object.prototype,hasOwnProperty$h=objectProto$i.hasOwnProperty;function hashGet$1(x_){var e0e=this.__data__;if(nativeCreate$2){var $P=e0e[x_];return $P===HASH_UNDEFINED$2?void 0:$P}return hasOwnProperty$h.call(e0e,x_)?e0e[x_]:void 0}var _hashGet=hashGet$1,nativeCreate$1=_nativeCreate,objectProto$h=Object.prototype,hasOwnProperty$g=objectProto$h.hasOwnProperty;function hashHas$1(x_){var e0e=this.__data__;return nativeCreate$1?e0e[x_]!==void 0:hasOwnProperty$g.call(e0e,x_)}var _hashHas=hashHas$1,nativeCreate=_nativeCreate,HASH_UNDEFINED$1="__lodash_hash_undefined__";function hashSet$1(x_,e0e){var $P=this.__data__;return this.size+=this.has(x_)?0:1,$P[x_]=nativeCreate&&e0e===void 0?HASH_UNDEFINED$1:e0e,this}var _hashSet=hashSet$1,hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;function Hash$1(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}Hash$1.prototype.clear=hashClear;Hash$1.prototype.delete=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1,Hash=_Hash,ListCache$2=_ListCache,Map$3=_Map;function mapCacheClear$1(){this.size=0,this.__data__={hash:new Hash,map:new(Map$3||ListCache$2),string:new Hash}}var _mapCacheClear=mapCacheClear$1;function isKeyable$1(x_){var e0e=typeof x_;return e0e=="string"||e0e=="number"||e0e=="symbol"||e0e=="boolean"?x_!=="__proto__":x_===null}var _isKeyable=isKeyable$1,isKeyable=_isKeyable;function getMapData$4(x_,e0e){var $P=x_.__data__;return isKeyable(e0e)?$P[typeof e0e=="string"?"string":"hash"]:$P.map}var _getMapData=getMapData$4,getMapData$3=_getMapData;function mapCacheDelete$1(x_){var e0e=getMapData$3(this,x_).delete(x_);return this.size-=e0e?1:0,e0e}var _mapCacheDelete=mapCacheDelete$1,getMapData$2=_getMapData;function mapCacheGet$1(x_){return getMapData$2(this,x_).get(x_)}var _mapCacheGet=mapCacheGet$1,getMapData$1=_getMapData;function mapCacheHas$1(x_){return getMapData$1(this,x_).has(x_)}var _mapCacheHas=mapCacheHas$1,getMapData=_getMapData;function mapCacheSet$1(x_,e0e){var $P=getMapData(this,x_),t0e=$P.size;return $P.set(x_,e0e),this.size+=$P.size==t0e?0:1,this}var _mapCacheSet=mapCacheSet$1,mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;function MapCache$3(x_){var e0e=-1,$P=x_==null?0:x_.length;for(this.clear();++e0e<$P;){var t0e=x_[e0e];this.set(t0e[0],t0e[1])}}MapCache$3.prototype.clear=mapCacheClear;MapCache$3.prototype.delete=mapCacheDelete;MapCache$3.prototype.get=mapCacheGet;MapCache$3.prototype.has=mapCacheHas;MapCache$3.prototype.set=mapCacheSet;var _MapCache=MapCache$3,ListCache$1=_ListCache,Map$2=_Map,MapCache$2=_MapCache,LARGE_ARRAY_SIZE$2=200;function stackSet$1(x_,e0e){var $P=this.__data__;if($P instanceof ListCache$1){var t0e=$P.__data__;if(!Map$2||t0e.lengtho0e))return!1;var s0e=n0e.get(x_),l0e=n0e.get(e0e);if(s0e&&l0e)return s0e==e0e&&l0e==x_;var c0e=-1,u0e=!0,d0e=$P&COMPARE_UNORDERED_FLAG$3?new SetCache$3:void 0;for(n0e.set(x_,e0e),n0e.set(e0e,x_);++c0e-1&&x_%1==0&&x_-1&&x_%1==0&&x_<=MAX_SAFE_INTEGER$2}var isLength_1=isLength$3,baseGetTag$6=_baseGetTag,isLength$2=isLength_1,isObjectLike$a=isObjectLike_1,argsTag$2="[object Arguments]",arrayTag$2="[object Array]",boolTag$2="[object Boolean]",dateTag$2="[object Date]",errorTag$2="[object Error]",funcTag$1="[object Function]",mapTag$6="[object Map]",numberTag$3="[object Number]",objectTag$4="[object Object]",regexpTag$3="[object RegExp]",setTag$6="[object Set]",stringTag$3="[object String]",weakMapTag$2="[object WeakMap]",arrayBufferTag$2="[object ArrayBuffer]",dataViewTag$3="[object DataView]",float32Tag$2="[object Float32Array]",float64Tag$2="[object Float64Array]",int8Tag$2="[object Int8Array]",int16Tag$2="[object Int16Array]",int32Tag$2="[object Int32Array]",uint8Tag$2="[object Uint8Array]",uint8ClampedTag$2="[object Uint8ClampedArray]",uint16Tag$2="[object Uint16Array]",uint32Tag$2="[object Uint32Array]",typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=!0;typedArrayTags[argsTag$2]=typedArrayTags[arrayTag$2]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$2]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$6]=typedArrayTags[numberTag$3]=typedArrayTags[objectTag$4]=typedArrayTags[regexpTag$3]=typedArrayTags[setTag$6]=typedArrayTags[stringTag$3]=typedArrayTags[weakMapTag$2]=!1;function baseIsTypedArray$1(x_){return isObjectLike$a(x_)&&isLength$2(x_.length)&&!!typedArrayTags[baseGetTag$6(x_)]}var _baseIsTypedArray=baseIsTypedArray$1;function baseUnary$7(x_){return function(e0e){return x_(e0e)}}var _baseUnary=baseUnary$7,_nodeUtil={exports:{}};_nodeUtil.exports;(function(x_,e0e){var $P=_freeGlobal,t0e=e0e&&!e0e.nodeType&&e0e,r0e=t0e&&!0&&x_&&!x_.nodeType&&x_,n0e=r0e&&r0e.exports===t0e,a0e=n0e&&$P.process,o0e=function(){try{var i0e=r0e&&r0e.require&&r0e.require("util").types;return i0e||a0e&&a0e.binding&&a0e.binding("util")}catch{}}();x_.exports=o0e})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports,baseIsTypedArray=_baseIsTypedArray,baseUnary$6=_baseUnary,nodeUtil$3=_nodeUtilExports,nodeIsTypedArray=nodeUtil$3&&nodeUtil$3.isTypedArray,isTypedArray$5=nodeIsTypedArray?baseUnary$6(nodeIsTypedArray):baseIsTypedArray,isTypedArray_1=isTypedArray$5,baseTimes$1=_baseTimes,isArguments$4=isArguments_1,isArray$o=isArray_1,isBuffer$7=isBufferExports,isIndex$3=_isIndex,isTypedArray$4=isTypedArray_1,objectProto$e=Object.prototype,hasOwnProperty$e=objectProto$e.hasOwnProperty;function arrayLikeKeys$2(x_,e0e){var $P=isArray$o(x_),t0e=!$P&&isArguments$4(x_),r0e=!$P&&!t0e&&isBuffer$7(x_),n0e=!$P&&!t0e&&!r0e&&isTypedArray$4(x_),a0e=$P||t0e||r0e||n0e,o0e=a0e?baseTimes$1(x_.length,String):[],i0e=o0e.length;for(var s0e in x_)(e0e||hasOwnProperty$e.call(x_,s0e))&&!(a0e&&(s0e=="length"||r0e&&(s0e=="offset"||s0e=="parent")||n0e&&(s0e=="buffer"||s0e=="byteLength"||s0e=="byteOffset")||isIndex$3(s0e,i0e)))&&o0e.push(s0e);return o0e}var _arrayLikeKeys=arrayLikeKeys$2,objectProto$d=Object.prototype;function isPrototype$5(x_){var e0e=x_&&x_.constructor,$P=typeof e0e=="function"&&e0e.prototype||objectProto$d;return x_===$P}var _isPrototype=isPrototype$5;function overArg$2(x_,e0e){return function($P){return x_(e0e($P))}}var _overArg=overArg$2,overArg$1=_overArg,nativeKeys$1=overArg$1(Object.keys,Object),_nativeKeys=nativeKeys$1,isPrototype$4=_isPrototype,nativeKeys=_nativeKeys,objectProto$c=Object.prototype,hasOwnProperty$d=objectProto$c.hasOwnProperty;function baseKeys$2(x_){if(!isPrototype$4(x_))return nativeKeys(x_);var e0e=[];for(var $P in Object(x_))hasOwnProperty$d.call(x_,$P)&&$P!="constructor"&&e0e.push($P);return e0e}var _baseKeys=baseKeys$2,isFunction$7=isFunction_1,isLength$1=isLength_1;function isArrayLike$a(x_){return x_!=null&&isLength$1(x_.length)&&!isFunction$7(x_)}var isArrayLike_1=isArrayLike$a,arrayLikeKeys$1=_arrayLikeKeys,baseKeys$1=_baseKeys,isArrayLike$9=isArrayLike_1;function keys$d(x_){return isArrayLike$9(x_)?arrayLikeKeys$1(x_):baseKeys$1(x_)}var keys_1=keys$d;const keys$e=getDefaultExportFromCjs(keys_1);var baseGetAllKeys$1=_baseGetAllKeys,getSymbols$2=_getSymbols,keys$c=keys_1;function getAllKeys$2(x_){return baseGetAllKeys$1(x_,keys$c,getSymbols$2)}var _getAllKeys=getAllKeys$2,getAllKeys$1=_getAllKeys,COMPARE_PARTIAL_FLAG$3=1,objectProto$b=Object.prototype,hasOwnProperty$c=objectProto$b.hasOwnProperty;function equalObjects$1(x_,e0e,$P,t0e,r0e,n0e){var a0e=$P&COMPARE_PARTIAL_FLAG$3,o0e=getAllKeys$1(x_),i0e=o0e.length,s0e=getAllKeys$1(e0e),l0e=s0e.length;if(i0e!=l0e&&!a0e)return!1;for(var c0e=i0e;c0e--;){var u0e=o0e[c0e];if(!(a0e?u0e in e0e:hasOwnProperty$c.call(e0e,u0e)))return!1}var d0e=n0e.get(x_),p0e=n0e.get(e0e);if(d0e&&p0e)return d0e==e0e&&p0e==x_;var f0e=!0;n0e.set(x_,e0e),n0e.set(e0e,x_);for(var h0e=a0e;++c0e1&&arguments[1]!==void 0?arguments[1]:{},$P=[];return React$1.Children.forEach(x_,function(t0e){t0e==null&&!e0e.keepEmpty||(Array.isArray(t0e)?$P=$P.concat(toArray$6(t0e)):reactIsExports.isFragment(t0e)&&t0e.props?$P=$P.concat(toArray$6(t0e.props.children,e0e)):$P.push(t0e))}),$P}var warned$1={},preMessage$1=function(e0e){};function warning$4(x_,e0e){}function note$1(x_,e0e){}function resetWarned$1(){warned$1={}}function call$1(x_,e0e,$P){!e0e&&!warned$1[$P]&&(x_(!1,$P),warned$1[$P]=!0)}function warningOnce$1(x_,e0e){call$1(warning$4,x_,e0e)}function noteOnce$1(x_,e0e){call$1(note$1,x_,e0e)}warningOnce$1.preMessage=preMessage$1;warningOnce$1.resetWarned=resetWarned$1;warningOnce$1.noteOnce=noteOnce$1;function _typeof$2(x_){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e0e){return typeof e0e}:function(e0e){return e0e&&typeof Symbol=="function"&&e0e.constructor===Symbol&&e0e!==Symbol.prototype?"symbol":typeof e0e},_typeof$2(x_)}function _toPrimitive$1(x_,e0e){if(_typeof$2(x_)!=="object"||x_===null)return x_;var $P=x_[Symbol.toPrimitive];if($P!==void 0){var t0e=$P.call(x_,e0e||"default");if(_typeof$2(t0e)!=="object")return t0e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e0e==="string"?String:Number)(x_)}function _toPropertyKey$1(x_){var e0e=_toPrimitive$1(x_,"string");return _typeof$2(e0e)==="symbol"?e0e:String(e0e)}function _defineProperty$5(x_,e0e,$P){return e0e=_toPropertyKey$1(e0e),e0e in x_?Object.defineProperty(x_,e0e,{value:$P,enumerable:!0,configurable:!0,writable:!0}):x_[e0e]=$P,x_}function ownKeys$3(x_,e0e){var $P=Object.keys(x_);if(Object.getOwnPropertySymbols){var t0e=Object.getOwnPropertySymbols(x_);e0e&&(t0e=t0e.filter(function(r0e){return Object.getOwnPropertyDescriptor(x_,r0e).enumerable})),$P.push.apply($P,t0e)}return $P}function _objectSpread2$1(x_){for(var e0e=1;e0e"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _assertThisInitialized$1(x_){if(x_===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x_}function _possibleConstructorReturn$1(x_,e0e){if(e0e&&(_typeof$2(e0e)==="object"||typeof e0e=="function"))return e0e;if(e0e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized$1(x_)}function _createSuper$1(x_){var e0e=_isNativeReflectConstruct$2();return function(){var t0e=_getPrototypeOf$2(x_),r0e;if(e0e){var n0e=_getPrototypeOf$2(this).constructor;r0e=Reflect.construct(t0e,arguments,n0e)}else r0e=t0e.apply(this,arguments);return _possibleConstructorReturn$1(this,r0e)}}var DomWrapper$1=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(){return _classCallCheck$1(this,$P),e0e.apply(this,arguments)}return _createClass$1($P,[{key:"render",value:function(){return this.props.children}}]),$P}(reactExports.Component);function SingleObserver(x_,e0e){var $P=x_.children,t0e=x_.disabled,r0e=reactExports.useRef(null),n0e=reactExports.useRef(null),a0e=reactExports.useContext(CollectionContext),o0e=typeof $P=="function",i0e=o0e?$P(r0e):$P,s0e=reactExports.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),l0e=!o0e&&reactExports.isValidElement(i0e)&&supportRef(i0e),c0e=l0e?i0e.ref:null,u0e=useComposeRef(c0e,r0e),d0e=function(){var b0e;return findDOMNode$1(r0e.current)||(r0e.current&&_typeof$2(r0e.current)==="object"?findDOMNode$1((b0e=r0e.current)===null||b0e===void 0?void 0:b0e.nativeElement):null)||findDOMNode$1(n0e.current)};reactExports.useImperativeHandle(e0e,function(){return d0e()});var p0e=reactExports.useRef(x_);p0e.current=x_;var f0e=reactExports.useCallback(function(h0e){var b0e=p0e.current,m0e=b0e.onResize,v0e=b0e.data,g0e=h0e.getBoundingClientRect(),y0e=g0e.width,M0e=g0e.height,O0e=h0e.offsetWidth,z0e=h0e.offsetHeight,_0e=Math.floor(y0e),A0e=Math.floor(M0e);if(s0e.current.width!==_0e||s0e.current.height!==A0e||s0e.current.offsetWidth!==O0e||s0e.current.offsetHeight!==z0e){var $0e={width:_0e,height:A0e,offsetWidth:O0e,offsetHeight:z0e};s0e.current=$0e;var S0e=O0e===Math.round(y0e)?y0e:O0e,C0e=z0e===Math.round(M0e)?M0e:z0e,E0e=_objectSpread2$1(_objectSpread2$1({},$0e),{},{offsetWidth:S0e,offsetHeight:C0e});a0e==null||a0e(E0e,h0e,v0e),m0e&&Promise.resolve().then(function(){m0e(E0e,h0e)})}},[]);return reactExports.useEffect(function(){var h0e=d0e();return h0e&&!t0e&&observe$2(h0e,f0e),function(){return unobserve(h0e,f0e)}},[r0e.current,t0e]),reactExports.createElement(DomWrapper$1,{ref:n0e},l0e?reactExports.cloneElement(i0e,{ref:u0e}):i0e)}var RefSingleObserver=reactExports.forwardRef(SingleObserver),INTERNAL_PREFIX_KEY="rc-observer-key";function ResizeObserver$1(x_,e0e){var $P=x_.children,t0e=typeof $P=="function"?[$P]:toArray$6($P);return t0e.map(function(r0e,n0e){var a0e=(r0e==null?void 0:r0e.key)||"".concat(INTERNAL_PREFIX_KEY,"-").concat(n0e);return reactExports.createElement(RefSingleObserver,_extends$1z({},x_,{key:a0e,ref:n0e===0?e0e:void 0}),r0e)})}var RefResizeObserver=reactExports.forwardRef(ResizeObserver$1);RefResizeObserver.Collection=Collection;function omit$2(x_,e0e){var $P=_objectSpread2$1({},x_);return Array.isArray(e0e)&&e0e.forEach(function(t0e){delete $P[t0e]}),$P}function _arrayLikeToArray$3(x_,e0e){(e0e==null||e0e>x_.length)&&(e0e=x_.length);for(var $P=0,t0e=new Array(e0e);$P1&&arguments[1]!==void 0?arguments[1]:1;rafUUID$1+=1;var t0e=rafUUID$1;function r0e(n0e){if(n0e===0)cleanup$1(t0e),e0e();else{var a0e=raf$3(function(){r0e(n0e-1)});rafIds$1.set(t0e,a0e)}}return r0e($P),t0e};wrapperRaf$1.cancel=function(x_){var e0e=rafIds$1.get(x_);return cleanup$1(x_),caf$2(e0e)};function _arrayWithHoles$3(x_){if(Array.isArray(x_))return x_}function _iterableToArrayLimit$3(x_,e0e){var $P=x_==null?null:typeof Symbol<"u"&&x_[Symbol.iterator]||x_["@@iterator"];if($P!=null){var t0e,r0e,n0e,a0e,o0e=[],i0e=!0,s0e=!1;try{if(n0e=($P=$P.call(x_)).next,e0e===0){if(Object($P)!==$P)return;i0e=!1}else for(;!(i0e=(t0e=n0e.call($P)).done)&&(o0e.push(t0e.value),o0e.length!==e0e);i0e=!0);}catch(l0e){s0e=!0,r0e=l0e}finally{try{if(!i0e&&$P.return!=null&&(a0e=$P.return(),Object(a0e)!==a0e))return}finally{if(s0e)throw r0e}}return o0e}}function _nonIterableRest$3(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray$3(x_,e0e){return _arrayWithHoles$3(x_)||_iterableToArrayLimit$3(x_,e0e)||_unsupportedIterableToArray$3(x_,e0e)||_nonIterableRest$3()}function murmur2(x_){for(var e0e=0,$P,t0e=0,r0e=x_.length;r0e>=4;++t0e,r0e-=4)$P=x_.charCodeAt(t0e)&255|(x_.charCodeAt(++t0e)&255)<<8|(x_.charCodeAt(++t0e)&255)<<16|(x_.charCodeAt(++t0e)&255)<<24,$P=($P&65535)*1540483477+(($P>>>16)*59797<<16),$P^=$P>>>24,e0e=($P&65535)*1540483477+(($P>>>16)*59797<<16)^(e0e&65535)*1540483477+((e0e>>>16)*59797<<16);switch(r0e){case 3:e0e^=(x_.charCodeAt(t0e+2)&255)<<16;case 2:e0e^=(x_.charCodeAt(t0e+1)&255)<<8;case 1:e0e^=x_.charCodeAt(t0e)&255,e0e=(e0e&65535)*1540483477+((e0e>>>16)*59797<<16)}return e0e^=e0e>>>13,e0e=(e0e&65535)*1540483477+((e0e>>>16)*59797<<16),((e0e^e0e>>>15)>>>0).toString(36)}function canUseDom$1(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function contains$1(x_,e0e){if(!x_)return!1;if(x_.contains)return x_.contains(e0e);for(var $P=e0e;$P;){if($P===x_)return!0;$P=$P.parentNode}return!1}var APPEND_ORDER="data-rc-order",APPEND_PRIORITY="data-rc-priority",MARK_KEY="rc-util-key",containerCache=new Map;function getMark(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e0e=x_.mark;return e0e?e0e.startsWith("data-")?e0e:"data-".concat(e0e):MARK_KEY}function getContainer$1(x_){if(x_.attachTo)return x_.attachTo;var e0e=document.querySelector("head");return e0e||document.body}function getOrder(x_){return x_==="queue"?"prependQueue":x_?"prepend":"append"}function findStyles(x_){return Array.from((containerCache.get(x_)||x_).children).filter(function(e0e){return e0e.tagName==="STYLE"})}function injectCSS(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!canUseDom$1())return null;var $P=e0e.csp,t0e=e0e.prepend,r0e=e0e.priority,n0e=r0e===void 0?0:r0e,a0e=getOrder(t0e),o0e=a0e==="prependQueue",i0e=document.createElement("style");i0e.setAttribute(APPEND_ORDER,a0e),o0e&&n0e&&i0e.setAttribute(APPEND_PRIORITY,"".concat(n0e)),$P!=null&&$P.nonce&&(i0e.nonce=$P==null?void 0:$P.nonce),i0e.innerHTML=x_;var s0e=getContainer$1(e0e),l0e=s0e.firstChild;if(t0e){if(o0e){var c0e=findStyles(s0e).filter(function(u0e){if(!["prepend","prependQueue"].includes(u0e.getAttribute(APPEND_ORDER)))return!1;var d0e=Number(u0e.getAttribute(APPEND_PRIORITY)||0);return n0e>=d0e});if(c0e.length)return s0e.insertBefore(i0e,c0e[c0e.length-1].nextSibling),i0e}s0e.insertBefore(i0e,l0e)}else s0e.appendChild(i0e);return i0e}function findExistNode(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=getContainer$1(e0e);return findStyles($P).find(function(t0e){return t0e.getAttribute(getMark(e0e))===x_})}function removeCSS(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=findExistNode(x_,e0e);if($P){var t0e=getContainer$1(e0e);t0e.removeChild($P)}}function syncRealContainer(x_,e0e){var $P=containerCache.get(x_);if(!$P||!contains$1(document,$P)){var t0e=injectCSS("",e0e),r0e=t0e.parentNode;containerCache.set(x_,r0e),x_.removeChild(t0e)}}function updateCSS(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t0e=getContainer$1($P);syncRealContainer(t0e,$P);var r0e=findExistNode(e0e,$P);if(r0e){var n0e,a0e;if((n0e=$P.csp)!==null&&n0e!==void 0&&n0e.nonce&&r0e.nonce!==((a0e=$P.csp)===null||a0e===void 0?void 0:a0e.nonce)){var o0e;r0e.nonce=(o0e=$P.csp)===null||o0e===void 0?void 0:o0e.nonce}return r0e.innerHTML!==x_&&(r0e.innerHTML=x_),r0e}var i0e=injectCSS(x_,$P);return i0e.setAttribute(getMark($P),e0e),i0e}function _objectWithoutPropertiesLoose$2(x_,e0e){if(x_==null)return{};var $P={},t0e=Object.keys(x_),r0e,n0e;for(n0e=0;n0e=0)&&($P[r0e]=x_[r0e]);return $P}function _objectWithoutProperties$4(x_,e0e){if(x_==null)return{};var $P=_objectWithoutPropertiesLoose$2(x_,e0e),t0e,r0e;if(Object.getOwnPropertySymbols){var n0e=Object.getOwnPropertySymbols(x_);for(r0e=0;r0e=0)&&Object.prototype.propertyIsEnumerable.call(x_,t0e)&&($P[t0e]=x_[t0e])}return $P}function isEqual(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,t0e=new Set;function r0e(n0e,a0e){var o0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i0e=t0e.has(n0e);if(warningOnce$1(!i0e,"Warning: There may be circular references"),i0e)return!1;if(n0e===a0e)return!0;if($P&&o0e>1)return!1;t0e.add(n0e);var s0e=o0e+1;if(Array.isArray(n0e)){if(!Array.isArray(a0e)||n0e.length!==a0e.length)return!1;for(var l0e=0;l0e1&&arguments[1]!==void 0?arguments[1]:!1,a0e={map:this.cache};return $P.forEach(function(o0e){if(!a0e)a0e=void 0;else{var i0e;a0e=(i0e=a0e)===null||i0e===void 0||(i0e=i0e.map)===null||i0e===void 0?void 0:i0e.get(o0e)}}),(t0e=a0e)!==null&&t0e!==void 0&&t0e.value&&n0e&&(a0e.value[1]=this.cacheCallTimes++),(r0e=a0e)===null||r0e===void 0?void 0:r0e.value}},{key:"get",value:function($P){var t0e;return(t0e=this.internalGet($P,!0))===null||t0e===void 0?void 0:t0e[0]}},{key:"has",value:function($P){return!!this.internalGet($P)}},{key:"set",value:function($P,t0e){var r0e=this;if(!this.has($P)){if(this.size()+1>x_.MAX_CACHE_SIZE+x_.MAX_CACHE_OFFSET){var n0e=this.keys.reduce(function(s0e,l0e){var c0e=_slicedToArray$3(s0e,2),u0e=c0e[1];return r0e.internalGet(l0e)[1]0,void 0),uuid$6+=1}return _createClass$1(x_,[{key:"getDerivativeToken",value:function($P){return this.derivatives.reduce(function(t0e,r0e){return r0e($P,t0e)},void 0)}}]),x_}(),cacheThemes=new ThemeCache;function createTheme(x_){var e0e=Array.isArray(x_)?x_:[x_];return cacheThemes.has(e0e)||cacheThemes.set(e0e,new Theme(e0e)),cacheThemes.get(e0e)}var resultCache=new WeakMap,RESULT_VALUE={};function memoResult(x_,e0e){for(var $P=resultCache,t0e=0;t0e3&&arguments[3]!==void 0?arguments[3]:{},n0e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(n0e)return x_;var a0e=_objectSpread2$1(_objectSpread2$1({},r0e),{},(t0e={},_defineProperty$5(t0e,ATTR_TOKEN,e0e),_defineProperty$5(t0e,ATTR_MARK,$P),t0e)),o0e=Object.keys(a0e).map(function(i0e){var s0e=a0e[i0e];return s0e?"".concat(i0e,'="').concat(s0e,'"'):null}).filter(function(i0e){return i0e}).join(" ");return"")}var token2CSSVar=function(e0e){var $P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat($P?"".concat($P,"-"):"").concat(e0e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},serializeCSSVar=function(e0e,$P,t0e){return Object.keys(e0e).length?".".concat($P).concat(t0e!=null&&t0e.scope?".".concat(t0e.scope):"","{").concat(Object.entries(e0e).map(function(r0e){var n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1];return"".concat(a0e,":").concat(o0e,";")}).join(""),"}"):""},transformToken=function(e0e,$P,t0e){var r0e={},n0e={};return Object.entries(e0e).forEach(function(a0e){var o0e,i0e,s0e=_slicedToArray$3(a0e,2),l0e=s0e[0],c0e=s0e[1];if(t0e!=null&&(o0e=t0e.preserve)!==null&&o0e!==void 0&&o0e[l0e])n0e[l0e]=c0e;else if((typeof c0e=="string"||typeof c0e=="number")&&!(t0e!=null&&(i0e=t0e.ignore)!==null&&i0e!==void 0&&i0e[l0e])){var u0e,d0e=token2CSSVar(l0e,t0e==null?void 0:t0e.prefix);r0e[d0e]=typeof c0e=="number"&&!(t0e!=null&&(u0e=t0e.unitless)!==null&&u0e!==void 0&&u0e[l0e])?"".concat(c0e,"px"):String(c0e),n0e[l0e]="var(".concat(d0e,")")}}),[n0e,serializeCSSVar(r0e,$P,{scope:t0e==null?void 0:t0e.scope})]},useInternalLayoutEffect$1=canUseDom$1()?reactExports.useLayoutEffect:reactExports.useEffect,useLayoutEffect$2=function(e0e,$P){var t0e=reactExports.useRef(!0);useInternalLayoutEffect$1(function(){return e0e(t0e.current)},$P),useInternalLayoutEffect$1(function(){return t0e.current=!1,function(){t0e.current=!0}},[])},useLayoutUpdateEffect$1=function(e0e,$P){useLayoutEffect$2(function(t0e){if(!t0e)return e0e()},$P)},fullClone$3=_objectSpread2$1({},React$2),useInsertionEffect$1=fullClone$3.useInsertionEffect,useInsertionEffectPolyfill=function(e0e,$P,t0e){reactExports.useMemo(e0e,t0e),useLayoutEffect$2(function(){return $P(!0)},t0e)},useCompatibleInsertionEffect=useInsertionEffect$1?function(x_,e0e,$P){return useInsertionEffect$1(function(){return x_(),e0e()},$P)}:useInsertionEffectPolyfill,fullClone$2=_objectSpread2$1({},React$2),useInsertionEffect=fullClone$2.useInsertionEffect,useCleanupRegister=function(e0e){var $P=[],t0e=!1;function r0e(n0e){t0e||$P.push(n0e)}return reactExports.useEffect(function(){return t0e=!1,function(){t0e=!0,$P.length&&$P.forEach(function(n0e){return n0e()})}},e0e),r0e},useRun=function(){return function(e0e){e0e()}},useEffectCleanupRegister=typeof useInsertionEffect<"u"?useCleanupRegister:useRun;function useGlobalCache(x_,e0e,$P,t0e,r0e){var n0e=reactExports.useContext(StyleContext),a0e=n0e.cache,o0e=[x_].concat(_toConsumableArray$2(e0e)),i0e=o0e.join("_"),s0e=useEffectCleanupRegister([i0e]),l0e=function(p0e){a0e.update(o0e,function(f0e){var h0e=f0e||[void 0,void 0],b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=m0e===void 0?0:m0e,g0e=b0e[1],y0e=g0e,M0e=y0e||$P(),O0e=[v0e,M0e];return p0e?p0e(O0e):O0e})};reactExports.useMemo(function(){l0e()},[i0e]);var c0e=a0e.get(o0e),u0e=c0e[1];return useCompatibleInsertionEffect(function(){r0e==null||r0e(u0e)},function(d0e){return l0e(function(p0e){var f0e=_slicedToArray$3(p0e,2),h0e=f0e[0],b0e=f0e[1];return d0e&&h0e===0&&(r0e==null||r0e(u0e)),[h0e+1,b0e]}),function(){a0e.update(o0e,function(p0e){var f0e=p0e||[],h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=b0e===void 0?0:b0e,v0e=h0e[1],g0e=m0e-1;return g0e===0?(s0e(function(){(d0e||!a0e.get(o0e))&&(t0e==null||t0e(v0e,!1))}),null):[m0e-1,v0e]})}},[i0e]),u0e}var EMPTY_OVERRIDE={},hashPrefix="css",tokenKeys=new Map;function recordCleanToken(x_){tokenKeys.set(x_,(tokenKeys.get(x_)||0)+1)}function removeStyleTags(x_,e0e){if(typeof document<"u"){var $P=document.querySelectorAll("style[".concat(ATTR_TOKEN,'="').concat(x_,'"]'));$P.forEach(function(t0e){if(t0e[CSS_IN_JS_INSTANCE]===e0e){var r0e;(r0e=t0e.parentNode)===null||r0e===void 0||r0e.removeChild(t0e)}})}}var TOKEN_THRESHOLD=0;function cleanTokenStyle(x_,e0e){tokenKeys.set(x_,(tokenKeys.get(x_)||0)-1);var $P=Array.from(tokenKeys.keys()),t0e=$P.filter(function(r0e){var n0e=tokenKeys.get(r0e)||0;return n0e<=0});$P.length-t0e.length>TOKEN_THRESHOLD&&t0e.forEach(function(r0e){removeStyleTags(r0e,e0e),tokenKeys.delete(r0e)})}var getComputedToken$1=function(e0e,$P,t0e,r0e){var n0e=t0e.getDerivativeToken(e0e),a0e=_objectSpread2$1(_objectSpread2$1({},n0e),$P);return r0e&&(a0e=r0e(a0e)),a0e},TOKEN_PREFIX="token";function useCacheToken(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t0e=reactExports.useContext(StyleContext),r0e=t0e.cache.instanceId,n0e=t0e.container,a0e=$P.salt,o0e=a0e===void 0?"":a0e,i0e=$P.override,s0e=i0e===void 0?EMPTY_OVERRIDE:i0e,l0e=$P.formatToken,c0e=$P.getComputedToken,u0e=$P.cssVar,d0e=memoResult(function(){return Object.assign.apply(Object,[{}].concat(_toConsumableArray$2(e0e)))},e0e),p0e=flattenToken(d0e),f0e=flattenToken(s0e),h0e=u0e?flattenToken(u0e):"",b0e=useGlobalCache(TOKEN_PREFIX,[o0e,x_.id,p0e,f0e,h0e],function(){var m0e,v0e=c0e?c0e(d0e,s0e,x_):getComputedToken$1(d0e,s0e,x_,l0e),g0e=_objectSpread2$1({},v0e),y0e="";if(u0e){var M0e=transformToken(v0e,u0e.key,{prefix:u0e.prefix,ignore:u0e.ignore,unitless:u0e.unitless,preserve:u0e.preserve}),O0e=_slicedToArray$3(M0e,2);v0e=O0e[0],y0e=O0e[1]}var z0e=token2key(v0e,o0e);v0e._tokenKey=z0e,g0e._tokenKey=token2key(g0e,o0e);var _0e=(m0e=u0e==null?void 0:u0e.key)!==null&&m0e!==void 0?m0e:z0e;v0e._themeKey=_0e,recordCleanToken(_0e);var A0e="".concat(hashPrefix,"-").concat(murmur2(z0e));return v0e._hashId=A0e,[v0e,A0e,g0e,y0e,(u0e==null?void 0:u0e.key)||""]},function(m0e){cleanTokenStyle(m0e[0]._themeKey,r0e)},function(m0e){var v0e=_slicedToArray$3(m0e,4),g0e=v0e[0],y0e=v0e[3];if(u0e&&y0e){var M0e=updateCSS(y0e,murmur2("css-variables-".concat(g0e._themeKey)),{mark:ATTR_MARK,prepend:"queue",attachTo:n0e,priority:-999});M0e[CSS_IN_JS_INSTANCE]=r0e,M0e.setAttribute(ATTR_TOKEN,g0e._themeKey)}});return b0e}var extract$3=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,5),n0e=r0e[2],a0e=r0e[3],o0e=r0e[4],i0e=t0e||{},s0e=i0e.plain;if(!a0e)return null;var l0e=n0e._tokenKey,c0e=-999,u0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c0e)},d0e=toStyleStr(a0e,o0e,l0e,u0e,s0e);return[c0e,l0e,d0e]},unitlessKeys={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},COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs$2=Math.abs,from$1=String.fromCharCode;function trim(x_){return x_.trim()}function replace$1(x_,e0e,$P){return x_.replace(e0e,$P)}function indexof(x_,e0e){return x_.indexOf(e0e)}function charat(x_,e0e){return x_.charCodeAt(e0e)|0}function substr(x_,e0e,$P){return x_.slice(e0e,$P)}function strlen(x_){return x_.length}function sizeof(x_){return x_.length}function append$1(x_,e0e){return e0e.push(x_),x_}var line=1,column=1,length=0,position$1=0,character=0,characters="";function node(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){return{value:x_,root:e0e,parent:$P,type:t0e,props:r0e,children:n0e,line,column,length:a0e,return:"",siblings:o0e}}function char(){return character}function prev(){return character=position$1>0?charat(characters,--position$1):0,column--,character===10&&(column=1,line--),character}function next(){return character=position$12||token$2(character)>3?"":" "}function escaping(x_,e0e){for(;--e0e&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(x_,caret()+(e0e<6&&peek()==32&&next()==32))}function delimiter(x_){for(;next();)switch(character){case x_:return position$1;case 34:case 39:x_!==34&&x_!==39&&delimiter(character);break;case 40:x_===41&&delimiter(x_);break;case 92:next();break}return position$1}function commenter(x_,e0e){for(;next()&&x_+character!==47+10;)if(x_+character===42+42&&peek()===47)break;return"/*"+slice(e0e,position$1-1)+"*"+from$1(x_===47?x_:next())}function identifier$1(x_){for(;!token$2(peek());)next();return slice(x_,position$1)}function compile$1(x_){return dealloc(parse$5("",null,null,null,[""],x_=alloc(x_),0,[0],x_))}function parse$5(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e){for(var s0e=0,l0e=0,c0e=a0e,u0e=0,d0e=0,p0e=0,f0e=1,h0e=1,b0e=1,m0e=0,v0e="",g0e=r0e,y0e=n0e,M0e=t0e,O0e=v0e;h0e;)switch(p0e=m0e,m0e=next()){case 40:if(p0e!=108&&charat(O0e,c0e-1)==58){indexof(O0e+=replace$1(delimit(m0e),"&","&\f"),"&\f")!=-1&&(b0e=-1);break}case 34:case 39:case 91:O0e+=delimit(m0e);break;case 9:case 10:case 13:case 32:O0e+=whitespace$1(p0e);break;case 92:O0e+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append$1(comment(commenter(next(),caret()),e0e,$P,i0e),i0e);break;default:O0e+="/"}break;case 123*f0e:o0e[s0e++]=strlen(O0e)*b0e;case 125*f0e:case 59:case 0:switch(m0e){case 0:case 125:h0e=0;case 59+l0e:b0e==-1&&(O0e=replace$1(O0e,/\f/g,"")),d0e>0&&strlen(O0e)-c0e&&append$1(d0e>32?declaration(O0e+";",t0e,$P,c0e-1,i0e):declaration(replace$1(O0e," ","")+";",t0e,$P,c0e-2,i0e),i0e);break;case 59:O0e+=";";default:if(append$1(M0e=ruleset(O0e,e0e,$P,s0e,l0e,r0e,o0e,v0e,g0e=[],y0e=[],c0e,n0e),n0e),m0e===123)if(l0e===0)parse$5(O0e,e0e,M0e,M0e,g0e,n0e,c0e,o0e,y0e);else switch(u0e===99&&charat(O0e,3)===110?100:u0e){case 100:case 108:case 109:case 115:parse$5(x_,M0e,M0e,t0e&&append$1(ruleset(x_,M0e,M0e,0,0,r0e,o0e,v0e,r0e,g0e=[],c0e,y0e),y0e),r0e,y0e,c0e,o0e,t0e?g0e:y0e);break;default:parse$5(O0e,M0e,M0e,M0e,[""],y0e,0,o0e,y0e)}}s0e=l0e=d0e=0,f0e=b0e=1,v0e=O0e="",c0e=a0e;break;case 58:c0e=1+strlen(O0e),d0e=p0e;default:if(f0e<1){if(m0e==123)--f0e;else if(m0e==125&&f0e++==0&&prev()==125)continue}switch(O0e+=from$1(m0e),m0e*f0e){case 38:b0e=l0e>0?1:(O0e+="\f",-1);break;case 44:o0e[s0e++]=(strlen(O0e)-1)*b0e,b0e=1;break;case 64:peek()===45&&(O0e+=delimit(next())),u0e=peek(),l0e=c0e=strlen(v0e=O0e+=identifier$1(caret())),m0e++;break;case 45:p0e===45&&strlen(O0e)==2&&(f0e=0)}}return n0e}function ruleset(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e,s0e,l0e,c0e){for(var u0e=r0e-1,d0e=r0e===0?n0e:[""],p0e=sizeof(d0e),f0e=0,h0e=0,b0e=0;f0e0?d0e[m0e]+" "+v0e:replace$1(v0e,/&\f/g,d0e[m0e])))&&(i0e[b0e++]=g0e);return node(x_,e0e,$P,r0e===0?RULESET:o0e,i0e,s0e,l0e,c0e)}function comment(x_,e0e,$P,t0e){return node(x_,e0e,$P,COMMENT,from$1(char()),substr(x_,2,-2),0,t0e)}function declaration(x_,e0e,$P,t0e,r0e){return node(x_,e0e,$P,DECLARATION,substr(x_,0,t0e),substr(x_,t0e+1,-1),t0e,r0e)}function serialize(x_,e0e){for(var $P="",t0e=0;t0e1&&arguments[1]!==void 0?arguments[1]:{},t0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},r0e=t0e.root,n0e=t0e.injectHash,a0e=t0e.parentSelectors,o0e=$P.hashId,i0e=$P.layer;$P.path;var s0e=$P.hashPriority,l0e=$P.transformers,c0e=l0e===void 0?[]:l0e;$P.linters;var u0e="",d0e={};function p0e(v0e){var g0e=v0e.getName(o0e);if(!d0e[g0e]){var y0e=x_(v0e.style,$P,{root:!1,parentSelectors:a0e}),M0e=_slicedToArray$3(y0e,1),O0e=M0e[0];d0e[g0e]="@keyframes ".concat(v0e.getName(o0e)).concat(O0e)}}function f0e(v0e){var g0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v0e.forEach(function(y0e){Array.isArray(y0e)?f0e(y0e,g0e):y0e&&g0e.push(y0e)}),g0e}var h0e=f0e(Array.isArray(e0e)?e0e:[e0e]);if(h0e.forEach(function(v0e){var g0e=typeof v0e=="string"&&!r0e?{}:v0e;if(typeof g0e=="string")u0e+="".concat(g0e,` -`);else if(g0e._keyframe)p0e(g0e);else{var y0e=c0e.reduce(function(M0e,O0e){var z0e;return(O0e==null||(z0e=O0e.visit)===null||z0e===void 0?void 0:z0e.call(O0e,M0e))||M0e},g0e);Object.keys(y0e).forEach(function(M0e){var O0e=y0e[M0e];if(_typeof$2(O0e)==="object"&&O0e&&(M0e!=="animationName"||!O0e._keyframe)&&!isCompoundCSSProperty(O0e)){var z0e=!1,_0e=M0e.trim(),A0e=!1;(r0e||n0e)&&o0e?_0e.startsWith("@")?z0e=!0:_0e=injectSelectorHash(M0e,o0e,s0e):r0e&&!o0e&&(_0e==="&"||_0e==="")&&(_0e="",A0e=!0);var $0e=x_(O0e,$P,{root:A0e,injectHash:z0e,parentSelectors:[].concat(_toConsumableArray$2(a0e),[_0e])}),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1];d0e=_objectSpread2$1(_objectSpread2$1({},d0e),E0e),u0e+="".concat(_0e).concat(C0e)}else{let T0e=function(D0e,W0e){var k0e=D0e.replace(/[A-Z]/g,function(N0e){return"-".concat(N0e.toLowerCase())}),q0e=W0e;!unitlessKeys[D0e]&&typeof q0e=="number"&&q0e!==0&&(q0e="".concat(q0e,"px")),D0e==="animationName"&&W0e!==null&&W0e!==void 0&&W0e._keyframe&&(p0e(W0e),q0e=W0e.getName(o0e)),u0e+="".concat(k0e,":").concat(q0e,";")};var w0e,R0e=(w0e=O0e==null?void 0:O0e.value)!==null&&w0e!==void 0?w0e:O0e;_typeof$2(O0e)==="object"&&O0e!==null&&O0e!==void 0&&O0e[MULTI_VALUE]&&Array.isArray(R0e)?R0e.forEach(function(D0e){T0e(M0e,D0e)}):T0e(M0e,R0e)}})}}),!r0e)u0e="{".concat(u0e,"}");else if(i0e&&supportLayer()){var b0e=i0e.split(","),m0e=b0e[b0e.length-1].trim();u0e="@layer ".concat(m0e," {").concat(u0e,"}"),b0e.length>1&&(u0e="@layer ".concat(i0e,"{%%%:%}").concat(u0e))}return[u0e,d0e]};function uniqueHash(x_,e0e){return murmur2("".concat(x_.join("%")).concat(e0e))}function Empty$3(){return null}var STYLE_PREFIX="style";function useStyleRegister(x_,e0e){var $P=x_.token,t0e=x_.path,r0e=x_.hashId,n0e=x_.layer,a0e=x_.nonce,o0e=x_.clientOnly,i0e=x_.order,s0e=i0e===void 0?0:i0e,l0e=reactExports.useContext(StyleContext),c0e=l0e.autoClear;l0e.mock;var u0e=l0e.defaultCache,d0e=l0e.hashPriority,p0e=l0e.container,f0e=l0e.ssrInline,h0e=l0e.transformers,b0e=l0e.linters,m0e=l0e.cache,v0e=$P._tokenKey,g0e=[v0e].concat(_toConsumableArray$2(t0e)),y0e=isClientSide,M0e=useGlobalCache(STYLE_PREFIX,g0e,function(){var $0e=g0e.join("|");if(existPath($0e)){var S0e=getStyleAndHash($0e),C0e=_slicedToArray$3(S0e,2),E0e=C0e[0],w0e=C0e[1];if(E0e)return[E0e,v0e,w0e,{},o0e,s0e]}var R0e=e0e(),T0e=parseStyle(R0e,{hashId:r0e,hashPriority:d0e,layer:n0e,path:t0e.join("-"),transformers:h0e,linters:b0e}),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=normalizeStyle(W0e),N0e=uniqueHash(g0e,q0e);return[q0e,v0e,N0e,k0e,o0e,s0e]},function($0e,S0e){var C0e=_slicedToArray$3($0e,3),E0e=C0e[2];(S0e||c0e)&&isClientSide&&removeCSS(E0e,{mark:ATTR_MARK})},function($0e){var S0e=_slicedToArray$3($0e,4),C0e=S0e[0];S0e[1];var E0e=S0e[2],w0e=S0e[3];if(y0e&&C0e!==CSS_FILE_STYLE){var R0e={mark:ATTR_MARK,prepend:"queue",attachTo:p0e,priority:s0e},T0e=typeof a0e=="function"?a0e():a0e;T0e&&(R0e.csp={nonce:T0e});var D0e=updateCSS(C0e,E0e,R0e);D0e[CSS_IN_JS_INSTANCE]=m0e.instanceId,D0e.setAttribute(ATTR_TOKEN,v0e),Object.keys(w0e).forEach(function(W0e){updateCSS(normalizeStyle(w0e[W0e]),"_effect-".concat(W0e),R0e)})}}),O0e=_slicedToArray$3(M0e,3),z0e=O0e[0],_0e=O0e[1],A0e=O0e[2];return function($0e){var S0e;if(!f0e||y0e||!u0e)S0e=reactExports.createElement(Empty$3,null);else{var C0e;S0e=reactExports.createElement("style",_extends$1z({},(C0e={},_defineProperty$5(C0e,ATTR_TOKEN,_0e),_defineProperty$5(C0e,ATTR_MARK,A0e),C0e),{dangerouslySetInnerHTML:{__html:z0e}}))}return reactExports.createElement(reactExports.Fragment,null,S0e,$0e)}}var extract$2=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,6),n0e=r0e[0],a0e=r0e[1],o0e=r0e[2],i0e=r0e[3],s0e=r0e[4],l0e=r0e[5],c0e=t0e||{},u0e=c0e.plain;if(s0e)return null;var d0e=n0e,p0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l0e)};return d0e=toStyleStr(n0e,a0e,o0e,p0e,u0e),i0e&&Object.keys(i0e).forEach(function(f0e){if(!$P[f0e]){$P[f0e]=!0;var h0e=normalizeStyle(i0e[f0e]);d0e+=toStyleStr(h0e,a0e,"_effect-".concat(f0e),p0e,u0e)}}),[l0e,o0e,d0e]},CSS_VAR_PREFIX="cssVar",useCSSVarRegister=function(e0e,$P){var t0e=e0e.key,r0e=e0e.prefix,n0e=e0e.unitless,a0e=e0e.ignore,o0e=e0e.token,i0e=e0e.scope,s0e=i0e===void 0?"":i0e,l0e=reactExports.useContext(StyleContext),c0e=l0e.cache.instanceId,u0e=l0e.container,d0e=o0e._tokenKey,p0e=[].concat(_toConsumableArray$2(e0e.path),[t0e,s0e,d0e]),f0e=useGlobalCache(CSS_VAR_PREFIX,p0e,function(){var h0e=$P(),b0e=transformToken(h0e,t0e,{prefix:r0e,unitless:n0e,ignore:a0e,scope:s0e}),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1],y0e=uniqueHash(p0e,g0e);return[v0e,g0e,y0e,t0e]},function(h0e){var b0e=_slicedToArray$3(h0e,3),m0e=b0e[2];isClientSide&&removeCSS(m0e,{mark:ATTR_MARK})},function(h0e){var b0e=_slicedToArray$3(h0e,3),m0e=b0e[1],v0e=b0e[2];if(m0e){var g0e=updateCSS(m0e,v0e,{mark:ATTR_MARK,prepend:"queue",attachTo:u0e,priority:-999});g0e[CSS_IN_JS_INSTANCE]=c0e,g0e.setAttribute(ATTR_TOKEN,t0e)}});return f0e},extract$1=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,4),n0e=r0e[1],a0e=r0e[2],o0e=r0e[3],i0e=t0e||{},s0e=i0e.plain;if(!n0e)return null;var l0e=-999,c0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l0e)},u0e=toStyleStr(n0e,o0e,a0e,c0e,s0e);return[l0e,a0e,u0e]},_ExtractStyleFns;_ExtractStyleFns={},_defineProperty$5(_ExtractStyleFns,STYLE_PREFIX,extract$2),_defineProperty$5(_ExtractStyleFns,TOKEN_PREFIX,extract$3),_defineProperty$5(_ExtractStyleFns,CSS_VAR_PREFIX,extract$1);var Keyframe=function(){function x_(e0e,$P){_classCallCheck$1(this,x_),_defineProperty$5(this,"name",void 0),_defineProperty$5(this,"style",void 0),_defineProperty$5(this,"_keyframe",!0),this.name=e0e,this.style=$P}return _createClass$1(x_,[{key:"getName",value:function(){var $P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $P?"".concat($P,"-").concat(this.name):this.name}}]),x_}();function noSplit(x_){return x_.notSplit=!0,x_}noSplit(["borderTop","borderBottom"]),noSplit(["borderTop"]),noSplit(["borderBottom"]),noSplit(["borderLeft","borderRight"]),noSplit(["borderLeft"]),noSplit(["borderRight"]);var IconContext=reactExports.createContext({});const Context$3=IconContext;function _toArray(x_){return _arrayWithHoles$3(x_)||_iterableToArray$2(x_)||_unsupportedIterableToArray$3(x_)||_nonIterableRest$3()}function get$6(x_,e0e){for(var $P=x_,t0e=0;t0e3&&arguments[3]!==void 0?arguments[3]:!1;return e0e.length&&t0e&&$P===void 0&&!get$6(x_,e0e.slice(0,-1))?x_:internalSet(x_,e0e,$P,t0e)}function isObject$g(x_){return _typeof$2(x_)==="object"&&x_!==null&&Object.getPrototypeOf(x_)===Object.prototype}function createEmpty(x_){return Array.isArray(x_)?[]:{}}var keys$b=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function merge$3(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P{const x_=()=>{};return x_.deprecated=noop$d,x_},ValidateMessagesContext=reactExports.createContext(void 0);var locale$c={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"},locale$b={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const locale$a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},TimePicker=locale$a,locale$9={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"]},locale$b),timePickerLocale:Object.assign({},TimePicker)},enUS$1=locale$9,typeTemplate$3="${label} is not a valid ${type}",localeValues$2={locale:"en",Pagination:locale$c,DatePicker:enUS$1,TimePicker,Calendar:enUS$1,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",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"},PageHeader:{back:"Back"},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:typeTemplate$3,method:typeTemplate$3,array:typeTemplate$3,object:typeTemplate$3,number:typeTemplate$3,date:typeTemplate$3,boolean:typeTemplate$3,integer:typeTemplate$3,float:typeTemplate$3,regexp:typeTemplate$3,email:typeTemplate$3,url:typeTemplate$3,hex:typeTemplate$3},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"},ColorPicker:{presetEmpty:"Empty"}},defaultLocale$1=localeValues$2;Object.assign({},defaultLocale$1.Modal);let localeList=[];const generateLocale=()=>localeList.reduce((x_,e0e)=>Object.assign(Object.assign({},x_),e0e),defaultLocale$1.Modal);function changeConfirmLocale(x_){if(x_){const e0e=Object.assign({},x_);return localeList.push(e0e),generateLocale(),()=>{localeList=localeList.filter($P=>$P!==e0e),generateLocale()}}Object.assign({},defaultLocale$1.Modal)}const LocaleContext$1=reactExports.createContext(void 0),LocaleContext$2=LocaleContext$1,useLocale=(x_,e0e)=>{const $P=reactExports.useContext(LocaleContext$2),t0e=reactExports.useMemo(()=>{var n0e;const a0e=e0e||defaultLocale$1[x_],o0e=(n0e=$P==null?void 0:$P[x_])!==null&&n0e!==void 0?n0e:{};return Object.assign(Object.assign({},typeof a0e=="function"?a0e():a0e),o0e||{})},[x_,e0e,$P]),r0e=reactExports.useMemo(()=>{const n0e=$P==null?void 0:$P.locale;return $P!=null&&$P.exist&&!n0e?defaultLocale$1.locale:n0e},[$P]);return[t0e,r0e]},useLocale$1=useLocale,ANT_MARK="internalMark",LocaleProvider=x_=>{const{locale:e0e={},children:$P,_ANT_MARK__:t0e}=x_;reactExports.useEffect(()=>changeConfirmLocale(e0e&&e0e.Modal),[e0e]);const r0e=reactExports.useMemo(()=>Object.assign(Object.assign({},e0e),{exist:!0}),[e0e]);return reactExports.createElement(LocaleContext$2.Provider,{value:r0e},$P)},LocaleProvider$1=LocaleProvider;function bound01(x_,e0e){isOnePointZero(x_)&&(x_="100%");var $P=isPercentage(x_);return x_=e0e===360?x_:Math.min(e0e,Math.max(0,parseFloat(x_))),$P&&(x_=parseInt(String(x_*e0e),10)/100),Math.abs(x_-e0e)<1e-6?1:(e0e===360?x_=(x_<0?x_%e0e+e0e:x_%e0e)/parseFloat(String(e0e)):x_=x_%e0e/parseFloat(String(e0e)),x_)}function clamp01(x_){return Math.min(1,Math.max(0,x_))}function isOnePointZero(x_){return typeof x_=="string"&&x_.indexOf(".")!==-1&&parseFloat(x_)===1}function isPercentage(x_){return typeof x_=="string"&&x_.indexOf("%")!==-1}function boundAlpha(x_){return x_=parseFloat(x_),(isNaN(x_)||x_<0||x_>1)&&(x_=1),x_}function convertToPercentage(x_){return x_<=1?"".concat(Number(x_)*100,"%"):x_}function pad2(x_){return x_.length===1?"0"+x_:String(x_)}function rgbToRgb(x_,e0e,$P){return{r:bound01(x_,255)*255,g:bound01(e0e,255)*255,b:bound01($P,255)*255}}function rgbToHsl(x_,e0e,$P){x_=bound01(x_,255),e0e=bound01(e0e,255),$P=bound01($P,255);var t0e=Math.max(x_,e0e,$P),r0e=Math.min(x_,e0e,$P),n0e=0,a0e=0,o0e=(t0e+r0e)/2;if(t0e===r0e)a0e=0,n0e=0;else{var i0e=t0e-r0e;switch(a0e=o0e>.5?i0e/(2-t0e-r0e):i0e/(t0e+r0e),t0e){case x_:n0e=(e0e-$P)/i0e+(e0e<$P?6:0);break;case e0e:n0e=($P-x_)/i0e+2;break;case $P:n0e=(x_-e0e)/i0e+4;break}n0e/=6}return{h:n0e,s:a0e,l:o0e}}function hue2rgb(x_,e0e,$P){return $P<0&&($P+=1),$P>1&&($P-=1),$P<1/6?x_+(e0e-x_)*(6*$P):$P<1/2?e0e:$P<2/3?x_+(e0e-x_)*(2/3-$P)*6:x_}function hslToRgb(x_,e0e,$P){var t0e,r0e,n0e;if(x_=bound01(x_,360),e0e=bound01(e0e,100),$P=bound01($P,100),e0e===0)r0e=$P,n0e=$P,t0e=$P;else{var a0e=$P<.5?$P*(1+e0e):$P+e0e-$P*e0e,o0e=2*$P-a0e;t0e=hue2rgb(o0e,a0e,x_+1/3),r0e=hue2rgb(o0e,a0e,x_),n0e=hue2rgb(o0e,a0e,x_-1/3)}return{r:t0e*255,g:r0e*255,b:n0e*255}}function rgbToHsv(x_,e0e,$P){x_=bound01(x_,255),e0e=bound01(e0e,255),$P=bound01($P,255);var t0e=Math.max(x_,e0e,$P),r0e=Math.min(x_,e0e,$P),n0e=0,a0e=t0e,o0e=t0e-r0e,i0e=t0e===0?0:o0e/t0e;if(t0e===r0e)n0e=0;else{switch(t0e){case x_:n0e=(e0e-$P)/o0e+(e0e<$P?6:0);break;case e0e:n0e=($P-x_)/o0e+2;break;case $P:n0e=(x_-e0e)/o0e+4;break}n0e/=6}return{h:n0e,s:i0e,v:a0e}}function hsvToRgb(x_,e0e,$P){x_=bound01(x_,360)*6,e0e=bound01(e0e,100),$P=bound01($P,100);var t0e=Math.floor(x_),r0e=x_-t0e,n0e=$P*(1-e0e),a0e=$P*(1-r0e*e0e),o0e=$P*(1-(1-r0e)*e0e),i0e=t0e%6,s0e=[$P,a0e,n0e,n0e,o0e,$P][i0e],l0e=[o0e,$P,$P,a0e,n0e,n0e][i0e],c0e=[n0e,n0e,o0e,$P,$P,a0e][i0e];return{r:s0e*255,g:l0e*255,b:c0e*255}}function rgbToHex(x_,e0e,$P,t0e){var r0e=[pad2(Math.round(x_).toString(16)),pad2(Math.round(e0e).toString(16)),pad2(Math.round($P).toString(16))];return t0e&&r0e[0].startsWith(r0e[0].charAt(1))&&r0e[1].startsWith(r0e[1].charAt(1))&&r0e[2].startsWith(r0e[2].charAt(1))?r0e[0].charAt(0)+r0e[1].charAt(0)+r0e[2].charAt(0):r0e.join("")}function rgbaToHex$1(x_,e0e,$P,t0e,r0e){var n0e=[pad2(Math.round(x_).toString(16)),pad2(Math.round(e0e).toString(16)),pad2(Math.round($P).toString(16)),pad2(convertDecimalToHex(t0e))];return r0e&&n0e[0].startsWith(n0e[0].charAt(1))&&n0e[1].startsWith(n0e[1].charAt(1))&&n0e[2].startsWith(n0e[2].charAt(1))&&n0e[3].startsWith(n0e[3].charAt(1))?n0e[0].charAt(0)+n0e[1].charAt(0)+n0e[2].charAt(0)+n0e[3].charAt(0):n0e.join("")}function convertDecimalToHex(x_){return Math.round(parseFloat(x_)*255).toString(16)}function convertHexToDecimal(x_){return parseIntFromHex(x_)/255}function parseIntFromHex(x_){return parseInt(x_,16)}function numberInputToObject(x_){return{r:x_>>16,g:(x_&65280)>>8,b:x_&255}}var names={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"};function inputToRGB(x_){var e0e={r:0,g:0,b:0},$P=1,t0e=null,r0e=null,n0e=null,a0e=!1,o0e=!1;return typeof x_=="string"&&(x_=stringInputToObject(x_)),typeof x_=="object"&&(isValidCSSUnit(x_.r)&&isValidCSSUnit(x_.g)&&isValidCSSUnit(x_.b)?(e0e=rgbToRgb(x_.r,x_.g,x_.b),a0e=!0,o0e=String(x_.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(x_.h)&&isValidCSSUnit(x_.s)&&isValidCSSUnit(x_.v)?(t0e=convertToPercentage(x_.s),r0e=convertToPercentage(x_.v),e0e=hsvToRgb(x_.h,t0e,r0e),a0e=!0,o0e="hsv"):isValidCSSUnit(x_.h)&&isValidCSSUnit(x_.s)&&isValidCSSUnit(x_.l)&&(t0e=convertToPercentage(x_.s),n0e=convertToPercentage(x_.l),e0e=hslToRgb(x_.h,t0e,n0e),a0e=!0,o0e="hsl"),Object.prototype.hasOwnProperty.call(x_,"a")&&($P=x_.a)),$P=boundAlpha($P),{ok:a0e,format:x_.format||o0e,r:Math.min(255,Math.max(e0e.r,0)),g:Math.min(255,Math.max(e0e.g,0)),b:Math.min(255,Math.max(e0e.b,0)),a:$P}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),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 stringInputToObject(x_){if(x_=x_.trim().toLowerCase(),x_.length===0)return!1;var e0e=!1;if(names[x_])x_=names[x_],e0e=!0;else if(x_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var $P=matchers.rgb.exec(x_);return $P?{r:$P[1],g:$P[2],b:$P[3]}:($P=matchers.rgba.exec(x_),$P?{r:$P[1],g:$P[2],b:$P[3],a:$P[4]}:($P=matchers.hsl.exec(x_),$P?{h:$P[1],s:$P[2],l:$P[3]}:($P=matchers.hsla.exec(x_),$P?{h:$P[1],s:$P[2],l:$P[3],a:$P[4]}:($P=matchers.hsv.exec(x_),$P?{h:$P[1],s:$P[2],v:$P[3]}:($P=matchers.hsva.exec(x_),$P?{h:$P[1],s:$P[2],v:$P[3],a:$P[4]}:($P=matchers.hex8.exec(x_),$P?{r:parseIntFromHex($P[1]),g:parseIntFromHex($P[2]),b:parseIntFromHex($P[3]),a:convertHexToDecimal($P[4]),format:e0e?"name":"hex8"}:($P=matchers.hex6.exec(x_),$P?{r:parseIntFromHex($P[1]),g:parseIntFromHex($P[2]),b:parseIntFromHex($P[3]),format:e0e?"name":"hex"}:($P=matchers.hex4.exec(x_),$P?{r:parseIntFromHex($P[1]+$P[1]),g:parseIntFromHex($P[2]+$P[2]),b:parseIntFromHex($P[3]+$P[3]),a:convertHexToDecimal($P[4]+$P[4]),format:e0e?"name":"hex8"}:($P=matchers.hex3.exec(x_),$P?{r:parseIntFromHex($P[1]+$P[1]),g:parseIntFromHex($P[2]+$P[2]),b:parseIntFromHex($P[3]+$P[3]),format:e0e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(x_){return!!matchers.CSS_UNIT.exec(String(x_))}var TinyColor=function(){function x_(e0e,$P){e0e===void 0&&(e0e=""),$P===void 0&&($P={});var t0e;if(e0e instanceof x_)return e0e;typeof e0e=="number"&&(e0e=numberInputToObject(e0e)),this.originalInput=e0e;var r0e=inputToRGB(e0e);this.originalInput=e0e,this.r=r0e.r,this.g=r0e.g,this.b=r0e.b,this.a=r0e.a,this.roundA=Math.round(100*this.a)/100,this.format=(t0e=$P.format)!==null&&t0e!==void 0?t0e:r0e.format,this.gradientType=$P.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=r0e.ok}return x_.prototype.isDark=function(){return this.getBrightness()<128},x_.prototype.isLight=function(){return!this.isDark()},x_.prototype.getBrightness=function(){var e0e=this.toRgb();return(e0e.r*299+e0e.g*587+e0e.b*114)/1e3},x_.prototype.getLuminance=function(){var e0e=this.toRgb(),$P,t0e,r0e,n0e=e0e.r/255,a0e=e0e.g/255,o0e=e0e.b/255;return n0e<=.03928?$P=n0e/12.92:$P=Math.pow((n0e+.055)/1.055,2.4),a0e<=.03928?t0e=a0e/12.92:t0e=Math.pow((a0e+.055)/1.055,2.4),o0e<=.03928?r0e=o0e/12.92:r0e=Math.pow((o0e+.055)/1.055,2.4),.2126*$P+.7152*t0e+.0722*r0e},x_.prototype.getAlpha=function(){return this.a},x_.prototype.setAlpha=function(e0e){return this.a=boundAlpha(e0e),this.roundA=Math.round(100*this.a)/100,this},x_.prototype.isMonochrome=function(){var e0e=this.toHsl().s;return e0e===0},x_.prototype.toHsv=function(){var e0e=rgbToHsv(this.r,this.g,this.b);return{h:e0e.h*360,s:e0e.s,v:e0e.v,a:this.a}},x_.prototype.toHsvString=function(){var e0e=rgbToHsv(this.r,this.g,this.b),$P=Math.round(e0e.h*360),t0e=Math.round(e0e.s*100),r0e=Math.round(e0e.v*100);return this.a===1?"hsv(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%)"):"hsva(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%, ").concat(this.roundA,")")},x_.prototype.toHsl=function(){var e0e=rgbToHsl(this.r,this.g,this.b);return{h:e0e.h*360,s:e0e.s,l:e0e.l,a:this.a}},x_.prototype.toHslString=function(){var e0e=rgbToHsl(this.r,this.g,this.b),$P=Math.round(e0e.h*360),t0e=Math.round(e0e.s*100),r0e=Math.round(e0e.l*100);return this.a===1?"hsl(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%)"):"hsla(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%, ").concat(this.roundA,")")},x_.prototype.toHex=function(e0e){return e0e===void 0&&(e0e=!1),rgbToHex(this.r,this.g,this.b,e0e)},x_.prototype.toHexString=function(e0e){return e0e===void 0&&(e0e=!1),"#"+this.toHex(e0e)},x_.prototype.toHex8=function(e0e){return e0e===void 0&&(e0e=!1),rgbaToHex$1(this.r,this.g,this.b,this.a,e0e)},x_.prototype.toHex8String=function(e0e){return e0e===void 0&&(e0e=!1),"#"+this.toHex8(e0e)},x_.prototype.toHexShortString=function(e0e){return e0e===void 0&&(e0e=!1),this.a===1?this.toHexString(e0e):this.toHex8String(e0e)},x_.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},x_.prototype.toRgbString=function(){var e0e=Math.round(this.r),$P=Math.round(this.g),t0e=Math.round(this.b);return this.a===1?"rgb(".concat(e0e,", ").concat($P,", ").concat(t0e,")"):"rgba(".concat(e0e,", ").concat($P,", ").concat(t0e,", ").concat(this.roundA,")")},x_.prototype.toPercentageRgb=function(){var e0e=function($P){return"".concat(Math.round(bound01($P,255)*100),"%")};return{r:e0e(this.r),g:e0e(this.g),b:e0e(this.b),a:this.a}},x_.prototype.toPercentageRgbString=function(){var e0e=function($P){return Math.round(bound01($P,255)*100)};return this.a===1?"rgb(".concat(e0e(this.r),"%, ").concat(e0e(this.g),"%, ").concat(e0e(this.b),"%)"):"rgba(".concat(e0e(this.r),"%, ").concat(e0e(this.g),"%, ").concat(e0e(this.b),"%, ").concat(this.roundA,")")},x_.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e0e="#"+rgbToHex(this.r,this.g,this.b,!1),$P=0,t0e=Object.entries(names);$P=0,n0e=!$P&&r0e&&(e0e.startsWith("hex")||e0e==="name");return n0e?e0e==="name"&&this.a===0?this.toName():this.toRgbString():(e0e==="rgb"&&(t0e=this.toRgbString()),e0e==="prgb"&&(t0e=this.toPercentageRgbString()),(e0e==="hex"||e0e==="hex6")&&(t0e=this.toHexString()),e0e==="hex3"&&(t0e=this.toHexString(!0)),e0e==="hex4"&&(t0e=this.toHex8String(!0)),e0e==="hex8"&&(t0e=this.toHex8String()),e0e==="name"&&(t0e=this.toName()),e0e==="hsl"&&(t0e=this.toHslString()),e0e==="hsv"&&(t0e=this.toHsvString()),t0e||this.toHexString())},x_.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},x_.prototype.clone=function(){return new x_(this.toString())},x_.prototype.lighten=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.l+=e0e/100,$P.l=clamp01($P.l),new x_($P)},x_.prototype.brighten=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toRgb();return $P.r=Math.max(0,Math.min(255,$P.r-Math.round(255*-(e0e/100)))),$P.g=Math.max(0,Math.min(255,$P.g-Math.round(255*-(e0e/100)))),$P.b=Math.max(0,Math.min(255,$P.b-Math.round(255*-(e0e/100)))),new x_($P)},x_.prototype.darken=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.l-=e0e/100,$P.l=clamp01($P.l),new x_($P)},x_.prototype.tint=function(e0e){return e0e===void 0&&(e0e=10),this.mix("white",e0e)},x_.prototype.shade=function(e0e){return e0e===void 0&&(e0e=10),this.mix("black",e0e)},x_.prototype.desaturate=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.s-=e0e/100,$P.s=clamp01($P.s),new x_($P)},x_.prototype.saturate=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.s+=e0e/100,$P.s=clamp01($P.s),new x_($P)},x_.prototype.greyscale=function(){return this.desaturate(100)},x_.prototype.spin=function(e0e){var $P=this.toHsl(),t0e=($P.h+e0e)%360;return $P.h=t0e<0?360+t0e:t0e,new x_($P)},x_.prototype.mix=function(e0e,$P){$P===void 0&&($P=50);var t0e=this.toRgb(),r0e=new x_(e0e).toRgb(),n0e=$P/100,a0e={r:(r0e.r-t0e.r)*n0e+t0e.r,g:(r0e.g-t0e.g)*n0e+t0e.g,b:(r0e.b-t0e.b)*n0e+t0e.b,a:(r0e.a-t0e.a)*n0e+t0e.a};return new x_(a0e)},x_.prototype.analogous=function(e0e,$P){e0e===void 0&&(e0e=6),$P===void 0&&($P=30);var t0e=this.toHsl(),r0e=360/$P,n0e=[this];for(t0e.h=(t0e.h-(r0e*e0e>>1)+720)%360;--e0e;)t0e.h=(t0e.h+r0e)%360,n0e.push(new x_(t0e));return n0e},x_.prototype.complement=function(){var e0e=this.toHsl();return e0e.h=(e0e.h+180)%360,new x_(e0e)},x_.prototype.monochromatic=function(e0e){e0e===void 0&&(e0e=6);for(var $P=this.toHsv(),t0e=$P.h,r0e=$P.s,n0e=$P.v,a0e=[],o0e=1/e0e;e0e--;)a0e.push(new x_({h:t0e,s:r0e,v:n0e})),n0e=(n0e+o0e)%1;return a0e},x_.prototype.splitcomplement=function(){var e0e=this.toHsl(),$P=e0e.h;return[this,new x_({h:($P+72)%360,s:e0e.s,l:e0e.l}),new x_({h:($P+216)%360,s:e0e.s,l:e0e.l})]},x_.prototype.onBackground=function(e0e){var $P=this.toRgb(),t0e=new x_(e0e).toRgb(),r0e=$P.a+t0e.a*(1-$P.a);return new x_({r:($P.r*$P.a+t0e.r*t0e.a*(1-$P.a))/r0e,g:($P.g*$P.a+t0e.g*t0e.a*(1-$P.a))/r0e,b:($P.b*$P.a+t0e.b*t0e.a*(1-$P.a))/r0e,a:r0e})},x_.prototype.triad=function(){return this.polyad(3)},x_.prototype.tetrad=function(){return this.polyad(4)},x_.prototype.polyad=function(e0e){for(var $P=this.toHsl(),t0e=$P.h,r0e=[this],n0e=360/e0e,a0e=1;a0e=60&&Math.round(x_.h)<=240?t0e=$P?Math.round(x_.h)-hueStep*e0e:Math.round(x_.h)+hueStep*e0e:t0e=$P?Math.round(x_.h)+hueStep*e0e:Math.round(x_.h)-hueStep*e0e,t0e<0?t0e+=360:t0e>=360&&(t0e-=360),t0e}function getSaturation(x_,e0e,$P){if(x_.h===0&&x_.s===0)return x_.s;var t0e;return $P?t0e=x_.s-saturationStep*e0e:e0e===darkColorCount?t0e=x_.s+saturationStep:t0e=x_.s+saturationStep2*e0e,t0e>1&&(t0e=1),$P&&e0e===lightColorCount&&t0e>.1&&(t0e=.1),t0e<.06&&(t0e=.06),Number(t0e.toFixed(2))}function getValue$2(x_,e0e,$P){var t0e;return $P?t0e=x_.v+brightnessStep1*e0e:t0e=x_.v-brightnessStep2*e0e,t0e>1&&(t0e=1),Number(t0e.toFixed(2))}function generate$1(x_){for(var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=[],t0e=inputToRGB(x_),r0e=lightColorCount;r0e>0;r0e-=1){var n0e=toHsv(t0e),a0e=toHex(inputToRGB({h:getHue(n0e,r0e,!0),s:getSaturation(n0e,r0e,!0),v:getValue$2(n0e,r0e,!0)}));$P.push(a0e)}$P.push(toHex(t0e));for(var o0e=1;o0e<=darkColorCount;o0e+=1){var i0e=toHsv(t0e),s0e=toHex(inputToRGB({h:getHue(i0e,o0e),s:getSaturation(i0e,o0e),v:getValue$2(i0e,o0e)}));$P.push(s0e)}return e0e.theme==="dark"?darkColorMap.map(function(l0e){var c0e=l0e.index,u0e=l0e.opacity,d0e=toHex(mix(inputToRGB(e0e.backgroundColor||"#141414"),inputToRGB($P[c0e]),u0e*100));return d0e}):$P}var presetPrimaryColors={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"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach(function(x_){presetPalettes[x_]=generate$1(presetPrimaryColors[x_]),presetPalettes[x_].primary=presetPalettes[x_][5],presetDarkPalettes[x_]=generate$1(presetPrimaryColors[x_],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[x_].primary=presetDarkPalettes[x_][5]});var blue=presetPalettes.blue;const genControlHeight=x_=>{const{controlHeight:e0e}=x_;return{controlHeightSM:e0e*.75,controlHeightXS:e0e*.5,controlHeightLG:e0e*1.25}},genControlHeight$1=genControlHeight;function genSizeMapToken$1(x_){const{sizeUnit:e0e,sizeStep:$P}=x_;return{sizeXXL:e0e*($P+8),sizeXL:e0e*($P+4),sizeLG:e0e*($P+2),sizeMD:e0e*($P+1),sizeMS:e0e*$P,size:e0e*$P,sizeSM:e0e*($P-1),sizeXS:e0e*($P-2),sizeXXS:e0e*($P-3)}}const defaultPresetColors={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"},seedToken=Object.assign(Object.assign({},defaultPresetColors),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _slicedToArray$3(x_,e0e){return _arrayWithHoles$3(x_)||_iterableToArrayLimit$3(x_,e0e)||_unsupportedIterableToArray$3(x_,e0e)||_nonIterableRest$3()}function murmur2(x_){for(var e0e=0,$P,t0e=0,r0e=x_.length;r0e>=4;++t0e,r0e-=4)$P=x_.charCodeAt(t0e)&255|(x_.charCodeAt(++t0e)&255)<<8|(x_.charCodeAt(++t0e)&255)<<16|(x_.charCodeAt(++t0e)&255)<<24,$P=($P&65535)*1540483477+(($P>>>16)*59797<<16),$P^=$P>>>24,e0e=($P&65535)*1540483477+(($P>>>16)*59797<<16)^(e0e&65535)*1540483477+((e0e>>>16)*59797<<16);switch(r0e){case 3:e0e^=(x_.charCodeAt(t0e+2)&255)<<16;case 2:e0e^=(x_.charCodeAt(t0e+1)&255)<<8;case 1:e0e^=x_.charCodeAt(t0e)&255,e0e=(e0e&65535)*1540483477+((e0e>>>16)*59797<<16)}return e0e^=e0e>>>13,e0e=(e0e&65535)*1540483477+((e0e>>>16)*59797<<16),((e0e^e0e>>>15)>>>0).toString(36)}function canUseDom$1(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function contains$1(x_,e0e){if(!x_)return!1;if(x_.contains)return x_.contains(e0e);for(var $P=e0e;$P;){if($P===x_)return!0;$P=$P.parentNode}return!1}var APPEND_ORDER="data-rc-order",APPEND_PRIORITY="data-rc-priority",MARK_KEY="rc-util-key",containerCache=new Map;function getMark(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e0e=x_.mark;return e0e?e0e.startsWith("data-")?e0e:"data-".concat(e0e):MARK_KEY}function getContainer$1(x_){if(x_.attachTo)return x_.attachTo;var e0e=document.querySelector("head");return e0e||document.body}function getOrder(x_){return x_==="queue"?"prependQueue":x_?"prepend":"append"}function findStyles(x_){return Array.from((containerCache.get(x_)||x_).children).filter(function(e0e){return e0e.tagName==="STYLE"})}function injectCSS(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!canUseDom$1())return null;var $P=e0e.csp,t0e=e0e.prepend,r0e=e0e.priority,n0e=r0e===void 0?0:r0e,a0e=getOrder(t0e),o0e=a0e==="prependQueue",i0e=document.createElement("style");i0e.setAttribute(APPEND_ORDER,a0e),o0e&&n0e&&i0e.setAttribute(APPEND_PRIORITY,"".concat(n0e)),$P!=null&&$P.nonce&&(i0e.nonce=$P==null?void 0:$P.nonce),i0e.innerHTML=x_;var s0e=getContainer$1(e0e),l0e=s0e.firstChild;if(t0e){if(o0e){var c0e=findStyles(s0e).filter(function(u0e){if(!["prepend","prependQueue"].includes(u0e.getAttribute(APPEND_ORDER)))return!1;var d0e=Number(u0e.getAttribute(APPEND_PRIORITY)||0);return n0e>=d0e});if(c0e.length)return s0e.insertBefore(i0e,c0e[c0e.length-1].nextSibling),i0e}s0e.insertBefore(i0e,l0e)}else s0e.appendChild(i0e);return i0e}function findExistNode(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=getContainer$1(e0e);return findStyles($P).find(function(t0e){return t0e.getAttribute(getMark(e0e))===x_})}function removeCSS(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=findExistNode(x_,e0e);if($P){var t0e=getContainer$1(e0e);t0e.removeChild($P)}}function syncRealContainer(x_,e0e){var $P=containerCache.get(x_);if(!$P||!contains$1(document,$P)){var t0e=injectCSS("",e0e),r0e=t0e.parentNode;containerCache.set(x_,r0e),x_.removeChild(t0e)}}function updateCSS(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t0e=getContainer$1($P);syncRealContainer(t0e,$P);var r0e=findExistNode(e0e,$P);if(r0e){var n0e,a0e;if((n0e=$P.csp)!==null&&n0e!==void 0&&n0e.nonce&&r0e.nonce!==((a0e=$P.csp)===null||a0e===void 0?void 0:a0e.nonce)){var o0e;r0e.nonce=(o0e=$P.csp)===null||o0e===void 0?void 0:o0e.nonce}return r0e.innerHTML!==x_&&(r0e.innerHTML=x_),r0e}var i0e=injectCSS(x_,$P);return i0e.setAttribute(getMark($P),e0e),i0e}function _objectWithoutPropertiesLoose$2(x_,e0e){if(x_==null)return{};var $P={},t0e=Object.keys(x_),r0e,n0e;for(n0e=0;n0e=0)&&($P[r0e]=x_[r0e]);return $P}function _objectWithoutProperties$4(x_,e0e){if(x_==null)return{};var $P=_objectWithoutPropertiesLoose$2(x_,e0e),t0e,r0e;if(Object.getOwnPropertySymbols){var n0e=Object.getOwnPropertySymbols(x_);for(r0e=0;r0e=0)&&Object.prototype.propertyIsEnumerable.call(x_,t0e)&&($P[t0e]=x_[t0e])}return $P}function isEqual(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,t0e=new Set;function r0e(n0e,a0e){var o0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i0e=t0e.has(n0e);if(warningOnce$1(!i0e,"Warning: There may be circular references"),i0e)return!1;if(n0e===a0e)return!0;if($P&&o0e>1)return!1;t0e.add(n0e);var s0e=o0e+1;if(Array.isArray(n0e)){if(!Array.isArray(a0e)||n0e.length!==a0e.length)return!1;for(var l0e=0;l0e1&&arguments[1]!==void 0?arguments[1]:!1,a0e={map:this.cache};return $P.forEach(function(o0e){if(!a0e)a0e=void 0;else{var i0e;a0e=(i0e=a0e)===null||i0e===void 0||(i0e=i0e.map)===null||i0e===void 0?void 0:i0e.get(o0e)}}),(t0e=a0e)!==null&&t0e!==void 0&&t0e.value&&n0e&&(a0e.value[1]=this.cacheCallTimes++),(r0e=a0e)===null||r0e===void 0?void 0:r0e.value}},{key:"get",value:function($P){var t0e;return(t0e=this.internalGet($P,!0))===null||t0e===void 0?void 0:t0e[0]}},{key:"has",value:function($P){return!!this.internalGet($P)}},{key:"set",value:function($P,t0e){var r0e=this;if(!this.has($P)){if(this.size()+1>x_.MAX_CACHE_SIZE+x_.MAX_CACHE_OFFSET){var n0e=this.keys.reduce(function(s0e,l0e){var c0e=_slicedToArray$3(s0e,2),u0e=c0e[1];return r0e.internalGet(l0e)[1]0,void 0),uuid$6+=1}return _createClass$1(x_,[{key:"getDerivativeToken",value:function($P){return this.derivatives.reduce(function(t0e,r0e){return r0e($P,t0e)},void 0)}}]),x_}(),cacheThemes=new ThemeCache;function createTheme(x_){var e0e=Array.isArray(x_)?x_:[x_];return cacheThemes.has(e0e)||cacheThemes.set(e0e,new Theme(e0e)),cacheThemes.get(e0e)}var resultCache=new WeakMap,RESULT_VALUE={};function memoResult(x_,e0e){for(var $P=resultCache,t0e=0;t0e3&&arguments[3]!==void 0?arguments[3]:{},n0e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(n0e)return x_;var a0e=_objectSpread2$1(_objectSpread2$1({},r0e),{},(t0e={},_defineProperty$5(t0e,ATTR_TOKEN,e0e),_defineProperty$5(t0e,ATTR_MARK,$P),t0e)),o0e=Object.keys(a0e).map(function(i0e){var s0e=a0e[i0e];return s0e?"".concat(i0e,'="').concat(s0e,'"'):null}).filter(function(i0e){return i0e}).join(" ");return"")}var token2CSSVar=function(e0e){var $P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat($P?"".concat($P,"-"):"").concat(e0e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},serializeCSSVar=function(e0e,$P,t0e){return Object.keys(e0e).length?".".concat($P).concat(t0e!=null&&t0e.scope?".".concat(t0e.scope):"","{").concat(Object.entries(e0e).map(function(r0e){var n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1];return"".concat(a0e,":").concat(o0e,";")}).join(""),"}"):""},transformToken=function(e0e,$P,t0e){var r0e={},n0e={};return Object.entries(e0e).forEach(function(a0e){var o0e,i0e,s0e=_slicedToArray$3(a0e,2),l0e=s0e[0],c0e=s0e[1];if(t0e!=null&&(o0e=t0e.preserve)!==null&&o0e!==void 0&&o0e[l0e])n0e[l0e]=c0e;else if((typeof c0e=="string"||typeof c0e=="number")&&!(t0e!=null&&(i0e=t0e.ignore)!==null&&i0e!==void 0&&i0e[l0e])){var u0e,d0e=token2CSSVar(l0e,t0e==null?void 0:t0e.prefix);r0e[d0e]=typeof c0e=="number"&&!(t0e!=null&&(u0e=t0e.unitless)!==null&&u0e!==void 0&&u0e[l0e])?"".concat(c0e,"px"):String(c0e),n0e[l0e]="var(".concat(d0e,")")}}),[n0e,serializeCSSVar(r0e,$P,{scope:t0e==null?void 0:t0e.scope})]},useInternalLayoutEffect$1=canUseDom$1()?reactExports.useLayoutEffect:reactExports.useEffect,useLayoutEffect$2=function(e0e,$P){var t0e=reactExports.useRef(!0);useInternalLayoutEffect$1(function(){return e0e(t0e.current)},$P),useInternalLayoutEffect$1(function(){return t0e.current=!1,function(){t0e.current=!0}},[])},useLayoutUpdateEffect$1=function(e0e,$P){useLayoutEffect$2(function(t0e){if(!t0e)return e0e()},$P)},fullClone$3=_objectSpread2$1({},React$2),useInsertionEffect$1=fullClone$3.useInsertionEffect,useInsertionEffectPolyfill=function(e0e,$P,t0e){reactExports.useMemo(e0e,t0e),useLayoutEffect$2(function(){return $P(!0)},t0e)},useCompatibleInsertionEffect=useInsertionEffect$1?function(x_,e0e,$P){return useInsertionEffect$1(function(){return x_(),e0e()},$P)}:useInsertionEffectPolyfill;const useCompatibleInsertionEffect$1=useCompatibleInsertionEffect;var fullClone$2=_objectSpread2$1({},React$2),useInsertionEffect=fullClone$2.useInsertionEffect,useCleanupRegister=function(e0e){var $P=[],t0e=!1;function r0e(n0e){t0e||$P.push(n0e)}return reactExports.useEffect(function(){return t0e=!1,function(){t0e=!0,$P.length&&$P.forEach(function(n0e){return n0e()})}},e0e),r0e},useRun=function(){return function(e0e){e0e()}},useEffectCleanupRegister=typeof useInsertionEffect<"u"?useCleanupRegister:useRun;const useEffectCleanupRegister$1=useEffectCleanupRegister;function useGlobalCache(x_,e0e,$P,t0e,r0e){var n0e=reactExports.useContext(StyleContext$1),a0e=n0e.cache,o0e=[x_].concat(_toConsumableArray$2(e0e)),i0e=o0e.join("_"),s0e=useEffectCleanupRegister$1([i0e]),l0e=function(p0e){a0e.update(o0e,function(f0e){var h0e=f0e||[void 0,void 0],b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=m0e===void 0?0:m0e,g0e=b0e[1],y0e=g0e,M0e=y0e||$P(),O0e=[v0e,M0e];return p0e?p0e(O0e):O0e})};reactExports.useMemo(function(){l0e()},[i0e]);var c0e=a0e.get(o0e),u0e=c0e[1];return useCompatibleInsertionEffect$1(function(){r0e==null||r0e(u0e)},function(d0e){return l0e(function(p0e){var f0e=_slicedToArray$3(p0e,2),h0e=f0e[0],b0e=f0e[1];return d0e&&h0e===0&&(r0e==null||r0e(u0e)),[h0e+1,b0e]}),function(){a0e.update(o0e,function(p0e){var f0e=p0e||[],h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=b0e===void 0?0:b0e,v0e=h0e[1],g0e=m0e-1;return g0e===0?(s0e(function(){(d0e||!a0e.get(o0e))&&(t0e==null||t0e(v0e,!1))}),null):[m0e-1,v0e]})}},[i0e]),u0e}var EMPTY_OVERRIDE={},hashPrefix="css",tokenKeys=new Map;function recordCleanToken(x_){tokenKeys.set(x_,(tokenKeys.get(x_)||0)+1)}function removeStyleTags(x_,e0e){if(typeof document<"u"){var $P=document.querySelectorAll("style[".concat(ATTR_TOKEN,'="').concat(x_,'"]'));$P.forEach(function(t0e){if(t0e[CSS_IN_JS_INSTANCE]===e0e){var r0e;(r0e=t0e.parentNode)===null||r0e===void 0||r0e.removeChild(t0e)}})}}var TOKEN_THRESHOLD=0;function cleanTokenStyle(x_,e0e){tokenKeys.set(x_,(tokenKeys.get(x_)||0)-1);var $P=Array.from(tokenKeys.keys()),t0e=$P.filter(function(r0e){var n0e=tokenKeys.get(r0e)||0;return n0e<=0});$P.length-t0e.length>TOKEN_THRESHOLD&&t0e.forEach(function(r0e){removeStyleTags(r0e,e0e),tokenKeys.delete(r0e)})}var getComputedToken$1=function(e0e,$P,t0e,r0e){var n0e=t0e.getDerivativeToken(e0e),a0e=_objectSpread2$1(_objectSpread2$1({},n0e),$P);return r0e&&(a0e=r0e(a0e)),a0e},TOKEN_PREFIX="token";function useCacheToken(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},t0e=reactExports.useContext(StyleContext$1),r0e=t0e.cache.instanceId,n0e=t0e.container,a0e=$P.salt,o0e=a0e===void 0?"":a0e,i0e=$P.override,s0e=i0e===void 0?EMPTY_OVERRIDE:i0e,l0e=$P.formatToken,c0e=$P.getComputedToken,u0e=$P.cssVar,d0e=memoResult(function(){return Object.assign.apply(Object,[{}].concat(_toConsumableArray$2(e0e)))},e0e),p0e=flattenToken(d0e),f0e=flattenToken(s0e),h0e=u0e?flattenToken(u0e):"",b0e=useGlobalCache(TOKEN_PREFIX,[o0e,x_.id,p0e,f0e,h0e],function(){var m0e,v0e=c0e?c0e(d0e,s0e,x_):getComputedToken$1(d0e,s0e,x_,l0e),g0e=_objectSpread2$1({},v0e),y0e="";if(u0e){var M0e=transformToken(v0e,u0e.key,{prefix:u0e.prefix,ignore:u0e.ignore,unitless:u0e.unitless,preserve:u0e.preserve}),O0e=_slicedToArray$3(M0e,2);v0e=O0e[0],y0e=O0e[1]}var z0e=token2key(v0e,o0e);v0e._tokenKey=z0e,g0e._tokenKey=token2key(g0e,o0e);var _0e=(m0e=u0e==null?void 0:u0e.key)!==null&&m0e!==void 0?m0e:z0e;v0e._themeKey=_0e,recordCleanToken(_0e);var A0e="".concat(hashPrefix,"-").concat(murmur2(z0e));return v0e._hashId=A0e,[v0e,A0e,g0e,y0e,(u0e==null?void 0:u0e.key)||""]},function(m0e){cleanTokenStyle(m0e[0]._themeKey,r0e)},function(m0e){var v0e=_slicedToArray$3(m0e,4),g0e=v0e[0],y0e=v0e[3];if(u0e&&y0e){var M0e=updateCSS(y0e,murmur2("css-variables-".concat(g0e._themeKey)),{mark:ATTR_MARK,prepend:"queue",attachTo:n0e,priority:-999});M0e[CSS_IN_JS_INSTANCE]=r0e,M0e.setAttribute(ATTR_TOKEN,g0e._themeKey)}});return b0e}var extract$3=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,5),n0e=r0e[2],a0e=r0e[3],o0e=r0e[4],i0e=t0e||{},s0e=i0e.plain;if(!a0e)return null;var l0e=n0e._tokenKey,c0e=-999,u0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(c0e)},d0e=toStyleStr(a0e,o0e,l0e,u0e,s0e);return[c0e,l0e,d0e]},unitlessKeys={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},COMMENT="comm",RULESET="rule",DECLARATION="decl",IMPORT="@import",KEYFRAMES="@keyframes",LAYER="@layer",abs$2=Math.abs,from$1=String.fromCharCode;function trim(x_){return x_.trim()}function replace$1(x_,e0e,$P){return x_.replace(e0e,$P)}function indexof(x_,e0e){return x_.indexOf(e0e)}function charat(x_,e0e){return x_.charCodeAt(e0e)|0}function substr(x_,e0e,$P){return x_.slice(e0e,$P)}function strlen(x_){return x_.length}function sizeof(x_){return x_.length}function append$1(x_,e0e){return e0e.push(x_),x_}var line=1,column=1,length=0,position$1=0,character=0,characters="";function node(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){return{value:x_,root:e0e,parent:$P,type:t0e,props:r0e,children:n0e,line,column,length:a0e,return:"",siblings:o0e}}function char(){return character}function prev(){return character=position$1>0?charat(characters,--position$1):0,column--,character===10&&(column=1,line--),character}function next(){return character=position$12||token$2(character)>3?"":" "}function escaping(x_,e0e){for(;--e0e&&next()&&!(character<48||character>102||character>57&&character<65||character>70&&character<97););return slice(x_,caret()+(e0e<6&&peek()==32&&next()==32))}function delimiter(x_){for(;next();)switch(character){case x_:return position$1;case 34:case 39:x_!==34&&x_!==39&&delimiter(character);break;case 40:x_===41&&delimiter(x_);break;case 92:next();break}return position$1}function commenter(x_,e0e){for(;next()&&x_+character!==47+10;)if(x_+character===42+42&&peek()===47)break;return"/*"+slice(e0e,position$1-1)+"*"+from$1(x_===47?x_:next())}function identifier$1(x_){for(;!token$2(peek());)next();return slice(x_,position$1)}function compile$1(x_){return dealloc(parse$5("",null,null,null,[""],x_=alloc(x_),0,[0],x_))}function parse$5(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e){for(var s0e=0,l0e=0,c0e=a0e,u0e=0,d0e=0,p0e=0,f0e=1,h0e=1,b0e=1,m0e=0,v0e="",g0e=r0e,y0e=n0e,M0e=t0e,O0e=v0e;h0e;)switch(p0e=m0e,m0e=next()){case 40:if(p0e!=108&&charat(O0e,c0e-1)==58){indexof(O0e+=replace$1(delimit(m0e),"&","&\f"),"&\f")!=-1&&(b0e=-1);break}case 34:case 39:case 91:O0e+=delimit(m0e);break;case 9:case 10:case 13:case 32:O0e+=whitespace$1(p0e);break;case 92:O0e+=escaping(caret()-1,7);continue;case 47:switch(peek()){case 42:case 47:append$1(comment(commenter(next(),caret()),e0e,$P,i0e),i0e);break;default:O0e+="/"}break;case 123*f0e:o0e[s0e++]=strlen(O0e)*b0e;case 125*f0e:case 59:case 0:switch(m0e){case 0:case 125:h0e=0;case 59+l0e:b0e==-1&&(O0e=replace$1(O0e,/\f/g,"")),d0e>0&&strlen(O0e)-c0e&&append$1(d0e>32?declaration(O0e+";",t0e,$P,c0e-1,i0e):declaration(replace$1(O0e," ","")+";",t0e,$P,c0e-2,i0e),i0e);break;case 59:O0e+=";";default:if(append$1(M0e=ruleset(O0e,e0e,$P,s0e,l0e,r0e,o0e,v0e,g0e=[],y0e=[],c0e,n0e),n0e),m0e===123)if(l0e===0)parse$5(O0e,e0e,M0e,M0e,g0e,n0e,c0e,o0e,y0e);else switch(u0e===99&&charat(O0e,3)===110?100:u0e){case 100:case 108:case 109:case 115:parse$5(x_,M0e,M0e,t0e&&append$1(ruleset(x_,M0e,M0e,0,0,r0e,o0e,v0e,r0e,g0e=[],c0e,y0e),y0e),r0e,y0e,c0e,o0e,t0e?g0e:y0e);break;default:parse$5(O0e,M0e,M0e,M0e,[""],y0e,0,o0e,y0e)}}s0e=l0e=d0e=0,f0e=b0e=1,v0e=O0e="",c0e=a0e;break;case 58:c0e=1+strlen(O0e),d0e=p0e;default:if(f0e<1){if(m0e==123)--f0e;else if(m0e==125&&f0e++==0&&prev()==125)continue}switch(O0e+=from$1(m0e),m0e*f0e){case 38:b0e=l0e>0?1:(O0e+="\f",-1);break;case 44:o0e[s0e++]=(strlen(O0e)-1)*b0e,b0e=1;break;case 64:peek()===45&&(O0e+=delimit(next())),u0e=peek(),l0e=c0e=strlen(v0e=O0e+=identifier$1(caret())),m0e++;break;case 45:p0e===45&&strlen(O0e)==2&&(f0e=0)}}return n0e}function ruleset(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e,s0e,l0e,c0e){for(var u0e=r0e-1,d0e=r0e===0?n0e:[""],p0e=sizeof(d0e),f0e=0,h0e=0,b0e=0;f0e0?d0e[m0e]+" "+v0e:replace$1(v0e,/&\f/g,d0e[m0e])))&&(i0e[b0e++]=g0e);return node(x_,e0e,$P,r0e===0?RULESET:o0e,i0e,s0e,l0e,c0e)}function comment(x_,e0e,$P,t0e){return node(x_,e0e,$P,COMMENT,from$1(char()),substr(x_,2,-2),0,t0e)}function declaration(x_,e0e,$P,t0e,r0e){return node(x_,e0e,$P,DECLARATION,substr(x_,0,t0e),substr(x_,t0e+1,-1),t0e,r0e)}function serialize(x_,e0e){for(var $P="",t0e=0;t0e1&&arguments[1]!==void 0?arguments[1]:{},t0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},r0e=t0e.root,n0e=t0e.injectHash,a0e=t0e.parentSelectors,o0e=$P.hashId,i0e=$P.layer;$P.path;var s0e=$P.hashPriority,l0e=$P.transformers,c0e=l0e===void 0?[]:l0e;$P.linters;var u0e="",d0e={};function p0e(v0e){var g0e=v0e.getName(o0e);if(!d0e[g0e]){var y0e=x_(v0e.style,$P,{root:!1,parentSelectors:a0e}),M0e=_slicedToArray$3(y0e,1),O0e=M0e[0];d0e[g0e]="@keyframes ".concat(v0e.getName(o0e)).concat(O0e)}}function f0e(v0e){var g0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return v0e.forEach(function(y0e){Array.isArray(y0e)?f0e(y0e,g0e):y0e&&g0e.push(y0e)}),g0e}var h0e=f0e(Array.isArray(e0e)?e0e:[e0e]);if(h0e.forEach(function(v0e){var g0e=typeof v0e=="string"&&!r0e?{}:v0e;if(typeof g0e=="string")u0e+="".concat(g0e,` +`);else if(g0e._keyframe)p0e(g0e);else{var y0e=c0e.reduce(function(M0e,O0e){var z0e;return(O0e==null||(z0e=O0e.visit)===null||z0e===void 0?void 0:z0e.call(O0e,M0e))||M0e},g0e);Object.keys(y0e).forEach(function(M0e){var O0e=y0e[M0e];if(_typeof$2(O0e)==="object"&&O0e&&(M0e!=="animationName"||!O0e._keyframe)&&!isCompoundCSSProperty(O0e)){var z0e=!1,_0e=M0e.trim(),A0e=!1;(r0e||n0e)&&o0e?_0e.startsWith("@")?z0e=!0:_0e=injectSelectorHash(M0e,o0e,s0e):r0e&&!o0e&&(_0e==="&"||_0e==="")&&(_0e="",A0e=!0);var $0e=x_(O0e,$P,{root:A0e,injectHash:z0e,parentSelectors:[].concat(_toConsumableArray$2(a0e),[_0e])}),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1];d0e=_objectSpread2$1(_objectSpread2$1({},d0e),E0e),u0e+="".concat(_0e).concat(C0e)}else{let T0e=function(D0e,W0e){var k0e=D0e.replace(/[A-Z]/g,function(N0e){return"-".concat(N0e.toLowerCase())}),q0e=W0e;!unitlessKeys[D0e]&&typeof q0e=="number"&&q0e!==0&&(q0e="".concat(q0e,"px")),D0e==="animationName"&&W0e!==null&&W0e!==void 0&&W0e._keyframe&&(p0e(W0e),q0e=W0e.getName(o0e)),u0e+="".concat(k0e,":").concat(q0e,";")};var w0e,R0e=(w0e=O0e==null?void 0:O0e.value)!==null&&w0e!==void 0?w0e:O0e;_typeof$2(O0e)==="object"&&O0e!==null&&O0e!==void 0&&O0e[MULTI_VALUE]&&Array.isArray(R0e)?R0e.forEach(function(D0e){T0e(M0e,D0e)}):T0e(M0e,R0e)}})}}),!r0e)u0e="{".concat(u0e,"}");else if(i0e&&supportLayer()){var b0e=i0e.split(","),m0e=b0e[b0e.length-1].trim();u0e="@layer ".concat(m0e," {").concat(u0e,"}"),b0e.length>1&&(u0e="@layer ".concat(i0e,"{%%%:%}").concat(u0e))}return[u0e,d0e]};function uniqueHash(x_,e0e){return murmur2("".concat(x_.join("%")).concat(e0e))}function Empty$3(){return null}var STYLE_PREFIX="style";function useStyleRegister(x_,e0e){var $P=x_.token,t0e=x_.path,r0e=x_.hashId,n0e=x_.layer,a0e=x_.nonce,o0e=x_.clientOnly,i0e=x_.order,s0e=i0e===void 0?0:i0e,l0e=reactExports.useContext(StyleContext$1),c0e=l0e.autoClear;l0e.mock;var u0e=l0e.defaultCache,d0e=l0e.hashPriority,p0e=l0e.container,f0e=l0e.ssrInline,h0e=l0e.transformers,b0e=l0e.linters,m0e=l0e.cache,v0e=$P._tokenKey,g0e=[v0e].concat(_toConsumableArray$2(t0e)),y0e=isClientSide,M0e=useGlobalCache(STYLE_PREFIX,g0e,function(){var $0e=g0e.join("|");if(existPath($0e)){var S0e=getStyleAndHash($0e),C0e=_slicedToArray$3(S0e,2),E0e=C0e[0],w0e=C0e[1];if(E0e)return[E0e,v0e,w0e,{},o0e,s0e]}var R0e=e0e(),T0e=parseStyle(R0e,{hashId:r0e,hashPriority:d0e,layer:n0e,path:t0e.join("-"),transformers:h0e,linters:b0e}),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=normalizeStyle(W0e),N0e=uniqueHash(g0e,q0e);return[q0e,v0e,N0e,k0e,o0e,s0e]},function($0e,S0e){var C0e=_slicedToArray$3($0e,3),E0e=C0e[2];(S0e||c0e)&&isClientSide&&removeCSS(E0e,{mark:ATTR_MARK})},function($0e){var S0e=_slicedToArray$3($0e,4),C0e=S0e[0];S0e[1];var E0e=S0e[2],w0e=S0e[3];if(y0e&&C0e!==CSS_FILE_STYLE){var R0e={mark:ATTR_MARK,prepend:"queue",attachTo:p0e,priority:s0e},T0e=typeof a0e=="function"?a0e():a0e;T0e&&(R0e.csp={nonce:T0e});var D0e=updateCSS(C0e,E0e,R0e);D0e[CSS_IN_JS_INSTANCE]=m0e.instanceId,D0e.setAttribute(ATTR_TOKEN,v0e),Object.keys(w0e).forEach(function(W0e){updateCSS(normalizeStyle(w0e[W0e]),"_effect-".concat(W0e),R0e)})}}),O0e=_slicedToArray$3(M0e,3),z0e=O0e[0],_0e=O0e[1],A0e=O0e[2];return function($0e){var S0e;if(!f0e||y0e||!u0e)S0e=reactExports.createElement(Empty$3,null);else{var C0e;S0e=reactExports.createElement("style",_extends$1z({},(C0e={},_defineProperty$5(C0e,ATTR_TOKEN,_0e),_defineProperty$5(C0e,ATTR_MARK,A0e),C0e),{dangerouslySetInnerHTML:{__html:z0e}}))}return reactExports.createElement(reactExports.Fragment,null,S0e,$0e)}}var extract$2=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,6),n0e=r0e[0],a0e=r0e[1],o0e=r0e[2],i0e=r0e[3],s0e=r0e[4],l0e=r0e[5],c0e=t0e||{},u0e=c0e.plain;if(s0e)return null;var d0e=n0e,p0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l0e)};return d0e=toStyleStr(n0e,a0e,o0e,p0e,u0e),i0e&&Object.keys(i0e).forEach(function(f0e){if(!$P[f0e]){$P[f0e]=!0;var h0e=normalizeStyle(i0e[f0e]);d0e+=toStyleStr(h0e,a0e,"_effect-".concat(f0e),p0e,u0e)}}),[l0e,o0e,d0e]},CSS_VAR_PREFIX="cssVar",useCSSVarRegister=function(e0e,$P){var t0e=e0e.key,r0e=e0e.prefix,n0e=e0e.unitless,a0e=e0e.ignore,o0e=e0e.token,i0e=e0e.scope,s0e=i0e===void 0?"":i0e,l0e=reactExports.useContext(StyleContext$1),c0e=l0e.cache.instanceId,u0e=l0e.container,d0e=o0e._tokenKey,p0e=[].concat(_toConsumableArray$2(e0e.path),[t0e,s0e,d0e]),f0e=useGlobalCache(CSS_VAR_PREFIX,p0e,function(){var h0e=$P(),b0e=transformToken(h0e,t0e,{prefix:r0e,unitless:n0e,ignore:a0e,scope:s0e}),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1],y0e=uniqueHash(p0e,g0e);return[v0e,g0e,y0e,t0e]},function(h0e){var b0e=_slicedToArray$3(h0e,3),m0e=b0e[2];isClientSide&&removeCSS(m0e,{mark:ATTR_MARK})},function(h0e){var b0e=_slicedToArray$3(h0e,3),m0e=b0e[1],v0e=b0e[2];if(m0e){var g0e=updateCSS(m0e,v0e,{mark:ATTR_MARK,prepend:"queue",attachTo:u0e,priority:-999});g0e[CSS_IN_JS_INSTANCE]=c0e,g0e.setAttribute(ATTR_TOKEN,t0e)}});return f0e},extract$1=function(e0e,$P,t0e){var r0e=_slicedToArray$3(e0e,4),n0e=r0e[1],a0e=r0e[2],o0e=r0e[3],i0e=t0e||{},s0e=i0e.plain;if(!n0e)return null;var l0e=-999,c0e={"data-rc-order":"prependQueue","data-rc-priority":"".concat(l0e)},u0e=toStyleStr(n0e,o0e,a0e,c0e,s0e);return[l0e,a0e,u0e]},_ExtractStyleFns;_ExtractStyleFns={},_defineProperty$5(_ExtractStyleFns,STYLE_PREFIX,extract$2),_defineProperty$5(_ExtractStyleFns,TOKEN_PREFIX,extract$3),_defineProperty$5(_ExtractStyleFns,CSS_VAR_PREFIX,extract$1);var Keyframe=function(){function x_(e0e,$P){_classCallCheck$1(this,x_),_defineProperty$5(this,"name",void 0),_defineProperty$5(this,"style",void 0),_defineProperty$5(this,"_keyframe",!0),this.name=e0e,this.style=$P}return _createClass$1(x_,[{key:"getName",value:function(){var $P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $P?"".concat($P,"-").concat(this.name):this.name}}]),x_}();function noSplit(x_){return x_.notSplit=!0,x_}noSplit(["borderTop","borderBottom"]),noSplit(["borderTop"]),noSplit(["borderBottom"]),noSplit(["borderLeft","borderRight"]),noSplit(["borderLeft"]),noSplit(["borderRight"]);var IconContext=reactExports.createContext({});const Context$3=IconContext;function _toArray(x_){return _arrayWithHoles$3(x_)||_iterableToArray$2(x_)||_unsupportedIterableToArray$3(x_)||_nonIterableRest$3()}function get$6(x_,e0e){for(var $P=x_,t0e=0;t0e3&&arguments[3]!==void 0?arguments[3]:!1;return e0e.length&&t0e&&$P===void 0&&!get$6(x_,e0e.slice(0,-1))?x_:internalSet(x_,e0e,$P,t0e)}function isObject$g(x_){return _typeof$2(x_)==="object"&&x_!==null&&Object.getPrototypeOf(x_)===Object.prototype}function createEmpty(x_){return Array.isArray(x_)?[]:{}}var keys$b=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function merge$3(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P{const x_=()=>{};return x_.deprecated=noop$d,x_},ValidateMessagesContext=reactExports.createContext(void 0);var locale$c={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"},locale$b={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",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",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,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"};const locale$a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},TimePicker=locale$a,locale$9={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"]},locale$b),timePickerLocale:Object.assign({},TimePicker)},enUS$1=locale$9,typeTemplate$3="${label} is not a valid ${type}",localeValues$2={locale:"en",Pagination:locale$c,DatePicker:enUS$1,TimePicker,Calendar:enUS$1,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",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"},PageHeader:{back:"Back"},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:typeTemplate$3,method:typeTemplate$3,array:typeTemplate$3,object:typeTemplate$3,number:typeTemplate$3,date:typeTemplate$3,boolean:typeTemplate$3,integer:typeTemplate$3,float:typeTemplate$3,regexp:typeTemplate$3,email:typeTemplate$3,url:typeTemplate$3,hex:typeTemplate$3},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"},ColorPicker:{presetEmpty:"Empty"}},defaultLocale$1=localeValues$2;Object.assign({},defaultLocale$1.Modal);let localeList=[];const generateLocale=()=>localeList.reduce((x_,e0e)=>Object.assign(Object.assign({},x_),e0e),defaultLocale$1.Modal);function changeConfirmLocale(x_){if(x_){const e0e=Object.assign({},x_);return localeList.push(e0e),generateLocale(),()=>{localeList=localeList.filter($P=>$P!==e0e),generateLocale()}}Object.assign({},defaultLocale$1.Modal)}const LocaleContext$1=reactExports.createContext(void 0),LocaleContext$2=LocaleContext$1,useLocale=(x_,e0e)=>{const $P=reactExports.useContext(LocaleContext$2),t0e=reactExports.useMemo(()=>{var n0e;const a0e=e0e||defaultLocale$1[x_],o0e=(n0e=$P==null?void 0:$P[x_])!==null&&n0e!==void 0?n0e:{};return Object.assign(Object.assign({},typeof a0e=="function"?a0e():a0e),o0e||{})},[x_,e0e,$P]),r0e=reactExports.useMemo(()=>{const n0e=$P==null?void 0:$P.locale;return $P!=null&&$P.exist&&!n0e?defaultLocale$1.locale:n0e},[$P]);return[t0e,r0e]},useLocale$1=useLocale,ANT_MARK="internalMark",LocaleProvider=x_=>{const{locale:e0e={},children:$P,_ANT_MARK__:t0e}=x_;reactExports.useEffect(()=>changeConfirmLocale(e0e&&e0e.Modal),[e0e]);const r0e=reactExports.useMemo(()=>Object.assign(Object.assign({},e0e),{exist:!0}),[e0e]);return reactExports.createElement(LocaleContext$2.Provider,{value:r0e},$P)},LocaleProvider$1=LocaleProvider;function bound01(x_,e0e){isOnePointZero(x_)&&(x_="100%");var $P=isPercentage(x_);return x_=e0e===360?x_:Math.min(e0e,Math.max(0,parseFloat(x_))),$P&&(x_=parseInt(String(x_*e0e),10)/100),Math.abs(x_-e0e)<1e-6?1:(e0e===360?x_=(x_<0?x_%e0e+e0e:x_%e0e)/parseFloat(String(e0e)):x_=x_%e0e/parseFloat(String(e0e)),x_)}function clamp01(x_){return Math.min(1,Math.max(0,x_))}function isOnePointZero(x_){return typeof x_=="string"&&x_.indexOf(".")!==-1&&parseFloat(x_)===1}function isPercentage(x_){return typeof x_=="string"&&x_.indexOf("%")!==-1}function boundAlpha(x_){return x_=parseFloat(x_),(isNaN(x_)||x_<0||x_>1)&&(x_=1),x_}function convertToPercentage(x_){return x_<=1?"".concat(Number(x_)*100,"%"):x_}function pad2(x_){return x_.length===1?"0"+x_:String(x_)}function rgbToRgb(x_,e0e,$P){return{r:bound01(x_,255)*255,g:bound01(e0e,255)*255,b:bound01($P,255)*255}}function rgbToHsl(x_,e0e,$P){x_=bound01(x_,255),e0e=bound01(e0e,255),$P=bound01($P,255);var t0e=Math.max(x_,e0e,$P),r0e=Math.min(x_,e0e,$P),n0e=0,a0e=0,o0e=(t0e+r0e)/2;if(t0e===r0e)a0e=0,n0e=0;else{var i0e=t0e-r0e;switch(a0e=o0e>.5?i0e/(2-t0e-r0e):i0e/(t0e+r0e),t0e){case x_:n0e=(e0e-$P)/i0e+(e0e<$P?6:0);break;case e0e:n0e=($P-x_)/i0e+2;break;case $P:n0e=(x_-e0e)/i0e+4;break}n0e/=6}return{h:n0e,s:a0e,l:o0e}}function hue2rgb(x_,e0e,$P){return $P<0&&($P+=1),$P>1&&($P-=1),$P<1/6?x_+(e0e-x_)*(6*$P):$P<1/2?e0e:$P<2/3?x_+(e0e-x_)*(2/3-$P)*6:x_}function hslToRgb(x_,e0e,$P){var t0e,r0e,n0e;if(x_=bound01(x_,360),e0e=bound01(e0e,100),$P=bound01($P,100),e0e===0)r0e=$P,n0e=$P,t0e=$P;else{var a0e=$P<.5?$P*(1+e0e):$P+e0e-$P*e0e,o0e=2*$P-a0e;t0e=hue2rgb(o0e,a0e,x_+1/3),r0e=hue2rgb(o0e,a0e,x_),n0e=hue2rgb(o0e,a0e,x_-1/3)}return{r:t0e*255,g:r0e*255,b:n0e*255}}function rgbToHsv(x_,e0e,$P){x_=bound01(x_,255),e0e=bound01(e0e,255),$P=bound01($P,255);var t0e=Math.max(x_,e0e,$P),r0e=Math.min(x_,e0e,$P),n0e=0,a0e=t0e,o0e=t0e-r0e,i0e=t0e===0?0:o0e/t0e;if(t0e===r0e)n0e=0;else{switch(t0e){case x_:n0e=(e0e-$P)/o0e+(e0e<$P?6:0);break;case e0e:n0e=($P-x_)/o0e+2;break;case $P:n0e=(x_-e0e)/o0e+4;break}n0e/=6}return{h:n0e,s:i0e,v:a0e}}function hsvToRgb(x_,e0e,$P){x_=bound01(x_,360)*6,e0e=bound01(e0e,100),$P=bound01($P,100);var t0e=Math.floor(x_),r0e=x_-t0e,n0e=$P*(1-e0e),a0e=$P*(1-r0e*e0e),o0e=$P*(1-(1-r0e)*e0e),i0e=t0e%6,s0e=[$P,a0e,n0e,n0e,o0e,$P][i0e],l0e=[o0e,$P,$P,a0e,n0e,n0e][i0e],c0e=[n0e,n0e,o0e,$P,$P,a0e][i0e];return{r:s0e*255,g:l0e*255,b:c0e*255}}function rgbToHex(x_,e0e,$P,t0e){var r0e=[pad2(Math.round(x_).toString(16)),pad2(Math.round(e0e).toString(16)),pad2(Math.round($P).toString(16))];return t0e&&r0e[0].startsWith(r0e[0].charAt(1))&&r0e[1].startsWith(r0e[1].charAt(1))&&r0e[2].startsWith(r0e[2].charAt(1))?r0e[0].charAt(0)+r0e[1].charAt(0)+r0e[2].charAt(0):r0e.join("")}function rgbaToHex$1(x_,e0e,$P,t0e,r0e){var n0e=[pad2(Math.round(x_).toString(16)),pad2(Math.round(e0e).toString(16)),pad2(Math.round($P).toString(16)),pad2(convertDecimalToHex(t0e))];return r0e&&n0e[0].startsWith(n0e[0].charAt(1))&&n0e[1].startsWith(n0e[1].charAt(1))&&n0e[2].startsWith(n0e[2].charAt(1))&&n0e[3].startsWith(n0e[3].charAt(1))?n0e[0].charAt(0)+n0e[1].charAt(0)+n0e[2].charAt(0)+n0e[3].charAt(0):n0e.join("")}function convertDecimalToHex(x_){return Math.round(parseFloat(x_)*255).toString(16)}function convertHexToDecimal(x_){return parseIntFromHex(x_)/255}function parseIntFromHex(x_){return parseInt(x_,16)}function numberInputToObject(x_){return{r:x_>>16,g:(x_&65280)>>8,b:x_&255}}var names={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"};function inputToRGB(x_){var e0e={r:0,g:0,b:0},$P=1,t0e=null,r0e=null,n0e=null,a0e=!1,o0e=!1;return typeof x_=="string"&&(x_=stringInputToObject(x_)),typeof x_=="object"&&(isValidCSSUnit(x_.r)&&isValidCSSUnit(x_.g)&&isValidCSSUnit(x_.b)?(e0e=rgbToRgb(x_.r,x_.g,x_.b),a0e=!0,o0e=String(x_.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(x_.h)&&isValidCSSUnit(x_.s)&&isValidCSSUnit(x_.v)?(t0e=convertToPercentage(x_.s),r0e=convertToPercentage(x_.v),e0e=hsvToRgb(x_.h,t0e,r0e),a0e=!0,o0e="hsv"):isValidCSSUnit(x_.h)&&isValidCSSUnit(x_.s)&&isValidCSSUnit(x_.l)&&(t0e=convertToPercentage(x_.s),n0e=convertToPercentage(x_.l),e0e=hslToRgb(x_.h,t0e,n0e),a0e=!0,o0e="hsl"),Object.prototype.hasOwnProperty.call(x_,"a")&&($P=x_.a)),$P=boundAlpha($P),{ok:a0e,format:x_.format||o0e,r:Math.min(255,Math.max(e0e.r,0)),g:Math.min(255,Math.max(e0e.g,0)),b:Math.min(255,Math.max(e0e.b,0)),a:$P}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),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 stringInputToObject(x_){if(x_=x_.trim().toLowerCase(),x_.length===0)return!1;var e0e=!1;if(names[x_])x_=names[x_],e0e=!0;else if(x_==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var $P=matchers.rgb.exec(x_);return $P?{r:$P[1],g:$P[2],b:$P[3]}:($P=matchers.rgba.exec(x_),$P?{r:$P[1],g:$P[2],b:$P[3],a:$P[4]}:($P=matchers.hsl.exec(x_),$P?{h:$P[1],s:$P[2],l:$P[3]}:($P=matchers.hsla.exec(x_),$P?{h:$P[1],s:$P[2],l:$P[3],a:$P[4]}:($P=matchers.hsv.exec(x_),$P?{h:$P[1],s:$P[2],v:$P[3]}:($P=matchers.hsva.exec(x_),$P?{h:$P[1],s:$P[2],v:$P[3],a:$P[4]}:($P=matchers.hex8.exec(x_),$P?{r:parseIntFromHex($P[1]),g:parseIntFromHex($P[2]),b:parseIntFromHex($P[3]),a:convertHexToDecimal($P[4]),format:e0e?"name":"hex8"}:($P=matchers.hex6.exec(x_),$P?{r:parseIntFromHex($P[1]),g:parseIntFromHex($P[2]),b:parseIntFromHex($P[3]),format:e0e?"name":"hex"}:($P=matchers.hex4.exec(x_),$P?{r:parseIntFromHex($P[1]+$P[1]),g:parseIntFromHex($P[2]+$P[2]),b:parseIntFromHex($P[3]+$P[3]),a:convertHexToDecimal($P[4]+$P[4]),format:e0e?"name":"hex8"}:($P=matchers.hex3.exec(x_),$P?{r:parseIntFromHex($P[1]+$P[1]),g:parseIntFromHex($P[2]+$P[2]),b:parseIntFromHex($P[3]+$P[3]),format:e0e?"name":"hex"}:!1)))))))))}function isValidCSSUnit(x_){return!!matchers.CSS_UNIT.exec(String(x_))}var TinyColor=function(){function x_(e0e,$P){e0e===void 0&&(e0e=""),$P===void 0&&($P={});var t0e;if(e0e instanceof x_)return e0e;typeof e0e=="number"&&(e0e=numberInputToObject(e0e)),this.originalInput=e0e;var r0e=inputToRGB(e0e);this.originalInput=e0e,this.r=r0e.r,this.g=r0e.g,this.b=r0e.b,this.a=r0e.a,this.roundA=Math.round(100*this.a)/100,this.format=(t0e=$P.format)!==null&&t0e!==void 0?t0e:r0e.format,this.gradientType=$P.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=r0e.ok}return x_.prototype.isDark=function(){return this.getBrightness()<128},x_.prototype.isLight=function(){return!this.isDark()},x_.prototype.getBrightness=function(){var e0e=this.toRgb();return(e0e.r*299+e0e.g*587+e0e.b*114)/1e3},x_.prototype.getLuminance=function(){var e0e=this.toRgb(),$P,t0e,r0e,n0e=e0e.r/255,a0e=e0e.g/255,o0e=e0e.b/255;return n0e<=.03928?$P=n0e/12.92:$P=Math.pow((n0e+.055)/1.055,2.4),a0e<=.03928?t0e=a0e/12.92:t0e=Math.pow((a0e+.055)/1.055,2.4),o0e<=.03928?r0e=o0e/12.92:r0e=Math.pow((o0e+.055)/1.055,2.4),.2126*$P+.7152*t0e+.0722*r0e},x_.prototype.getAlpha=function(){return this.a},x_.prototype.setAlpha=function(e0e){return this.a=boundAlpha(e0e),this.roundA=Math.round(100*this.a)/100,this},x_.prototype.isMonochrome=function(){var e0e=this.toHsl().s;return e0e===0},x_.prototype.toHsv=function(){var e0e=rgbToHsv(this.r,this.g,this.b);return{h:e0e.h*360,s:e0e.s,v:e0e.v,a:this.a}},x_.prototype.toHsvString=function(){var e0e=rgbToHsv(this.r,this.g,this.b),$P=Math.round(e0e.h*360),t0e=Math.round(e0e.s*100),r0e=Math.round(e0e.v*100);return this.a===1?"hsv(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%)"):"hsva(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%, ").concat(this.roundA,")")},x_.prototype.toHsl=function(){var e0e=rgbToHsl(this.r,this.g,this.b);return{h:e0e.h*360,s:e0e.s,l:e0e.l,a:this.a}},x_.prototype.toHslString=function(){var e0e=rgbToHsl(this.r,this.g,this.b),$P=Math.round(e0e.h*360),t0e=Math.round(e0e.s*100),r0e=Math.round(e0e.l*100);return this.a===1?"hsl(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%)"):"hsla(".concat($P,", ").concat(t0e,"%, ").concat(r0e,"%, ").concat(this.roundA,")")},x_.prototype.toHex=function(e0e){return e0e===void 0&&(e0e=!1),rgbToHex(this.r,this.g,this.b,e0e)},x_.prototype.toHexString=function(e0e){return e0e===void 0&&(e0e=!1),"#"+this.toHex(e0e)},x_.prototype.toHex8=function(e0e){return e0e===void 0&&(e0e=!1),rgbaToHex$1(this.r,this.g,this.b,this.a,e0e)},x_.prototype.toHex8String=function(e0e){return e0e===void 0&&(e0e=!1),"#"+this.toHex8(e0e)},x_.prototype.toHexShortString=function(e0e){return e0e===void 0&&(e0e=!1),this.a===1?this.toHexString(e0e):this.toHex8String(e0e)},x_.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},x_.prototype.toRgbString=function(){var e0e=Math.round(this.r),$P=Math.round(this.g),t0e=Math.round(this.b);return this.a===1?"rgb(".concat(e0e,", ").concat($P,", ").concat(t0e,")"):"rgba(".concat(e0e,", ").concat($P,", ").concat(t0e,", ").concat(this.roundA,")")},x_.prototype.toPercentageRgb=function(){var e0e=function($P){return"".concat(Math.round(bound01($P,255)*100),"%")};return{r:e0e(this.r),g:e0e(this.g),b:e0e(this.b),a:this.a}},x_.prototype.toPercentageRgbString=function(){var e0e=function($P){return Math.round(bound01($P,255)*100)};return this.a===1?"rgb(".concat(e0e(this.r),"%, ").concat(e0e(this.g),"%, ").concat(e0e(this.b),"%)"):"rgba(".concat(e0e(this.r),"%, ").concat(e0e(this.g),"%, ").concat(e0e(this.b),"%, ").concat(this.roundA,")")},x_.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var e0e="#"+rgbToHex(this.r,this.g,this.b,!1),$P=0,t0e=Object.entries(names);$P=0,n0e=!$P&&r0e&&(e0e.startsWith("hex")||e0e==="name");return n0e?e0e==="name"&&this.a===0?this.toName():this.toRgbString():(e0e==="rgb"&&(t0e=this.toRgbString()),e0e==="prgb"&&(t0e=this.toPercentageRgbString()),(e0e==="hex"||e0e==="hex6")&&(t0e=this.toHexString()),e0e==="hex3"&&(t0e=this.toHexString(!0)),e0e==="hex4"&&(t0e=this.toHex8String(!0)),e0e==="hex8"&&(t0e=this.toHex8String()),e0e==="name"&&(t0e=this.toName()),e0e==="hsl"&&(t0e=this.toHslString()),e0e==="hsv"&&(t0e=this.toHsvString()),t0e||this.toHexString())},x_.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},x_.prototype.clone=function(){return new x_(this.toString())},x_.prototype.lighten=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.l+=e0e/100,$P.l=clamp01($P.l),new x_($P)},x_.prototype.brighten=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toRgb();return $P.r=Math.max(0,Math.min(255,$P.r-Math.round(255*-(e0e/100)))),$P.g=Math.max(0,Math.min(255,$P.g-Math.round(255*-(e0e/100)))),$P.b=Math.max(0,Math.min(255,$P.b-Math.round(255*-(e0e/100)))),new x_($P)},x_.prototype.darken=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.l-=e0e/100,$P.l=clamp01($P.l),new x_($P)},x_.prototype.tint=function(e0e){return e0e===void 0&&(e0e=10),this.mix("white",e0e)},x_.prototype.shade=function(e0e){return e0e===void 0&&(e0e=10),this.mix("black",e0e)},x_.prototype.desaturate=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.s-=e0e/100,$P.s=clamp01($P.s),new x_($P)},x_.prototype.saturate=function(e0e){e0e===void 0&&(e0e=10);var $P=this.toHsl();return $P.s+=e0e/100,$P.s=clamp01($P.s),new x_($P)},x_.prototype.greyscale=function(){return this.desaturate(100)},x_.prototype.spin=function(e0e){var $P=this.toHsl(),t0e=($P.h+e0e)%360;return $P.h=t0e<0?360+t0e:t0e,new x_($P)},x_.prototype.mix=function(e0e,$P){$P===void 0&&($P=50);var t0e=this.toRgb(),r0e=new x_(e0e).toRgb(),n0e=$P/100,a0e={r:(r0e.r-t0e.r)*n0e+t0e.r,g:(r0e.g-t0e.g)*n0e+t0e.g,b:(r0e.b-t0e.b)*n0e+t0e.b,a:(r0e.a-t0e.a)*n0e+t0e.a};return new x_(a0e)},x_.prototype.analogous=function(e0e,$P){e0e===void 0&&(e0e=6),$P===void 0&&($P=30);var t0e=this.toHsl(),r0e=360/$P,n0e=[this];for(t0e.h=(t0e.h-(r0e*e0e>>1)+720)%360;--e0e;)t0e.h=(t0e.h+r0e)%360,n0e.push(new x_(t0e));return n0e},x_.prototype.complement=function(){var e0e=this.toHsl();return e0e.h=(e0e.h+180)%360,new x_(e0e)},x_.prototype.monochromatic=function(e0e){e0e===void 0&&(e0e=6);for(var $P=this.toHsv(),t0e=$P.h,r0e=$P.s,n0e=$P.v,a0e=[],o0e=1/e0e;e0e--;)a0e.push(new x_({h:t0e,s:r0e,v:n0e})),n0e=(n0e+o0e)%1;return a0e},x_.prototype.splitcomplement=function(){var e0e=this.toHsl(),$P=e0e.h;return[this,new x_({h:($P+72)%360,s:e0e.s,l:e0e.l}),new x_({h:($P+216)%360,s:e0e.s,l:e0e.l})]},x_.prototype.onBackground=function(e0e){var $P=this.toRgb(),t0e=new x_(e0e).toRgb(),r0e=$P.a+t0e.a*(1-$P.a);return new x_({r:($P.r*$P.a+t0e.r*t0e.a*(1-$P.a))/r0e,g:($P.g*$P.a+t0e.g*t0e.a*(1-$P.a))/r0e,b:($P.b*$P.a+t0e.b*t0e.a*(1-$P.a))/r0e,a:r0e})},x_.prototype.triad=function(){return this.polyad(3)},x_.prototype.tetrad=function(){return this.polyad(4)},x_.prototype.polyad=function(e0e){for(var $P=this.toHsl(),t0e=$P.h,r0e=[this],n0e=360/e0e,a0e=1;a0e=60&&Math.round(x_.h)<=240?t0e=$P?Math.round(x_.h)-hueStep*e0e:Math.round(x_.h)+hueStep*e0e:t0e=$P?Math.round(x_.h)+hueStep*e0e:Math.round(x_.h)-hueStep*e0e,t0e<0?t0e+=360:t0e>=360&&(t0e-=360),t0e}function getSaturation(x_,e0e,$P){if(x_.h===0&&x_.s===0)return x_.s;var t0e;return $P?t0e=x_.s-saturationStep*e0e:e0e===darkColorCount?t0e=x_.s+saturationStep:t0e=x_.s+saturationStep2*e0e,t0e>1&&(t0e=1),$P&&e0e===lightColorCount&&t0e>.1&&(t0e=.1),t0e<.06&&(t0e=.06),Number(t0e.toFixed(2))}function getValue$2(x_,e0e,$P){var t0e;return $P?t0e=x_.v+brightnessStep1*e0e:t0e=x_.v-brightnessStep2*e0e,t0e>1&&(t0e=1),Number(t0e.toFixed(2))}function generate$1(x_){for(var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$P=[],t0e=inputToRGB(x_),r0e=lightColorCount;r0e>0;r0e-=1){var n0e=toHsv(t0e),a0e=toHex(inputToRGB({h:getHue(n0e,r0e,!0),s:getSaturation(n0e,r0e,!0),v:getValue$2(n0e,r0e,!0)}));$P.push(a0e)}$P.push(toHex(t0e));for(var o0e=1;o0e<=darkColorCount;o0e+=1){var i0e=toHsv(t0e),s0e=toHex(inputToRGB({h:getHue(i0e,o0e),s:getSaturation(i0e,o0e),v:getValue$2(i0e,o0e)}));$P.push(s0e)}return e0e.theme==="dark"?darkColorMap.map(function(l0e){var c0e=l0e.index,u0e=l0e.opacity,d0e=toHex(mix(inputToRGB(e0e.backgroundColor||"#141414"),inputToRGB($P[c0e]),u0e*100));return d0e}):$P}var presetPrimaryColors={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"},presetPalettes={},presetDarkPalettes={};Object.keys(presetPrimaryColors).forEach(function(x_){presetPalettes[x_]=generate$1(presetPrimaryColors[x_]),presetPalettes[x_].primary=presetPalettes[x_][5],presetDarkPalettes[x_]=generate$1(presetPrimaryColors[x_],{theme:"dark",backgroundColor:"#141414"}),presetDarkPalettes[x_].primary=presetDarkPalettes[x_][5]});var blue=presetPalettes.blue;const genControlHeight=x_=>{const{controlHeight:e0e}=x_;return{controlHeightSM:e0e*.75,controlHeightXS:e0e*.5,controlHeightLG:e0e*1.25}},genControlHeight$1=genControlHeight;function genSizeMapToken$1(x_){const{sizeUnit:e0e,sizeStep:$P}=x_;return{sizeXXL:e0e*($P+8),sizeXL:e0e*($P+4),sizeLG:e0e*($P+2),sizeMD:e0e*($P+1),sizeMS:e0e*$P,size:e0e*$P,sizeSM:e0e*($P-1),sizeXS:e0e*($P-2),sizeXXS:e0e*($P-3)}}const defaultPresetColors={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"},seedToken=Object.assign(Object.assign({},defaultPresetColors),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'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});function genColorMapToken(x_,e0e){let{generateColorPalettes:$P,generateNeutralColorPalettes:t0e}=e0e;const{colorSuccess:r0e,colorWarning:n0e,colorError:a0e,colorInfo:o0e,colorPrimary:i0e,colorBgBase:s0e,colorTextBase:l0e}=x_,c0e=$P(i0e),u0e=$P(r0e),d0e=$P(n0e),p0e=$P(a0e),f0e=$P(o0e),h0e=t0e(s0e,l0e),b0e=x_.colorLink||x_.colorInfo,m0e=$P(b0e);return Object.assign(Object.assign({},h0e),{colorPrimaryBg:c0e[1],colorPrimaryBgHover:c0e[2],colorPrimaryBorder:c0e[3],colorPrimaryBorderHover:c0e[4],colorPrimaryHover:c0e[5],colorPrimary:c0e[6],colorPrimaryActive:c0e[7],colorPrimaryTextHover:c0e[8],colorPrimaryText:c0e[9],colorPrimaryTextActive:c0e[10],colorSuccessBg:u0e[1],colorSuccessBgHover:u0e[2],colorSuccessBorder:u0e[3],colorSuccessBorderHover:u0e[4],colorSuccessHover:u0e[4],colorSuccess:u0e[6],colorSuccessActive:u0e[7],colorSuccessTextHover:u0e[8],colorSuccessText:u0e[9],colorSuccessTextActive:u0e[10],colorErrorBg:p0e[1],colorErrorBgHover:p0e[2],colorErrorBorder:p0e[3],colorErrorBorderHover:p0e[4],colorErrorHover:p0e[5],colorError:p0e[6],colorErrorActive:p0e[7],colorErrorTextHover:p0e[8],colorErrorText:p0e[9],colorErrorTextActive:p0e[10],colorWarningBg:d0e[1],colorWarningBgHover:d0e[2],colorWarningBorder:d0e[3],colorWarningBorderHover:d0e[4],colorWarningHover:d0e[4],colorWarning:d0e[6],colorWarningActive:d0e[7],colorWarningTextHover:d0e[8],colorWarningText:d0e[9],colorWarningTextActive:d0e[10],colorInfoBg:f0e[1],colorInfoBgHover:f0e[2],colorInfoBorder:f0e[3],colorInfoBorderHover:f0e[4],colorInfoHover:f0e[4],colorInfo:f0e[6],colorInfoActive:f0e[7],colorInfoTextHover:f0e[8],colorInfoText:f0e[9],colorInfoTextActive:f0e[10],colorLinkHover:m0e[4],colorLink:m0e[6],colorLinkActive:m0e[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const genRadius=x_=>{let e0e=x_,$P=x_,t0e=x_,r0e=x_;return x_<6&&x_>=5?e0e=x_+1:x_<16&&x_>=6?e0e=x_+2:x_>=16&&(e0e=16),x_<7&&x_>=5?$P=4:x_<8&&x_>=7?$P=5:x_<14&&x_>=8?$P=6:x_<16&&x_>=14?$P=7:x_>=16&&($P=8),x_<6&&x_>=2?t0e=1:x_>=6&&(t0e=2),x_>4&&x_<8?r0e=4:x_>=8&&(r0e=6),{borderRadius:x_,borderRadiusXS:t0e,borderRadiusSM:$P,borderRadiusLG:e0e,borderRadiusOuter:r0e}},genRadius$1=genRadius;function genCommonMapToken(x_){const{motionUnit:e0e,motionBase:$P,borderRadius:t0e,lineWidth:r0e}=x_;return Object.assign({motionDurationFast:`${($P+e0e).toFixed(1)}s`,motionDurationMid:`${($P+e0e*2).toFixed(1)}s`,motionDurationSlow:`${($P+e0e*3).toFixed(1)}s`,lineWidthBold:r0e+1},genRadius$1(t0e))}const getAlphaColor$3=(x_,e0e)=>new TinyColor(x_).setAlpha(e0e).toRgbString(),getSolidColor$1=(x_,e0e)=>new TinyColor(x_).darken(e0e).toHexString(),generateColorPalettes$1=x_=>{const e0e=generate$1(x_);return{1:e0e[0],2:e0e[1],3:e0e[2],4:e0e[3],5:e0e[4],6:e0e[5],7:e0e[6],8:e0e[4],9:e0e[5],10:e0e[6]}},generateNeutralColorPalettes$1=(x_,e0e)=>{const $P=x_||"#fff",t0e=e0e||"#000";return{colorBgBase:$P,colorTextBase:t0e,colorText:getAlphaColor$3(t0e,.88),colorTextSecondary:getAlphaColor$3(t0e,.65),colorTextTertiary:getAlphaColor$3(t0e,.45),colorTextQuaternary:getAlphaColor$3(t0e,.25),colorFill:getAlphaColor$3(t0e,.15),colorFillSecondary:getAlphaColor$3(t0e,.06),colorFillTertiary:getAlphaColor$3(t0e,.04),colorFillQuaternary:getAlphaColor$3(t0e,.02),colorBgLayout:getSolidColor$1($P,4),colorBgContainer:getSolidColor$1($P,0),colorBgElevated:getSolidColor$1($P,0),colorBgSpotlight:getAlphaColor$3(t0e,.85),colorBgBlur:"transparent",colorBorder:getSolidColor$1($P,15),colorBorderSecondary:getSolidColor$1($P,6)}};function getFontSizes(x_){const e0e=new Array(10).fill(null).map(($P,t0e)=>{const r0e=t0e-1,n0e=x_*Math.pow(2.71828,r0e/5),a0e=t0e>1?Math.floor(n0e):Math.ceil(n0e);return Math.floor(a0e/2)*2});return e0e[1]=x_,e0e.map($P=>{const t0e=$P+8;return{size:$P,lineHeight:t0e/$P}})}const genFontMapToken=x_=>{const e0e=getFontSizes(x_),$P=e0e.map(l0e=>l0e.size),t0e=e0e.map(l0e=>l0e.lineHeight),r0e=$P[1],n0e=$P[0],a0e=$P[2],o0e=t0e[1],i0e=t0e[0],s0e=t0e[2];return{fontSizeSM:n0e,fontSize:r0e,fontSizeLG:a0e,fontSizeXL:$P[3],fontSizeHeading1:$P[6],fontSizeHeading2:$P[5],fontSizeHeading3:$P[4],fontSizeHeading4:$P[3],fontSizeHeading5:$P[2],lineHeight:o0e,lineHeightLG:s0e,lineHeightSM:i0e,fontHeight:Math.round(o0e*r0e),fontHeightLG:Math.round(s0e*a0e),fontHeightSM:Math.round(i0e*n0e),lineHeightHeading1:t0e[6],lineHeightHeading2:t0e[5],lineHeightHeading3:t0e[4],lineHeightHeading4:t0e[3],lineHeightHeading5:t0e[2]}},genFontMapToken$1=genFontMapToken;function derivative$2(x_){const e0e=Object.keys(defaultPresetColors).map($P=>{const t0e=generate$1(x_[$P]);return new Array(10).fill(1).reduce((r0e,n0e,a0e)=>(r0e[`${$P}-${a0e+1}`]=t0e[a0e],r0e[`${$P}${a0e+1}`]=t0e[a0e],r0e),{})}).reduce(($P,t0e)=>($P=Object.assign(Object.assign({},$P),t0e),$P),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x_),e0e),genColorMapToken(x_,{generateColorPalettes:generateColorPalettes$1,generateNeutralColorPalettes:generateNeutralColorPalettes$1})),genFontMapToken$1(x_.fontSize)),genSizeMapToken$1(x_)),genControlHeight$1(x_)),genCommonMapToken(x_))}const defaultTheme$1=createTheme(derivative$2),defaultConfig$2={token:seedToken,override:{override:seedToken},hashed:!0},DesignTokenContext=React$1.createContext(defaultConfig$2),defaultIconPrefixCls="anticon",defaultGetPrefixCls=(x_,e0e)=>e0e||(x_?`ant-${x_}`:"ant"),ConfigContext=reactExports.createContext({getPrefixCls:defaultGetPrefixCls,iconPrefixCls:defaultIconPrefixCls}),dynamicStyleMark=`-ant-${Date.now()}-${Math.random()}`;function getStyle$1(x_,e0e){const $P={},t0e=(a0e,o0e)=>{let i0e=a0e.clone();return i0e=(o0e==null?void 0:o0e(i0e))||i0e,i0e.toRgbString()},r0e=(a0e,o0e)=>{const i0e=new TinyColor(a0e),s0e=generate$1(i0e.toRgbString());$P[`${o0e}-color`]=t0e(i0e),$P[`${o0e}-color-disabled`]=s0e[1],$P[`${o0e}-color-hover`]=s0e[4],$P[`${o0e}-color-active`]=s0e[6],$P[`${o0e}-color-outline`]=i0e.clone().setAlpha(.2).toRgbString(),$P[`${o0e}-color-deprecated-bg`]=s0e[0],$P[`${o0e}-color-deprecated-border`]=s0e[2]};if(e0e.primaryColor){r0e(e0e.primaryColor,"primary");const a0e=new TinyColor(e0e.primaryColor),o0e=generate$1(a0e.toRgbString());o0e.forEach((s0e,l0e)=>{$P[`primary-${l0e+1}`]=s0e}),$P["primary-color-deprecated-l-35"]=t0e(a0e,s0e=>s0e.lighten(35)),$P["primary-color-deprecated-l-20"]=t0e(a0e,s0e=>s0e.lighten(20)),$P["primary-color-deprecated-t-20"]=t0e(a0e,s0e=>s0e.tint(20)),$P["primary-color-deprecated-t-50"]=t0e(a0e,s0e=>s0e.tint(50)),$P["primary-color-deprecated-f-12"]=t0e(a0e,s0e=>s0e.setAlpha(s0e.getAlpha()*.12));const i0e=new TinyColor(o0e[0]);$P["primary-color-active-deprecated-f-30"]=t0e(i0e,s0e=>s0e.setAlpha(s0e.getAlpha()*.3)),$P["primary-color-active-deprecated-d-02"]=t0e(i0e,s0e=>s0e.darken(2))}return e0e.successColor&&r0e(e0e.successColor,"success"),e0e.warningColor&&r0e(e0e.warningColor,"warning"),e0e.errorColor&&r0e(e0e.errorColor,"error"),e0e.infoColor&&r0e(e0e.infoColor,"info"),` +'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}),seedToken$1=seedToken;function genColorMapToken(x_,e0e){let{generateColorPalettes:$P,generateNeutralColorPalettes:t0e}=e0e;const{colorSuccess:r0e,colorWarning:n0e,colorError:a0e,colorInfo:o0e,colorPrimary:i0e,colorBgBase:s0e,colorTextBase:l0e}=x_,c0e=$P(i0e),u0e=$P(r0e),d0e=$P(n0e),p0e=$P(a0e),f0e=$P(o0e),h0e=t0e(s0e,l0e),b0e=x_.colorLink||x_.colorInfo,m0e=$P(b0e);return Object.assign(Object.assign({},h0e),{colorPrimaryBg:c0e[1],colorPrimaryBgHover:c0e[2],colorPrimaryBorder:c0e[3],colorPrimaryBorderHover:c0e[4],colorPrimaryHover:c0e[5],colorPrimary:c0e[6],colorPrimaryActive:c0e[7],colorPrimaryTextHover:c0e[8],colorPrimaryText:c0e[9],colorPrimaryTextActive:c0e[10],colorSuccessBg:u0e[1],colorSuccessBgHover:u0e[2],colorSuccessBorder:u0e[3],colorSuccessBorderHover:u0e[4],colorSuccessHover:u0e[4],colorSuccess:u0e[6],colorSuccessActive:u0e[7],colorSuccessTextHover:u0e[8],colorSuccessText:u0e[9],colorSuccessTextActive:u0e[10],colorErrorBg:p0e[1],colorErrorBgHover:p0e[2],colorErrorBorder:p0e[3],colorErrorBorderHover:p0e[4],colorErrorHover:p0e[5],colorError:p0e[6],colorErrorActive:p0e[7],colorErrorTextHover:p0e[8],colorErrorText:p0e[9],colorErrorTextActive:p0e[10],colorWarningBg:d0e[1],colorWarningBgHover:d0e[2],colorWarningBorder:d0e[3],colorWarningBorderHover:d0e[4],colorWarningHover:d0e[4],colorWarning:d0e[6],colorWarningActive:d0e[7],colorWarningTextHover:d0e[8],colorWarningText:d0e[9],colorWarningTextActive:d0e[10],colorInfoBg:f0e[1],colorInfoBgHover:f0e[2],colorInfoBorder:f0e[3],colorInfoBorderHover:f0e[4],colorInfoHover:f0e[4],colorInfo:f0e[6],colorInfoActive:f0e[7],colorInfoTextHover:f0e[8],colorInfoText:f0e[9],colorInfoTextActive:f0e[10],colorLinkHover:m0e[4],colorLink:m0e[6],colorLinkActive:m0e[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const genRadius=x_=>{let e0e=x_,$P=x_,t0e=x_,r0e=x_;return x_<6&&x_>=5?e0e=x_+1:x_<16&&x_>=6?e0e=x_+2:x_>=16&&(e0e=16),x_<7&&x_>=5?$P=4:x_<8&&x_>=7?$P=5:x_<14&&x_>=8?$P=6:x_<16&&x_>=14?$P=7:x_>=16&&($P=8),x_<6&&x_>=2?t0e=1:x_>=6&&(t0e=2),x_>4&&x_<8?r0e=4:x_>=8&&(r0e=6),{borderRadius:x_,borderRadiusXS:t0e,borderRadiusSM:$P,borderRadiusLG:e0e,borderRadiusOuter:r0e}},genRadius$1=genRadius;function genCommonMapToken(x_){const{motionUnit:e0e,motionBase:$P,borderRadius:t0e,lineWidth:r0e}=x_;return Object.assign({motionDurationFast:`${($P+e0e).toFixed(1)}s`,motionDurationMid:`${($P+e0e*2).toFixed(1)}s`,motionDurationSlow:`${($P+e0e*3).toFixed(1)}s`,lineWidthBold:r0e+1},genRadius$1(t0e))}const getAlphaColor$3=(x_,e0e)=>new TinyColor(x_).setAlpha(e0e).toRgbString(),getSolidColor$1=(x_,e0e)=>new TinyColor(x_).darken(e0e).toHexString(),generateColorPalettes$1=x_=>{const e0e=generate$1(x_);return{1:e0e[0],2:e0e[1],3:e0e[2],4:e0e[3],5:e0e[4],6:e0e[5],7:e0e[6],8:e0e[4],9:e0e[5],10:e0e[6]}},generateNeutralColorPalettes$1=(x_,e0e)=>{const $P=x_||"#fff",t0e=e0e||"#000";return{colorBgBase:$P,colorTextBase:t0e,colorText:getAlphaColor$3(t0e,.88),colorTextSecondary:getAlphaColor$3(t0e,.65),colorTextTertiary:getAlphaColor$3(t0e,.45),colorTextQuaternary:getAlphaColor$3(t0e,.25),colorFill:getAlphaColor$3(t0e,.15),colorFillSecondary:getAlphaColor$3(t0e,.06),colorFillTertiary:getAlphaColor$3(t0e,.04),colorFillQuaternary:getAlphaColor$3(t0e,.02),colorBgLayout:getSolidColor$1($P,4),colorBgContainer:getSolidColor$1($P,0),colorBgElevated:getSolidColor$1($P,0),colorBgSpotlight:getAlphaColor$3(t0e,.85),colorBgBlur:"transparent",colorBorder:getSolidColor$1($P,15),colorBorderSecondary:getSolidColor$1($P,6)}};function getFontSizes(x_){const e0e=new Array(10).fill(null).map(($P,t0e)=>{const r0e=t0e-1,n0e=x_*Math.pow(2.71828,r0e/5),a0e=t0e>1?Math.floor(n0e):Math.ceil(n0e);return Math.floor(a0e/2)*2});return e0e[1]=x_,e0e.map($P=>{const t0e=$P+8;return{size:$P,lineHeight:t0e/$P}})}const genFontMapToken=x_=>{const e0e=getFontSizes(x_),$P=e0e.map(l0e=>l0e.size),t0e=e0e.map(l0e=>l0e.lineHeight),r0e=$P[1],n0e=$P[0],a0e=$P[2],o0e=t0e[1],i0e=t0e[0],s0e=t0e[2];return{fontSizeSM:n0e,fontSize:r0e,fontSizeLG:a0e,fontSizeXL:$P[3],fontSizeHeading1:$P[6],fontSizeHeading2:$P[5],fontSizeHeading3:$P[4],fontSizeHeading4:$P[3],fontSizeHeading5:$P[2],lineHeight:o0e,lineHeightLG:s0e,lineHeightSM:i0e,fontHeight:Math.round(o0e*r0e),fontHeightLG:Math.round(s0e*a0e),fontHeightSM:Math.round(i0e*n0e),lineHeightHeading1:t0e[6],lineHeightHeading2:t0e[5],lineHeightHeading3:t0e[4],lineHeightHeading4:t0e[3],lineHeightHeading5:t0e[2]}},genFontMapToken$1=genFontMapToken;function derivative$2(x_){const e0e=Object.keys(defaultPresetColors).map($P=>{const t0e=generate$1(x_[$P]);return new Array(10).fill(1).reduce((r0e,n0e,a0e)=>(r0e[`${$P}-${a0e+1}`]=t0e[a0e],r0e[`${$P}${a0e+1}`]=t0e[a0e],r0e),{})}).reduce(($P,t0e)=>($P=Object.assign(Object.assign({},$P),t0e),$P),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x_),e0e),genColorMapToken(x_,{generateColorPalettes:generateColorPalettes$1,generateNeutralColorPalettes:generateNeutralColorPalettes$1})),genFontMapToken$1(x_.fontSize)),genSizeMapToken$1(x_)),genControlHeight$1(x_)),genCommonMapToken(x_))}const defaultTheme$1=createTheme(derivative$2),defaultConfig$2={token:seedToken$1,override:{override:seedToken$1},hashed:!0},DesignTokenContext=React$1.createContext(defaultConfig$2),defaultIconPrefixCls="anticon",defaultGetPrefixCls=(x_,e0e)=>e0e||(x_?`ant-${x_}`:"ant"),ConfigContext=reactExports.createContext({getPrefixCls:defaultGetPrefixCls,iconPrefixCls:defaultIconPrefixCls}),dynamicStyleMark=`-ant-${Date.now()}-${Math.random()}`;function getStyle$1(x_,e0e){const $P={},t0e=(a0e,o0e)=>{let i0e=a0e.clone();return i0e=(o0e==null?void 0:o0e(i0e))||i0e,i0e.toRgbString()},r0e=(a0e,o0e)=>{const i0e=new TinyColor(a0e),s0e=generate$1(i0e.toRgbString());$P[`${o0e}-color`]=t0e(i0e),$P[`${o0e}-color-disabled`]=s0e[1],$P[`${o0e}-color-hover`]=s0e[4],$P[`${o0e}-color-active`]=s0e[6],$P[`${o0e}-color-outline`]=i0e.clone().setAlpha(.2).toRgbString(),$P[`${o0e}-color-deprecated-bg`]=s0e[0],$P[`${o0e}-color-deprecated-border`]=s0e[2]};if(e0e.primaryColor){r0e(e0e.primaryColor,"primary");const a0e=new TinyColor(e0e.primaryColor),o0e=generate$1(a0e.toRgbString());o0e.forEach((s0e,l0e)=>{$P[`primary-${l0e+1}`]=s0e}),$P["primary-color-deprecated-l-35"]=t0e(a0e,s0e=>s0e.lighten(35)),$P["primary-color-deprecated-l-20"]=t0e(a0e,s0e=>s0e.lighten(20)),$P["primary-color-deprecated-t-20"]=t0e(a0e,s0e=>s0e.tint(20)),$P["primary-color-deprecated-t-50"]=t0e(a0e,s0e=>s0e.tint(50)),$P["primary-color-deprecated-f-12"]=t0e(a0e,s0e=>s0e.setAlpha(s0e.getAlpha()*.12));const i0e=new TinyColor(o0e[0]);$P["primary-color-active-deprecated-f-30"]=t0e(i0e,s0e=>s0e.setAlpha(s0e.getAlpha()*.3)),$P["primary-color-active-deprecated-d-02"]=t0e(i0e,s0e=>s0e.darken(2))}return e0e.successColor&&r0e(e0e.successColor,"success"),e0e.warningColor&&r0e(e0e.warningColor,"warning"),e0e.errorColor&&r0e(e0e.errorColor,"error"),e0e.infoColor&&r0e(e0e.infoColor,"info"),` :root { ${Object.keys($P).map(a0e=>`--${x_}-${a0e}: ${$P[a0e]};`).join(` `)} } - `.trim()}function registerTheme(x_,e0e){const $P=getStyle$1(x_,e0e);canUseDom$1()&&updateCSS($P,`${dynamicStyleMark}-dynamic-theme`)}const DisabledContext=reactExports.createContext(!1),DisabledContextProvider=x_=>{let{children:e0e,disabled:$P}=x_;const t0e=reactExports.useContext(DisabledContext);return reactExports.createElement(DisabledContext.Provider,{value:$P??t0e},e0e)},DisabledContext$1=DisabledContext,SizeContext=reactExports.createContext(void 0),SizeContextProvider=x_=>{let{children:e0e,size:$P}=x_;const t0e=reactExports.useContext(SizeContext);return reactExports.createElement(SizeContext.Provider,{value:$P||t0e},e0e)},SizeContext$1=SizeContext;function useConfig(){const x_=reactExports.useContext(DisabledContext$1),e0e=reactExports.useContext(SizeContext$1);return{componentDisabled:x_,componentSize:e0e}}const PresetColors=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],version$3="5.12.2";function isStableColor(x_){return x_>=0&&x_<=255}function getAlphaColor$2(x_,e0e){const{r:$P,g:t0e,b:r0e,a:n0e}=new TinyColor(x_).toRgb();if(n0e<1)return x_;const{r:a0e,g:o0e,b:i0e}=new TinyColor(e0e).toRgb();for(let s0e=.01;s0e<=1;s0e+=.01){const l0e=Math.round(($P-a0e*(1-s0e))/s0e),c0e=Math.round((t0e-o0e*(1-s0e))/s0e),u0e=Math.round((r0e-i0e*(1-s0e))/s0e);if(isStableColor(l0e)&&isStableColor(c0e)&&isStableColor(u0e))return new TinyColor({r:l0e,g:c0e,b:u0e,a:Math.round(s0e*100)/100}).toRgbString()}return new TinyColor({r:$P,g:t0e,b:r0e,a:1}).toRgbString()}var __rest$V=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{delete t0e[u0e]});const r0e=Object.assign(Object.assign({},$P),t0e),n0e=480,a0e=576,o0e=768,i0e=992,s0e=1200,l0e=1600;if(r0e.motion===!1){const u0e="0s";r0e.motionDurationFast=u0e,r0e.motionDurationMid=u0e,r0e.motionDurationSlow=u0e}return Object.assign(Object.assign(Object.assign({},r0e),{colorFillContent:r0e.colorFillSecondary,colorFillContentHover:r0e.colorFill,colorFillAlter:r0e.colorFillQuaternary,colorBgContainerDisabled:r0e.colorFillTertiary,colorBorderBg:r0e.colorBgContainer,colorSplit:getAlphaColor$2(r0e.colorBorderSecondary,r0e.colorBgContainer),colorTextPlaceholder:r0e.colorTextQuaternary,colorTextDisabled:r0e.colorTextQuaternary,colorTextHeading:r0e.colorText,colorTextLabel:r0e.colorTextSecondary,colorTextDescription:r0e.colorTextTertiary,colorTextLightSolid:r0e.colorWhite,colorHighlight:r0e.colorError,colorBgTextHover:r0e.colorFillSecondary,colorBgTextActive:r0e.colorFill,colorIcon:r0e.colorTextTertiary,colorIconHover:r0e.colorText,colorErrorOutline:getAlphaColor$2(r0e.colorErrorBg,r0e.colorBgContainer),colorWarningOutline:getAlphaColor$2(r0e.colorWarningBg,r0e.colorBgContainer),fontSizeIcon:r0e.fontSizeSM,lineWidthFocus:r0e.lineWidth*4,lineWidth:r0e.lineWidth,controlOutlineWidth:r0e.lineWidth*2,controlInteractiveSize:r0e.controlHeight/2,controlItemBgHover:r0e.colorFillTertiary,controlItemBgActive:r0e.colorPrimaryBg,controlItemBgActiveHover:r0e.colorPrimaryBgHover,controlItemBgActiveDisabled:r0e.colorFill,controlTmpOutline:r0e.colorFillQuaternary,controlOutline:getAlphaColor$2(r0e.colorPrimaryBg,r0e.colorBgContainer),lineType:r0e.lineType,borderRadius:r0e.borderRadius,borderRadiusXS:r0e.borderRadiusXS,borderRadiusSM:r0e.borderRadiusSM,borderRadiusLG:r0e.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r0e.sizeXXS,paddingXS:r0e.sizeXS,paddingSM:r0e.sizeSM,padding:r0e.size,paddingMD:r0e.sizeMD,paddingLG:r0e.sizeLG,paddingXL:r0e.sizeXL,paddingContentHorizontalLG:r0e.sizeLG,paddingContentVerticalLG:r0e.sizeMS,paddingContentHorizontal:r0e.sizeMS,paddingContentVertical:r0e.sizeSM,paddingContentHorizontalSM:r0e.size,paddingContentVerticalSM:r0e.sizeXS,marginXXS:r0e.sizeXXS,marginXS:r0e.sizeXS,marginSM:r0e.sizeSM,margin:r0e.size,marginMD:r0e.sizeMD,marginLG:r0e.sizeLG,marginXL:r0e.sizeXL,marginXXL:r0e.sizeXXL,boxShadow:` + `.trim()}function registerTheme(x_,e0e){const $P=getStyle$1(x_,e0e);canUseDom$1()&&updateCSS($P,`${dynamicStyleMark}-dynamic-theme`)}const DisabledContext=reactExports.createContext(!1),DisabledContextProvider=x_=>{let{children:e0e,disabled:$P}=x_;const t0e=reactExports.useContext(DisabledContext);return reactExports.createElement(DisabledContext.Provider,{value:$P??t0e},e0e)},DisabledContext$1=DisabledContext,SizeContext=reactExports.createContext(void 0),SizeContextProvider=x_=>{let{children:e0e,size:$P}=x_;const t0e=reactExports.useContext(SizeContext);return reactExports.createElement(SizeContext.Provider,{value:$P||t0e},e0e)},SizeContext$1=SizeContext;function useConfig(){const x_=reactExports.useContext(DisabledContext$1),e0e=reactExports.useContext(SizeContext$1);return{componentDisabled:x_,componentSize:e0e}}const PresetColors=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],version$3="5.12.2";function isStableColor(x_){return x_>=0&&x_<=255}function getAlphaColor$2(x_,e0e){const{r:$P,g:t0e,b:r0e,a:n0e}=new TinyColor(x_).toRgb();if(n0e<1)return x_;const{r:a0e,g:o0e,b:i0e}=new TinyColor(e0e).toRgb();for(let s0e=.01;s0e<=1;s0e+=.01){const l0e=Math.round(($P-a0e*(1-s0e))/s0e),c0e=Math.round((t0e-o0e*(1-s0e))/s0e),u0e=Math.round((r0e-i0e*(1-s0e))/s0e);if(isStableColor(l0e)&&isStableColor(c0e)&&isStableColor(u0e))return new TinyColor({r:l0e,g:c0e,b:u0e,a:Math.round(s0e*100)/100}).toRgbString()}return new TinyColor({r:$P,g:t0e,b:r0e,a:1}).toRgbString()}var __rest$V=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{delete t0e[u0e]});const r0e=Object.assign(Object.assign({},$P),t0e),n0e=480,a0e=576,o0e=768,i0e=992,s0e=1200,l0e=1600;if(r0e.motion===!1){const u0e="0s";r0e.motionDurationFast=u0e,r0e.motionDurationMid=u0e,r0e.motionDurationSlow=u0e}return Object.assign(Object.assign(Object.assign({},r0e),{colorFillContent:r0e.colorFillSecondary,colorFillContentHover:r0e.colorFill,colorFillAlter:r0e.colorFillQuaternary,colorBgContainerDisabled:r0e.colorFillTertiary,colorBorderBg:r0e.colorBgContainer,colorSplit:getAlphaColor$2(r0e.colorBorderSecondary,r0e.colorBgContainer),colorTextPlaceholder:r0e.colorTextQuaternary,colorTextDisabled:r0e.colorTextQuaternary,colorTextHeading:r0e.colorText,colorTextLabel:r0e.colorTextSecondary,colorTextDescription:r0e.colorTextTertiary,colorTextLightSolid:r0e.colorWhite,colorHighlight:r0e.colorError,colorBgTextHover:r0e.colorFillSecondary,colorBgTextActive:r0e.colorFill,colorIcon:r0e.colorTextTertiary,colorIconHover:r0e.colorText,colorErrorOutline:getAlphaColor$2(r0e.colorErrorBg,r0e.colorBgContainer),colorWarningOutline:getAlphaColor$2(r0e.colorWarningBg,r0e.colorBgContainer),fontSizeIcon:r0e.fontSizeSM,lineWidthFocus:r0e.lineWidth*4,lineWidth:r0e.lineWidth,controlOutlineWidth:r0e.lineWidth*2,controlInteractiveSize:r0e.controlHeight/2,controlItemBgHover:r0e.colorFillTertiary,controlItemBgActive:r0e.colorPrimaryBg,controlItemBgActiveHover:r0e.colorPrimaryBgHover,controlItemBgActiveDisabled:r0e.colorFill,controlTmpOutline:r0e.colorFillQuaternary,controlOutline:getAlphaColor$2(r0e.colorPrimaryBg,r0e.colorBgContainer),lineType:r0e.lineType,borderRadius:r0e.borderRadius,borderRadiusXS:r0e.borderRadiusXS,borderRadiusSM:r0e.borderRadiusSM,borderRadiusLG:r0e.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r0e.sizeXXS,paddingXS:r0e.sizeXS,paddingSM:r0e.sizeSM,padding:r0e.size,paddingMD:r0e.sizeMD,paddingLG:r0e.sizeLG,paddingXL:r0e.sizeXL,paddingContentHorizontalLG:r0e.sizeLG,paddingContentVerticalLG:r0e.sizeMS,paddingContentHorizontal:r0e.sizeMS,paddingContentVertical:r0e.sizeSM,paddingContentHorizontalSM:r0e.size,paddingContentVerticalSM:r0e.sizeXS,marginXXS:r0e.sizeXXS,marginXS:r0e.sizeXS,marginSM:r0e.sizeSM,margin:r0e.size,marginMD:r0e.sizeMD,marginLG:r0e.sizeLG,marginXL:r0e.sizeXL,marginXXL:r0e.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -120,7 +120,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),t0e)}var __rest$U=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const t0e=$P.getDerivativeToken(x_),{override:r0e}=e0e,n0e=__rest$U(e0e,["override"]);let a0e=Object.assign(Object.assign({},t0e),{override:r0e});return a0e=formatToken(a0e),n0e&&Object.entries(n0e).forEach(o0e=>{let[i0e,s0e]=o0e;const{theme:l0e}=s0e,c0e=__rest$U(s0e,["theme"]);let u0e=c0e;l0e&&(u0e=getComputedToken(Object.assign(Object.assign({},a0e),c0e),{override:c0e},l0e)),a0e[i0e]=u0e}),a0e};function useToken$1(){const{token:x_,hashed:e0e,theme:$P,override:t0e,cssVar:r0e}=React$1.useContext(DesignTokenContext),n0e=`${version$3}-${e0e||""}`,a0e=$P||defaultTheme$1,[o0e,i0e,s0e]=useCacheToken(a0e,[seedToken,x_],{salt:n0e,override:t0e,getComputedToken,formatToken,cssVar:r0e&&{prefix:r0e.prefix,key:r0e.key,unitless,ignore,preserve}});return[a0e,s0e,e0e?i0e:"",o0e,r0e]}function useEvent(x_){var e0e=reactExports.useRef();e0e.current=x_;var $P=reactExports.useCallback(function(){for(var t0e,r0e=arguments.length,n0e=new Array(r0e),a0e=0;a0e1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:x_.colorText,fontSize:x_.fontSize,lineHeight:x_.lineHeight,listStyle:"none",fontFamily:e0e?"inherit":x_.fontFamily}},resetIcon=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),clearFix=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),genLinkStyle=x_=>({a:{color:x_.colorLink,textDecoration:x_.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${x_.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:x_.colorLinkHover},"&:active":{color:x_.colorLinkActive},"&:active,\n &:hover":{textDecoration:x_.linkHoverDecoration,outline:0},"&:focus":{textDecoration:x_.linkFocusDecoration,outline:0},"&[disabled]":{color:x_.colorTextDisabled,cursor:"not-allowed"}}}),genCommonStyle=(x_,e0e)=>{const{fontFamily:$P,fontSize:t0e}=x_,r0e=`[class^="${e0e}"], [class*=" ${e0e}"]`;return{[r0e]:{fontFamily:$P,fontSize:t0e,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r0e]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},genFocusOutline=x_=>({outline:`${unit$1(x_.lineWidthFocus)} solid ${x_.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),genFocusStyle=x_=>({"&:focus-visible":Object.assign({},genFocusOutline(x_))});let AbstractCalculator=_createClass$1(function x_(){_classCallCheck$1(this,x_)});const AbstractCalculator$1=AbstractCalculator;let NumCalculator=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;return _classCallCheck$1(this,$P),r0e=e0e.call(this),r0e.result=0,t0e instanceof $P?r0e.result=t0e.result:typeof t0e=="number"&&(r0e.result=t0e),r0e}return _createClass$1($P,[{key:"add",value:function(r0e){return r0e instanceof $P?this.result+=r0e.result:typeof r0e=="number"&&(this.result+=r0e),this}},{key:"sub",value:function(r0e){return r0e instanceof $P?this.result-=r0e.result:typeof r0e=="number"&&(this.result-=r0e),this}},{key:"mul",value:function(r0e){return r0e instanceof $P?this.result*=r0e.result:typeof r0e=="number"&&(this.result*=r0e),this}},{key:"div",value:function(r0e){return r0e instanceof $P?this.result/=r0e.result:typeof r0e=="number"&&(this.result/=r0e),this}},{key:"equal",value:function(){return this.result}}]),$P}(AbstractCalculator$1);const CALC_UNIT="CALC_UNIT";function unit(x_){return typeof x_=="number"?`${x_}${CALC_UNIT}`:x_}let CSSCalculator=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;return _classCallCheck$1(this,$P),r0e=e0e.call(this),r0e.result="",t0e instanceof $P?r0e.result=`(${t0e.result})`:typeof t0e=="number"?r0e.result=unit(t0e):typeof t0e=="string"&&(r0e.result=t0e),r0e}return _createClass$1($P,[{key:"add",value:function(r0e){return r0e instanceof $P?this.result=`${this.result} + ${r0e.getResult()}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} + ${unit(r0e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r0e){return r0e instanceof $P?this.result=`${this.result} - ${r0e.getResult()}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} - ${unit(r0e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r0e){return this.lowPriority&&(this.result=`(${this.result})`),r0e instanceof $P?this.result=`${this.result} * ${r0e.getResult(!0)}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} * ${r0e}`),this.lowPriority=!1,this}},{key:"div",value:function(r0e){return this.lowPriority&&(this.result=`(${this.result})`),r0e instanceof $P?this.result=`${this.result} / ${r0e.getResult(!0)}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} / ${r0e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r0e){return this.lowPriority||r0e?`(${this.result})`:this.result}},{key:"equal",value:function(r0e){const{unit:n0e=!0}=r0e||{},a0e=new RegExp(`${CALC_UNIT}`,"g");return this.result=this.result.replace(a0e,n0e?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),$P}(AbstractCalculator$1);const genCalc=x_=>{const e0e=x_==="css"?CSSCalculator:NumCalculator;return $P=>new e0e($P)},genCalc$1=genCalc;function genMaxMin(x_){return x_==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0eunit$1(r0e)).join(",")})`},min:function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0eunit$1(r0e)).join(",")})`}}}const enableStatistic=typeof CSSINJS_STATISTIC<"u";let recording=!0;function merge$2(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P{Object.keys(r0e).forEach(a0e=>{Object.defineProperty(t0e,a0e,{configurable:!0,enumerable:!0,get:()=>r0e[a0e]})})}),recording=!0,t0e}const statistic={};function noop$c(){}function statisticToken(x_){let e0e,$P=x_,t0e=noop$c;return enableStatistic&&typeof Proxy<"u"&&(e0e=new Set,$P=new Proxy(x_,{get(r0e,n0e){return recording&&e0e.add(n0e),r0e[n0e]}}),t0e=(r0e,n0e)=>{var a0e;statistic[r0e]={global:Array.from(e0e),component:Object.assign(Object.assign({},(a0e=statistic[r0e])===null||a0e===void 0?void 0:a0e.component),n0e)}}),{token:$P,keys:e0e,flush:t0e}}const useResetIconStyle=(x_,e0e)=>{const[$P,t0e]=useToken$1();return useStyleRegister({theme:$P,token:t0e,hashId:"",path:["ant-design-icons",x_],nonce:()=>e0e==null?void 0:e0e.nonce},()=>[{[`.${x_}`]:Object.assign(Object.assign({},resetIcon()),{[`.${x_} .${x_}-icon`]:{display:"block"}})}])},useStyle$s=useResetIconStyle,getDefaultComponentToken=(x_,e0e,$P)=>{var t0e;return typeof $P=="function"?$P(merge$2(e0e,(t0e=e0e[x_])!==null&&t0e!==void 0?t0e:{})):$P??{}},getComponentToken=(x_,e0e,$P,t0e)=>{const r0e=Object.assign({},e0e[x_]);if(t0e!=null&&t0e.deprecatedTokens){const{deprecatedTokens:a0e}=t0e;a0e.forEach(o0e=>{let[i0e,s0e]=o0e;var l0e;(r0e!=null&&r0e[i0e]||r0e!=null&&r0e[s0e])&&((l0e=r0e[s0e])!==null&&l0e!==void 0||(r0e[s0e]=r0e==null?void 0:r0e[i0e]))})}let n0e=Object.assign(Object.assign({},$P),r0e);return t0e!=null&&t0e.format&&(n0e=t0e.format(n0e)),Object.keys(n0e).forEach(a0e=>{n0e[a0e]===e0e[a0e]&&delete n0e[a0e]}),n0e},getCompVarPrefix=(x_,e0e)=>`${[e0e,x_.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function genComponentStyleHook(x_,e0e,$P){let t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r0e=Array.isArray(x_)?x_:[x_,x_],[n0e]=r0e,a0e=r0e.join("-");return o0e=>{const[i0e,s0e,l0e,c0e,u0e]=useToken$1(),{getPrefixCls:d0e,iconPrefixCls:p0e,csp:f0e}=reactExports.useContext(ConfigContext),h0e=d0e(),b0e=u0e?"css":"js",m0e=genCalc$1(b0e),{max:v0e,min:g0e}=genMaxMin(b0e),y0e={theme:i0e,token:c0e,hashId:l0e,nonce:()=>f0e==null?void 0:f0e.nonce,clientOnly:t0e.clientOnly,order:t0e.order||-999};return useStyleRegister(Object.assign(Object.assign({},y0e),{clientOnly:!1,path:["Shared",h0e]}),()=>[{"&":genLinkStyle(c0e)}]),useStyle$s(p0e,f0e),[useStyleRegister(Object.assign(Object.assign({},y0e),{path:[a0e,o0e,p0e]}),()=>{if(t0e.injectStyle===!1)return[];const{token:O0e,flush:z0e}=statisticToken(c0e),_0e=getDefaultComponentToken(n0e,s0e,$P),A0e=`.${o0e}`,$0e=getComponentToken(n0e,s0e,_0e,{deprecatedTokens:t0e.deprecatedTokens,format:t0e.format});u0e&&Object.keys(_0e).forEach(E0e=>{_0e[E0e]=`var(${token2CSSVar(E0e,getCompVarPrefix(n0e,u0e.prefix))})`});const S0e=merge$2(O0e,{componentCls:A0e,prefixCls:o0e,iconCls:`.${p0e}`,antCls:`.${h0e}`,calc:m0e,max:v0e,min:g0e},u0e?_0e:$0e),C0e=e0e(S0e,{hashId:l0e,prefixCls:o0e,rootPrefixCls:h0e,iconPrefixCls:p0e});return z0e(n0e,$0e),[t0e.resetStyle===!1?null:genCommonStyle(S0e,o0e),C0e]}),cx$1(l0e,u0e==null?void 0:u0e.key)]}}const genSubStyleComponent=(x_,e0e,$P,t0e)=>{const r0e=genComponentStyleHook(x_,e0e,$P,Object.assign({resetStyle:!1,order:-998},t0e));return a0e=>{let{prefixCls:o0e}=a0e;return r0e(o0e),null}},genCSSVarRegister=(x_,e0e,$P)=>{function t0e(s0e){return`${x_}${s0e.slice(0,1).toUpperCase()}${s0e.slice(1)}`}const{unitless:r0e={},injectStyle:n0e=!0}=$P??{},a0e={[t0e("zIndexPopup")]:!0};Object.keys(r0e).forEach(s0e=>{a0e[t0e(s0e)]=r0e[s0e]});const o0e=s0e=>{let{rootCls:l0e,cssVar:c0e}=s0e;const[,u0e]=useToken$1();return useCSSVarRegister({path:[x_],prefix:c0e.prefix,key:c0e==null?void 0:c0e.key,unitless:Object.assign(Object.assign({},unitless),a0e),ignore,token:u0e,scope:l0e},()=>{const d0e=getDefaultComponentToken(x_,u0e,e0e),p0e=getComponentToken(x_,u0e,d0e,{format:$P==null?void 0:$P.format,deprecatedTokens:$P==null?void 0:$P.deprecatedTokens});return Object.keys(d0e).forEach(f0e=>{p0e[t0e(f0e)]=p0e[f0e],delete p0e[f0e]}),p0e}),null};return s0e=>{const[,,,,l0e]=useToken$1();return c0e=>n0e&&l0e?jsxs(Fragment,{children:[jsx(o0e,{rootCls:s0e,cssVar:l0e,component:x_}),c0e]}):c0e}},genStyleHooks=(x_,e0e,$P,t0e)=>{const r0e=genComponentStyleHook(x_,e0e,$P,t0e),n0e=genCSSVarRegister(x_,$P,t0e);return function(a0e){let o0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a0e;const[,i0e]=r0e(a0e);return[n0e(o0e),i0e]}};function genPresetColor$1(x_,e0e){return PresetColors.reduce(($P,t0e)=>{const r0e=x_[`${t0e}1`],n0e=x_[`${t0e}3`],a0e=x_[`${t0e}6`],o0e=x_[`${t0e}7`];return Object.assign(Object.assign({},$P),e0e(t0e,{lightColor:r0e,lightBorderColor:n0e,darkColor:a0e,textColor:o0e}))},{})}const fullClone$1=Object.assign({},React$2),{useId:useId$3}=fullClone$1,useEmptyId=()=>"",useThemeKey=typeof useId$3>"u"?useEmptyId:useId$3,useThemeKey$1=useThemeKey;function useTheme$1(x_,e0e){devUseWarning();const $P=x_||{},t0e=$P.inherit===!1||!e0e?defaultConfig$2:e0e,r0e=useThemeKey$1();return useMemo(()=>{var n0e,a0e;if(!x_)return e0e;const o0e=Object.assign({},t0e.components);Object.keys(x_.components||{}).forEach(l0e=>{o0e[l0e]=Object.assign(Object.assign({},o0e[l0e]),x_.components[l0e])});const i0e=`css-var-${r0e.replace(/:/g,"")}`,s0e=((n0e=$P.cssVar)!==null&&n0e!==void 0?n0e:t0e.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof t0e.cssVar=="object"?t0e.cssVar:{}),typeof $P.cssVar=="object"?$P.cssVar:{}),{key:typeof $P.cssVar=="object"&&((a0e=$P.cssVar)===null||a0e===void 0?void 0:a0e.key)||i0e});return Object.assign(Object.assign(Object.assign({},t0e),$P),{token:Object.assign(Object.assign({},t0e.token),$P.token),components:o0e,cssVar:s0e})},[$P,t0e],(n0e,a0e)=>n0e.some((o0e,i0e)=>{const s0e=a0e[i0e];return!isEqual(o0e,s0e,!0)}))}var _excluded$V=["children"],Context$2=reactExports.createContext({});function MotionProvider(x_){var e0e=x_.children,$P=_objectWithoutProperties$4(x_,_excluded$V);return reactExports.createElement(Context$2.Provider,{value:$P},e0e)}var DomWrapper=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(){return _classCallCheck$1(this,$P),e0e.apply(this,arguments)}return _createClass$1($P,[{key:"render",value:function(){return this.props.children}}]),$P}(reactExports.Component),STATUS_NONE="none",STATUS_APPEAR="appear",STATUS_ENTER="enter",STATUS_LEAVE="leave",STEP_NONE="none",STEP_PREPARE="prepare",STEP_START="start",STEP_ACTIVE="active",STEP_ACTIVATED="end",STEP_PREPARED="prepared";function makePrefixMap(x_,e0e){var $P={};return $P[x_.toLowerCase()]=e0e.toLowerCase(),$P["Webkit".concat(x_)]="webkit".concat(e0e),$P["Moz".concat(x_)]="moz".concat(e0e),$P["ms".concat(x_)]="MS".concat(e0e),$P["O".concat(x_)]="o".concat(e0e.toLowerCase()),$P}function getVendorPrefixes(x_,e0e){var $P={animationend:makePrefixMap("Animation","AnimationEnd"),transitionend:makePrefixMap("Transition","TransitionEnd")};return x_&&("AnimationEvent"in e0e||delete $P.animationend.animation,"TransitionEvent"in e0e||delete $P.transitionend.transition),$P}var vendorPrefixes=getVendorPrefixes(canUseDom$1(),typeof window<"u"?window:{}),style$3={};if(canUseDom$1()){var _document$createEleme=document.createElement("div");style$3=_document$createEleme.style}var prefixedEventNames={};function getVendorPrefixedEventName(x_){if(prefixedEventNames[x_])return prefixedEventNames[x_];var e0e=vendorPrefixes[x_];if(e0e)for(var $P=Object.keys(e0e),t0e=$P.length,r0e=0;r0e1&&arguments[1]!==void 0?arguments[1]:2;e0e();var n0e=wrapperRaf$1(function(){r0e<=1?t0e({isCanceled:function(){return n0e!==x_.current}}):$P(t0e,r0e-1)});x_.current=n0e}return reactExports.useEffect(function(){return function(){e0e()}},[]),[$P,e0e]};var FULL_STEP_QUEUE=[STEP_PREPARE,STEP_START,STEP_ACTIVE,STEP_ACTIVATED],SIMPLE_STEP_QUEUE=[STEP_PREPARE,STEP_PREPARED],SkipStep=!1,DoStep=!0;function isActive(x_){return x_===STEP_ACTIVE||x_===STEP_ACTIVATED}const useStepQueue=function(x_,e0e,$P){var t0e=useSafeState(STEP_NONE),r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=useNextFrame(),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1];function c0e(){a0e(STEP_PREPARE,!0)}var u0e=e0e?SIMPLE_STEP_QUEUE:FULL_STEP_QUEUE;return useIsomorphicLayoutEffect(function(){if(n0e!==STEP_NONE&&n0e!==STEP_ACTIVATED){var d0e=u0e.indexOf(n0e),p0e=u0e[d0e+1],f0e=$P(n0e);f0e===SkipStep?a0e(p0e,!0):p0e&&s0e(function(h0e){function b0e(){h0e.isCanceled()||a0e(p0e,!0)}f0e===!0?b0e():Promise.resolve(f0e).then(b0e)})}},[x_,n0e]),reactExports.useEffect(function(){return function(){l0e()}},[]),[c0e,n0e]};function useStatus$1(x_,e0e,$P,t0e){var r0e=t0e.motionEnter,n0e=r0e===void 0?!0:r0e,a0e=t0e.motionAppear,o0e=a0e===void 0?!0:a0e,i0e=t0e.motionLeave,s0e=i0e===void 0?!0:i0e,l0e=t0e.motionDeadline,c0e=t0e.motionLeaveImmediately,u0e=t0e.onAppearPrepare,d0e=t0e.onEnterPrepare,p0e=t0e.onLeavePrepare,f0e=t0e.onAppearStart,h0e=t0e.onEnterStart,b0e=t0e.onLeaveStart,m0e=t0e.onAppearActive,v0e=t0e.onEnterActive,g0e=t0e.onLeaveActive,y0e=t0e.onAppearEnd,M0e=t0e.onEnterEnd,O0e=t0e.onLeaveEnd,z0e=t0e.onVisibleChanged,_0e=useSafeState(),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=useSafeState(STATUS_NONE),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=useSafeState(null),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=reactExports.useRef(!1),N0e=reactExports.useRef(null);function j0e(){return $P()}var P0e=reactExports.useRef(!1);function I0e(){R0e(STATUS_NONE,!0),k0e(null,!0)}function F0e(r1e){var a1e=j0e();if(!(r1e&&!r1e.deadline&&r1e.target!==a1e)){var l1e=P0e.current,s1e;w0e===STATUS_APPEAR&&l1e?s1e=y0e==null?void 0:y0e(a1e,r1e):w0e===STATUS_ENTER&&l1e?s1e=M0e==null?void 0:M0e(a1e,r1e):w0e===STATUS_LEAVE&&l1e&&(s1e=O0e==null?void 0:O0e(a1e,r1e)),w0e!==STATUS_NONE&&l1e&&s1e!==!1&&I0e()}}var V0e=useDomMotionEvents(F0e),H0e=_slicedToArray$3(V0e,1),Q0e=H0e[0],Y0e=function(a1e){var l1e,s1e,g1e;switch(a1e){case STATUS_APPEAR:return l1e={},_defineProperty$5(l1e,STEP_PREPARE,u0e),_defineProperty$5(l1e,STEP_START,f0e),_defineProperty$5(l1e,STEP_ACTIVE,m0e),l1e;case STATUS_ENTER:return s1e={},_defineProperty$5(s1e,STEP_PREPARE,d0e),_defineProperty$5(s1e,STEP_START,h0e),_defineProperty$5(s1e,STEP_ACTIVE,v0e),s1e;case STATUS_LEAVE:return g1e={},_defineProperty$5(g1e,STEP_PREPARE,p0e),_defineProperty$5(g1e,STEP_START,b0e),_defineProperty$5(g1e,STEP_ACTIVE,g0e),g1e;default:return{}}},G0e=reactExports.useMemo(function(){return Y0e(w0e)},[w0e]),B0e=useStepQueue(w0e,!x_,function(r1e){if(r1e===STEP_PREPARE){var a1e=G0e[STEP_PREPARE];return a1e?a1e(j0e()):SkipStep}if(J0e in G0e){var l1e;k0e(((l1e=G0e[J0e])===null||l1e===void 0?void 0:l1e.call(G0e,j0e(),null))||null)}return J0e===STEP_ACTIVE&&(Q0e(j0e()),l0e>0&&(clearTimeout(N0e.current),N0e.current=setTimeout(function(){F0e({deadline:!0})},l0e))),J0e===STEP_PREPARED&&I0e(),DoStep}),U0e=_slicedToArray$3(B0e,2),X0e=U0e[0],J0e=U0e[1],e1e=isActive(J0e);P0e.current=e1e,useIsomorphicLayoutEffect(function(){S0e(e0e);var r1e=q0e.current;q0e.current=!0;var a1e;!r1e&&e0e&&o0e&&(a1e=STATUS_APPEAR),r1e&&e0e&&n0e&&(a1e=STATUS_ENTER),(r1e&&!e0e&&s0e||!r1e&&c0e&&!e0e&&s0e)&&(a1e=STATUS_LEAVE);var l1e=Y0e(a1e);a1e&&(x_||l1e[STEP_PREPARE])?(R0e(a1e),X0e()):R0e(STATUS_NONE)},[e0e]),reactExports.useEffect(function(){(w0e===STATUS_APPEAR&&!o0e||w0e===STATUS_ENTER&&!n0e||w0e===STATUS_LEAVE&&!s0e)&&R0e(STATUS_NONE)},[o0e,n0e,s0e]),reactExports.useEffect(function(){return function(){q0e.current=!1,clearTimeout(N0e.current)}},[]);var n1e=reactExports.useRef(!1);reactExports.useEffect(function(){$0e&&(n1e.current=!0),$0e!==void 0&&w0e===STATUS_NONE&&((n1e.current||$0e)&&(z0e==null||z0e($0e)),n1e.current=!0)},[$0e,w0e]);var t1e=W0e;return G0e[STEP_PREPARE]&&J0e===STEP_START&&(t1e=_objectSpread2$1({transition:"none"},t1e)),[w0e,J0e,t1e,$0e??e0e]}function genCSSMotion(x_){var e0e=x_;_typeof$2(x_)==="object"&&(e0e=x_.transitionSupport);function $P(r0e,n0e){return!!(r0e.motionName&&e0e&&n0e!==!1)}var t0e=reactExports.forwardRef(function(r0e,n0e){var a0e=r0e.visible,o0e=a0e===void 0?!0:a0e,i0e=r0e.removeOnLeave,s0e=i0e===void 0?!0:i0e,l0e=r0e.forceRender,c0e=r0e.children,u0e=r0e.motionName,d0e=r0e.leavedClassName,p0e=r0e.eventProps,f0e=reactExports.useContext(Context$2),h0e=f0e.motion,b0e=$P(r0e,h0e),m0e=reactExports.useRef(),v0e=reactExports.useRef();function g0e(){try{return m0e.current instanceof HTMLElement?m0e.current:findDOMNode$1(v0e.current)}catch{return null}}var y0e=useStatus$1(b0e,o0e,g0e,r0e),M0e=_slicedToArray$3(y0e,4),O0e=M0e[0],z0e=M0e[1],_0e=M0e[2],A0e=M0e[3],$0e=reactExports.useRef(A0e);A0e&&($0e.current=!0);var S0e=reactExports.useCallback(function(k0e){m0e.current=k0e,fillRef$1(n0e,k0e)},[n0e]),C0e,E0e=_objectSpread2$1(_objectSpread2$1({},p0e),{},{visible:o0e});if(!c0e)C0e=null;else if(O0e===STATUS_NONE)A0e?C0e=c0e(_objectSpread2$1({},E0e),S0e):!s0e&&$0e.current&&d0e?C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{className:d0e}),S0e):l0e||!s0e&&!d0e?C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{style:{display:"none"}}),S0e):C0e=null;else{var w0e,R0e;z0e===STEP_PREPARE?R0e="prepare":isActive(z0e)?R0e="active":z0e===STEP_START&&(R0e="start");var T0e=getTransitionName$1(u0e,"".concat(O0e,"-").concat(R0e));C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{className:cx$1(getTransitionName$1(u0e,O0e),(w0e={},_defineProperty$5(w0e,T0e,T0e&&R0e),_defineProperty$5(w0e,u0e,typeof u0e=="string"),w0e)),style:_0e}),S0e)}if(reactExports.isValidElement(C0e)&&supportRef(C0e)){var D0e=C0e,W0e=D0e.ref;W0e||(C0e=reactExports.cloneElement(C0e,{ref:S0e}))}return reactExports.createElement(DomWrapper,{ref:v0e},C0e)});return t0e.displayName="CSSMotion",t0e}const CSSMotion=genCSSMotion(supportTransition);var STATUS_ADD="add",STATUS_KEEP="keep",STATUS_REMOVE="remove",STATUS_REMOVED="removed";function wrapKeyToObject(x_){var e0e;return x_&&_typeof$2(x_)==="object"&&"key"in x_?e0e=x_:e0e={key:x_},_objectSpread2$1(_objectSpread2$1({},e0e),{},{key:String(e0e.key)})}function parseKeys$1(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return x_.map(wrapKeyToObject)}function diffKeys(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],$P=[],t0e=0,r0e=e0e.length,n0e=parseKeys$1(x_),a0e=parseKeys$1(e0e);n0e.forEach(function(s0e){for(var l0e=!1,c0e=t0e;c0e1});return i0e.forEach(function(s0e){$P=$P.filter(function(l0e){var c0e=l0e.key,u0e=l0e.status;return c0e!==s0e||u0e!==STATUS_REMOVE}),$P.forEach(function(l0e){l0e.key===s0e&&(l0e.status=STATUS_KEEP)})}),$P}var _excluded$U=["component","children","onVisibleChanged","onAllRemoved"],_excluded2$f=["status"],MOTION_PROP_NAMES=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function genCSSMotionList(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:CSSMotion,$P=function(t0e){_inherits$1(n0e,t0e);var r0e=_createSuper$1(n0e);function n0e(){var a0e;_classCallCheck$1(this,n0e);for(var o0e=arguments.length,i0e=new Array(o0e),s0e=0;s0enull;var __rest$T=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ee0e.endsWith("Color"))}const setGlobalConfig=x_=>{let{prefixCls:e0e,iconPrefixCls:$P,theme:t0e}=x_;e0e!==void 0&&(globalPrefixCls=e0e),$P!==void 0&&(globalIconPrefixCls=$P),t0e&&(isLegacyTheme(t0e)?registerTheme(getGlobalPrefixCls(),t0e):globalTheme=t0e)},globalConfig=()=>({getPrefixCls:(x_,e0e)=>e0e||(x_?`${getGlobalPrefixCls()}-${x_}`:getGlobalPrefixCls()),getIconPrefixCls:getGlobalIconPrefixCls,getRootPrefixCls:()=>globalPrefixCls||getGlobalPrefixCls(),getTheme:()=>globalTheme}),ProviderChildren=x_=>{const{children:e0e,csp:$P,autoInsertSpaceInButton:t0e,alert:r0e,anchor:n0e,form:a0e,locale:o0e,componentSize:i0e,direction:s0e,space:l0e,virtual:c0e,dropdownMatchSelectWidth:u0e,popupMatchSelectWidth:d0e,popupOverflow:p0e,legacyLocale:f0e,parentContext:h0e,iconPrefixCls:b0e,theme:m0e,componentDisabled:v0e,segmented:g0e,statistic:y0e,spin:M0e,calendar:O0e,carousel:z0e,cascader:_0e,collapse:A0e,typography:$0e,checkbox:S0e,descriptions:C0e,divider:E0e,drawer:w0e,skeleton:R0e,steps:T0e,image:D0e,layout:W0e,list:k0e,mentions:q0e,modal:N0e,progress:j0e,result:P0e,slider:I0e,breadcrumb:F0e,menu:V0e,pagination:H0e,input:Q0e,empty:Y0e,badge:G0e,radio:B0e,rate:U0e,switch:X0e,transfer:J0e,avatar:e1e,message:n1e,tag:t1e,table:r1e,card:a1e,tabs:l1e,timeline:s1e,timePicker:g1e,upload:$1e,notification:_1e,tree:p1e,colorPicker:E1e,datePicker:x1e,rangePicker:O1e,flex:w1e,wave:A1e,dropdown:F1e,warning:J1e}=x_,ame=reactExports.useCallback((W1e,Q1e)=>{const{prefixCls:K1e}=x_;if(Q1e)return Q1e;const rme=K1e||h0e.getPrefixCls("");return W1e?`${rme}-${W1e}`:rme},[h0e.getPrefixCls,x_.prefixCls]),G1e=b0e||h0e.iconPrefixCls||defaultIconPrefixCls,V1e=$P||h0e.csp;useStyle$s(G1e,V1e);const cme=useTheme$1(m0e,h0e.theme),ume={csp:V1e,autoInsertSpaceInButton:t0e,alert:r0e,anchor:n0e,locale:o0e||f0e,direction:s0e,space:l0e,virtual:c0e,popupMatchSelectWidth:d0e??u0e,popupOverflow:p0e,getPrefixCls:ame,iconPrefixCls:G1e,theme:cme,segmented:g0e,statistic:y0e,spin:M0e,calendar:O0e,carousel:z0e,cascader:_0e,collapse:A0e,typography:$0e,checkbox:S0e,descriptions:C0e,divider:E0e,drawer:w0e,skeleton:R0e,steps:T0e,image:D0e,input:Q0e,layout:W0e,list:k0e,mentions:q0e,modal:N0e,progress:j0e,result:P0e,slider:I0e,breadcrumb:F0e,menu:V0e,pagination:H0e,empty:Y0e,badge:G0e,radio:B0e,rate:U0e,switch:X0e,transfer:J0e,avatar:e1e,message:n1e,tag:t1e,table:r1e,card:a1e,tabs:l1e,timeline:s1e,timePicker:g1e,upload:$1e,notification:_1e,tree:p1e,colorPicker:E1e,datePicker:x1e,rangePicker:O1e,flex:w1e,wave:A1e,dropdown:F1e,warning:J1e},Y1e=Object.assign({},h0e);Object.keys(ume).forEach(W1e=>{ume[W1e]!==void 0&&(Y1e[W1e]=ume[W1e])}),PASSED_PROPS.forEach(W1e=>{const Q1e=x_[W1e];Q1e&&(Y1e[W1e]=Q1e)});const k1e=useMemo(()=>Y1e,Y1e,(W1e,Q1e)=>{const K1e=Object.keys(W1e),rme=Object.keys(Q1e);return K1e.length!==rme.length||K1e.some(L1e=>W1e[L1e]!==Q1e[L1e])}),ime=reactExports.useMemo(()=>({prefixCls:G1e,csp:V1e}),[G1e,V1e]);let I1e=reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(PropWarning,{dropdownMatchSelectWidth:u0e}),e0e);const j1e=reactExports.useMemo(()=>{var W1e,Q1e,K1e,rme;return merge$3(((W1e=defaultLocale$1.Form)===null||W1e===void 0?void 0:W1e.defaultValidateMessages)||{},((K1e=(Q1e=k1e.locale)===null||Q1e===void 0?void 0:Q1e.Form)===null||K1e===void 0?void 0:K1e.defaultValidateMessages)||{},((rme=k1e.form)===null||rme===void 0?void 0:rme.validateMessages)||{},(a0e==null?void 0:a0e.validateMessages)||{})},[k1e,a0e==null?void 0:a0e.validateMessages]);Object.keys(j1e).length>0&&(I1e=reactExports.createElement(ValidateMessagesContext.Provider,{value:j1e},I1e)),o0e&&(I1e=reactExports.createElement(LocaleProvider$1,{locale:o0e,_ANT_MARK__:ANT_MARK},I1e)),(G1e||V1e)&&(I1e=reactExports.createElement(Context$3.Provider,{value:ime},I1e)),i0e&&(I1e=reactExports.createElement(SizeContextProvider,{size:i0e},I1e)),I1e=reactExports.createElement(MotionWrapper,null,I1e);const H1e=reactExports.useMemo(()=>{const W1e=cme||{},{algorithm:Q1e,token:K1e,components:rme,cssVar:L1e}=W1e,Z1e=__rest$T(W1e,["algorithm","token","components","cssVar"]),U1e=Q1e&&(!Array.isArray(Q1e)||Q1e.length>0)?createTheme(Q1e):defaultTheme$1,D1e={};Object.entries(rme||{}).forEach(pme=>{let[$me,fme]=pme;const mme=Object.assign({},fme);"algorithm"in mme&&(mme.algorithm===!0?mme.theme=U1e:(Array.isArray(mme.algorithm)||typeof mme.algorithm=="function")&&(mme.theme=createTheme(mme.algorithm)),delete mme.algorithm),D1e[$me]=mme});const q1e=Object.assign(Object.assign({},seedToken),K1e);return Object.assign(Object.assign({},Z1e),{theme:U1e,token:q1e,components:D1e,override:Object.assign({override:q1e},D1e),cssVar:L1e})},[cme]);return m0e&&(I1e=reactExports.createElement(DesignTokenContext.Provider,{value:H1e},I1e)),k1e.warning&&(I1e=reactExports.createElement(WarningContext.Provider,{value:k1e.warning},I1e)),v0e!==void 0&&(I1e=reactExports.createElement(DisabledContextProvider,{disabled:v0e},I1e)),reactExports.createElement(ConfigContext.Provider,{value:k1e},I1e)},ConfigProvider=x_=>{const e0e=reactExports.useContext(ConfigContext),$P=reactExports.useContext(LocaleContext$2);return reactExports.createElement(ProviderChildren,Object.assign({parentContext:e0e,legacyLocale:$P},x_))};ConfigProvider.ConfigContext=ConfigContext;ConfigProvider.SizeContext=SizeContext$1;ConfigProvider.config=setGlobalConfig;ConfigProvider.useConfig=useConfig;Object.defineProperty(ConfigProvider,"SizeContext",{get:()=>SizeContext$1});const ConfigProvider$1=ConfigProvider;var CheckCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const CheckCircleFilledSvg=CheckCircleFilled$2;function getRoot$1(x_){var e0e;return x_==null||(e0e=x_.getRootNode)===null||e0e===void 0?void 0:e0e.call(x_)}function inShadow(x_){return getRoot$1(x_)instanceof ShadowRoot}function getShadowRoot(x_){return inShadow(x_)?getRoot$1(x_):null}function camelCase$2(x_){return x_.replace(/-(.)/g,function(e0e,$P){return $P.toUpperCase()})}function warning$3(x_,e0e){warningOnce$1(x_,"[@ant-design/icons] ".concat(e0e))}function isIconDefinition(x_){return _typeof$2(x_)==="object"&&typeof x_.name=="string"&&typeof x_.theme=="string"&&(_typeof$2(x_.icon)==="object"||typeof x_.icon=="function")}function normalizeAttrs(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(x_).reduce(function(e0e,$P){var t0e=x_[$P];switch($P){case"class":e0e.className=t0e,delete e0e.class;break;default:delete e0e[$P],e0e[camelCase$2($P)]=t0e}return e0e},{})}function generate(x_,e0e,$P){return $P?React$1.createElement(x_.tag,_objectSpread2$1(_objectSpread2$1({key:e0e},normalizeAttrs(x_.attrs)),$P),(x_.children||[]).map(function(t0e,r0e){return generate(t0e,"".concat(e0e,"-").concat(x_.tag,"-").concat(r0e))})):React$1.createElement(x_.tag,_objectSpread2$1({key:e0e},normalizeAttrs(x_.attrs)),(x_.children||[]).map(function(t0e,r0e){return generate(t0e,"".concat(e0e,"-").concat(x_.tag,"-").concat(r0e))}))}function getSecondaryColor(x_){return generate$1(x_)[0]}function normalizeTwoToneColors(x_){return x_?Array.isArray(x_)?x_:[x_]:[]}var iconStyles=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),t0e)}var __rest$U=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const t0e=$P.getDerivativeToken(x_),{override:r0e}=e0e,n0e=__rest$U(e0e,["override"]);let a0e=Object.assign(Object.assign({},t0e),{override:r0e});return a0e=formatToken(a0e),n0e&&Object.entries(n0e).forEach(o0e=>{let[i0e,s0e]=o0e;const{theme:l0e}=s0e,c0e=__rest$U(s0e,["theme"]);let u0e=c0e;l0e&&(u0e=getComputedToken(Object.assign(Object.assign({},a0e),c0e),{override:c0e},l0e)),a0e[i0e]=u0e}),a0e};function useToken$1(){const{token:x_,hashed:e0e,theme:$P,override:t0e,cssVar:r0e}=React$1.useContext(DesignTokenContext),n0e=`${version$3}-${e0e||""}`,a0e=$P||defaultTheme$1,[o0e,i0e,s0e]=useCacheToken(a0e,[seedToken$1,x_],{salt:n0e,override:t0e,getComputedToken,formatToken,cssVar:r0e&&{prefix:r0e.prefix,key:r0e.key,unitless,ignore,preserve}});return[a0e,s0e,e0e?i0e:"",o0e,r0e]}function useEvent(x_){var e0e=reactExports.useRef();e0e.current=x_;var $P=reactExports.useCallback(function(){for(var t0e,r0e=arguments.length,n0e=new Array(r0e),a0e=0;a0e1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:x_.colorText,fontSize:x_.fontSize,lineHeight:x_.lineHeight,listStyle:"none",fontFamily:e0e?"inherit":x_.fontFamily}},resetIcon=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),clearFix=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),genLinkStyle=x_=>({a:{color:x_.colorLink,textDecoration:x_.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${x_.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:x_.colorLinkHover},"&:active":{color:x_.colorLinkActive},"&:active,\n &:hover":{textDecoration:x_.linkHoverDecoration,outline:0},"&:focus":{textDecoration:x_.linkFocusDecoration,outline:0},"&[disabled]":{color:x_.colorTextDisabled,cursor:"not-allowed"}}}),genCommonStyle=(x_,e0e)=>{const{fontFamily:$P,fontSize:t0e}=x_,r0e=`[class^="${e0e}"], [class*=" ${e0e}"]`;return{[r0e]:{fontFamily:$P,fontSize:t0e,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[r0e]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},genFocusOutline=x_=>({outline:`${unit$1(x_.lineWidthFocus)} solid ${x_.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),genFocusStyle=x_=>({"&:focus-visible":Object.assign({},genFocusOutline(x_))});let AbstractCalculator=_createClass$1(function x_(){_classCallCheck$1(this,x_)});const AbstractCalculator$1=AbstractCalculator;let NumCalculator=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;return _classCallCheck$1(this,$P),r0e=e0e.call(this),r0e.result=0,t0e instanceof $P?r0e.result=t0e.result:typeof t0e=="number"&&(r0e.result=t0e),r0e}return _createClass$1($P,[{key:"add",value:function(r0e){return r0e instanceof $P?this.result+=r0e.result:typeof r0e=="number"&&(this.result+=r0e),this}},{key:"sub",value:function(r0e){return r0e instanceof $P?this.result-=r0e.result:typeof r0e=="number"&&(this.result-=r0e),this}},{key:"mul",value:function(r0e){return r0e instanceof $P?this.result*=r0e.result:typeof r0e=="number"&&(this.result*=r0e),this}},{key:"div",value:function(r0e){return r0e instanceof $P?this.result/=r0e.result:typeof r0e=="number"&&(this.result/=r0e),this}},{key:"equal",value:function(){return this.result}}]),$P}(AbstractCalculator$1);const CALC_UNIT="CALC_UNIT";function unit(x_){return typeof x_=="number"?`${x_}${CALC_UNIT}`:x_}let CSSCalculator=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;return _classCallCheck$1(this,$P),r0e=e0e.call(this),r0e.result="",t0e instanceof $P?r0e.result=`(${t0e.result})`:typeof t0e=="number"?r0e.result=unit(t0e):typeof t0e=="string"&&(r0e.result=t0e),r0e}return _createClass$1($P,[{key:"add",value:function(r0e){return r0e instanceof $P?this.result=`${this.result} + ${r0e.getResult()}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} + ${unit(r0e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(r0e){return r0e instanceof $P?this.result=`${this.result} - ${r0e.getResult()}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} - ${unit(r0e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(r0e){return this.lowPriority&&(this.result=`(${this.result})`),r0e instanceof $P?this.result=`${this.result} * ${r0e.getResult(!0)}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} * ${r0e}`),this.lowPriority=!1,this}},{key:"div",value:function(r0e){return this.lowPriority&&(this.result=`(${this.result})`),r0e instanceof $P?this.result=`${this.result} / ${r0e.getResult(!0)}`:(typeof r0e=="number"||typeof r0e=="string")&&(this.result=`${this.result} / ${r0e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(r0e){return this.lowPriority||r0e?`(${this.result})`:this.result}},{key:"equal",value:function(r0e){const{unit:n0e=!0}=r0e||{},a0e=new RegExp(`${CALC_UNIT}`,"g");return this.result=this.result.replace(a0e,n0e?"px":""),typeof this.lowPriority<"u"?`calc(${this.result})`:this.result}}]),$P}(AbstractCalculator$1);const genCalc=x_=>{const e0e=x_==="css"?CSSCalculator:NumCalculator;return $P=>new e0e($P)},genCalc$1=genCalc;function genMaxMin(x_){return x_==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0eunit$1(r0e)).join(",")})`},min:function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0eunit$1(r0e)).join(",")})`}}}const enableStatistic=typeof CSSINJS_STATISTIC<"u";let recording=!0;function merge$2(){for(var x_=arguments.length,e0e=new Array(x_),$P=0;$P{Object.keys(r0e).forEach(a0e=>{Object.defineProperty(t0e,a0e,{configurable:!0,enumerable:!0,get:()=>r0e[a0e]})})}),recording=!0,t0e}const statistic={};function noop$c(){}function statisticToken(x_){let e0e,$P=x_,t0e=noop$c;return enableStatistic&&typeof Proxy<"u"&&(e0e=new Set,$P=new Proxy(x_,{get(r0e,n0e){return recording&&e0e.add(n0e),r0e[n0e]}}),t0e=(r0e,n0e)=>{var a0e;statistic[r0e]={global:Array.from(e0e),component:Object.assign(Object.assign({},(a0e=statistic[r0e])===null||a0e===void 0?void 0:a0e.component),n0e)}}),{token:$P,keys:e0e,flush:t0e}}const useResetIconStyle=(x_,e0e)=>{const[$P,t0e]=useToken$1();return useStyleRegister({theme:$P,token:t0e,hashId:"",path:["ant-design-icons",x_],nonce:()=>e0e==null?void 0:e0e.nonce},()=>[{[`.${x_}`]:Object.assign(Object.assign({},resetIcon()),{[`.${x_} .${x_}-icon`]:{display:"block"}})}])},useStyle$s=useResetIconStyle,getDefaultComponentToken=(x_,e0e,$P)=>{var t0e;return typeof $P=="function"?$P(merge$2(e0e,(t0e=e0e[x_])!==null&&t0e!==void 0?t0e:{})):$P??{}},getComponentToken=(x_,e0e,$P,t0e)=>{const r0e=Object.assign({},e0e[x_]);if(t0e!=null&&t0e.deprecatedTokens){const{deprecatedTokens:a0e}=t0e;a0e.forEach(o0e=>{let[i0e,s0e]=o0e;var l0e;(r0e!=null&&r0e[i0e]||r0e!=null&&r0e[s0e])&&((l0e=r0e[s0e])!==null&&l0e!==void 0||(r0e[s0e]=r0e==null?void 0:r0e[i0e]))})}let n0e=Object.assign(Object.assign({},$P),r0e);return t0e!=null&&t0e.format&&(n0e=t0e.format(n0e)),Object.keys(n0e).forEach(a0e=>{n0e[a0e]===e0e[a0e]&&delete n0e[a0e]}),n0e},getCompVarPrefix=(x_,e0e)=>`${[e0e,x_.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function genComponentStyleHook(x_,e0e,$P){let t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r0e=Array.isArray(x_)?x_:[x_,x_],[n0e]=r0e,a0e=r0e.join("-");return o0e=>{const[i0e,s0e,l0e,c0e,u0e]=useToken$1(),{getPrefixCls:d0e,iconPrefixCls:p0e,csp:f0e}=reactExports.useContext(ConfigContext),h0e=d0e(),b0e=u0e?"css":"js",m0e=genCalc$1(b0e),{max:v0e,min:g0e}=genMaxMin(b0e),y0e={theme:i0e,token:c0e,hashId:l0e,nonce:()=>f0e==null?void 0:f0e.nonce,clientOnly:t0e.clientOnly,order:t0e.order||-999};return useStyleRegister(Object.assign(Object.assign({},y0e),{clientOnly:!1,path:["Shared",h0e]}),()=>[{"&":genLinkStyle(c0e)}]),useStyle$s(p0e,f0e),[useStyleRegister(Object.assign(Object.assign({},y0e),{path:[a0e,o0e,p0e]}),()=>{if(t0e.injectStyle===!1)return[];const{token:O0e,flush:z0e}=statisticToken(c0e),_0e=getDefaultComponentToken(n0e,s0e,$P),A0e=`.${o0e}`,$0e=getComponentToken(n0e,s0e,_0e,{deprecatedTokens:t0e.deprecatedTokens,format:t0e.format});u0e&&Object.keys(_0e).forEach(E0e=>{_0e[E0e]=`var(${token2CSSVar(E0e,getCompVarPrefix(n0e,u0e.prefix))})`});const S0e=merge$2(O0e,{componentCls:A0e,prefixCls:o0e,iconCls:`.${p0e}`,antCls:`.${h0e}`,calc:m0e,max:v0e,min:g0e},u0e?_0e:$0e),C0e=e0e(S0e,{hashId:l0e,prefixCls:o0e,rootPrefixCls:h0e,iconPrefixCls:p0e});return z0e(n0e,$0e),[t0e.resetStyle===!1?null:genCommonStyle(S0e,o0e),C0e]}),cx$1(l0e,u0e==null?void 0:u0e.key)]}}const genSubStyleComponent=(x_,e0e,$P,t0e)=>{const r0e=genComponentStyleHook(x_,e0e,$P,Object.assign({resetStyle:!1,order:-998},t0e));return a0e=>{let{prefixCls:o0e}=a0e;return r0e(o0e),null}},genCSSVarRegister=(x_,e0e,$P)=>{function t0e(s0e){return`${x_}${s0e.slice(0,1).toUpperCase()}${s0e.slice(1)}`}const{unitless:r0e={},injectStyle:n0e=!0}=$P??{},a0e={[t0e("zIndexPopup")]:!0};Object.keys(r0e).forEach(s0e=>{a0e[t0e(s0e)]=r0e[s0e]});const o0e=s0e=>{let{rootCls:l0e,cssVar:c0e}=s0e;const[,u0e]=useToken$1();return useCSSVarRegister({path:[x_],prefix:c0e.prefix,key:c0e==null?void 0:c0e.key,unitless:Object.assign(Object.assign({},unitless),a0e),ignore,token:u0e,scope:l0e},()=>{const d0e=getDefaultComponentToken(x_,u0e,e0e),p0e=getComponentToken(x_,u0e,d0e,{format:$P==null?void 0:$P.format,deprecatedTokens:$P==null?void 0:$P.deprecatedTokens});return Object.keys(d0e).forEach(f0e=>{p0e[t0e(f0e)]=p0e[f0e],delete p0e[f0e]}),p0e}),null};return s0e=>{const[,,,,l0e]=useToken$1();return c0e=>n0e&&l0e?jsxs(Fragment,{children:[jsx(o0e,{rootCls:s0e,cssVar:l0e,component:x_}),c0e]}):c0e}},genStyleHooks=(x_,e0e,$P,t0e)=>{const r0e=genComponentStyleHook(x_,e0e,$P,t0e),n0e=genCSSVarRegister(x_,$P,t0e);return function(a0e){let o0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a0e;const[,i0e]=r0e(a0e);return[n0e(o0e),i0e]}};function genPresetColor$1(x_,e0e){return PresetColors.reduce(($P,t0e)=>{const r0e=x_[`${t0e}1`],n0e=x_[`${t0e}3`],a0e=x_[`${t0e}6`],o0e=x_[`${t0e}7`];return Object.assign(Object.assign({},$P),e0e(t0e,{lightColor:r0e,lightBorderColor:n0e,darkColor:a0e,textColor:o0e}))},{})}const fullClone$1=Object.assign({},React$2),{useId:useId$3}=fullClone$1,useEmptyId=()=>"",useThemeKey=typeof useId$3>"u"?useEmptyId:useId$3,useThemeKey$1=useThemeKey;function useTheme$1(x_,e0e){devUseWarning();const $P=x_||{},t0e=$P.inherit===!1||!e0e?defaultConfig$2:e0e,r0e=useThemeKey$1();return useMemo(()=>{var n0e,a0e;if(!x_)return e0e;const o0e=Object.assign({},t0e.components);Object.keys(x_.components||{}).forEach(l0e=>{o0e[l0e]=Object.assign(Object.assign({},o0e[l0e]),x_.components[l0e])});const i0e=`css-var-${r0e.replace(/:/g,"")}`,s0e=((n0e=$P.cssVar)!==null&&n0e!==void 0?n0e:t0e.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:"ant"},typeof t0e.cssVar=="object"?t0e.cssVar:{}),typeof $P.cssVar=="object"?$P.cssVar:{}),{key:typeof $P.cssVar=="object"&&((a0e=$P.cssVar)===null||a0e===void 0?void 0:a0e.key)||i0e});return Object.assign(Object.assign(Object.assign({},t0e),$P),{token:Object.assign(Object.assign({},t0e.token),$P.token),components:o0e,cssVar:s0e})},[$P,t0e],(n0e,a0e)=>n0e.some((o0e,i0e)=>{const s0e=a0e[i0e];return!isEqual(o0e,s0e,!0)}))}var _excluded$V=["children"],Context$2=reactExports.createContext({});function MotionProvider(x_){var e0e=x_.children,$P=_objectWithoutProperties$4(x_,_excluded$V);return reactExports.createElement(Context$2.Provider,{value:$P},e0e)}var DomWrapper=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(){return _classCallCheck$1(this,$P),e0e.apply(this,arguments)}return _createClass$1($P,[{key:"render",value:function(){return this.props.children}}]),$P}(reactExports.Component),STATUS_NONE="none",STATUS_APPEAR="appear",STATUS_ENTER="enter",STATUS_LEAVE="leave",STEP_NONE="none",STEP_PREPARE="prepare",STEP_START="start",STEP_ACTIVE="active",STEP_ACTIVATED="end",STEP_PREPARED="prepared";function makePrefixMap(x_,e0e){var $P={};return $P[x_.toLowerCase()]=e0e.toLowerCase(),$P["Webkit".concat(x_)]="webkit".concat(e0e),$P["Moz".concat(x_)]="moz".concat(e0e),$P["ms".concat(x_)]="MS".concat(e0e),$P["O".concat(x_)]="o".concat(e0e.toLowerCase()),$P}function getVendorPrefixes(x_,e0e){var $P={animationend:makePrefixMap("Animation","AnimationEnd"),transitionend:makePrefixMap("Transition","TransitionEnd")};return x_&&("AnimationEvent"in e0e||delete $P.animationend.animation,"TransitionEvent"in e0e||delete $P.transitionend.transition),$P}var vendorPrefixes=getVendorPrefixes(canUseDom$1(),typeof window<"u"?window:{}),style$3={};if(canUseDom$1()){var _document$createEleme=document.createElement("div");style$3=_document$createEleme.style}var prefixedEventNames={};function getVendorPrefixedEventName(x_){if(prefixedEventNames[x_])return prefixedEventNames[x_];var e0e=vendorPrefixes[x_];if(e0e)for(var $P=Object.keys(e0e),t0e=$P.length,r0e=0;r0e1&&arguments[1]!==void 0?arguments[1]:2;e0e();var n0e=wrapperRaf$1(function(){r0e<=1?t0e({isCanceled:function(){return n0e!==x_.current}}):$P(t0e,r0e-1)});x_.current=n0e}return reactExports.useEffect(function(){return function(){e0e()}},[]),[$P,e0e]};var FULL_STEP_QUEUE=[STEP_PREPARE,STEP_START,STEP_ACTIVE,STEP_ACTIVATED],SIMPLE_STEP_QUEUE=[STEP_PREPARE,STEP_PREPARED],SkipStep=!1,DoStep=!0;function isActive(x_){return x_===STEP_ACTIVE||x_===STEP_ACTIVATED}const useStepQueue=function(x_,e0e,$P){var t0e=useSafeState(STEP_NONE),r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=useNextFrame(),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1];function c0e(){a0e(STEP_PREPARE,!0)}var u0e=e0e?SIMPLE_STEP_QUEUE:FULL_STEP_QUEUE;return useIsomorphicLayoutEffect(function(){if(n0e!==STEP_NONE&&n0e!==STEP_ACTIVATED){var d0e=u0e.indexOf(n0e),p0e=u0e[d0e+1],f0e=$P(n0e);f0e===SkipStep?a0e(p0e,!0):p0e&&s0e(function(h0e){function b0e(){h0e.isCanceled()||a0e(p0e,!0)}f0e===!0?b0e():Promise.resolve(f0e).then(b0e)})}},[x_,n0e]),reactExports.useEffect(function(){return function(){l0e()}},[]),[c0e,n0e]};function useStatus$1(x_,e0e,$P,t0e){var r0e=t0e.motionEnter,n0e=r0e===void 0?!0:r0e,a0e=t0e.motionAppear,o0e=a0e===void 0?!0:a0e,i0e=t0e.motionLeave,s0e=i0e===void 0?!0:i0e,l0e=t0e.motionDeadline,c0e=t0e.motionLeaveImmediately,u0e=t0e.onAppearPrepare,d0e=t0e.onEnterPrepare,p0e=t0e.onLeavePrepare,f0e=t0e.onAppearStart,h0e=t0e.onEnterStart,b0e=t0e.onLeaveStart,m0e=t0e.onAppearActive,v0e=t0e.onEnterActive,g0e=t0e.onLeaveActive,y0e=t0e.onAppearEnd,M0e=t0e.onEnterEnd,O0e=t0e.onLeaveEnd,z0e=t0e.onVisibleChanged,_0e=useSafeState(),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=useSafeState(STATUS_NONE),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=useSafeState(null),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=reactExports.useRef(!1),N0e=reactExports.useRef(null);function j0e(){return $P()}var P0e=reactExports.useRef(!1);function I0e(){R0e(STATUS_NONE,!0),k0e(null,!0)}function F0e(r1e){var a1e=j0e();if(!(r1e&&!r1e.deadline&&r1e.target!==a1e)){var l1e=P0e.current,s1e;w0e===STATUS_APPEAR&&l1e?s1e=y0e==null?void 0:y0e(a1e,r1e):w0e===STATUS_ENTER&&l1e?s1e=M0e==null?void 0:M0e(a1e,r1e):w0e===STATUS_LEAVE&&l1e&&(s1e=O0e==null?void 0:O0e(a1e,r1e)),w0e!==STATUS_NONE&&l1e&&s1e!==!1&&I0e()}}var V0e=useDomMotionEvents(F0e),H0e=_slicedToArray$3(V0e,1),Q0e=H0e[0],Y0e=function(a1e){var l1e,s1e,g1e;switch(a1e){case STATUS_APPEAR:return l1e={},_defineProperty$5(l1e,STEP_PREPARE,u0e),_defineProperty$5(l1e,STEP_START,f0e),_defineProperty$5(l1e,STEP_ACTIVE,m0e),l1e;case STATUS_ENTER:return s1e={},_defineProperty$5(s1e,STEP_PREPARE,d0e),_defineProperty$5(s1e,STEP_START,h0e),_defineProperty$5(s1e,STEP_ACTIVE,v0e),s1e;case STATUS_LEAVE:return g1e={},_defineProperty$5(g1e,STEP_PREPARE,p0e),_defineProperty$5(g1e,STEP_START,b0e),_defineProperty$5(g1e,STEP_ACTIVE,g0e),g1e;default:return{}}},G0e=reactExports.useMemo(function(){return Y0e(w0e)},[w0e]),B0e=useStepQueue(w0e,!x_,function(r1e){if(r1e===STEP_PREPARE){var a1e=G0e[STEP_PREPARE];return a1e?a1e(j0e()):SkipStep}if(Z0e in G0e){var l1e;k0e(((l1e=G0e[Z0e])===null||l1e===void 0?void 0:l1e.call(G0e,j0e(),null))||null)}return Z0e===STEP_ACTIVE&&(Q0e(j0e()),l0e>0&&(clearTimeout(N0e.current),N0e.current=setTimeout(function(){F0e({deadline:!0})},l0e))),Z0e===STEP_PREPARED&&I0e(),DoStep}),U0e=_slicedToArray$3(B0e,2),X0e=U0e[0],Z0e=U0e[1],e1e=isActive(Z0e);P0e.current=e1e,useIsomorphicLayoutEffect(function(){S0e(e0e);var r1e=q0e.current;q0e.current=!0;var a1e;!r1e&&e0e&&o0e&&(a1e=STATUS_APPEAR),r1e&&e0e&&n0e&&(a1e=STATUS_ENTER),(r1e&&!e0e&&s0e||!r1e&&c0e&&!e0e&&s0e)&&(a1e=STATUS_LEAVE);var l1e=Y0e(a1e);a1e&&(x_||l1e[STEP_PREPARE])?(R0e(a1e),X0e()):R0e(STATUS_NONE)},[e0e]),reactExports.useEffect(function(){(w0e===STATUS_APPEAR&&!o0e||w0e===STATUS_ENTER&&!n0e||w0e===STATUS_LEAVE&&!s0e)&&R0e(STATUS_NONE)},[o0e,n0e,s0e]),reactExports.useEffect(function(){return function(){q0e.current=!1,clearTimeout(N0e.current)}},[]);var n1e=reactExports.useRef(!1);reactExports.useEffect(function(){$0e&&(n1e.current=!0),$0e!==void 0&&w0e===STATUS_NONE&&((n1e.current||$0e)&&(z0e==null||z0e($0e)),n1e.current=!0)},[$0e,w0e]);var t1e=W0e;return G0e[STEP_PREPARE]&&Z0e===STEP_START&&(t1e=_objectSpread2$1({transition:"none"},t1e)),[w0e,Z0e,t1e,$0e??e0e]}function genCSSMotion(x_){var e0e=x_;_typeof$2(x_)==="object"&&(e0e=x_.transitionSupport);function $P(r0e,n0e){return!!(r0e.motionName&&e0e&&n0e!==!1)}var t0e=reactExports.forwardRef(function(r0e,n0e){var a0e=r0e.visible,o0e=a0e===void 0?!0:a0e,i0e=r0e.removeOnLeave,s0e=i0e===void 0?!0:i0e,l0e=r0e.forceRender,c0e=r0e.children,u0e=r0e.motionName,d0e=r0e.leavedClassName,p0e=r0e.eventProps,f0e=reactExports.useContext(Context$2),h0e=f0e.motion,b0e=$P(r0e,h0e),m0e=reactExports.useRef(),v0e=reactExports.useRef();function g0e(){try{return m0e.current instanceof HTMLElement?m0e.current:findDOMNode$1(v0e.current)}catch{return null}}var y0e=useStatus$1(b0e,o0e,g0e,r0e),M0e=_slicedToArray$3(y0e,4),O0e=M0e[0],z0e=M0e[1],_0e=M0e[2],A0e=M0e[3],$0e=reactExports.useRef(A0e);A0e&&($0e.current=!0);var S0e=reactExports.useCallback(function(k0e){m0e.current=k0e,fillRef$1(n0e,k0e)},[n0e]),C0e,E0e=_objectSpread2$1(_objectSpread2$1({},p0e),{},{visible:o0e});if(!c0e)C0e=null;else if(O0e===STATUS_NONE)A0e?C0e=c0e(_objectSpread2$1({},E0e),S0e):!s0e&&$0e.current&&d0e?C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{className:d0e}),S0e):l0e||!s0e&&!d0e?C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{style:{display:"none"}}),S0e):C0e=null;else{var w0e,R0e;z0e===STEP_PREPARE?R0e="prepare":isActive(z0e)?R0e="active":z0e===STEP_START&&(R0e="start");var T0e=getTransitionName$1(u0e,"".concat(O0e,"-").concat(R0e));C0e=c0e(_objectSpread2$1(_objectSpread2$1({},E0e),{},{className:cx$1(getTransitionName$1(u0e,O0e),(w0e={},_defineProperty$5(w0e,T0e,T0e&&R0e),_defineProperty$5(w0e,u0e,typeof u0e=="string"),w0e)),style:_0e}),S0e)}if(reactExports.isValidElement(C0e)&&supportRef(C0e)){var D0e=C0e,W0e=D0e.ref;W0e||(C0e=reactExports.cloneElement(C0e,{ref:S0e}))}return reactExports.createElement(DomWrapper,{ref:v0e},C0e)});return t0e.displayName="CSSMotion",t0e}const CSSMotion=genCSSMotion(supportTransition);var STATUS_ADD="add",STATUS_KEEP="keep",STATUS_REMOVE="remove",STATUS_REMOVED="removed";function wrapKeyToObject(x_){var e0e;return x_&&_typeof$2(x_)==="object"&&"key"in x_?e0e=x_:e0e={key:x_},_objectSpread2$1(_objectSpread2$1({},e0e),{},{key:String(e0e.key)})}function parseKeys$1(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return x_.map(wrapKeyToObject)}function diffKeys(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],$P=[],t0e=0,r0e=e0e.length,n0e=parseKeys$1(x_),a0e=parseKeys$1(e0e);n0e.forEach(function(s0e){for(var l0e=!1,c0e=t0e;c0e1});return i0e.forEach(function(s0e){$P=$P.filter(function(l0e){var c0e=l0e.key,u0e=l0e.status;return c0e!==s0e||u0e!==STATUS_REMOVE}),$P.forEach(function(l0e){l0e.key===s0e&&(l0e.status=STATUS_KEEP)})}),$P}var _excluded$U=["component","children","onVisibleChanged","onAllRemoved"],_excluded2$f=["status"],MOTION_PROP_NAMES=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function genCSSMotionList(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:CSSMotion,$P=function(t0e){_inherits$1(n0e,t0e);var r0e=_createSuper$1(n0e);function n0e(){var a0e;_classCallCheck$1(this,n0e);for(var o0e=arguments.length,i0e=new Array(o0e),s0e=0;s0enull;var __rest$T=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ee0e.endsWith("Color"))}const setGlobalConfig=x_=>{let{prefixCls:e0e,iconPrefixCls:$P,theme:t0e}=x_;e0e!==void 0&&(globalPrefixCls=e0e),$P!==void 0&&(globalIconPrefixCls=$P),t0e&&(isLegacyTheme(t0e)?registerTheme(getGlobalPrefixCls(),t0e):globalTheme=t0e)},globalConfig=()=>({getPrefixCls:(x_,e0e)=>e0e||(x_?`${getGlobalPrefixCls()}-${x_}`:getGlobalPrefixCls()),getIconPrefixCls:getGlobalIconPrefixCls,getRootPrefixCls:()=>globalPrefixCls||getGlobalPrefixCls(),getTheme:()=>globalTheme}),ProviderChildren=x_=>{const{children:e0e,csp:$P,autoInsertSpaceInButton:t0e,alert:r0e,anchor:n0e,form:a0e,locale:o0e,componentSize:i0e,direction:s0e,space:l0e,virtual:c0e,dropdownMatchSelectWidth:u0e,popupMatchSelectWidth:d0e,popupOverflow:p0e,legacyLocale:f0e,parentContext:h0e,iconPrefixCls:b0e,theme:m0e,componentDisabled:v0e,segmented:g0e,statistic:y0e,spin:M0e,calendar:O0e,carousel:z0e,cascader:_0e,collapse:A0e,typography:$0e,checkbox:S0e,descriptions:C0e,divider:E0e,drawer:w0e,skeleton:R0e,steps:T0e,image:D0e,layout:W0e,list:k0e,mentions:q0e,modal:N0e,progress:j0e,result:P0e,slider:I0e,breadcrumb:F0e,menu:V0e,pagination:H0e,input:Q0e,empty:Y0e,badge:G0e,radio:B0e,rate:U0e,switch:X0e,transfer:Z0e,avatar:e1e,message:n1e,tag:t1e,table:r1e,card:a1e,tabs:l1e,timeline:s1e,timePicker:g1e,upload:$1e,notification:_1e,tree:p1e,colorPicker:E1e,datePicker:x1e,rangePicker:O1e,flex:w1e,wave:A1e,dropdown:F1e,warning:J1e}=x_,ame=reactExports.useCallback((W1e,Q1e)=>{const{prefixCls:K1e}=x_;if(Q1e)return Q1e;const rme=K1e||h0e.getPrefixCls("");return W1e?`${rme}-${W1e}`:rme},[h0e.getPrefixCls,x_.prefixCls]),G1e=b0e||h0e.iconPrefixCls||defaultIconPrefixCls,V1e=$P||h0e.csp;useStyle$s(G1e,V1e);const cme=useTheme$1(m0e,h0e.theme),ume={csp:V1e,autoInsertSpaceInButton:t0e,alert:r0e,anchor:n0e,locale:o0e||f0e,direction:s0e,space:l0e,virtual:c0e,popupMatchSelectWidth:d0e??u0e,popupOverflow:p0e,getPrefixCls:ame,iconPrefixCls:G1e,theme:cme,segmented:g0e,statistic:y0e,spin:M0e,calendar:O0e,carousel:z0e,cascader:_0e,collapse:A0e,typography:$0e,checkbox:S0e,descriptions:C0e,divider:E0e,drawer:w0e,skeleton:R0e,steps:T0e,image:D0e,input:Q0e,layout:W0e,list:k0e,mentions:q0e,modal:N0e,progress:j0e,result:P0e,slider:I0e,breadcrumb:F0e,menu:V0e,pagination:H0e,empty:Y0e,badge:G0e,radio:B0e,rate:U0e,switch:X0e,transfer:Z0e,avatar:e1e,message:n1e,tag:t1e,table:r1e,card:a1e,tabs:l1e,timeline:s1e,timePicker:g1e,upload:$1e,notification:_1e,tree:p1e,colorPicker:E1e,datePicker:x1e,rangePicker:O1e,flex:w1e,wave:A1e,dropdown:F1e,warning:J1e},Y1e=Object.assign({},h0e);Object.keys(ume).forEach(W1e=>{ume[W1e]!==void 0&&(Y1e[W1e]=ume[W1e])}),PASSED_PROPS.forEach(W1e=>{const Q1e=x_[W1e];Q1e&&(Y1e[W1e]=Q1e)});const k1e=useMemo(()=>Y1e,Y1e,(W1e,Q1e)=>{const K1e=Object.keys(W1e),rme=Object.keys(Q1e);return K1e.length!==rme.length||K1e.some(L1e=>W1e[L1e]!==Q1e[L1e])}),ime=reactExports.useMemo(()=>({prefixCls:G1e,csp:V1e}),[G1e,V1e]);let I1e=reactExports.createElement(reactExports.Fragment,null,reactExports.createElement(PropWarning,{dropdownMatchSelectWidth:u0e}),e0e);const j1e=reactExports.useMemo(()=>{var W1e,Q1e,K1e,rme;return merge$3(((W1e=defaultLocale$1.Form)===null||W1e===void 0?void 0:W1e.defaultValidateMessages)||{},((K1e=(Q1e=k1e.locale)===null||Q1e===void 0?void 0:Q1e.Form)===null||K1e===void 0?void 0:K1e.defaultValidateMessages)||{},((rme=k1e.form)===null||rme===void 0?void 0:rme.validateMessages)||{},(a0e==null?void 0:a0e.validateMessages)||{})},[k1e,a0e==null?void 0:a0e.validateMessages]);Object.keys(j1e).length>0&&(I1e=reactExports.createElement(ValidateMessagesContext.Provider,{value:j1e},I1e)),o0e&&(I1e=reactExports.createElement(LocaleProvider$1,{locale:o0e,_ANT_MARK__:ANT_MARK},I1e)),(G1e||V1e)&&(I1e=reactExports.createElement(Context$3.Provider,{value:ime},I1e)),i0e&&(I1e=reactExports.createElement(SizeContextProvider,{size:i0e},I1e)),I1e=reactExports.createElement(MotionWrapper,null,I1e);const H1e=reactExports.useMemo(()=>{const W1e=cme||{},{algorithm:Q1e,token:K1e,components:rme,cssVar:L1e}=W1e,Z1e=__rest$T(W1e,["algorithm","token","components","cssVar"]),U1e=Q1e&&(!Array.isArray(Q1e)||Q1e.length>0)?createTheme(Q1e):defaultTheme$1,D1e={};Object.entries(rme||{}).forEach(pme=>{let[$me,fme]=pme;const mme=Object.assign({},fme);"algorithm"in mme&&(mme.algorithm===!0?mme.theme=U1e:(Array.isArray(mme.algorithm)||typeof mme.algorithm=="function")&&(mme.theme=createTheme(mme.algorithm)),delete mme.algorithm),D1e[$me]=mme});const q1e=Object.assign(Object.assign({},seedToken$1),K1e);return Object.assign(Object.assign({},Z1e),{theme:U1e,token:q1e,components:D1e,override:Object.assign({override:q1e},D1e),cssVar:L1e})},[cme]);return m0e&&(I1e=reactExports.createElement(DesignTokenContext.Provider,{value:H1e},I1e)),k1e.warning&&(I1e=reactExports.createElement(WarningContext.Provider,{value:k1e.warning},I1e)),v0e!==void 0&&(I1e=reactExports.createElement(DisabledContextProvider,{disabled:v0e},I1e)),reactExports.createElement(ConfigContext.Provider,{value:k1e},I1e)},ConfigProvider=x_=>{const e0e=reactExports.useContext(ConfigContext),$P=reactExports.useContext(LocaleContext$2);return reactExports.createElement(ProviderChildren,Object.assign({parentContext:e0e,legacyLocale:$P},x_))};ConfigProvider.ConfigContext=ConfigContext;ConfigProvider.SizeContext=SizeContext$1;ConfigProvider.config=setGlobalConfig;ConfigProvider.useConfig=useConfig;Object.defineProperty(ConfigProvider,"SizeContext",{get:()=>SizeContext$1});const ConfigProvider$1=ConfigProvider;var CheckCircleFilled$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};const CheckCircleFilledSvg=CheckCircleFilled$2;function getRoot$1(x_){var e0e;return x_==null||(e0e=x_.getRootNode)===null||e0e===void 0?void 0:e0e.call(x_)}function inShadow(x_){return getRoot$1(x_)instanceof ShadowRoot}function getShadowRoot(x_){return inShadow(x_)?getRoot$1(x_):null}function camelCase$2(x_){return x_.replace(/-(.)/g,function(e0e,$P){return $P.toUpperCase()})}function warning$3(x_,e0e){warningOnce$1(x_,"[@ant-design/icons] ".concat(e0e))}function isIconDefinition(x_){return _typeof$2(x_)==="object"&&typeof x_.name=="string"&&typeof x_.theme=="string"&&(_typeof$2(x_.icon)==="object"||typeof x_.icon=="function")}function normalizeAttrs(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(x_).reduce(function(e0e,$P){var t0e=x_[$P];switch($P){case"class":e0e.className=t0e,delete e0e.class;break;default:delete e0e[$P],e0e[camelCase$2($P)]=t0e}return e0e},{})}function generate(x_,e0e,$P){return $P?React$1.createElement(x_.tag,_objectSpread2$1(_objectSpread2$1({key:e0e},normalizeAttrs(x_.attrs)),$P),(x_.children||[]).map(function(t0e,r0e){return generate(t0e,"".concat(e0e,"-").concat(x_.tag,"-").concat(r0e))})):React$1.createElement(x_.tag,_objectSpread2$1({key:e0e},normalizeAttrs(x_.attrs)),(x_.children||[]).map(function(t0e,r0e){return generate(t0e,"".concat(e0e,"-").concat(x_.tag,"-").concat(r0e))}))}function getSecondaryColor(x_){return generate$1(x_)[0]}function normalizeTwoToneColors(x_){return x_?Array.isArray(x_)?x_:[x_]:[]}var iconStyles=` .anticon { display: inline-block; color: inherit; @@ -191,14 +191,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,propList="".concat(attributes," ").concat(eventsName).split(/[\s\n]+/),ariaPrefix="aria-",dataPrefix="data-";function match(x_,e0e){return x_.indexOf(e0e)===0}function pickAttrs(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P;e0e===!1?$P={aria:!0,data:!0,attr:!0}:e0e===!0?$P={aria:!0}:$P=_objectSpread2$1({},e0e);var t0e={};return Object.keys(x_).forEach(function(r0e){($P.aria&&(r0e==="role"||match(r0e,ariaPrefix))||$P.data&&match(r0e,dataPrefix)||$P.attr&&propList.includes(r0e))&&(t0e[r0e]=x_[r0e])}),t0e}const{isValidElement}=React$2;function isFragment(x_){return x_&&isValidElement(x_)&&x_.type===reactExports.Fragment}function replaceElement(x_,e0e,$P){return isValidElement(x_)?reactExports.cloneElement(x_,typeof $P=="function"?$P(x_.props||{}):$P):e0e}function cloneElement(x_,e0e){return replaceElement(x_,x_,e0e)}const t$2=x_=>typeof x_=="object"&&x_!=null&&x_.nodeType===1,e$3=(x_,e0e)=>(!e0e||x_!=="hidden")&&x_!=="visible"&&x_!=="clip",n$2=(x_,e0e)=>{if(x_.clientHeight{const r0e=(n0e=>{if(!n0e.ownerDocument||!n0e.ownerDocument.defaultView)return null;try{return n0e.ownerDocument.defaultView.frameElement}catch{return null}})(t0e);return!!r0e&&(r0e.clientHeightn0ee0e||n0e>x_&&a0e=e0e&&o0e>=$P?n0e-x_-t0e:a0e>e0e&&o0e<$P||n0e$P?a0e-e0e+r0e:0,l$1=x_=>{const e0e=x_.parentElement;return e0e??(x_.getRootNode().host||null)},r$3=(x_,e0e)=>{var $P,t0e,r0e,n0e;if(typeof document>"u")return[];const{scrollMode:a0e,block:o0e,inline:i0e,boundary:s0e,skipOverflowHiddenElements:l0e}=e0e,c0e=typeof s0e=="function"?s0e:R0e=>R0e!==s0e;if(!t$2(x_))throw new TypeError("Invalid target");const u0e=document.scrollingElement||document.documentElement,d0e=[];let p0e=x_;for(;t$2(p0e)&&c0e(p0e);){if(p0e=l$1(p0e),p0e===u0e){d0e.push(p0e);break}p0e!=null&&p0e===document.body&&n$2(p0e)&&!n$2(document.documentElement)||p0e!=null&&n$2(p0e,l0e)&&d0e.push(p0e)}const f0e=(t0e=($P=window.visualViewport)==null?void 0:$P.width)!=null?t0e:innerWidth,h0e=(n0e=(r0e=window.visualViewport)==null?void 0:r0e.height)!=null?n0e:innerHeight,{scrollX:b0e,scrollY:m0e}=window,{height:v0e,width:g0e,top:y0e,right:M0e,bottom:O0e,left:z0e}=x_.getBoundingClientRect(),{top:_0e,right:A0e,bottom:$0e,left:S0e}=(R0e=>{const T0e=window.getComputedStyle(R0e);return{top:parseFloat(T0e.scrollMarginTop)||0,right:parseFloat(T0e.scrollMarginRight)||0,bottom:parseFloat(T0e.scrollMarginBottom)||0,left:parseFloat(T0e.scrollMarginLeft)||0}})(x_);let C0e=o0e==="start"||o0e==="nearest"?y0e-_0e:o0e==="end"?O0e+$0e:y0e+v0e/2-_0e+$0e,E0e=i0e==="center"?z0e+g0e/2-S0e+A0e:i0e==="end"?M0e+A0e:z0e-S0e;const w0e=[];for(let R0e=0;R0e=0&&z0e>=0&&O0e<=h0e&&M0e<=f0e&&y0e>=k0e&&O0e<=N0e&&z0e>=j0e&&M0e<=q0e)return w0e;const P0e=getComputedStyle(T0e),I0e=parseInt(P0e.borderLeftWidth,10),F0e=parseInt(P0e.borderTopWidth,10),V0e=parseInt(P0e.borderRightWidth,10),H0e=parseInt(P0e.borderBottomWidth,10);let Q0e=0,Y0e=0;const G0e="offsetWidth"in T0e?T0e.offsetWidth-T0e.clientWidth-I0e-V0e:0,B0e="offsetHeight"in T0e?T0e.offsetHeight-T0e.clientHeight-F0e-H0e:0,U0e="offsetWidth"in T0e?T0e.offsetWidth===0?0:W0e/T0e.offsetWidth:0,X0e="offsetHeight"in T0e?T0e.offsetHeight===0?0:D0e/T0e.offsetHeight:0;if(u0e===T0e)Q0e=o0e==="start"?C0e:o0e==="end"?C0e-h0e:o0e==="nearest"?o$2(m0e,m0e+h0e,h0e,F0e,H0e,m0e+C0e,m0e+C0e+v0e,v0e):C0e-h0e/2,Y0e=i0e==="start"?E0e:i0e==="center"?E0e-f0e/2:i0e==="end"?E0e-f0e:o$2(b0e,b0e+f0e,f0e,I0e,V0e,b0e+E0e,b0e+E0e+g0e,g0e),Q0e=Math.max(0,Q0e+m0e),Y0e=Math.max(0,Y0e+b0e);else{Q0e=o0e==="start"?C0e-k0e-F0e:o0e==="end"?C0e-N0e+H0e+B0e:o0e==="nearest"?o$2(k0e,N0e,D0e,F0e,H0e+B0e,C0e,C0e+v0e,v0e):C0e-(k0e+D0e/2)+B0e/2,Y0e=i0e==="start"?E0e-j0e-I0e:i0e==="center"?E0e-(j0e+W0e/2)+G0e/2:i0e==="end"?E0e-q0e+V0e+G0e:o$2(j0e,q0e,W0e,I0e,V0e+G0e,E0e,E0e+g0e,g0e);const{scrollLeft:J0e,scrollTop:e1e}=T0e;Q0e=X0e===0?0:Math.max(0,Math.min(e1e+Q0e/X0e,T0e.scrollHeight-D0e/X0e+B0e)),Y0e=U0e===0?0:Math.max(0,Math.min(J0e+Y0e/U0e,T0e.scrollWidth-W0e/U0e+G0e)),C0e+=e1e-Q0e,E0e+=J0e-Y0e}w0e.push({el:T0e,top:Q0e,left:Y0e})}return w0e},o$1=x_=>x_===!1?{block:"end",inline:"nearest"}:(e0e=>e0e===Object(e0e)&&Object.keys(e0e).length!==0)(x_)?x_:{block:"start",inline:"nearest"};function e$2(x_,e0e){if(!x_.isConnected||!(r0e=>{let n0e=r0e;for(;n0e&&n0e.parentNode;){if(n0e.parentNode===document)return!0;n0e=n0e.parentNode instanceof ShadowRoot?n0e.parentNode.host:n0e.parentNode}return!1})(x_))return;const $P=(r0e=>{const n0e=window.getComputedStyle(r0e);return{top:parseFloat(n0e.scrollMarginTop)||0,right:parseFloat(n0e.scrollMarginRight)||0,bottom:parseFloat(n0e.scrollMarginBottom)||0,left:parseFloat(n0e.scrollMarginLeft)||0}})(x_);if((r0e=>typeof r0e=="object"&&typeof r0e.behavior=="function")(e0e))return e0e.behavior(r$3(x_,e0e));const t0e=typeof e0e=="boolean"||e0e==null?void 0:e0e.behavior;for(const{el:r0e,top:n0e,left:a0e}of r$3(x_,o$1(e0e))){const o0e=n0e-$P.top+$P.bottom,i0e=a0e-$P.left+$P.right;r0e.scroll({top:o0e,left:i0e,behavior:t0e})}}const useCSSVarCls=x_=>{const[,,,,e0e]=useToken$1();return e0e?`${x_}-css-var`:""},useCSSVarCls$1=useCSSVarCls;var KeyCode$1={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e0e){var $P=e0e.keyCode;if(e0e.altKey&&!e0e.ctrlKey||e0e.metaKey||$P>=KeyCode$1.F1&&$P<=KeyCode$1.F12)return!1;switch($P){case KeyCode$1.ALT:case KeyCode$1.CAPS_LOCK:case KeyCode$1.CONTEXT_MENU:case KeyCode$1.CTRL:case KeyCode$1.DOWN:case KeyCode$1.END:case KeyCode$1.ESC:case KeyCode$1.HOME:case KeyCode$1.INSERT:case KeyCode$1.LEFT:case KeyCode$1.MAC_FF_META:case KeyCode$1.META:case KeyCode$1.NUMLOCK:case KeyCode$1.NUM_CENTER:case KeyCode$1.PAGE_DOWN:case KeyCode$1.PAGE_UP:case KeyCode$1.PAUSE:case KeyCode$1.PRINT_SCREEN:case KeyCode$1.RIGHT:case KeyCode$1.SHIFT:case KeyCode$1.UP:case KeyCode$1.WIN_KEY:case KeyCode$1.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e0e){if(e0e>=KeyCode$1.ZERO&&e0e<=KeyCode$1.NINE||e0e>=KeyCode$1.NUM_ZERO&&e0e<=KeyCode$1.NUM_MULTIPLY||e0e>=KeyCode$1.A&&e0e<=KeyCode$1.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e0e===0)return!0;switch(e0e){case KeyCode$1.SPACE:case KeyCode$1.QUESTION_MARK:case KeyCode$1.NUM_PLUS:case KeyCode$1.NUM_MINUS:case KeyCode$1.NUM_PERIOD:case KeyCode$1.NUM_DIVISION:case KeyCode$1.SEMICOLON:case KeyCode$1.DASH:case KeyCode$1.EQUALS:case KeyCode$1.COMMA:case KeyCode$1.PERIOD:case KeyCode$1.SLASH:case KeyCode$1.APOSTROPHE:case KeyCode$1.SINGLE_QUOTE:case KeyCode$1.OPEN_SQUARE_BRACKET:case KeyCode$1.BACKSLASH:case KeyCode$1.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Notify=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.style,r0e=x_.className,n0e=x_.duration,a0e=n0e===void 0?4.5:n0e,o0e=x_.eventKey,i0e=x_.content,s0e=x_.closable,l0e=x_.closeIcon,c0e=l0e===void 0?"x":l0e,u0e=x_.props,d0e=x_.onClick,p0e=x_.onNoticeClose,f0e=x_.times,h0e=x_.hovering,b0e=reactExports.useState(!1),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1],y0e=h0e||v0e,M0e=function(){p0e(o0e)},O0e=function(A0e){(A0e.key==="Enter"||A0e.code==="Enter"||A0e.keyCode===KeyCode$1.ENTER)&&M0e()};reactExports.useEffect(function(){if(!y0e&&a0e>0){var _0e=setTimeout(function(){M0e()},a0e*1e3);return function(){clearTimeout(_0e)}}},[a0e,y0e,f0e]);var z0e="".concat($P,"-notice");return reactExports.createElement("div",_extends$1z({},u0e,{ref:e0e,className:cx$1(z0e,r0e,_defineProperty$5({},"".concat(z0e,"-closable"),s0e)),style:t0e,onMouseEnter:function(A0e){var $0e;g0e(!0),u0e==null||($0e=u0e.onMouseEnter)===null||$0e===void 0||$0e.call(u0e,A0e)},onMouseLeave:function(A0e){var $0e;g0e(!1),u0e==null||($0e=u0e.onMouseLeave)===null||$0e===void 0||$0e.call(u0e,A0e)},onClick:d0e}),reactExports.createElement("div",{className:"".concat(z0e,"-content")},i0e),s0e&&reactExports.createElement("a",{tabIndex:0,className:"".concat(z0e,"-close"),onKeyDown:O0e,onClick:function(A0e){A0e.preventDefault(),A0e.stopPropagation(),M0e()}},c0e))}),NotificationContext=React$1.createContext({}),NotificationProvider=function(e0e){var $P=e0e.children,t0e=e0e.classNames;return React$1.createElement(NotificationContext.Provider,{value:{classNames:t0e}},$P)},DEFAULT_OFFSET$1=8,DEFAULT_THRESHOLD=3,DEFAULT_GAP=16,useStack=function(e0e){var $P={offset:DEFAULT_OFFSET$1,threshold:DEFAULT_THRESHOLD,gap:DEFAULT_GAP};if(e0e&&_typeof$2(e0e)==="object"){var t0e,r0e,n0e;$P.offset=(t0e=e0e.offset)!==null&&t0e!==void 0?t0e:DEFAULT_OFFSET$1,$P.threshold=(r0e=e0e.threshold)!==null&&r0e!==void 0?r0e:DEFAULT_THRESHOLD,$P.gap=(n0e=e0e.gap)!==null&&n0e!==void 0?n0e:DEFAULT_GAP}return[!!e0e,$P]},_excluded$R=["className","style","classNames","styles"],NoticeList=function(e0e){var $P,t0e=e0e.configList,r0e=e0e.placement,n0e=e0e.prefixCls,a0e=e0e.className,o0e=e0e.style,i0e=e0e.motion,s0e=e0e.onAllNoticeRemoved,l0e=e0e.onNoticeClose,c0e=e0e.stack,u0e=reactExports.useContext(NotificationContext),d0e=u0e.classNames,p0e=reactExports.useRef({}),f0e=reactExports.useState(null),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=reactExports.useState([]),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=t0e.map(function(T0e){return{config:T0e,key:String(T0e.key)}}),z0e=useStack(c0e),_0e=_slicedToArray$3(z0e,2),A0e=_0e[0],$0e=_0e[1],S0e=$0e.offset,C0e=$0e.threshold,E0e=$0e.gap,w0e=A0e&&(y0e.length>0||O0e.length<=C0e),R0e=typeof i0e=="function"?i0e(r0e):i0e;return reactExports.useEffect(function(){A0e&&y0e.length>1&&M0e(function(T0e){return T0e.filter(function(D0e){return O0e.some(function(W0e){var k0e=W0e.key;return D0e===k0e})})})},[y0e,O0e,A0e]),reactExports.useEffect(function(){var T0e;if(A0e&&p0e.current[(T0e=O0e[O0e.length-1])===null||T0e===void 0?void 0:T0e.key]){var D0e;m0e(p0e.current[(D0e=O0e[O0e.length-1])===null||D0e===void 0?void 0:D0e.key])}},[O0e,A0e]),jsx(CSSMotionList,{className:cx$1(n0e,"".concat(n0e,"-").concat(r0e),d0e==null?void 0:d0e.list,a0e,($P={},_defineProperty$5($P,"".concat(n0e,"-stack"),!!A0e),_defineProperty$5($P,"".concat(n0e,"-stack-expanded"),w0e),$P)),style:o0e,keys:O0e,motionAppear:!0,...R0e,onAllRemoved:function(){s0e(r0e)},children:function(T0e,D0e){var W0e=T0e.config,k0e=T0e.className,q0e=T0e.style,N0e=T0e.index,j0e=W0e,P0e=j0e.key,I0e=j0e.times,F0e=String(P0e),V0e=W0e,H0e=V0e.className,Q0e=V0e.style,Y0e=V0e.classNames,G0e=V0e.styles,B0e=_objectWithoutProperties$4(V0e,_excluded$R),U0e=O0e.findIndex(function(_1e){return _1e.key===F0e}),X0e={};if(A0e){var J0e=O0e.length-1-(U0e>-1?U0e:N0e-1),e1e=r0e==="top"||r0e==="bottom"?"-50%":"0";if(J0e>0){var n1e,t1e,r1e;X0e.height=w0e?(n1e=p0e.current[F0e])===null||n1e===void 0?void 0:n1e.offsetHeight:b0e==null?void 0:b0e.offsetHeight;for(var a1e=0,l1e=0;l1e-1?p0e.current[F0e]=p1e:delete p0e.current[F0e]},prefixCls:n0e,classNames:Y0e,styles:G0e,className:cx$1(H0e,d0e==null?void 0:d0e.notice),style:Q0e,times:I0e,key:P0e,eventKey:P0e,onNoticeClose:l0e,hovering:A0e&&y0e.length>0})})}},r0e)},Notifications=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=$P===void 0?"rc-notification":$P,r0e=x_.container,n0e=x_.motion,a0e=x_.maxCount,o0e=x_.className,i0e=x_.style,s0e=x_.onAllRemoved,l0e=x_.stack,c0e=x_.renderNotifications,u0e=reactExports.useState([]),d0e=_slicedToArray$3(u0e,2),p0e=d0e[0],f0e=d0e[1],h0e=function(_0e){var A0e,$0e=p0e.find(function(S0e){return S0e.key===_0e});$0e==null||(A0e=$0e.onClose)===null||A0e===void 0||A0e.call($0e),f0e(function(S0e){return S0e.filter(function(C0e){return C0e.key!==_0e})})};reactExports.useImperativeHandle(e0e,function(){return{open:function(_0e){f0e(function(A0e){var $0e=_toConsumableArray$2(A0e),S0e=$0e.findIndex(function(w0e){return w0e.key===_0e.key}),C0e=_objectSpread2$1({},_0e);if(S0e>=0){var E0e;C0e.times=(((E0e=A0e[S0e])===null||E0e===void 0?void 0:E0e.times)||0)+1,$0e[S0e]=C0e}else C0e.times=0,$0e.push(C0e);return a0e>0&&$0e.length>a0e&&($0e=$0e.slice(-a0e)),$0e})},close:function(_0e){h0e(_0e)},destroy:function(){f0e([])}}});var b0e=reactExports.useState({}),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1];reactExports.useEffect(function(){var z0e={};p0e.forEach(function(_0e){var A0e=_0e.placement,$0e=A0e===void 0?"topRight":A0e;$0e&&(z0e[$0e]=z0e[$0e]||[],z0e[$0e].push(_0e))}),Object.keys(v0e).forEach(function(_0e){z0e[_0e]=z0e[_0e]||[]}),g0e(z0e)},[p0e]);var y0e=function(_0e){g0e(function(A0e){var $0e=_objectSpread2$1({},A0e),S0e=$0e[_0e]||[];return S0e.length||delete $0e[_0e],$0e})},M0e=reactExports.useRef(!1);if(reactExports.useEffect(function(){Object.keys(v0e).length>0?M0e.current=!0:M0e.current&&(s0e==null||s0e(),M0e.current=!1)},[v0e]),!r0e)return null;var O0e=Object.keys(v0e);return reactDomExports.createPortal(reactExports.createElement(reactExports.Fragment,null,O0e.map(function(z0e){var _0e=v0e[z0e],A0e=reactExports.createElement(NoticeList,{key:z0e,configList:_0e,placement:z0e,prefixCls:t0e,className:o0e==null?void 0:o0e(z0e),style:i0e==null?void 0:i0e(z0e),motion:n0e,onNoticeClose:h0e,onAllNoticeRemoved:y0e,stack:l0e});return c0e?c0e(A0e,{prefixCls:t0e,key:z0e}):A0e})),r0e)}),_excluded$Q=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],defaultGetContainer=function(){return document.body},uniqueKey=0;function mergeConfig(){for(var x_={},e0e=arguments.length,$P=new Array(e0e),t0e=0;t0e0&&arguments[0]!==void 0?arguments[0]:{},e0e=x_.getContainer,$P=e0e===void 0?defaultGetContainer:e0e,t0e=x_.motion,r0e=x_.prefixCls,n0e=x_.maxCount,a0e=x_.className,o0e=x_.style,i0e=x_.onAllRemoved,s0e=x_.stack,l0e=x_.renderNotifications,c0e=_objectWithoutProperties$4(x_,_excluded$Q),u0e=reactExports.useState(),d0e=_slicedToArray$3(u0e,2),p0e=d0e[0],f0e=d0e[1],h0e=reactExports.useRef(),b0e=reactExports.createElement(Notifications,{container:p0e,ref:h0e,prefixCls:r0e,motion:t0e,maxCount:n0e,className:a0e,style:o0e,onAllRemoved:i0e,stack:s0e,renderNotifications:l0e}),m0e=reactExports.useState([]),v0e=_slicedToArray$3(m0e,2),g0e=v0e[0],y0e=v0e[1],M0e=reactExports.useMemo(function(){return{open:function(z0e){var _0e=mergeConfig(c0e,z0e);(_0e.key===null||_0e.key===void 0)&&(_0e.key="rc-notification-".concat(uniqueKey),uniqueKey+=1),y0e(function(A0e){return[].concat(_toConsumableArray$2(A0e),[{type:"open",config:_0e}])})},close:function(z0e){y0e(function(_0e){return[].concat(_toConsumableArray$2(_0e),[{type:"close",key:z0e}])})},destroy:function(){y0e(function(z0e){return[].concat(_toConsumableArray$2(z0e),[{type:"destroy"}])})}}},[]);return reactExports.useEffect(function(){f0e($P())}),reactExports.useEffect(function(){h0e.current&&g0e.length&&(g0e.forEach(function(O0e){switch(O0e.type){case"open":h0e.current.open(O0e.config);break;case"close":h0e.current.close(O0e.key);break;case"destroy":h0e.current.destroy();break}}),y0e(function(O0e){return O0e.filter(function(z0e){return!g0e.includes(z0e)})}))},[g0e]),[M0e,b0e]}var LoadingOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const LoadingOutlinedSvg=LoadingOutlined$2;var LoadingOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:LoadingOutlinedSvg}))};const LoadingOutlined$1=reactExports.forwardRef(LoadingOutlined),zIndexContext=React$1.createContext(void 0),zIndexContext$1=zIndexContext,CONTAINER_OFFSET=100,CONTAINER_OFFSET_MAX_COUNT=10,CONTAINER_MAX_OFFSET=CONTAINER_OFFSET*CONTAINER_OFFSET_MAX_COUNT,containerBaseZIndexOffset={Modal:CONTAINER_OFFSET,Drawer:CONTAINER_OFFSET,Popover:CONTAINER_OFFSET,Popconfirm:CONTAINER_OFFSET,Tooltip:CONTAINER_OFFSET,Tour:CONTAINER_OFFSET},consumerBaseZIndexOffset={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function isContainerType(x_){return x_ in containerBaseZIndexOffset}function useZIndex(x_,e0e){const[,$P]=useToken$1(),t0e=React$1.useContext(zIndexContext$1),r0e=isContainerType(x_);if(e0e!==void 0)return[e0e,e0e];let n0e=t0e??0;return r0e?(n0e+=(t0e?0:$P.zIndexPopupBase)+containerBaseZIndexOffset[x_],n0e=Math.min(n0e,$P.zIndexPopupBase+CONTAINER_MAX_OFFSET)):n0e+=consumerBaseZIndexOffset[x_],[t0e===void 0?e0e:n0e,n0e]}const genMessageStyle=x_=>{const{componentCls:e0e,iconCls:$P,boxShadow:t0e,colorText:r0e,colorSuccess:n0e,colorError:a0e,colorWarning:o0e,colorInfo:i0e,fontSizeLG:s0e,motionEaseInOutCirc:l0e,motionDurationSlow:c0e,marginXS:u0e,paddingXS:d0e,borderRadiusLG:p0e,zIndexPopup:f0e,contentPadding:h0e,contentBg:b0e}=x_,m0e=`${e0e}-notice`,v0e=new Keyframe("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d0e,transform:"translateY(0)",opacity:1}}),g0e=new Keyframe("MessageMoveOut",{"0%":{maxHeight:x_.height,padding:d0e,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),y0e={padding:d0e,textAlign:"center",[`${e0e}-custom-content > ${$P}`]:{verticalAlign:"text-bottom",marginInlineEnd:u0e,fontSize:s0e},[`${m0e}-content`]:{display:"inline-block",padding:h0e,background:b0e,borderRadius:p0e,boxShadow:t0e,pointerEvents:"all"},[`${e0e}-success > ${$P}`]:{color:n0e},[`${e0e}-error > ${$P}`]:{color:a0e},[`${e0e}-warning > ${$P}`]:{color:o0e},[`${e0e}-info > ${$P}, + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,propList="".concat(attributes," ").concat(eventsName).split(/[\s\n]+/),ariaPrefix="aria-",dataPrefix="data-";function match(x_,e0e){return x_.indexOf(e0e)===0}function pickAttrs(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P;e0e===!1?$P={aria:!0,data:!0,attr:!0}:e0e===!0?$P={aria:!0}:$P=_objectSpread2$1({},e0e);var t0e={};return Object.keys(x_).forEach(function(r0e){($P.aria&&(r0e==="role"||match(r0e,ariaPrefix))||$P.data&&match(r0e,dataPrefix)||$P.attr&&propList.includes(r0e))&&(t0e[r0e]=x_[r0e])}),t0e}const{isValidElement}=React$2;function isFragment(x_){return x_&&isValidElement(x_)&&x_.type===reactExports.Fragment}function replaceElement(x_,e0e,$P){return isValidElement(x_)?reactExports.cloneElement(x_,typeof $P=="function"?$P(x_.props||{}):$P):e0e}function cloneElement(x_,e0e){return replaceElement(x_,x_,e0e)}const t$2=x_=>typeof x_=="object"&&x_!=null&&x_.nodeType===1,e$3=(x_,e0e)=>(!e0e||x_!=="hidden")&&x_!=="visible"&&x_!=="clip",n$2=(x_,e0e)=>{if(x_.clientHeight{const r0e=(n0e=>{if(!n0e.ownerDocument||!n0e.ownerDocument.defaultView)return null;try{return n0e.ownerDocument.defaultView.frameElement}catch{return null}})(t0e);return!!r0e&&(r0e.clientHeightn0ee0e||n0e>x_&&a0e=e0e&&o0e>=$P?n0e-x_-t0e:a0e>e0e&&o0e<$P||n0e$P?a0e-e0e+r0e:0,l$1=x_=>{const e0e=x_.parentElement;return e0e??(x_.getRootNode().host||null)},r$3=(x_,e0e)=>{var $P,t0e,r0e,n0e;if(typeof document>"u")return[];const{scrollMode:a0e,block:o0e,inline:i0e,boundary:s0e,skipOverflowHiddenElements:l0e}=e0e,c0e=typeof s0e=="function"?s0e:R0e=>R0e!==s0e;if(!t$2(x_))throw new TypeError("Invalid target");const u0e=document.scrollingElement||document.documentElement,d0e=[];let p0e=x_;for(;t$2(p0e)&&c0e(p0e);){if(p0e=l$1(p0e),p0e===u0e){d0e.push(p0e);break}p0e!=null&&p0e===document.body&&n$2(p0e)&&!n$2(document.documentElement)||p0e!=null&&n$2(p0e,l0e)&&d0e.push(p0e)}const f0e=(t0e=($P=window.visualViewport)==null?void 0:$P.width)!=null?t0e:innerWidth,h0e=(n0e=(r0e=window.visualViewport)==null?void 0:r0e.height)!=null?n0e:innerHeight,{scrollX:b0e,scrollY:m0e}=window,{height:v0e,width:g0e,top:y0e,right:M0e,bottom:O0e,left:z0e}=x_.getBoundingClientRect(),{top:_0e,right:A0e,bottom:$0e,left:S0e}=(R0e=>{const T0e=window.getComputedStyle(R0e);return{top:parseFloat(T0e.scrollMarginTop)||0,right:parseFloat(T0e.scrollMarginRight)||0,bottom:parseFloat(T0e.scrollMarginBottom)||0,left:parseFloat(T0e.scrollMarginLeft)||0}})(x_);let C0e=o0e==="start"||o0e==="nearest"?y0e-_0e:o0e==="end"?O0e+$0e:y0e+v0e/2-_0e+$0e,E0e=i0e==="center"?z0e+g0e/2-S0e+A0e:i0e==="end"?M0e+A0e:z0e-S0e;const w0e=[];for(let R0e=0;R0e=0&&z0e>=0&&O0e<=h0e&&M0e<=f0e&&y0e>=k0e&&O0e<=N0e&&z0e>=j0e&&M0e<=q0e)return w0e;const P0e=getComputedStyle(T0e),I0e=parseInt(P0e.borderLeftWidth,10),F0e=parseInt(P0e.borderTopWidth,10),V0e=parseInt(P0e.borderRightWidth,10),H0e=parseInt(P0e.borderBottomWidth,10);let Q0e=0,Y0e=0;const G0e="offsetWidth"in T0e?T0e.offsetWidth-T0e.clientWidth-I0e-V0e:0,B0e="offsetHeight"in T0e?T0e.offsetHeight-T0e.clientHeight-F0e-H0e:0,U0e="offsetWidth"in T0e?T0e.offsetWidth===0?0:W0e/T0e.offsetWidth:0,X0e="offsetHeight"in T0e?T0e.offsetHeight===0?0:D0e/T0e.offsetHeight:0;if(u0e===T0e)Q0e=o0e==="start"?C0e:o0e==="end"?C0e-h0e:o0e==="nearest"?o$2(m0e,m0e+h0e,h0e,F0e,H0e,m0e+C0e,m0e+C0e+v0e,v0e):C0e-h0e/2,Y0e=i0e==="start"?E0e:i0e==="center"?E0e-f0e/2:i0e==="end"?E0e-f0e:o$2(b0e,b0e+f0e,f0e,I0e,V0e,b0e+E0e,b0e+E0e+g0e,g0e),Q0e=Math.max(0,Q0e+m0e),Y0e=Math.max(0,Y0e+b0e);else{Q0e=o0e==="start"?C0e-k0e-F0e:o0e==="end"?C0e-N0e+H0e+B0e:o0e==="nearest"?o$2(k0e,N0e,D0e,F0e,H0e+B0e,C0e,C0e+v0e,v0e):C0e-(k0e+D0e/2)+B0e/2,Y0e=i0e==="start"?E0e-j0e-I0e:i0e==="center"?E0e-(j0e+W0e/2)+G0e/2:i0e==="end"?E0e-q0e+V0e+G0e:o$2(j0e,q0e,W0e,I0e,V0e+G0e,E0e,E0e+g0e,g0e);const{scrollLeft:Z0e,scrollTop:e1e}=T0e;Q0e=X0e===0?0:Math.max(0,Math.min(e1e+Q0e/X0e,T0e.scrollHeight-D0e/X0e+B0e)),Y0e=U0e===0?0:Math.max(0,Math.min(Z0e+Y0e/U0e,T0e.scrollWidth-W0e/U0e+G0e)),C0e+=e1e-Q0e,E0e+=Z0e-Y0e}w0e.push({el:T0e,top:Q0e,left:Y0e})}return w0e},o$1=x_=>x_===!1?{block:"end",inline:"nearest"}:(e0e=>e0e===Object(e0e)&&Object.keys(e0e).length!==0)(x_)?x_:{block:"start",inline:"nearest"};function e$2(x_,e0e){if(!x_.isConnected||!(r0e=>{let n0e=r0e;for(;n0e&&n0e.parentNode;){if(n0e.parentNode===document)return!0;n0e=n0e.parentNode instanceof ShadowRoot?n0e.parentNode.host:n0e.parentNode}return!1})(x_))return;const $P=(r0e=>{const n0e=window.getComputedStyle(r0e);return{top:parseFloat(n0e.scrollMarginTop)||0,right:parseFloat(n0e.scrollMarginRight)||0,bottom:parseFloat(n0e.scrollMarginBottom)||0,left:parseFloat(n0e.scrollMarginLeft)||0}})(x_);if((r0e=>typeof r0e=="object"&&typeof r0e.behavior=="function")(e0e))return e0e.behavior(r$3(x_,e0e));const t0e=typeof e0e=="boolean"||e0e==null?void 0:e0e.behavior;for(const{el:r0e,top:n0e,left:a0e}of r$3(x_,o$1(e0e))){const o0e=n0e-$P.top+$P.bottom,i0e=a0e-$P.left+$P.right;r0e.scroll({top:o0e,left:i0e,behavior:t0e})}}const useCSSVarCls=x_=>{const[,,,,e0e]=useToken$1();return e0e?`${x_}-css-var`:""},useCSSVarCls$1=useCSSVarCls;var KeyCode$1={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e0e){var $P=e0e.keyCode;if(e0e.altKey&&!e0e.ctrlKey||e0e.metaKey||$P>=KeyCode$1.F1&&$P<=KeyCode$1.F12)return!1;switch($P){case KeyCode$1.ALT:case KeyCode$1.CAPS_LOCK:case KeyCode$1.CONTEXT_MENU:case KeyCode$1.CTRL:case KeyCode$1.DOWN:case KeyCode$1.END:case KeyCode$1.ESC:case KeyCode$1.HOME:case KeyCode$1.INSERT:case KeyCode$1.LEFT:case KeyCode$1.MAC_FF_META:case KeyCode$1.META:case KeyCode$1.NUMLOCK:case KeyCode$1.NUM_CENTER:case KeyCode$1.PAGE_DOWN:case KeyCode$1.PAGE_UP:case KeyCode$1.PAUSE:case KeyCode$1.PRINT_SCREEN:case KeyCode$1.RIGHT:case KeyCode$1.SHIFT:case KeyCode$1.UP:case KeyCode$1.WIN_KEY:case KeyCode$1.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e0e){if(e0e>=KeyCode$1.ZERO&&e0e<=KeyCode$1.NINE||e0e>=KeyCode$1.NUM_ZERO&&e0e<=KeyCode$1.NUM_MULTIPLY||e0e>=KeyCode$1.A&&e0e<=KeyCode$1.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&e0e===0)return!0;switch(e0e){case KeyCode$1.SPACE:case KeyCode$1.QUESTION_MARK:case KeyCode$1.NUM_PLUS:case KeyCode$1.NUM_MINUS:case KeyCode$1.NUM_PERIOD:case KeyCode$1.NUM_DIVISION:case KeyCode$1.SEMICOLON:case KeyCode$1.DASH:case KeyCode$1.EQUALS:case KeyCode$1.COMMA:case KeyCode$1.PERIOD:case KeyCode$1.SLASH:case KeyCode$1.APOSTROPHE:case KeyCode$1.SINGLE_QUOTE:case KeyCode$1.OPEN_SQUARE_BRACKET:case KeyCode$1.BACKSLASH:case KeyCode$1.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Notify=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.style,r0e=x_.className,n0e=x_.duration,a0e=n0e===void 0?4.5:n0e,o0e=x_.eventKey,i0e=x_.content,s0e=x_.closable,l0e=x_.closeIcon,c0e=l0e===void 0?"x":l0e,u0e=x_.props,d0e=x_.onClick,p0e=x_.onNoticeClose,f0e=x_.times,h0e=x_.hovering,b0e=reactExports.useState(!1),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1],y0e=h0e||v0e,M0e=function(){p0e(o0e)},O0e=function(A0e){(A0e.key==="Enter"||A0e.code==="Enter"||A0e.keyCode===KeyCode$1.ENTER)&&M0e()};reactExports.useEffect(function(){if(!y0e&&a0e>0){var _0e=setTimeout(function(){M0e()},a0e*1e3);return function(){clearTimeout(_0e)}}},[a0e,y0e,f0e]);var z0e="".concat($P,"-notice");return reactExports.createElement("div",_extends$1z({},u0e,{ref:e0e,className:cx$1(z0e,r0e,_defineProperty$5({},"".concat(z0e,"-closable"),s0e)),style:t0e,onMouseEnter:function(A0e){var $0e;g0e(!0),u0e==null||($0e=u0e.onMouseEnter)===null||$0e===void 0||$0e.call(u0e,A0e)},onMouseLeave:function(A0e){var $0e;g0e(!1),u0e==null||($0e=u0e.onMouseLeave)===null||$0e===void 0||$0e.call(u0e,A0e)},onClick:d0e}),reactExports.createElement("div",{className:"".concat(z0e,"-content")},i0e),s0e&&reactExports.createElement("a",{tabIndex:0,className:"".concat(z0e,"-close"),onKeyDown:O0e,onClick:function(A0e){A0e.preventDefault(),A0e.stopPropagation(),M0e()}},c0e))}),NotificationContext=React$1.createContext({}),NotificationProvider=function(e0e){var $P=e0e.children,t0e=e0e.classNames;return React$1.createElement(NotificationContext.Provider,{value:{classNames:t0e}},$P)},DEFAULT_OFFSET$1=8,DEFAULT_THRESHOLD=3,DEFAULT_GAP=16,useStack=function(e0e){var $P={offset:DEFAULT_OFFSET$1,threshold:DEFAULT_THRESHOLD,gap:DEFAULT_GAP};if(e0e&&_typeof$2(e0e)==="object"){var t0e,r0e,n0e;$P.offset=(t0e=e0e.offset)!==null&&t0e!==void 0?t0e:DEFAULT_OFFSET$1,$P.threshold=(r0e=e0e.threshold)!==null&&r0e!==void 0?r0e:DEFAULT_THRESHOLD,$P.gap=(n0e=e0e.gap)!==null&&n0e!==void 0?n0e:DEFAULT_GAP}return[!!e0e,$P]},_excluded$R=["className","style","classNames","styles"],NoticeList=function(e0e){var $P,t0e=e0e.configList,r0e=e0e.placement,n0e=e0e.prefixCls,a0e=e0e.className,o0e=e0e.style,i0e=e0e.motion,s0e=e0e.onAllNoticeRemoved,l0e=e0e.onNoticeClose,c0e=e0e.stack,u0e=reactExports.useContext(NotificationContext),d0e=u0e.classNames,p0e=reactExports.useRef({}),f0e=reactExports.useState(null),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=reactExports.useState([]),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=t0e.map(function(T0e){return{config:T0e,key:String(T0e.key)}}),z0e=useStack(c0e),_0e=_slicedToArray$3(z0e,2),A0e=_0e[0],$0e=_0e[1],S0e=$0e.offset,C0e=$0e.threshold,E0e=$0e.gap,w0e=A0e&&(y0e.length>0||O0e.length<=C0e),R0e=typeof i0e=="function"?i0e(r0e):i0e;return reactExports.useEffect(function(){A0e&&y0e.length>1&&M0e(function(T0e){return T0e.filter(function(D0e){return O0e.some(function(W0e){var k0e=W0e.key;return D0e===k0e})})})},[y0e,O0e,A0e]),reactExports.useEffect(function(){var T0e;if(A0e&&p0e.current[(T0e=O0e[O0e.length-1])===null||T0e===void 0?void 0:T0e.key]){var D0e;m0e(p0e.current[(D0e=O0e[O0e.length-1])===null||D0e===void 0?void 0:D0e.key])}},[O0e,A0e]),jsx(CSSMotionList,{className:cx$1(n0e,"".concat(n0e,"-").concat(r0e),d0e==null?void 0:d0e.list,a0e,($P={},_defineProperty$5($P,"".concat(n0e,"-stack"),!!A0e),_defineProperty$5($P,"".concat(n0e,"-stack-expanded"),w0e),$P)),style:o0e,keys:O0e,motionAppear:!0,...R0e,onAllRemoved:function(){s0e(r0e)},children:function(T0e,D0e){var W0e=T0e.config,k0e=T0e.className,q0e=T0e.style,N0e=T0e.index,j0e=W0e,P0e=j0e.key,I0e=j0e.times,F0e=String(P0e),V0e=W0e,H0e=V0e.className,Q0e=V0e.style,Y0e=V0e.classNames,G0e=V0e.styles,B0e=_objectWithoutProperties$4(V0e,_excluded$R),U0e=O0e.findIndex(function(_1e){return _1e.key===F0e}),X0e={};if(A0e){var Z0e=O0e.length-1-(U0e>-1?U0e:N0e-1),e1e=r0e==="top"||r0e==="bottom"?"-50%":"0";if(Z0e>0){var n1e,t1e,r1e;X0e.height=w0e?(n1e=p0e.current[F0e])===null||n1e===void 0?void 0:n1e.offsetHeight:b0e==null?void 0:b0e.offsetHeight;for(var a1e=0,l1e=0;l1e-1?p0e.current[F0e]=p1e:delete p0e.current[F0e]},prefixCls:n0e,classNames:Y0e,styles:G0e,className:cx$1(H0e,d0e==null?void 0:d0e.notice),style:Q0e,times:I0e,key:P0e,eventKey:P0e,onNoticeClose:l0e,hovering:A0e&&y0e.length>0})})}},r0e)},Notifications=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=$P===void 0?"rc-notification":$P,r0e=x_.container,n0e=x_.motion,a0e=x_.maxCount,o0e=x_.className,i0e=x_.style,s0e=x_.onAllRemoved,l0e=x_.stack,c0e=x_.renderNotifications,u0e=reactExports.useState([]),d0e=_slicedToArray$3(u0e,2),p0e=d0e[0],f0e=d0e[1],h0e=function(_0e){var A0e,$0e=p0e.find(function(S0e){return S0e.key===_0e});$0e==null||(A0e=$0e.onClose)===null||A0e===void 0||A0e.call($0e),f0e(function(S0e){return S0e.filter(function(C0e){return C0e.key!==_0e})})};reactExports.useImperativeHandle(e0e,function(){return{open:function(_0e){f0e(function(A0e){var $0e=_toConsumableArray$2(A0e),S0e=$0e.findIndex(function(w0e){return w0e.key===_0e.key}),C0e=_objectSpread2$1({},_0e);if(S0e>=0){var E0e;C0e.times=(((E0e=A0e[S0e])===null||E0e===void 0?void 0:E0e.times)||0)+1,$0e[S0e]=C0e}else C0e.times=0,$0e.push(C0e);return a0e>0&&$0e.length>a0e&&($0e=$0e.slice(-a0e)),$0e})},close:function(_0e){h0e(_0e)},destroy:function(){f0e([])}}});var b0e=reactExports.useState({}),m0e=_slicedToArray$3(b0e,2),v0e=m0e[0],g0e=m0e[1];reactExports.useEffect(function(){var z0e={};p0e.forEach(function(_0e){var A0e=_0e.placement,$0e=A0e===void 0?"topRight":A0e;$0e&&(z0e[$0e]=z0e[$0e]||[],z0e[$0e].push(_0e))}),Object.keys(v0e).forEach(function(_0e){z0e[_0e]=z0e[_0e]||[]}),g0e(z0e)},[p0e]);var y0e=function(_0e){g0e(function(A0e){var $0e=_objectSpread2$1({},A0e),S0e=$0e[_0e]||[];return S0e.length||delete $0e[_0e],$0e})},M0e=reactExports.useRef(!1);if(reactExports.useEffect(function(){Object.keys(v0e).length>0?M0e.current=!0:M0e.current&&(s0e==null||s0e(),M0e.current=!1)},[v0e]),!r0e)return null;var O0e=Object.keys(v0e);return reactDomExports.createPortal(reactExports.createElement(reactExports.Fragment,null,O0e.map(function(z0e){var _0e=v0e[z0e],A0e=reactExports.createElement(NoticeList,{key:z0e,configList:_0e,placement:z0e,prefixCls:t0e,className:o0e==null?void 0:o0e(z0e),style:i0e==null?void 0:i0e(z0e),motion:n0e,onNoticeClose:h0e,onAllNoticeRemoved:y0e,stack:l0e});return c0e?c0e(A0e,{prefixCls:t0e,key:z0e}):A0e})),r0e)}),_excluded$Q=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],defaultGetContainer=function(){return document.body},uniqueKey=0;function mergeConfig(){for(var x_={},e0e=arguments.length,$P=new Array(e0e),t0e=0;t0e0&&arguments[0]!==void 0?arguments[0]:{},e0e=x_.getContainer,$P=e0e===void 0?defaultGetContainer:e0e,t0e=x_.motion,r0e=x_.prefixCls,n0e=x_.maxCount,a0e=x_.className,o0e=x_.style,i0e=x_.onAllRemoved,s0e=x_.stack,l0e=x_.renderNotifications,c0e=_objectWithoutProperties$4(x_,_excluded$Q),u0e=reactExports.useState(),d0e=_slicedToArray$3(u0e,2),p0e=d0e[0],f0e=d0e[1],h0e=reactExports.useRef(),b0e=reactExports.createElement(Notifications,{container:p0e,ref:h0e,prefixCls:r0e,motion:t0e,maxCount:n0e,className:a0e,style:o0e,onAllRemoved:i0e,stack:s0e,renderNotifications:l0e}),m0e=reactExports.useState([]),v0e=_slicedToArray$3(m0e,2),g0e=v0e[0],y0e=v0e[1],M0e=reactExports.useMemo(function(){return{open:function(z0e){var _0e=mergeConfig(c0e,z0e);(_0e.key===null||_0e.key===void 0)&&(_0e.key="rc-notification-".concat(uniqueKey),uniqueKey+=1),y0e(function(A0e){return[].concat(_toConsumableArray$2(A0e),[{type:"open",config:_0e}])})},close:function(z0e){y0e(function(_0e){return[].concat(_toConsumableArray$2(_0e),[{type:"close",key:z0e}])})},destroy:function(){y0e(function(z0e){return[].concat(_toConsumableArray$2(z0e),[{type:"destroy"}])})}}},[]);return reactExports.useEffect(function(){f0e($P())}),reactExports.useEffect(function(){h0e.current&&g0e.length&&(g0e.forEach(function(O0e){switch(O0e.type){case"open":h0e.current.open(O0e.config);break;case"close":h0e.current.close(O0e.key);break;case"destroy":h0e.current.destroy();break}}),y0e(function(O0e){return O0e.filter(function(z0e){return!g0e.includes(z0e)})}))},[g0e]),[M0e,b0e]}var LoadingOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const LoadingOutlinedSvg=LoadingOutlined$2;var LoadingOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:LoadingOutlinedSvg}))};const LoadingOutlined$1=reactExports.forwardRef(LoadingOutlined),zIndexContext=React$1.createContext(void 0),zIndexContext$1=zIndexContext,CONTAINER_OFFSET=100,CONTAINER_OFFSET_MAX_COUNT=10,CONTAINER_MAX_OFFSET=CONTAINER_OFFSET*CONTAINER_OFFSET_MAX_COUNT,containerBaseZIndexOffset={Modal:CONTAINER_OFFSET,Drawer:CONTAINER_OFFSET,Popover:CONTAINER_OFFSET,Popconfirm:CONTAINER_OFFSET,Tooltip:CONTAINER_OFFSET,Tour:CONTAINER_OFFSET},consumerBaseZIndexOffset={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function isContainerType(x_){return x_ in containerBaseZIndexOffset}function useZIndex(x_,e0e){const[,$P]=useToken$1(),t0e=React$1.useContext(zIndexContext$1),r0e=isContainerType(x_);if(e0e!==void 0)return[e0e,e0e];let n0e=t0e??0;return r0e?(n0e+=(t0e?0:$P.zIndexPopupBase)+containerBaseZIndexOffset[x_],n0e=Math.min(n0e,$P.zIndexPopupBase+CONTAINER_MAX_OFFSET)):n0e+=consumerBaseZIndexOffset[x_],[t0e===void 0?e0e:n0e,n0e]}const genMessageStyle=x_=>{const{componentCls:e0e,iconCls:$P,boxShadow:t0e,colorText:r0e,colorSuccess:n0e,colorError:a0e,colorWarning:o0e,colorInfo:i0e,fontSizeLG:s0e,motionEaseInOutCirc:l0e,motionDurationSlow:c0e,marginXS:u0e,paddingXS:d0e,borderRadiusLG:p0e,zIndexPopup:f0e,contentPadding:h0e,contentBg:b0e}=x_,m0e=`${e0e}-notice`,v0e=new Keyframe("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:d0e,transform:"translateY(0)",opacity:1}}),g0e=new Keyframe("MessageMoveOut",{"0%":{maxHeight:x_.height,padding:d0e,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),y0e={padding:d0e,textAlign:"center",[`${e0e}-custom-content > ${$P}`]:{verticalAlign:"text-bottom",marginInlineEnd:u0e,fontSize:s0e},[`${m0e}-content`]:{display:"inline-block",padding:h0e,background:b0e,borderRadius:p0e,boxShadow:t0e,pointerEvents:"all"},[`${e0e}-success > ${$P}`]:{color:n0e},[`${e0e}-error > ${$P}`]:{color:a0e},[`${e0e}-warning > ${$P}`]:{color:o0e},[`${e0e}-info > ${$P}, ${e0e}-loading > ${$P}`]:{color:i0e}};return[{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{color:r0e,position:"fixed",top:u0e,width:"100%",pointerEvents:"none",zIndex:f0e,[`${e0e}-move-up`]:{animationFillMode:"forwards"},[` ${e0e}-move-up-appear, ${e0e}-move-up-enter `]:{animationName:v0e,animationDuration:c0e,animationPlayState:"paused",animationTimingFunction:l0e},[` ${e0e}-move-up-appear${e0e}-move-up-appear-active, ${e0e}-move-up-enter${e0e}-move-up-enter-active - `]:{animationPlayState:"running"},[`${e0e}-move-up-leave`]:{animationName:g0e,animationDuration:c0e,animationPlayState:"paused",animationTimingFunction:l0e},[`${e0e}-move-up-leave${e0e}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[e0e]:{[`${m0e}-wrapper`]:Object.assign({},y0e)}},{[`${e0e}-notice-pure-panel`]:Object.assign(Object.assign({},y0e),{padding:0,textAlign:"start"})}]},prepareComponentToken$m=x_=>({zIndexPopup:x_.zIndexPopupBase+CONTAINER_MAX_OFFSET+10,contentBg:x_.colorBgElevated,contentPadding:`${(x_.controlHeightLG-x_.fontSize*x_.lineHeight)/2}px ${x_.paddingSM}px`}),useStyle$r=genStyleHooks("Message",x_=>{const e0e=merge$2(x_,{height:150});return[genMessageStyle(e0e)]},prepareComponentToken$m);var __rest$S=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{prefixCls:e0e,type:$P,icon:t0e,children:r0e}=x_;return reactExports.createElement("div",{className:cx$1(`${e0e}-custom-content`,`${e0e}-${$P}`)},t0e||TypeIcon[$P],reactExports.createElement("span",null,r0e))},PurePanel$7=x_=>{const{prefixCls:e0e,className:$P,type:t0e,icon:r0e,content:n0e}=x_,a0e=__rest$S(x_,["prefixCls","className","type","icon","content"]),{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=e0e||o0e("message"),s0e=useCSSVarCls$1(i0e),[l0e,c0e]=useStyle$r(i0e,s0e);return l0e(reactExports.createElement(Notify,Object.assign({},a0e,{prefixCls:i0e,className:cx$1($P,c0e,`${i0e}-notice-pure-panel`,s0e),eventKey:"pure",duration:null,content:reactExports.createElement(PureContent,{prefixCls:i0e,type:t0e,icon:r0e},n0e)})))},PurePanel$8=PurePanel$7;function getMotion$3(x_,e0e){return{motionName:e0e??`${x_}-move-up`}}function wrapPromiseFn(x_){let e0e;const $P=new Promise(r0e=>{e0e=x_(()=>{r0e(!0)})}),t0e=()=>{e0e==null||e0e()};return t0e.then=(r0e,n0e)=>$P.then(r0e,n0e),t0e.promise=$P,t0e}var __rest$R=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{children:e0e,prefixCls:$P}=x_;const[t0e,r0e]=useStyle$r($P);return t0e(reactExports.createElement(NotificationProvider,{classNames:{list:r0e,notice:r0e}},e0e))},renderNotifications=(x_,e0e)=>{let{prefixCls:$P,key:t0e}=e0e;return reactExports.createElement(Wrapper$1,{prefixCls:$P,key:t0e},x_)},Holder=reactExports.forwardRef((x_,e0e)=>{const{top:$P,prefixCls:t0e,getContainer:r0e,maxCount:n0e,duration:a0e=DEFAULT_DURATION$1,rtl:o0e,transitionName:i0e,onAllRemoved:s0e}=x_,{getPrefixCls:l0e,getPopupContainer:c0e,message:u0e}=reactExports.useContext(ConfigContext),d0e=t0e||l0e("message"),p0e=()=>({left:"50%",transform:"translateX(-50%)",top:$P??DEFAULT_OFFSET}),f0e=()=>cx$1({[`${d0e}-rtl`]:o0e}),h0e=()=>getMotion$3(d0e,i0e),b0e=reactExports.createElement("span",{className:`${d0e}-close-x`},reactExports.createElement(CloseOutlined$1,{className:`${d0e}-close-icon`})),[m0e,v0e]=useNotification({prefixCls:d0e,style:p0e,className:f0e,motion:h0e,closable:!1,closeIcon:b0e,duration:a0e,getContainer:()=>(r0e==null?void 0:r0e())||(c0e==null?void 0:c0e())||document.body,maxCount:n0e,onAllRemoved:s0e,renderNotifications});return reactExports.useImperativeHandle(e0e,()=>Object.assign(Object.assign({},m0e),{prefixCls:d0e,message:u0e})),v0e});let keyIndex=0;function useInternalMessage(x_){const e0e=reactExports.useRef(null);return devUseWarning(),[reactExports.useMemo(()=>{const t0e=i0e=>{var s0e;(s0e=e0e.current)===null||s0e===void 0||s0e.close(i0e)},r0e=i0e=>{if(!e0e.current){const M0e=()=>{};return M0e.then=()=>{},M0e}const{open:s0e,prefixCls:l0e,message:c0e}=e0e.current,u0e=`${l0e}-notice`,{content:d0e,icon:p0e,type:f0e,key:h0e,className:b0e,style:m0e,onClose:v0e}=i0e,g0e=__rest$R(i0e,["content","icon","type","key","className","style","onClose"]);let y0e=h0e;return y0e==null&&(keyIndex+=1,y0e=`antd-message-${keyIndex}`),wrapPromiseFn(M0e=>(s0e(Object.assign(Object.assign({},g0e),{key:y0e,content:reactExports.createElement(PureContent,{prefixCls:l0e,type:f0e,icon:p0e},d0e),placement:"top",className:cx$1(f0e&&`${u0e}-${f0e}`,b0e,c0e==null?void 0:c0e.className),style:Object.assign(Object.assign({},c0e==null?void 0:c0e.style),m0e),onClose:()=>{v0e==null||v0e(),M0e()}})),()=>{t0e(y0e)}))},a0e={open:r0e,destroy:i0e=>{var s0e;i0e!==void 0?t0e(i0e):(s0e=e0e.current)===null||s0e===void 0||s0e.destroy()}};return["info","success","warning","error","loading"].forEach(i0e=>{const s0e=(l0e,c0e,u0e)=>{let d0e;l0e&&typeof l0e=="object"&&"content"in l0e?d0e=l0e:d0e={content:l0e};let p0e,f0e;typeof c0e=="function"?f0e=c0e:(p0e=c0e,f0e=u0e);const h0e=Object.assign(Object.assign({onClose:f0e,duration:p0e},d0e),{type:i0e});return r0e(h0e)};a0e[i0e]=s0e}),a0e},[]),reactExports.createElement(Holder,Object.assign({key:"message-holder"},x_,{ref:e0e}))]}function useMessage(x_){return useInternalMessage(x_)}function _regeneratorRuntime$1(){_regeneratorRuntime$1=function(){return e0e};var x_,e0e={},$P=Object.prototype,t0e=$P.hasOwnProperty,r0e=Object.defineProperty||function(R0e,T0e,D0e){R0e[T0e]=D0e.value},n0e=typeof Symbol=="function"?Symbol:{},a0e=n0e.iterator||"@@iterator",o0e=n0e.asyncIterator||"@@asyncIterator",i0e=n0e.toStringTag||"@@toStringTag";function s0e(R0e,T0e,D0e){return Object.defineProperty(R0e,T0e,{value:D0e,enumerable:!0,configurable:!0,writable:!0}),R0e[T0e]}try{s0e({},"")}catch{s0e=function(D0e,W0e,k0e){return D0e[W0e]=k0e}}function l0e(R0e,T0e,D0e,W0e){var k0e=T0e&&T0e.prototype instanceof b0e?T0e:b0e,q0e=Object.create(k0e.prototype),N0e=new E0e(W0e||[]);return r0e(q0e,"_invoke",{value:A0e(R0e,D0e,N0e)}),q0e}function c0e(R0e,T0e,D0e){try{return{type:"normal",arg:R0e.call(T0e,D0e)}}catch(W0e){return{type:"throw",arg:W0e}}}e0e.wrap=l0e;var u0e="suspendedStart",d0e="suspendedYield",p0e="executing",f0e="completed",h0e={};function b0e(){}function m0e(){}function v0e(){}var g0e={};s0e(g0e,a0e,function(){return this});var y0e=Object.getPrototypeOf,M0e=y0e&&y0e(y0e(w0e([])));M0e&&M0e!==$P&&t0e.call(M0e,a0e)&&(g0e=M0e);var O0e=v0e.prototype=b0e.prototype=Object.create(g0e);function z0e(R0e){["next","throw","return"].forEach(function(T0e){s0e(R0e,T0e,function(D0e){return this._invoke(T0e,D0e)})})}function _0e(R0e,T0e){function D0e(k0e,q0e,N0e,j0e){var P0e=c0e(R0e[k0e],R0e,q0e);if(P0e.type!=="throw"){var I0e=P0e.arg,F0e=I0e.value;return F0e&&_typeof$2(F0e)=="object"&&t0e.call(F0e,"__await")?T0e.resolve(F0e.__await).then(function(V0e){D0e("next",V0e,N0e,j0e)},function(V0e){D0e("throw",V0e,N0e,j0e)}):T0e.resolve(F0e).then(function(V0e){I0e.value=V0e,N0e(I0e)},function(V0e){return D0e("throw",V0e,N0e,j0e)})}j0e(P0e.arg)}var W0e;r0e(this,"_invoke",{value:function(q0e,N0e){function j0e(){return new T0e(function(P0e,I0e){D0e(q0e,N0e,P0e,I0e)})}return W0e=W0e?W0e.then(j0e,j0e):j0e()}})}function A0e(R0e,T0e,D0e){var W0e=u0e;return function(k0e,q0e){if(W0e===p0e)throw new Error("Generator is already running");if(W0e===f0e){if(k0e==="throw")throw q0e;return{value:x_,done:!0}}for(D0e.method=k0e,D0e.arg=q0e;;){var N0e=D0e.delegate;if(N0e){var j0e=$0e(N0e,D0e);if(j0e){if(j0e===h0e)continue;return j0e}}if(D0e.method==="next")D0e.sent=D0e._sent=D0e.arg;else if(D0e.method==="throw"){if(W0e===u0e)throw W0e=f0e,D0e.arg;D0e.dispatchException(D0e.arg)}else D0e.method==="return"&&D0e.abrupt("return",D0e.arg);W0e=p0e;var P0e=c0e(R0e,T0e,D0e);if(P0e.type==="normal"){if(W0e=D0e.done?f0e:d0e,P0e.arg===h0e)continue;return{value:P0e.arg,done:D0e.done}}P0e.type==="throw"&&(W0e=f0e,D0e.method="throw",D0e.arg=P0e.arg)}}}function $0e(R0e,T0e){var D0e=T0e.method,W0e=R0e.iterator[D0e];if(W0e===x_)return T0e.delegate=null,D0e==="throw"&&R0e.iterator.return&&(T0e.method="return",T0e.arg=x_,$0e(R0e,T0e),T0e.method==="throw")||D0e!=="return"&&(T0e.method="throw",T0e.arg=new TypeError("The iterator does not provide a '"+D0e+"' method")),h0e;var k0e=c0e(W0e,R0e.iterator,T0e.arg);if(k0e.type==="throw")return T0e.method="throw",T0e.arg=k0e.arg,T0e.delegate=null,h0e;var q0e=k0e.arg;return q0e?q0e.done?(T0e[R0e.resultName]=q0e.value,T0e.next=R0e.nextLoc,T0e.method!=="return"&&(T0e.method="next",T0e.arg=x_),T0e.delegate=null,h0e):q0e:(T0e.method="throw",T0e.arg=new TypeError("iterator result is not an object"),T0e.delegate=null,h0e)}function S0e(R0e){var T0e={tryLoc:R0e[0]};1 in R0e&&(T0e.catchLoc=R0e[1]),2 in R0e&&(T0e.finallyLoc=R0e[2],T0e.afterLoc=R0e[3]),this.tryEntries.push(T0e)}function C0e(R0e){var T0e=R0e.completion||{};T0e.type="normal",delete T0e.arg,R0e.completion=T0e}function E0e(R0e){this.tryEntries=[{tryLoc:"root"}],R0e.forEach(S0e,this),this.reset(!0)}function w0e(R0e){if(R0e||R0e===""){var T0e=R0e[a0e];if(T0e)return T0e.call(R0e);if(typeof R0e.next=="function")return R0e;if(!isNaN(R0e.length)){var D0e=-1,W0e=function k0e(){for(;++D0e=0;--k0e){var q0e=this.tryEntries[k0e],N0e=q0e.completion;if(q0e.tryLoc==="root")return W0e("end");if(q0e.tryLoc<=this.prev){var j0e=t0e.call(q0e,"catchLoc"),P0e=t0e.call(q0e,"finallyLoc");if(j0e&&P0e){if(this.prev=0;--W0e){var k0e=this.tryEntries[W0e];if(k0e.tryLoc<=this.prev&&t0e.call(k0e,"finallyLoc")&&this.prev=0;--D0e){var W0e=this.tryEntries[D0e];if(W0e.finallyLoc===T0e)return this.complete(W0e.completion,W0e.afterLoc),C0e(W0e),h0e}},catch:function(T0e){for(var D0e=this.tryEntries.length-1;D0e>=0;--D0e){var W0e=this.tryEntries[D0e];if(W0e.tryLoc===T0e){var k0e=W0e.completion;if(k0e.type==="throw"){var q0e=k0e.arg;C0e(W0e)}return q0e}}throw new Error("illegal catch attempt")},delegateYield:function(T0e,D0e,W0e){return this.delegate={iterator:w0e(T0e),resultName:D0e,nextLoc:W0e},this.method==="next"&&(this.arg=x_),h0e}},e0e}function asyncGeneratorStep$1(x_,e0e,$P,t0e,r0e,n0e,a0e){try{var o0e=x_[n0e](a0e),i0e=o0e.value}catch(s0e){$P(s0e);return}o0e.done?e0e(i0e):Promise.resolve(i0e).then(t0e,r0e)}function _asyncToGenerator$1(x_){return function(){var e0e=this,$P=arguments;return new Promise(function(t0e,r0e){var n0e=x_.apply(e0e,$P);function a0e(i0e){asyncGeneratorStep$1(n0e,t0e,r0e,a0e,o0e,"next",i0e)}function o0e(i0e){asyncGeneratorStep$1(n0e,t0e,r0e,a0e,o0e,"throw",i0e)}a0e(void 0)})}}var fullClone=_objectSpread2$1({},ReactDOM$1),version$2=fullClone.version,reactRender=fullClone.render,unmountComponentAtNode=fullClone.unmountComponentAtNode,createRoot;try{var mainVersion=Number((version$2||"").split(".")[0]);mainVersion>=18&&(createRoot=fullClone.createRoot)}catch{}function toggleWarning(x_){var e0e=fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;e0e&&_typeof$2(e0e)==="object"&&(e0e.usingClientEntryPoint=x_)}var MARK="__rc_react_root__";function modernRender(x_,e0e){toggleWarning(!0);var $P=e0e[MARK]||createRoot(e0e);toggleWarning(!1),$P.render(x_),e0e[MARK]=$P}function legacyRender(x_,e0e){reactRender(x_,e0e)}function render$2(x_,e0e){if(createRoot){modernRender(x_,e0e);return}legacyRender(x_,e0e)}function modernUnmount(x_){return _modernUnmount.apply(this,arguments)}function _modernUnmount(){return _modernUnmount=_asyncToGenerator$1(_regeneratorRuntime$1().mark(function x_(e0e){return _regeneratorRuntime$1().wrap(function(t0e){for(;;)switch(t0e.prev=t0e.next){case 0:return t0e.abrupt("return",Promise.resolve().then(function(){var r0e;(r0e=e0e[MARK])===null||r0e===void 0||r0e.unmount(),delete e0e[MARK]}));case 1:case"end":return t0e.stop()}},x_)})),_modernUnmount.apply(this,arguments)}function legacyUnmount(x_){unmountComponentAtNode(x_)}function unmount$1(x_){return _unmount.apply(this,arguments)}function _unmount(){return _unmount=_asyncToGenerator$1(_regeneratorRuntime$1().mark(function x_(e0e){return _regeneratorRuntime$1().wrap(function(t0e){for(;;)switch(t0e.prev=t0e.next){case 0:if(createRoot===void 0){t0e.next=2;break}return t0e.abrupt("return",modernUnmount(e0e));case 2:legacyUnmount(e0e);case 3:case"end":return t0e.stop()}},x_)})),_unmount.apply(this,arguments)}const getCollapsedHeight=()=>({height:0,opacity:0}),getRealHeight=x_=>{const{scrollHeight:e0e}=x_;return{height:e0e,opacity:1}},getCurrentHeight=x_=>({height:x_?x_.offsetHeight:0}),skipOpacityTransition=(x_,e0e)=>(e0e==null?void 0:e0e.deadline)===!0||e0e.propertyName==="height",initCollapseMotion=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:getCollapsedHeight,onEnterStart:getCollapsedHeight,onAppearActive:getRealHeight,onEnterActive:getRealHeight,onLeaveStart:getCurrentHeight,onLeaveActive:getCollapsedHeight,onAppearEnd:skipOpacityTransition,onEnterEnd:skipOpacityTransition,onLeaveEnd:skipOpacityTransition,motionDeadline:500}},getTransitionName=(x_,e0e,$P)=>$P!==void 0?$P:`${x_}-${e0e}`,initCollapseMotion$1=initCollapseMotion,isVisible$1=function(x_){if(!x_)return!1;if(x_ instanceof Element){if(x_.offsetParent)return!0;if(x_.getBBox){var e0e=x_.getBBox(),$P=e0e.width,t0e=e0e.height;if($P||t0e)return!0}if(x_.getBoundingClientRect){var r0e=x_.getBoundingClientRect(),n0e=r0e.width,a0e=r0e.height;if(n0e||a0e)return!0}}return!1},genWaveStyle=x_=>{const{componentCls:e0e,colorPrimary:$P}=x_;return{[e0e]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${$P})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${x_.motionEaseOutCirc}`,`opacity 2s ${x_.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${x_.motionEaseInOut}`,`opacity 0.35s ${x_.motionEaseInOut}`].join(",")}}}}},useStyle$q=genComponentStyleHook("Wave",x_=>[genWaveStyle(x_)]);function isNotGrey(x_){const e0e=(x_||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return e0e&&e0e[1]&&e0e[2]&&e0e[3]?!(e0e[1]===e0e[2]&&e0e[2]===e0e[3]):!0}function isValidWaveColor(x_){return x_&&x_!=="#fff"&&x_!=="#ffffff"&&x_!=="rgb(255, 255, 255)"&&x_!=="rgba(255, 255, 255, 1)"&&isNotGrey(x_)&&!/rgba\((?:\d*, ){3}0\)/.test(x_)&&x_!=="transparent"}function getTargetWaveColor(x_){const{borderTopColor:e0e,borderColor:$P,backgroundColor:t0e}=getComputedStyle(x_);return isValidWaveColor(e0e)?e0e:isValidWaveColor($P)?$P:isValidWaveColor(t0e)?t0e:null}const TARGET_CLS="ant-wave-target";function validateNum(x_){return Number.isNaN(x_)?0:x_}const WaveEffect=x_=>{const{className:e0e,target:$P,component:t0e}=x_,r0e=reactExports.useRef(null),[n0e,a0e]=reactExports.useState(null),[o0e,i0e]=reactExports.useState([]),[s0e,l0e]=reactExports.useState(0),[c0e,u0e]=reactExports.useState(0),[d0e,p0e]=reactExports.useState(0),[f0e,h0e]=reactExports.useState(0),[b0e,m0e]=reactExports.useState(!1),v0e={left:s0e,top:c0e,width:d0e,height:f0e,borderRadius:o0e.map(M0e=>`${M0e}px`).join(" ")};n0e&&(v0e["--wave-color"]=n0e);function g0e(){const M0e=getComputedStyle($P);a0e(getTargetWaveColor($P));const O0e=M0e.position==="static",{borderLeftWidth:z0e,borderTopWidth:_0e}=M0e;l0e(O0e?$P.offsetLeft:validateNum(-parseFloat(z0e))),u0e(O0e?$P.offsetTop:validateNum(-parseFloat(_0e))),p0e($P.offsetWidth),h0e($P.offsetHeight);const{borderTopLeftRadius:A0e,borderTopRightRadius:$0e,borderBottomLeftRadius:S0e,borderBottomRightRadius:C0e}=M0e;i0e([A0e,$0e,C0e,S0e].map(E0e=>validateNum(parseFloat(E0e))))}if(reactExports.useEffect(()=>{if($P){const M0e=wrapperRaf$1(()=>{g0e(),m0e(!0)});let O0e;return typeof ResizeObserver<"u"&&(O0e=new ResizeObserver(g0e),O0e.observe($P)),()=>{wrapperRaf$1.cancel(M0e),O0e==null||O0e.disconnect()}}},[]),!b0e)return null;const y0e=(t0e==="Checkbox"||t0e==="Radio")&&($P==null?void 0:$P.classList.contains(TARGET_CLS));return reactExports.createElement(CSSMotion,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(M0e,O0e)=>{var z0e;if(O0e.deadline||O0e.propertyName==="opacity"){const _0e=(z0e=r0e.current)===null||z0e===void 0?void 0:z0e.parentElement;unmount$1(_0e).then(()=>{_0e==null||_0e.remove()})}return!1}},M0e=>{let{className:O0e}=M0e;return reactExports.createElement("div",{ref:r0e,className:cx$1(e0e,{"wave-quick":y0e},O0e),style:v0e})})},showWaveEffect=(x_,e0e)=>{var $P;const{component:t0e}=e0e;if(t0e==="Checkbox"&&!(!(($P=x_.querySelector("input"))===null||$P===void 0)&&$P.checked))return;const r0e=document.createElement("div");r0e.style.position="absolute",r0e.style.left="0px",r0e.style.top="0px",x_==null||x_.insertBefore(r0e,x_==null?void 0:x_.firstChild),render$2(reactExports.createElement(WaveEffect,Object.assign({},e0e,{target:x_})),r0e)},showWaveEffect$1=showWaveEffect;function useWave(x_,e0e,$P){const{wave:t0e}=reactExports.useContext(ConfigContext),[,r0e,n0e]=useToken$1(),a0e=useEvent(s0e=>{const l0e=x_.current;if(t0e!=null&&t0e.disabled||!l0e)return;const c0e=l0e.querySelector(`.${TARGET_CLS}`)||l0e,{showEffect:u0e}=t0e||{};(u0e||showWaveEffect$1)(c0e,{className:e0e,token:r0e,component:$P,event:s0e,hashId:n0e})}),o0e=reactExports.useRef();return s0e=>{wrapperRaf$1.cancel(o0e.current),o0e.current=wrapperRaf$1(()=>{a0e(s0e)})}}const Wave=x_=>{const{children:e0e,disabled:$P,component:t0e}=x_,{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=reactExports.useRef(null),a0e=r0e("wave"),[,o0e]=useStyle$q(a0e),i0e=useWave(n0e,cx$1(a0e,o0e),t0e);if(React$1.useEffect(()=>{const l0e=n0e.current;if(!l0e||l0e.nodeType!==1||$P)return;const c0e=u0e=>{!isVisible$1(u0e.target)||!l0e.getAttribute||l0e.getAttribute("disabled")||l0e.disabled||l0e.className.includes("disabled")||l0e.className.includes("-leave")||i0e(u0e)};return l0e.addEventListener("click",c0e,!0),()=>{l0e.removeEventListener("click",c0e,!0)}},[$P]),!React$1.isValidElement(e0e))return e0e??null;const s0e=supportRef(e0e)?composeRef$1(e0e.ref,n0e):n0e;return cloneElement(e0e,{ref:s0e})},Wave$1=Wave,useSize=x_=>{const e0e=React$1.useContext(SizeContext$1);return React$1.useMemo(()=>x_?typeof x_=="string"?x_??e0e:x_ instanceof Function?x_(e0e):e0e:e0e,[x_,e0e])},useSize$1=useSize,genSpaceCompactStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},genSpaceCompactStyle$1=genSpaceCompactStyle,genSpaceStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${e0e}-item:empty`]:{display:"none"}}}},genSpaceGapStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{"&-gap-row-small":{rowGap:x_.spaceGapSmallSize},"&-gap-row-middle":{rowGap:x_.spaceGapMiddleSize},"&-gap-row-large":{rowGap:x_.spaceGapLargeSize},"&-gap-col-small":{columnGap:x_.spaceGapSmallSize},"&-gap-col-middle":{columnGap:x_.spaceGapMiddleSize},"&-gap-col-large":{columnGap:x_.spaceGapLargeSize}}}},useStyle$p=genStyleHooks("Space",x_=>{const e0e=merge$2(x_,{spaceGapSmallSize:x_.paddingXS,spaceGapMiddleSize:x_.padding,spaceGapLargeSize:x_.paddingLG});return[genSpaceStyle(e0e),genSpaceGapStyle(e0e),genSpaceCompactStyle$1(e0e)]},()=>({}),{resetStyle:!1});var __rest$Q=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const $P=reactExports.useContext(SpaceCompactItemContext),t0e=reactExports.useMemo(()=>{if(!$P)return"";const{compactDirection:r0e,isFirstItem:n0e,isLastItem:a0e}=$P,o0e=r0e==="vertical"?"-vertical-":"-";return cx$1(`${x_}-compact${o0e}item`,{[`${x_}-compact${o0e}first-item`]:n0e,[`${x_}-compact${o0e}last-item`]:a0e,[`${x_}-compact${o0e}item-rtl`]:e0e==="rtl"})},[x_,e0e,$P]);return{compactSize:$P==null?void 0:$P.compactSize,compactDirection:$P==null?void 0:$P.compactDirection,compactItemClassnames:t0e}},NoCompactStyle=x_=>{let{children:e0e}=x_;return reactExports.createElement(SpaceCompactItemContext.Provider,{value:null},e0e)},CompactItem=x_=>{var{children:e0e}=x_,$P=__rest$Q(x_,["children"]);return reactExports.createElement(SpaceCompactItemContext.Provider,{value:$P},e0e)},Compact=x_=>{const{getPrefixCls:e0e,direction:$P}=reactExports.useContext(ConfigContext),{size:t0e,direction:r0e,block:n0e,prefixCls:a0e,className:o0e,rootClassName:i0e,children:s0e}=x_,l0e=__rest$Q(x_,["size","direction","block","prefixCls","className","rootClassName","children"]),c0e=useSize$1(v0e=>t0e??v0e),u0e=e0e("space-compact",a0e),[d0e,p0e]=useStyle$p(u0e),f0e=cx$1(u0e,p0e,{[`${u0e}-rtl`]:$P==="rtl",[`${u0e}-block`]:n0e,[`${u0e}-vertical`]:r0e==="vertical"},o0e,i0e),h0e=reactExports.useContext(SpaceCompactItemContext),b0e=toArray$6(s0e),m0e=reactExports.useMemo(()=>b0e.map((v0e,g0e)=>{const y0e=v0e&&v0e.key||`${u0e}-item-${g0e}`;return reactExports.createElement(CompactItem,{key:y0e,compactSize:c0e,compactDirection:r0e,isFirstItem:g0e===0&&(!h0e||(h0e==null?void 0:h0e.isFirstItem)),isLastItem:g0e===b0e.length-1&&(!h0e||(h0e==null?void 0:h0e.isLastItem))},v0e)}),[t0e,b0e,h0e]);return b0e.length===0?null:d0e(reactExports.createElement("div",Object.assign({className:f0e},l0e),m0e))},Compact$1=Compact;var __rest$P=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPrefixCls:e0e,direction:$P}=reactExports.useContext(ConfigContext),{prefixCls:t0e,size:r0e,className:n0e}=x_,a0e=__rest$P(x_,["prefixCls","size","className"]),o0e=e0e("btn-group",t0e),[,,i0e]=useToken$1();let s0e="";switch(r0e){case"large":s0e="lg";break;case"small":s0e="sm";break}const l0e=cx$1(o0e,{[`${o0e}-${s0e}`]:s0e,[`${o0e}-rtl`]:$P==="rtl"},n0e,i0e);return reactExports.createElement(GroupSizeContext.Provider,{value:r0e},reactExports.createElement("div",Object.assign({},a0e,{className:l0e})))},Group$5=ButtonGroup,rxTwoCNChar=/^[\u4e00-\u9fa5]{2}$/,isTwoCNChar=rxTwoCNChar.test.bind(rxTwoCNChar);function isString$7(x_){return typeof x_=="string"}function isUnBorderedButtonType(x_){return x_==="text"||x_==="link"}function splitCNCharsBySpace(x_,e0e){if(x_==null)return;const $P=e0e?" ":"";return typeof x_!="string"&&typeof x_!="number"&&isString$7(x_.type)&&isTwoCNChar(x_.props.children)?cloneElement(x_,{children:x_.props.children.split("").join($P)}):isString$7(x_)?isTwoCNChar(x_)?React$1.createElement("span",null,x_.split("").join($P)):React$1.createElement("span",null,x_):isFragment(x_)?React$1.createElement("span",null,x_):x_}function spaceChildren(x_,e0e){let $P=!1;const t0e=[];return React$1.Children.forEach(x_,r0e=>{const n0e=typeof r0e,a0e=n0e==="string"||n0e==="number";if($P&&a0e){const o0e=t0e.length-1,i0e=t0e[o0e];t0e[o0e]=`${i0e}${r0e}`}else t0e.push(r0e);$P=a0e}),React$1.Children.map(t0e,r0e=>splitCNCharsBySpace(r0e,e0e))}const IconWrapper=reactExports.forwardRef((x_,e0e)=>{const{className:$P,style:t0e,children:r0e,prefixCls:n0e}=x_,a0e=cx$1(`${n0e}-icon`,$P);return jsx("span",{ref:e0e,className:a0e,style:t0e,children:r0e})}),IconWrapper$1=IconWrapper,InnerLoadingIcon=reactExports.forwardRef((x_,e0e)=>{let{prefixCls:$P,className:t0e,style:r0e,iconClassName:n0e}=x_;const a0e=cx$1(`${$P}-loading-icon`,t0e);return jsx(IconWrapper$1,{prefixCls:$P,className:a0e,style:r0e,ref:e0e,children:jsx(LoadingOutlined$1,{className:n0e})})}),getCollapsedWidth=()=>({width:0,opacity:0,transform:"scale(0)"}),getRealWidth=x_=>({width:x_.scrollWidth,opacity:1,transform:"scale(1)"}),LoadingIcon=x_=>{const{prefixCls:e0e,loading:$P,existIcon:t0e,className:r0e,style:n0e}=x_,a0e=!!$P;return t0e?jsx(InnerLoadingIcon,{prefixCls:e0e,className:r0e,style:n0e}):jsx(CSSMotion,{visible:a0e,motionName:`${e0e}-loading-icon-motion`,motionLeave:a0e,removeOnLeave:!0,onAppearStart:getCollapsedWidth,onAppearActive:getRealWidth,onEnterStart:getCollapsedWidth,onEnterActive:getRealWidth,onLeaveStart:getRealWidth,onLeaveActive:getCollapsedWidth,children:(o0e,i0e)=>{let{className:s0e,style:l0e}=o0e;return jsx(InnerLoadingIcon,{prefixCls:e0e,className:r0e,style:Object.assign(Object.assign({},n0e),l0e),ref:i0e,iconClassName:s0e})}})},LoadingIcon$1=LoadingIcon,genButtonBorderStyle=(x_,e0e)=>({[`> span, > ${x_}`]:{"&:not(:last-child)":{[`&, & > ${x_}`]:{"&:not(:disabled)":{borderInlineEndColor:e0e}}},"&:not(:first-child)":{[`&, & > ${x_}`]:{"&:not(:disabled)":{borderInlineStartColor:e0e}}}}}),genGroupStyle$1=x_=>{const{componentCls:e0e,fontSize:$P,lineWidth:t0e,groupBorderColor:r0e,colorErrorHover:n0e}=x_;return{[`${e0e}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${e0e}`]:{"&:not(:last-child)":{[`&, & > ${e0e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:x_.calc(t0e).mul(-1).equal(),[`&, & > ${e0e}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[e0e]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${e0e}-icon-only`]:{fontSize:$P}},genButtonBorderStyle(`${e0e}-primary`,r0e),genButtonBorderStyle(`${e0e}-danger`,n0e)]}},genGroupStyle$2=genGroupStyle$1,genSharedButtonStyle=x_=>{const{componentCls:e0e,iconCls:$P,fontWeight:t0e}=x_;return{[e0e]:{outline:"none",position:"relative",display:"inline-block",fontWeight:t0e,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit$1(x_.lineWidth)} ${x_.lineType} transparent`,cursor:"pointer",transition:`all ${x_.motionDurationMid} ${x_.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:x_.lineHeight,color:x_.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${e0e}-icon`]:{lineHeight:0},[`> ${$P} + span, > span + ${$P}`]:{marginInlineStart:x_.marginXS},[`&:not(${e0e}-icon-only) > ${e0e}-icon`]:{[`&${e0e}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:x_.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},genFocusStyle(x_)),[`&${e0e}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${e0e}-two-chinese-chars > *:not(${$P})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${e0e}-compact-item`]:{flex:"none"}}}},genHoverActiveButtonStyle=(x_,e0e,$P)=>({[`&:not(:disabled):not(${x_}-disabled)`]:{"&:hover":e0e,"&:active":$P}}),genCircleButtonStyle=x_=>({minWidth:x_.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),genRoundButtonStyle=x_=>({borderRadius:x_.controlHeight,paddingInlineStart:x_.calc(x_.controlHeight).div(2).equal(),paddingInlineEnd:x_.calc(x_.controlHeight).div(2).equal()}),genDisabledStyle$1=x_=>({cursor:"not-allowed",borderColor:x_.borderColorDisabled,color:x_.colorTextDisabled,background:x_.colorBgContainerDisabled,boxShadow:"none"}),genGhostButtonStyle=(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e)=>({[`&${x_}-background-ghost`]:Object.assign(Object.assign({color:$P||void 0,background:e0e,borderColor:t0e||void 0,boxShadow:"none"},genHoverActiveButtonStyle(x_,Object.assign({background:e0e},a0e),Object.assign({background:e0e},o0e))),{"&:disabled":{cursor:"not-allowed",color:r0e||void 0,borderColor:n0e||void 0}})}),genSolidDisabledButtonStyle=x_=>({[`&:disabled, &${x_.componentCls}-disabled`]:Object.assign({},genDisabledStyle$1(x_))}),genSolidButtonStyle=x_=>Object.assign({},genSolidDisabledButtonStyle(x_)),genPureDisabledButtonStyle=x_=>({[`&:disabled, &${x_.componentCls}-disabled`]:{cursor:"not-allowed",color:x_.colorTextDisabled}}),genDefaultButtonStyle=x_=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(x_)),{background:x_.defaultBg,borderColor:x_.defaultBorderColor,color:x_.defaultColor,boxShadow:x_.defaultShadow}),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorPrimaryHover,borderColor:x_.colorPrimaryHover},{color:x_.colorPrimaryActive,borderColor:x_.colorPrimaryActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.defaultGhostColor,x_.defaultGhostBorderColor,x_.colorTextDisabled,x_.colorBorder)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:x_.colorError,borderColor:x_.colorError},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover,borderColor:x_.colorErrorBorderHover},{color:x_.colorErrorActive,borderColor:x_.colorErrorActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorError,x_.colorError,x_.colorTextDisabled,x_.colorBorder)),genSolidDisabledButtonStyle(x_))}),genPrimaryButtonStyle=x_=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(x_)),{color:x_.primaryColor,background:x_.colorPrimary,boxShadow:x_.primaryShadow}),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorTextLightSolid,background:x_.colorPrimaryHover},{color:x_.colorTextLightSolid,background:x_.colorPrimaryActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorPrimary,x_.colorPrimary,x_.colorTextDisabled,x_.colorBorder,{color:x_.colorPrimaryHover,borderColor:x_.colorPrimaryHover},{color:x_.colorPrimaryActive,borderColor:x_.colorPrimaryActive})),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:x_.colorError,boxShadow:x_.dangerShadow,color:x_.dangerColor},genHoverActiveButtonStyle(x_.componentCls,{background:x_.colorErrorHover},{background:x_.colorErrorActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorError,x_.colorError,x_.colorTextDisabled,x_.colorBorder,{color:x_.colorErrorHover,borderColor:x_.colorErrorHover},{color:x_.colorErrorActive,borderColor:x_.colorErrorActive})),genSolidDisabledButtonStyle(x_))}),genDashedButtonStyle=x_=>Object.assign(Object.assign({},genDefaultButtonStyle(x_)),{borderStyle:"dashed"}),genLinkButtonStyle=x_=>Object.assign(Object.assign(Object.assign({color:x_.colorLink},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorLinkHover,background:x_.linkHoverBg},{color:x_.colorLinkActive})),genPureDisabledButtonStyle(x_)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign({color:x_.colorError},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover},{color:x_.colorErrorActive})),genPureDisabledButtonStyle(x_))}),genTextButtonStyle=x_=>Object.assign(Object.assign(Object.assign({},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorText,background:x_.textHoverBg},{color:x_.colorText,background:x_.colorBgTextActive})),genPureDisabledButtonStyle(x_)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign({color:x_.colorError},genPureDisabledButtonStyle(x_)),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover,background:x_.colorErrorBg},{color:x_.colorErrorHover,background:x_.colorErrorBg}))}),genTypeButtonStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-default`]:genDefaultButtonStyle(x_),[`${e0e}-primary`]:genPrimaryButtonStyle(x_),[`${e0e}-dashed`]:genDashedButtonStyle(x_),[`${e0e}-link`]:genLinkButtonStyle(x_),[`${e0e}-text`]:genTextButtonStyle(x_),[`${e0e}-ghost`]:genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorBgContainer,x_.colorBgContainer,x_.colorTextDisabled,x_.colorBorder)}},genSizeButtonStyle=function(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:$P,controlHeight:t0e,fontSize:r0e,borderRadius:n0e,buttonPaddingHorizontal:a0e,iconCls:o0e,buttonPaddingVertical:i0e}=x_,s0e=`${$P}-icon-only`;return[{[`${$P}${e0e}`]:{fontSize:r0e,height:t0e,padding:`${unit$1(i0e)} ${unit$1(a0e)}`,borderRadius:n0e,[`&${s0e}`]:{width:t0e,paddingInlineStart:0,paddingInlineEnd:0,[`&${$P}-round`]:{width:"auto"},[o0e]:{fontSize:x_.buttonIconOnlyFontSize}},[`&${$P}-loading`]:{opacity:x_.opacityLoading,cursor:"default"},[`${$P}-loading-icon`]:{transition:`width ${x_.motionDurationSlow} ${x_.motionEaseInOut}, opacity ${x_.motionDurationSlow} ${x_.motionEaseInOut}`}}},{[`${$P}${$P}-circle${e0e}`]:genCircleButtonStyle(x_)},{[`${$P}${$P}-round${e0e}`]:genRoundButtonStyle(x_)}]},genSizeBaseButtonStyle=x_=>genSizeButtonStyle(merge$2(x_,{fontSize:x_.contentFontSize})),genSizeSmallButtonStyle=x_=>{const e0e=merge$2(x_,{controlHeight:x_.controlHeightSM,fontSize:x_.contentFontSizeSM,padding:x_.paddingXS,buttonPaddingHorizontal:x_.paddingInlineSM,buttonPaddingVertical:x_.paddingBlockSM,borderRadius:x_.borderRadiusSM,buttonIconOnlyFontSize:x_.onlyIconSizeSM});return genSizeButtonStyle(e0e,`${x_.componentCls}-sm`)},genSizeLargeButtonStyle=x_=>{const e0e=merge$2(x_,{controlHeight:x_.controlHeightLG,fontSize:x_.contentFontSizeLG,buttonPaddingHorizontal:x_.paddingInlineLG,buttonPaddingVertical:x_.paddingBlockLG,borderRadius:x_.borderRadiusLG,buttonIconOnlyFontSize:x_.onlyIconSizeLG});return genSizeButtonStyle(e0e,`${x_.componentCls}-lg`)},genBlockButtonStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{[`&${e0e}-block`]:{width:"100%"}}}},prepareToken$3=x_=>{const{paddingInline:e0e,onlyIconSize:$P,paddingBlock:t0e}=x_;return merge$2(x_,{buttonPaddingHorizontal:e0e,buttonPaddingVertical:t0e,buttonIconOnlyFontSize:$P})},prepareComponentToken$l=x_=>{const e0e=x_.fontSize,$P=x_.fontSize,t0e=x_.fontSizeLG;return{fontWeight:400,defaultShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.controlTmpOutline}`,primaryShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.controlOutline}`,dangerShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.colorErrorOutline}`,primaryColor:x_.colorTextLightSolid,dangerColor:x_.colorTextLightSolid,borderColorDisabled:x_.colorBorder,defaultGhostColor:x_.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:x_.colorBgContainer,paddingInline:x_.paddingContentHorizontal-x_.lineWidth,paddingInlineLG:x_.paddingContentHorizontal-x_.lineWidth,paddingInlineSM:8-x_.lineWidth,paddingBlock:Math.max((x_.controlHeight-e0e*x_.lineHeight)/2-x_.lineWidth,0),paddingBlockSM:Math.max((x_.controlHeightSM-$P*x_.lineHeight)/2-x_.lineWidth,0),paddingBlockLG:Math.max((x_.controlHeightLG-t0e*x_.lineHeight)/2-x_.lineWidth,0),onlyIconSize:x_.fontSizeLG,onlyIconSizeSM:x_.fontSizeLG-2,onlyIconSizeLG:x_.fontSizeLG+2,groupBorderColor:x_.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:x_.colorBgTextHover,defaultColor:x_.colorText,defaultBg:x_.colorBgContainer,defaultBorderColor:x_.colorBorder,defaultBorderColorDisabled:x_.colorBorder,contentFontSize:e0e,contentFontSizeSM:$P,contentFontSizeLG:t0e}},useStyle$o=genStyleHooks("Button",x_=>{const e0e=prepareToken$3(x_);return[genSharedButtonStyle(e0e),genSizeSmallButtonStyle(e0e),genSizeBaseButtonStyle(e0e),genSizeLargeButtonStyle(e0e),genBlockButtonStyle(e0e),genTypeButtonStyle(e0e),genGroupStyle$2(e0e)]},prepareComponentToken$l,{unitless:{fontWeight:!0}});function compactItemBorder(x_,e0e,$P){const{focusElCls:t0e,focus:r0e,borderElCls:n0e}=$P,a0e=n0e?"> *":"",o0e=["hover",r0e?"focus":null,"active"].filter(Boolean).map(i0e=>`&:${i0e} ${a0e}`).join(",");return{[`&-item:not(${e0e}-last-item)`]:{marginInlineEnd:x_.calc(x_.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[o0e]:{zIndex:2}},t0e?{[`&${t0e}`]:{zIndex:2}}:{}),{[`&[disabled] ${a0e}`]:{zIndex:0}})}}function compactItemBorderRadius(x_,e0e,$P){const{borderElCls:t0e}=$P,r0e=t0e?`> ${t0e}`:"";return{[`&-item:not(${e0e}-first-item):not(${e0e}-last-item) ${r0e}`]:{borderRadius:0},[`&-item:not(${e0e}-last-item)${e0e}-first-item`]:{[`& ${r0e}, &${x_}-sm ${r0e}, &${x_}-lg ${r0e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${e0e}-first-item)${e0e}-last-item`]:{[`& ${r0e}, &${x_}-sm ${r0e}, &${x_}-lg ${r0e}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function genCompactItemStyle(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:$P}=x_,t0e=`${$P}-compact`;return{[t0e]:Object.assign(Object.assign({},compactItemBorder(x_,t0e,e0e)),compactItemBorderRadius($P,t0e,e0e))}}function compactItemVerticalBorder(x_,e0e){return{[`&-item:not(${e0e}-last-item)`]:{marginBottom:x_.calc(x_.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function compactItemBorderVerticalRadius(x_,e0e){return{[`&-item:not(${e0e}-first-item):not(${e0e}-last-item)`]:{borderRadius:0},[`&-item${e0e}-first-item:not(${e0e}-last-item)`]:{[`&, &${x_}-sm, &${x_}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${e0e}-last-item:not(${e0e}-first-item)`]:{[`&, &${x_}-sm, &${x_}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function genCompactItemVerticalStyle(x_){const e0e=`${x_.componentCls}-compact-vertical`;return{[e0e]:Object.assign(Object.assign({},compactItemVerticalBorder(x_,e0e)),compactItemBorderVerticalRadius(x_.componentCls,e0e))}}const genButtonCompactStyle=x_=>{const{componentCls:e0e,calc:$P}=x_;return{[e0e]:{[`&-compact-item${e0e}-primary`]:{[`&:not([disabled]) + ${e0e}-compact-item${e0e}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:$P(x_.lineWidth).mul(-1).equal(),insetInlineStart:$P(x_.lineWidth).mul(-1).equal(),display:"inline-block",width:x_.lineWidth,height:`calc(100% + ${unit$1(x_.lineWidth)} * 2)`,backgroundColor:x_.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${e0e}-primary`]:{[`&:not([disabled]) + ${e0e}-compact-vertical-item${e0e}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:$P(x_.lineWidth).mul(-1).equal(),insetInlineStart:$P(x_.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${unit$1(x_.lineWidth)} * 2)`,height:x_.lineWidth,backgroundColor:x_.colorPrimaryHover,content:'""'}}}}}}},CompactCmp=genSubStyleComponent(["Button","compact"],x_=>{const e0e=prepareToken$3(x_);return[genCompactItemStyle(e0e),genCompactItemVerticalStyle(e0e),genButtonCompactStyle(e0e)]},prepareComponentToken$l);var __rest$O=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e;const{loading:r0e=!1,prefixCls:n0e,type:a0e="default",danger:o0e,shape:i0e="default",size:s0e,styles:l0e,disabled:c0e,className:u0e,rootClassName:d0e,children:p0e,icon:f0e,ghost:h0e=!1,block:b0e=!1,htmlType:m0e="button",classNames:v0e,style:g0e={}}=x_,y0e=__rest$O(x_,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:M0e,autoInsertSpaceInButton:O0e,direction:z0e,button:_0e}=reactExports.useContext(ConfigContext),A0e=M0e("btn",n0e),[$0e,S0e]=useStyle$o(A0e),C0e=reactExports.useContext(DisabledContext$1),E0e=c0e??C0e,w0e=reactExports.useContext(GroupSizeContext),R0e=reactExports.useMemo(()=>getLoadingConfig(r0e),[r0e]),[T0e,D0e]=reactExports.useState(R0e.loading),[W0e,k0e]=reactExports.useState(!1),N0e=composeRef$1(e0e,reactExports.createRef()),j0e=reactExports.Children.count(p0e)===1&&!f0e&&!isUnBorderedButtonType(a0e);reactExports.useEffect(()=>{let a1e=null;R0e.delay>0?a1e=setTimeout(()=>{a1e=null,D0e(!0)},R0e.delay):D0e(R0e.loading);function l1e(){a1e&&(clearTimeout(a1e),a1e=null)}return l1e},[R0e]),reactExports.useEffect(()=>{if(!N0e||!N0e.current||O0e===!1)return;const a1e=N0e.current.textContent;j0e&&isTwoCNChar(a1e)?W0e||k0e(!0):W0e&&k0e(!1)},[N0e]);const P0e=a1e=>{const{onClick:l1e}=x_;if(T0e||E0e){a1e.preventDefault();return}l1e==null||l1e(a1e)},I0e=O0e!==!1,{compactSize:F0e,compactItemClassnames:V0e}=useCompactItemContext(A0e,z0e),H0e={large:"lg",small:"sm",middle:void 0},Q0e=useSize$1(a1e=>{var l1e,s1e;return(s1e=(l1e=s0e??F0e)!==null&&l1e!==void 0?l1e:w0e)!==null&&s1e!==void 0?s1e:a1e}),Y0e=Q0e&&H0e[Q0e]||"",G0e=T0e?"loading":f0e,B0e=omit$2(y0e,["navigate"]),U0e=cx$1(A0e,S0e,{[`${A0e}-${i0e}`]:i0e!=="default"&&i0e,[`${A0e}-${a0e}`]:a0e,[`${A0e}-${Y0e}`]:Y0e,[`${A0e}-icon-only`]:!p0e&&p0e!==0&&!!G0e,[`${A0e}-background-ghost`]:h0e&&!isUnBorderedButtonType(a0e),[`${A0e}-loading`]:T0e,[`${A0e}-two-chinese-chars`]:W0e&&I0e&&!T0e,[`${A0e}-block`]:b0e,[`${A0e}-dangerous`]:!!o0e,[`${A0e}-rtl`]:z0e==="rtl"},V0e,u0e,d0e,_0e==null?void 0:_0e.className),X0e=Object.assign(Object.assign({},_0e==null?void 0:_0e.style),g0e),J0e=cx$1(v0e==null?void 0:v0e.icon,($P=_0e==null?void 0:_0e.classNames)===null||$P===void 0?void 0:$P.icon),e1e=Object.assign(Object.assign({},(l0e==null?void 0:l0e.icon)||{}),((t0e=_0e==null?void 0:_0e.styles)===null||t0e===void 0?void 0:t0e.icon)||{}),n1e=f0e&&!T0e?jsx(IconWrapper$1,{prefixCls:A0e,className:J0e,style:e1e,children:f0e}):jsx(LoadingIcon$1,{existIcon:!!f0e,prefixCls:A0e,loading:!!T0e}),t1e=p0e||p0e===0?spaceChildren(p0e,j0e&&I0e):null;if(B0e.href!==void 0)return $0e(jsxs("a",{...Object.assign({},B0e,{className:cx$1(U0e,{[`${A0e}-disabled`]:E0e}),href:E0e?void 0:B0e.href,style:X0e,onClick:P0e,ref:N0e,tabIndex:E0e?-1:0}),children:[n1e,t1e]}));let r1e=jsxs("button",{...Object.assign({},y0e,{type:m0e,className:U0e,style:X0e,onClick:P0e,disabled:E0e,ref:N0e}),children:[n1e,t1e,V0e&&jsx(CompactCmp,{prefixCls:A0e},"compact")]});return isUnBorderedButtonType(a0e)||(r1e=jsx(Wave$1,{component:"Button",disabled:!!T0e,children:r1e})),$0e(r1e)},Button$3=reactExports.forwardRef(InternalButton);Button$3.Group=Group$5;Button$3.__ANT_BUTTON=!0;const Button$4=Button$3;var OrderContext=reactExports.createContext(null),EMPTY_LIST$3=[];function useDom(x_,e0e){var $P=reactExports.useState(function(){if(!canUseDom$1())return null;var p0e=document.createElement("div");return p0e}),t0e=_slicedToArray$3($P,1),r0e=t0e[0],n0e=reactExports.useRef(!1),a0e=reactExports.useContext(OrderContext),o0e=reactExports.useState(EMPTY_LIST$3),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1],c0e=a0e||(n0e.current?void 0:function(p0e){l0e(function(f0e){var h0e=[p0e].concat(_toConsumableArray$2(f0e));return h0e})});function u0e(){r0e.parentElement||document.body.appendChild(r0e),n0e.current=!0}function d0e(){var p0e;(p0e=r0e.parentElement)===null||p0e===void 0||p0e.removeChild(r0e),n0e.current=!1}return useLayoutEffect$2(function(){return x_?a0e?a0e(u0e):u0e():d0e(),d0e},[x_]),useLayoutEffect$2(function(){s0e.length&&(s0e.forEach(function(p0e){return p0e()}),l0e(EMPTY_LIST$3))},[s0e]),[r0e,c0e]}var cached;function getScrollBarSize(x_){if(typeof document>"u")return 0;if(x_||cached===void 0){var e0e=document.createElement("div");e0e.style.width="100%",e0e.style.height="200px";var $P=document.createElement("div"),t0e=$P.style;t0e.position="absolute",t0e.top="0",t0e.left="0",t0e.pointerEvents="none",t0e.visibility="hidden",t0e.width="200px",t0e.height="150px",t0e.overflow="hidden",$P.appendChild(e0e),document.body.appendChild($P);var r0e=e0e.offsetWidth;$P.style.overflow="scroll";var n0e=e0e.offsetWidth;r0e===n0e&&(n0e=$P.clientWidth),document.body.removeChild($P),cached=r0e-n0e}return cached}function ensureSize(x_){var e0e=x_.match(/^(.*)px$/),$P=Number(e0e==null?void 0:e0e[1]);return Number.isNaN($P)?getScrollBarSize():$P}function getTargetScrollBarSize(x_){if(typeof document>"u"||!x_||!(x_ instanceof Element))return{width:0,height:0};var e0e=getComputedStyle(x_,"::-webkit-scrollbar"),$P=e0e.width,t0e=e0e.height;return{width:ensureSize($P),height:ensureSize(t0e)}}function isBodyOverflowing(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var UNIQUE_ID="rc-util-locker-".concat(Date.now()),uuid$5=0;function useScrollLocker(x_){var e0e=!!x_,$P=reactExports.useState(function(){return uuid$5+=1,"".concat(UNIQUE_ID,"_").concat(uuid$5)}),t0e=_slicedToArray$3($P,1),r0e=t0e[0];useLayoutEffect$2(function(){if(e0e){var n0e=getTargetScrollBarSize(document.body).width,a0e=isBodyOverflowing();updateCSS(` + `]:{animationPlayState:"running"},[`${e0e}-move-up-leave`]:{animationName:g0e,animationDuration:c0e,animationPlayState:"paused",animationTimingFunction:l0e},[`${e0e}-move-up-leave${e0e}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[e0e]:{[`${m0e}-wrapper`]:Object.assign({},y0e)}},{[`${e0e}-notice-pure-panel`]:Object.assign(Object.assign({},y0e),{padding:0,textAlign:"start"})}]},prepareComponentToken$m=x_=>({zIndexPopup:x_.zIndexPopupBase+CONTAINER_MAX_OFFSET+10,contentBg:x_.colorBgElevated,contentPadding:`${(x_.controlHeightLG-x_.fontSize*x_.lineHeight)/2}px ${x_.paddingSM}px`}),useStyle$r=genStyleHooks("Message",x_=>{const e0e=merge$2(x_,{height:150});return[genMessageStyle(e0e)]},prepareComponentToken$m);var __rest$S=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{prefixCls:e0e,type:$P,icon:t0e,children:r0e}=x_;return reactExports.createElement("div",{className:cx$1(`${e0e}-custom-content`,`${e0e}-${$P}`)},t0e||TypeIcon[$P],reactExports.createElement("span",null,r0e))},PurePanel$7=x_=>{const{prefixCls:e0e,className:$P,type:t0e,icon:r0e,content:n0e}=x_,a0e=__rest$S(x_,["prefixCls","className","type","icon","content"]),{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=e0e||o0e("message"),s0e=useCSSVarCls$1(i0e),[l0e,c0e]=useStyle$r(i0e,s0e);return l0e(reactExports.createElement(Notify,Object.assign({},a0e,{prefixCls:i0e,className:cx$1($P,c0e,`${i0e}-notice-pure-panel`,s0e),eventKey:"pure",duration:null,content:reactExports.createElement(PureContent,{prefixCls:i0e,type:t0e,icon:r0e},n0e)})))},PurePanel$8=PurePanel$7;function getMotion$3(x_,e0e){return{motionName:e0e??`${x_}-move-up`}}function wrapPromiseFn(x_){let e0e;const $P=new Promise(r0e=>{e0e=x_(()=>{r0e(!0)})}),t0e=()=>{e0e==null||e0e()};return t0e.then=(r0e,n0e)=>$P.then(r0e,n0e),t0e.promise=$P,t0e}var __rest$R=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{children:e0e,prefixCls:$P}=x_;const[t0e,r0e]=useStyle$r($P);return t0e(reactExports.createElement(NotificationProvider,{classNames:{list:r0e,notice:r0e}},e0e))},renderNotifications=(x_,e0e)=>{let{prefixCls:$P,key:t0e}=e0e;return reactExports.createElement(Wrapper$1,{prefixCls:$P,key:t0e},x_)},Holder=reactExports.forwardRef((x_,e0e)=>{const{top:$P,prefixCls:t0e,getContainer:r0e,maxCount:n0e,duration:a0e=DEFAULT_DURATION$1,rtl:o0e,transitionName:i0e,onAllRemoved:s0e}=x_,{getPrefixCls:l0e,getPopupContainer:c0e,message:u0e}=reactExports.useContext(ConfigContext),d0e=t0e||l0e("message"),p0e=()=>({left:"50%",transform:"translateX(-50%)",top:$P??DEFAULT_OFFSET}),f0e=()=>cx$1({[`${d0e}-rtl`]:o0e}),h0e=()=>getMotion$3(d0e,i0e),b0e=reactExports.createElement("span",{className:`${d0e}-close-x`},reactExports.createElement(CloseOutlined$1,{className:`${d0e}-close-icon`})),[m0e,v0e]=useNotification({prefixCls:d0e,style:p0e,className:f0e,motion:h0e,closable:!1,closeIcon:b0e,duration:a0e,getContainer:()=>(r0e==null?void 0:r0e())||(c0e==null?void 0:c0e())||document.body,maxCount:n0e,onAllRemoved:s0e,renderNotifications});return reactExports.useImperativeHandle(e0e,()=>Object.assign(Object.assign({},m0e),{prefixCls:d0e,message:u0e})),v0e});let keyIndex=0;function useInternalMessage(x_){const e0e=reactExports.useRef(null);return devUseWarning(),[reactExports.useMemo(()=>{const t0e=i0e=>{var s0e;(s0e=e0e.current)===null||s0e===void 0||s0e.close(i0e)},r0e=i0e=>{if(!e0e.current){const M0e=()=>{};return M0e.then=()=>{},M0e}const{open:s0e,prefixCls:l0e,message:c0e}=e0e.current,u0e=`${l0e}-notice`,{content:d0e,icon:p0e,type:f0e,key:h0e,className:b0e,style:m0e,onClose:v0e}=i0e,g0e=__rest$R(i0e,["content","icon","type","key","className","style","onClose"]);let y0e=h0e;return y0e==null&&(keyIndex+=1,y0e=`antd-message-${keyIndex}`),wrapPromiseFn(M0e=>(s0e(Object.assign(Object.assign({},g0e),{key:y0e,content:reactExports.createElement(PureContent,{prefixCls:l0e,type:f0e,icon:p0e},d0e),placement:"top",className:cx$1(f0e&&`${u0e}-${f0e}`,b0e,c0e==null?void 0:c0e.className),style:Object.assign(Object.assign({},c0e==null?void 0:c0e.style),m0e),onClose:()=>{v0e==null||v0e(),M0e()}})),()=>{t0e(y0e)}))},a0e={open:r0e,destroy:i0e=>{var s0e;i0e!==void 0?t0e(i0e):(s0e=e0e.current)===null||s0e===void 0||s0e.destroy()}};return["info","success","warning","error","loading"].forEach(i0e=>{const s0e=(l0e,c0e,u0e)=>{let d0e;l0e&&typeof l0e=="object"&&"content"in l0e?d0e=l0e:d0e={content:l0e};let p0e,f0e;typeof c0e=="function"?f0e=c0e:(p0e=c0e,f0e=u0e);const h0e=Object.assign(Object.assign({onClose:f0e,duration:p0e},d0e),{type:i0e});return r0e(h0e)};a0e[i0e]=s0e}),a0e},[]),reactExports.createElement(Holder,Object.assign({key:"message-holder"},x_,{ref:e0e}))]}function useMessage(x_){return useInternalMessage(x_)}function _regeneratorRuntime$1(){_regeneratorRuntime$1=function(){return e0e};var x_,e0e={},$P=Object.prototype,t0e=$P.hasOwnProperty,r0e=Object.defineProperty||function(R0e,T0e,D0e){R0e[T0e]=D0e.value},n0e=typeof Symbol=="function"?Symbol:{},a0e=n0e.iterator||"@@iterator",o0e=n0e.asyncIterator||"@@asyncIterator",i0e=n0e.toStringTag||"@@toStringTag";function s0e(R0e,T0e,D0e){return Object.defineProperty(R0e,T0e,{value:D0e,enumerable:!0,configurable:!0,writable:!0}),R0e[T0e]}try{s0e({},"")}catch{s0e=function(D0e,W0e,k0e){return D0e[W0e]=k0e}}function l0e(R0e,T0e,D0e,W0e){var k0e=T0e&&T0e.prototype instanceof b0e?T0e:b0e,q0e=Object.create(k0e.prototype),N0e=new E0e(W0e||[]);return r0e(q0e,"_invoke",{value:A0e(R0e,D0e,N0e)}),q0e}function c0e(R0e,T0e,D0e){try{return{type:"normal",arg:R0e.call(T0e,D0e)}}catch(W0e){return{type:"throw",arg:W0e}}}e0e.wrap=l0e;var u0e="suspendedStart",d0e="suspendedYield",p0e="executing",f0e="completed",h0e={};function b0e(){}function m0e(){}function v0e(){}var g0e={};s0e(g0e,a0e,function(){return this});var y0e=Object.getPrototypeOf,M0e=y0e&&y0e(y0e(w0e([])));M0e&&M0e!==$P&&t0e.call(M0e,a0e)&&(g0e=M0e);var O0e=v0e.prototype=b0e.prototype=Object.create(g0e);function z0e(R0e){["next","throw","return"].forEach(function(T0e){s0e(R0e,T0e,function(D0e){return this._invoke(T0e,D0e)})})}function _0e(R0e,T0e){function D0e(k0e,q0e,N0e,j0e){var P0e=c0e(R0e[k0e],R0e,q0e);if(P0e.type!=="throw"){var I0e=P0e.arg,F0e=I0e.value;return F0e&&_typeof$2(F0e)=="object"&&t0e.call(F0e,"__await")?T0e.resolve(F0e.__await).then(function(V0e){D0e("next",V0e,N0e,j0e)},function(V0e){D0e("throw",V0e,N0e,j0e)}):T0e.resolve(F0e).then(function(V0e){I0e.value=V0e,N0e(I0e)},function(V0e){return D0e("throw",V0e,N0e,j0e)})}j0e(P0e.arg)}var W0e;r0e(this,"_invoke",{value:function(q0e,N0e){function j0e(){return new T0e(function(P0e,I0e){D0e(q0e,N0e,P0e,I0e)})}return W0e=W0e?W0e.then(j0e,j0e):j0e()}})}function A0e(R0e,T0e,D0e){var W0e=u0e;return function(k0e,q0e){if(W0e===p0e)throw new Error("Generator is already running");if(W0e===f0e){if(k0e==="throw")throw q0e;return{value:x_,done:!0}}for(D0e.method=k0e,D0e.arg=q0e;;){var N0e=D0e.delegate;if(N0e){var j0e=$0e(N0e,D0e);if(j0e){if(j0e===h0e)continue;return j0e}}if(D0e.method==="next")D0e.sent=D0e._sent=D0e.arg;else if(D0e.method==="throw"){if(W0e===u0e)throw W0e=f0e,D0e.arg;D0e.dispatchException(D0e.arg)}else D0e.method==="return"&&D0e.abrupt("return",D0e.arg);W0e=p0e;var P0e=c0e(R0e,T0e,D0e);if(P0e.type==="normal"){if(W0e=D0e.done?f0e:d0e,P0e.arg===h0e)continue;return{value:P0e.arg,done:D0e.done}}P0e.type==="throw"&&(W0e=f0e,D0e.method="throw",D0e.arg=P0e.arg)}}}function $0e(R0e,T0e){var D0e=T0e.method,W0e=R0e.iterator[D0e];if(W0e===x_)return T0e.delegate=null,D0e==="throw"&&R0e.iterator.return&&(T0e.method="return",T0e.arg=x_,$0e(R0e,T0e),T0e.method==="throw")||D0e!=="return"&&(T0e.method="throw",T0e.arg=new TypeError("The iterator does not provide a '"+D0e+"' method")),h0e;var k0e=c0e(W0e,R0e.iterator,T0e.arg);if(k0e.type==="throw")return T0e.method="throw",T0e.arg=k0e.arg,T0e.delegate=null,h0e;var q0e=k0e.arg;return q0e?q0e.done?(T0e[R0e.resultName]=q0e.value,T0e.next=R0e.nextLoc,T0e.method!=="return"&&(T0e.method="next",T0e.arg=x_),T0e.delegate=null,h0e):q0e:(T0e.method="throw",T0e.arg=new TypeError("iterator result is not an object"),T0e.delegate=null,h0e)}function S0e(R0e){var T0e={tryLoc:R0e[0]};1 in R0e&&(T0e.catchLoc=R0e[1]),2 in R0e&&(T0e.finallyLoc=R0e[2],T0e.afterLoc=R0e[3]),this.tryEntries.push(T0e)}function C0e(R0e){var T0e=R0e.completion||{};T0e.type="normal",delete T0e.arg,R0e.completion=T0e}function E0e(R0e){this.tryEntries=[{tryLoc:"root"}],R0e.forEach(S0e,this),this.reset(!0)}function w0e(R0e){if(R0e||R0e===""){var T0e=R0e[a0e];if(T0e)return T0e.call(R0e);if(typeof R0e.next=="function")return R0e;if(!isNaN(R0e.length)){var D0e=-1,W0e=function k0e(){for(;++D0e=0;--k0e){var q0e=this.tryEntries[k0e],N0e=q0e.completion;if(q0e.tryLoc==="root")return W0e("end");if(q0e.tryLoc<=this.prev){var j0e=t0e.call(q0e,"catchLoc"),P0e=t0e.call(q0e,"finallyLoc");if(j0e&&P0e){if(this.prev=0;--W0e){var k0e=this.tryEntries[W0e];if(k0e.tryLoc<=this.prev&&t0e.call(k0e,"finallyLoc")&&this.prev=0;--D0e){var W0e=this.tryEntries[D0e];if(W0e.finallyLoc===T0e)return this.complete(W0e.completion,W0e.afterLoc),C0e(W0e),h0e}},catch:function(T0e){for(var D0e=this.tryEntries.length-1;D0e>=0;--D0e){var W0e=this.tryEntries[D0e];if(W0e.tryLoc===T0e){var k0e=W0e.completion;if(k0e.type==="throw"){var q0e=k0e.arg;C0e(W0e)}return q0e}}throw new Error("illegal catch attempt")},delegateYield:function(T0e,D0e,W0e){return this.delegate={iterator:w0e(T0e),resultName:D0e,nextLoc:W0e},this.method==="next"&&(this.arg=x_),h0e}},e0e}function asyncGeneratorStep$1(x_,e0e,$P,t0e,r0e,n0e,a0e){try{var o0e=x_[n0e](a0e),i0e=o0e.value}catch(s0e){$P(s0e);return}o0e.done?e0e(i0e):Promise.resolve(i0e).then(t0e,r0e)}function _asyncToGenerator$1(x_){return function(){var e0e=this,$P=arguments;return new Promise(function(t0e,r0e){var n0e=x_.apply(e0e,$P);function a0e(i0e){asyncGeneratorStep$1(n0e,t0e,r0e,a0e,o0e,"next",i0e)}function o0e(i0e){asyncGeneratorStep$1(n0e,t0e,r0e,a0e,o0e,"throw",i0e)}a0e(void 0)})}}var fullClone=_objectSpread2$1({},ReactDOM$1),version$2=fullClone.version,reactRender=fullClone.render,unmountComponentAtNode=fullClone.unmountComponentAtNode,createRoot;try{var mainVersion=Number((version$2||"").split(".")[0]);mainVersion>=18&&(createRoot=fullClone.createRoot)}catch{}function toggleWarning(x_){var e0e=fullClone.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;e0e&&_typeof$2(e0e)==="object"&&(e0e.usingClientEntryPoint=x_)}var MARK="__rc_react_root__";function modernRender(x_,e0e){toggleWarning(!0);var $P=e0e[MARK]||createRoot(e0e);toggleWarning(!1),$P.render(x_),e0e[MARK]=$P}function legacyRender(x_,e0e){reactRender(x_,e0e)}function render$2(x_,e0e){if(createRoot){modernRender(x_,e0e);return}legacyRender(x_,e0e)}function modernUnmount(x_){return _modernUnmount.apply(this,arguments)}function _modernUnmount(){return _modernUnmount=_asyncToGenerator$1(_regeneratorRuntime$1().mark(function x_(e0e){return _regeneratorRuntime$1().wrap(function(t0e){for(;;)switch(t0e.prev=t0e.next){case 0:return t0e.abrupt("return",Promise.resolve().then(function(){var r0e;(r0e=e0e[MARK])===null||r0e===void 0||r0e.unmount(),delete e0e[MARK]}));case 1:case"end":return t0e.stop()}},x_)})),_modernUnmount.apply(this,arguments)}function legacyUnmount(x_){unmountComponentAtNode(x_)}function unmount$1(x_){return _unmount.apply(this,arguments)}function _unmount(){return _unmount=_asyncToGenerator$1(_regeneratorRuntime$1().mark(function x_(e0e){return _regeneratorRuntime$1().wrap(function(t0e){for(;;)switch(t0e.prev=t0e.next){case 0:if(createRoot===void 0){t0e.next=2;break}return t0e.abrupt("return",modernUnmount(e0e));case 2:legacyUnmount(e0e);case 3:case"end":return t0e.stop()}},x_)})),_unmount.apply(this,arguments)}const getCollapsedHeight=()=>({height:0,opacity:0}),getRealHeight=x_=>{const{scrollHeight:e0e}=x_;return{height:e0e,opacity:1}},getCurrentHeight=x_=>({height:x_?x_.offsetHeight:0}),skipOpacityTransition=(x_,e0e)=>(e0e==null?void 0:e0e.deadline)===!0||e0e.propertyName==="height",initCollapseMotion=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:getCollapsedHeight,onEnterStart:getCollapsedHeight,onAppearActive:getRealHeight,onEnterActive:getRealHeight,onLeaveStart:getCurrentHeight,onLeaveActive:getCollapsedHeight,onAppearEnd:skipOpacityTransition,onEnterEnd:skipOpacityTransition,onLeaveEnd:skipOpacityTransition,motionDeadline:500}},getTransitionName=(x_,e0e,$P)=>$P!==void 0?$P:`${x_}-${e0e}`,initCollapseMotion$1=initCollapseMotion,isVisible$1=function(x_){if(!x_)return!1;if(x_ instanceof Element){if(x_.offsetParent)return!0;if(x_.getBBox){var e0e=x_.getBBox(),$P=e0e.width,t0e=e0e.height;if($P||t0e)return!0}if(x_.getBoundingClientRect){var r0e=x_.getBoundingClientRect(),n0e=r0e.width,a0e=r0e.height;if(n0e||a0e)return!0}}return!1},genWaveStyle=x_=>{const{componentCls:e0e,colorPrimary:$P}=x_;return{[e0e]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${$P})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${x_.motionEaseOutCirc}`,`opacity 2s ${x_.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${x_.motionEaseInOut}`,`opacity 0.35s ${x_.motionEaseInOut}`].join(",")}}}}},useStyle$q=genComponentStyleHook("Wave",x_=>[genWaveStyle(x_)]);function isNotGrey(x_){const e0e=(x_||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return e0e&&e0e[1]&&e0e[2]&&e0e[3]?!(e0e[1]===e0e[2]&&e0e[2]===e0e[3]):!0}function isValidWaveColor(x_){return x_&&x_!=="#fff"&&x_!=="#ffffff"&&x_!=="rgb(255, 255, 255)"&&x_!=="rgba(255, 255, 255, 1)"&&isNotGrey(x_)&&!/rgba\((?:\d*, ){3}0\)/.test(x_)&&x_!=="transparent"}function getTargetWaveColor(x_){const{borderTopColor:e0e,borderColor:$P,backgroundColor:t0e}=getComputedStyle(x_);return isValidWaveColor(e0e)?e0e:isValidWaveColor($P)?$P:isValidWaveColor(t0e)?t0e:null}const TARGET_CLS="ant-wave-target";function validateNum(x_){return Number.isNaN(x_)?0:x_}const WaveEffect=x_=>{const{className:e0e,target:$P,component:t0e}=x_,r0e=reactExports.useRef(null),[n0e,a0e]=reactExports.useState(null),[o0e,i0e]=reactExports.useState([]),[s0e,l0e]=reactExports.useState(0),[c0e,u0e]=reactExports.useState(0),[d0e,p0e]=reactExports.useState(0),[f0e,h0e]=reactExports.useState(0),[b0e,m0e]=reactExports.useState(!1),v0e={left:s0e,top:c0e,width:d0e,height:f0e,borderRadius:o0e.map(M0e=>`${M0e}px`).join(" ")};n0e&&(v0e["--wave-color"]=n0e);function g0e(){const M0e=getComputedStyle($P);a0e(getTargetWaveColor($P));const O0e=M0e.position==="static",{borderLeftWidth:z0e,borderTopWidth:_0e}=M0e;l0e(O0e?$P.offsetLeft:validateNum(-parseFloat(z0e))),u0e(O0e?$P.offsetTop:validateNum(-parseFloat(_0e))),p0e($P.offsetWidth),h0e($P.offsetHeight);const{borderTopLeftRadius:A0e,borderTopRightRadius:$0e,borderBottomLeftRadius:S0e,borderBottomRightRadius:C0e}=M0e;i0e([A0e,$0e,C0e,S0e].map(E0e=>validateNum(parseFloat(E0e))))}if(reactExports.useEffect(()=>{if($P){const M0e=wrapperRaf$1(()=>{g0e(),m0e(!0)});let O0e;return typeof ResizeObserver<"u"&&(O0e=new ResizeObserver(g0e),O0e.observe($P)),()=>{wrapperRaf$1.cancel(M0e),O0e==null||O0e.disconnect()}}},[]),!b0e)return null;const y0e=(t0e==="Checkbox"||t0e==="Radio")&&($P==null?void 0:$P.classList.contains(TARGET_CLS));return reactExports.createElement(CSSMotion,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(M0e,O0e)=>{var z0e;if(O0e.deadline||O0e.propertyName==="opacity"){const _0e=(z0e=r0e.current)===null||z0e===void 0?void 0:z0e.parentElement;unmount$1(_0e).then(()=>{_0e==null||_0e.remove()})}return!1}},M0e=>{let{className:O0e}=M0e;return reactExports.createElement("div",{ref:r0e,className:cx$1(e0e,{"wave-quick":y0e},O0e),style:v0e})})},showWaveEffect=(x_,e0e)=>{var $P;const{component:t0e}=e0e;if(t0e==="Checkbox"&&!(!(($P=x_.querySelector("input"))===null||$P===void 0)&&$P.checked))return;const r0e=document.createElement("div");r0e.style.position="absolute",r0e.style.left="0px",r0e.style.top="0px",x_==null||x_.insertBefore(r0e,x_==null?void 0:x_.firstChild),render$2(reactExports.createElement(WaveEffect,Object.assign({},e0e,{target:x_})),r0e)},showWaveEffect$1=showWaveEffect;function useWave(x_,e0e,$P){const{wave:t0e}=reactExports.useContext(ConfigContext),[,r0e,n0e]=useToken$1(),a0e=useEvent(s0e=>{const l0e=x_.current;if(t0e!=null&&t0e.disabled||!l0e)return;const c0e=l0e.querySelector(`.${TARGET_CLS}`)||l0e,{showEffect:u0e}=t0e||{};(u0e||showWaveEffect$1)(c0e,{className:e0e,token:r0e,component:$P,event:s0e,hashId:n0e})}),o0e=reactExports.useRef();return s0e=>{wrapperRaf$1.cancel(o0e.current),o0e.current=wrapperRaf$1(()=>{a0e(s0e)})}}const Wave=x_=>{const{children:e0e,disabled:$P,component:t0e}=x_,{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=reactExports.useRef(null),a0e=r0e("wave"),[,o0e]=useStyle$q(a0e),i0e=useWave(n0e,cx$1(a0e,o0e),t0e);if(React$1.useEffect(()=>{const l0e=n0e.current;if(!l0e||l0e.nodeType!==1||$P)return;const c0e=u0e=>{!isVisible$1(u0e.target)||!l0e.getAttribute||l0e.getAttribute("disabled")||l0e.disabled||l0e.className.includes("disabled")||l0e.className.includes("-leave")||i0e(u0e)};return l0e.addEventListener("click",c0e,!0),()=>{l0e.removeEventListener("click",c0e,!0)}},[$P]),!React$1.isValidElement(e0e))return e0e??null;const s0e=supportRef(e0e)?composeRef$1(e0e.ref,n0e):n0e;return cloneElement(e0e,{ref:s0e})},Wave$1=Wave,useSize=x_=>{const e0e=React$1.useContext(SizeContext$1);return React$1.useMemo(()=>x_?typeof x_=="string"?x_??e0e:x_ instanceof Function?x_(e0e):e0e:e0e,[x_,e0e])},useSize$1=useSize,genSpaceCompactStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},genSpaceCompactStyle$1=genSpaceCompactStyle,genSpaceStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${e0e}-item:empty`]:{display:"none"}}}},genSpaceGapStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{"&-gap-row-small":{rowGap:x_.spaceGapSmallSize},"&-gap-row-middle":{rowGap:x_.spaceGapMiddleSize},"&-gap-row-large":{rowGap:x_.spaceGapLargeSize},"&-gap-col-small":{columnGap:x_.spaceGapSmallSize},"&-gap-col-middle":{columnGap:x_.spaceGapMiddleSize},"&-gap-col-large":{columnGap:x_.spaceGapLargeSize}}}},useStyle$p=genStyleHooks("Space",x_=>{const e0e=merge$2(x_,{spaceGapSmallSize:x_.paddingXS,spaceGapMiddleSize:x_.padding,spaceGapLargeSize:x_.paddingLG});return[genSpaceStyle(e0e),genSpaceGapStyle(e0e),genSpaceCompactStyle$1(e0e)]},()=>({}),{resetStyle:!1});var __rest$Q=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const $P=reactExports.useContext(SpaceCompactItemContext),t0e=reactExports.useMemo(()=>{if(!$P)return"";const{compactDirection:r0e,isFirstItem:n0e,isLastItem:a0e}=$P,o0e=r0e==="vertical"?"-vertical-":"-";return cx$1(`${x_}-compact${o0e}item`,{[`${x_}-compact${o0e}first-item`]:n0e,[`${x_}-compact${o0e}last-item`]:a0e,[`${x_}-compact${o0e}item-rtl`]:e0e==="rtl"})},[x_,e0e,$P]);return{compactSize:$P==null?void 0:$P.compactSize,compactDirection:$P==null?void 0:$P.compactDirection,compactItemClassnames:t0e}},NoCompactStyle=x_=>{let{children:e0e}=x_;return reactExports.createElement(SpaceCompactItemContext.Provider,{value:null},e0e)},CompactItem=x_=>{var{children:e0e}=x_,$P=__rest$Q(x_,["children"]);return reactExports.createElement(SpaceCompactItemContext.Provider,{value:$P},e0e)},Compact=x_=>{const{getPrefixCls:e0e,direction:$P}=reactExports.useContext(ConfigContext),{size:t0e,direction:r0e,block:n0e,prefixCls:a0e,className:o0e,rootClassName:i0e,children:s0e}=x_,l0e=__rest$Q(x_,["size","direction","block","prefixCls","className","rootClassName","children"]),c0e=useSize$1(v0e=>t0e??v0e),u0e=e0e("space-compact",a0e),[d0e,p0e]=useStyle$p(u0e),f0e=cx$1(u0e,p0e,{[`${u0e}-rtl`]:$P==="rtl",[`${u0e}-block`]:n0e,[`${u0e}-vertical`]:r0e==="vertical"},o0e,i0e),h0e=reactExports.useContext(SpaceCompactItemContext),b0e=toArray$6(s0e),m0e=reactExports.useMemo(()=>b0e.map((v0e,g0e)=>{const y0e=v0e&&v0e.key||`${u0e}-item-${g0e}`;return reactExports.createElement(CompactItem,{key:y0e,compactSize:c0e,compactDirection:r0e,isFirstItem:g0e===0&&(!h0e||(h0e==null?void 0:h0e.isFirstItem)),isLastItem:g0e===b0e.length-1&&(!h0e||(h0e==null?void 0:h0e.isLastItem))},v0e)}),[t0e,b0e,h0e]);return b0e.length===0?null:d0e(reactExports.createElement("div",Object.assign({className:f0e},l0e),m0e))},Compact$1=Compact;var __rest$P=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPrefixCls:e0e,direction:$P}=reactExports.useContext(ConfigContext),{prefixCls:t0e,size:r0e,className:n0e}=x_,a0e=__rest$P(x_,["prefixCls","size","className"]),o0e=e0e("btn-group",t0e),[,,i0e]=useToken$1();let s0e="";switch(r0e){case"large":s0e="lg";break;case"small":s0e="sm";break}const l0e=cx$1(o0e,{[`${o0e}-${s0e}`]:s0e,[`${o0e}-rtl`]:$P==="rtl"},n0e,i0e);return reactExports.createElement(GroupSizeContext.Provider,{value:r0e},reactExports.createElement("div",Object.assign({},a0e,{className:l0e})))},Group$5=ButtonGroup,rxTwoCNChar=/^[\u4e00-\u9fa5]{2}$/,isTwoCNChar=rxTwoCNChar.test.bind(rxTwoCNChar);function isString$7(x_){return typeof x_=="string"}function isUnBorderedButtonType(x_){return x_==="text"||x_==="link"}function splitCNCharsBySpace(x_,e0e){if(x_==null)return;const $P=e0e?" ":"";return typeof x_!="string"&&typeof x_!="number"&&isString$7(x_.type)&&isTwoCNChar(x_.props.children)?cloneElement(x_,{children:x_.props.children.split("").join($P)}):isString$7(x_)?isTwoCNChar(x_)?React$1.createElement("span",null,x_.split("").join($P)):React$1.createElement("span",null,x_):isFragment(x_)?React$1.createElement("span",null,x_):x_}function spaceChildren(x_,e0e){let $P=!1;const t0e=[];return React$1.Children.forEach(x_,r0e=>{const n0e=typeof r0e,a0e=n0e==="string"||n0e==="number";if($P&&a0e){const o0e=t0e.length-1,i0e=t0e[o0e];t0e[o0e]=`${i0e}${r0e}`}else t0e.push(r0e);$P=a0e}),React$1.Children.map(t0e,r0e=>splitCNCharsBySpace(r0e,e0e))}const IconWrapper=reactExports.forwardRef((x_,e0e)=>{const{className:$P,style:t0e,children:r0e,prefixCls:n0e}=x_,a0e=cx$1(`${n0e}-icon`,$P);return jsx("span",{ref:e0e,className:a0e,style:t0e,children:r0e})}),IconWrapper$1=IconWrapper,InnerLoadingIcon=reactExports.forwardRef((x_,e0e)=>{let{prefixCls:$P,className:t0e,style:r0e,iconClassName:n0e}=x_;const a0e=cx$1(`${$P}-loading-icon`,t0e);return jsx(IconWrapper$1,{prefixCls:$P,className:a0e,style:r0e,ref:e0e,children:jsx(LoadingOutlined$1,{className:n0e})})}),getCollapsedWidth=()=>({width:0,opacity:0,transform:"scale(0)"}),getRealWidth=x_=>({width:x_.scrollWidth,opacity:1,transform:"scale(1)"}),LoadingIcon=x_=>{const{prefixCls:e0e,loading:$P,existIcon:t0e,className:r0e,style:n0e}=x_,a0e=!!$P;return t0e?jsx(InnerLoadingIcon,{prefixCls:e0e,className:r0e,style:n0e}):jsx(CSSMotion,{visible:a0e,motionName:`${e0e}-loading-icon-motion`,motionLeave:a0e,removeOnLeave:!0,onAppearStart:getCollapsedWidth,onAppearActive:getRealWidth,onEnterStart:getCollapsedWidth,onEnterActive:getRealWidth,onLeaveStart:getRealWidth,onLeaveActive:getCollapsedWidth,children:(o0e,i0e)=>{let{className:s0e,style:l0e}=o0e;return jsx(InnerLoadingIcon,{prefixCls:e0e,className:r0e,style:Object.assign(Object.assign({},n0e),l0e),ref:i0e,iconClassName:s0e})}})},LoadingIcon$1=LoadingIcon,genButtonBorderStyle=(x_,e0e)=>({[`> span, > ${x_}`]:{"&:not(:last-child)":{[`&, & > ${x_}`]:{"&:not(:disabled)":{borderInlineEndColor:e0e}}},"&:not(:first-child)":{[`&, & > ${x_}`]:{"&:not(:disabled)":{borderInlineStartColor:e0e}}}}}),genGroupStyle$1=x_=>{const{componentCls:e0e,fontSize:$P,lineWidth:t0e,groupBorderColor:r0e,colorErrorHover:n0e}=x_;return{[`${e0e}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${e0e}`]:{"&:not(:last-child)":{[`&, & > ${e0e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:x_.calc(t0e).mul(-1).equal(),[`&, & > ${e0e}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[e0e]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${e0e}-icon-only`]:{fontSize:$P}},genButtonBorderStyle(`${e0e}-primary`,r0e),genButtonBorderStyle(`${e0e}-danger`,n0e)]}},genGroupStyle$2=genGroupStyle$1,genSharedButtonStyle=x_=>{const{componentCls:e0e,iconCls:$P,fontWeight:t0e}=x_;return{[e0e]:{outline:"none",position:"relative",display:"inline-block",fontWeight:t0e,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit$1(x_.lineWidth)} ${x_.lineType} transparent`,cursor:"pointer",transition:`all ${x_.motionDurationMid} ${x_.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:x_.lineHeight,color:x_.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${e0e}-icon`]:{lineHeight:0},[`> ${$P} + span, > span + ${$P}`]:{marginInlineStart:x_.marginXS},[`&:not(${e0e}-icon-only) > ${e0e}-icon`]:{[`&${e0e}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:x_.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},genFocusStyle(x_)),[`&${e0e}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${e0e}-two-chinese-chars > *:not(${$P})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${e0e}-compact-item`]:{flex:"none"}}}},genHoverActiveButtonStyle=(x_,e0e,$P)=>({[`&:not(:disabled):not(${x_}-disabled)`]:{"&:hover":e0e,"&:active":$P}}),genCircleButtonStyle=x_=>({minWidth:x_.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),genRoundButtonStyle=x_=>({borderRadius:x_.controlHeight,paddingInlineStart:x_.calc(x_.controlHeight).div(2).equal(),paddingInlineEnd:x_.calc(x_.controlHeight).div(2).equal()}),genDisabledStyle$1=x_=>({cursor:"not-allowed",borderColor:x_.borderColorDisabled,color:x_.colorTextDisabled,background:x_.colorBgContainerDisabled,boxShadow:"none"}),genGhostButtonStyle=(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e)=>({[`&${x_}-background-ghost`]:Object.assign(Object.assign({color:$P||void 0,background:e0e,borderColor:t0e||void 0,boxShadow:"none"},genHoverActiveButtonStyle(x_,Object.assign({background:e0e},a0e),Object.assign({background:e0e},o0e))),{"&:disabled":{cursor:"not-allowed",color:r0e||void 0,borderColor:n0e||void 0}})}),genSolidDisabledButtonStyle=x_=>({[`&:disabled, &${x_.componentCls}-disabled`]:Object.assign({},genDisabledStyle$1(x_))}),genSolidButtonStyle=x_=>Object.assign({},genSolidDisabledButtonStyle(x_)),genPureDisabledButtonStyle=x_=>({[`&:disabled, &${x_.componentCls}-disabled`]:{cursor:"not-allowed",color:x_.colorTextDisabled}}),genDefaultButtonStyle=x_=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(x_)),{background:x_.defaultBg,borderColor:x_.defaultBorderColor,color:x_.defaultColor,boxShadow:x_.defaultShadow}),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorPrimaryHover,borderColor:x_.colorPrimaryHover},{color:x_.colorPrimaryActive,borderColor:x_.colorPrimaryActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.defaultGhostColor,x_.defaultGhostBorderColor,x_.colorTextDisabled,x_.colorBorder)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:x_.colorError,borderColor:x_.colorError},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover,borderColor:x_.colorErrorBorderHover},{color:x_.colorErrorActive,borderColor:x_.colorErrorActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorError,x_.colorError,x_.colorTextDisabled,x_.colorBorder)),genSolidDisabledButtonStyle(x_))}),genPrimaryButtonStyle=x_=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},genSolidButtonStyle(x_)),{color:x_.primaryColor,background:x_.colorPrimary,boxShadow:x_.primaryShadow}),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorTextLightSolid,background:x_.colorPrimaryHover},{color:x_.colorTextLightSolid,background:x_.colorPrimaryActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorPrimary,x_.colorPrimary,x_.colorTextDisabled,x_.colorBorder,{color:x_.colorPrimaryHover,borderColor:x_.colorPrimaryHover},{color:x_.colorPrimaryActive,borderColor:x_.colorPrimaryActive})),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:x_.colorError,boxShadow:x_.dangerShadow,color:x_.dangerColor},genHoverActiveButtonStyle(x_.componentCls,{background:x_.colorErrorHover},{background:x_.colorErrorActive})),genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorError,x_.colorError,x_.colorTextDisabled,x_.colorBorder,{color:x_.colorErrorHover,borderColor:x_.colorErrorHover},{color:x_.colorErrorActive,borderColor:x_.colorErrorActive})),genSolidDisabledButtonStyle(x_))}),genDashedButtonStyle=x_=>Object.assign(Object.assign({},genDefaultButtonStyle(x_)),{borderStyle:"dashed"}),genLinkButtonStyle=x_=>Object.assign(Object.assign(Object.assign({color:x_.colorLink},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorLinkHover,background:x_.linkHoverBg},{color:x_.colorLinkActive})),genPureDisabledButtonStyle(x_)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign({color:x_.colorError},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover},{color:x_.colorErrorActive})),genPureDisabledButtonStyle(x_))}),genTextButtonStyle=x_=>Object.assign(Object.assign(Object.assign({},genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorText,background:x_.textHoverBg},{color:x_.colorText,background:x_.colorBgTextActive})),genPureDisabledButtonStyle(x_)),{[`&${x_.componentCls}-dangerous`]:Object.assign(Object.assign({color:x_.colorError},genPureDisabledButtonStyle(x_)),genHoverActiveButtonStyle(x_.componentCls,{color:x_.colorErrorHover,background:x_.colorErrorBg},{color:x_.colorErrorHover,background:x_.colorErrorBg}))}),genTypeButtonStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-default`]:genDefaultButtonStyle(x_),[`${e0e}-primary`]:genPrimaryButtonStyle(x_),[`${e0e}-dashed`]:genDashedButtonStyle(x_),[`${e0e}-link`]:genLinkButtonStyle(x_),[`${e0e}-text`]:genTextButtonStyle(x_),[`${e0e}-ghost`]:genGhostButtonStyle(x_.componentCls,x_.ghostBg,x_.colorBgContainer,x_.colorBgContainer,x_.colorTextDisabled,x_.colorBorder)}},genSizeButtonStyle=function(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:$P,controlHeight:t0e,fontSize:r0e,borderRadius:n0e,buttonPaddingHorizontal:a0e,iconCls:o0e,buttonPaddingVertical:i0e}=x_,s0e=`${$P}-icon-only`;return[{[`${$P}${e0e}`]:{fontSize:r0e,height:t0e,padding:`${unit$1(i0e)} ${unit$1(a0e)}`,borderRadius:n0e,[`&${s0e}`]:{width:t0e,paddingInlineStart:0,paddingInlineEnd:0,[`&${$P}-round`]:{width:"auto"},[o0e]:{fontSize:x_.buttonIconOnlyFontSize}},[`&${$P}-loading`]:{opacity:x_.opacityLoading,cursor:"default"},[`${$P}-loading-icon`]:{transition:`width ${x_.motionDurationSlow} ${x_.motionEaseInOut}, opacity ${x_.motionDurationSlow} ${x_.motionEaseInOut}`}}},{[`${$P}${$P}-circle${e0e}`]:genCircleButtonStyle(x_)},{[`${$P}${$P}-round${e0e}`]:genRoundButtonStyle(x_)}]},genSizeBaseButtonStyle=x_=>genSizeButtonStyle(merge$2(x_,{fontSize:x_.contentFontSize})),genSizeSmallButtonStyle=x_=>{const e0e=merge$2(x_,{controlHeight:x_.controlHeightSM,fontSize:x_.contentFontSizeSM,padding:x_.paddingXS,buttonPaddingHorizontal:x_.paddingInlineSM,buttonPaddingVertical:x_.paddingBlockSM,borderRadius:x_.borderRadiusSM,buttonIconOnlyFontSize:x_.onlyIconSizeSM});return genSizeButtonStyle(e0e,`${x_.componentCls}-sm`)},genSizeLargeButtonStyle=x_=>{const e0e=merge$2(x_,{controlHeight:x_.controlHeightLG,fontSize:x_.contentFontSizeLG,buttonPaddingHorizontal:x_.paddingInlineLG,buttonPaddingVertical:x_.paddingBlockLG,borderRadius:x_.borderRadiusLG,buttonIconOnlyFontSize:x_.onlyIconSizeLG});return genSizeButtonStyle(e0e,`${x_.componentCls}-lg`)},genBlockButtonStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{[`&${e0e}-block`]:{width:"100%"}}}},prepareToken$3=x_=>{const{paddingInline:e0e,onlyIconSize:$P,paddingBlock:t0e}=x_;return merge$2(x_,{buttonPaddingHorizontal:e0e,buttonPaddingVertical:t0e,buttonIconOnlyFontSize:$P})},prepareComponentToken$l=x_=>{const e0e=x_.fontSize,$P=x_.fontSize,t0e=x_.fontSizeLG;return{fontWeight:400,defaultShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.controlTmpOutline}`,primaryShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.controlOutline}`,dangerShadow:`0 ${x_.controlOutlineWidth}px 0 ${x_.colorErrorOutline}`,primaryColor:x_.colorTextLightSolid,dangerColor:x_.colorTextLightSolid,borderColorDisabled:x_.colorBorder,defaultGhostColor:x_.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:x_.colorBgContainer,paddingInline:x_.paddingContentHorizontal-x_.lineWidth,paddingInlineLG:x_.paddingContentHorizontal-x_.lineWidth,paddingInlineSM:8-x_.lineWidth,paddingBlock:Math.max((x_.controlHeight-e0e*x_.lineHeight)/2-x_.lineWidth,0),paddingBlockSM:Math.max((x_.controlHeightSM-$P*x_.lineHeight)/2-x_.lineWidth,0),paddingBlockLG:Math.max((x_.controlHeightLG-t0e*x_.lineHeight)/2-x_.lineWidth,0),onlyIconSize:x_.fontSizeLG,onlyIconSizeSM:x_.fontSizeLG-2,onlyIconSizeLG:x_.fontSizeLG+2,groupBorderColor:x_.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:x_.colorBgTextHover,defaultColor:x_.colorText,defaultBg:x_.colorBgContainer,defaultBorderColor:x_.colorBorder,defaultBorderColorDisabled:x_.colorBorder,contentFontSize:e0e,contentFontSizeSM:$P,contentFontSizeLG:t0e}},useStyle$o=genStyleHooks("Button",x_=>{const e0e=prepareToken$3(x_);return[genSharedButtonStyle(e0e),genSizeSmallButtonStyle(e0e),genSizeBaseButtonStyle(e0e),genSizeLargeButtonStyle(e0e),genBlockButtonStyle(e0e),genTypeButtonStyle(e0e),genGroupStyle$2(e0e)]},prepareComponentToken$l,{unitless:{fontWeight:!0}});function compactItemBorder(x_,e0e,$P){const{focusElCls:t0e,focus:r0e,borderElCls:n0e}=$P,a0e=n0e?"> *":"",o0e=["hover",r0e?"focus":null,"active"].filter(Boolean).map(i0e=>`&:${i0e} ${a0e}`).join(",");return{[`&-item:not(${e0e}-last-item)`]:{marginInlineEnd:x_.calc(x_.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[o0e]:{zIndex:2}},t0e?{[`&${t0e}`]:{zIndex:2}}:{}),{[`&[disabled] ${a0e}`]:{zIndex:0}})}}function compactItemBorderRadius(x_,e0e,$P){const{borderElCls:t0e}=$P,r0e=t0e?`> ${t0e}`:"";return{[`&-item:not(${e0e}-first-item):not(${e0e}-last-item) ${r0e}`]:{borderRadius:0},[`&-item:not(${e0e}-last-item)${e0e}-first-item`]:{[`& ${r0e}, &${x_}-sm ${r0e}, &${x_}-lg ${r0e}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${e0e}-first-item)${e0e}-last-item`]:{[`& ${r0e}, &${x_}-sm ${r0e}, &${x_}-lg ${r0e}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function genCompactItemStyle(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:$P}=x_,t0e=`${$P}-compact`;return{[t0e]:Object.assign(Object.assign({},compactItemBorder(x_,t0e,e0e)),compactItemBorderRadius($P,t0e,e0e))}}function compactItemVerticalBorder(x_,e0e){return{[`&-item:not(${e0e}-last-item)`]:{marginBottom:x_.calc(x_.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function compactItemBorderVerticalRadius(x_,e0e){return{[`&-item:not(${e0e}-first-item):not(${e0e}-last-item)`]:{borderRadius:0},[`&-item${e0e}-first-item:not(${e0e}-last-item)`]:{[`&, &${x_}-sm, &${x_}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${e0e}-last-item:not(${e0e}-first-item)`]:{[`&, &${x_}-sm, &${x_}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function genCompactItemVerticalStyle(x_){const e0e=`${x_.componentCls}-compact-vertical`;return{[e0e]:Object.assign(Object.assign({},compactItemVerticalBorder(x_,e0e)),compactItemBorderVerticalRadius(x_.componentCls,e0e))}}const genButtonCompactStyle=x_=>{const{componentCls:e0e,calc:$P}=x_;return{[e0e]:{[`&-compact-item${e0e}-primary`]:{[`&:not([disabled]) + ${e0e}-compact-item${e0e}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:$P(x_.lineWidth).mul(-1).equal(),insetInlineStart:$P(x_.lineWidth).mul(-1).equal(),display:"inline-block",width:x_.lineWidth,height:`calc(100% + ${unit$1(x_.lineWidth)} * 2)`,backgroundColor:x_.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${e0e}-primary`]:{[`&:not([disabled]) + ${e0e}-compact-vertical-item${e0e}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:$P(x_.lineWidth).mul(-1).equal(),insetInlineStart:$P(x_.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${unit$1(x_.lineWidth)} * 2)`,height:x_.lineWidth,backgroundColor:x_.colorPrimaryHover,content:'""'}}}}}}},CompactCmp=genSubStyleComponent(["Button","compact"],x_=>{const e0e=prepareToken$3(x_);return[genCompactItemStyle(e0e),genCompactItemVerticalStyle(e0e),genButtonCompactStyle(e0e)]},prepareComponentToken$l);var __rest$O=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e;const{loading:r0e=!1,prefixCls:n0e,type:a0e="default",danger:o0e,shape:i0e="default",size:s0e,styles:l0e,disabled:c0e,className:u0e,rootClassName:d0e,children:p0e,icon:f0e,ghost:h0e=!1,block:b0e=!1,htmlType:m0e="button",classNames:v0e,style:g0e={}}=x_,y0e=__rest$O(x_,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:M0e,autoInsertSpaceInButton:O0e,direction:z0e,button:_0e}=reactExports.useContext(ConfigContext),A0e=M0e("btn",n0e),[$0e,S0e]=useStyle$o(A0e),C0e=reactExports.useContext(DisabledContext$1),E0e=c0e??C0e,w0e=reactExports.useContext(GroupSizeContext),R0e=reactExports.useMemo(()=>getLoadingConfig(r0e),[r0e]),[T0e,D0e]=reactExports.useState(R0e.loading),[W0e,k0e]=reactExports.useState(!1),N0e=composeRef$1(e0e,reactExports.createRef()),j0e=reactExports.Children.count(p0e)===1&&!f0e&&!isUnBorderedButtonType(a0e);reactExports.useEffect(()=>{let a1e=null;R0e.delay>0?a1e=setTimeout(()=>{a1e=null,D0e(!0)},R0e.delay):D0e(R0e.loading);function l1e(){a1e&&(clearTimeout(a1e),a1e=null)}return l1e},[R0e]),reactExports.useEffect(()=>{if(!N0e||!N0e.current||O0e===!1)return;const a1e=N0e.current.textContent;j0e&&isTwoCNChar(a1e)?W0e||k0e(!0):W0e&&k0e(!1)},[N0e]);const P0e=a1e=>{const{onClick:l1e}=x_;if(T0e||E0e){a1e.preventDefault();return}l1e==null||l1e(a1e)},I0e=O0e!==!1,{compactSize:F0e,compactItemClassnames:V0e}=useCompactItemContext(A0e,z0e),H0e={large:"lg",small:"sm",middle:void 0},Q0e=useSize$1(a1e=>{var l1e,s1e;return(s1e=(l1e=s0e??F0e)!==null&&l1e!==void 0?l1e:w0e)!==null&&s1e!==void 0?s1e:a1e}),Y0e=Q0e&&H0e[Q0e]||"",G0e=T0e?"loading":f0e,B0e=omit$2(y0e,["navigate"]),U0e=cx$1(A0e,S0e,{[`${A0e}-${i0e}`]:i0e!=="default"&&i0e,[`${A0e}-${a0e}`]:a0e,[`${A0e}-${Y0e}`]:Y0e,[`${A0e}-icon-only`]:!p0e&&p0e!==0&&!!G0e,[`${A0e}-background-ghost`]:h0e&&!isUnBorderedButtonType(a0e),[`${A0e}-loading`]:T0e,[`${A0e}-two-chinese-chars`]:W0e&&I0e&&!T0e,[`${A0e}-block`]:b0e,[`${A0e}-dangerous`]:!!o0e,[`${A0e}-rtl`]:z0e==="rtl"},V0e,u0e,d0e,_0e==null?void 0:_0e.className),X0e=Object.assign(Object.assign({},_0e==null?void 0:_0e.style),g0e),Z0e=cx$1(v0e==null?void 0:v0e.icon,($P=_0e==null?void 0:_0e.classNames)===null||$P===void 0?void 0:$P.icon),e1e=Object.assign(Object.assign({},(l0e==null?void 0:l0e.icon)||{}),((t0e=_0e==null?void 0:_0e.styles)===null||t0e===void 0?void 0:t0e.icon)||{}),n1e=f0e&&!T0e?jsx(IconWrapper$1,{prefixCls:A0e,className:Z0e,style:e1e,children:f0e}):jsx(LoadingIcon$1,{existIcon:!!f0e,prefixCls:A0e,loading:!!T0e}),t1e=p0e||p0e===0?spaceChildren(p0e,j0e&&I0e):null;if(B0e.href!==void 0)return $0e(jsxs("a",{...Object.assign({},B0e,{className:cx$1(U0e,{[`${A0e}-disabled`]:E0e}),href:E0e?void 0:B0e.href,style:X0e,onClick:P0e,ref:N0e,tabIndex:E0e?-1:0}),children:[n1e,t1e]}));let r1e=jsxs("button",{...Object.assign({},y0e,{type:m0e,className:U0e,style:X0e,onClick:P0e,disabled:E0e,ref:N0e}),children:[n1e,t1e,V0e&&jsx(CompactCmp,{prefixCls:A0e},"compact")]});return isUnBorderedButtonType(a0e)||(r1e=jsx(Wave$1,{component:"Button",disabled:!!T0e,children:r1e})),$0e(r1e)},Button$3=reactExports.forwardRef(InternalButton);Button$3.Group=Group$5;Button$3.__ANT_BUTTON=!0;const Button$4=Button$3;var OrderContext=reactExports.createContext(null),EMPTY_LIST$3=[];function useDom(x_,e0e){var $P=reactExports.useState(function(){if(!canUseDom$1())return null;var p0e=document.createElement("div");return p0e}),t0e=_slicedToArray$3($P,1),r0e=t0e[0],n0e=reactExports.useRef(!1),a0e=reactExports.useContext(OrderContext),o0e=reactExports.useState(EMPTY_LIST$3),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1],c0e=a0e||(n0e.current?void 0:function(p0e){l0e(function(f0e){var h0e=[p0e].concat(_toConsumableArray$2(f0e));return h0e})});function u0e(){r0e.parentElement||document.body.appendChild(r0e),n0e.current=!0}function d0e(){var p0e;(p0e=r0e.parentElement)===null||p0e===void 0||p0e.removeChild(r0e),n0e.current=!1}return useLayoutEffect$2(function(){return x_?a0e?a0e(u0e):u0e():d0e(),d0e},[x_]),useLayoutEffect$2(function(){s0e.length&&(s0e.forEach(function(p0e){return p0e()}),l0e(EMPTY_LIST$3))},[s0e]),[r0e,c0e]}var cached;function getScrollBarSize(x_){if(typeof document>"u")return 0;if(x_||cached===void 0){var e0e=document.createElement("div");e0e.style.width="100%",e0e.style.height="200px";var $P=document.createElement("div"),t0e=$P.style;t0e.position="absolute",t0e.top="0",t0e.left="0",t0e.pointerEvents="none",t0e.visibility="hidden",t0e.width="200px",t0e.height="150px",t0e.overflow="hidden",$P.appendChild(e0e),document.body.appendChild($P);var r0e=e0e.offsetWidth;$P.style.overflow="scroll";var n0e=e0e.offsetWidth;r0e===n0e&&(n0e=$P.clientWidth),document.body.removeChild($P),cached=r0e-n0e}return cached}function ensureSize(x_){var e0e=x_.match(/^(.*)px$/),$P=Number(e0e==null?void 0:e0e[1]);return Number.isNaN($P)?getScrollBarSize():$P}function getTargetScrollBarSize(x_){if(typeof document>"u"||!x_||!(x_ instanceof Element))return{width:0,height:0};var e0e=getComputedStyle(x_,"::-webkit-scrollbar"),$P=e0e.width,t0e=e0e.height;return{width:ensureSize($P),height:ensureSize(t0e)}}function isBodyOverflowing(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var UNIQUE_ID="rc-util-locker-".concat(Date.now()),uuid$5=0;function useScrollLocker(x_){var e0e=!!x_,$P=reactExports.useState(function(){return uuid$5+=1,"".concat(UNIQUE_ID,"_").concat(uuid$5)}),t0e=_slicedToArray$3($P,1),r0e=t0e[0];useLayoutEffect$2(function(){if(e0e){var n0e=getTargetScrollBarSize(document.body).width,a0e=isBodyOverflowing();updateCSS(` html body { overflow-y: hidden; `.concat(a0e?"width: calc(100% - ".concat(n0e,"px);"):"",` @@ -213,7 +213,7 @@ html body { (?:`+t0e+":){1}(?:(?::"+t0e+"){0,4}:"+$P+"|(?::"+t0e+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4 (?::(?:(?::`+t0e+"){0,5}:"+$P+"|(?::"+t0e+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4 )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1 -`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),n0e=new RegExp("(?:^"+$P+"$)|(?:^"+r0e+"$)"),a0e=new RegExp("^"+$P+"$"),o0e=new RegExp("^"+r0e+"$"),i0e=function(g0e){return g0e&&g0e.exact?n0e:new RegExp("(?:"+e0e(g0e)+$P+e0e(g0e)+")|(?:"+e0e(g0e)+r0e+e0e(g0e)+")","g")};i0e.v4=function(v0e){return v0e&&v0e.exact?a0e:new RegExp(""+e0e(v0e)+$P+e0e(v0e),"g")},i0e.v6=function(v0e){return v0e&&v0e.exact?o0e:new RegExp(""+e0e(v0e)+r0e+e0e(v0e),"g")};var s0e="(?:(?:[a-z]+:)?//)",l0e="(?:\\S+(?::\\S*)?@)?",c0e=i0e.v4().source,u0e=i0e.v6().source,d0e="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p0e="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",f0e="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",h0e="(?::\\d{2,5})?",b0e='(?:[/?#][^\\s"]*)?',m0e="(?:"+s0e+"|www\\.)"+l0e+"(?:localhost|"+c0e+"|"+u0e+"|"+d0e+p0e+f0e+")"+h0e+b0e;return urlReg=new RegExp("(?:^"+m0e+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$1={integer:function(e0e){return types$1.number(e0e)&&parseInt(e0e,10)===e0e},float:function(e0e){return types$1.number(e0e)&&!types$1.integer(e0e)},array:function(e0e){return Array.isArray(e0e)},regexp:function(e0e){if(e0e instanceof RegExp)return!0;try{return!!new RegExp(e0e)}catch{return!1}},date:function(e0e){return typeof e0e.getTime=="function"&&typeof e0e.getMonth=="function"&&typeof e0e.getYear=="function"&&!isNaN(e0e.getTime())},number:function(e0e){return isNaN(e0e)?!1:typeof e0e=="number"},object:function(e0e){return typeof e0e=="object"&&!types$1.array(e0e)},method:function(e0e){return typeof e0e=="function"},email:function(e0e){return typeof e0e=="string"&&e0e.length<=320&&!!e0e.match(pattern$2.email)},url:function(e0e){return typeof e0e=="string"&&e0e.length<=2048&&!!e0e.match(getUrlRegex())},hex:function(e0e){return typeof e0e=="string"&&!!e0e.match(pattern$2.hex)}},type$1=function(e0e,$P,t0e,r0e,n0e){if(e0e.required&&$P===void 0){required$1(e0e,$P,t0e,r0e,n0e);return}var a0e=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o0e=e0e.type;a0e.indexOf(o0e)>-1?types$1[o0e]($P)||r0e.push(format$2(n0e.messages.types[o0e],e0e.fullField,e0e.type)):o0e&&typeof $P!==e0e.type&&r0e.push(format$2(n0e.messages.types[o0e],e0e.fullField,e0e.type))},range$3=function(e0e,$P,t0e,r0e,n0e){var a0e=typeof e0e.len=="number",o0e=typeof e0e.min=="number",i0e=typeof e0e.max=="number",s0e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l0e=$P,c0e=null,u0e=typeof $P=="number",d0e=typeof $P=="string",p0e=Array.isArray($P);if(u0e?c0e="number":d0e?c0e="string":p0e&&(c0e="array"),!c0e)return!1;p0e&&(l0e=$P.length),d0e&&(l0e=$P.replace(s0e,"_").length),a0e?l0e!==e0e.len&&r0e.push(format$2(n0e.messages[c0e].len,e0e.fullField,e0e.len)):o0e&&!i0e&&l0ee0e.max?r0e.push(format$2(n0e.messages[c0e].max,e0e.fullField,e0e.max)):o0e&&i0e&&(l0ee0e.max)&&r0e.push(format$2(n0e.messages[c0e].range,e0e.fullField,e0e.min,e0e.max))},ENUM$1="enum",enumerable$1=function(e0e,$P,t0e,r0e,n0e){e0e[ENUM$1]=Array.isArray(e0e[ENUM$1])?e0e[ENUM$1]:[],e0e[ENUM$1].indexOf($P)===-1&&r0e.push(format$2(n0e.messages[ENUM$1],e0e.fullField,e0e[ENUM$1].join(", ")))},pattern$1=function(e0e,$P,t0e,r0e,n0e){if(e0e.pattern){if(e0e.pattern instanceof RegExp)e0e.pattern.lastIndex=0,e0e.pattern.test($P)||r0e.push(format$2(n0e.messages.pattern.mismatch,e0e.fullField,$P,e0e.pattern));else if(typeof e0e.pattern=="string"){var a0e=new RegExp(e0e.pattern);a0e.test($P)||r0e.push(format$2(n0e.messages.pattern.mismatch,e0e.fullField,$P,e0e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$3,enum:enumerable$1,pattern:pattern$1},string$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"string")&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e,"string"),isEmptyValue($P,"string")||(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e),rules.pattern(e0e,$P,r0e,a0e,n0e),e0e.whitespace===!0&&rules.whitespace(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},method=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},number$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if($P===""&&($P=void 0),isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},_boolean=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},regexp=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),isEmptyValue($P)||rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},integer$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},floatFn=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},array$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if($P==null&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e,"array"),$P!=null&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},object=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},ENUM="enum",enumerable=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules[ENUM](e0e,$P,r0e,a0e,n0e)}t0e(a0e)},pattern=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"string")&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),isEmptyValue($P,"string")||rules.pattern(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},date=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"date")&&!e0e.required)return t0e();if(rules.required(e0e,$P,r0e,a0e,n0e),!isEmptyValue($P,"date")){var i0e;$P instanceof Date?i0e=$P:i0e=new Date($P),rules.type(e0e,i0e,r0e,a0e,n0e),i0e&&rules.range(e0e,i0e.getTime(),r0e,a0e,n0e)}}t0e(a0e)},required=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=Array.isArray($P)?"array":typeof $P;rules.required(e0e,$P,r0e,a0e,n0e,o0e),t0e(a0e)},type=function(e0e,$P,t0e,r0e,n0e){var a0e=e0e.type,o0e=[],i0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(i0e){if(isEmptyValue($P,a0e)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,o0e,n0e,a0e),isEmptyValue($P,a0e)||rules.type(e0e,$P,r0e,o0e,n0e)}t0e(o0e)},any=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},validators={string:string$1,method,number:number$1,boolean:_boolean,regexp,integer:integer$1,float:floatFn,array:array$1,object,enum:enumerable,pattern,date,url:type,hex:type,email:type,required,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e0e=JSON.parse(JSON.stringify(this));return e0e.clone=this.clone,e0e}}}var messages=newMessages(),Schema=function(){function x_($P){this.rules=null,this._messages=messages,this.define($P)}var e0e=x_.prototype;return e0e.define=function(t0e){var r0e=this;if(!t0e)throw new Error("Cannot configure a schema with no rules");if(typeof t0e!="object"||Array.isArray(t0e))throw new Error("Rules must be an object");this.rules={},Object.keys(t0e).forEach(function(n0e){var a0e=t0e[n0e];r0e.rules[n0e]=Array.isArray(a0e)?a0e:[a0e]})},e0e.messages=function(t0e){return t0e&&(this._messages=deepMerge(newMessages(),t0e)),this._messages},e0e.validate=function(t0e,r0e,n0e){var a0e=this;r0e===void 0&&(r0e={}),n0e===void 0&&(n0e=function(){});var o0e=t0e,i0e=r0e,s0e=n0e;if(typeof i0e=="function"&&(s0e=i0e,i0e={}),!this.rules||Object.keys(this.rules).length===0)return s0e&&s0e(null,o0e),Promise.resolve(o0e);function l0e(f0e){var h0e=[],b0e={};function m0e(g0e){if(Array.isArray(g0e)){var y0e;h0e=(y0e=h0e).concat.apply(y0e,g0e)}else h0e.push(g0e)}for(var v0e=0;v0e2&&arguments[2]!==void 0?arguments[2]:!1;return x_&&x_.some(function(t0e){return matchNamePath(e0e,t0e,$P)})}function matchNamePath(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!x_||!e0e||!$P&&x_.length!==e0e.length?!1:e0e.every(function(t0e,r0e){return x_[r0e]===t0e})}function isSimilar(x_,e0e){if(x_===e0e)return!0;if(!x_&&e0e||x_&&!e0e||!x_||!e0e||_typeof$2(x_)!=="object"||_typeof$2(e0e)!=="object")return!1;var $P=Object.keys(x_),t0e=Object.keys(e0e),r0e=new Set([].concat($P,t0e));return _toConsumableArray$2(r0e).every(function(n0e){var a0e=x_[n0e],o0e=e0e[n0e];return typeof a0e=="function"&&typeof o0e=="function"?!0:a0e===o0e})}function defaultGetValueFromEvent(x_){var e0e=arguments.length<=1?void 0:arguments[1];return e0e&&e0e.target&&_typeof$2(e0e.target)==="object"&&x_ in e0e.target?e0e.target[x_]:e0e}function move(x_,e0e,$P){var t0e=x_.length;if(e0e<0||e0e>=t0e||$P<0||$P>=t0e)return x_;var r0e=x_[e0e],n0e=e0e-$P;return n0e>0?[].concat(_toConsumableArray$2(x_.slice(0,$P)),[r0e],_toConsumableArray$2(x_.slice($P,e0e)),_toConsumableArray$2(x_.slice(e0e+1,t0e))):n0e<0?[].concat(_toConsumableArray$2(x_.slice(0,e0e)),_toConsumableArray$2(x_.slice(e0e+1,$P+1)),[r0e],_toConsumableArray$2(x_.slice($P+1,t0e))):x_}var _excluded$P=["name"],EMPTY_ERRORS=[];function requireUpdate(x_,e0e,$P,t0e,r0e,n0e){return typeof x_=="function"?x_(e0e,$P,"source"in n0e?{source:n0e.source}:{}):t0e!==r0e}var Field=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;if(_classCallCheck$1(this,$P),r0e=e0e.call(this,t0e),_defineProperty$5(_assertThisInitialized$1(r0e),"state",{resetCount:0}),_defineProperty$5(_assertThisInitialized$1(r0e),"cancelRegisterFunc",null),_defineProperty$5(_assertThisInitialized$1(r0e),"mounted",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"touched",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"dirty",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"validatePromise",void 0),_defineProperty$5(_assertThisInitialized$1(r0e),"prevValidating",void 0),_defineProperty$5(_assertThisInitialized$1(r0e),"errors",EMPTY_ERRORS),_defineProperty$5(_assertThisInitialized$1(r0e),"warnings",EMPTY_ERRORS),_defineProperty$5(_assertThisInitialized$1(r0e),"cancelRegister",function(){var i0e=r0e.props,s0e=i0e.preserve,l0e=i0e.isListField,c0e=i0e.name;r0e.cancelRegisterFunc&&r0e.cancelRegisterFunc(l0e,s0e,getNamePath(c0e)),r0e.cancelRegisterFunc=null}),_defineProperty$5(_assertThisInitialized$1(r0e),"getNamePath",function(){var i0e=r0e.props,s0e=i0e.name,l0e=i0e.fieldContext,c0e=l0e.prefixName,u0e=c0e===void 0?[]:c0e;return s0e!==void 0?[].concat(_toConsumableArray$2(u0e),_toConsumableArray$2(s0e)):[]}),_defineProperty$5(_assertThisInitialized$1(r0e),"getRules",function(){var i0e=r0e.props,s0e=i0e.rules,l0e=s0e===void 0?[]:s0e,c0e=i0e.fieldContext;return l0e.map(function(u0e){return typeof u0e=="function"?u0e(c0e):u0e})}),_defineProperty$5(_assertThisInitialized$1(r0e),"refresh",function(){r0e.mounted&&r0e.setState(function(i0e){var s0e=i0e.resetCount;return{resetCount:s0e+1}})}),_defineProperty$5(_assertThisInitialized$1(r0e),"metaCache",null),_defineProperty$5(_assertThisInitialized$1(r0e),"triggerMetaEvent",function(i0e){var s0e=r0e.props.onMetaChange;if(s0e){var l0e=_objectSpread2$1(_objectSpread2$1({},r0e.getMeta()),{},{destroy:i0e});isEqual(r0e.metaCache,l0e)||s0e(l0e),r0e.metaCache=l0e}else r0e.metaCache=null}),_defineProperty$5(_assertThisInitialized$1(r0e),"onStoreChange",function(i0e,s0e,l0e){var c0e=r0e.props,u0e=c0e.shouldUpdate,d0e=c0e.dependencies,p0e=d0e===void 0?[]:d0e,f0e=c0e.onReset,h0e=l0e.store,b0e=r0e.getNamePath(),m0e=r0e.getValue(i0e),v0e=r0e.getValue(h0e),g0e=s0e&&containsNamePath(s0e,b0e);switch(l0e.type==="valueUpdate"&&l0e.source==="external"&&m0e!==v0e&&(r0e.touched=!0,r0e.dirty=!0,r0e.validatePromise=null,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent()),l0e.type){case"reset":if(!s0e||g0e){r0e.touched=!1,r0e.dirty=!1,r0e.validatePromise=void 0,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent(),f0e==null||f0e(),r0e.refresh();return}break;case"remove":{if(u0e){r0e.reRender();return}break}case"setField":{var y0e=l0e.data;if(g0e){"touched"in y0e&&(r0e.touched=y0e.touched),"validating"in y0e&&!("originRCField"in y0e)&&(r0e.validatePromise=y0e.validating?Promise.resolve([]):null),"errors"in y0e&&(r0e.errors=y0e.errors||EMPTY_ERRORS),"warnings"in y0e&&(r0e.warnings=y0e.warnings||EMPTY_ERRORS),r0e.dirty=!0,r0e.triggerMetaEvent(),r0e.reRender();return}else if("value"in y0e&&containsNamePath(s0e,b0e,!0)){r0e.reRender();return}if(u0e&&!b0e.length&&requireUpdate(u0e,i0e,h0e,m0e,v0e,l0e)){r0e.reRender();return}break}case"dependenciesUpdate":{var M0e=p0e.map(getNamePath);if(M0e.some(function(O0e){return containsNamePath(l0e.relatedFields,O0e)})){r0e.reRender();return}break}default:if(g0e||(!p0e.length||b0e.length||u0e)&&requireUpdate(u0e,i0e,h0e,m0e,v0e,l0e)){r0e.reRender();return}break}u0e===!0&&r0e.reRender()}),_defineProperty$5(_assertThisInitialized$1(r0e),"validateRules",function(i0e){var s0e=r0e.getNamePath(),l0e=r0e.getValue(),c0e=i0e||{},u0e=c0e.triggerName,d0e=c0e.validateOnly,p0e=d0e===void 0?!1:d0e,f0e=Promise.resolve().then(_asyncToGenerator$1(_regeneratorRuntime$1().mark(function h0e(){var b0e,m0e,v0e,g0e,y0e,M0e,O0e;return _regeneratorRuntime$1().wrap(function(_0e){for(;;)switch(_0e.prev=_0e.next){case 0:if(r0e.mounted){_0e.next=2;break}return _0e.abrupt("return",[]);case 2:if(b0e=r0e.props,m0e=b0e.validateFirst,v0e=m0e===void 0?!1:m0e,g0e=b0e.messageVariables,y0e=b0e.validateDebounce,M0e=r0e.getRules(),u0e&&(M0e=M0e.filter(function(A0e){return A0e}).filter(function(A0e){var $0e=A0e.validateTrigger;if(!$0e)return!0;var S0e=toArray$5($0e);return S0e.includes(u0e)})),!(y0e&&u0e)){_0e.next=10;break}return _0e.next=8,new Promise(function(A0e){setTimeout(A0e,y0e)});case 8:if(r0e.validatePromise===f0e){_0e.next=10;break}return _0e.abrupt("return",[]);case 10:return O0e=validateRules(s0e,l0e,M0e,i0e,v0e,g0e),O0e.catch(function(A0e){return A0e}).then(function(){var A0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:EMPTY_ERRORS;if(r0e.validatePromise===f0e){var $0e;r0e.validatePromise=null;var S0e=[],C0e=[];($0e=A0e.forEach)===null||$0e===void 0||$0e.call(A0e,function(E0e){var w0e=E0e.rule.warningOnly,R0e=E0e.errors,T0e=R0e===void 0?EMPTY_ERRORS:R0e;w0e?C0e.push.apply(C0e,_toConsumableArray$2(T0e)):S0e.push.apply(S0e,_toConsumableArray$2(T0e))}),r0e.errors=S0e,r0e.warnings=C0e,r0e.triggerMetaEvent(),r0e.reRender()}}),_0e.abrupt("return",O0e);case 13:case"end":return _0e.stop()}},h0e)})));return p0e||(r0e.validatePromise=f0e,r0e.dirty=!0,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent(),r0e.reRender()),f0e}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldValidating",function(){return!!r0e.validatePromise}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldTouched",function(){return r0e.touched}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldDirty",function(){if(r0e.dirty||r0e.props.initialValue!==void 0)return!0;var i0e=r0e.props.fieldContext,s0e=i0e.getInternalHooks(HOOK_MARK),l0e=s0e.getInitialValue;return l0e(r0e.getNamePath())!==void 0}),_defineProperty$5(_assertThisInitialized$1(r0e),"getErrors",function(){return r0e.errors}),_defineProperty$5(_assertThisInitialized$1(r0e),"getWarnings",function(){return r0e.warnings}),_defineProperty$5(_assertThisInitialized$1(r0e),"isListField",function(){return r0e.props.isListField}),_defineProperty$5(_assertThisInitialized$1(r0e),"isList",function(){return r0e.props.isList}),_defineProperty$5(_assertThisInitialized$1(r0e),"isPreserve",function(){return r0e.props.preserve}),_defineProperty$5(_assertThisInitialized$1(r0e),"getMeta",function(){r0e.prevValidating=r0e.isFieldValidating();var i0e={touched:r0e.isFieldTouched(),validating:r0e.prevValidating,errors:r0e.errors,warnings:r0e.warnings,name:r0e.getNamePath(),validated:r0e.validatePromise===null};return i0e}),_defineProperty$5(_assertThisInitialized$1(r0e),"getOnlyChild",function(i0e){if(typeof i0e=="function"){var s0e=r0e.getMeta();return _objectSpread2$1(_objectSpread2$1({},r0e.getOnlyChild(i0e(r0e.getControlled(),s0e,r0e.props.fieldContext))),{},{isFunction:!0})}var l0e=toArray$6(i0e);return l0e.length!==1||!reactExports.isValidElement(l0e[0])?{child:l0e,isFunction:!1}:{child:l0e[0],isFunction:!1}}),_defineProperty$5(_assertThisInitialized$1(r0e),"getValue",function(i0e){var s0e=r0e.props.fieldContext.getFieldsValue,l0e=r0e.getNamePath();return get$6(i0e||s0e(!0),l0e)}),_defineProperty$5(_assertThisInitialized$1(r0e),"getControlled",function(){var i0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s0e=r0e.props,l0e=s0e.trigger,c0e=s0e.validateTrigger,u0e=s0e.getValueFromEvent,d0e=s0e.normalize,p0e=s0e.valuePropName,f0e=s0e.getValueProps,h0e=s0e.fieldContext,b0e=c0e!==void 0?c0e:h0e.validateTrigger,m0e=r0e.getNamePath(),v0e=h0e.getInternalHooks,g0e=h0e.getFieldsValue,y0e=v0e(HOOK_MARK),M0e=y0e.dispatch,O0e=r0e.getValue(),z0e=f0e||function(S0e){return _defineProperty$5({},p0e,S0e)},_0e=i0e[l0e],A0e=_objectSpread2$1(_objectSpread2$1({},i0e),z0e(O0e));A0e[l0e]=function(){r0e.touched=!0,r0e.dirty=!0,r0e.triggerMetaEvent();for(var S0e,C0e=arguments.length,E0e=new Array(C0e),w0e=0;w0e=0&&A0e<=$0e.length?(l0e.keys=[].concat(_toConsumableArray$2(l0e.keys.slice(0,A0e)),[l0e.id],_toConsumableArray$2(l0e.keys.slice(A0e))),v0e([].concat(_toConsumableArray$2($0e.slice(0,A0e)),[_0e],_toConsumableArray$2($0e.slice(A0e))))):(l0e.keys=[].concat(_toConsumableArray$2(l0e.keys),[l0e.id]),v0e([].concat(_toConsumableArray$2($0e),[_0e]))),l0e.id+=1},remove:function(_0e){var A0e=y0e(),$0e=new Set(Array.isArray(_0e)?_0e:[_0e]);$0e.size<=0||(l0e.keys=l0e.keys.filter(function(S0e,C0e){return!$0e.has(C0e)}),v0e(A0e.filter(function(S0e,C0e){return!$0e.has(C0e)})))},move:function(_0e,A0e){if(_0e!==A0e){var $0e=y0e();_0e<0||_0e>=$0e.length||A0e<0||A0e>=$0e.length||(l0e.keys=move(l0e.keys,_0e,A0e),v0e(move($0e,_0e,A0e)))}}},O0e=m0e||[];return Array.isArray(O0e)||(O0e=[]),t0e(O0e.map(function(z0e,_0e){var A0e=l0e.keys[_0e];return A0e===void 0&&(l0e.keys[_0e]=l0e.id,A0e=l0e.keys[_0e],l0e.id+=1),{name:_0e,key:A0e,isListField:!0}}),M0e,h0e)})))}function allPromiseFinish(x_){var e0e=!1,$P=x_.length,t0e=[];return x_.length?new Promise(function(r0e,n0e){x_.forEach(function(a0e,o0e){a0e.catch(function(i0e){return e0e=!0,i0e}).then(function(i0e){$P-=1,t0e[o0e]=i0e,!($P>0)&&(e0e&&n0e(t0e),r0e(t0e))})})}):Promise.resolve([])}var SPLIT="__@field_split__";function normalize(x_){return x_.map(function(e0e){return"".concat(_typeof$2(e0e),":").concat(e0e)}).join(SPLIT)}var NameMap=function(){function x_(){_classCallCheck$1(this,x_),_defineProperty$5(this,"kvs",new Map)}return _createClass$1(x_,[{key:"set",value:function($P,t0e){this.kvs.set(normalize($P),t0e)}},{key:"get",value:function($P){return this.kvs.get(normalize($P))}},{key:"update",value:function($P,t0e){var r0e=this.get($P),n0e=t0e(r0e);n0e?this.set($P,n0e):this.delete($P)}},{key:"delete",value:function($P){this.kvs.delete(normalize($P))}},{key:"map",value:function($P){return _toConsumableArray$2(this.kvs.entries()).map(function(t0e){var r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=n0e.split(SPLIT);return $P({key:o0e.map(function(i0e){var s0e=i0e.match(/^([^:]*):(.*)$/),l0e=_slicedToArray$3(s0e,3),c0e=l0e[1],u0e=l0e[2];return c0e==="number"?Number(u0e):u0e}),value:a0e})})}},{key:"toJSON",value:function(){var $P={};return this.map(function(t0e){var r0e=t0e.key,n0e=t0e.value;return $P[r0e.join(".")]=n0e,null}),$P}}]),x_}(),_excluded$O=["name"],FormStore$1=_createClass$1(function x_(e0e){var $P=this;_classCallCheck$1(this,x_),_defineProperty$5(this,"formHooked",!1),_defineProperty$5(this,"forceRootUpdate",void 0),_defineProperty$5(this,"subscribable",!0),_defineProperty$5(this,"store",{}),_defineProperty$5(this,"fieldEntities",[]),_defineProperty$5(this,"initialValues",{}),_defineProperty$5(this,"callbacks",{}),_defineProperty$5(this,"validateMessages",null),_defineProperty$5(this,"preserve",null),_defineProperty$5(this,"lastValidatePromise",null),_defineProperty$5(this,"getForm",function(){return{getFieldValue:$P.getFieldValue,getFieldsValue:$P.getFieldsValue,getFieldError:$P.getFieldError,getFieldWarning:$P.getFieldWarning,getFieldsError:$P.getFieldsError,isFieldsTouched:$P.isFieldsTouched,isFieldTouched:$P.isFieldTouched,isFieldValidating:$P.isFieldValidating,isFieldsValidating:$P.isFieldsValidating,resetFields:$P.resetFields,setFields:$P.setFields,setFieldValue:$P.setFieldValue,setFieldsValue:$P.setFieldsValue,validateFields:$P.validateFields,submit:$P.submit,_init:!0,getInternalHooks:$P.getInternalHooks}}),_defineProperty$5(this,"getInternalHooks",function(t0e){return t0e===HOOK_MARK?($P.formHooked=!0,{dispatch:$P.dispatch,initEntityValue:$P.initEntityValue,registerField:$P.registerField,useSubscribe:$P.useSubscribe,setInitialValues:$P.setInitialValues,destroyForm:$P.destroyForm,setCallbacks:$P.setCallbacks,setValidateMessages:$P.setValidateMessages,getFields:$P.getFields,setPreserve:$P.setPreserve,getInitialValue:$P.getInitialValue,registerWatch:$P.registerWatch}):(warningOnce$1(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),_defineProperty$5(this,"useSubscribe",function(t0e){$P.subscribable=t0e}),_defineProperty$5(this,"prevWithoutPreserves",null),_defineProperty$5(this,"setInitialValues",function(t0e,r0e){if($P.initialValues=t0e||{},r0e){var n0e,a0e=merge$3(t0e,$P.store);(n0e=$P.prevWithoutPreserves)===null||n0e===void 0||n0e.map(function(o0e){var i0e=o0e.key;a0e=set$4(a0e,i0e,get$6(t0e,i0e))}),$P.prevWithoutPreserves=null,$P.updateStore(a0e)}}),_defineProperty$5(this,"destroyForm",function(){var t0e=new NameMap;$P.getFieldEntities(!0).forEach(function(r0e){$P.isMergedPreserve(r0e.isPreserve())||t0e.set(r0e.getNamePath(),!0)}),$P.prevWithoutPreserves=t0e}),_defineProperty$5(this,"getInitialValue",function(t0e){var r0e=get$6($P.initialValues,t0e);return t0e.length?merge$3(r0e):r0e}),_defineProperty$5(this,"setCallbacks",function(t0e){$P.callbacks=t0e}),_defineProperty$5(this,"setValidateMessages",function(t0e){$P.validateMessages=t0e}),_defineProperty$5(this,"setPreserve",function(t0e){$P.preserve=t0e}),_defineProperty$5(this,"watchList",[]),_defineProperty$5(this,"registerWatch",function(t0e){return $P.watchList.push(t0e),function(){$P.watchList=$P.watchList.filter(function(r0e){return r0e!==t0e})}}),_defineProperty$5(this,"notifyWatch",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if($P.watchList.length){var r0e=$P.getFieldsValue(),n0e=$P.getFieldsValue(!0);$P.watchList.forEach(function(a0e){a0e(r0e,n0e,t0e)})}}),_defineProperty$5(this,"timeoutId",null),_defineProperty$5(this,"warningUnhooked",function(){}),_defineProperty$5(this,"updateStore",function(t0e){$P.store=t0e}),_defineProperty$5(this,"getFieldEntities",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return t0e?$P.fieldEntities.filter(function(r0e){return r0e.getNamePath().length}):$P.fieldEntities}),_defineProperty$5(this,"getFieldsMap",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r0e=new NameMap;return $P.getFieldEntities(t0e).forEach(function(n0e){var a0e=n0e.getNamePath();r0e.set(a0e,n0e)}),r0e}),_defineProperty$5(this,"getFieldEntitiesForNamePathList",function(t0e){if(!t0e)return $P.getFieldEntities(!0);var r0e=$P.getFieldsMap(!0);return t0e.map(function(n0e){var a0e=getNamePath(n0e);return r0e.get(a0e)||{INVALIDATE_NAME_PATH:getNamePath(n0e)}})}),_defineProperty$5(this,"getFieldsValue",function(t0e,r0e){$P.warningUnhooked();var n0e,a0e,o0e;if(t0e===!0||Array.isArray(t0e)?(n0e=t0e,a0e=r0e):t0e&&_typeof$2(t0e)==="object"&&(o0e=t0e.strict,a0e=t0e.filter),n0e===!0&&!a0e)return $P.store;var i0e=$P.getFieldEntitiesForNamePathList(Array.isArray(n0e)?n0e:null),s0e=[];return i0e.forEach(function(l0e){var c0e,u0e,d0e="INVALIDATE_NAME_PATH"in l0e?l0e.INVALIDATE_NAME_PATH:l0e.getNamePath();if(o0e){var p0e,f0e;if((p0e=(f0e=l0e).isList)!==null&&p0e!==void 0&&p0e.call(f0e))return}else if(!n0e&&(c0e=(u0e=l0e).isListField)!==null&&c0e!==void 0&&c0e.call(u0e))return;if(!a0e)s0e.push(d0e);else{var h0e="getMeta"in l0e?l0e.getMeta():null;a0e(h0e)&&s0e.push(d0e)}}),cloneByNamePathList($P.store,s0e.map(getNamePath))}),_defineProperty$5(this,"getFieldValue",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e);return get$6($P.store,r0e)}),_defineProperty$5(this,"getFieldsError",function(t0e){$P.warningUnhooked();var r0e=$P.getFieldEntitiesForNamePathList(t0e);return r0e.map(function(n0e,a0e){return n0e&&!("INVALIDATE_NAME_PATH"in n0e)?{name:n0e.getNamePath(),errors:n0e.getErrors(),warnings:n0e.getWarnings()}:{name:getNamePath(t0e[a0e]),errors:[],warnings:[]}})}),_defineProperty$5(this,"getFieldError",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e),n0e=$P.getFieldsError([r0e])[0];return n0e.errors}),_defineProperty$5(this,"getFieldWarning",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e),n0e=$P.getFieldsError([r0e])[0];return n0e.warnings}),_defineProperty$5(this,"isFieldsTouched",function(){$P.warningUnhooked();for(var t0e=arguments.length,r0e=new Array(t0e),n0e=0;n0e0&&arguments[0]!==void 0?arguments[0]:{},r0e=new NameMap,n0e=$P.getFieldEntities(!0);n0e.forEach(function(i0e){var s0e=i0e.props.initialValue,l0e=i0e.getNamePath();if(s0e!==void 0){var c0e=r0e.get(l0e)||new Set;c0e.add({entity:i0e,value:s0e}),r0e.set(l0e,c0e)}});var a0e=function(s0e){s0e.forEach(function(l0e){var c0e=l0e.props.initialValue;if(c0e!==void 0){var u0e=l0e.getNamePath(),d0e=$P.getInitialValue(u0e);if(d0e!==void 0)warningOnce$1(!1,"Form already set 'initialValues' with path '".concat(u0e.join("."),"'. Field can not overwrite it."));else{var p0e=r0e.get(u0e);if(p0e&&p0e.size>1)warningOnce$1(!1,"Multiple Field with path '".concat(u0e.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(p0e){var f0e=$P.getFieldValue(u0e),h0e=l0e.isListField();!h0e&&(!t0e.skipExist||f0e===void 0)&&$P.updateStore(set$4($P.store,u0e,_toConsumableArray$2(p0e)[0].value))}}}})},o0e;t0e.entities?o0e=t0e.entities:t0e.namePathList?(o0e=[],t0e.namePathList.forEach(function(i0e){var s0e=r0e.get(i0e);if(s0e){var l0e;(l0e=o0e).push.apply(l0e,_toConsumableArray$2(_toConsumableArray$2(s0e).map(function(c0e){return c0e.entity})))}})):o0e=n0e,a0e(o0e)}),_defineProperty$5(this,"resetFields",function(t0e){$P.warningUnhooked();var r0e=$P.store;if(!t0e){$P.updateStore(merge$3($P.initialValues)),$P.resetWithFieldInitialValue(),$P.notifyObservers(r0e,null,{type:"reset"}),$P.notifyWatch();return}var n0e=t0e.map(getNamePath);n0e.forEach(function(a0e){var o0e=$P.getInitialValue(a0e);$P.updateStore(set$4($P.store,a0e,o0e))}),$P.resetWithFieldInitialValue({namePathList:n0e}),$P.notifyObservers(r0e,n0e,{type:"reset"}),$P.notifyWatch(n0e)}),_defineProperty$5(this,"setFields",function(t0e){$P.warningUnhooked();var r0e=$P.store,n0e=[];t0e.forEach(function(a0e){var o0e=a0e.name,i0e=_objectWithoutProperties$4(a0e,_excluded$O),s0e=getNamePath(o0e);n0e.push(s0e),"value"in i0e&&$P.updateStore(set$4($P.store,s0e,i0e.value)),$P.notifyObservers(r0e,[s0e],{type:"setField",data:a0e})}),$P.notifyWatch(n0e)}),_defineProperty$5(this,"getFields",function(){var t0e=$P.getFieldEntities(!0),r0e=t0e.map(function(n0e){var a0e=n0e.getNamePath(),o0e=n0e.getMeta(),i0e=_objectSpread2$1(_objectSpread2$1({},o0e),{},{name:a0e,value:$P.getFieldValue(a0e)});return Object.defineProperty(i0e,"originRCField",{value:!0}),i0e});return r0e}),_defineProperty$5(this,"initEntityValue",function(t0e){var r0e=t0e.props.initialValue;if(r0e!==void 0){var n0e=t0e.getNamePath(),a0e=get$6($P.store,n0e);a0e===void 0&&$P.updateStore(set$4($P.store,n0e,r0e))}}),_defineProperty$5(this,"isMergedPreserve",function(t0e){var r0e=t0e!==void 0?t0e:$P.preserve;return r0e??!0}),_defineProperty$5(this,"registerField",function(t0e){$P.fieldEntities.push(t0e);var r0e=t0e.getNamePath();if($P.notifyWatch([r0e]),t0e.props.initialValue!==void 0){var n0e=$P.store;$P.resetWithFieldInitialValue({entities:[t0e],skipExist:!0}),$P.notifyObservers(n0e,[t0e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a0e,o0e){var i0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if($P.fieldEntities=$P.fieldEntities.filter(function(c0e){return c0e!==t0e}),!$P.isMergedPreserve(o0e)&&(!a0e||i0e.length>1)){var s0e=a0e?void 0:$P.getInitialValue(r0e);if(r0e.length&&$P.getFieldValue(r0e)!==s0e&&$P.fieldEntities.every(function(c0e){return!matchNamePath(c0e.getNamePath(),r0e)})){var l0e=$P.store;$P.updateStore(set$4(l0e,r0e,s0e,!0)),$P.notifyObservers(l0e,[r0e],{type:"remove"}),$P.triggerDependenciesUpdate(l0e,r0e)}}$P.notifyWatch([r0e])}}),_defineProperty$5(this,"dispatch",function(t0e){switch(t0e.type){case"updateValue":{var r0e=t0e.namePath,n0e=t0e.value;$P.updateValue(r0e,n0e);break}case"validateField":{var a0e=t0e.namePath,o0e=t0e.triggerName;$P.validateFields([a0e],{triggerName:o0e});break}}}),_defineProperty$5(this,"notifyObservers",function(t0e,r0e,n0e){if($P.subscribable){var a0e=_objectSpread2$1(_objectSpread2$1({},n0e),{},{store:$P.getFieldsValue(!0)});$P.getFieldEntities().forEach(function(o0e){var i0e=o0e.onStoreChange;i0e(t0e,r0e,a0e)})}else $P.forceRootUpdate()}),_defineProperty$5(this,"triggerDependenciesUpdate",function(t0e,r0e){var n0e=$P.getDependencyChildrenFields(r0e);return n0e.length&&$P.validateFields(n0e),$P.notifyObservers(t0e,n0e,{type:"dependenciesUpdate",relatedFields:[r0e].concat(_toConsumableArray$2(n0e))}),n0e}),_defineProperty$5(this,"updateValue",function(t0e,r0e){var n0e=getNamePath(t0e),a0e=$P.store;$P.updateStore(set$4($P.store,n0e,r0e)),$P.notifyObservers(a0e,[n0e],{type:"valueUpdate",source:"internal"}),$P.notifyWatch([n0e]);var o0e=$P.triggerDependenciesUpdate(a0e,n0e),i0e=$P.callbacks.onValuesChange;if(i0e){var s0e=cloneByNamePathList($P.store,[n0e]);i0e(s0e,$P.getFieldsValue())}$P.triggerOnFieldsChange([n0e].concat(_toConsumableArray$2(o0e)))}),_defineProperty$5(this,"setFieldsValue",function(t0e){$P.warningUnhooked();var r0e=$P.store;if(t0e){var n0e=merge$3($P.store,t0e);$P.updateStore(n0e)}$P.notifyObservers(r0e,null,{type:"valueUpdate",source:"external"}),$P.notifyWatch()}),_defineProperty$5(this,"setFieldValue",function(t0e,r0e){$P.setFields([{name:t0e,value:r0e}])}),_defineProperty$5(this,"getDependencyChildrenFields",function(t0e){var r0e=new Set,n0e=[],a0e=new NameMap;$P.getFieldEntities().forEach(function(i0e){var s0e=i0e.props.dependencies;(s0e||[]).forEach(function(l0e){var c0e=getNamePath(l0e);a0e.update(c0e,function(){var u0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return u0e.add(i0e),u0e})})});var o0e=function i0e(s0e){var l0e=a0e.get(s0e)||new Set;l0e.forEach(function(c0e){if(!r0e.has(c0e)){r0e.add(c0e);var u0e=c0e.getNamePath();c0e.isFieldDirty()&&u0e.length&&(n0e.push(u0e),i0e(u0e))}})};return o0e(t0e),n0e}),_defineProperty$5(this,"triggerOnFieldsChange",function(t0e,r0e){var n0e=$P.callbacks.onFieldsChange;if(n0e){var a0e=$P.getFields();if(r0e){var o0e=new NameMap;r0e.forEach(function(s0e){var l0e=s0e.name,c0e=s0e.errors;o0e.set(l0e,c0e)}),a0e.forEach(function(s0e){s0e.errors=o0e.get(s0e.name)||s0e.errors})}var i0e=a0e.filter(function(s0e){var l0e=s0e.name;return containsNamePath(t0e,l0e)});i0e.length&&n0e(i0e,a0e)}}),_defineProperty$5(this,"validateFields",function(t0e,r0e){$P.warningUnhooked();var n0e,a0e;Array.isArray(t0e)||typeof t0e=="string"||typeof r0e=="string"?(n0e=t0e,a0e=r0e):a0e=t0e;var o0e=!!n0e,i0e=o0e?n0e.map(getNamePath):[],s0e=[],l0e=String(Date.now()),c0e=new Set,u0e=a0e||{},d0e=u0e.recursive,p0e=u0e.dirty;$P.getFieldEntities(!0).forEach(function(m0e){if(o0e||i0e.push(m0e.getNamePath()),!(!m0e.props.rules||!m0e.props.rules.length)&&!(p0e&&!m0e.isFieldDirty())){var v0e=m0e.getNamePath();if(c0e.add(v0e.join(l0e)),!o0e||containsNamePath(i0e,v0e,d0e)){var g0e=m0e.validateRules(_objectSpread2$1({validateMessages:_objectSpread2$1(_objectSpread2$1({},defaultValidateMessages),$P.validateMessages)},a0e));s0e.push(g0e.then(function(){return{name:v0e,errors:[],warnings:[]}}).catch(function(y0e){var M0e,O0e=[],z0e=[];return(M0e=y0e.forEach)===null||M0e===void 0||M0e.call(y0e,function(_0e){var A0e=_0e.rule.warningOnly,$0e=_0e.errors;A0e?z0e.push.apply(z0e,_toConsumableArray$2($0e)):O0e.push.apply(O0e,_toConsumableArray$2($0e))}),O0e.length?Promise.reject({name:v0e,errors:O0e,warnings:z0e}):{name:v0e,errors:O0e,warnings:z0e}}))}}});var f0e=allPromiseFinish(s0e);$P.lastValidatePromise=f0e,f0e.catch(function(m0e){return m0e}).then(function(m0e){var v0e=m0e.map(function(g0e){var y0e=g0e.name;return y0e});$P.notifyObservers($P.store,v0e,{type:"validateFinish"}),$P.triggerOnFieldsChange(v0e,m0e)});var h0e=f0e.then(function(){return $P.lastValidatePromise===f0e?Promise.resolve($P.getFieldsValue(i0e)):Promise.reject([])}).catch(function(m0e){var v0e=m0e.filter(function(g0e){return g0e&&g0e.errors.length});return Promise.reject({values:$P.getFieldsValue(i0e),errorFields:v0e,outOfDate:$P.lastValidatePromise!==f0e})});h0e.catch(function(m0e){return m0e});var b0e=i0e.filter(function(m0e){return c0e.has(m0e.join(l0e))});return $P.triggerOnFieldsChange(b0e),h0e}),_defineProperty$5(this,"submit",function(){$P.warningUnhooked(),$P.validateFields().then(function(t0e){var r0e=$P.callbacks.onFinish;if(r0e)try{r0e(t0e)}catch(n0e){console.error(n0e)}}).catch(function(t0e){var r0e=$P.callbacks.onFinishFailed;r0e&&r0e(t0e)})}),this.forceRootUpdate=e0e});function useForm$2(x_){var e0e=reactExports.useRef(),$P=reactExports.useState({}),t0e=_slicedToArray$3($P,2),r0e=t0e[1];if(!e0e.current)if(x_)e0e.current=x_;else{var n0e=function(){r0e({})},a0e=new FormStore$1(n0e);e0e.current=a0e.getForm()}return[e0e.current]}var FormContext$1=reactExports.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),FormProvider$2=function(e0e){var $P=e0e.validateMessages,t0e=e0e.onFormChange,r0e=e0e.onFormFinish,n0e=e0e.children,a0e=reactExports.useContext(FormContext$1),o0e=reactExports.useRef({});return reactExports.createElement(FormContext$1.Provider,{value:_objectSpread2$1(_objectSpread2$1({},a0e),{},{validateMessages:_objectSpread2$1(_objectSpread2$1({},a0e.validateMessages),$P),triggerFormChange:function(s0e,l0e){t0e&&t0e(s0e,{changedFields:l0e,forms:o0e.current}),a0e.triggerFormChange(s0e,l0e)},triggerFormFinish:function(s0e,l0e){r0e&&r0e(s0e,{values:l0e,forms:o0e.current}),a0e.triggerFormFinish(s0e,l0e)},registerForm:function(s0e,l0e){s0e&&(o0e.current=_objectSpread2$1(_objectSpread2$1({},o0e.current),{},_defineProperty$5({},s0e,l0e))),a0e.registerForm(s0e,l0e)},unregisterForm:function(s0e){var l0e=_objectSpread2$1({},o0e.current);delete l0e[s0e],o0e.current=l0e,a0e.unregisterForm(s0e)}})},n0e)},_excluded$N=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Form$6=function(e0e,$P){var t0e=e0e.name,r0e=e0e.initialValues,n0e=e0e.fields,a0e=e0e.form,o0e=e0e.preserve,i0e=e0e.children,s0e=e0e.component,l0e=s0e===void 0?"form":s0e,c0e=e0e.validateMessages,u0e=e0e.validateTrigger,d0e=u0e===void 0?"onChange":u0e,p0e=e0e.onValuesChange,f0e=e0e.onFieldsChange,h0e=e0e.onFinish,b0e=e0e.onFinishFailed,m0e=_objectWithoutProperties$4(e0e,_excluded$N),v0e=reactExports.useContext(FormContext$1),g0e=useForm$2(a0e),y0e=_slicedToArray$3(g0e,1),M0e=y0e[0],O0e=M0e.getInternalHooks(HOOK_MARK),z0e=O0e.useSubscribe,_0e=O0e.setInitialValues,A0e=O0e.setCallbacks,$0e=O0e.setValidateMessages,S0e=O0e.setPreserve,C0e=O0e.destroyForm;reactExports.useImperativeHandle($P,function(){return M0e}),reactExports.useEffect(function(){return v0e.registerForm(t0e,M0e),function(){v0e.unregisterForm(t0e)}},[v0e,M0e,t0e]),$0e(_objectSpread2$1(_objectSpread2$1({},v0e.validateMessages),c0e)),A0e({onValuesChange:p0e,onFieldsChange:function(N0e){if(v0e.triggerFormChange(t0e,N0e),f0e){for(var j0e=arguments.length,P0e=new Array(j0e>1?j0e-1:0),I0e=1;I0e{}}),NoStyleItemContext=reactExports.createContext(null),FormProvider$1=x_=>{const e0e=omit$2(x_,["prefixCls"]);return reactExports.createElement(FormProvider$2,Object.assign({},e0e))},FormItemPrefixContext=reactExports.createContext({prefixCls:""}),FormItemInputContext=reactExports.createContext({}),NoFormStyle=x_=>{let{children:e0e,status:$P,override:t0e}=x_;const r0e=reactExports.useContext(FormItemInputContext),n0e=reactExports.useMemo(()=>{const a0e=Object.assign({},r0e);return t0e&&delete a0e.isFormItemInput,$P&&(delete a0e.status,delete a0e.hasFeedback,delete a0e.feedbackIcon),a0e},[$P,t0e,r0e]);return reactExports.createElement(FormItemInputContext.Provider,{value:n0e},e0e)};function voidFunc(){}const WatermarkContext=reactExports.createContext({add:voidFunc,remove:voidFunc});function usePanelRef(x_){const e0e=reactExports.useContext(WatermarkContext),$P=reactExports.useRef();return useEvent(r0e=>{if(r0e){const n0e=x_?r0e.querySelector(x_):r0e;e0e.add(n0e),$P.current=n0e}else e0e.remove($P.current)})}const initMotionCommon=x_=>({animationDuration:x_,animationFillMode:"both"}),initMotionCommonLeave=x_=>({animationDuration:x_,animationFillMode:"both"}),initMotion=function(x_,e0e,$P,t0e){const n0e=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` +`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),n0e=new RegExp("(?:^"+$P+"$)|(?:^"+r0e+"$)"),a0e=new RegExp("^"+$P+"$"),o0e=new RegExp("^"+r0e+"$"),i0e=function(g0e){return g0e&&g0e.exact?n0e:new RegExp("(?:"+e0e(g0e)+$P+e0e(g0e)+")|(?:"+e0e(g0e)+r0e+e0e(g0e)+")","g")};i0e.v4=function(v0e){return v0e&&v0e.exact?a0e:new RegExp(""+e0e(v0e)+$P+e0e(v0e),"g")},i0e.v6=function(v0e){return v0e&&v0e.exact?o0e:new RegExp(""+e0e(v0e)+r0e+e0e(v0e),"g")};var s0e="(?:(?:[a-z]+:)?//)",l0e="(?:\\S+(?::\\S*)?@)?",c0e=i0e.v4().source,u0e=i0e.v6().source,d0e="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",p0e="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",f0e="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",h0e="(?::\\d{2,5})?",b0e='(?:[/?#][^\\s"]*)?',m0e="(?:"+s0e+"|www\\.)"+l0e+"(?:localhost|"+c0e+"|"+u0e+"|"+d0e+p0e+f0e+")"+h0e+b0e;return urlReg=new RegExp("(?:^"+m0e+"$)","i"),urlReg},pattern$2={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},types$1={integer:function(e0e){return types$1.number(e0e)&&parseInt(e0e,10)===e0e},float:function(e0e){return types$1.number(e0e)&&!types$1.integer(e0e)},array:function(e0e){return Array.isArray(e0e)},regexp:function(e0e){if(e0e instanceof RegExp)return!0;try{return!!new RegExp(e0e)}catch{return!1}},date:function(e0e){return typeof e0e.getTime=="function"&&typeof e0e.getMonth=="function"&&typeof e0e.getYear=="function"&&!isNaN(e0e.getTime())},number:function(e0e){return isNaN(e0e)?!1:typeof e0e=="number"},object:function(e0e){return typeof e0e=="object"&&!types$1.array(e0e)},method:function(e0e){return typeof e0e=="function"},email:function(e0e){return typeof e0e=="string"&&e0e.length<=320&&!!e0e.match(pattern$2.email)},url:function(e0e){return typeof e0e=="string"&&e0e.length<=2048&&!!e0e.match(getUrlRegex())},hex:function(e0e){return typeof e0e=="string"&&!!e0e.match(pattern$2.hex)}},type$1=function(e0e,$P,t0e,r0e,n0e){if(e0e.required&&$P===void 0){required$1(e0e,$P,t0e,r0e,n0e);return}var a0e=["integer","float","array","regexp","object","method","email","number","date","url","hex"],o0e=e0e.type;a0e.indexOf(o0e)>-1?types$1[o0e]($P)||r0e.push(format$2(n0e.messages.types[o0e],e0e.fullField,e0e.type)):o0e&&typeof $P!==e0e.type&&r0e.push(format$2(n0e.messages.types[o0e],e0e.fullField,e0e.type))},range$3=function(e0e,$P,t0e,r0e,n0e){var a0e=typeof e0e.len=="number",o0e=typeof e0e.min=="number",i0e=typeof e0e.max=="number",s0e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l0e=$P,c0e=null,u0e=typeof $P=="number",d0e=typeof $P=="string",p0e=Array.isArray($P);if(u0e?c0e="number":d0e?c0e="string":p0e&&(c0e="array"),!c0e)return!1;p0e&&(l0e=$P.length),d0e&&(l0e=$P.replace(s0e,"_").length),a0e?l0e!==e0e.len&&r0e.push(format$2(n0e.messages[c0e].len,e0e.fullField,e0e.len)):o0e&&!i0e&&l0ee0e.max?r0e.push(format$2(n0e.messages[c0e].max,e0e.fullField,e0e.max)):o0e&&i0e&&(l0ee0e.max)&&r0e.push(format$2(n0e.messages[c0e].range,e0e.fullField,e0e.min,e0e.max))},ENUM$1="enum",enumerable$1=function(e0e,$P,t0e,r0e,n0e){e0e[ENUM$1]=Array.isArray(e0e[ENUM$1])?e0e[ENUM$1]:[],e0e[ENUM$1].indexOf($P)===-1&&r0e.push(format$2(n0e.messages[ENUM$1],e0e.fullField,e0e[ENUM$1].join(", ")))},pattern$1=function(e0e,$P,t0e,r0e,n0e){if(e0e.pattern){if(e0e.pattern instanceof RegExp)e0e.pattern.lastIndex=0,e0e.pattern.test($P)||r0e.push(format$2(n0e.messages.pattern.mismatch,e0e.fullField,$P,e0e.pattern));else if(typeof e0e.pattern=="string"){var a0e=new RegExp(e0e.pattern);a0e.test($P)||r0e.push(format$2(n0e.messages.pattern.mismatch,e0e.fullField,$P,e0e.pattern))}}},rules={required:required$1,whitespace,type:type$1,range:range$3,enum:enumerable$1,pattern:pattern$1},string$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"string")&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e,"string"),isEmptyValue($P,"string")||(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e),rules.pattern(e0e,$P,r0e,a0e,n0e),e0e.whitespace===!0&&rules.whitespace(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},method=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},number$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if($P===""&&($P=void 0),isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},_boolean=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},regexp=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),isEmptyValue($P)||rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},integer$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},floatFn=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},array$1=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if($P==null&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e,"array"),$P!=null&&(rules.type(e0e,$P,r0e,a0e,n0e),rules.range(e0e,$P,r0e,a0e,n0e))}t0e(a0e)},object=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules.type(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},ENUM="enum",enumerable=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),$P!==void 0&&rules[ENUM](e0e,$P,r0e,a0e,n0e)}t0e(a0e)},pattern=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"string")&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e),isEmptyValue($P,"string")||rules.pattern(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},date=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P,"date")&&!e0e.required)return t0e();if(rules.required(e0e,$P,r0e,a0e,n0e),!isEmptyValue($P,"date")){var i0e;$P instanceof Date?i0e=$P:i0e=new Date($P),rules.type(e0e,i0e,r0e,a0e,n0e),i0e&&rules.range(e0e,i0e.getTime(),r0e,a0e,n0e)}}t0e(a0e)},required=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=Array.isArray($P)?"array":typeof $P;rules.required(e0e,$P,r0e,a0e,n0e,o0e),t0e(a0e)},type=function(e0e,$P,t0e,r0e,n0e){var a0e=e0e.type,o0e=[],i0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(i0e){if(isEmptyValue($P,a0e)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,o0e,n0e,a0e),isEmptyValue($P,a0e)||rules.type(e0e,$P,r0e,o0e,n0e)}t0e(o0e)},any=function(e0e,$P,t0e,r0e,n0e){var a0e=[],o0e=e0e.required||!e0e.required&&r0e.hasOwnProperty(e0e.field);if(o0e){if(isEmptyValue($P)&&!e0e.required)return t0e();rules.required(e0e,$P,r0e,a0e,n0e)}t0e(a0e)},validators={string:string$1,method,number:number$1,boolean:_boolean,regexp,integer:integer$1,float:floatFn,array:array$1,object,enum:enumerable,pattern,date,url:type,hex:type,email:type,required,any};function newMessages(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e0e=JSON.parse(JSON.stringify(this));return e0e.clone=this.clone,e0e}}}var messages=newMessages(),Schema=function(){function x_($P){this.rules=null,this._messages=messages,this.define($P)}var e0e=x_.prototype;return e0e.define=function(t0e){var r0e=this;if(!t0e)throw new Error("Cannot configure a schema with no rules");if(typeof t0e!="object"||Array.isArray(t0e))throw new Error("Rules must be an object");this.rules={},Object.keys(t0e).forEach(function(n0e){var a0e=t0e[n0e];r0e.rules[n0e]=Array.isArray(a0e)?a0e:[a0e]})},e0e.messages=function(t0e){return t0e&&(this._messages=deepMerge(newMessages(),t0e)),this._messages},e0e.validate=function(t0e,r0e,n0e){var a0e=this;r0e===void 0&&(r0e={}),n0e===void 0&&(n0e=function(){});var o0e=t0e,i0e=r0e,s0e=n0e;if(typeof i0e=="function"&&(s0e=i0e,i0e={}),!this.rules||Object.keys(this.rules).length===0)return s0e&&s0e(null,o0e),Promise.resolve(o0e);function l0e(f0e){var h0e=[],b0e={};function m0e(g0e){if(Array.isArray(g0e)){var y0e;h0e=(y0e=h0e).concat.apply(y0e,g0e)}else h0e.push(g0e)}for(var v0e=0;v0e2&&arguments[2]!==void 0?arguments[2]:!1;return x_&&x_.some(function(t0e){return matchNamePath(e0e,t0e,$P)})}function matchNamePath(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!x_||!e0e||!$P&&x_.length!==e0e.length?!1:e0e.every(function(t0e,r0e){return x_[r0e]===t0e})}function isSimilar(x_,e0e){if(x_===e0e)return!0;if(!x_&&e0e||x_&&!e0e||!x_||!e0e||_typeof$2(x_)!=="object"||_typeof$2(e0e)!=="object")return!1;var $P=Object.keys(x_),t0e=Object.keys(e0e),r0e=new Set([].concat($P,t0e));return _toConsumableArray$2(r0e).every(function(n0e){var a0e=x_[n0e],o0e=e0e[n0e];return typeof a0e=="function"&&typeof o0e=="function"?!0:a0e===o0e})}function defaultGetValueFromEvent(x_){var e0e=arguments.length<=1?void 0:arguments[1];return e0e&&e0e.target&&_typeof$2(e0e.target)==="object"&&x_ in e0e.target?e0e.target[x_]:e0e}function move(x_,e0e,$P){var t0e=x_.length;if(e0e<0||e0e>=t0e||$P<0||$P>=t0e)return x_;var r0e=x_[e0e],n0e=e0e-$P;return n0e>0?[].concat(_toConsumableArray$2(x_.slice(0,$P)),[r0e],_toConsumableArray$2(x_.slice($P,e0e)),_toConsumableArray$2(x_.slice(e0e+1,t0e))):n0e<0?[].concat(_toConsumableArray$2(x_.slice(0,e0e)),_toConsumableArray$2(x_.slice(e0e+1,$P+1)),[r0e],_toConsumableArray$2(x_.slice($P+1,t0e))):x_}var _excluded$P=["name"],EMPTY_ERRORS=[];function requireUpdate(x_,e0e,$P,t0e,r0e,n0e){return typeof x_=="function"?x_(e0e,$P,"source"in n0e?{source:n0e.source}:{}):t0e!==r0e}var Field=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){var r0e;if(_classCallCheck$1(this,$P),r0e=e0e.call(this,t0e),_defineProperty$5(_assertThisInitialized$1(r0e),"state",{resetCount:0}),_defineProperty$5(_assertThisInitialized$1(r0e),"cancelRegisterFunc",null),_defineProperty$5(_assertThisInitialized$1(r0e),"mounted",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"touched",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"dirty",!1),_defineProperty$5(_assertThisInitialized$1(r0e),"validatePromise",void 0),_defineProperty$5(_assertThisInitialized$1(r0e),"prevValidating",void 0),_defineProperty$5(_assertThisInitialized$1(r0e),"errors",EMPTY_ERRORS),_defineProperty$5(_assertThisInitialized$1(r0e),"warnings",EMPTY_ERRORS),_defineProperty$5(_assertThisInitialized$1(r0e),"cancelRegister",function(){var i0e=r0e.props,s0e=i0e.preserve,l0e=i0e.isListField,c0e=i0e.name;r0e.cancelRegisterFunc&&r0e.cancelRegisterFunc(l0e,s0e,getNamePath(c0e)),r0e.cancelRegisterFunc=null}),_defineProperty$5(_assertThisInitialized$1(r0e),"getNamePath",function(){var i0e=r0e.props,s0e=i0e.name,l0e=i0e.fieldContext,c0e=l0e.prefixName,u0e=c0e===void 0?[]:c0e;return s0e!==void 0?[].concat(_toConsumableArray$2(u0e),_toConsumableArray$2(s0e)):[]}),_defineProperty$5(_assertThisInitialized$1(r0e),"getRules",function(){var i0e=r0e.props,s0e=i0e.rules,l0e=s0e===void 0?[]:s0e,c0e=i0e.fieldContext;return l0e.map(function(u0e){return typeof u0e=="function"?u0e(c0e):u0e})}),_defineProperty$5(_assertThisInitialized$1(r0e),"refresh",function(){r0e.mounted&&r0e.setState(function(i0e){var s0e=i0e.resetCount;return{resetCount:s0e+1}})}),_defineProperty$5(_assertThisInitialized$1(r0e),"metaCache",null),_defineProperty$5(_assertThisInitialized$1(r0e),"triggerMetaEvent",function(i0e){var s0e=r0e.props.onMetaChange;if(s0e){var l0e=_objectSpread2$1(_objectSpread2$1({},r0e.getMeta()),{},{destroy:i0e});isEqual(r0e.metaCache,l0e)||s0e(l0e),r0e.metaCache=l0e}else r0e.metaCache=null}),_defineProperty$5(_assertThisInitialized$1(r0e),"onStoreChange",function(i0e,s0e,l0e){var c0e=r0e.props,u0e=c0e.shouldUpdate,d0e=c0e.dependencies,p0e=d0e===void 0?[]:d0e,f0e=c0e.onReset,h0e=l0e.store,b0e=r0e.getNamePath(),m0e=r0e.getValue(i0e),v0e=r0e.getValue(h0e),g0e=s0e&&containsNamePath(s0e,b0e);switch(l0e.type==="valueUpdate"&&l0e.source==="external"&&m0e!==v0e&&(r0e.touched=!0,r0e.dirty=!0,r0e.validatePromise=null,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent()),l0e.type){case"reset":if(!s0e||g0e){r0e.touched=!1,r0e.dirty=!1,r0e.validatePromise=void 0,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent(),f0e==null||f0e(),r0e.refresh();return}break;case"remove":{if(u0e){r0e.reRender();return}break}case"setField":{var y0e=l0e.data;if(g0e){"touched"in y0e&&(r0e.touched=y0e.touched),"validating"in y0e&&!("originRCField"in y0e)&&(r0e.validatePromise=y0e.validating?Promise.resolve([]):null),"errors"in y0e&&(r0e.errors=y0e.errors||EMPTY_ERRORS),"warnings"in y0e&&(r0e.warnings=y0e.warnings||EMPTY_ERRORS),r0e.dirty=!0,r0e.triggerMetaEvent(),r0e.reRender();return}else if("value"in y0e&&containsNamePath(s0e,b0e,!0)){r0e.reRender();return}if(u0e&&!b0e.length&&requireUpdate(u0e,i0e,h0e,m0e,v0e,l0e)){r0e.reRender();return}break}case"dependenciesUpdate":{var M0e=p0e.map(getNamePath);if(M0e.some(function(O0e){return containsNamePath(l0e.relatedFields,O0e)})){r0e.reRender();return}break}default:if(g0e||(!p0e.length||b0e.length||u0e)&&requireUpdate(u0e,i0e,h0e,m0e,v0e,l0e)){r0e.reRender();return}break}u0e===!0&&r0e.reRender()}),_defineProperty$5(_assertThisInitialized$1(r0e),"validateRules",function(i0e){var s0e=r0e.getNamePath(),l0e=r0e.getValue(),c0e=i0e||{},u0e=c0e.triggerName,d0e=c0e.validateOnly,p0e=d0e===void 0?!1:d0e,f0e=Promise.resolve().then(_asyncToGenerator$1(_regeneratorRuntime$1().mark(function h0e(){var b0e,m0e,v0e,g0e,y0e,M0e,O0e;return _regeneratorRuntime$1().wrap(function(_0e){for(;;)switch(_0e.prev=_0e.next){case 0:if(r0e.mounted){_0e.next=2;break}return _0e.abrupt("return",[]);case 2:if(b0e=r0e.props,m0e=b0e.validateFirst,v0e=m0e===void 0?!1:m0e,g0e=b0e.messageVariables,y0e=b0e.validateDebounce,M0e=r0e.getRules(),u0e&&(M0e=M0e.filter(function(A0e){return A0e}).filter(function(A0e){var $0e=A0e.validateTrigger;if(!$0e)return!0;var S0e=toArray$5($0e);return S0e.includes(u0e)})),!(y0e&&u0e)){_0e.next=10;break}return _0e.next=8,new Promise(function(A0e){setTimeout(A0e,y0e)});case 8:if(r0e.validatePromise===f0e){_0e.next=10;break}return _0e.abrupt("return",[]);case 10:return O0e=validateRules(s0e,l0e,M0e,i0e,v0e,g0e),O0e.catch(function(A0e){return A0e}).then(function(){var A0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:EMPTY_ERRORS;if(r0e.validatePromise===f0e){var $0e;r0e.validatePromise=null;var S0e=[],C0e=[];($0e=A0e.forEach)===null||$0e===void 0||$0e.call(A0e,function(E0e){var w0e=E0e.rule.warningOnly,R0e=E0e.errors,T0e=R0e===void 0?EMPTY_ERRORS:R0e;w0e?C0e.push.apply(C0e,_toConsumableArray$2(T0e)):S0e.push.apply(S0e,_toConsumableArray$2(T0e))}),r0e.errors=S0e,r0e.warnings=C0e,r0e.triggerMetaEvent(),r0e.reRender()}}),_0e.abrupt("return",O0e);case 13:case"end":return _0e.stop()}},h0e)})));return p0e||(r0e.validatePromise=f0e,r0e.dirty=!0,r0e.errors=EMPTY_ERRORS,r0e.warnings=EMPTY_ERRORS,r0e.triggerMetaEvent(),r0e.reRender()),f0e}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldValidating",function(){return!!r0e.validatePromise}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldTouched",function(){return r0e.touched}),_defineProperty$5(_assertThisInitialized$1(r0e),"isFieldDirty",function(){if(r0e.dirty||r0e.props.initialValue!==void 0)return!0;var i0e=r0e.props.fieldContext,s0e=i0e.getInternalHooks(HOOK_MARK),l0e=s0e.getInitialValue;return l0e(r0e.getNamePath())!==void 0}),_defineProperty$5(_assertThisInitialized$1(r0e),"getErrors",function(){return r0e.errors}),_defineProperty$5(_assertThisInitialized$1(r0e),"getWarnings",function(){return r0e.warnings}),_defineProperty$5(_assertThisInitialized$1(r0e),"isListField",function(){return r0e.props.isListField}),_defineProperty$5(_assertThisInitialized$1(r0e),"isList",function(){return r0e.props.isList}),_defineProperty$5(_assertThisInitialized$1(r0e),"isPreserve",function(){return r0e.props.preserve}),_defineProperty$5(_assertThisInitialized$1(r0e),"getMeta",function(){r0e.prevValidating=r0e.isFieldValidating();var i0e={touched:r0e.isFieldTouched(),validating:r0e.prevValidating,errors:r0e.errors,warnings:r0e.warnings,name:r0e.getNamePath(),validated:r0e.validatePromise===null};return i0e}),_defineProperty$5(_assertThisInitialized$1(r0e),"getOnlyChild",function(i0e){if(typeof i0e=="function"){var s0e=r0e.getMeta();return _objectSpread2$1(_objectSpread2$1({},r0e.getOnlyChild(i0e(r0e.getControlled(),s0e,r0e.props.fieldContext))),{},{isFunction:!0})}var l0e=toArray$6(i0e);return l0e.length!==1||!reactExports.isValidElement(l0e[0])?{child:l0e,isFunction:!1}:{child:l0e[0],isFunction:!1}}),_defineProperty$5(_assertThisInitialized$1(r0e),"getValue",function(i0e){var s0e=r0e.props.fieldContext.getFieldsValue,l0e=r0e.getNamePath();return get$6(i0e||s0e(!0),l0e)}),_defineProperty$5(_assertThisInitialized$1(r0e),"getControlled",function(){var i0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s0e=r0e.props,l0e=s0e.trigger,c0e=s0e.validateTrigger,u0e=s0e.getValueFromEvent,d0e=s0e.normalize,p0e=s0e.valuePropName,f0e=s0e.getValueProps,h0e=s0e.fieldContext,b0e=c0e!==void 0?c0e:h0e.validateTrigger,m0e=r0e.getNamePath(),v0e=h0e.getInternalHooks,g0e=h0e.getFieldsValue,y0e=v0e(HOOK_MARK),M0e=y0e.dispatch,O0e=r0e.getValue(),z0e=f0e||function(S0e){return _defineProperty$5({},p0e,S0e)},_0e=i0e[l0e],A0e=_objectSpread2$1(_objectSpread2$1({},i0e),z0e(O0e));A0e[l0e]=function(){r0e.touched=!0,r0e.dirty=!0,r0e.triggerMetaEvent();for(var S0e,C0e=arguments.length,E0e=new Array(C0e),w0e=0;w0e=0&&A0e<=$0e.length?(l0e.keys=[].concat(_toConsumableArray$2(l0e.keys.slice(0,A0e)),[l0e.id],_toConsumableArray$2(l0e.keys.slice(A0e))),v0e([].concat(_toConsumableArray$2($0e.slice(0,A0e)),[_0e],_toConsumableArray$2($0e.slice(A0e))))):(l0e.keys=[].concat(_toConsumableArray$2(l0e.keys),[l0e.id]),v0e([].concat(_toConsumableArray$2($0e),[_0e]))),l0e.id+=1},remove:function(_0e){var A0e=y0e(),$0e=new Set(Array.isArray(_0e)?_0e:[_0e]);$0e.size<=0||(l0e.keys=l0e.keys.filter(function(S0e,C0e){return!$0e.has(C0e)}),v0e(A0e.filter(function(S0e,C0e){return!$0e.has(C0e)})))},move:function(_0e,A0e){if(_0e!==A0e){var $0e=y0e();_0e<0||_0e>=$0e.length||A0e<0||A0e>=$0e.length||(l0e.keys=move(l0e.keys,_0e,A0e),v0e(move($0e,_0e,A0e)))}}},O0e=m0e||[];return Array.isArray(O0e)||(O0e=[]),t0e(O0e.map(function(z0e,_0e){var A0e=l0e.keys[_0e];return A0e===void 0&&(l0e.keys[_0e]=l0e.id,A0e=l0e.keys[_0e],l0e.id+=1),{name:_0e,key:A0e,isListField:!0}}),M0e,h0e)})))}function allPromiseFinish(x_){var e0e=!1,$P=x_.length,t0e=[];return x_.length?new Promise(function(r0e,n0e){x_.forEach(function(a0e,o0e){a0e.catch(function(i0e){return e0e=!0,i0e}).then(function(i0e){$P-=1,t0e[o0e]=i0e,!($P>0)&&(e0e&&n0e(t0e),r0e(t0e))})})}):Promise.resolve([])}var SPLIT="__@field_split__";function normalize(x_){return x_.map(function(e0e){return"".concat(_typeof$2(e0e),":").concat(e0e)}).join(SPLIT)}var NameMap=function(){function x_(){_classCallCheck$1(this,x_),_defineProperty$5(this,"kvs",new Map)}return _createClass$1(x_,[{key:"set",value:function($P,t0e){this.kvs.set(normalize($P),t0e)}},{key:"get",value:function($P){return this.kvs.get(normalize($P))}},{key:"update",value:function($P,t0e){var r0e=this.get($P),n0e=t0e(r0e);n0e?this.set($P,n0e):this.delete($P)}},{key:"delete",value:function($P){this.kvs.delete(normalize($P))}},{key:"map",value:function($P){return _toConsumableArray$2(this.kvs.entries()).map(function(t0e){var r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=n0e.split(SPLIT);return $P({key:o0e.map(function(i0e){var s0e=i0e.match(/^([^:]*):(.*)$/),l0e=_slicedToArray$3(s0e,3),c0e=l0e[1],u0e=l0e[2];return c0e==="number"?Number(u0e):u0e}),value:a0e})})}},{key:"toJSON",value:function(){var $P={};return this.map(function(t0e){var r0e=t0e.key,n0e=t0e.value;return $P[r0e.join(".")]=n0e,null}),$P}}]),x_}(),_excluded$O=["name"],FormStore$1=_createClass$1(function x_(e0e){var $P=this;_classCallCheck$1(this,x_),_defineProperty$5(this,"formHooked",!1),_defineProperty$5(this,"forceRootUpdate",void 0),_defineProperty$5(this,"subscribable",!0),_defineProperty$5(this,"store",{}),_defineProperty$5(this,"fieldEntities",[]),_defineProperty$5(this,"initialValues",{}),_defineProperty$5(this,"callbacks",{}),_defineProperty$5(this,"validateMessages",null),_defineProperty$5(this,"preserve",null),_defineProperty$5(this,"lastValidatePromise",null),_defineProperty$5(this,"getForm",function(){return{getFieldValue:$P.getFieldValue,getFieldsValue:$P.getFieldsValue,getFieldError:$P.getFieldError,getFieldWarning:$P.getFieldWarning,getFieldsError:$P.getFieldsError,isFieldsTouched:$P.isFieldsTouched,isFieldTouched:$P.isFieldTouched,isFieldValidating:$P.isFieldValidating,isFieldsValidating:$P.isFieldsValidating,resetFields:$P.resetFields,setFields:$P.setFields,setFieldValue:$P.setFieldValue,setFieldsValue:$P.setFieldsValue,validateFields:$P.validateFields,submit:$P.submit,_init:!0,getInternalHooks:$P.getInternalHooks}}),_defineProperty$5(this,"getInternalHooks",function(t0e){return t0e===HOOK_MARK?($P.formHooked=!0,{dispatch:$P.dispatch,initEntityValue:$P.initEntityValue,registerField:$P.registerField,useSubscribe:$P.useSubscribe,setInitialValues:$P.setInitialValues,destroyForm:$P.destroyForm,setCallbacks:$P.setCallbacks,setValidateMessages:$P.setValidateMessages,getFields:$P.getFields,setPreserve:$P.setPreserve,getInitialValue:$P.getInitialValue,registerWatch:$P.registerWatch}):(warningOnce$1(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),_defineProperty$5(this,"useSubscribe",function(t0e){$P.subscribable=t0e}),_defineProperty$5(this,"prevWithoutPreserves",null),_defineProperty$5(this,"setInitialValues",function(t0e,r0e){if($P.initialValues=t0e||{},r0e){var n0e,a0e=merge$3(t0e,$P.store);(n0e=$P.prevWithoutPreserves)===null||n0e===void 0||n0e.map(function(o0e){var i0e=o0e.key;a0e=set$4(a0e,i0e,get$6(t0e,i0e))}),$P.prevWithoutPreserves=null,$P.updateStore(a0e)}}),_defineProperty$5(this,"destroyForm",function(){var t0e=new NameMap;$P.getFieldEntities(!0).forEach(function(r0e){$P.isMergedPreserve(r0e.isPreserve())||t0e.set(r0e.getNamePath(),!0)}),$P.prevWithoutPreserves=t0e}),_defineProperty$5(this,"getInitialValue",function(t0e){var r0e=get$6($P.initialValues,t0e);return t0e.length?merge$3(r0e):r0e}),_defineProperty$5(this,"setCallbacks",function(t0e){$P.callbacks=t0e}),_defineProperty$5(this,"setValidateMessages",function(t0e){$P.validateMessages=t0e}),_defineProperty$5(this,"setPreserve",function(t0e){$P.preserve=t0e}),_defineProperty$5(this,"watchList",[]),_defineProperty$5(this,"registerWatch",function(t0e){return $P.watchList.push(t0e),function(){$P.watchList=$P.watchList.filter(function(r0e){return r0e!==t0e})}}),_defineProperty$5(this,"notifyWatch",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if($P.watchList.length){var r0e=$P.getFieldsValue(),n0e=$P.getFieldsValue(!0);$P.watchList.forEach(function(a0e){a0e(r0e,n0e,t0e)})}}),_defineProperty$5(this,"timeoutId",null),_defineProperty$5(this,"warningUnhooked",function(){}),_defineProperty$5(this,"updateStore",function(t0e){$P.store=t0e}),_defineProperty$5(this,"getFieldEntities",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return t0e?$P.fieldEntities.filter(function(r0e){return r0e.getNamePath().length}):$P.fieldEntities}),_defineProperty$5(this,"getFieldsMap",function(){var t0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r0e=new NameMap;return $P.getFieldEntities(t0e).forEach(function(n0e){var a0e=n0e.getNamePath();r0e.set(a0e,n0e)}),r0e}),_defineProperty$5(this,"getFieldEntitiesForNamePathList",function(t0e){if(!t0e)return $P.getFieldEntities(!0);var r0e=$P.getFieldsMap(!0);return t0e.map(function(n0e){var a0e=getNamePath(n0e);return r0e.get(a0e)||{INVALIDATE_NAME_PATH:getNamePath(n0e)}})}),_defineProperty$5(this,"getFieldsValue",function(t0e,r0e){$P.warningUnhooked();var n0e,a0e,o0e;if(t0e===!0||Array.isArray(t0e)?(n0e=t0e,a0e=r0e):t0e&&_typeof$2(t0e)==="object"&&(o0e=t0e.strict,a0e=t0e.filter),n0e===!0&&!a0e)return $P.store;var i0e=$P.getFieldEntitiesForNamePathList(Array.isArray(n0e)?n0e:null),s0e=[];return i0e.forEach(function(l0e){var c0e,u0e,d0e="INVALIDATE_NAME_PATH"in l0e?l0e.INVALIDATE_NAME_PATH:l0e.getNamePath();if(o0e){var p0e,f0e;if((p0e=(f0e=l0e).isList)!==null&&p0e!==void 0&&p0e.call(f0e))return}else if(!n0e&&(c0e=(u0e=l0e).isListField)!==null&&c0e!==void 0&&c0e.call(u0e))return;if(!a0e)s0e.push(d0e);else{var h0e="getMeta"in l0e?l0e.getMeta():null;a0e(h0e)&&s0e.push(d0e)}}),cloneByNamePathList($P.store,s0e.map(getNamePath))}),_defineProperty$5(this,"getFieldValue",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e);return get$6($P.store,r0e)}),_defineProperty$5(this,"getFieldsError",function(t0e){$P.warningUnhooked();var r0e=$P.getFieldEntitiesForNamePathList(t0e);return r0e.map(function(n0e,a0e){return n0e&&!("INVALIDATE_NAME_PATH"in n0e)?{name:n0e.getNamePath(),errors:n0e.getErrors(),warnings:n0e.getWarnings()}:{name:getNamePath(t0e[a0e]),errors:[],warnings:[]}})}),_defineProperty$5(this,"getFieldError",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e),n0e=$P.getFieldsError([r0e])[0];return n0e.errors}),_defineProperty$5(this,"getFieldWarning",function(t0e){$P.warningUnhooked();var r0e=getNamePath(t0e),n0e=$P.getFieldsError([r0e])[0];return n0e.warnings}),_defineProperty$5(this,"isFieldsTouched",function(){$P.warningUnhooked();for(var t0e=arguments.length,r0e=new Array(t0e),n0e=0;n0e0&&arguments[0]!==void 0?arguments[0]:{},r0e=new NameMap,n0e=$P.getFieldEntities(!0);n0e.forEach(function(i0e){var s0e=i0e.props.initialValue,l0e=i0e.getNamePath();if(s0e!==void 0){var c0e=r0e.get(l0e)||new Set;c0e.add({entity:i0e,value:s0e}),r0e.set(l0e,c0e)}});var a0e=function(s0e){s0e.forEach(function(l0e){var c0e=l0e.props.initialValue;if(c0e!==void 0){var u0e=l0e.getNamePath(),d0e=$P.getInitialValue(u0e);if(d0e!==void 0)warningOnce$1(!1,"Form already set 'initialValues' with path '".concat(u0e.join("."),"'. Field can not overwrite it."));else{var p0e=r0e.get(u0e);if(p0e&&p0e.size>1)warningOnce$1(!1,"Multiple Field with path '".concat(u0e.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(p0e){var f0e=$P.getFieldValue(u0e),h0e=l0e.isListField();!h0e&&(!t0e.skipExist||f0e===void 0)&&$P.updateStore(set$4($P.store,u0e,_toConsumableArray$2(p0e)[0].value))}}}})},o0e;t0e.entities?o0e=t0e.entities:t0e.namePathList?(o0e=[],t0e.namePathList.forEach(function(i0e){var s0e=r0e.get(i0e);if(s0e){var l0e;(l0e=o0e).push.apply(l0e,_toConsumableArray$2(_toConsumableArray$2(s0e).map(function(c0e){return c0e.entity})))}})):o0e=n0e,a0e(o0e)}),_defineProperty$5(this,"resetFields",function(t0e){$P.warningUnhooked();var r0e=$P.store;if(!t0e){$P.updateStore(merge$3($P.initialValues)),$P.resetWithFieldInitialValue(),$P.notifyObservers(r0e,null,{type:"reset"}),$P.notifyWatch();return}var n0e=t0e.map(getNamePath);n0e.forEach(function(a0e){var o0e=$P.getInitialValue(a0e);$P.updateStore(set$4($P.store,a0e,o0e))}),$P.resetWithFieldInitialValue({namePathList:n0e}),$P.notifyObservers(r0e,n0e,{type:"reset"}),$P.notifyWatch(n0e)}),_defineProperty$5(this,"setFields",function(t0e){$P.warningUnhooked();var r0e=$P.store,n0e=[];t0e.forEach(function(a0e){var o0e=a0e.name,i0e=_objectWithoutProperties$4(a0e,_excluded$O),s0e=getNamePath(o0e);n0e.push(s0e),"value"in i0e&&$P.updateStore(set$4($P.store,s0e,i0e.value)),$P.notifyObservers(r0e,[s0e],{type:"setField",data:a0e})}),$P.notifyWatch(n0e)}),_defineProperty$5(this,"getFields",function(){var t0e=$P.getFieldEntities(!0),r0e=t0e.map(function(n0e){var a0e=n0e.getNamePath(),o0e=n0e.getMeta(),i0e=_objectSpread2$1(_objectSpread2$1({},o0e),{},{name:a0e,value:$P.getFieldValue(a0e)});return Object.defineProperty(i0e,"originRCField",{value:!0}),i0e});return r0e}),_defineProperty$5(this,"initEntityValue",function(t0e){var r0e=t0e.props.initialValue;if(r0e!==void 0){var n0e=t0e.getNamePath(),a0e=get$6($P.store,n0e);a0e===void 0&&$P.updateStore(set$4($P.store,n0e,r0e))}}),_defineProperty$5(this,"isMergedPreserve",function(t0e){var r0e=t0e!==void 0?t0e:$P.preserve;return r0e??!0}),_defineProperty$5(this,"registerField",function(t0e){$P.fieldEntities.push(t0e);var r0e=t0e.getNamePath();if($P.notifyWatch([r0e]),t0e.props.initialValue!==void 0){var n0e=$P.store;$P.resetWithFieldInitialValue({entities:[t0e],skipExist:!0}),$P.notifyObservers(n0e,[t0e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a0e,o0e){var i0e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if($P.fieldEntities=$P.fieldEntities.filter(function(c0e){return c0e!==t0e}),!$P.isMergedPreserve(o0e)&&(!a0e||i0e.length>1)){var s0e=a0e?void 0:$P.getInitialValue(r0e);if(r0e.length&&$P.getFieldValue(r0e)!==s0e&&$P.fieldEntities.every(function(c0e){return!matchNamePath(c0e.getNamePath(),r0e)})){var l0e=$P.store;$P.updateStore(set$4(l0e,r0e,s0e,!0)),$P.notifyObservers(l0e,[r0e],{type:"remove"}),$P.triggerDependenciesUpdate(l0e,r0e)}}$P.notifyWatch([r0e])}}),_defineProperty$5(this,"dispatch",function(t0e){switch(t0e.type){case"updateValue":{var r0e=t0e.namePath,n0e=t0e.value;$P.updateValue(r0e,n0e);break}case"validateField":{var a0e=t0e.namePath,o0e=t0e.triggerName;$P.validateFields([a0e],{triggerName:o0e});break}}}),_defineProperty$5(this,"notifyObservers",function(t0e,r0e,n0e){if($P.subscribable){var a0e=_objectSpread2$1(_objectSpread2$1({},n0e),{},{store:$P.getFieldsValue(!0)});$P.getFieldEntities().forEach(function(o0e){var i0e=o0e.onStoreChange;i0e(t0e,r0e,a0e)})}else $P.forceRootUpdate()}),_defineProperty$5(this,"triggerDependenciesUpdate",function(t0e,r0e){var n0e=$P.getDependencyChildrenFields(r0e);return n0e.length&&$P.validateFields(n0e),$P.notifyObservers(t0e,n0e,{type:"dependenciesUpdate",relatedFields:[r0e].concat(_toConsumableArray$2(n0e))}),n0e}),_defineProperty$5(this,"updateValue",function(t0e,r0e){var n0e=getNamePath(t0e),a0e=$P.store;$P.updateStore(set$4($P.store,n0e,r0e)),$P.notifyObservers(a0e,[n0e],{type:"valueUpdate",source:"internal"}),$P.notifyWatch([n0e]);var o0e=$P.triggerDependenciesUpdate(a0e,n0e),i0e=$P.callbacks.onValuesChange;if(i0e){var s0e=cloneByNamePathList($P.store,[n0e]);i0e(s0e,$P.getFieldsValue())}$P.triggerOnFieldsChange([n0e].concat(_toConsumableArray$2(o0e)))}),_defineProperty$5(this,"setFieldsValue",function(t0e){$P.warningUnhooked();var r0e=$P.store;if(t0e){var n0e=merge$3($P.store,t0e);$P.updateStore(n0e)}$P.notifyObservers(r0e,null,{type:"valueUpdate",source:"external"}),$P.notifyWatch()}),_defineProperty$5(this,"setFieldValue",function(t0e,r0e){$P.setFields([{name:t0e,value:r0e}])}),_defineProperty$5(this,"getDependencyChildrenFields",function(t0e){var r0e=new Set,n0e=[],a0e=new NameMap;$P.getFieldEntities().forEach(function(i0e){var s0e=i0e.props.dependencies;(s0e||[]).forEach(function(l0e){var c0e=getNamePath(l0e);a0e.update(c0e,function(){var u0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return u0e.add(i0e),u0e})})});var o0e=function i0e(s0e){var l0e=a0e.get(s0e)||new Set;l0e.forEach(function(c0e){if(!r0e.has(c0e)){r0e.add(c0e);var u0e=c0e.getNamePath();c0e.isFieldDirty()&&u0e.length&&(n0e.push(u0e),i0e(u0e))}})};return o0e(t0e),n0e}),_defineProperty$5(this,"triggerOnFieldsChange",function(t0e,r0e){var n0e=$P.callbacks.onFieldsChange;if(n0e){var a0e=$P.getFields();if(r0e){var o0e=new NameMap;r0e.forEach(function(s0e){var l0e=s0e.name,c0e=s0e.errors;o0e.set(l0e,c0e)}),a0e.forEach(function(s0e){s0e.errors=o0e.get(s0e.name)||s0e.errors})}var i0e=a0e.filter(function(s0e){var l0e=s0e.name;return containsNamePath(t0e,l0e)});i0e.length&&n0e(i0e,a0e)}}),_defineProperty$5(this,"validateFields",function(t0e,r0e){$P.warningUnhooked();var n0e,a0e;Array.isArray(t0e)||typeof t0e=="string"||typeof r0e=="string"?(n0e=t0e,a0e=r0e):a0e=t0e;var o0e=!!n0e,i0e=o0e?n0e.map(getNamePath):[],s0e=[],l0e=String(Date.now()),c0e=new Set,u0e=a0e||{},d0e=u0e.recursive,p0e=u0e.dirty;$P.getFieldEntities(!0).forEach(function(m0e){if(o0e||i0e.push(m0e.getNamePath()),!(!m0e.props.rules||!m0e.props.rules.length)&&!(p0e&&!m0e.isFieldDirty())){var v0e=m0e.getNamePath();if(c0e.add(v0e.join(l0e)),!o0e||containsNamePath(i0e,v0e,d0e)){var g0e=m0e.validateRules(_objectSpread2$1({validateMessages:_objectSpread2$1(_objectSpread2$1({},defaultValidateMessages),$P.validateMessages)},a0e));s0e.push(g0e.then(function(){return{name:v0e,errors:[],warnings:[]}}).catch(function(y0e){var M0e,O0e=[],z0e=[];return(M0e=y0e.forEach)===null||M0e===void 0||M0e.call(y0e,function(_0e){var A0e=_0e.rule.warningOnly,$0e=_0e.errors;A0e?z0e.push.apply(z0e,_toConsumableArray$2($0e)):O0e.push.apply(O0e,_toConsumableArray$2($0e))}),O0e.length?Promise.reject({name:v0e,errors:O0e,warnings:z0e}):{name:v0e,errors:O0e,warnings:z0e}}))}}});var f0e=allPromiseFinish(s0e);$P.lastValidatePromise=f0e,f0e.catch(function(m0e){return m0e}).then(function(m0e){var v0e=m0e.map(function(g0e){var y0e=g0e.name;return y0e});$P.notifyObservers($P.store,v0e,{type:"validateFinish"}),$P.triggerOnFieldsChange(v0e,m0e)});var h0e=f0e.then(function(){return $P.lastValidatePromise===f0e?Promise.resolve($P.getFieldsValue(i0e)):Promise.reject([])}).catch(function(m0e){var v0e=m0e.filter(function(g0e){return g0e&&g0e.errors.length});return Promise.reject({values:$P.getFieldsValue(i0e),errorFields:v0e,outOfDate:$P.lastValidatePromise!==f0e})});h0e.catch(function(m0e){return m0e});var b0e=i0e.filter(function(m0e){return c0e.has(m0e.join(l0e))});return $P.triggerOnFieldsChange(b0e),h0e}),_defineProperty$5(this,"submit",function(){$P.warningUnhooked(),$P.validateFields().then(function(t0e){var r0e=$P.callbacks.onFinish;if(r0e)try{r0e(t0e)}catch(n0e){console.error(n0e)}}).catch(function(t0e){var r0e=$P.callbacks.onFinishFailed;r0e&&r0e(t0e)})}),this.forceRootUpdate=e0e});function useForm$2(x_){var e0e=reactExports.useRef(),$P=reactExports.useState({}),t0e=_slicedToArray$3($P,2),r0e=t0e[1];if(!e0e.current)if(x_)e0e.current=x_;else{var n0e=function(){r0e({})},a0e=new FormStore$1(n0e);e0e.current=a0e.getForm()}return[e0e.current]}var FormContext$1=reactExports.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),FormProvider$2=function(e0e){var $P=e0e.validateMessages,t0e=e0e.onFormChange,r0e=e0e.onFormFinish,n0e=e0e.children,a0e=reactExports.useContext(FormContext$1),o0e=reactExports.useRef({});return reactExports.createElement(FormContext$1.Provider,{value:_objectSpread2$1(_objectSpread2$1({},a0e),{},{validateMessages:_objectSpread2$1(_objectSpread2$1({},a0e.validateMessages),$P),triggerFormChange:function(s0e,l0e){t0e&&t0e(s0e,{changedFields:l0e,forms:o0e.current}),a0e.triggerFormChange(s0e,l0e)},triggerFormFinish:function(s0e,l0e){r0e&&r0e(s0e,{values:l0e,forms:o0e.current}),a0e.triggerFormFinish(s0e,l0e)},registerForm:function(s0e,l0e){s0e&&(o0e.current=_objectSpread2$1(_objectSpread2$1({},o0e.current),{},_defineProperty$5({},s0e,l0e))),a0e.registerForm(s0e,l0e)},unregisterForm:function(s0e){var l0e=_objectSpread2$1({},o0e.current);delete l0e[s0e],o0e.current=l0e,a0e.unregisterForm(s0e)}})},n0e)},_excluded$N=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Form$6=function(e0e,$P){var t0e=e0e.name,r0e=e0e.initialValues,n0e=e0e.fields,a0e=e0e.form,o0e=e0e.preserve,i0e=e0e.children,s0e=e0e.component,l0e=s0e===void 0?"form":s0e,c0e=e0e.validateMessages,u0e=e0e.validateTrigger,d0e=u0e===void 0?"onChange":u0e,p0e=e0e.onValuesChange,f0e=e0e.onFieldsChange,h0e=e0e.onFinish,b0e=e0e.onFinishFailed,m0e=_objectWithoutProperties$4(e0e,_excluded$N),v0e=reactExports.useContext(FormContext$1),g0e=useForm$2(a0e),y0e=_slicedToArray$3(g0e,1),M0e=y0e[0],O0e=M0e.getInternalHooks(HOOK_MARK),z0e=O0e.useSubscribe,_0e=O0e.setInitialValues,A0e=O0e.setCallbacks,$0e=O0e.setValidateMessages,S0e=O0e.setPreserve,C0e=O0e.destroyForm;reactExports.useImperativeHandle($P,function(){return M0e}),reactExports.useEffect(function(){return v0e.registerForm(t0e,M0e),function(){v0e.unregisterForm(t0e)}},[v0e,M0e,t0e]),$0e(_objectSpread2$1(_objectSpread2$1({},v0e.validateMessages),c0e)),A0e({onValuesChange:p0e,onFieldsChange:function(N0e){if(v0e.triggerFormChange(t0e,N0e),f0e){for(var j0e=arguments.length,P0e=new Array(j0e>1?j0e-1:0),I0e=1;I0e{}}),NoStyleItemContext=reactExports.createContext(null),FormProvider$1=x_=>{const e0e=omit$2(x_,["prefixCls"]);return reactExports.createElement(FormProvider$2,Object.assign({},e0e))},FormItemPrefixContext=reactExports.createContext({prefixCls:""}),FormItemInputContext=reactExports.createContext({}),NoFormStyle=x_=>{let{children:e0e,status:$P,override:t0e}=x_;const r0e=reactExports.useContext(FormItemInputContext),n0e=reactExports.useMemo(()=>{const a0e=Object.assign({},r0e);return t0e&&delete a0e.isFormItemInput,$P&&(delete a0e.status,delete a0e.hasFeedback,delete a0e.feedbackIcon),a0e},[$P,t0e,r0e]);return reactExports.createElement(FormItemInputContext.Provider,{value:n0e},e0e)};function voidFunc(){}const WatermarkContext=reactExports.createContext({add:voidFunc,remove:voidFunc});function usePanelRef(x_){const e0e=reactExports.useContext(WatermarkContext),$P=reactExports.useRef();return useEvent(r0e=>{if(r0e){const n0e=x_?r0e.querySelector(x_):r0e;e0e.add(n0e),$P.current=n0e}else e0e.remove($P.current)})}const WatermarkContext$1=WatermarkContext,initMotionCommon=x_=>({animationDuration:x_,animationFillMode:"both"}),initMotionCommonLeave=x_=>({animationDuration:x_,animationFillMode:"both"}),initMotion=function(x_,e0e,$P,t0e){const n0e=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${n0e}${x_}-enter, ${n0e}${x_}-appear `]:Object.assign(Object.assign({},initMotionCommon(t0e)),{animationPlayState:"paused"}),[`${n0e}${x_}-leave`]:Object.assign(Object.assign({},initMotionCommonLeave(t0e)),{animationPlayState:"paused"}),[` @@ -235,9 +235,9 @@ html body { opacity ${x_.motionDurationMid} ${x_.motionEaseInOut} !important`}},[`${x_.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${x_.motionDurationMid} ${x_.motionEaseInOut}, opacity ${x_.motionDurationMid} ${x_.motionEaseInOut} !important`}}}),genCollapseMotion$1=genCollapseMotion;function box(x_){return{position:x_,inset:0}}const genModalMaskStyle=x_=>{const{componentCls:e0e,antCls:$P}=x_;return[{[`${e0e}-root`]:{[`${e0e}${$P}-zoom-enter, ${e0e}${$P}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:x_.motionDurationSlow,userSelect:"none"},[`${e0e}${$P}-zoom-leave ${e0e}-content`]:{pointerEvents:"none"},[`${e0e}-mask`]:Object.assign(Object.assign({},box("fixed")),{zIndex:x_.zIndexPopupBase,height:"100%",backgroundColor:x_.colorBgMask,pointerEvents:"none",[`${e0e}-hidden`]:{display:"none"}}),[`${e0e}-wrap`]:Object.assign(Object.assign({},box("fixed")),{zIndex:x_.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${e0e}${$P}-zoom-enter), &:has(${e0e}${$P}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${e0e}-root`]:initFadeMotion(x_)}]},genModalStyle=x_=>{const{componentCls:e0e}=x_;return[{[`${e0e}-root`]:{[`${e0e}-wrap-rtl`]:{direction:"rtl"},[`${e0e}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[e0e]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${x_.screenSMMax}px)`]:{[e0e]:{maxWidth:"calc(100vw - 16px)",margin:`${unit$1(x_.marginXS)} auto`},[`${e0e}-centered`]:{[e0e]:{flex:1}}}}},{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${unit$1(x_.calc(x_.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:x_.paddingLG,[`${e0e}-title`]:{margin:0,color:x_.titleColor,fontWeight:x_.fontWeightStrong,fontSize:x_.titleFontSize,lineHeight:x_.titleLineHeight,wordWrap:"break-word"},[`${e0e}-content`]:{position:"relative",backgroundColor:x_.contentBg,backgroundClip:"padding-box",border:0,borderRadius:x_.borderRadiusLG,boxShadow:x_.boxShadow,pointerEvents:"auto",padding:x_.contentPadding},[`${e0e}-close`]:Object.assign({position:"absolute",top:x_.calc(x_.modalHeaderHeight).sub(x_.modalCloseBtnSize).div(2).equal(),insetInlineEnd:x_.calc(x_.modalHeaderHeight).sub(x_.modalCloseBtnSize).div(2).equal(),zIndex:x_.calc(x_.zIndexPopupBase).add(10).equal(),padding:0,color:x_.modalCloseIconColor,fontWeight:x_.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:x_.borderRadiusSM,width:x_.modalCloseBtnSize,height:x_.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${x_.motionDurationMid}, background-color ${x_.motionDurationMid}`,"&-x":{display:"flex",fontSize:x_.fontSizeLG,fontStyle:"normal",lineHeight:`${unit$1(x_.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:x_.modalIconHoverColor,backgroundColor:x_.closeBtnHoverBg,textDecoration:"none"},"&:active":{backgroundColor:x_.closeBtnActiveBg}},genFocusStyle(x_)),[`${e0e}-header`]:{color:x_.colorText,background:x_.headerBg,borderRadius:`${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0 0`,marginBottom:x_.headerMarginBottom,padding:x_.headerPadding,borderBottom:x_.headerBorderBottom},[`${e0e}-body`]:{fontSize:x_.fontSize,lineHeight:x_.lineHeight,wordWrap:"break-word",padding:x_.bodyPadding},[`${e0e}-footer`]:{textAlign:"end",background:x_.footerBg,marginTop:x_.footerMarginTop,padding:x_.footerPadding,borderTop:x_.footerBorderTop,borderRadius:x_.footerBorderRadius,[`${x_.antCls}-btn + ${x_.antCls}-btn:not(${x_.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:x_.marginXS}},[`${e0e}-open`]:{overflow:"hidden"}})},{[`${e0e}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${e0e}-content, ${e0e}-body, - ${e0e}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${e0e}-confirm-body`]:{marginBottom:"auto"}}}]},genRTLStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-root`]:{[`${e0e}-wrap-rtl`]:{direction:"rtl",[`${e0e}-confirm-body`]:{direction:"rtl"}}}}},prepareToken$2=x_=>{const e0e=x_.padding,$P=x_.fontSizeHeading5,t0e=x_.lineHeightHeading5;return merge$2(x_,{modalHeaderHeight:x_.calc(x_.calc(t0e).mul($P).equal()).add(x_.calc(e0e).mul(2).equal()).equal(),modalFooterBorderColorSplit:x_.colorSplit,modalFooterBorderStyle:x_.lineType,modalFooterBorderWidth:x_.lineWidth,modalIconHoverColor:x_.colorIconHover,modalCloseIconColor:x_.colorIcon,modalCloseBtnSize:x_.fontHeight,modalConfirmIconSize:x_.fontHeight,modalTitleHeight:x_.calc(x_.titleFontSize).mul(x_.titleLineHeight).equal()})},prepareComponentToken$k=x_=>({footerBg:"transparent",headerBg:x_.colorBgElevated,titleLineHeight:x_.lineHeightHeading5,titleFontSize:x_.fontSizeHeading5,contentBg:x_.colorBgElevated,titleColor:x_.colorTextHeading,closeBtnHoverBg:x_.wireframe?"transparent":x_.colorFillContent,closeBtnActiveBg:x_.wireframe?"transparent":x_.colorFillContentHover,contentPadding:x_.wireframe?0:`${unit$1(x_.paddingMD)} ${unit$1(x_.paddingContentHorizontalLG)}`,headerPadding:x_.wireframe?`${unit$1(x_.padding)} ${unit$1(x_.paddingLG)}`:0,headerBorderBottom:x_.wireframe?`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorSplit}`:"none",headerMarginBottom:x_.wireframe?0:x_.marginXS,bodyPadding:x_.wireframe?x_.paddingLG:0,footerPadding:x_.wireframe?`${unit$1(x_.paddingXS)} ${unit$1(x_.padding)}`:0,footerBorderTop:x_.wireframe?`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorSplit}`:"none",footerBorderRadius:x_.wireframe?`0 0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)}`:0,footerMarginTop:x_.wireframe?0:x_.marginSM,confirmBodyPadding:x_.wireframe?`${unit$1(x_.padding*2)} ${unit$1(x_.padding*2)} ${unit$1(x_.paddingLG)}`:0,confirmIconMarginInlineEnd:x_.wireframe?x_.margin:x_.marginSM,confirmBtnsMarginTop:x_.wireframe?x_.marginLG:x_.marginSM});genStyleHooks("Modal",x_=>{const e0e=prepareToken$2(x_);return[genModalStyle(e0e),genRTLStyle(e0e),genModalMaskStyle(e0e),initZoomMotion(e0e,"zoom")]},prepareComponentToken$k,{unitless:{titleLineHeight:!0}});function withPureRenderTheme(x_){return e0e=>reactExports.createElement(ConfigProvider$1,{theme:{token:{motion:!1,zIndexPopupBase:0}}},reactExports.createElement(x_,Object.assign({},e0e)))}const genPurePanel=(x_,e0e,$P,t0e)=>withPureRenderTheme(n0e=>{const{prefixCls:a0e,style:o0e}=n0e,i0e=reactExports.useRef(null),[s0e,l0e]=reactExports.useState(0),[c0e,u0e]=reactExports.useState(0),[d0e,p0e]=useMergedState(!1,{value:n0e.open}),{getPrefixCls:f0e}=reactExports.useContext(ConfigContext),h0e=f0e(e0e||"select",a0e);reactExports.useEffect(()=>{if(p0e(!0),typeof ResizeObserver<"u"){const v0e=new ResizeObserver(y0e=>{const M0e=y0e[0].target;l0e(M0e.offsetHeight+8),u0e(M0e.offsetWidth)}),g0e=setInterval(()=>{var y0e;const M0e=$P?`.${$P(h0e)}`:`.${h0e}-dropdown`,O0e=(y0e=i0e.current)===null||y0e===void 0?void 0:y0e.querySelector(M0e);O0e&&(clearInterval(g0e),v0e.observe(O0e))},10);return()=>{clearInterval(g0e),v0e.disconnect()}}},[]);let b0e=Object.assign(Object.assign({},n0e),{style:Object.assign(Object.assign({},o0e),{margin:0}),open:d0e,visible:d0e,getPopupContainer:()=>i0e.current});t0e&&(b0e=t0e(b0e));const m0e={paddingBottom:s0e,position:"relative",minWidth:c0e};return reactExports.createElement("div",{ref:i0e,style:m0e},reactExports.createElement(x_,Object.assign({},b0e)))}),genPurePanel$1=genPurePanel,isMobile$3=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var x_=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(x_)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(x_==null?void 0:x_.substr(0,4))};var TransBtn=function(e0e){var $P=e0e.className,t0e=e0e.customizeIcon,r0e=e0e.customizeIconProps,n0e=e0e.onMouseDown,a0e=e0e.onClick,o0e=e0e.children,i0e;return typeof t0e=="function"?i0e=t0e(r0e):i0e=t0e,reactExports.createElement("span",{className:$P,onMouseDown:function(l0e){l0e.preventDefault(),n0e&&n0e(l0e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a0e,"aria-hidden":!0},i0e!==void 0?i0e:reactExports.createElement("span",{className:cx$1($P.split(/\s+/).map(function(s0e){return"".concat(s0e,"-icon")}))},o0e))};function useAllowClear(x_,e0e,$P,t0e,r0e){var n0e=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,a0e=arguments.length>6?arguments[6]:void 0,o0e=arguments.length>7?arguments[7]:void 0,i0e=React$1.useMemo(function(){if(_typeof$2(t0e)==="object")return t0e.clearIcon;if(r0e)return r0e},[t0e,r0e]),s0e=React$1.useMemo(function(){return!!(!n0e&&t0e&&($P.length||a0e)&&!(o0e==="combobox"&&a0e===""))},[t0e,n0e,$P.length,a0e,o0e]);return{allowClear:s0e,clearIcon:React$1.createElement(TransBtn,{className:"".concat(x_,"-clear"),onMouseDown:e0e,customizeIcon:i0e},"×")}}var BaseSelectContext=reactExports.createContext(null);function useBaseProps(){return reactExports.useContext(BaseSelectContext)}function useDelayReset(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,e0e=reactExports.useState(!1),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1],n0e=reactExports.useRef(null),a0e=function(){window.clearTimeout(n0e.current)};reactExports.useEffect(function(){return a0e},[]);var o0e=function(s0e,l0e){a0e(),n0e.current=window.setTimeout(function(){r0e(s0e),l0e&&l0e()},x_)};return[t0e,o0e,a0e]}function useLock(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,e0e=reactExports.useRef(null),$P=reactExports.useRef(null);reactExports.useEffect(function(){return function(){window.clearTimeout($P.current)}},[]);function t0e(r0e){(r0e||e0e.current===null)&&(e0e.current=r0e),window.clearTimeout($P.current),$P.current=window.setTimeout(function(){e0e.current=null},x_)}return[function(){return e0e.current},t0e]}function useSelectTriggerControl(x_,e0e,$P,t0e){var r0e=reactExports.useRef(null);r0e.current={open:e0e,triggerOpen:$P,customizedTrigger:t0e},reactExports.useEffect(function(){function n0e(a0e){var o0e;if(!((o0e=r0e.current)!==null&&o0e!==void 0&&o0e.customizedTrigger)){var i0e=a0e.target;i0e.shadowRoot&&a0e.composed&&(i0e=a0e.composedPath()[0]||i0e),r0e.current.open&&x_().filter(function(s0e){return s0e}).every(function(s0e){return!s0e.contains(i0e)&&s0e!==i0e})&&r0e.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n0e),function(){return window.removeEventListener("mousedown",n0e)}},[])}var _excluded$M=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],UNDEFINED=void 0;function InternalItem(x_,e0e){var $P=x_.prefixCls,t0e=x_.invalidate,r0e=x_.item,n0e=x_.renderItem,a0e=x_.responsive,o0e=x_.responsiveDisabled,i0e=x_.registerSize,s0e=x_.itemKey,l0e=x_.className,c0e=x_.style,u0e=x_.children,d0e=x_.display,p0e=x_.order,f0e=x_.component,h0e=f0e===void 0?"div":f0e,b0e=_objectWithoutProperties$4(x_,_excluded$M),m0e=a0e&&!d0e;function v0e(z0e){i0e(s0e,z0e)}reactExports.useEffect(function(){return function(){v0e(null)}},[]);var g0e=n0e&&r0e!==UNDEFINED?n0e(r0e):u0e,y0e;t0e||(y0e={opacity:m0e?0:1,height:m0e?0:UNDEFINED,overflowY:m0e?"hidden":UNDEFINED,order:a0e?p0e:UNDEFINED,pointerEvents:m0e?"none":UNDEFINED,position:m0e?"absolute":UNDEFINED});var M0e={};m0e&&(M0e["aria-hidden"]=!0);var O0e=reactExports.createElement(h0e,_extends$1z({className:cx$1(!t0e&&$P,l0e),style:_objectSpread2$1(_objectSpread2$1({},y0e),c0e)},M0e,b0e,{ref:e0e}),g0e);return a0e&&(O0e=reactExports.createElement(RefResizeObserver,{onResize:function(_0e){var A0e=_0e.offsetWidth;v0e(A0e)},disabled:o0e},O0e)),O0e}var Item$7=reactExports.forwardRef(InternalItem);Item$7.displayName="Item";function channelUpdate(x_){if(typeof MessageChannel>"u")wrapperRaf$1(x_);else{var e0e=new MessageChannel;e0e.port1.onmessage=function(){return x_()},e0e.port2.postMessage(void 0)}}function useBatcher(){var x_=reactExports.useRef(null),e0e=function(t0e){x_.current||(x_.current=[],channelUpdate(function(){reactDomExports.unstable_batchedUpdates(function(){x_.current.forEach(function(r0e){r0e()}),x_.current=null})})),x_.current.push(t0e)};return e0e}function useEffectState(x_,e0e){var $P=reactExports.useState(e0e),t0e=_slicedToArray$3($P,2),r0e=t0e[0],n0e=t0e[1],a0e=useEvent(function(o0e){x_(function(){n0e(o0e)})});return[r0e,a0e]}var OverflowContext=React$1.createContext(null),_excluded$L=["component"],_excluded2$e=["className"],_excluded3$3=["className"],InternalRawItem=function(e0e,$P){var t0e=reactExports.useContext(OverflowContext);if(!t0e){var r0e=e0e.component,n0e=r0e===void 0?"div":r0e,a0e=_objectWithoutProperties$4(e0e,_excluded$L);return reactExports.createElement(n0e,_extends$1z({},a0e,{ref:$P}))}var o0e=t0e.className,i0e=_objectWithoutProperties$4(t0e,_excluded2$e),s0e=e0e.className,l0e=_objectWithoutProperties$4(e0e,_excluded3$3);return reactExports.createElement(OverflowContext.Provider,{value:null},reactExports.createElement(Item$7,_extends$1z({ref:$P,className:cx$1(o0e,s0e)},i0e,l0e)))},RawItem=reactExports.forwardRef(InternalRawItem);RawItem.displayName="RawItem";var _excluded$K=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],RESPONSIVE$1="responsive",INVALIDATE$1="invalidate";function defaultRenderRest(x_){return"+ ".concat(x_.length," ...")}function Overflow(x_,e0e){var $P=x_.prefixCls,t0e=$P===void 0?"rc-overflow":$P,r0e=x_.data,n0e=r0e===void 0?[]:r0e,a0e=x_.renderItem,o0e=x_.renderRawItem,i0e=x_.itemKey,s0e=x_.itemWidth,l0e=s0e===void 0?10:s0e,c0e=x_.ssr,u0e=x_.style,d0e=x_.className,p0e=x_.maxCount,f0e=x_.renderRest,h0e=x_.renderRawRest,b0e=x_.suffix,m0e=x_.component,v0e=m0e===void 0?"div":m0e,g0e=x_.itemComponent,y0e=x_.onVisibleChange,M0e=_objectWithoutProperties$4(x_,_excluded$K),O0e=c0e==="full",z0e=useBatcher(),_0e=useEffectState(z0e,null),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=$0e||0,E0e=useEffectState(z0e,new Map),w0e=_slicedToArray$3(E0e,2),R0e=w0e[0],T0e=w0e[1],D0e=useEffectState(z0e,0),W0e=_slicedToArray$3(D0e,2),k0e=W0e[0],q0e=W0e[1],N0e=useEffectState(z0e,0),j0e=_slicedToArray$3(N0e,2),P0e=j0e[0],I0e=j0e[1],F0e=useEffectState(z0e,0),V0e=_slicedToArray$3(F0e,2),H0e=V0e[0],Q0e=V0e[1],Y0e=reactExports.useState(null),G0e=_slicedToArray$3(Y0e,2),B0e=G0e[0],U0e=G0e[1],X0e=reactExports.useState(null),J0e=_slicedToArray$3(X0e,2),e1e=J0e[0],n1e=J0e[1],t1e=reactExports.useMemo(function(){return e1e===null&&O0e?Number.MAX_SAFE_INTEGER:e1e||0},[e1e,$0e]),r1e=reactExports.useState(!1),a1e=_slicedToArray$3(r1e,2),l1e=a1e[0],s1e=a1e[1],g1e="".concat(t0e,"-item"),$1e=Math.max(k0e,P0e),_1e=p0e===RESPONSIVE$1,p1e=n0e.length&&_1e,E1e=p0e===INVALIDATE$1,x1e=p1e||typeof p0e=="number"&&n0e.length>p0e,O1e=reactExports.useMemo(function(){var K1e=n0e;return p1e?$0e===null&&O0e?K1e=n0e:K1e=n0e.slice(0,Math.min(n0e.length,C0e/l0e)):typeof p0e=="number"&&(K1e=n0e.slice(0,p0e)),K1e},[n0e,l0e,$0e,p0e,p1e]),w1e=reactExports.useMemo(function(){return p1e?n0e.slice(t1e+1):n0e.slice(O1e.length)},[n0e,O1e,p1e,t1e]),A1e=reactExports.useCallback(function(K1e,rme){var L1e;return typeof i0e=="function"?i0e(K1e):(L1e=i0e&&(K1e==null?void 0:K1e[i0e]))!==null&&L1e!==void 0?L1e:rme},[i0e]),F1e=reactExports.useCallback(a0e||function(K1e){return K1e},[a0e]);function J1e(K1e,rme,L1e){e1e===K1e&&(rme===void 0||rme===B0e)||(n1e(K1e),L1e||(s1e(K1eC0e){J1e(Z1e-1,K1e-U1e-H0e+P0e);break}}b0e&&ume(0)+H0e>C0e&&U0e(null)}},[C0e,R0e,P0e,H0e,A1e,O1e]);var Y1e=l1e&&!!w1e.length,k1e={};B0e!==null&&p1e&&(k1e={position:"absolute",left:B0e,top:0});var ime={prefixCls:g1e,responsive:p1e,component:g0e,invalidate:E1e},I1e=o0e?function(K1e,rme){var L1e=A1e(K1e,rme);return reactExports.createElement(OverflowContext.Provider,{key:L1e,value:_objectSpread2$1(_objectSpread2$1({},ime),{},{order:rme,item:K1e,itemKey:L1e,registerSize:G1e,display:rme<=t1e})},o0e(K1e,rme))}:function(K1e,rme){var L1e=A1e(K1e,rme);return reactExports.createElement(Item$7,_extends$1z({},ime,{order:rme,key:L1e,item:K1e,renderItem:F1e,itemKey:L1e,registerSize:G1e,display:rme<=t1e}))},j1e,H1e={order:Y1e?t1e:Number.MAX_SAFE_INTEGER,className:"".concat(g1e,"-rest"),registerSize:V1e,display:Y1e};if(h0e)h0e&&(j1e=reactExports.createElement(OverflowContext.Provider,{value:_objectSpread2$1(_objectSpread2$1({},ime),H1e)},h0e(w1e)));else{var W1e=f0e||defaultRenderRest;j1e=reactExports.createElement(Item$7,_extends$1z({},ime,H1e),typeof W1e=="function"?W1e(w1e):W1e)}var Q1e=reactExports.createElement(v0e,_extends$1z({className:cx$1(!E1e&&t0e,d0e),style:u0e,ref:e0e},M0e),O1e.map(I1e),x1e?j1e:null,b0e&&reactExports.createElement(Item$7,_extends$1z({},ime,{responsive:_1e,responsiveDisabled:!p1e,order:t1e,className:"".concat(g1e,"-suffix"),registerSize:cme,display:!0,style:k1e}),b0e));return _1e&&(Q1e=reactExports.createElement(RefResizeObserver,{onResize:ame,disabled:!p1e},Q1e)),Q1e}var ForwardOverflow=reactExports.forwardRef(Overflow);ForwardOverflow.displayName="Overflow";ForwardOverflow.Item=RawItem;ForwardOverflow.RESPONSIVE=RESPONSIVE$1;ForwardOverflow.INVALIDATE=INVALIDATE$1;var Input$6=function(e0e,$P){var t0e,r0e=e0e.prefixCls,n0e=e0e.id,a0e=e0e.inputElement,o0e=e0e.disabled,i0e=e0e.tabIndex,s0e=e0e.autoFocus,l0e=e0e.autoComplete,c0e=e0e.editable,u0e=e0e.activeDescendantId,d0e=e0e.value,p0e=e0e.maxLength,f0e=e0e.onKeyDown,h0e=e0e.onMouseDown,b0e=e0e.onChange,m0e=e0e.onPaste,v0e=e0e.onCompositionStart,g0e=e0e.onCompositionEnd,y0e=e0e.open,M0e=e0e.attrs,O0e=a0e||reactExports.createElement("input",null),z0e=O0e,_0e=z0e.ref,A0e=z0e.props,$0e=A0e.onKeyDown,S0e=A0e.onChange,C0e=A0e.onMouseDown,E0e=A0e.onCompositionStart,w0e=A0e.onCompositionEnd,R0e=A0e.style;return"maxLength"in O0e.props,O0e=reactExports.cloneElement(O0e,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({type:"search"},A0e),{},{id:n0e,ref:composeRef$1($P,_0e),disabled:o0e,tabIndex:i0e,autoComplete:l0e||"off",autoFocus:s0e,className:cx$1("".concat(r0e,"-selection-search-input"),(t0e=O0e)===null||t0e===void 0||(t0e=t0e.props)===null||t0e===void 0?void 0:t0e.className),role:"combobox","aria-expanded":y0e||!1,"aria-haspopup":"listbox","aria-owns":"".concat(n0e,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(n0e,"_list"),"aria-activedescendant":y0e?u0e:void 0},M0e),{},{value:c0e?d0e:"",maxLength:p0e,readOnly:!c0e,unselectable:c0e?null:"on",style:_objectSpread2$1(_objectSpread2$1({},R0e),{},{opacity:c0e?null:0}),onKeyDown:function(D0e){f0e(D0e),$0e&&$0e(D0e)},onMouseDown:function(D0e){h0e(D0e),C0e&&C0e(D0e)},onChange:function(D0e){b0e(D0e),S0e&&S0e(D0e)},onCompositionStart:function(D0e){v0e(D0e),E0e&&E0e(D0e)},onCompositionEnd:function(D0e){g0e(D0e),w0e&&w0e(D0e)},onPaste:m0e})),O0e},RefInput=reactExports.forwardRef(Input$6);RefInput.displayName="Input";function toArray$4(x_){return Array.isArray(x_)?x_:x_!==void 0?[x_]:[]}var isClient=typeof window<"u"&&window.document&&window.document.documentElement,isBrowserClient$2=isClient;function hasValue$2(x_){return x_!=null}function isComboNoValue(x_){return!x_&&x_!==0}function isTitleType$1(x_){return["string","number"].includes(_typeof$2(x_))}function getTitle(x_){var e0e=void 0;return x_&&(isTitleType$1(x_.title)?e0e=x_.title.toString():isTitleType$1(x_.label)&&(e0e=x_.label.toString())),e0e}function useLayoutEffect$1(x_,e0e){isBrowserClient$2?reactExports.useLayoutEffect(x_,e0e):reactExports.useEffect(x_,e0e)}function itemKey(x_){var e0e;return(e0e=x_.key)!==null&&e0e!==void 0?e0e:x_.value}var onPreventMouseDown=function(e0e){e0e.preventDefault(),e0e.stopPropagation()},SelectSelector=function(e0e){var $P=e0e.id,t0e=e0e.prefixCls,r0e=e0e.values,n0e=e0e.open,a0e=e0e.searchValue,o0e=e0e.autoClearSearchValue,i0e=e0e.inputRef,s0e=e0e.placeholder,l0e=e0e.disabled,c0e=e0e.mode,u0e=e0e.showSearch,d0e=e0e.autoFocus,p0e=e0e.autoComplete,f0e=e0e.activeDescendantId,h0e=e0e.tabIndex,b0e=e0e.removeIcon,m0e=e0e.maxTagCount,v0e=e0e.maxTagTextLength,g0e=e0e.maxTagPlaceholder,y0e=g0e===void 0?function(U0e){return"+ ".concat(U0e.length," ...")}:g0e,M0e=e0e.tagRender,O0e=e0e.onToggleOpen,z0e=e0e.onRemove,_0e=e0e.onInputChange,A0e=e0e.onInputPaste,$0e=e0e.onInputKeyDown,S0e=e0e.onInputMouseDown,C0e=e0e.onInputCompositionStart,E0e=e0e.onInputCompositionEnd,w0e=reactExports.useRef(null),R0e=reactExports.useState(0),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=reactExports.useState(!1),q0e=_slicedToArray$3(k0e,2),N0e=q0e[0],j0e=q0e[1],P0e="".concat(t0e,"-selection"),I0e=n0e||c0e==="multiple"&&o0e===!1||c0e==="tags"?a0e:"",F0e=c0e==="tags"||c0e==="multiple"&&o0e===!1||u0e&&(n0e||N0e);useLayoutEffect$1(function(){W0e(w0e.current.scrollWidth)},[I0e]);function V0e(U0e,X0e,J0e,e1e,n1e){return reactExports.createElement("span",{className:cx$1("".concat(P0e,"-item"),_defineProperty$5({},"".concat(P0e,"-item-disabled"),J0e)),title:getTitle(U0e)},reactExports.createElement("span",{className:"".concat(P0e,"-item-content")},X0e),e1e&&reactExports.createElement(TransBtn,{className:"".concat(P0e,"-item-remove"),onMouseDown:onPreventMouseDown,onClick:n1e,customizeIcon:b0e},"×"))}function H0e(U0e,X0e,J0e,e1e,n1e){var t1e=function(a1e){onPreventMouseDown(a1e),O0e(!n0e)};return reactExports.createElement("span",{onMouseDown:t1e},M0e({label:X0e,value:U0e,disabled:J0e,closable:e1e,onClose:n1e}))}function Q0e(U0e){var X0e=U0e.disabled,J0e=U0e.label,e1e=U0e.value,n1e=!l0e&&!X0e,t1e=J0e;if(typeof v0e=="number"&&(typeof J0e=="string"||typeof J0e=="number")){var r1e=String(t1e);r1e.length>v0e&&(t1e="".concat(r1e.slice(0,v0e),"..."))}var a1e=function(s1e){s1e&&s1e.stopPropagation(),z0e(U0e)};return typeof M0e=="function"?H0e(e1e,t1e,X0e,n1e,a1e):V0e(U0e,t1e,X0e,n1e,a1e)}function Y0e(U0e){var X0e=typeof y0e=="function"?y0e(U0e):y0e;return V0e({title:X0e},X0e,!1)}var G0e=reactExports.createElement("div",{className:"".concat(P0e,"-search"),style:{width:D0e},onFocus:function(){j0e(!0)},onBlur:function(){j0e(!1)}},reactExports.createElement(RefInput,{ref:i0e,open:n0e,prefixCls:t0e,id:$P,inputElement:null,disabled:l0e,autoFocus:d0e,autoComplete:p0e,editable:F0e,activeDescendantId:f0e,value:I0e,onKeyDown:$0e,onMouseDown:S0e,onChange:_0e,onPaste:A0e,onCompositionStart:C0e,onCompositionEnd:E0e,tabIndex:h0e,attrs:pickAttrs(e0e,!0)}),reactExports.createElement("span",{ref:w0e,className:"".concat(P0e,"-search-mirror"),"aria-hidden":!0},I0e," ")),B0e=reactExports.createElement(ForwardOverflow,{prefixCls:"".concat(P0e,"-overflow"),data:r0e,renderItem:Q0e,renderRest:Y0e,suffix:G0e,itemKey,maxCount:m0e});return reactExports.createElement(reactExports.Fragment,null,B0e,!r0e.length&&!I0e&&reactExports.createElement("span",{className:"".concat(P0e,"-placeholder")},s0e))},SingleSelector=function(e0e){var $P=e0e.inputElement,t0e=e0e.prefixCls,r0e=e0e.id,n0e=e0e.inputRef,a0e=e0e.disabled,o0e=e0e.autoFocus,i0e=e0e.autoComplete,s0e=e0e.activeDescendantId,l0e=e0e.mode,c0e=e0e.open,u0e=e0e.values,d0e=e0e.placeholder,p0e=e0e.tabIndex,f0e=e0e.showSearch,h0e=e0e.searchValue,b0e=e0e.activeValue,m0e=e0e.maxLength,v0e=e0e.onInputKeyDown,g0e=e0e.onInputMouseDown,y0e=e0e.onInputChange,M0e=e0e.onInputPaste,O0e=e0e.onInputCompositionStart,z0e=e0e.onInputCompositionEnd,_0e=e0e.title,A0e=reactExports.useState(!1),$0e=_slicedToArray$3(A0e,2),S0e=$0e[0],C0e=$0e[1],E0e=l0e==="combobox",w0e=E0e||f0e,R0e=u0e[0],T0e=h0e||"";E0e&&b0e&&!S0e&&(T0e=b0e),reactExports.useEffect(function(){E0e&&C0e(!1)},[E0e,b0e]);var D0e=l0e!=="combobox"&&!c0e&&!f0e?!1:!!T0e,W0e=_0e===void 0?getTitle(R0e):_0e,k0e=function(){if(R0e)return null;var N0e=D0e?{visibility:"hidden"}:void 0;return reactExports.createElement("span",{className:"".concat(t0e,"-selection-placeholder"),style:N0e},d0e)};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("span",{className:"".concat(t0e,"-selection-search")},reactExports.createElement(RefInput,{ref:n0e,prefixCls:t0e,id:r0e,open:c0e,inputElement:$P,disabled:a0e,autoFocus:o0e,autoComplete:i0e,editable:w0e,activeDescendantId:s0e,value:T0e,onKeyDown:v0e,onMouseDown:g0e,onChange:function(N0e){C0e(!0),y0e(N0e)},onPaste:M0e,onCompositionStart:O0e,onCompositionEnd:z0e,tabIndex:p0e,attrs:pickAttrs(e0e,!0),maxLength:E0e?m0e:void 0})),!E0e&&R0e?reactExports.createElement("span",{className:"".concat(t0e,"-selection-item"),title:W0e,style:D0e?{visibility:"hidden"}:void 0},R0e.label):null,k0e())};function isValidateOpenKey(x_){return![KeyCode$1.ESC,KeyCode$1.SHIFT,KeyCode$1.BACKSPACE,KeyCode$1.TAB,KeyCode$1.WIN_KEY,KeyCode$1.ALT,KeyCode$1.META,KeyCode$1.WIN_KEY_RIGHT,KeyCode$1.CTRL,KeyCode$1.SEMICOLON,KeyCode$1.EQUALS,KeyCode$1.CAPS_LOCK,KeyCode$1.CONTEXT_MENU,KeyCode$1.F1,KeyCode$1.F2,KeyCode$1.F3,KeyCode$1.F4,KeyCode$1.F5,KeyCode$1.F6,KeyCode$1.F7,KeyCode$1.F8,KeyCode$1.F9,KeyCode$1.F10,KeyCode$1.F11,KeyCode$1.F12].includes(x_)}var Selector=function(e0e,$P){var t0e=reactExports.useRef(null),r0e=reactExports.useRef(!1),n0e=e0e.prefixCls,a0e=e0e.open,o0e=e0e.mode,i0e=e0e.showSearch,s0e=e0e.tokenWithEnter,l0e=e0e.autoClearSearchValue,c0e=e0e.onSearch,u0e=e0e.onSearchSubmit,d0e=e0e.onToggleOpen,p0e=e0e.onInputKeyDown,f0e=e0e.domRef;reactExports.useImperativeHandle($P,function(){return{focus:function(){t0e.current.focus()},blur:function(){t0e.current.blur()}}});var h0e=useLock(0),b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=b0e[1],g0e=function(T0e){var D0e=T0e.which;(D0e===KeyCode$1.UP||D0e===KeyCode$1.DOWN)&&T0e.preventDefault(),p0e&&p0e(T0e),D0e===KeyCode$1.ENTER&&o0e==="tags"&&!r0e.current&&!a0e&&(u0e==null||u0e(T0e.target.value)),isValidateOpenKey(D0e)&&d0e(!0)},y0e=function(){v0e(!0)},M0e=reactExports.useRef(null),O0e=function(T0e){c0e(T0e,!0,r0e.current)!==!1&&d0e(!0)},z0e=function(){r0e.current=!0},_0e=function(T0e){r0e.current=!1,o0e!=="combobox"&&O0e(T0e.target.value)},A0e=function(T0e){var D0e=T0e.target.value;if(s0e&&M0e.current&&/[\r\n]/.test(M0e.current)){var W0e=M0e.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");D0e=D0e.replace(W0e,M0e.current)}M0e.current=null,O0e(D0e)},$0e=function(T0e){var D0e=T0e.clipboardData,W0e=D0e.getData("text");M0e.current=W0e},S0e=function(T0e){var D0e=T0e.target;if(D0e!==t0e.current){var W0e=document.body.style.msTouchAction!==void 0;W0e?setTimeout(function(){t0e.current.focus()}):t0e.current.focus()}},C0e=function(T0e){var D0e=m0e();T0e.target!==t0e.current&&!D0e&&o0e!=="combobox"&&T0e.preventDefault(),(o0e!=="combobox"&&(!i0e||!D0e)||!a0e)&&(a0e&&l0e!==!1&&c0e("",!0,!1),d0e())},E0e={inputRef:t0e,onInputKeyDown:g0e,onInputMouseDown:y0e,onInputChange:A0e,onInputPaste:$0e,onInputCompositionStart:z0e,onInputCompositionEnd:_0e},w0e=o0e==="multiple"||o0e==="tags"?reactExports.createElement(SelectSelector,_extends$1z({},e0e,E0e)):reactExports.createElement(SingleSelector,_extends$1z({},e0e,E0e));return reactExports.createElement("div",{ref:f0e,className:"".concat(n0e,"-selector"),onClick:S0e,onMouseDown:C0e},w0e)},ForwardSelector=reactExports.forwardRef(Selector);ForwardSelector.displayName="Selector";function Arrow(x_){var e0e=x_.prefixCls,$P=x_.align,t0e=x_.arrow,r0e=x_.arrowPos,n0e=t0e||{},a0e=n0e.className,o0e=n0e.content,i0e=r0e.x,s0e=i0e===void 0?0:i0e,l0e=r0e.y,c0e=l0e===void 0?0:l0e,u0e=reactExports.useRef();if(!$P||!$P.points)return null;var d0e={position:"absolute"};if($P.autoArrow!==!1){var p0e=$P.points[0],f0e=$P.points[1],h0e=p0e[0],b0e=p0e[1],m0e=f0e[0],v0e=f0e[1];h0e===m0e||!["t","b"].includes(h0e)?d0e.top=c0e:h0e==="t"?d0e.top=0:d0e.bottom=0,b0e===v0e||!["l","r"].includes(b0e)?d0e.left=s0e:b0e==="l"?d0e.left=0:d0e.right=0}return reactExports.createElement("div",{ref:u0e,className:cx$1("".concat(e0e,"-arrow"),a0e),style:d0e},o0e)}function Mask(x_){var e0e=x_.prefixCls,$P=x_.open,t0e=x_.zIndex,r0e=x_.mask,n0e=x_.motion;return r0e?reactExports.createElement(CSSMotion,_extends$1z({},n0e,{motionAppear:!0,visible:$P,removeOnLeave:!0}),function(a0e){var o0e=a0e.className;return reactExports.createElement("div",{style:{zIndex:t0e},className:cx$1("".concat(e0e,"-mask"),o0e)})}):null}var PopupContent=reactExports.memo(function(x_){var e0e=x_.children;return e0e},function(x_,e0e){return e0e.cache}),Popup$2=reactExports.forwardRef(function(x_,e0e){var $P=x_.popup,t0e=x_.className,r0e=x_.prefixCls,n0e=x_.style,a0e=x_.target,o0e=x_.onVisibleChanged,i0e=x_.open,s0e=x_.keepDom,l0e=x_.fresh,c0e=x_.onClick,u0e=x_.mask,d0e=x_.arrow,p0e=x_.arrowPos,f0e=x_.align,h0e=x_.motion,b0e=x_.maskMotion,m0e=x_.forceRender,v0e=x_.getPopupContainer,g0e=x_.autoDestroy,y0e=x_.portal,M0e=x_.zIndex,O0e=x_.onMouseEnter,z0e=x_.onMouseLeave,_0e=x_.onPointerEnter,A0e=x_.ready,$0e=x_.offsetX,S0e=x_.offsetY,C0e=x_.offsetR,E0e=x_.offsetB,w0e=x_.onAlign,R0e=x_.onPrepare,T0e=x_.stretch,D0e=x_.targetWidth,W0e=x_.targetHeight,k0e=typeof $P=="function"?$P():$P,q0e=i0e||s0e,N0e=(v0e==null?void 0:v0e.length)>0,j0e=reactExports.useState(!v0e||!N0e),P0e=_slicedToArray$3(j0e,2),I0e=P0e[0],F0e=P0e[1];if(useLayoutEffect$2(function(){!I0e&&N0e&&a0e&&F0e(!0)},[I0e,N0e,a0e]),!I0e)return null;var V0e="auto",H0e={left:"-1000vw",top:"-1000vh",right:V0e,bottom:V0e};if(A0e||!i0e){var Q0e,Y0e=f0e.points,G0e=f0e.dynamicInset||((Q0e=f0e._experimental)===null||Q0e===void 0?void 0:Q0e.dynamicInset),B0e=G0e&&Y0e[0][1]==="r",U0e=G0e&&Y0e[0][0]==="b";B0e?(H0e.right=C0e,H0e.left=V0e):(H0e.left=$0e,H0e.right=V0e),U0e?(H0e.bottom=E0e,H0e.top=V0e):(H0e.top=S0e,H0e.bottom=V0e)}var X0e={};return T0e&&(T0e.includes("height")&&W0e?X0e.height=W0e:T0e.includes("minHeight")&&W0e&&(X0e.minHeight=W0e),T0e.includes("width")&&D0e?X0e.width=D0e:T0e.includes("minWidth")&&D0e&&(X0e.minWidth=D0e)),i0e||(X0e.pointerEvents="none"),reactExports.createElement(y0e,{open:m0e||q0e,getContainer:v0e&&function(){return v0e(a0e)},autoDestroy:g0e},reactExports.createElement(Mask,{prefixCls:r0e,open:i0e,zIndex:M0e,mask:u0e,motion:b0e}),reactExports.createElement(RefResizeObserver,{onResize:w0e,disabled:!i0e},function(J0e){return reactExports.createElement(CSSMotion,_extends$1z({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:m0e,leavedClassName:"".concat(r0e,"-hidden")},h0e,{onAppearPrepare:R0e,onEnterPrepare:R0e,visible:i0e,onVisibleChanged:function(n1e){var t1e;h0e==null||(t1e=h0e.onVisibleChanged)===null||t1e===void 0||t1e.call(h0e,n1e),o0e(n1e)}}),function(e1e,n1e){var t1e=e1e.className,r1e=e1e.style,a1e=cx$1(r0e,t1e,t0e);return reactExports.createElement("div",{ref:composeRef$1(J0e,e0e,n1e),className:a1e,style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({"--arrow-x":"".concat(p0e.x||0,"px"),"--arrow-y":"".concat(p0e.y||0,"px")},H0e),X0e),r1e),{},{boxSizing:"border-box",zIndex:M0e},n0e),onMouseEnter:O0e,onMouseLeave:z0e,onPointerEnter:_0e,onClick:c0e},d0e&&reactExports.createElement(Arrow,{prefixCls:r0e,arrow:d0e,arrowPos:p0e,align:f0e}),reactExports.createElement(PopupContent,{cache:!i0e&&!l0e},k0e))})}))}),TriggerWrapper=reactExports.forwardRef(function(x_,e0e){var $P=x_.children,t0e=x_.getTriggerDOMNode,r0e=supportRef($P),n0e=reactExports.useCallback(function(o0e){fillRef$1(e0e,t0e?t0e(o0e):o0e)},[t0e]),a0e=useComposeRef(n0e,$P.ref);return r0e?reactExports.cloneElement($P,{ref:a0e}):$P}),TriggerContext=reactExports.createContext(null);function toArray$3(x_){return x_?Array.isArray(x_)?x_:[x_]:[]}function useAction(x_,e0e,$P,t0e){return reactExports.useMemo(function(){var r0e=toArray$3($P??e0e),n0e=toArray$3(t0e??e0e),a0e=new Set(r0e),o0e=new Set(n0e);return x_&&(a0e.has("hover")&&(a0e.delete("hover"),a0e.add("click")),o0e.has("hover")&&(o0e.delete("hover"),o0e.add("click"))),[a0e,o0e]},[x_,e0e,$P,t0e])}function isPointsEq(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],$P=arguments.length>2?arguments[2]:void 0;return $P?x_[0]===e0e[0]:x_[0]===e0e[0]&&x_[1]===e0e[1]}function getAlignPopupClassName(x_,e0e,$P,t0e){for(var r0e=$P.points,n0e=Object.keys(x_),a0e=0;a0e1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(x_)?e0e:x_}function getPxValue(x_){return toNum(parseFloat(x_),0)}function getVisibleArea(x_,e0e){var $P=_objectSpread2$1({},x_);return(e0e||[]).forEach(function(t0e){if(!(t0e instanceof HTMLBodyElement||t0e instanceof HTMLHtmlElement)){var r0e=getWin(t0e).getComputedStyle(t0e),n0e=r0e.overflow,a0e=r0e.overflowClipMargin,o0e=r0e.borderTopWidth,i0e=r0e.borderBottomWidth,s0e=r0e.borderLeftWidth,l0e=r0e.borderRightWidth,c0e=t0e.getBoundingClientRect(),u0e=t0e.offsetHeight,d0e=t0e.clientHeight,p0e=t0e.offsetWidth,f0e=t0e.clientWidth,h0e=getPxValue(o0e),b0e=getPxValue(i0e),m0e=getPxValue(s0e),v0e=getPxValue(l0e),g0e=toNum(Math.round(c0e.width/p0e*1e3)/1e3),y0e=toNum(Math.round(c0e.height/u0e*1e3)/1e3),M0e=(p0e-f0e-m0e-v0e)*g0e,O0e=(u0e-d0e-h0e-b0e)*y0e,z0e=h0e*y0e,_0e=b0e*y0e,A0e=m0e*g0e,$0e=v0e*g0e,S0e=0,C0e=0;if(n0e==="clip"){var E0e=getPxValue(a0e);S0e=E0e*g0e,C0e=E0e*y0e}var w0e=c0e.x+A0e-S0e,R0e=c0e.y+z0e-C0e,T0e=w0e+c0e.width+2*S0e-A0e-$0e-M0e,D0e=R0e+c0e.height+2*C0e-z0e-_0e-O0e;$P.left=Math.max($P.left,w0e),$P.top=Math.max($P.top,R0e),$P.right=Math.min($P.right,T0e),$P.bottom=Math.min($P.bottom,D0e)}}),$P}function getUnitOffset(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$P="".concat(e0e),t0e=$P.match(/^(.*)\%$/);return t0e?x_*(parseFloat(t0e[1])/100):parseFloat($P)}function getNumberOffset(x_,e0e){var $P=e0e||[],t0e=_slicedToArray$3($P,2),r0e=t0e[0],n0e=t0e[1];return[getUnitOffset(x_.width,r0e),getUnitOffset(x_.height,n0e)]}function splitPoints(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[x_[0],x_[1]]}function getAlignPoint(x_,e0e){var $P=e0e[0],t0e=e0e[1],r0e,n0e;return $P==="t"?n0e=x_.y:$P==="b"?n0e=x_.y+x_.height:n0e=x_.y+x_.height/2,t0e==="l"?r0e=x_.x:t0e==="r"?r0e=x_.x+x_.width:r0e=x_.x+x_.width/2,{x:r0e,y:n0e}}function reversePoints(x_,e0e){var $P={t:"b",b:"t",l:"r",r:"l"};return x_.map(function(t0e,r0e){return r0e===e0e?$P[t0e]||"c":t0e}).join("")}function useAlign(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=reactExports.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r0e[t0e]||{}}),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1],c0e=reactExports.useRef(0),u0e=reactExports.useMemo(function(){return e0e?collectScroller(e0e):[]},[e0e]),d0e=reactExports.useRef({}),p0e=function(){d0e.current={}};x_||p0e();var f0e=useEvent(function(){if(e0e&&$P&&x_){let jme=function(Hme,Ume){var Xme=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a1e,nbe=k0e.x+Hme,sbe=k0e.y+Ume,Qme=nbe+Q0e,ube=sbe+H0e,dbe=Math.max(nbe,Xme.left),ybe=Math.max(sbe,Xme.top),Mbe=Math.min(Qme,Xme.right),Obe=Math.min(ube,Xme.bottom);return Math.max(0,(Mbe-dbe)*(Obe-ybe))},Gme=function(){lme=k0e.y+W1e,Ome=lme+H0e,bme=k0e.x+H1e,d1e=bme+Q0e};var m0e,v0e,g0e=e0e,y0e=g0e.ownerDocument,M0e=getWin(g0e),O0e=M0e.getComputedStyle(g0e),z0e=O0e.width,_0e=O0e.height,A0e=O0e.position,$0e=g0e.style.left,S0e=g0e.style.top,C0e=g0e.style.right,E0e=g0e.style.bottom,w0e=g0e.style.overflow,R0e=_objectSpread2$1(_objectSpread2$1({},r0e[t0e]),n0e),T0e=y0e.createElement("div");(m0e=g0e.parentElement)===null||m0e===void 0||m0e.appendChild(T0e),T0e.style.left="".concat(g0e.offsetLeft,"px"),T0e.style.top="".concat(g0e.offsetTop,"px"),T0e.style.position=A0e,T0e.style.height="".concat(g0e.offsetHeight,"px"),T0e.style.width="".concat(g0e.offsetWidth,"px"),g0e.style.left="0",g0e.style.top="0",g0e.style.right="auto",g0e.style.bottom="auto",g0e.style.overflow="hidden";var D0e;if(Array.isArray($P))D0e={x:$P[0],y:$P[1],width:0,height:0};else{var W0e=$P.getBoundingClientRect();D0e={x:W0e.x,y:W0e.y,width:W0e.width,height:W0e.height}}var k0e=g0e.getBoundingClientRect(),q0e=y0e.documentElement,N0e=q0e.clientWidth,j0e=q0e.clientHeight,P0e=q0e.scrollWidth,I0e=q0e.scrollHeight,F0e=q0e.scrollTop,V0e=q0e.scrollLeft,H0e=k0e.height,Q0e=k0e.width,Y0e=D0e.height,G0e=D0e.width,B0e={left:0,top:0,right:N0e,bottom:j0e},U0e={left:-V0e,top:-F0e,right:P0e-V0e,bottom:I0e-F0e},X0e=R0e.htmlRegion,J0e="visible",e1e="visibleFirst";X0e!=="scroll"&&X0e!==e1e&&(X0e=J0e);var n1e=X0e===e1e,t1e=getVisibleArea(U0e,u0e),r1e=getVisibleArea(B0e,u0e),a1e=X0e===J0e?r1e:t1e,l1e=n1e?r1e:a1e;g0e.style.left="auto",g0e.style.top="auto",g0e.style.right="0",g0e.style.bottom="0";var s1e=g0e.getBoundingClientRect();g0e.style.left=$0e,g0e.style.top=S0e,g0e.style.right=C0e,g0e.style.bottom=E0e,g0e.style.overflow=w0e,(v0e=g0e.parentElement)===null||v0e===void 0||v0e.removeChild(T0e);var g1e=toNum(Math.round(Q0e/parseFloat(z0e)*1e3)/1e3),$1e=toNum(Math.round(H0e/parseFloat(_0e)*1e3)/1e3);if(g1e===0||$1e===0||isDOM($P)&&!isVisible$1($P))return;var _1e=R0e.offset,p1e=R0e.targetOffset,E1e=getNumberOffset(k0e,_1e),x1e=_slicedToArray$3(E1e,2),O1e=x1e[0],w1e=x1e[1],A1e=getNumberOffset(D0e,p1e),F1e=_slicedToArray$3(A1e,2),J1e=F1e[0],ame=F1e[1];D0e.x-=J1e,D0e.y-=ame;var G1e=R0e.points||[],V1e=_slicedToArray$3(G1e,2),cme=V1e[0],ume=V1e[1],Y1e=splitPoints(ume),k1e=splitPoints(cme),ime=getAlignPoint(D0e,Y1e),I1e=getAlignPoint(k0e,k1e),j1e=_objectSpread2$1({},R0e),H1e=ime.x-I1e.x+O1e,W1e=ime.y-I1e.y+w1e,Q1e=jme(H1e,W1e),K1e=jme(H1e,W1e,r1e),rme=getAlignPoint(D0e,["t","l"]),L1e=getAlignPoint(k0e,["t","l"]),Z1e=getAlignPoint(D0e,["b","r"]),U1e=getAlignPoint(k0e,["b","r"]),D1e=R0e.overflow||{},q1e=D1e.adjustX,pme=D1e.adjustY,$me=D1e.shiftX,fme=D1e.shiftY,mme=function(Ume){return typeof Ume=="boolean"?Ume:Ume>=0},lme,Ome,bme,d1e;Gme();var b1e=mme(pme),S1e=k1e[0]===Y1e[0];if(b1e&&k1e[0]==="t"&&(Ome>l1e.bottom||d0e.current.bt)){var N1e=W1e;S1e?N1e-=H0e-Y0e:N1e=rme.y-U1e.y-w1e;var nme=jme(H1e,N1e),ome=jme(H1e,N1e,r1e);nme>Q1e||nme===Q1e&&(!n1e||ome>=K1e)?(d0e.current.bt=!0,W1e=N1e,w1e=-w1e,j1e.points=[reversePoints(k1e,0),reversePoints(Y1e,0)]):d0e.current.bt=!1}if(b1e&&k1e[0]==="b"&&(lmeQ1e||T1e===Q1e&&(!n1e||B1e>=K1e)?(d0e.current.tb=!0,W1e=m1e,w1e=-w1e,j1e.points=[reversePoints(k1e,0),reversePoints(Y1e,0)]):d0e.current.tb=!1}var eme=mme(q1e),sme=k1e[1]===Y1e[1];if(eme&&k1e[1]==="l"&&(d1e>l1e.right||d0e.current.rl)){var gme=H1e;sme?gme-=Q0e-G0e:gme=rme.x-U1e.x-O1e;var zme=jme(gme,W1e),yme=jme(gme,W1e,r1e);zme>Q1e||zme===Q1e&&(!n1e||yme>=K1e)?(d0e.current.rl=!0,H1e=gme,O1e=-O1e,j1e.points=[reversePoints(k1e,1),reversePoints(Y1e,1)]):d0e.current.rl=!1}if(eme&&k1e[1]==="r"&&(bmeQ1e||xme===Q1e&&(!n1e||Tme>=K1e)?(d0e.current.lr=!0,H1e=Ame,O1e=-O1e,j1e.points=[reversePoints(k1e,1),reversePoints(Y1e,1)]):d0e.current.lr=!1}Gme();var wme=$me===!0?0:$me;typeof wme=="number"&&(bmer1e.right&&(H1e-=d1e-r1e.right-O1e,D0e.x>r1e.right-wme&&(H1e+=D0e.x-r1e.right+wme)));var v1e=fme===!0?0:fme;typeof v1e=="number"&&(lmer1e.bottom&&(W1e-=Ome-r1e.bottom-w1e,D0e.y>r1e.bottom-v1e&&(W1e+=D0e.y-r1e.bottom+v1e)));var f1e=k0e.x+H1e,i1e=f1e+Q0e,c1e=k0e.y+W1e,z1e=c1e+H0e,y1e=D0e.x,u1e=y1e+G0e,h1e=D0e.y,C1e=h1e+Y0e,R1e=Math.max(f1e,y1e),X1e=Math.min(i1e,u1e),dme=(R1e+X1e)/2,Mme=dme-f1e,Cme=Math.max(c1e,h1e),qme=Math.min(z1e,C1e),Ime=(Cme+qme)/2,Fme=Ime-c1e;a0e==null||a0e(e0e,j1e);var Lme=s1e.right-k0e.x-(H1e+k0e.width),Kme=s1e.bottom-k0e.y-(W1e+k0e.height);l0e({ready:!0,offsetX:H1e/g1e,offsetY:W1e/$1e,offsetR:Lme/g1e,offsetB:Kme/$1e,arrowX:Mme/g1e,arrowY:Fme/$1e,scaleX:g1e,scaleY:$1e,align:j1e})}}),h0e=function(){c0e.current+=1;var v0e=c0e.current;Promise.resolve().then(function(){c0e.current===v0e&&f0e()})},b0e=function(){l0e(function(v0e){return _objectSpread2$1(_objectSpread2$1({},v0e),{},{ready:!1})})};return useLayoutEffect$2(b0e,[t0e]),useLayoutEffect$2(function(){x_||b0e()},[x_]),[s0e.ready,s0e.offsetX,s0e.offsetY,s0e.offsetR,s0e.offsetB,s0e.arrowX,s0e.arrowY,s0e.scaleX,s0e.scaleY,s0e.align,h0e]}function useWatch$1(x_,e0e,$P,t0e,r0e){useLayoutEffect$2(function(){if(x_&&e0e&&$P){let c0e=function(){t0e(),r0e()};var n0e=e0e,a0e=$P,o0e=collectScroller(n0e),i0e=collectScroller(a0e),s0e=getWin(a0e),l0e=new Set([s0e].concat(_toConsumableArray$2(o0e),_toConsumableArray$2(i0e)));return l0e.forEach(function(u0e){u0e.addEventListener("scroll",c0e,{passive:!0})}),s0e.addEventListener("resize",c0e,{passive:!0}),t0e(),function(){l0e.forEach(function(u0e){u0e.removeEventListener("scroll",c0e),s0e.removeEventListener("resize",c0e)})}}},[x_,e0e,$P])}function useWinClick(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){var i0e=reactExports.useRef(x_),s0e=reactExports.useRef(!1);i0e.current!==x_&&(s0e.current=!0,i0e.current=x_),reactExports.useEffect(function(){var l0e=wrapperRaf$1(function(){s0e.current=!1});return function(){wrapperRaf$1.cancel(l0e)}},[x_]),reactExports.useEffect(function(){if(e0e&&t0e&&(!r0e||n0e)){var l0e=function(){var M0e=!1,O0e=function(A0e){var $0e=A0e.target;M0e=a0e($0e)},z0e=function(A0e){var $0e=A0e.target;!s0e.current&&i0e.current&&!M0e&&!a0e($0e)&&o0e(!1)};return[O0e,z0e]},c0e=l0e(),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=l0e(),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=getWin(t0e);v0e.addEventListener("mousedown",d0e,!0),v0e.addEventListener("click",p0e,!0),v0e.addEventListener("contextmenu",p0e,!0);var g0e=getShadowRoot($P);return g0e&&(g0e.addEventListener("mousedown",b0e,!0),g0e.addEventListener("click",m0e,!0),g0e.addEventListener("contextmenu",m0e,!0)),function(){v0e.removeEventListener("mousedown",d0e,!0),v0e.removeEventListener("click",p0e,!0),v0e.removeEventListener("contextmenu",p0e,!0),g0e&&(g0e.removeEventListener("mousedown",b0e,!0),g0e.removeEventListener("click",m0e,!0),g0e.removeEventListener("contextmenu",m0e,!0))}}},[e0e,$P,t0e,r0e,n0e])}var _excluded$J=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function generateTrigger(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Portal$2,e0e=reactExports.forwardRef(function($P,t0e){var r0e=$P.prefixCls,n0e=r0e===void 0?"rc-trigger-popup":r0e,a0e=$P.children,o0e=$P.action,i0e=o0e===void 0?"hover":o0e,s0e=$P.showAction,l0e=$P.hideAction,c0e=$P.popupVisible,u0e=$P.defaultPopupVisible,d0e=$P.onPopupVisibleChange,p0e=$P.afterPopupVisibleChange,f0e=$P.mouseEnterDelay,h0e=$P.mouseLeaveDelay,b0e=h0e===void 0?.1:h0e,m0e=$P.focusDelay,v0e=$P.blurDelay,g0e=$P.mask,y0e=$P.maskClosable,M0e=y0e===void 0?!0:y0e,O0e=$P.getPopupContainer,z0e=$P.forceRender,_0e=$P.autoDestroy,A0e=$P.destroyPopupOnHide,$0e=$P.popup,S0e=$P.popupClassName,C0e=$P.popupStyle,E0e=$P.popupPlacement,w0e=$P.builtinPlacements,R0e=w0e===void 0?{}:w0e,T0e=$P.popupAlign,D0e=$P.zIndex,W0e=$P.stretch,k0e=$P.getPopupClassNameFromAlign,q0e=$P.fresh,N0e=$P.alignPoint,j0e=$P.onPopupClick,P0e=$P.onPopupAlign,I0e=$P.arrow,F0e=$P.popupMotion,V0e=$P.maskMotion,H0e=$P.popupTransitionName,Q0e=$P.popupAnimation,Y0e=$P.maskTransitionName,G0e=$P.maskAnimation,B0e=$P.className,U0e=$P.getTriggerDOMNode,X0e=_objectWithoutProperties$4($P,_excluded$J),J0e=_0e||A0e||!1,e1e=reactExports.useState(!1),n1e=_slicedToArray$3(e1e,2),t1e=n1e[0],r1e=n1e[1];useLayoutEffect$2(function(){r1e(isMobile$3())},[]);var a1e=reactExports.useRef({}),l1e=reactExports.useContext(TriggerContext),s1e=reactExports.useMemo(function(){return{registerSubPopup:function(_me,Pme){a1e.current[_me]=Pme,l1e==null||l1e.registerSubPopup(_me,Pme)}}},[l1e]),g1e=useId$2(),$1e=reactExports.useState(null),_1e=_slicedToArray$3($1e,2),p1e=_1e[0],E1e=_1e[1],x1e=useEvent(function(hme){isDOM(hme)&&p1e!==hme&&E1e(hme),l1e==null||l1e.registerSubPopup(g1e,hme)}),O1e=reactExports.useState(null),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=reactExports.useRef(null),ame=useEvent(function(hme){isDOM(hme)&&A1e!==hme&&(F1e(hme),J1e.current=hme)}),G1e=reactExports.Children.only(a0e),V1e=(G1e==null?void 0:G1e.props)||{},cme={},ume=useEvent(function(hme){var _me,Pme,Bme=A1e;return(Bme==null?void 0:Bme.contains(hme))||((_me=getShadowRoot(Bme))===null||_me===void 0?void 0:_me.host)===hme||hme===Bme||(p1e==null?void 0:p1e.contains(hme))||((Pme=getShadowRoot(p1e))===null||Pme===void 0?void 0:Pme.host)===hme||hme===p1e||Object.values(a1e.current).some(function(Dme){return(Dme==null?void 0:Dme.contains(hme))||hme===Dme})}),Y1e=getMotion$2(n0e,F0e,Q0e,H0e),k1e=getMotion$2(n0e,V0e,G0e,Y0e),ime=reactExports.useState(u0e||!1),I1e=_slicedToArray$3(ime,2),j1e=I1e[0],H1e=I1e[1],W1e=c0e??j1e,Q1e=useEvent(function(hme){c0e===void 0&&H1e(hme)});useLayoutEffect$2(function(){H1e(c0e||!1)},[c0e]);var K1e=reactExports.useRef(W1e);K1e.current=W1e;var rme=reactExports.useRef([]);rme.current=[];var L1e=useEvent(function(hme){var _me;Q1e(hme),((_me=rme.current[rme.current.length-1])!==null&&_me!==void 0?_me:W1e)!==hme&&(rme.current.push(hme),d0e==null||d0e(hme))}),Z1e=reactExports.useRef(),U1e=function(){clearTimeout(Z1e.current)},D1e=function(_me){var Pme=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;U1e(),Pme===0?L1e(_me):Z1e.current=setTimeout(function(){L1e(_me)},Pme*1e3)};reactExports.useEffect(function(){return U1e},[]);var q1e=reactExports.useState(!1),pme=_slicedToArray$3(q1e,2),$me=pme[0],fme=pme[1];useLayoutEffect$2(function(hme){(!hme||W1e)&&fme(!0)},[W1e]);var mme=reactExports.useState(null),lme=_slicedToArray$3(mme,2),Ome=lme[0],bme=lme[1],d1e=reactExports.useState([0,0]),b1e=_slicedToArray$3(d1e,2),S1e=b1e[0],N1e=b1e[1],nme=function(_me){N1e([_me.clientX,_me.clientY])},ome=useAlign(W1e,p1e,N0e?S1e:A1e,E0e,R0e,T0e,P0e),m1e=_slicedToArray$3(ome,11),T1e=m1e[0],B1e=m1e[1],eme=m1e[2],sme=m1e[3],gme=m1e[4],zme=m1e[5],yme=m1e[6],Ame=m1e[7],xme=m1e[8],Tme=m1e[9],wme=m1e[10],v1e=useAction(t1e,i0e,s0e,l0e),f1e=_slicedToArray$3(v1e,2),i1e=f1e[0],c1e=f1e[1],z1e=i1e.has("click"),y1e=c1e.has("click")||c1e.has("contextMenu"),u1e=useEvent(function(){$me||wme()}),h1e=function(){K1e.current&&N0e&&y1e&&D1e(!1)};useWatch$1(W1e,A1e,p1e,u1e,h1e),useLayoutEffect$2(function(){u1e()},[S1e,E0e]),useLayoutEffect$2(function(){W1e&&!(R0e!=null&&R0e[E0e])&&u1e()},[JSON.stringify(T0e)]);var C1e=reactExports.useMemo(function(){var hme=getAlignPopupClassName(R0e,n0e,Tme,N0e);return cx$1(hme,k0e==null?void 0:k0e(Tme))},[Tme,k0e,R0e,n0e,N0e]);reactExports.useImperativeHandle(t0e,function(){return{nativeElement:J1e.current,forceAlign:u1e}});var R1e=reactExports.useState(0),X1e=_slicedToArray$3(R1e,2),dme=X1e[0],Mme=X1e[1],Cme=reactExports.useState(0),qme=_slicedToArray$3(Cme,2),Ime=qme[0],Fme=qme[1],Lme=function(){if(W0e&&A1e){var _me=A1e.getBoundingClientRect();Mme(_me.width),Fme(_me.height)}},Kme=function(){Lme(),u1e()},jme=function(_me){fme(!1),wme(),p0e==null||p0e(_me)},Gme=function(){return new Promise(function(_me){Lme(),bme(function(){return _me})})};useLayoutEffect$2(function(){Ome&&(wme(),Ome(),bme(null))},[Ome]);function Hme(hme,_me,Pme,Bme){cme[hme]=function(Dme){var pbe;Bme==null||Bme(Dme),D1e(_me,Pme);for(var zbe=arguments.length,Cbe=new Array(zbe>1?zbe-1:0),fbe=1;fbe1?Pme-1:0),Dme=1;Dme1?Pme-1:0),Dme=1;Dme1&&arguments[1]!==void 0?arguments[1]:{},$P=e0e.fieldNames,t0e=e0e.childrenAsData,r0e=[],n0e=fillFieldNames($P,!1),a0e=n0e.label,o0e=n0e.value,i0e=n0e.options,s0e=n0e.groupLabel;function l0e(c0e,u0e){c0e.forEach(function(d0e){if(u0e||!(i0e in d0e)){var p0e=d0e[o0e];r0e.push({key:getKey$1(d0e,r0e.length),groupOption:u0e,data:d0e,label:d0e[a0e],value:p0e})}else{var f0e=d0e[s0e];f0e===void 0&&t0e&&(f0e=d0e.label),r0e.push({key:getKey$1(d0e,r0e.length),group:!0,data:d0e,label:f0e}),l0e(d0e[i0e],!0)}})}return l0e(x_,!1),r0e}function injectPropsWithOption(x_){var e0e=_objectSpread2$1({},x_);return"props"in e0e||Object.defineProperty(e0e,"props",{get:function(){return warningOnce$1(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e0e}}),e0e}function getSeparatedContent(x_,e0e){if(!e0e||!e0e.length)return null;var $P=!1;function t0e(n0e,a0e){var o0e=_toArray(a0e),i0e=o0e[0],s0e=o0e.slice(1);if(!i0e)return[n0e];var l0e=n0e.split(i0e);return $P=$P||l0e.length>1,l0e.reduce(function(c0e,u0e){return[].concat(_toConsumableArray$2(c0e),_toConsumableArray$2(t0e(u0e,s0e)))},[]).filter(function(c0e){return c0e})}var r0e=t0e(x_,e0e);return $P?r0e:null}var _excluded$H=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],DEFAULT_OMIT_PROPS=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function isMultiple(x_){return x_==="tags"||x_==="multiple"}var BaseSelect=reactExports.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_.id,n0e=x_.prefixCls,a0e=x_.className,o0e=x_.showSearch,i0e=x_.tagRender,s0e=x_.direction,l0e=x_.omitDomProps,c0e=x_.displayValues,u0e=x_.onDisplayValuesChange,d0e=x_.emptyOptions,p0e=x_.notFoundContent,f0e=p0e===void 0?"Not Found":p0e,h0e=x_.onClear,b0e=x_.mode,m0e=x_.disabled,v0e=x_.loading,g0e=x_.getInputElement,y0e=x_.getRawInputElement,M0e=x_.open,O0e=x_.defaultOpen,z0e=x_.onDropdownVisibleChange,_0e=x_.activeValue,A0e=x_.onActiveValueChange,$0e=x_.activeDescendantId,S0e=x_.searchValue,C0e=x_.autoClearSearchValue,E0e=x_.onSearch,w0e=x_.onSearchSplit,R0e=x_.tokenSeparators,T0e=x_.allowClear,D0e=x_.suffixIcon,W0e=x_.clearIcon,k0e=x_.OptionList,q0e=x_.animation,N0e=x_.transitionName,j0e=x_.dropdownStyle,P0e=x_.dropdownClassName,I0e=x_.dropdownMatchSelectWidth,F0e=x_.dropdownRender,V0e=x_.dropdownAlign,H0e=x_.placement,Q0e=x_.builtinPlacements,Y0e=x_.getPopupContainer,G0e=x_.showAction,B0e=G0e===void 0?[]:G0e,U0e=x_.onFocus,X0e=x_.onBlur,J0e=x_.onKeyUp,e1e=x_.onKeyDown,n1e=x_.onMouseDown,t1e=_objectWithoutProperties$4(x_,_excluded$H),r1e=isMultiple(b0e),a1e=(o0e!==void 0?o0e:r1e)||b0e==="combobox",l1e=_objectSpread2$1({},t1e);DEFAULT_OMIT_PROPS.forEach(function(y1e){delete l1e[y1e]}),l0e==null||l0e.forEach(function(y1e){delete l1e[y1e]});var s1e=reactExports.useState(!1),g1e=_slicedToArray$3(s1e,2),$1e=g1e[0],_1e=g1e[1];reactExports.useEffect(function(){_1e(isMobile$3())},[]);var p1e=reactExports.useRef(null),E1e=reactExports.useRef(null),x1e=reactExports.useRef(null),O1e=reactExports.useRef(null),w1e=reactExports.useRef(null),A1e=reactExports.useRef(!1),F1e=useDelayReset(),J1e=_slicedToArray$3(F1e,3),ame=J1e[0],G1e=J1e[1],V1e=J1e[2];reactExports.useImperativeHandle(e0e,function(){var y1e,u1e;return{focus:(y1e=O1e.current)===null||y1e===void 0?void 0:y1e.focus,blur:(u1e=O1e.current)===null||u1e===void 0?void 0:u1e.blur,scrollTo:function(C1e){var R1e;return(R1e=w1e.current)===null||R1e===void 0?void 0:R1e.scrollTo(C1e)}}});var cme=reactExports.useMemo(function(){var y1e;if(b0e!=="combobox")return S0e;var u1e=(y1e=c0e[0])===null||y1e===void 0?void 0:y1e.value;return typeof u1e=="string"||typeof u1e=="number"?String(u1e):""},[S0e,b0e,c0e]),ume=b0e==="combobox"&&typeof g0e=="function"&&g0e()||null,Y1e=typeof y0e=="function"&&y0e(),k1e=useComposeRef(E1e,Y1e==null||($P=Y1e.props)===null||$P===void 0?void 0:$P.ref),ime=reactExports.useState(!1),I1e=_slicedToArray$3(ime,2),j1e=I1e[0],H1e=I1e[1];useLayoutEffect$2(function(){H1e(!0)},[]);var W1e=useMergedState(!1,{defaultValue:O0e,value:M0e}),Q1e=_slicedToArray$3(W1e,2),K1e=Q1e[0],rme=Q1e[1],L1e=j1e?K1e:!1,Z1e=!f0e&&d0e;(m0e||Z1e&&L1e&&b0e==="combobox")&&(L1e=!1);var U1e=Z1e?!1:L1e,D1e=reactExports.useCallback(function(y1e){var u1e=y1e!==void 0?y1e:!L1e;m0e||(rme(u1e),L1e!==u1e&&(z0e==null||z0e(u1e)))},[m0e,L1e,rme,z0e]),q1e=reactExports.useMemo(function(){return(R0e||[]).some(function(y1e){return[` + ${e0e}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${e0e}-confirm-body`]:{marginBottom:"auto"}}}]},genRTLStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-root`]:{[`${e0e}-wrap-rtl`]:{direction:"rtl",[`${e0e}-confirm-body`]:{direction:"rtl"}}}}},prepareToken$2=x_=>{const e0e=x_.padding,$P=x_.fontSizeHeading5,t0e=x_.lineHeightHeading5;return merge$2(x_,{modalHeaderHeight:x_.calc(x_.calc(t0e).mul($P).equal()).add(x_.calc(e0e).mul(2).equal()).equal(),modalFooterBorderColorSplit:x_.colorSplit,modalFooterBorderStyle:x_.lineType,modalFooterBorderWidth:x_.lineWidth,modalIconHoverColor:x_.colorIconHover,modalCloseIconColor:x_.colorIcon,modalCloseBtnSize:x_.fontHeight,modalConfirmIconSize:x_.fontHeight,modalTitleHeight:x_.calc(x_.titleFontSize).mul(x_.titleLineHeight).equal()})},prepareComponentToken$k=x_=>({footerBg:"transparent",headerBg:x_.colorBgElevated,titleLineHeight:x_.lineHeightHeading5,titleFontSize:x_.fontSizeHeading5,contentBg:x_.colorBgElevated,titleColor:x_.colorTextHeading,closeBtnHoverBg:x_.wireframe?"transparent":x_.colorFillContent,closeBtnActiveBg:x_.wireframe?"transparent":x_.colorFillContentHover,contentPadding:x_.wireframe?0:`${unit$1(x_.paddingMD)} ${unit$1(x_.paddingContentHorizontalLG)}`,headerPadding:x_.wireframe?`${unit$1(x_.padding)} ${unit$1(x_.paddingLG)}`:0,headerBorderBottom:x_.wireframe?`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorSplit}`:"none",headerMarginBottom:x_.wireframe?0:x_.marginXS,bodyPadding:x_.wireframe?x_.paddingLG:0,footerPadding:x_.wireframe?`${unit$1(x_.paddingXS)} ${unit$1(x_.padding)}`:0,footerBorderTop:x_.wireframe?`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorSplit}`:"none",footerBorderRadius:x_.wireframe?`0 0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)}`:0,footerMarginTop:x_.wireframe?0:x_.marginSM,confirmBodyPadding:x_.wireframe?`${unit$1(x_.padding*2)} ${unit$1(x_.padding*2)} ${unit$1(x_.paddingLG)}`:0,confirmIconMarginInlineEnd:x_.wireframe?x_.margin:x_.marginSM,confirmBtnsMarginTop:x_.wireframe?x_.marginLG:x_.marginSM});genStyleHooks("Modal",x_=>{const e0e=prepareToken$2(x_);return[genModalStyle(e0e),genRTLStyle(e0e),genModalMaskStyle(e0e),initZoomMotion(e0e,"zoom")]},prepareComponentToken$k,{unitless:{titleLineHeight:!0}});function withPureRenderTheme(x_){return e0e=>reactExports.createElement(ConfigProvider$1,{theme:{token:{motion:!1,zIndexPopupBase:0}}},reactExports.createElement(x_,Object.assign({},e0e)))}const genPurePanel=(x_,e0e,$P,t0e)=>withPureRenderTheme(n0e=>{const{prefixCls:a0e,style:o0e}=n0e,i0e=reactExports.useRef(null),[s0e,l0e]=reactExports.useState(0),[c0e,u0e]=reactExports.useState(0),[d0e,p0e]=useMergedState(!1,{value:n0e.open}),{getPrefixCls:f0e}=reactExports.useContext(ConfigContext),h0e=f0e(e0e||"select",a0e);reactExports.useEffect(()=>{if(p0e(!0),typeof ResizeObserver<"u"){const v0e=new ResizeObserver(y0e=>{const M0e=y0e[0].target;l0e(M0e.offsetHeight+8),u0e(M0e.offsetWidth)}),g0e=setInterval(()=>{var y0e;const M0e=$P?`.${$P(h0e)}`:`.${h0e}-dropdown`,O0e=(y0e=i0e.current)===null||y0e===void 0?void 0:y0e.querySelector(M0e);O0e&&(clearInterval(g0e),v0e.observe(O0e))},10);return()=>{clearInterval(g0e),v0e.disconnect()}}},[]);let b0e=Object.assign(Object.assign({},n0e),{style:Object.assign(Object.assign({},o0e),{margin:0}),open:d0e,visible:d0e,getPopupContainer:()=>i0e.current});t0e&&(b0e=t0e(b0e));const m0e={paddingBottom:s0e,position:"relative",minWidth:c0e};return reactExports.createElement("div",{ref:i0e,style:m0e},reactExports.createElement(x_,Object.assign({},b0e)))}),genPurePanel$1=genPurePanel,isMobile$3=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var x_=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(x_)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(x_==null?void 0:x_.substr(0,4))};var TransBtn=function(e0e){var $P=e0e.className,t0e=e0e.customizeIcon,r0e=e0e.customizeIconProps,n0e=e0e.onMouseDown,a0e=e0e.onClick,o0e=e0e.children,i0e;return typeof t0e=="function"?i0e=t0e(r0e):i0e=t0e,reactExports.createElement("span",{className:$P,onMouseDown:function(l0e){l0e.preventDefault(),n0e&&n0e(l0e)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:a0e,"aria-hidden":!0},i0e!==void 0?i0e:reactExports.createElement("span",{className:cx$1($P.split(/\s+/).map(function(s0e){return"".concat(s0e,"-icon")}))},o0e))};function useAllowClear(x_,e0e,$P,t0e,r0e){var n0e=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,a0e=arguments.length>6?arguments[6]:void 0,o0e=arguments.length>7?arguments[7]:void 0,i0e=React$1.useMemo(function(){if(_typeof$2(t0e)==="object")return t0e.clearIcon;if(r0e)return r0e},[t0e,r0e]),s0e=React$1.useMemo(function(){return!!(!n0e&&t0e&&($P.length||a0e)&&!(o0e==="combobox"&&a0e===""))},[t0e,n0e,$P.length,a0e,o0e]);return{allowClear:s0e,clearIcon:React$1.createElement(TransBtn,{className:"".concat(x_,"-clear"),onMouseDown:e0e,customizeIcon:i0e},"×")}}var BaseSelectContext=reactExports.createContext(null);function useBaseProps(){return reactExports.useContext(BaseSelectContext)}function useDelayReset(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,e0e=reactExports.useState(!1),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1],n0e=reactExports.useRef(null),a0e=function(){window.clearTimeout(n0e.current)};reactExports.useEffect(function(){return a0e},[]);var o0e=function(s0e,l0e){a0e(),n0e.current=window.setTimeout(function(){r0e(s0e),l0e&&l0e()},x_)};return[t0e,o0e,a0e]}function useLock(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,e0e=reactExports.useRef(null),$P=reactExports.useRef(null);reactExports.useEffect(function(){return function(){window.clearTimeout($P.current)}},[]);function t0e(r0e){(r0e||e0e.current===null)&&(e0e.current=r0e),window.clearTimeout($P.current),$P.current=window.setTimeout(function(){e0e.current=null},x_)}return[function(){return e0e.current},t0e]}function useSelectTriggerControl(x_,e0e,$P,t0e){var r0e=reactExports.useRef(null);r0e.current={open:e0e,triggerOpen:$P,customizedTrigger:t0e},reactExports.useEffect(function(){function n0e(a0e){var o0e;if(!((o0e=r0e.current)!==null&&o0e!==void 0&&o0e.customizedTrigger)){var i0e=a0e.target;i0e.shadowRoot&&a0e.composed&&(i0e=a0e.composedPath()[0]||i0e),r0e.current.open&&x_().filter(function(s0e){return s0e}).every(function(s0e){return!s0e.contains(i0e)&&s0e!==i0e})&&r0e.current.triggerOpen(!1)}}return window.addEventListener("mousedown",n0e),function(){return window.removeEventListener("mousedown",n0e)}},[])}var _excluded$M=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],UNDEFINED=void 0;function InternalItem(x_,e0e){var $P=x_.prefixCls,t0e=x_.invalidate,r0e=x_.item,n0e=x_.renderItem,a0e=x_.responsive,o0e=x_.responsiveDisabled,i0e=x_.registerSize,s0e=x_.itemKey,l0e=x_.className,c0e=x_.style,u0e=x_.children,d0e=x_.display,p0e=x_.order,f0e=x_.component,h0e=f0e===void 0?"div":f0e,b0e=_objectWithoutProperties$4(x_,_excluded$M),m0e=a0e&&!d0e;function v0e(z0e){i0e(s0e,z0e)}reactExports.useEffect(function(){return function(){v0e(null)}},[]);var g0e=n0e&&r0e!==UNDEFINED?n0e(r0e):u0e,y0e;t0e||(y0e={opacity:m0e?0:1,height:m0e?0:UNDEFINED,overflowY:m0e?"hidden":UNDEFINED,order:a0e?p0e:UNDEFINED,pointerEvents:m0e?"none":UNDEFINED,position:m0e?"absolute":UNDEFINED});var M0e={};m0e&&(M0e["aria-hidden"]=!0);var O0e=reactExports.createElement(h0e,_extends$1z({className:cx$1(!t0e&&$P,l0e),style:_objectSpread2$1(_objectSpread2$1({},y0e),c0e)},M0e,b0e,{ref:e0e}),g0e);return a0e&&(O0e=reactExports.createElement(RefResizeObserver,{onResize:function(_0e){var A0e=_0e.offsetWidth;v0e(A0e)},disabled:o0e},O0e)),O0e}var Item$7=reactExports.forwardRef(InternalItem);Item$7.displayName="Item";function channelUpdate(x_){if(typeof MessageChannel>"u")wrapperRaf$1(x_);else{var e0e=new MessageChannel;e0e.port1.onmessage=function(){return x_()},e0e.port2.postMessage(void 0)}}function useBatcher(){var x_=reactExports.useRef(null),e0e=function(t0e){x_.current||(x_.current=[],channelUpdate(function(){reactDomExports.unstable_batchedUpdates(function(){x_.current.forEach(function(r0e){r0e()}),x_.current=null})})),x_.current.push(t0e)};return e0e}function useEffectState(x_,e0e){var $P=reactExports.useState(e0e),t0e=_slicedToArray$3($P,2),r0e=t0e[0],n0e=t0e[1],a0e=useEvent(function(o0e){x_(function(){n0e(o0e)})});return[r0e,a0e]}var OverflowContext=React$1.createContext(null),_excluded$L=["component"],_excluded2$e=["className"],_excluded3$3=["className"],InternalRawItem=function(e0e,$P){var t0e=reactExports.useContext(OverflowContext);if(!t0e){var r0e=e0e.component,n0e=r0e===void 0?"div":r0e,a0e=_objectWithoutProperties$4(e0e,_excluded$L);return reactExports.createElement(n0e,_extends$1z({},a0e,{ref:$P}))}var o0e=t0e.className,i0e=_objectWithoutProperties$4(t0e,_excluded2$e),s0e=e0e.className,l0e=_objectWithoutProperties$4(e0e,_excluded3$3);return reactExports.createElement(OverflowContext.Provider,{value:null},reactExports.createElement(Item$7,_extends$1z({ref:$P,className:cx$1(o0e,s0e)},i0e,l0e)))},RawItem=reactExports.forwardRef(InternalRawItem);RawItem.displayName="RawItem";var _excluded$K=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],RESPONSIVE$1="responsive",INVALIDATE$1="invalidate";function defaultRenderRest(x_){return"+ ".concat(x_.length," ...")}function Overflow(x_,e0e){var $P=x_.prefixCls,t0e=$P===void 0?"rc-overflow":$P,r0e=x_.data,n0e=r0e===void 0?[]:r0e,a0e=x_.renderItem,o0e=x_.renderRawItem,i0e=x_.itemKey,s0e=x_.itemWidth,l0e=s0e===void 0?10:s0e,c0e=x_.ssr,u0e=x_.style,d0e=x_.className,p0e=x_.maxCount,f0e=x_.renderRest,h0e=x_.renderRawRest,b0e=x_.suffix,m0e=x_.component,v0e=m0e===void 0?"div":m0e,g0e=x_.itemComponent,y0e=x_.onVisibleChange,M0e=_objectWithoutProperties$4(x_,_excluded$K),O0e=c0e==="full",z0e=useBatcher(),_0e=useEffectState(z0e,null),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=$0e||0,E0e=useEffectState(z0e,new Map),w0e=_slicedToArray$3(E0e,2),R0e=w0e[0],T0e=w0e[1],D0e=useEffectState(z0e,0),W0e=_slicedToArray$3(D0e,2),k0e=W0e[0],q0e=W0e[1],N0e=useEffectState(z0e,0),j0e=_slicedToArray$3(N0e,2),P0e=j0e[0],I0e=j0e[1],F0e=useEffectState(z0e,0),V0e=_slicedToArray$3(F0e,2),H0e=V0e[0],Q0e=V0e[1],Y0e=reactExports.useState(null),G0e=_slicedToArray$3(Y0e,2),B0e=G0e[0],U0e=G0e[1],X0e=reactExports.useState(null),Z0e=_slicedToArray$3(X0e,2),e1e=Z0e[0],n1e=Z0e[1],t1e=reactExports.useMemo(function(){return e1e===null&&O0e?Number.MAX_SAFE_INTEGER:e1e||0},[e1e,$0e]),r1e=reactExports.useState(!1),a1e=_slicedToArray$3(r1e,2),l1e=a1e[0],s1e=a1e[1],g1e="".concat(t0e,"-item"),$1e=Math.max(k0e,P0e),_1e=p0e===RESPONSIVE$1,p1e=n0e.length&&_1e,E1e=p0e===INVALIDATE$1,x1e=p1e||typeof p0e=="number"&&n0e.length>p0e,O1e=reactExports.useMemo(function(){var K1e=n0e;return p1e?$0e===null&&O0e?K1e=n0e:K1e=n0e.slice(0,Math.min(n0e.length,C0e/l0e)):typeof p0e=="number"&&(K1e=n0e.slice(0,p0e)),K1e},[n0e,l0e,$0e,p0e,p1e]),w1e=reactExports.useMemo(function(){return p1e?n0e.slice(t1e+1):n0e.slice(O1e.length)},[n0e,O1e,p1e,t1e]),A1e=reactExports.useCallback(function(K1e,rme){var L1e;return typeof i0e=="function"?i0e(K1e):(L1e=i0e&&(K1e==null?void 0:K1e[i0e]))!==null&&L1e!==void 0?L1e:rme},[i0e]),F1e=reactExports.useCallback(a0e||function(K1e){return K1e},[a0e]);function J1e(K1e,rme,L1e){e1e===K1e&&(rme===void 0||rme===B0e)||(n1e(K1e),L1e||(s1e(K1eC0e){J1e(Z1e-1,K1e-U1e-H0e+P0e);break}}b0e&&ume(0)+H0e>C0e&&U0e(null)}},[C0e,R0e,P0e,H0e,A1e,O1e]);var Y1e=l1e&&!!w1e.length,k1e={};B0e!==null&&p1e&&(k1e={position:"absolute",left:B0e,top:0});var ime={prefixCls:g1e,responsive:p1e,component:g0e,invalidate:E1e},I1e=o0e?function(K1e,rme){var L1e=A1e(K1e,rme);return reactExports.createElement(OverflowContext.Provider,{key:L1e,value:_objectSpread2$1(_objectSpread2$1({},ime),{},{order:rme,item:K1e,itemKey:L1e,registerSize:G1e,display:rme<=t1e})},o0e(K1e,rme))}:function(K1e,rme){var L1e=A1e(K1e,rme);return reactExports.createElement(Item$7,_extends$1z({},ime,{order:rme,key:L1e,item:K1e,renderItem:F1e,itemKey:L1e,registerSize:G1e,display:rme<=t1e}))},j1e,H1e={order:Y1e?t1e:Number.MAX_SAFE_INTEGER,className:"".concat(g1e,"-rest"),registerSize:V1e,display:Y1e};if(h0e)h0e&&(j1e=reactExports.createElement(OverflowContext.Provider,{value:_objectSpread2$1(_objectSpread2$1({},ime),H1e)},h0e(w1e)));else{var W1e=f0e||defaultRenderRest;j1e=reactExports.createElement(Item$7,_extends$1z({},ime,H1e),typeof W1e=="function"?W1e(w1e):W1e)}var Q1e=reactExports.createElement(v0e,_extends$1z({className:cx$1(!E1e&&t0e,d0e),style:u0e,ref:e0e},M0e),O1e.map(I1e),x1e?j1e:null,b0e&&reactExports.createElement(Item$7,_extends$1z({},ime,{responsive:_1e,responsiveDisabled:!p1e,order:t1e,className:"".concat(g1e,"-suffix"),registerSize:cme,display:!0,style:k1e}),b0e));return _1e&&(Q1e=reactExports.createElement(RefResizeObserver,{onResize:ame,disabled:!p1e},Q1e)),Q1e}var ForwardOverflow=reactExports.forwardRef(Overflow);ForwardOverflow.displayName="Overflow";ForwardOverflow.Item=RawItem;ForwardOverflow.RESPONSIVE=RESPONSIVE$1;ForwardOverflow.INVALIDATE=INVALIDATE$1;var Input$6=function(e0e,$P){var t0e,r0e=e0e.prefixCls,n0e=e0e.id,a0e=e0e.inputElement,o0e=e0e.disabled,i0e=e0e.tabIndex,s0e=e0e.autoFocus,l0e=e0e.autoComplete,c0e=e0e.editable,u0e=e0e.activeDescendantId,d0e=e0e.value,p0e=e0e.maxLength,f0e=e0e.onKeyDown,h0e=e0e.onMouseDown,b0e=e0e.onChange,m0e=e0e.onPaste,v0e=e0e.onCompositionStart,g0e=e0e.onCompositionEnd,y0e=e0e.open,M0e=e0e.attrs,O0e=a0e||reactExports.createElement("input",null),z0e=O0e,_0e=z0e.ref,A0e=z0e.props,$0e=A0e.onKeyDown,S0e=A0e.onChange,C0e=A0e.onMouseDown,E0e=A0e.onCompositionStart,w0e=A0e.onCompositionEnd,R0e=A0e.style;return"maxLength"in O0e.props,O0e=reactExports.cloneElement(O0e,_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({type:"search"},A0e),{},{id:n0e,ref:composeRef$1($P,_0e),disabled:o0e,tabIndex:i0e,autoComplete:l0e||"off",autoFocus:s0e,className:cx$1("".concat(r0e,"-selection-search-input"),(t0e=O0e)===null||t0e===void 0||(t0e=t0e.props)===null||t0e===void 0?void 0:t0e.className),role:"combobox","aria-expanded":y0e||!1,"aria-haspopup":"listbox","aria-owns":"".concat(n0e,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(n0e,"_list"),"aria-activedescendant":y0e?u0e:void 0},M0e),{},{value:c0e?d0e:"",maxLength:p0e,readOnly:!c0e,unselectable:c0e?null:"on",style:_objectSpread2$1(_objectSpread2$1({},R0e),{},{opacity:c0e?null:0}),onKeyDown:function(D0e){f0e(D0e),$0e&&$0e(D0e)},onMouseDown:function(D0e){h0e(D0e),C0e&&C0e(D0e)},onChange:function(D0e){b0e(D0e),S0e&&S0e(D0e)},onCompositionStart:function(D0e){v0e(D0e),E0e&&E0e(D0e)},onCompositionEnd:function(D0e){g0e(D0e),w0e&&w0e(D0e)},onPaste:m0e})),O0e},RefInput=reactExports.forwardRef(Input$6);RefInput.displayName="Input";function toArray$4(x_){return Array.isArray(x_)?x_:x_!==void 0?[x_]:[]}var isClient=typeof window<"u"&&window.document&&window.document.documentElement,isBrowserClient$2=isClient;function hasValue$2(x_){return x_!=null}function isComboNoValue(x_){return!x_&&x_!==0}function isTitleType$1(x_){return["string","number"].includes(_typeof$2(x_))}function getTitle(x_){var e0e=void 0;return x_&&(isTitleType$1(x_.title)?e0e=x_.title.toString():isTitleType$1(x_.label)&&(e0e=x_.label.toString())),e0e}function useLayoutEffect$1(x_,e0e){isBrowserClient$2?reactExports.useLayoutEffect(x_,e0e):reactExports.useEffect(x_,e0e)}function itemKey(x_){var e0e;return(e0e=x_.key)!==null&&e0e!==void 0?e0e:x_.value}var onPreventMouseDown=function(e0e){e0e.preventDefault(),e0e.stopPropagation()},SelectSelector=function(e0e){var $P=e0e.id,t0e=e0e.prefixCls,r0e=e0e.values,n0e=e0e.open,a0e=e0e.searchValue,o0e=e0e.autoClearSearchValue,i0e=e0e.inputRef,s0e=e0e.placeholder,l0e=e0e.disabled,c0e=e0e.mode,u0e=e0e.showSearch,d0e=e0e.autoFocus,p0e=e0e.autoComplete,f0e=e0e.activeDescendantId,h0e=e0e.tabIndex,b0e=e0e.removeIcon,m0e=e0e.maxTagCount,v0e=e0e.maxTagTextLength,g0e=e0e.maxTagPlaceholder,y0e=g0e===void 0?function(U0e){return"+ ".concat(U0e.length," ...")}:g0e,M0e=e0e.tagRender,O0e=e0e.onToggleOpen,z0e=e0e.onRemove,_0e=e0e.onInputChange,A0e=e0e.onInputPaste,$0e=e0e.onInputKeyDown,S0e=e0e.onInputMouseDown,C0e=e0e.onInputCompositionStart,E0e=e0e.onInputCompositionEnd,w0e=reactExports.useRef(null),R0e=reactExports.useState(0),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=reactExports.useState(!1),q0e=_slicedToArray$3(k0e,2),N0e=q0e[0],j0e=q0e[1],P0e="".concat(t0e,"-selection"),I0e=n0e||c0e==="multiple"&&o0e===!1||c0e==="tags"?a0e:"",F0e=c0e==="tags"||c0e==="multiple"&&o0e===!1||u0e&&(n0e||N0e);useLayoutEffect$1(function(){W0e(w0e.current.scrollWidth)},[I0e]);function V0e(U0e,X0e,Z0e,e1e,n1e){return reactExports.createElement("span",{className:cx$1("".concat(P0e,"-item"),_defineProperty$5({},"".concat(P0e,"-item-disabled"),Z0e)),title:getTitle(U0e)},reactExports.createElement("span",{className:"".concat(P0e,"-item-content")},X0e),e1e&&reactExports.createElement(TransBtn,{className:"".concat(P0e,"-item-remove"),onMouseDown:onPreventMouseDown,onClick:n1e,customizeIcon:b0e},"×"))}function H0e(U0e,X0e,Z0e,e1e,n1e){var t1e=function(a1e){onPreventMouseDown(a1e),O0e(!n0e)};return reactExports.createElement("span",{onMouseDown:t1e},M0e({label:X0e,value:U0e,disabled:Z0e,closable:e1e,onClose:n1e}))}function Q0e(U0e){var X0e=U0e.disabled,Z0e=U0e.label,e1e=U0e.value,n1e=!l0e&&!X0e,t1e=Z0e;if(typeof v0e=="number"&&(typeof Z0e=="string"||typeof Z0e=="number")){var r1e=String(t1e);r1e.length>v0e&&(t1e="".concat(r1e.slice(0,v0e),"..."))}var a1e=function(s1e){s1e&&s1e.stopPropagation(),z0e(U0e)};return typeof M0e=="function"?H0e(e1e,t1e,X0e,n1e,a1e):V0e(U0e,t1e,X0e,n1e,a1e)}function Y0e(U0e){var X0e=typeof y0e=="function"?y0e(U0e):y0e;return V0e({title:X0e},X0e,!1)}var G0e=reactExports.createElement("div",{className:"".concat(P0e,"-search"),style:{width:D0e},onFocus:function(){j0e(!0)},onBlur:function(){j0e(!1)}},reactExports.createElement(RefInput,{ref:i0e,open:n0e,prefixCls:t0e,id:$P,inputElement:null,disabled:l0e,autoFocus:d0e,autoComplete:p0e,editable:F0e,activeDescendantId:f0e,value:I0e,onKeyDown:$0e,onMouseDown:S0e,onChange:_0e,onPaste:A0e,onCompositionStart:C0e,onCompositionEnd:E0e,tabIndex:h0e,attrs:pickAttrs(e0e,!0)}),reactExports.createElement("span",{ref:w0e,className:"".concat(P0e,"-search-mirror"),"aria-hidden":!0},I0e," ")),B0e=reactExports.createElement(ForwardOverflow,{prefixCls:"".concat(P0e,"-overflow"),data:r0e,renderItem:Q0e,renderRest:Y0e,suffix:G0e,itemKey,maxCount:m0e});return reactExports.createElement(reactExports.Fragment,null,B0e,!r0e.length&&!I0e&&reactExports.createElement("span",{className:"".concat(P0e,"-placeholder")},s0e))},SingleSelector=function(e0e){var $P=e0e.inputElement,t0e=e0e.prefixCls,r0e=e0e.id,n0e=e0e.inputRef,a0e=e0e.disabled,o0e=e0e.autoFocus,i0e=e0e.autoComplete,s0e=e0e.activeDescendantId,l0e=e0e.mode,c0e=e0e.open,u0e=e0e.values,d0e=e0e.placeholder,p0e=e0e.tabIndex,f0e=e0e.showSearch,h0e=e0e.searchValue,b0e=e0e.activeValue,m0e=e0e.maxLength,v0e=e0e.onInputKeyDown,g0e=e0e.onInputMouseDown,y0e=e0e.onInputChange,M0e=e0e.onInputPaste,O0e=e0e.onInputCompositionStart,z0e=e0e.onInputCompositionEnd,_0e=e0e.title,A0e=reactExports.useState(!1),$0e=_slicedToArray$3(A0e,2),S0e=$0e[0],C0e=$0e[1],E0e=l0e==="combobox",w0e=E0e||f0e,R0e=u0e[0],T0e=h0e||"";E0e&&b0e&&!S0e&&(T0e=b0e),reactExports.useEffect(function(){E0e&&C0e(!1)},[E0e,b0e]);var D0e=l0e!=="combobox"&&!c0e&&!f0e?!1:!!T0e,W0e=_0e===void 0?getTitle(R0e):_0e,k0e=function(){if(R0e)return null;var N0e=D0e?{visibility:"hidden"}:void 0;return reactExports.createElement("span",{className:"".concat(t0e,"-selection-placeholder"),style:N0e},d0e)};return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("span",{className:"".concat(t0e,"-selection-search")},reactExports.createElement(RefInput,{ref:n0e,prefixCls:t0e,id:r0e,open:c0e,inputElement:$P,disabled:a0e,autoFocus:o0e,autoComplete:i0e,editable:w0e,activeDescendantId:s0e,value:T0e,onKeyDown:v0e,onMouseDown:g0e,onChange:function(N0e){C0e(!0),y0e(N0e)},onPaste:M0e,onCompositionStart:O0e,onCompositionEnd:z0e,tabIndex:p0e,attrs:pickAttrs(e0e,!0),maxLength:E0e?m0e:void 0})),!E0e&&R0e?reactExports.createElement("span",{className:"".concat(t0e,"-selection-item"),title:W0e,style:D0e?{visibility:"hidden"}:void 0},R0e.label):null,k0e())};function isValidateOpenKey(x_){return![KeyCode$1.ESC,KeyCode$1.SHIFT,KeyCode$1.BACKSPACE,KeyCode$1.TAB,KeyCode$1.WIN_KEY,KeyCode$1.ALT,KeyCode$1.META,KeyCode$1.WIN_KEY_RIGHT,KeyCode$1.CTRL,KeyCode$1.SEMICOLON,KeyCode$1.EQUALS,KeyCode$1.CAPS_LOCK,KeyCode$1.CONTEXT_MENU,KeyCode$1.F1,KeyCode$1.F2,KeyCode$1.F3,KeyCode$1.F4,KeyCode$1.F5,KeyCode$1.F6,KeyCode$1.F7,KeyCode$1.F8,KeyCode$1.F9,KeyCode$1.F10,KeyCode$1.F11,KeyCode$1.F12].includes(x_)}var Selector=function(e0e,$P){var t0e=reactExports.useRef(null),r0e=reactExports.useRef(!1),n0e=e0e.prefixCls,a0e=e0e.open,o0e=e0e.mode,i0e=e0e.showSearch,s0e=e0e.tokenWithEnter,l0e=e0e.autoClearSearchValue,c0e=e0e.onSearch,u0e=e0e.onSearchSubmit,d0e=e0e.onToggleOpen,p0e=e0e.onInputKeyDown,f0e=e0e.domRef;reactExports.useImperativeHandle($P,function(){return{focus:function(){t0e.current.focus()},blur:function(){t0e.current.blur()}}});var h0e=useLock(0),b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=b0e[1],g0e=function(T0e){var D0e=T0e.which;(D0e===KeyCode$1.UP||D0e===KeyCode$1.DOWN)&&T0e.preventDefault(),p0e&&p0e(T0e),D0e===KeyCode$1.ENTER&&o0e==="tags"&&!r0e.current&&!a0e&&(u0e==null||u0e(T0e.target.value)),isValidateOpenKey(D0e)&&d0e(!0)},y0e=function(){v0e(!0)},M0e=reactExports.useRef(null),O0e=function(T0e){c0e(T0e,!0,r0e.current)!==!1&&d0e(!0)},z0e=function(){r0e.current=!0},_0e=function(T0e){r0e.current=!1,o0e!=="combobox"&&O0e(T0e.target.value)},A0e=function(T0e){var D0e=T0e.target.value;if(s0e&&M0e.current&&/[\r\n]/.test(M0e.current)){var W0e=M0e.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");D0e=D0e.replace(W0e,M0e.current)}M0e.current=null,O0e(D0e)},$0e=function(T0e){var D0e=T0e.clipboardData,W0e=D0e.getData("text");M0e.current=W0e},S0e=function(T0e){var D0e=T0e.target;if(D0e!==t0e.current){var W0e=document.body.style.msTouchAction!==void 0;W0e?setTimeout(function(){t0e.current.focus()}):t0e.current.focus()}},C0e=function(T0e){var D0e=m0e();T0e.target!==t0e.current&&!D0e&&o0e!=="combobox"&&T0e.preventDefault(),(o0e!=="combobox"&&(!i0e||!D0e)||!a0e)&&(a0e&&l0e!==!1&&c0e("",!0,!1),d0e())},E0e={inputRef:t0e,onInputKeyDown:g0e,onInputMouseDown:y0e,onInputChange:A0e,onInputPaste:$0e,onInputCompositionStart:z0e,onInputCompositionEnd:_0e},w0e=o0e==="multiple"||o0e==="tags"?reactExports.createElement(SelectSelector,_extends$1z({},e0e,E0e)):reactExports.createElement(SingleSelector,_extends$1z({},e0e,E0e));return reactExports.createElement("div",{ref:f0e,className:"".concat(n0e,"-selector"),onClick:S0e,onMouseDown:C0e},w0e)},ForwardSelector=reactExports.forwardRef(Selector);ForwardSelector.displayName="Selector";function Arrow(x_){var e0e=x_.prefixCls,$P=x_.align,t0e=x_.arrow,r0e=x_.arrowPos,n0e=t0e||{},a0e=n0e.className,o0e=n0e.content,i0e=r0e.x,s0e=i0e===void 0?0:i0e,l0e=r0e.y,c0e=l0e===void 0?0:l0e,u0e=reactExports.useRef();if(!$P||!$P.points)return null;var d0e={position:"absolute"};if($P.autoArrow!==!1){var p0e=$P.points[0],f0e=$P.points[1],h0e=p0e[0],b0e=p0e[1],m0e=f0e[0],v0e=f0e[1];h0e===m0e||!["t","b"].includes(h0e)?d0e.top=c0e:h0e==="t"?d0e.top=0:d0e.bottom=0,b0e===v0e||!["l","r"].includes(b0e)?d0e.left=s0e:b0e==="l"?d0e.left=0:d0e.right=0}return reactExports.createElement("div",{ref:u0e,className:cx$1("".concat(e0e,"-arrow"),a0e),style:d0e},o0e)}function Mask(x_){var e0e=x_.prefixCls,$P=x_.open,t0e=x_.zIndex,r0e=x_.mask,n0e=x_.motion;return r0e?reactExports.createElement(CSSMotion,_extends$1z({},n0e,{motionAppear:!0,visible:$P,removeOnLeave:!0}),function(a0e){var o0e=a0e.className;return reactExports.createElement("div",{style:{zIndex:t0e},className:cx$1("".concat(e0e,"-mask"),o0e)})}):null}var PopupContent=reactExports.memo(function(x_){var e0e=x_.children;return e0e},function(x_,e0e){return e0e.cache}),Popup$2=reactExports.forwardRef(function(x_,e0e){var $P=x_.popup,t0e=x_.className,r0e=x_.prefixCls,n0e=x_.style,a0e=x_.target,o0e=x_.onVisibleChanged,i0e=x_.open,s0e=x_.keepDom,l0e=x_.fresh,c0e=x_.onClick,u0e=x_.mask,d0e=x_.arrow,p0e=x_.arrowPos,f0e=x_.align,h0e=x_.motion,b0e=x_.maskMotion,m0e=x_.forceRender,v0e=x_.getPopupContainer,g0e=x_.autoDestroy,y0e=x_.portal,M0e=x_.zIndex,O0e=x_.onMouseEnter,z0e=x_.onMouseLeave,_0e=x_.onPointerEnter,A0e=x_.ready,$0e=x_.offsetX,S0e=x_.offsetY,C0e=x_.offsetR,E0e=x_.offsetB,w0e=x_.onAlign,R0e=x_.onPrepare,T0e=x_.stretch,D0e=x_.targetWidth,W0e=x_.targetHeight,k0e=typeof $P=="function"?$P():$P,q0e=i0e||s0e,N0e=(v0e==null?void 0:v0e.length)>0,j0e=reactExports.useState(!v0e||!N0e),P0e=_slicedToArray$3(j0e,2),I0e=P0e[0],F0e=P0e[1];if(useLayoutEffect$2(function(){!I0e&&N0e&&a0e&&F0e(!0)},[I0e,N0e,a0e]),!I0e)return null;var V0e="auto",H0e={left:"-1000vw",top:"-1000vh",right:V0e,bottom:V0e};if(A0e||!i0e){var Q0e,Y0e=f0e.points,G0e=f0e.dynamicInset||((Q0e=f0e._experimental)===null||Q0e===void 0?void 0:Q0e.dynamicInset),B0e=G0e&&Y0e[0][1]==="r",U0e=G0e&&Y0e[0][0]==="b";B0e?(H0e.right=C0e,H0e.left=V0e):(H0e.left=$0e,H0e.right=V0e),U0e?(H0e.bottom=E0e,H0e.top=V0e):(H0e.top=S0e,H0e.bottom=V0e)}var X0e={};return T0e&&(T0e.includes("height")&&W0e?X0e.height=W0e:T0e.includes("minHeight")&&W0e&&(X0e.minHeight=W0e),T0e.includes("width")&&D0e?X0e.width=D0e:T0e.includes("minWidth")&&D0e&&(X0e.minWidth=D0e)),i0e||(X0e.pointerEvents="none"),reactExports.createElement(y0e,{open:m0e||q0e,getContainer:v0e&&function(){return v0e(a0e)},autoDestroy:g0e},reactExports.createElement(Mask,{prefixCls:r0e,open:i0e,zIndex:M0e,mask:u0e,motion:b0e}),reactExports.createElement(RefResizeObserver,{onResize:w0e,disabled:!i0e},function(Z0e){return reactExports.createElement(CSSMotion,_extends$1z({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:m0e,leavedClassName:"".concat(r0e,"-hidden")},h0e,{onAppearPrepare:R0e,onEnterPrepare:R0e,visible:i0e,onVisibleChanged:function(n1e){var t1e;h0e==null||(t1e=h0e.onVisibleChanged)===null||t1e===void 0||t1e.call(h0e,n1e),o0e(n1e)}}),function(e1e,n1e){var t1e=e1e.className,r1e=e1e.style,a1e=cx$1(r0e,t1e,t0e);return reactExports.createElement("div",{ref:composeRef$1(Z0e,e0e,n1e),className:a1e,style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({"--arrow-x":"".concat(p0e.x||0,"px"),"--arrow-y":"".concat(p0e.y||0,"px")},H0e),X0e),r1e),{},{boxSizing:"border-box",zIndex:M0e},n0e),onMouseEnter:O0e,onMouseLeave:z0e,onPointerEnter:_0e,onClick:c0e},d0e&&reactExports.createElement(Arrow,{prefixCls:r0e,arrow:d0e,arrowPos:p0e,align:f0e}),reactExports.createElement(PopupContent,{cache:!i0e&&!l0e},k0e))})}))}),TriggerWrapper=reactExports.forwardRef(function(x_,e0e){var $P=x_.children,t0e=x_.getTriggerDOMNode,r0e=supportRef($P),n0e=reactExports.useCallback(function(o0e){fillRef$1(e0e,t0e?t0e(o0e):o0e)},[t0e]),a0e=useComposeRef(n0e,$P.ref);return r0e?reactExports.cloneElement($P,{ref:a0e}):$P}),TriggerContext=reactExports.createContext(null);function toArray$3(x_){return x_?Array.isArray(x_)?x_:[x_]:[]}function useAction(x_,e0e,$P,t0e){return reactExports.useMemo(function(){var r0e=toArray$3($P??e0e),n0e=toArray$3(t0e??e0e),a0e=new Set(r0e),o0e=new Set(n0e);return x_&&(a0e.has("hover")&&(a0e.delete("hover"),a0e.add("click")),o0e.has("hover")&&(o0e.delete("hover"),o0e.add("click"))),[a0e,o0e]},[x_,e0e,$P,t0e])}function isPointsEq(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],$P=arguments.length>2?arguments[2]:void 0;return $P?x_[0]===e0e[0]:x_[0]===e0e[0]&&x_[1]===e0e[1]}function getAlignPopupClassName(x_,e0e,$P,t0e){for(var r0e=$P.points,n0e=Object.keys(x_),a0e=0;a0e1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(x_)?e0e:x_}function getPxValue(x_){return toNum(parseFloat(x_),0)}function getVisibleArea(x_,e0e){var $P=_objectSpread2$1({},x_);return(e0e||[]).forEach(function(t0e){if(!(t0e instanceof HTMLBodyElement||t0e instanceof HTMLHtmlElement)){var r0e=getWin(t0e).getComputedStyle(t0e),n0e=r0e.overflow,a0e=r0e.overflowClipMargin,o0e=r0e.borderTopWidth,i0e=r0e.borderBottomWidth,s0e=r0e.borderLeftWidth,l0e=r0e.borderRightWidth,c0e=t0e.getBoundingClientRect(),u0e=t0e.offsetHeight,d0e=t0e.clientHeight,p0e=t0e.offsetWidth,f0e=t0e.clientWidth,h0e=getPxValue(o0e),b0e=getPxValue(i0e),m0e=getPxValue(s0e),v0e=getPxValue(l0e),g0e=toNum(Math.round(c0e.width/p0e*1e3)/1e3),y0e=toNum(Math.round(c0e.height/u0e*1e3)/1e3),M0e=(p0e-f0e-m0e-v0e)*g0e,O0e=(u0e-d0e-h0e-b0e)*y0e,z0e=h0e*y0e,_0e=b0e*y0e,A0e=m0e*g0e,$0e=v0e*g0e,S0e=0,C0e=0;if(n0e==="clip"){var E0e=getPxValue(a0e);S0e=E0e*g0e,C0e=E0e*y0e}var w0e=c0e.x+A0e-S0e,R0e=c0e.y+z0e-C0e,T0e=w0e+c0e.width+2*S0e-A0e-$0e-M0e,D0e=R0e+c0e.height+2*C0e-z0e-_0e-O0e;$P.left=Math.max($P.left,w0e),$P.top=Math.max($P.top,R0e),$P.right=Math.min($P.right,T0e),$P.bottom=Math.min($P.bottom,D0e)}}),$P}function getUnitOffset(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$P="".concat(e0e),t0e=$P.match(/^(.*)\%$/);return t0e?x_*(parseFloat(t0e[1])/100):parseFloat($P)}function getNumberOffset(x_,e0e){var $P=e0e||[],t0e=_slicedToArray$3($P,2),r0e=t0e[0],n0e=t0e[1];return[getUnitOffset(x_.width,r0e),getUnitOffset(x_.height,n0e)]}function splitPoints(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[x_[0],x_[1]]}function getAlignPoint(x_,e0e){var $P=e0e[0],t0e=e0e[1],r0e,n0e;return $P==="t"?n0e=x_.y:$P==="b"?n0e=x_.y+x_.height:n0e=x_.y+x_.height/2,t0e==="l"?r0e=x_.x:t0e==="r"?r0e=x_.x+x_.width:r0e=x_.x+x_.width/2,{x:r0e,y:n0e}}function reversePoints(x_,e0e){var $P={t:"b",b:"t",l:"r",r:"l"};return x_.map(function(t0e,r0e){return r0e===e0e?$P[t0e]||"c":t0e}).join("")}function useAlign(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=reactExports.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:r0e[t0e]||{}}),i0e=_slicedToArray$3(o0e,2),s0e=i0e[0],l0e=i0e[1],c0e=reactExports.useRef(0),u0e=reactExports.useMemo(function(){return e0e?collectScroller(e0e):[]},[e0e]),d0e=reactExports.useRef({}),p0e=function(){d0e.current={}};x_||p0e();var f0e=useEvent(function(){if(e0e&&$P&&x_){let jme=function(Hme,Ume){var Xme=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a1e,nbe=k0e.x+Hme,sbe=k0e.y+Ume,Qme=nbe+Q0e,ube=sbe+H0e,dbe=Math.max(nbe,Xme.left),ybe=Math.max(sbe,Xme.top),Mbe=Math.min(Qme,Xme.right),Obe=Math.min(ube,Xme.bottom);return Math.max(0,(Mbe-dbe)*(Obe-ybe))},Gme=function(){lme=k0e.y+W1e,Ome=lme+H0e,bme=k0e.x+H1e,d1e=bme+Q0e};var m0e,v0e,g0e=e0e,y0e=g0e.ownerDocument,M0e=getWin(g0e),O0e=M0e.getComputedStyle(g0e),z0e=O0e.width,_0e=O0e.height,A0e=O0e.position,$0e=g0e.style.left,S0e=g0e.style.top,C0e=g0e.style.right,E0e=g0e.style.bottom,w0e=g0e.style.overflow,R0e=_objectSpread2$1(_objectSpread2$1({},r0e[t0e]),n0e),T0e=y0e.createElement("div");(m0e=g0e.parentElement)===null||m0e===void 0||m0e.appendChild(T0e),T0e.style.left="".concat(g0e.offsetLeft,"px"),T0e.style.top="".concat(g0e.offsetTop,"px"),T0e.style.position=A0e,T0e.style.height="".concat(g0e.offsetHeight,"px"),T0e.style.width="".concat(g0e.offsetWidth,"px"),g0e.style.left="0",g0e.style.top="0",g0e.style.right="auto",g0e.style.bottom="auto",g0e.style.overflow="hidden";var D0e;if(Array.isArray($P))D0e={x:$P[0],y:$P[1],width:0,height:0};else{var W0e=$P.getBoundingClientRect();D0e={x:W0e.x,y:W0e.y,width:W0e.width,height:W0e.height}}var k0e=g0e.getBoundingClientRect(),q0e=y0e.documentElement,N0e=q0e.clientWidth,j0e=q0e.clientHeight,P0e=q0e.scrollWidth,I0e=q0e.scrollHeight,F0e=q0e.scrollTop,V0e=q0e.scrollLeft,H0e=k0e.height,Q0e=k0e.width,Y0e=D0e.height,G0e=D0e.width,B0e={left:0,top:0,right:N0e,bottom:j0e},U0e={left:-V0e,top:-F0e,right:P0e-V0e,bottom:I0e-F0e},X0e=R0e.htmlRegion,Z0e="visible",e1e="visibleFirst";X0e!=="scroll"&&X0e!==e1e&&(X0e=Z0e);var n1e=X0e===e1e,t1e=getVisibleArea(U0e,u0e),r1e=getVisibleArea(B0e,u0e),a1e=X0e===Z0e?r1e:t1e,l1e=n1e?r1e:a1e;g0e.style.left="auto",g0e.style.top="auto",g0e.style.right="0",g0e.style.bottom="0";var s1e=g0e.getBoundingClientRect();g0e.style.left=$0e,g0e.style.top=S0e,g0e.style.right=C0e,g0e.style.bottom=E0e,g0e.style.overflow=w0e,(v0e=g0e.parentElement)===null||v0e===void 0||v0e.removeChild(T0e);var g1e=toNum(Math.round(Q0e/parseFloat(z0e)*1e3)/1e3),$1e=toNum(Math.round(H0e/parseFloat(_0e)*1e3)/1e3);if(g1e===0||$1e===0||isDOM($P)&&!isVisible$1($P))return;var _1e=R0e.offset,p1e=R0e.targetOffset,E1e=getNumberOffset(k0e,_1e),x1e=_slicedToArray$3(E1e,2),O1e=x1e[0],w1e=x1e[1],A1e=getNumberOffset(D0e,p1e),F1e=_slicedToArray$3(A1e,2),J1e=F1e[0],ame=F1e[1];D0e.x-=J1e,D0e.y-=ame;var G1e=R0e.points||[],V1e=_slicedToArray$3(G1e,2),cme=V1e[0],ume=V1e[1],Y1e=splitPoints(ume),k1e=splitPoints(cme),ime=getAlignPoint(D0e,Y1e),I1e=getAlignPoint(k0e,k1e),j1e=_objectSpread2$1({},R0e),H1e=ime.x-I1e.x+O1e,W1e=ime.y-I1e.y+w1e,Q1e=jme(H1e,W1e),K1e=jme(H1e,W1e,r1e),rme=getAlignPoint(D0e,["t","l"]),L1e=getAlignPoint(k0e,["t","l"]),Z1e=getAlignPoint(D0e,["b","r"]),U1e=getAlignPoint(k0e,["b","r"]),D1e=R0e.overflow||{},q1e=D1e.adjustX,pme=D1e.adjustY,$me=D1e.shiftX,fme=D1e.shiftY,mme=function(Ume){return typeof Ume=="boolean"?Ume:Ume>=0},lme,Ome,bme,d1e;Gme();var b1e=mme(pme),S1e=k1e[0]===Y1e[0];if(b1e&&k1e[0]==="t"&&(Ome>l1e.bottom||d0e.current.bt)){var N1e=W1e;S1e?N1e-=H0e-Y0e:N1e=rme.y-U1e.y-w1e;var nme=jme(H1e,N1e),ome=jme(H1e,N1e,r1e);nme>Q1e||nme===Q1e&&(!n1e||ome>=K1e)?(d0e.current.bt=!0,W1e=N1e,w1e=-w1e,j1e.points=[reversePoints(k1e,0),reversePoints(Y1e,0)]):d0e.current.bt=!1}if(b1e&&k1e[0]==="b"&&(lmeQ1e||T1e===Q1e&&(!n1e||B1e>=K1e)?(d0e.current.tb=!0,W1e=m1e,w1e=-w1e,j1e.points=[reversePoints(k1e,0),reversePoints(Y1e,0)]):d0e.current.tb=!1}var eme=mme(q1e),sme=k1e[1]===Y1e[1];if(eme&&k1e[1]==="l"&&(d1e>l1e.right||d0e.current.rl)){var gme=H1e;sme?gme-=Q0e-G0e:gme=rme.x-U1e.x-O1e;var zme=jme(gme,W1e),yme=jme(gme,W1e,r1e);zme>Q1e||zme===Q1e&&(!n1e||yme>=K1e)?(d0e.current.rl=!0,H1e=gme,O1e=-O1e,j1e.points=[reversePoints(k1e,1),reversePoints(Y1e,1)]):d0e.current.rl=!1}if(eme&&k1e[1]==="r"&&(bmeQ1e||xme===Q1e&&(!n1e||Tme>=K1e)?(d0e.current.lr=!0,H1e=Ame,O1e=-O1e,j1e.points=[reversePoints(k1e,1),reversePoints(Y1e,1)]):d0e.current.lr=!1}Gme();var wme=$me===!0?0:$me;typeof wme=="number"&&(bmer1e.right&&(H1e-=d1e-r1e.right-O1e,D0e.x>r1e.right-wme&&(H1e+=D0e.x-r1e.right+wme)));var v1e=fme===!0?0:fme;typeof v1e=="number"&&(lmer1e.bottom&&(W1e-=Ome-r1e.bottom-w1e,D0e.y>r1e.bottom-v1e&&(W1e+=D0e.y-r1e.bottom+v1e)));var f1e=k0e.x+H1e,i1e=f1e+Q0e,c1e=k0e.y+W1e,z1e=c1e+H0e,y1e=D0e.x,u1e=y1e+G0e,h1e=D0e.y,C1e=h1e+Y0e,R1e=Math.max(f1e,y1e),X1e=Math.min(i1e,u1e),dme=(R1e+X1e)/2,Mme=dme-f1e,Cme=Math.max(c1e,h1e),qme=Math.min(z1e,C1e),Ime=(Cme+qme)/2,Fme=Ime-c1e;a0e==null||a0e(e0e,j1e);var Lme=s1e.right-k0e.x-(H1e+k0e.width),Kme=s1e.bottom-k0e.y-(W1e+k0e.height);l0e({ready:!0,offsetX:H1e/g1e,offsetY:W1e/$1e,offsetR:Lme/g1e,offsetB:Kme/$1e,arrowX:Mme/g1e,arrowY:Fme/$1e,scaleX:g1e,scaleY:$1e,align:j1e})}}),h0e=function(){c0e.current+=1;var v0e=c0e.current;Promise.resolve().then(function(){c0e.current===v0e&&f0e()})},b0e=function(){l0e(function(v0e){return _objectSpread2$1(_objectSpread2$1({},v0e),{},{ready:!1})})};return useLayoutEffect$2(b0e,[t0e]),useLayoutEffect$2(function(){x_||b0e()},[x_]),[s0e.ready,s0e.offsetX,s0e.offsetY,s0e.offsetR,s0e.offsetB,s0e.arrowX,s0e.arrowY,s0e.scaleX,s0e.scaleY,s0e.align,h0e]}function useWatch$1(x_,e0e,$P,t0e,r0e){useLayoutEffect$2(function(){if(x_&&e0e&&$P){let c0e=function(){t0e(),r0e()};var n0e=e0e,a0e=$P,o0e=collectScroller(n0e),i0e=collectScroller(a0e),s0e=getWin(a0e),l0e=new Set([s0e].concat(_toConsumableArray$2(o0e),_toConsumableArray$2(i0e)));return l0e.forEach(function(u0e){u0e.addEventListener("scroll",c0e,{passive:!0})}),s0e.addEventListener("resize",c0e,{passive:!0}),t0e(),function(){l0e.forEach(function(u0e){u0e.removeEventListener("scroll",c0e),s0e.removeEventListener("resize",c0e)})}}},[x_,e0e,$P])}function useWinClick(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){var i0e=reactExports.useRef(x_),s0e=reactExports.useRef(!1);i0e.current!==x_&&(s0e.current=!0,i0e.current=x_),reactExports.useEffect(function(){var l0e=wrapperRaf$1(function(){s0e.current=!1});return function(){wrapperRaf$1.cancel(l0e)}},[x_]),reactExports.useEffect(function(){if(e0e&&t0e&&(!r0e||n0e)){var l0e=function(){var M0e=!1,O0e=function(A0e){var $0e=A0e.target;M0e=a0e($0e)},z0e=function(A0e){var $0e=A0e.target;!s0e.current&&i0e.current&&!M0e&&!a0e($0e)&&o0e(!1)};return[O0e,z0e]},c0e=l0e(),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=l0e(),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=getWin(t0e);v0e.addEventListener("mousedown",d0e,!0),v0e.addEventListener("click",p0e,!0),v0e.addEventListener("contextmenu",p0e,!0);var g0e=getShadowRoot($P);return g0e&&(g0e.addEventListener("mousedown",b0e,!0),g0e.addEventListener("click",m0e,!0),g0e.addEventListener("contextmenu",m0e,!0)),function(){v0e.removeEventListener("mousedown",d0e,!0),v0e.removeEventListener("click",p0e,!0),v0e.removeEventListener("contextmenu",p0e,!0),g0e&&(g0e.removeEventListener("mousedown",b0e,!0),g0e.removeEventListener("click",m0e,!0),g0e.removeEventListener("contextmenu",m0e,!0))}}},[e0e,$P,t0e,r0e,n0e])}var _excluded$J=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function generateTrigger(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Portal$2,e0e=reactExports.forwardRef(function($P,t0e){var r0e=$P.prefixCls,n0e=r0e===void 0?"rc-trigger-popup":r0e,a0e=$P.children,o0e=$P.action,i0e=o0e===void 0?"hover":o0e,s0e=$P.showAction,l0e=$P.hideAction,c0e=$P.popupVisible,u0e=$P.defaultPopupVisible,d0e=$P.onPopupVisibleChange,p0e=$P.afterPopupVisibleChange,f0e=$P.mouseEnterDelay,h0e=$P.mouseLeaveDelay,b0e=h0e===void 0?.1:h0e,m0e=$P.focusDelay,v0e=$P.blurDelay,g0e=$P.mask,y0e=$P.maskClosable,M0e=y0e===void 0?!0:y0e,O0e=$P.getPopupContainer,z0e=$P.forceRender,_0e=$P.autoDestroy,A0e=$P.destroyPopupOnHide,$0e=$P.popup,S0e=$P.popupClassName,C0e=$P.popupStyle,E0e=$P.popupPlacement,w0e=$P.builtinPlacements,R0e=w0e===void 0?{}:w0e,T0e=$P.popupAlign,D0e=$P.zIndex,W0e=$P.stretch,k0e=$P.getPopupClassNameFromAlign,q0e=$P.fresh,N0e=$P.alignPoint,j0e=$P.onPopupClick,P0e=$P.onPopupAlign,I0e=$P.arrow,F0e=$P.popupMotion,V0e=$P.maskMotion,H0e=$P.popupTransitionName,Q0e=$P.popupAnimation,Y0e=$P.maskTransitionName,G0e=$P.maskAnimation,B0e=$P.className,U0e=$P.getTriggerDOMNode,X0e=_objectWithoutProperties$4($P,_excluded$J),Z0e=_0e||A0e||!1,e1e=reactExports.useState(!1),n1e=_slicedToArray$3(e1e,2),t1e=n1e[0],r1e=n1e[1];useLayoutEffect$2(function(){r1e(isMobile$3())},[]);var a1e=reactExports.useRef({}),l1e=reactExports.useContext(TriggerContext),s1e=reactExports.useMemo(function(){return{registerSubPopup:function(_me,Pme){a1e.current[_me]=Pme,l1e==null||l1e.registerSubPopup(_me,Pme)}}},[l1e]),g1e=useId$2(),$1e=reactExports.useState(null),_1e=_slicedToArray$3($1e,2),p1e=_1e[0],E1e=_1e[1],x1e=useEvent(function(hme){isDOM(hme)&&p1e!==hme&&E1e(hme),l1e==null||l1e.registerSubPopup(g1e,hme)}),O1e=reactExports.useState(null),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=reactExports.useRef(null),ame=useEvent(function(hme){isDOM(hme)&&A1e!==hme&&(F1e(hme),J1e.current=hme)}),G1e=reactExports.Children.only(a0e),V1e=(G1e==null?void 0:G1e.props)||{},cme={},ume=useEvent(function(hme){var _me,Pme,Bme=A1e;return(Bme==null?void 0:Bme.contains(hme))||((_me=getShadowRoot(Bme))===null||_me===void 0?void 0:_me.host)===hme||hme===Bme||(p1e==null?void 0:p1e.contains(hme))||((Pme=getShadowRoot(p1e))===null||Pme===void 0?void 0:Pme.host)===hme||hme===p1e||Object.values(a1e.current).some(function(Dme){return(Dme==null?void 0:Dme.contains(hme))||hme===Dme})}),Y1e=getMotion$2(n0e,F0e,Q0e,H0e),k1e=getMotion$2(n0e,V0e,G0e,Y0e),ime=reactExports.useState(u0e||!1),I1e=_slicedToArray$3(ime,2),j1e=I1e[0],H1e=I1e[1],W1e=c0e??j1e,Q1e=useEvent(function(hme){c0e===void 0&&H1e(hme)});useLayoutEffect$2(function(){H1e(c0e||!1)},[c0e]);var K1e=reactExports.useRef(W1e);K1e.current=W1e;var rme=reactExports.useRef([]);rme.current=[];var L1e=useEvent(function(hme){var _me;Q1e(hme),((_me=rme.current[rme.current.length-1])!==null&&_me!==void 0?_me:W1e)!==hme&&(rme.current.push(hme),d0e==null||d0e(hme))}),Z1e=reactExports.useRef(),U1e=function(){clearTimeout(Z1e.current)},D1e=function(_me){var Pme=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;U1e(),Pme===0?L1e(_me):Z1e.current=setTimeout(function(){L1e(_me)},Pme*1e3)};reactExports.useEffect(function(){return U1e},[]);var q1e=reactExports.useState(!1),pme=_slicedToArray$3(q1e,2),$me=pme[0],fme=pme[1];useLayoutEffect$2(function(hme){(!hme||W1e)&&fme(!0)},[W1e]);var mme=reactExports.useState(null),lme=_slicedToArray$3(mme,2),Ome=lme[0],bme=lme[1],d1e=reactExports.useState([0,0]),b1e=_slicedToArray$3(d1e,2),S1e=b1e[0],N1e=b1e[1],nme=function(_me){N1e([_me.clientX,_me.clientY])},ome=useAlign(W1e,p1e,N0e?S1e:A1e,E0e,R0e,T0e,P0e),m1e=_slicedToArray$3(ome,11),T1e=m1e[0],B1e=m1e[1],eme=m1e[2],sme=m1e[3],gme=m1e[4],zme=m1e[5],yme=m1e[6],Ame=m1e[7],xme=m1e[8],Tme=m1e[9],wme=m1e[10],v1e=useAction(t1e,i0e,s0e,l0e),f1e=_slicedToArray$3(v1e,2),i1e=f1e[0],c1e=f1e[1],z1e=i1e.has("click"),y1e=c1e.has("click")||c1e.has("contextMenu"),u1e=useEvent(function(){$me||wme()}),h1e=function(){K1e.current&&N0e&&y1e&&D1e(!1)};useWatch$1(W1e,A1e,p1e,u1e,h1e),useLayoutEffect$2(function(){u1e()},[S1e,E0e]),useLayoutEffect$2(function(){W1e&&!(R0e!=null&&R0e[E0e])&&u1e()},[JSON.stringify(T0e)]);var C1e=reactExports.useMemo(function(){var hme=getAlignPopupClassName(R0e,n0e,Tme,N0e);return cx$1(hme,k0e==null?void 0:k0e(Tme))},[Tme,k0e,R0e,n0e,N0e]);reactExports.useImperativeHandle(t0e,function(){return{nativeElement:J1e.current,forceAlign:u1e}});var R1e=reactExports.useState(0),X1e=_slicedToArray$3(R1e,2),dme=X1e[0],Mme=X1e[1],Cme=reactExports.useState(0),qme=_slicedToArray$3(Cme,2),Ime=qme[0],Fme=qme[1],Lme=function(){if(W0e&&A1e){var _me=A1e.getBoundingClientRect();Mme(_me.width),Fme(_me.height)}},Kme=function(){Lme(),u1e()},jme=function(_me){fme(!1),wme(),p0e==null||p0e(_me)},Gme=function(){return new Promise(function(_me){Lme(),bme(function(){return _me})})};useLayoutEffect$2(function(){Ome&&(wme(),Ome(),bme(null))},[Ome]);function Hme(hme,_me,Pme,Bme){cme[hme]=function(Dme){var pbe;Bme==null||Bme(Dme),D1e(_me,Pme);for(var zbe=arguments.length,Cbe=new Array(zbe>1?zbe-1:0),fbe=1;fbe1?Pme-1:0),Dme=1;Dme1?Pme-1:0),Dme=1;Dme1&&arguments[1]!==void 0?arguments[1]:{},$P=e0e.fieldNames,t0e=e0e.childrenAsData,r0e=[],n0e=fillFieldNames($P,!1),a0e=n0e.label,o0e=n0e.value,i0e=n0e.options,s0e=n0e.groupLabel;function l0e(c0e,u0e){c0e.forEach(function(d0e){if(u0e||!(i0e in d0e)){var p0e=d0e[o0e];r0e.push({key:getKey$1(d0e,r0e.length),groupOption:u0e,data:d0e,label:d0e[a0e],value:p0e})}else{var f0e=d0e[s0e];f0e===void 0&&t0e&&(f0e=d0e.label),r0e.push({key:getKey$1(d0e,r0e.length),group:!0,data:d0e,label:f0e}),l0e(d0e[i0e],!0)}})}return l0e(x_,!1),r0e}function injectPropsWithOption(x_){var e0e=_objectSpread2$1({},x_);return"props"in e0e||Object.defineProperty(e0e,"props",{get:function(){return warningOnce$1(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),e0e}}),e0e}function getSeparatedContent(x_,e0e){if(!e0e||!e0e.length)return null;var $P=!1;function t0e(n0e,a0e){var o0e=_toArray(a0e),i0e=o0e[0],s0e=o0e.slice(1);if(!i0e)return[n0e];var l0e=n0e.split(i0e);return $P=$P||l0e.length>1,l0e.reduce(function(c0e,u0e){return[].concat(_toConsumableArray$2(c0e),_toConsumableArray$2(t0e(u0e,s0e)))},[]).filter(function(c0e){return c0e})}var r0e=t0e(x_,e0e);return $P?r0e:null}var _excluded$H=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],DEFAULT_OMIT_PROPS=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function isMultiple(x_){return x_==="tags"||x_==="multiple"}var BaseSelect=reactExports.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_.id,n0e=x_.prefixCls,a0e=x_.className,o0e=x_.showSearch,i0e=x_.tagRender,s0e=x_.direction,l0e=x_.omitDomProps,c0e=x_.displayValues,u0e=x_.onDisplayValuesChange,d0e=x_.emptyOptions,p0e=x_.notFoundContent,f0e=p0e===void 0?"Not Found":p0e,h0e=x_.onClear,b0e=x_.mode,m0e=x_.disabled,v0e=x_.loading,g0e=x_.getInputElement,y0e=x_.getRawInputElement,M0e=x_.open,O0e=x_.defaultOpen,z0e=x_.onDropdownVisibleChange,_0e=x_.activeValue,A0e=x_.onActiveValueChange,$0e=x_.activeDescendantId,S0e=x_.searchValue,C0e=x_.autoClearSearchValue,E0e=x_.onSearch,w0e=x_.onSearchSplit,R0e=x_.tokenSeparators,T0e=x_.allowClear,D0e=x_.suffixIcon,W0e=x_.clearIcon,k0e=x_.OptionList,q0e=x_.animation,N0e=x_.transitionName,j0e=x_.dropdownStyle,P0e=x_.dropdownClassName,I0e=x_.dropdownMatchSelectWidth,F0e=x_.dropdownRender,V0e=x_.dropdownAlign,H0e=x_.placement,Q0e=x_.builtinPlacements,Y0e=x_.getPopupContainer,G0e=x_.showAction,B0e=G0e===void 0?[]:G0e,U0e=x_.onFocus,X0e=x_.onBlur,Z0e=x_.onKeyUp,e1e=x_.onKeyDown,n1e=x_.onMouseDown,t1e=_objectWithoutProperties$4(x_,_excluded$H),r1e=isMultiple(b0e),a1e=(o0e!==void 0?o0e:r1e)||b0e==="combobox",l1e=_objectSpread2$1({},t1e);DEFAULT_OMIT_PROPS.forEach(function(y1e){delete l1e[y1e]}),l0e==null||l0e.forEach(function(y1e){delete l1e[y1e]});var s1e=reactExports.useState(!1),g1e=_slicedToArray$3(s1e,2),$1e=g1e[0],_1e=g1e[1];reactExports.useEffect(function(){_1e(isMobile$3())},[]);var p1e=reactExports.useRef(null),E1e=reactExports.useRef(null),x1e=reactExports.useRef(null),O1e=reactExports.useRef(null),w1e=reactExports.useRef(null),A1e=reactExports.useRef(!1),F1e=useDelayReset(),J1e=_slicedToArray$3(F1e,3),ame=J1e[0],G1e=J1e[1],V1e=J1e[2];reactExports.useImperativeHandle(e0e,function(){var y1e,u1e;return{focus:(y1e=O1e.current)===null||y1e===void 0?void 0:y1e.focus,blur:(u1e=O1e.current)===null||u1e===void 0?void 0:u1e.blur,scrollTo:function(C1e){var R1e;return(R1e=w1e.current)===null||R1e===void 0?void 0:R1e.scrollTo(C1e)}}});var cme=reactExports.useMemo(function(){var y1e;if(b0e!=="combobox")return S0e;var u1e=(y1e=c0e[0])===null||y1e===void 0?void 0:y1e.value;return typeof u1e=="string"||typeof u1e=="number"?String(u1e):""},[S0e,b0e,c0e]),ume=b0e==="combobox"&&typeof g0e=="function"&&g0e()||null,Y1e=typeof y0e=="function"&&y0e(),k1e=useComposeRef(E1e,Y1e==null||($P=Y1e.props)===null||$P===void 0?void 0:$P.ref),ime=reactExports.useState(!1),I1e=_slicedToArray$3(ime,2),j1e=I1e[0],H1e=I1e[1];useLayoutEffect$2(function(){H1e(!0)},[]);var W1e=useMergedState(!1,{defaultValue:O0e,value:M0e}),Q1e=_slicedToArray$3(W1e,2),K1e=Q1e[0],rme=Q1e[1],L1e=j1e?K1e:!1,Z1e=!f0e&&d0e;(m0e||Z1e&&L1e&&b0e==="combobox")&&(L1e=!1);var U1e=Z1e?!1:L1e,D1e=reactExports.useCallback(function(y1e){var u1e=y1e!==void 0?y1e:!L1e;m0e||(rme(u1e),L1e!==u1e&&(z0e==null||z0e(u1e)))},[m0e,L1e,rme,z0e]),q1e=reactExports.useMemo(function(){return(R0e||[]).some(function(y1e){return[` `,`\r -`].includes(y1e)})},[R0e]),pme=function(u1e,h1e,C1e){var R1e=!0,X1e=u1e;A0e==null||A0e(null);var dme=C1e?null:getSeparatedContent(u1e,R0e);return b0e!=="combobox"&&dme&&(X1e="",w0e==null||w0e(dme),D1e(!1),R1e=!1),E0e&&cme!==X1e&&E0e(X1e,{source:h1e?"typing":"effect"}),R1e},$me=function(u1e){!u1e||!u1e.trim()||E0e(u1e,{source:"submit"})};reactExports.useEffect(function(){!L1e&&!r1e&&b0e!=="combobox"&&pme("",!1,!1)},[L1e]),reactExports.useEffect(function(){K1e&&m0e&&rme(!1),m0e&&!A1e.current&&G1e(!1)},[m0e]);var fme=useLock(),mme=_slicedToArray$3(fme,2),lme=mme[0],Ome=mme[1],bme=function(u1e){var h1e=lme(),C1e=u1e.which;if(C1e===KeyCode$1.ENTER&&(b0e!=="combobox"&&u1e.preventDefault(),L1e||D1e(!0)),Ome(!!cme),C1e===KeyCode$1.BACKSPACE&&!h1e&&r1e&&!cme&&c0e.length){for(var R1e=_toConsumableArray$2(c0e),X1e=null,dme=R1e.length-1;dme>=0;dme-=1){var Mme=R1e[dme];if(!Mme.disabled){R1e.splice(dme,1),X1e=Mme;break}}X1e&&u0e(R1e,{type:"remove",values:[X1e]})}for(var Cme=arguments.length,qme=new Array(Cme>1?Cme-1:0),Ime=1;Ime1?h1e-1:0),R1e=1;R1e1?dme-1:0),Cme=1;Cme0,j0e=reactExports.useMemo(function(){if(n0e===0||k0e===0)return 0;var B0e=n0e/k0e;return B0e*q0e},[n0e,k0e,q0e]),P0e=function(U0e){U0e.stopPropagation(),U0e.preventDefault()},I0e=reactExports.useRef({top:j0e,dragging:b0e,pageY:y0e,startTop:_0e});I0e.current={top:j0e,dragging:b0e,pageY:y0e,startTop:_0e};var F0e=function(U0e){m0e(!0),M0e(getPageXY(U0e,l0e)),A0e(I0e.current.top),o0e(),U0e.stopPropagation(),U0e.preventDefault()};reactExports.useEffect(function(){var B0e=function(e1e){e1e.preventDefault()},U0e=S0e.current,X0e=C0e.current;return U0e.addEventListener("touchstart",B0e),X0e.addEventListener("touchstart",F0e),function(){U0e.removeEventListener("touchstart",B0e),X0e.removeEventListener("touchstart",F0e)}},[]);var V0e=reactExports.useRef();V0e.current=k0e;var H0e=reactExports.useRef();H0e.current=q0e,reactExports.useEffect(function(){if(b0e){var B0e,U0e=function(e1e){var n1e=I0e.current,t1e=n1e.dragging,r1e=n1e.pageY,a1e=n1e.startTop;if(wrapperRaf$1.cancel(B0e),t1e){var l1e=getPageXY(e1e,l0e)-r1e,s1e=a1e;!$0e&&l0e?s1e-=l1e:s1e+=l1e;var g1e=V0e.current,$1e=H0e.current,_1e=$1e?s1e/$1e:0,p1e=Math.ceil(_1e*g1e);p1e=Math.max(p1e,0),p1e=Math.min(p1e,g1e),B0e=wrapperRaf$1(function(){s0e(p1e,l0e)})}},X0e=function(){m0e(!1),i0e()};return window.addEventListener("mousemove",U0e),window.addEventListener("touchmove",U0e),window.addEventListener("mouseup",X0e),window.addEventListener("touchend",X0e),function(){window.removeEventListener("mousemove",U0e),window.removeEventListener("touchmove",U0e),window.removeEventListener("mouseup",X0e),window.removeEventListener("touchend",X0e),wrapperRaf$1.cancel(B0e)}}},[b0e]),reactExports.useEffect(function(){W0e()},[n0e]),reactExports.useImperativeHandle(e0e,function(){return{delayHidden:W0e}});var Q0e="".concat(t0e,"-scrollbar"),Y0e={position:"absolute",visibility:R0e&&N0e?null:"hidden"},G0e={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return l0e?(Y0e.height=8,Y0e.left=0,Y0e.right=0,Y0e.bottom=0,G0e.height="100%",G0e.width=c0e,$0e?G0e.left=j0e:G0e.right=j0e):(Y0e.width=8,Y0e.top=0,Y0e.bottom=0,$0e?Y0e.right=0:Y0e.left=0,G0e.width="100%",G0e.height=c0e,G0e.top=j0e),reactExports.createElement("div",{ref:S0e,className:cx$1(Q0e,($P={},_defineProperty$5($P,"".concat(Q0e,"-horizontal"),l0e),_defineProperty$5($P,"".concat(Q0e,"-vertical"),!l0e),_defineProperty$5($P,"".concat(Q0e,"-visible"),R0e),$P)),style:_objectSpread2$1(_objectSpread2$1({},Y0e),d0e),onMouseDown:P0e,onMouseMove:W0e},reactExports.createElement("div",{ref:C0e,className:cx$1("".concat(Q0e,"-thumb"),_defineProperty$5({},"".concat(Q0e,"-thumb-moving"),b0e)),style:_objectSpread2$1(_objectSpread2$1({},G0e),p0e),onMouseDown:F0e}))});function Item$6(x_){var e0e=x_.children,$P=x_.setRef,t0e=reactExports.useCallback(function(r0e){$P(r0e)},[]);return reactExports.cloneElement(e0e,{ref:t0e})}function useChildren$1(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=a0e.getKey;return x_.slice(e0e,$P+1).map(function(i0e,s0e){var l0e=e0e+s0e,c0e=n0e(i0e,l0e,{style:{width:t0e}}),u0e=o0e(i0e);return reactExports.createElement(Item$6,{key:u0e,setRef:function(p0e){return r0e(i0e,p0e)}},c0e)})}var CacheMap=function(){function x_(){_classCallCheck$1(this,x_),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return _createClass$1(x_,[{key:"set",value:function($P,t0e){this.maps[$P]=t0e,this.id+=1}},{key:"get",value:function($P){return this.maps[$P]}}]),x_}();function useHeights(x_,e0e,$P){var t0e=reactExports.useState(0),r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=reactExports.useRef(new Map),i0e=reactExports.useRef(new CacheMap),s0e=reactExports.useRef();function l0e(){wrapperRaf$1.cancel(s0e.current)}function c0e(){var d0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l0e();var p0e=function(){o0e.current.forEach(function(h0e,b0e){if(h0e&&h0e.offsetParent){var m0e=findDOMNode$1(h0e),v0e=m0e.offsetHeight;i0e.current.get(b0e)!==v0e&&i0e.current.set(b0e,m0e.offsetHeight)}}),a0e(function(h0e){return h0e+1})};d0e?p0e():s0e.current=wrapperRaf$1(p0e)}function u0e(d0e,p0e){var f0e=x_(d0e),h0e=o0e.current.get(f0e);p0e?(o0e.current.set(f0e,p0e),c0e()):o0e.current.delete(f0e),!h0e!=!p0e&&(p0e?e0e==null||e0e(d0e):$P==null||$P(d0e))}return reactExports.useEffect(function(){return l0e},[]),[u0e,c0e,i0e.current,n0e]}var MAX_TIMES=10;function useScrollTo(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){var i0e=reactExports.useRef(),s0e=reactExports.useState(null),l0e=_slicedToArray$3(s0e,2),c0e=l0e[0],u0e=l0e[1];return useLayoutEffect$2(function(){if(c0e&&c0e.times=0;E0e-=1){var w0e=r0e(e0e[E0e]),R0e=$P.get(w0e);if(R0e===void 0){m0e=!0;break}if(C0e-=R0e,C0e<=0)break}switch(y0e){case"top":g0e=O0e-h0e;break;case"bottom":g0e=z0e-b0e+h0e;break;default:{var T0e=x_.current.scrollTop,D0e=T0e+b0e;O0eD0e&&(v0e="bottom")}}g0e!==null&&a0e(g0e),g0e!==c0e.lastTop&&(m0e=!0)}m0e&&u0e(_objectSpread2$1(_objectSpread2$1({},c0e),{},{times:c0e.times+1,targetAlign:v0e,lastTop:g0e}))}},[c0e,x_.current]),function(d0e){if(d0e==null){o0e();return}if(wrapperRaf$1.cancel(i0e.current),typeof d0e=="number")a0e(d0e);else if(d0e&&_typeof$2(d0e)==="object"){var p0e,f0e=d0e.align;"index"in d0e?p0e=d0e.index:p0e=e0e.findIndex(function(m0e){return r0e(m0e)===d0e.key});var h0e=d0e.offset,b0e=h0e===void 0?0:h0e;u0e({times:0,index:p0e,offset:b0e,originAlign:f0e})}}}function findListDiffIndex(x_,e0e,$P){var t0e=x_.length,r0e=e0e.length,n0e,a0e;if(t0e===0&&r0e===0)return null;t0e"u"?"undefined":_typeof$2(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const useOriginScroll=function(x_,e0e){var $P=reactExports.useRef(!1),t0e=reactExports.useRef(null);function r0e(){clearTimeout(t0e.current),$P.current=!0,t0e.current=setTimeout(function(){$P.current=!1},50)}var n0e=reactExports.useRef({top:x_,bottom:e0e});return n0e.current.top=x_,n0e.current.bottom=e0e,function(a0e){var o0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i0e=a0e<0&&n0e.current.top||a0e>0&&n0e.current.bottom;return o0e&&i0e?(clearTimeout(t0e.current),$P.current=!1):(!i0e||$P.current)&&r0e(),!$P.current&&i0e}};function useFrameWheel(x_,e0e,$P,t0e,r0e){var n0e=reactExports.useRef(0),a0e=reactExports.useRef(null),o0e=reactExports.useRef(null),i0e=reactExports.useRef(!1),s0e=useOriginScroll(e0e,$P);function l0e(h0e,b0e){wrapperRaf$1.cancel(a0e.current),n0e.current+=b0e,o0e.current=b0e,!s0e(b0e)&&(isFF||h0e.preventDefault(),a0e.current=wrapperRaf$1(function(){var m0e=i0e.current?10:1;r0e(n0e.current*m0e),n0e.current=0}))}function c0e(h0e,b0e){r0e(b0e,!0),isFF||h0e.preventDefault()}var u0e=reactExports.useRef(null),d0e=reactExports.useRef(null);function p0e(h0e){if(x_){wrapperRaf$1.cancel(d0e.current),d0e.current=wrapperRaf$1(function(){u0e.current=null},2);var b0e=h0e.deltaX,m0e=h0e.deltaY,v0e=h0e.shiftKey,g0e=b0e,y0e=m0e;(u0e.current==="sx"||!u0e.current&&v0e&&m0e&&!b0e)&&(g0e=m0e,y0e=0,u0e.current="sx");var M0e=Math.abs(g0e),O0e=Math.abs(y0e);u0e.current===null&&(u0e.current=t0e&&M0e>O0e?"x":"y"),u0e.current==="y"?l0e(h0e,y0e):c0e(h0e,g0e)}}function f0e(h0e){x_&&(i0e.current=h0e.detail===o0e.current)}return[p0e,f0e]}var SMOOTH_PTG=14/15;function useMobileTouchMove(x_,e0e,$P){var t0e=reactExports.useRef(!1),r0e=reactExports.useRef(0),n0e=reactExports.useRef(null),a0e=reactExports.useRef(null),o0e,i0e=function(u0e){if(t0e.current){var d0e=Math.ceil(u0e.touches[0].pageY),p0e=r0e.current-d0e;r0e.current=d0e,$P(p0e)&&u0e.preventDefault(),clearInterval(a0e.current),a0e.current=setInterval(function(){p0e*=SMOOTH_PTG,(!$P(p0e,!0)||Math.abs(p0e)<=.1)&&clearInterval(a0e.current)},16)}},s0e=function(){t0e.current=!1,o0e()},l0e=function(u0e){o0e(),u0e.touches.length===1&&!t0e.current&&(t0e.current=!0,r0e.current=Math.ceil(u0e.touches[0].pageY),n0e.current=u0e.target,n0e.current.addEventListener("touchmove",i0e),n0e.current.addEventListener("touchend",s0e))};o0e=function(){n0e.current&&(n0e.current.removeEventListener("touchmove",i0e),n0e.current.removeEventListener("touchend",s0e))},useLayoutEffect$2(function(){return x_&&e0e.current.addEventListener("touchstart",l0e),function(){var c0e;(c0e=e0e.current)===null||c0e===void 0||c0e.removeEventListener("touchstart",l0e),o0e(),clearInterval(a0e.current)}},[x_])}var MIN_SIZE=20;function getSpinSize(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$P=x_/e0e*100;return isNaN($P)&&($P=0),$P=Math.max($P,MIN_SIZE),$P=Math.min($P,x_/2),Math.floor($P)}function useGetSize(x_,e0e,$P,t0e){var r0e=reactExports.useMemo(function(){return[new Map,[]]},[x_,$P.id,t0e]),n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1],i0e=function(l0e){var c0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l0e,u0e=a0e.get(l0e),d0e=a0e.get(c0e);if(u0e===void 0||d0e===void 0)for(var p0e=x_.length,f0e=o0e.length;f0en0e||!!f0e),$0e=p0e==="rtl",S0e=cx$1(t0e,_defineProperty$5({},"".concat(t0e,"-rtl"),$0e),r0e),C0e=l0e||EMPTY_DATA,E0e=reactExports.useRef(),w0e=reactExports.useRef(),R0e=reactExports.useState(0),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=reactExports.useState(0),q0e=_slicedToArray$3(k0e,2),N0e=q0e[0],j0e=q0e[1],P0e=reactExports.useState(!1),I0e=_slicedToArray$3(P0e,2),F0e=I0e[0],V0e=I0e[1],H0e=function(){V0e(!0)},Q0e=function(){V0e(!1)},Y0e=reactExports.useCallback(function(b1e){return typeof u0e=="function"?u0e(b1e):b1e==null?void 0:b1e[u0e]},[u0e]),G0e={getKey:Y0e};function B0e(b1e){W0e(function(S1e){var N1e;typeof b1e=="function"?N1e=b1e(S1e):N1e=b1e;var nme=k1e(N1e);return E0e.current.scrollTop=nme,nme})}var U0e=reactExports.useRef({start:0,end:C0e.length}),X0e=reactExports.useRef(),J0e=useDiffItem(C0e,Y0e),e1e=_slicedToArray$3(J0e,1),n1e=e1e[0];X0e.current=n1e;var t1e=useHeights(Y0e,null,null),r1e=_slicedToArray$3(t1e,4),a1e=r1e[0],l1e=r1e[1],s1e=r1e[2],g1e=r1e[3],$1e=reactExports.useMemo(function(){if(!_0e)return{scrollHeight:void 0,start:0,end:C0e.length-1,offset:void 0};if(!A0e){var b1e;return{scrollHeight:((b1e=w0e.current)===null||b1e===void 0?void 0:b1e.offsetHeight)||0,start:0,end:C0e.length-1,offset:void 0}}for(var S1e=0,N1e,nme,ome,m1e=C0e.length,T1e=0;T1e=D0e&&N1e===void 0&&(N1e=T1e,nme=S1e),gme>D0e+n0e&&ome===void 0&&(ome=T1e),S1e=gme}return N1e===void 0&&(N1e=0,nme=0,ome=Math.ceil(n0e/a0e)),ome===void 0&&(ome=C0e.length-1),ome=Math.min(ome+1,C0e.length-1),{scrollHeight:S1e,start:N1e,end:ome,offset:nme}},[A0e,_0e,D0e,C0e,g1e,n0e]),_1e=$1e.scrollHeight,p1e=$1e.start,E1e=$1e.end,x1e=$1e.offset;U0e.current.start=p1e,U0e.current.end=E1e;var O1e=reactExports.useState({width:0,height:n0e}),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=function(S1e){F1e({width:S1e.width||S1e.offsetWidth,height:S1e.height||S1e.offsetHeight})},ame=reactExports.useRef(),G1e=reactExports.useRef(),V1e=reactExports.useMemo(function(){return getSpinSize(A1e.width,f0e)},[A1e.width,f0e]),cme=reactExports.useMemo(function(){return getSpinSize(A1e.height,_1e)},[A1e.height,_1e]),ume=_1e-n0e,Y1e=reactExports.useRef(ume);Y1e.current=ume;function k1e(b1e){var S1e=b1e;return Number.isNaN(Y1e.current)||(S1e=Math.min(S1e,Y1e.current)),S1e=Math.max(S1e,0),S1e}var ime=D0e<=0,I1e=D0e>=ume,j1e=useOriginScroll(ime,I1e),H1e=function(){return{x:$0e?-N0e:N0e,y:D0e}},W1e=reactExports.useRef(H1e()),Q1e=useEvent(function(){if(v0e){var b1e=H1e();(W1e.current.x!==b1e.x||W1e.current.y!==b1e.y)&&(v0e(b1e),W1e.current=b1e)}});function K1e(b1e,S1e){var N1e=b1e;S1e?(reactDomExports.flushSync(function(){j0e(N1e)}),Q1e()):B0e(N1e)}function rme(b1e){var S1e=b1e.currentTarget.scrollTop;S1e!==D0e&&B0e(S1e),m0e==null||m0e(b1e),Q1e()}var L1e=function(S1e){var N1e=S1e,nme=f0e-A1e.width;return N1e=Math.max(N1e,0),N1e=Math.min(N1e,nme),N1e},Z1e=useEvent(function(b1e,S1e){S1e?(reactDomExports.flushSync(function(){j0e(function(N1e){var nme=N1e+($0e?-b1e:b1e);return L1e(nme)})}),Q1e()):B0e(function(N1e){var nme=N1e+b1e;return nme})}),U1e=useFrameWheel(_0e,ime,I1e,!!f0e,Z1e),D1e=_slicedToArray$3(U1e,2),q1e=D1e[0],pme=D1e[1];useMobileTouchMove(_0e,E0e,function(b1e,S1e){return j1e(b1e,S1e)?!1:(q1e({preventDefault:function(){},deltaY:b1e}),!0)}),useLayoutEffect$2(function(){function b1e(N1e){_0e&&N1e.preventDefault()}var S1e=E0e.current;return S1e.addEventListener("wheel",q1e),S1e.addEventListener("DOMMouseScroll",pme),S1e.addEventListener("MozMousePixelScroll",b1e),function(){S1e.removeEventListener("wheel",q1e),S1e.removeEventListener("DOMMouseScroll",pme),S1e.removeEventListener("MozMousePixelScroll",b1e)}},[_0e]),useLayoutEffect$2(function(){f0e&&j0e(function(b1e){return L1e(b1e)})},[A1e.width,f0e]);var $me=function(){var S1e,N1e;(S1e=ame.current)===null||S1e===void 0||S1e.delayHidden(),(N1e=G1e.current)===null||N1e===void 0||N1e.delayHidden()},fme=useScrollTo(E0e,C0e,s1e,a0e,Y0e,function(){return l1e(!0)},B0e,$me);reactExports.useImperativeHandle(e0e,function(){return{getScrollInfo:H1e,scrollTo:function(S1e){function N1e(nme){return nme&&_typeof$2(nme)==="object"&&("left"in nme||"top"in nme)}N1e(S1e)?(S1e.left!==void 0&&j0e(L1e(S1e.left)),fme(S1e.top)):fme(S1e)}}}),useLayoutEffect$2(function(){if(g0e){var b1e=C0e.slice(p1e,E1e+1);g0e(b1e,C0e)}},[p1e,E1e,C0e]);var mme=useGetSize(C0e,Y0e,s1e,a0e),lme=M0e==null?void 0:M0e({start:p1e,end:E1e,virtual:A0e,offsetX:N0e,offsetY:x1e,rtl:$0e,getSize:mme}),Ome=useChildren$1(C0e,p1e,E1e,f0e,a1e,c0e,G0e),bme=null;n0e&&(bme=_objectSpread2$1(_defineProperty$5({},i0e?"height":"maxHeight",n0e),ScrollStyle),_0e&&(bme.overflowY="hidden",f0e&&(bme.overflowX="hidden"),F0e&&(bme.pointerEvents="none")));var d1e={};return $0e&&(d1e.dir="rtl"),reactExports.createElement("div",_extends$1z({style:_objectSpread2$1(_objectSpread2$1({},s0e),{},{position:"relative"}),className:S0e},d1e,z0e),reactExports.createElement(RefResizeObserver,{onResize:J1e},reactExports.createElement(b0e,{className:"".concat(t0e,"-holder"),style:bme,ref:E0e,onScroll:rme,onMouseEnter:$me},reactExports.createElement(Filler,{prefixCls:t0e,height:_1e,offsetX:N0e,offsetY:x1e,scrollWidth:f0e,onInnerResize:l1e,ref:w0e,innerProps:y0e,rtl:$0e,extra:lme},Ome))),A0e&&_1e>n0e&&reactExports.createElement(ScrollBar,{ref:ame,prefixCls:t0e,scrollOffset:D0e,scrollRange:_1e,rtl:$0e,onScroll:K1e,onStartMove:H0e,onStopMove:Q0e,spinSize:cme,containerSize:A1e.height,style:O0e==null?void 0:O0e.verticalScrollBar,thumbStyle:O0e==null?void 0:O0e.verticalScrollBarThumb}),A0e&&f0e&&reactExports.createElement(ScrollBar,{ref:G1e,prefixCls:t0e,scrollOffset:N0e,scrollRange:f0e,rtl:$0e,onScroll:K1e,onStartMove:H0e,onStopMove:Q0e,spinSize:V1e,containerSize:A1e.width,horizontal:!0,style:O0e==null?void 0:O0e.horizontalScrollBar,thumbStyle:O0e==null?void 0:O0e.horizontalScrollBarThumb}))}var List$2=reactExports.forwardRef(RawList);List$2.displayName="List";var SelectContext=reactExports.createContext(null);function isPlatformMac(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var _excluded$F=["disabled","title","children","style","className"];function isTitleType(x_){return typeof x_=="string"||typeof x_=="number"}var OptionList=function(e0e,$P){var t0e=useBaseProps(),r0e=t0e.prefixCls,n0e=t0e.id,a0e=t0e.open,o0e=t0e.multiple,i0e=t0e.mode,s0e=t0e.searchValue,l0e=t0e.toggleOpen,c0e=t0e.notFoundContent,u0e=t0e.onPopupScroll,d0e=reactExports.useContext(SelectContext),p0e=d0e.flattenOptions,f0e=d0e.onActiveValue,h0e=d0e.defaultActiveFirstOption,b0e=d0e.onSelect,m0e=d0e.menuItemSelectedIcon,v0e=d0e.rawValues,g0e=d0e.fieldNames,y0e=d0e.virtual,M0e=d0e.direction,O0e=d0e.listHeight,z0e=d0e.listItemHeight,_0e=d0e.optionRender,A0e="".concat(r0e,"-item"),$0e=useMemo(function(){return p0e},[a0e,p0e],function(H0e,Q0e){return Q0e[0]&&H0e[1]!==Q0e[1]}),S0e=reactExports.useRef(null),C0e=function(Q0e){Q0e.preventDefault()},E0e=function(Q0e){S0e.current&&S0e.current.scrollTo(typeof Q0e=="number"?{index:Q0e}:Q0e)},w0e=function(Q0e){for(var Y0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,G0e=$0e.length,B0e=0;B0e1&&arguments[1]!==void 0?arguments[1]:!1;W0e(Q0e);var G0e={source:Y0e?"keyboard":"mouse"},B0e=$0e[Q0e];if(!B0e){f0e(null,-1,G0e);return}f0e(B0e.value,Q0e,G0e)};reactExports.useEffect(function(){k0e(h0e!==!1?w0e(0):-1)},[$0e.length,s0e]);var q0e=reactExports.useCallback(function(H0e){return v0e.has(H0e)&&i0e!=="combobox"},[i0e,_toConsumableArray$2(v0e).toString(),v0e.size]);reactExports.useEffect(function(){var H0e=setTimeout(function(){if(!o0e&&a0e&&v0e.size===1){var Y0e=Array.from(v0e)[0],G0e=$0e.findIndex(function(B0e){var U0e=B0e.data;return U0e.value===Y0e});G0e!==-1&&(k0e(G0e),E0e(G0e))}});if(a0e){var Q0e;(Q0e=S0e.current)===null||Q0e===void 0||Q0e.scrollTo(void 0)}return function(){return clearTimeout(H0e)}},[a0e,s0e]);var N0e=function(Q0e){Q0e!==void 0&&b0e(Q0e,{selected:!v0e.has(Q0e)}),o0e||l0e(!1)};if(reactExports.useImperativeHandle($P,function(){return{onKeyDown:function(Q0e){var Y0e=Q0e.which,G0e=Q0e.ctrlKey;switch(Y0e){case KeyCode$1.N:case KeyCode$1.P:case KeyCode$1.UP:case KeyCode$1.DOWN:{var B0e=0;if(Y0e===KeyCode$1.UP?B0e=-1:Y0e===KeyCode$1.DOWN?B0e=1:isPlatformMac()&&G0e&&(Y0e===KeyCode$1.N?B0e=1:Y0e===KeyCode$1.P&&(B0e=-1)),B0e!==0){var U0e=w0e(D0e+B0e,B0e);E0e(U0e),k0e(U0e,!0)}break}case KeyCode$1.ENTER:{var X0e=$0e[D0e];X0e&&!X0e.data.disabled?N0e(X0e.value):N0e(void 0),a0e&&Q0e.preventDefault();break}case KeyCode$1.ESC:l0e(!1),a0e&&Q0e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Q0e){E0e(Q0e)}}}),$0e.length===0)return reactExports.createElement("div",{role:"listbox",id:"".concat(n0e,"_list"),className:"".concat(A0e,"-empty"),onMouseDown:C0e},c0e);var j0e=Object.keys(g0e).map(function(H0e){return g0e[H0e]}),P0e=function(Q0e){return Q0e.label};function I0e(H0e,Q0e){var Y0e=H0e.group;return{role:Y0e?"presentation":"option",id:"".concat(n0e,"_list_").concat(Q0e)}}var F0e=function(Q0e){var Y0e=$0e[Q0e];if(!Y0e)return null;var G0e=Y0e.data||{},B0e=G0e.value,U0e=Y0e.group,X0e=pickAttrs(G0e,!0),J0e=P0e(Y0e);return Y0e?reactExports.createElement("div",_extends$1z({"aria-label":typeof J0e=="string"&&!U0e?J0e:null},X0e,{key:Q0e},I0e(Y0e,Q0e),{"aria-selected":q0e(B0e)}),B0e):null},V0e={role:"listbox",id:"".concat(n0e,"_list")};return reactExports.createElement(reactExports.Fragment,null,y0e&&reactExports.createElement("div",_extends$1z({},V0e,{style:{height:0,width:0,overflow:"hidden"}}),F0e(D0e-1),F0e(D0e),F0e(D0e+1)),reactExports.createElement(List$2,{itemKey:"key",ref:S0e,data:$0e,height:O0e,itemHeight:z0e,fullHeight:!1,onMouseDown:C0e,onScroll:u0e,virtual:y0e,direction:M0e,innerProps:y0e?null:V0e},function(H0e,Q0e){var Y0e,G0e=H0e.group,B0e=H0e.groupOption,U0e=H0e.data,X0e=H0e.label,J0e=H0e.value,e1e=U0e.key;if(G0e){var n1e,t1e=(n1e=U0e.title)!==null&&n1e!==void 0?n1e:isTitleType(X0e)?X0e.toString():void 0;return reactExports.createElement("div",{className:cx$1(A0e,"".concat(A0e,"-group")),title:t1e},X0e!==void 0?X0e:e1e)}var r1e=U0e.disabled,a1e=U0e.title;U0e.children;var l1e=U0e.style,s1e=U0e.className,g1e=_objectWithoutProperties$4(U0e,_excluded$F),$1e=omit$2(g1e,j0e),_1e=q0e(J0e),p1e="".concat(A0e,"-option"),E1e=cx$1(A0e,p1e,s1e,(Y0e={},_defineProperty$5(Y0e,"".concat(p1e,"-grouped"),B0e),_defineProperty$5(Y0e,"".concat(p1e,"-active"),D0e===Q0e&&!r1e),_defineProperty$5(Y0e,"".concat(p1e,"-disabled"),r1e),_defineProperty$5(Y0e,"".concat(p1e,"-selected"),_1e),Y0e)),x1e=P0e(H0e),O1e=!m0e||typeof m0e=="function"||_1e,w1e=typeof x1e=="number"?x1e:x1e||J0e,A1e=isTitleType(w1e)?w1e.toString():void 0;return a1e!==void 0&&(A1e=a1e),reactExports.createElement("div",_extends$1z({},pickAttrs($1e),y0e?{}:I0e(H0e,Q0e),{"aria-selected":_1e,className:E1e,title:A1e,onMouseMove:function(){D0e===Q0e||r1e||k0e(Q0e)},onClick:function(){r1e||N0e(J0e)},style:l1e}),reactExports.createElement("div",{className:"".concat(p1e,"-content")},typeof _0e=="function"?_0e(H0e,{index:Q0e}):w1e),reactExports.isValidElement(m0e)||_1e,O1e&&reactExports.createElement(TransBtn,{className:"".concat(A0e,"-option-state"),customizeIcon:m0e,customizeIconProps:{value:J0e,disabled:r1e,isSelected:_1e}},_1e?"✓":null))}))},RefOptionList=reactExports.forwardRef(OptionList);RefOptionList.displayName="OptionList";const useCache=function(x_,e0e){var $P=reactExports.useRef({values:new Map,options:new Map}),t0e=reactExports.useMemo(function(){var n0e=$P.current,a0e=n0e.values,o0e=n0e.options,i0e=x_.map(function(c0e){if(c0e.label===void 0){var u0e;return _objectSpread2$1(_objectSpread2$1({},c0e),{},{label:(u0e=a0e.get(c0e.value))===null||u0e===void 0?void 0:u0e.label})}return c0e}),s0e=new Map,l0e=new Map;return i0e.forEach(function(c0e){s0e.set(c0e.value,c0e),l0e.set(c0e.value,e0e.get(c0e.value)||o0e.get(c0e.value))}),$P.current.values=s0e,$P.current.options=l0e,i0e},[x_,e0e]),r0e=reactExports.useCallback(function(n0e){return e0e.get(n0e)||$P.current.options.get(n0e)},[e0e]);return[t0e,r0e]};function includes$2(x_,e0e){return toArray$4(x_).join("").toUpperCase().includes(e0e)}const useFilterOptions=function(x_,e0e,$P,t0e,r0e){return reactExports.useMemo(function(){if(!$P||t0e===!1)return x_;var n0e=e0e.options,a0e=e0e.label,o0e=e0e.value,i0e=[],s0e=typeof t0e=="function",l0e=$P.toUpperCase(),c0e=s0e?t0e:function(d0e,p0e){return r0e?includes$2(p0e[r0e],l0e):p0e[n0e]?includes$2(p0e[a0e!=="children"?a0e:"label"],l0e):includes$2(p0e[o0e],l0e)},u0e=s0e?function(d0e){return injectPropsWithOption(d0e)}:function(d0e){return d0e};return x_.forEach(function(d0e){if(d0e[n0e]){var p0e=c0e($P,u0e(d0e));if(p0e)i0e.push(d0e);else{var f0e=d0e[n0e].filter(function(h0e){return c0e($P,u0e(h0e))});f0e.length&&i0e.push(_objectSpread2$1(_objectSpread2$1({},d0e),{},_defineProperty$5({},n0e,f0e)))}return}c0e($P,u0e(d0e))&&i0e.push(d0e)}),i0e},[x_,t0e,r0e,$P,e0e])};var uuid$3=0,isBrowserClient$1=canUseDom$1();function getUUID$1(){var x_;return isBrowserClient$1?(x_=uuid$3,uuid$3+=1):x_="TEST_OR_SSR",x_}function useId$1(x_){var e0e=reactExports.useState(),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1];return reactExports.useEffect(function(){r0e("rc_select_".concat(getUUID$1()))},[]),x_||t0e}var _excluded$E=["children","value"],_excluded2$d=["children"];function convertNodeToOption(x_){var e0e=x_,$P=e0e.key,t0e=e0e.props,r0e=t0e.children,n0e=t0e.value,a0e=_objectWithoutProperties$4(t0e,_excluded$E);return _objectSpread2$1({key:$P,value:n0e!==void 0?n0e:$P,children:r0e},a0e)}function convertChildrenToData(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return toArray$6(x_).map(function($P,t0e){if(!reactExports.isValidElement($P)||!$P.type)return null;var r0e=$P,n0e=r0e.type.isSelectOptGroup,a0e=r0e.key,o0e=r0e.props,i0e=o0e.children,s0e=_objectWithoutProperties$4(o0e,_excluded2$d);return e0e||!n0e?convertNodeToOption($P):_objectSpread2$1(_objectSpread2$1({key:"__RC_SELECT_GRP__".concat(a0e===null?t0e:a0e,"__"),label:a0e},s0e),{},{options:convertChildrenToData(i0e)})}).filter(function($P){return $P})}function useOptions(x_,e0e,$P,t0e,r0e){return reactExports.useMemo(function(){var n0e=x_,a0e=!x_;a0e&&(n0e=convertChildrenToData(e0e));var o0e=new Map,i0e=new Map,s0e=function(u0e,d0e,p0e){p0e&&typeof p0e=="string"&&u0e.set(d0e[p0e],d0e)};function l0e(c0e){for(var u0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d0e=0;d0e2&&arguments[2]!==void 0?arguments[2]:{},D1e=U1e.source,q1e=D1e===void 0?"keyboard":D1e;k1e(Z1e),a0e&&t0e==="combobox"&&L1e!==null&&q1e==="keyboard"&&V1e(String(L1e))},[a0e,t0e]),j1e=function(Z1e,U1e,D1e){var q1e=function(){var S1e,N1e=g1e(Z1e);return[D0e?{label:N1e==null?void 0:N1e[I0e.label],value:Z1e,key:(S1e=N1e==null?void 0:N1e.key)!==null&&S1e!==void 0?S1e:Z1e}:Z1e,injectPropsWithOption(N1e)]};if(U1e&&d0e){var pme=q1e(),$me=_slicedToArray$3(pme,2),fme=$me[0],mme=$me[1];d0e(fme,mme)}else if(!U1e&&p0e&&D1e!=="clear"){var lme=q1e(),Ome=_slicedToArray$3(lme,2),bme=Ome[0],d1e=Ome[1];p0e(bme,d1e)}},H1e=useRefFunc(function(L1e,Z1e){var U1e,D1e=N0e?Z1e.selected:!0;D1e?U1e=N0e?[].concat(_toConsumableArray$2(s1e),[L1e]):[L1e]:U1e=s1e.filter(function(q1e){return q1e.value!==L1e}),F1e(U1e),j1e(L1e,D1e),t0e==="combobox"?V1e(""):(!isMultiple||u0e)&&(Q0e(""),V1e(""))}),W1e=function(Z1e,U1e){F1e(Z1e);var D1e=U1e.type,q1e=U1e.values;(D1e==="remove"||D1e==="clear")&&q1e.forEach(function(pme){j1e(pme.value,!1,D1e)})},Q1e=function(Z1e,U1e){if(Q0e(Z1e),V1e(null),U1e.source==="submit"){var D1e=(Z1e||"").trim();if(D1e){var q1e=Array.from(new Set([].concat(_toConsumableArray$2(_1e),[D1e])));F1e(q1e),j1e(D1e,!0),Q0e("")}return}U1e.source!=="blur"&&(t0e==="combobox"&&F1e(Z1e),l0e==null||l0e(Z1e))},K1e=function(Z1e){var U1e=Z1e;t0e!=="tags"&&(U1e=Z1e.map(function(q1e){var pme=B0e.get(q1e);return pme==null?void 0:pme.value}).filter(function(q1e){return q1e!==void 0}));var D1e=Array.from(new Set([].concat(_toConsumableArray$2(_1e),_toConsumableArray$2(U1e))));F1e(D1e),D1e.forEach(function(q1e){j1e(q1e,!0)})},rme=reactExports.useMemo(function(){var L1e=A0e!==!1&&h0e!==!1;return _objectSpread2$1(_objectSpread2$1({},Y0e),{},{flattenOptions:A1e,onActiveValue:I1e,defaultActiveFirstOption:ime,onSelect:H1e,menuItemSelectedIcon:_0e,rawValues:_1e,fieldNames:I0e,virtual:L1e,direction:$0e,listHeight:C0e,listItemHeight:w0e,childrenAsData:j0e,optionRender:M0e})},[Y0e,A1e,I1e,ime,H1e,_0e,_1e,I0e,A0e,h0e,C0e,w0e,j0e,M0e]);return reactExports.createElement(SelectContext.Provider,{value:rme},reactExports.createElement(BaseSelect,_extends$1z({},k0e,{id:q0e,prefixCls:n0e,ref:e0e,omitDomProps:OMIT_DOM_PROPS,mode:t0e,displayValues:$1e,onDisplayValuesChange:W1e,direction:$0e,searchValue:H0e,onSearch:Q1e,autoClearSearchValue:u0e,onSearchSplit:K1e,dropdownMatchSelectWidth:h0e,OptionList:RefOptionList,emptyOptions:!A1e.length,activeValue:G1e,activeDescendantId:"".concat(q0e,"_list_").concat(Y1e)})))}),TypedSelect=Select$3;TypedSelect.Option=Option;TypedSelect.OptGroup=OptGroup;function getStatusClassNames(x_,e0e,$P){return cx$1({[`${x_}-status-success`]:e0e==="success",[`${x_}-status-warning`]:e0e==="warning",[`${x_}-status-error`]:e0e==="error",[`${x_}-status-validating`]:e0e==="validating",[`${x_}-has-feedback`]:$P})}const getMergedStatus=(x_,e0e)=>e0e||x_,Empty$2=()=>{const[,x_]=useToken$1(),$P=new TinyColor(x_.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return reactExports.createElement("svg",{style:$P,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},reactExports.createElement("g",{fill:"none",fillRule:"evenodd"},reactExports.createElement("g",{transform:"translate(24 31.67)"},reactExports.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),reactExports.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),reactExports.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),reactExports.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),reactExports.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),reactExports.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),reactExports.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},reactExports.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),reactExports.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},DefaultEmptyImg=Empty$2,Simple=()=>{const[,x_]=useToken$1(),{colorFill:e0e,colorFillTertiary:$P,colorFillQuaternary:t0e,colorBgContainer:r0e}=x_,{borderColor:n0e,shadowColor:a0e,contentColor:o0e}=reactExports.useMemo(()=>({borderColor:new TinyColor(e0e).onBackground(r0e).toHexShortString(),shadowColor:new TinyColor($P).onBackground(r0e).toHexShortString(),contentColor:new TinyColor(t0e).onBackground(r0e).toHexShortString()}),[e0e,$P,t0e,r0e]);return reactExports.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},reactExports.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},reactExports.createElement("ellipse",{fill:a0e,cx:"32",cy:"33",rx:"32",ry:"7"}),reactExports.createElement("g",{fillRule:"nonzero",stroke:n0e},reactExports.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),reactExports.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:o0e}))))},SimpleEmptyImg=Simple,genSharedEmptyStyle=x_=>{const{componentCls:e0e,margin:$P,marginXS:t0e,marginXL:r0e,fontSize:n0e,lineHeight:a0e}=x_;return{[e0e]:{marginInline:t0e,fontSize:n0e,lineHeight:a0e,textAlign:"center",[`${e0e}-image`]:{height:x_.emptyImgHeight,marginBottom:t0e,opacity:x_.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${e0e}-description`]:{color:x_.colorText},[`${e0e}-footer`]:{marginTop:$P},"&-normal":{marginBlock:r0e,color:x_.colorTextDisabled,[`${e0e}-description`]:{color:x_.colorTextDisabled},[`${e0e}-image`]:{height:x_.emptyImgHeightMD}},"&-small":{marginBlock:t0e,color:x_.colorTextDisabled,[`${e0e}-image`]:{height:x_.emptyImgHeightSM}}}}},useStyle$n=genStyleHooks("Empty",x_=>{const{componentCls:e0e,controlHeightLG:$P,calc:t0e}=x_,r0e=merge$2(x_,{emptyImgCls:`${e0e}-img`,emptyImgHeight:t0e($P).mul(2.5).equal(),emptyImgHeightMD:$P,emptyImgHeightSM:t0e($P).mul(.875).equal()});return[genSharedEmptyStyle(r0e)]});var __rest$N=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var{className:e0e,rootClassName:$P,prefixCls:t0e,image:r0e=defaultEmptyImg,description:n0e,children:a0e,imageStyle:o0e,style:i0e}=x_,s0e=__rest$N(x_,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:l0e,direction:c0e,empty:u0e}=reactExports.useContext(ConfigContext),d0e=l0e("empty",t0e),[p0e,f0e]=useStyle$n(d0e),[h0e]=useLocale$1("Empty"),b0e=typeof n0e<"u"?n0e:h0e==null?void 0:h0e.description,m0e=typeof b0e=="string"?b0e:"empty";let v0e=null;return typeof r0e=="string"?v0e=reactExports.createElement("img",{alt:m0e,src:r0e}):v0e=r0e,p0e(reactExports.createElement("div",Object.assign({className:cx$1(f0e,d0e,u0e==null?void 0:u0e.className,{[`${d0e}-normal`]:r0e===simpleEmptyImg,[`${d0e}-rtl`]:c0e==="rtl"},e0e,$P),style:Object.assign(Object.assign({},u0e==null?void 0:u0e.style),i0e)},s0e),reactExports.createElement("div",{className:`${d0e}-image`,style:o0e},v0e),b0e&&reactExports.createElement("div",{className:`${d0e}-description`},b0e),a0e&&reactExports.createElement("div",{className:`${d0e}-footer`},a0e)))};Empty.PRESENTED_IMAGE_DEFAULT=defaultEmptyImg;Empty.PRESENTED_IMAGE_SIMPLE=simpleEmptyImg;const Empty$1=Empty,DefaultRenderEmpty=x_=>{const{componentName:e0e}=x_,{getPrefixCls:$P}=reactExports.useContext(ConfigContext),t0e=$P("empty");switch(e0e){case"Table":case"List":return jsx(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return jsx(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE,className:`${t0e}-small`});default:return jsx(Empty$1,{})}},DefaultRenderEmpty$1=DefaultRenderEmpty,genItemStyle=x_=>{const{optionHeight:e0e,optionFontSize:$P,optionLineHeight:t0e,optionPadding:r0e}=x_;return{position:"relative",display:"block",minHeight:e0e,padding:r0e,color:x_.colorText,fontWeight:"normal",fontSize:$P,lineHeight:t0e,boxSizing:"border-box"}},genSingleStyle$1=x_=>{const{antCls:e0e,componentCls:$P}=x_,t0e=`${$P}-item`,r0e=`&${e0e}-slide-up-enter${e0e}-slide-up-enter-active`,n0e=`&${e0e}-slide-up-appear${e0e}-slide-up-appear-active`,a0e=`&${e0e}-slide-up-leave${e0e}-slide-up-leave-active`,o0e=`${$P}-dropdown-placement-`;return[{[`${$P}-dropdown`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:-9999,zIndex:x_.zIndexPopup,boxSizing:"border-box",padding:x_.paddingXXS,overflow:"hidden",fontSize:x_.fontSize,fontVariant:"initial",backgroundColor:x_.colorBgElevated,borderRadius:x_.borderRadiusLG,outline:"none",boxShadow:x_.boxShadowSecondary,[` +`].includes(y1e)})},[R0e]),pme=function(u1e,h1e,C1e){var R1e=!0,X1e=u1e;A0e==null||A0e(null);var dme=C1e?null:getSeparatedContent(u1e,R0e);return b0e!=="combobox"&&dme&&(X1e="",w0e==null||w0e(dme),D1e(!1),R1e=!1),E0e&&cme!==X1e&&E0e(X1e,{source:h1e?"typing":"effect"}),R1e},$me=function(u1e){!u1e||!u1e.trim()||E0e(u1e,{source:"submit"})};reactExports.useEffect(function(){!L1e&&!r1e&&b0e!=="combobox"&&pme("",!1,!1)},[L1e]),reactExports.useEffect(function(){K1e&&m0e&&rme(!1),m0e&&!A1e.current&&G1e(!1)},[m0e]);var fme=useLock(),mme=_slicedToArray$3(fme,2),lme=mme[0],Ome=mme[1],bme=function(u1e){var h1e=lme(),C1e=u1e.which;if(C1e===KeyCode$1.ENTER&&(b0e!=="combobox"&&u1e.preventDefault(),L1e||D1e(!0)),Ome(!!cme),C1e===KeyCode$1.BACKSPACE&&!h1e&&r1e&&!cme&&c0e.length){for(var R1e=_toConsumableArray$2(c0e),X1e=null,dme=R1e.length-1;dme>=0;dme-=1){var Mme=R1e[dme];if(!Mme.disabled){R1e.splice(dme,1),X1e=Mme;break}}X1e&&u0e(R1e,{type:"remove",values:[X1e]})}for(var Cme=arguments.length,qme=new Array(Cme>1?Cme-1:0),Ime=1;Ime1?h1e-1:0),R1e=1;R1e1?dme-1:0),Cme=1;Cme0,j0e=reactExports.useMemo(function(){if(n0e===0||k0e===0)return 0;var B0e=n0e/k0e;return B0e*q0e},[n0e,k0e,q0e]),P0e=function(U0e){U0e.stopPropagation(),U0e.preventDefault()},I0e=reactExports.useRef({top:j0e,dragging:b0e,pageY:y0e,startTop:_0e});I0e.current={top:j0e,dragging:b0e,pageY:y0e,startTop:_0e};var F0e=function(U0e){m0e(!0),M0e(getPageXY(U0e,l0e)),A0e(I0e.current.top),o0e(),U0e.stopPropagation(),U0e.preventDefault()};reactExports.useEffect(function(){var B0e=function(e1e){e1e.preventDefault()},U0e=S0e.current,X0e=C0e.current;return U0e.addEventListener("touchstart",B0e),X0e.addEventListener("touchstart",F0e),function(){U0e.removeEventListener("touchstart",B0e),X0e.removeEventListener("touchstart",F0e)}},[]);var V0e=reactExports.useRef();V0e.current=k0e;var H0e=reactExports.useRef();H0e.current=q0e,reactExports.useEffect(function(){if(b0e){var B0e,U0e=function(e1e){var n1e=I0e.current,t1e=n1e.dragging,r1e=n1e.pageY,a1e=n1e.startTop;if(wrapperRaf$1.cancel(B0e),t1e){var l1e=getPageXY(e1e,l0e)-r1e,s1e=a1e;!$0e&&l0e?s1e-=l1e:s1e+=l1e;var g1e=V0e.current,$1e=H0e.current,_1e=$1e?s1e/$1e:0,p1e=Math.ceil(_1e*g1e);p1e=Math.max(p1e,0),p1e=Math.min(p1e,g1e),B0e=wrapperRaf$1(function(){s0e(p1e,l0e)})}},X0e=function(){m0e(!1),i0e()};return window.addEventListener("mousemove",U0e),window.addEventListener("touchmove",U0e),window.addEventListener("mouseup",X0e),window.addEventListener("touchend",X0e),function(){window.removeEventListener("mousemove",U0e),window.removeEventListener("touchmove",U0e),window.removeEventListener("mouseup",X0e),window.removeEventListener("touchend",X0e),wrapperRaf$1.cancel(B0e)}}},[b0e]),reactExports.useEffect(function(){W0e()},[n0e]),reactExports.useImperativeHandle(e0e,function(){return{delayHidden:W0e}});var Q0e="".concat(t0e,"-scrollbar"),Y0e={position:"absolute",visibility:R0e&&N0e?null:"hidden"},G0e={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return l0e?(Y0e.height=8,Y0e.left=0,Y0e.right=0,Y0e.bottom=0,G0e.height="100%",G0e.width=c0e,$0e?G0e.left=j0e:G0e.right=j0e):(Y0e.width=8,Y0e.top=0,Y0e.bottom=0,$0e?Y0e.right=0:Y0e.left=0,G0e.width="100%",G0e.height=c0e,G0e.top=j0e),reactExports.createElement("div",{ref:S0e,className:cx$1(Q0e,($P={},_defineProperty$5($P,"".concat(Q0e,"-horizontal"),l0e),_defineProperty$5($P,"".concat(Q0e,"-vertical"),!l0e),_defineProperty$5($P,"".concat(Q0e,"-visible"),R0e),$P)),style:_objectSpread2$1(_objectSpread2$1({},Y0e),d0e),onMouseDown:P0e,onMouseMove:W0e},reactExports.createElement("div",{ref:C0e,className:cx$1("".concat(Q0e,"-thumb"),_defineProperty$5({},"".concat(Q0e,"-thumb-moving"),b0e)),style:_objectSpread2$1(_objectSpread2$1({},G0e),p0e),onMouseDown:F0e}))});function Item$6(x_){var e0e=x_.children,$P=x_.setRef,t0e=reactExports.useCallback(function(r0e){$P(r0e)},[]);return reactExports.cloneElement(e0e,{ref:t0e})}function useChildren$1(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=a0e.getKey;return x_.slice(e0e,$P+1).map(function(i0e,s0e){var l0e=e0e+s0e,c0e=n0e(i0e,l0e,{style:{width:t0e}}),u0e=o0e(i0e);return reactExports.createElement(Item$6,{key:u0e,setRef:function(p0e){return r0e(i0e,p0e)}},c0e)})}var CacheMap=function(){function x_(){_classCallCheck$1(this,x_),this.maps=void 0,this.id=0,this.maps=Object.create(null)}return _createClass$1(x_,[{key:"set",value:function($P,t0e){this.maps[$P]=t0e,this.id+=1}},{key:"get",value:function($P){return this.maps[$P]}}]),x_}();function useHeights(x_,e0e,$P){var t0e=reactExports.useState(0),r0e=_slicedToArray$3(t0e,2),n0e=r0e[0],a0e=r0e[1],o0e=reactExports.useRef(new Map),i0e=reactExports.useRef(new CacheMap),s0e=reactExports.useRef();function l0e(){wrapperRaf$1.cancel(s0e.current)}function c0e(){var d0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;l0e();var p0e=function(){o0e.current.forEach(function(h0e,b0e){if(h0e&&h0e.offsetParent){var m0e=findDOMNode$1(h0e),v0e=m0e.offsetHeight;i0e.current.get(b0e)!==v0e&&i0e.current.set(b0e,m0e.offsetHeight)}}),a0e(function(h0e){return h0e+1})};d0e?p0e():s0e.current=wrapperRaf$1(p0e)}function u0e(d0e,p0e){var f0e=x_(d0e),h0e=o0e.current.get(f0e);p0e?(o0e.current.set(f0e,p0e),c0e()):o0e.current.delete(f0e),!h0e!=!p0e&&(p0e?e0e==null||e0e(d0e):$P==null||$P(d0e))}return reactExports.useEffect(function(){return l0e},[]),[u0e,c0e,i0e.current,n0e]}var MAX_TIMES=10;function useScrollTo(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e){var i0e=reactExports.useRef(),s0e=reactExports.useState(null),l0e=_slicedToArray$3(s0e,2),c0e=l0e[0],u0e=l0e[1];return useLayoutEffect$2(function(){if(c0e&&c0e.times=0;E0e-=1){var w0e=r0e(e0e[E0e]),R0e=$P.get(w0e);if(R0e===void 0){m0e=!0;break}if(C0e-=R0e,C0e<=0)break}switch(y0e){case"top":g0e=O0e-h0e;break;case"bottom":g0e=z0e-b0e+h0e;break;default:{var T0e=x_.current.scrollTop,D0e=T0e+b0e;O0eD0e&&(v0e="bottom")}}g0e!==null&&a0e(g0e),g0e!==c0e.lastTop&&(m0e=!0)}m0e&&u0e(_objectSpread2$1(_objectSpread2$1({},c0e),{},{times:c0e.times+1,targetAlign:v0e,lastTop:g0e}))}},[c0e,x_.current]),function(d0e){if(d0e==null){o0e();return}if(wrapperRaf$1.cancel(i0e.current),typeof d0e=="number")a0e(d0e);else if(d0e&&_typeof$2(d0e)==="object"){var p0e,f0e=d0e.align;"index"in d0e?p0e=d0e.index:p0e=e0e.findIndex(function(m0e){return r0e(m0e)===d0e.key});var h0e=d0e.offset,b0e=h0e===void 0?0:h0e;u0e({times:0,index:p0e,offset:b0e,originAlign:f0e})}}}function findListDiffIndex(x_,e0e,$P){var t0e=x_.length,r0e=e0e.length,n0e,a0e;if(t0e===0&&r0e===0)return null;t0e"u"?"undefined":_typeof$2(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const useOriginScroll=function(x_,e0e){var $P=reactExports.useRef(!1),t0e=reactExports.useRef(null);function r0e(){clearTimeout(t0e.current),$P.current=!0,t0e.current=setTimeout(function(){$P.current=!1},50)}var n0e=reactExports.useRef({top:x_,bottom:e0e});return n0e.current.top=x_,n0e.current.bottom=e0e,function(a0e){var o0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,i0e=a0e<0&&n0e.current.top||a0e>0&&n0e.current.bottom;return o0e&&i0e?(clearTimeout(t0e.current),$P.current=!1):(!i0e||$P.current)&&r0e(),!$P.current&&i0e}};function useFrameWheel(x_,e0e,$P,t0e,r0e){var n0e=reactExports.useRef(0),a0e=reactExports.useRef(null),o0e=reactExports.useRef(null),i0e=reactExports.useRef(!1),s0e=useOriginScroll(e0e,$P);function l0e(h0e,b0e){wrapperRaf$1.cancel(a0e.current),n0e.current+=b0e,o0e.current=b0e,!s0e(b0e)&&(isFF||h0e.preventDefault(),a0e.current=wrapperRaf$1(function(){var m0e=i0e.current?10:1;r0e(n0e.current*m0e),n0e.current=0}))}function c0e(h0e,b0e){r0e(b0e,!0),isFF||h0e.preventDefault()}var u0e=reactExports.useRef(null),d0e=reactExports.useRef(null);function p0e(h0e){if(x_){wrapperRaf$1.cancel(d0e.current),d0e.current=wrapperRaf$1(function(){u0e.current=null},2);var b0e=h0e.deltaX,m0e=h0e.deltaY,v0e=h0e.shiftKey,g0e=b0e,y0e=m0e;(u0e.current==="sx"||!u0e.current&&v0e&&m0e&&!b0e)&&(g0e=m0e,y0e=0,u0e.current="sx");var M0e=Math.abs(g0e),O0e=Math.abs(y0e);u0e.current===null&&(u0e.current=t0e&&M0e>O0e?"x":"y"),u0e.current==="y"?l0e(h0e,y0e):c0e(h0e,g0e)}}function f0e(h0e){x_&&(i0e.current=h0e.detail===o0e.current)}return[p0e,f0e]}var SMOOTH_PTG=14/15;function useMobileTouchMove(x_,e0e,$P){var t0e=reactExports.useRef(!1),r0e=reactExports.useRef(0),n0e=reactExports.useRef(null),a0e=reactExports.useRef(null),o0e,i0e=function(u0e){if(t0e.current){var d0e=Math.ceil(u0e.touches[0].pageY),p0e=r0e.current-d0e;r0e.current=d0e,$P(p0e)&&u0e.preventDefault(),clearInterval(a0e.current),a0e.current=setInterval(function(){p0e*=SMOOTH_PTG,(!$P(p0e,!0)||Math.abs(p0e)<=.1)&&clearInterval(a0e.current)},16)}},s0e=function(){t0e.current=!1,o0e()},l0e=function(u0e){o0e(),u0e.touches.length===1&&!t0e.current&&(t0e.current=!0,r0e.current=Math.ceil(u0e.touches[0].pageY),n0e.current=u0e.target,n0e.current.addEventListener("touchmove",i0e),n0e.current.addEventListener("touchend",s0e))};o0e=function(){n0e.current&&(n0e.current.removeEventListener("touchmove",i0e),n0e.current.removeEventListener("touchend",s0e))},useLayoutEffect$2(function(){return x_&&e0e.current.addEventListener("touchstart",l0e),function(){var c0e;(c0e=e0e.current)===null||c0e===void 0||c0e.removeEventListener("touchstart",l0e),o0e(),clearInterval(a0e.current)}},[x_])}var MIN_SIZE=20;function getSpinSize(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,$P=x_/e0e*100;return isNaN($P)&&($P=0),$P=Math.max($P,MIN_SIZE),$P=Math.min($P,x_/2),Math.floor($P)}function useGetSize(x_,e0e,$P,t0e){var r0e=reactExports.useMemo(function(){return[new Map,[]]},[x_,$P.id,t0e]),n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1],i0e=function(l0e){var c0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:l0e,u0e=a0e.get(l0e),d0e=a0e.get(c0e);if(u0e===void 0||d0e===void 0)for(var p0e=x_.length,f0e=o0e.length;f0en0e||!!f0e),$0e=p0e==="rtl",S0e=cx$1(t0e,_defineProperty$5({},"".concat(t0e,"-rtl"),$0e),r0e),C0e=l0e||EMPTY_DATA,E0e=reactExports.useRef(),w0e=reactExports.useRef(),R0e=reactExports.useState(0),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=reactExports.useState(0),q0e=_slicedToArray$3(k0e,2),N0e=q0e[0],j0e=q0e[1],P0e=reactExports.useState(!1),I0e=_slicedToArray$3(P0e,2),F0e=I0e[0],V0e=I0e[1],H0e=function(){V0e(!0)},Q0e=function(){V0e(!1)},Y0e=reactExports.useCallback(function(b1e){return typeof u0e=="function"?u0e(b1e):b1e==null?void 0:b1e[u0e]},[u0e]),G0e={getKey:Y0e};function B0e(b1e){W0e(function(S1e){var N1e;typeof b1e=="function"?N1e=b1e(S1e):N1e=b1e;var nme=k1e(N1e);return E0e.current.scrollTop=nme,nme})}var U0e=reactExports.useRef({start:0,end:C0e.length}),X0e=reactExports.useRef(),Z0e=useDiffItem(C0e,Y0e),e1e=_slicedToArray$3(Z0e,1),n1e=e1e[0];X0e.current=n1e;var t1e=useHeights(Y0e,null,null),r1e=_slicedToArray$3(t1e,4),a1e=r1e[0],l1e=r1e[1],s1e=r1e[2],g1e=r1e[3],$1e=reactExports.useMemo(function(){if(!_0e)return{scrollHeight:void 0,start:0,end:C0e.length-1,offset:void 0};if(!A0e){var b1e;return{scrollHeight:((b1e=w0e.current)===null||b1e===void 0?void 0:b1e.offsetHeight)||0,start:0,end:C0e.length-1,offset:void 0}}for(var S1e=0,N1e,nme,ome,m1e=C0e.length,T1e=0;T1e=D0e&&N1e===void 0&&(N1e=T1e,nme=S1e),gme>D0e+n0e&&ome===void 0&&(ome=T1e),S1e=gme}return N1e===void 0&&(N1e=0,nme=0,ome=Math.ceil(n0e/a0e)),ome===void 0&&(ome=C0e.length-1),ome=Math.min(ome+1,C0e.length-1),{scrollHeight:S1e,start:N1e,end:ome,offset:nme}},[A0e,_0e,D0e,C0e,g1e,n0e]),_1e=$1e.scrollHeight,p1e=$1e.start,E1e=$1e.end,x1e=$1e.offset;U0e.current.start=p1e,U0e.current.end=E1e;var O1e=reactExports.useState({width:0,height:n0e}),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=function(S1e){F1e({width:S1e.width||S1e.offsetWidth,height:S1e.height||S1e.offsetHeight})},ame=reactExports.useRef(),G1e=reactExports.useRef(),V1e=reactExports.useMemo(function(){return getSpinSize(A1e.width,f0e)},[A1e.width,f0e]),cme=reactExports.useMemo(function(){return getSpinSize(A1e.height,_1e)},[A1e.height,_1e]),ume=_1e-n0e,Y1e=reactExports.useRef(ume);Y1e.current=ume;function k1e(b1e){var S1e=b1e;return Number.isNaN(Y1e.current)||(S1e=Math.min(S1e,Y1e.current)),S1e=Math.max(S1e,0),S1e}var ime=D0e<=0,I1e=D0e>=ume,j1e=useOriginScroll(ime,I1e),H1e=function(){return{x:$0e?-N0e:N0e,y:D0e}},W1e=reactExports.useRef(H1e()),Q1e=useEvent(function(){if(v0e){var b1e=H1e();(W1e.current.x!==b1e.x||W1e.current.y!==b1e.y)&&(v0e(b1e),W1e.current=b1e)}});function K1e(b1e,S1e){var N1e=b1e;S1e?(reactDomExports.flushSync(function(){j0e(N1e)}),Q1e()):B0e(N1e)}function rme(b1e){var S1e=b1e.currentTarget.scrollTop;S1e!==D0e&&B0e(S1e),m0e==null||m0e(b1e),Q1e()}var L1e=function(S1e){var N1e=S1e,nme=f0e-A1e.width;return N1e=Math.max(N1e,0),N1e=Math.min(N1e,nme),N1e},Z1e=useEvent(function(b1e,S1e){S1e?(reactDomExports.flushSync(function(){j0e(function(N1e){var nme=N1e+($0e?-b1e:b1e);return L1e(nme)})}),Q1e()):B0e(function(N1e){var nme=N1e+b1e;return nme})}),U1e=useFrameWheel(_0e,ime,I1e,!!f0e,Z1e),D1e=_slicedToArray$3(U1e,2),q1e=D1e[0],pme=D1e[1];useMobileTouchMove(_0e,E0e,function(b1e,S1e){return j1e(b1e,S1e)?!1:(q1e({preventDefault:function(){},deltaY:b1e}),!0)}),useLayoutEffect$2(function(){function b1e(N1e){_0e&&N1e.preventDefault()}var S1e=E0e.current;return S1e.addEventListener("wheel",q1e),S1e.addEventListener("DOMMouseScroll",pme),S1e.addEventListener("MozMousePixelScroll",b1e),function(){S1e.removeEventListener("wheel",q1e),S1e.removeEventListener("DOMMouseScroll",pme),S1e.removeEventListener("MozMousePixelScroll",b1e)}},[_0e]),useLayoutEffect$2(function(){f0e&&j0e(function(b1e){return L1e(b1e)})},[A1e.width,f0e]);var $me=function(){var S1e,N1e;(S1e=ame.current)===null||S1e===void 0||S1e.delayHidden(),(N1e=G1e.current)===null||N1e===void 0||N1e.delayHidden()},fme=useScrollTo(E0e,C0e,s1e,a0e,Y0e,function(){return l1e(!0)},B0e,$me);reactExports.useImperativeHandle(e0e,function(){return{getScrollInfo:H1e,scrollTo:function(S1e){function N1e(nme){return nme&&_typeof$2(nme)==="object"&&("left"in nme||"top"in nme)}N1e(S1e)?(S1e.left!==void 0&&j0e(L1e(S1e.left)),fme(S1e.top)):fme(S1e)}}}),useLayoutEffect$2(function(){if(g0e){var b1e=C0e.slice(p1e,E1e+1);g0e(b1e,C0e)}},[p1e,E1e,C0e]);var mme=useGetSize(C0e,Y0e,s1e,a0e),lme=M0e==null?void 0:M0e({start:p1e,end:E1e,virtual:A0e,offsetX:N0e,offsetY:x1e,rtl:$0e,getSize:mme}),Ome=useChildren$1(C0e,p1e,E1e,f0e,a1e,c0e,G0e),bme=null;n0e&&(bme=_objectSpread2$1(_defineProperty$5({},i0e?"height":"maxHeight",n0e),ScrollStyle),_0e&&(bme.overflowY="hidden",f0e&&(bme.overflowX="hidden"),F0e&&(bme.pointerEvents="none")));var d1e={};return $0e&&(d1e.dir="rtl"),reactExports.createElement("div",_extends$1z({style:_objectSpread2$1(_objectSpread2$1({},s0e),{},{position:"relative"}),className:S0e},d1e,z0e),reactExports.createElement(RefResizeObserver,{onResize:J1e},reactExports.createElement(b0e,{className:"".concat(t0e,"-holder"),style:bme,ref:E0e,onScroll:rme,onMouseEnter:$me},reactExports.createElement(Filler,{prefixCls:t0e,height:_1e,offsetX:N0e,offsetY:x1e,scrollWidth:f0e,onInnerResize:l1e,ref:w0e,innerProps:y0e,rtl:$0e,extra:lme},Ome))),A0e&&_1e>n0e&&reactExports.createElement(ScrollBar,{ref:ame,prefixCls:t0e,scrollOffset:D0e,scrollRange:_1e,rtl:$0e,onScroll:K1e,onStartMove:H0e,onStopMove:Q0e,spinSize:cme,containerSize:A1e.height,style:O0e==null?void 0:O0e.verticalScrollBar,thumbStyle:O0e==null?void 0:O0e.verticalScrollBarThumb}),A0e&&f0e&&reactExports.createElement(ScrollBar,{ref:G1e,prefixCls:t0e,scrollOffset:N0e,scrollRange:f0e,rtl:$0e,onScroll:K1e,onStartMove:H0e,onStopMove:Q0e,spinSize:V1e,containerSize:A1e.width,horizontal:!0,style:O0e==null?void 0:O0e.horizontalScrollBar,thumbStyle:O0e==null?void 0:O0e.horizontalScrollBarThumb}))}var List$2=reactExports.forwardRef(RawList);List$2.displayName="List";var SelectContext=reactExports.createContext(null);function isPlatformMac(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var _excluded$F=["disabled","title","children","style","className"];function isTitleType(x_){return typeof x_=="string"||typeof x_=="number"}var OptionList=function(e0e,$P){var t0e=useBaseProps(),r0e=t0e.prefixCls,n0e=t0e.id,a0e=t0e.open,o0e=t0e.multiple,i0e=t0e.mode,s0e=t0e.searchValue,l0e=t0e.toggleOpen,c0e=t0e.notFoundContent,u0e=t0e.onPopupScroll,d0e=reactExports.useContext(SelectContext),p0e=d0e.flattenOptions,f0e=d0e.onActiveValue,h0e=d0e.defaultActiveFirstOption,b0e=d0e.onSelect,m0e=d0e.menuItemSelectedIcon,v0e=d0e.rawValues,g0e=d0e.fieldNames,y0e=d0e.virtual,M0e=d0e.direction,O0e=d0e.listHeight,z0e=d0e.listItemHeight,_0e=d0e.optionRender,A0e="".concat(r0e,"-item"),$0e=useMemo(function(){return p0e},[a0e,p0e],function(H0e,Q0e){return Q0e[0]&&H0e[1]!==Q0e[1]}),S0e=reactExports.useRef(null),C0e=function(Q0e){Q0e.preventDefault()},E0e=function(Q0e){S0e.current&&S0e.current.scrollTo(typeof Q0e=="number"?{index:Q0e}:Q0e)},w0e=function(Q0e){for(var Y0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,G0e=$0e.length,B0e=0;B0e1&&arguments[1]!==void 0?arguments[1]:!1;W0e(Q0e);var G0e={source:Y0e?"keyboard":"mouse"},B0e=$0e[Q0e];if(!B0e){f0e(null,-1,G0e);return}f0e(B0e.value,Q0e,G0e)};reactExports.useEffect(function(){k0e(h0e!==!1?w0e(0):-1)},[$0e.length,s0e]);var q0e=reactExports.useCallback(function(H0e){return v0e.has(H0e)&&i0e!=="combobox"},[i0e,_toConsumableArray$2(v0e).toString(),v0e.size]);reactExports.useEffect(function(){var H0e=setTimeout(function(){if(!o0e&&a0e&&v0e.size===1){var Y0e=Array.from(v0e)[0],G0e=$0e.findIndex(function(B0e){var U0e=B0e.data;return U0e.value===Y0e});G0e!==-1&&(k0e(G0e),E0e(G0e))}});if(a0e){var Q0e;(Q0e=S0e.current)===null||Q0e===void 0||Q0e.scrollTo(void 0)}return function(){return clearTimeout(H0e)}},[a0e,s0e]);var N0e=function(Q0e){Q0e!==void 0&&b0e(Q0e,{selected:!v0e.has(Q0e)}),o0e||l0e(!1)};if(reactExports.useImperativeHandle($P,function(){return{onKeyDown:function(Q0e){var Y0e=Q0e.which,G0e=Q0e.ctrlKey;switch(Y0e){case KeyCode$1.N:case KeyCode$1.P:case KeyCode$1.UP:case KeyCode$1.DOWN:{var B0e=0;if(Y0e===KeyCode$1.UP?B0e=-1:Y0e===KeyCode$1.DOWN?B0e=1:isPlatformMac()&&G0e&&(Y0e===KeyCode$1.N?B0e=1:Y0e===KeyCode$1.P&&(B0e=-1)),B0e!==0){var U0e=w0e(D0e+B0e,B0e);E0e(U0e),k0e(U0e,!0)}break}case KeyCode$1.ENTER:{var X0e=$0e[D0e];X0e&&!X0e.data.disabled?N0e(X0e.value):N0e(void 0),a0e&&Q0e.preventDefault();break}case KeyCode$1.ESC:l0e(!1),a0e&&Q0e.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Q0e){E0e(Q0e)}}}),$0e.length===0)return reactExports.createElement("div",{role:"listbox",id:"".concat(n0e,"_list"),className:"".concat(A0e,"-empty"),onMouseDown:C0e},c0e);var j0e=Object.keys(g0e).map(function(H0e){return g0e[H0e]}),P0e=function(Q0e){return Q0e.label};function I0e(H0e,Q0e){var Y0e=H0e.group;return{role:Y0e?"presentation":"option",id:"".concat(n0e,"_list_").concat(Q0e)}}var F0e=function(Q0e){var Y0e=$0e[Q0e];if(!Y0e)return null;var G0e=Y0e.data||{},B0e=G0e.value,U0e=Y0e.group,X0e=pickAttrs(G0e,!0),Z0e=P0e(Y0e);return Y0e?reactExports.createElement("div",_extends$1z({"aria-label":typeof Z0e=="string"&&!U0e?Z0e:null},X0e,{key:Q0e},I0e(Y0e,Q0e),{"aria-selected":q0e(B0e)}),B0e):null},V0e={role:"listbox",id:"".concat(n0e,"_list")};return reactExports.createElement(reactExports.Fragment,null,y0e&&reactExports.createElement("div",_extends$1z({},V0e,{style:{height:0,width:0,overflow:"hidden"}}),F0e(D0e-1),F0e(D0e),F0e(D0e+1)),reactExports.createElement(List$2,{itemKey:"key",ref:S0e,data:$0e,height:O0e,itemHeight:z0e,fullHeight:!1,onMouseDown:C0e,onScroll:u0e,virtual:y0e,direction:M0e,innerProps:y0e?null:V0e},function(H0e,Q0e){var Y0e,G0e=H0e.group,B0e=H0e.groupOption,U0e=H0e.data,X0e=H0e.label,Z0e=H0e.value,e1e=U0e.key;if(G0e){var n1e,t1e=(n1e=U0e.title)!==null&&n1e!==void 0?n1e:isTitleType(X0e)?X0e.toString():void 0;return reactExports.createElement("div",{className:cx$1(A0e,"".concat(A0e,"-group")),title:t1e},X0e!==void 0?X0e:e1e)}var r1e=U0e.disabled,a1e=U0e.title;U0e.children;var l1e=U0e.style,s1e=U0e.className,g1e=_objectWithoutProperties$4(U0e,_excluded$F),$1e=omit$2(g1e,j0e),_1e=q0e(Z0e),p1e="".concat(A0e,"-option"),E1e=cx$1(A0e,p1e,s1e,(Y0e={},_defineProperty$5(Y0e,"".concat(p1e,"-grouped"),B0e),_defineProperty$5(Y0e,"".concat(p1e,"-active"),D0e===Q0e&&!r1e),_defineProperty$5(Y0e,"".concat(p1e,"-disabled"),r1e),_defineProperty$5(Y0e,"".concat(p1e,"-selected"),_1e),Y0e)),x1e=P0e(H0e),O1e=!m0e||typeof m0e=="function"||_1e,w1e=typeof x1e=="number"?x1e:x1e||Z0e,A1e=isTitleType(w1e)?w1e.toString():void 0;return a1e!==void 0&&(A1e=a1e),reactExports.createElement("div",_extends$1z({},pickAttrs($1e),y0e?{}:I0e(H0e,Q0e),{"aria-selected":_1e,className:E1e,title:A1e,onMouseMove:function(){D0e===Q0e||r1e||k0e(Q0e)},onClick:function(){r1e||N0e(Z0e)},style:l1e}),reactExports.createElement("div",{className:"".concat(p1e,"-content")},typeof _0e=="function"?_0e(H0e,{index:Q0e}):w1e),reactExports.isValidElement(m0e)||_1e,O1e&&reactExports.createElement(TransBtn,{className:"".concat(A0e,"-option-state"),customizeIcon:m0e,customizeIconProps:{value:Z0e,disabled:r1e,isSelected:_1e}},_1e?"✓":null))}))},RefOptionList=reactExports.forwardRef(OptionList);RefOptionList.displayName="OptionList";const useCache=function(x_,e0e){var $P=reactExports.useRef({values:new Map,options:new Map}),t0e=reactExports.useMemo(function(){var n0e=$P.current,a0e=n0e.values,o0e=n0e.options,i0e=x_.map(function(c0e){if(c0e.label===void 0){var u0e;return _objectSpread2$1(_objectSpread2$1({},c0e),{},{label:(u0e=a0e.get(c0e.value))===null||u0e===void 0?void 0:u0e.label})}return c0e}),s0e=new Map,l0e=new Map;return i0e.forEach(function(c0e){s0e.set(c0e.value,c0e),l0e.set(c0e.value,e0e.get(c0e.value)||o0e.get(c0e.value))}),$P.current.values=s0e,$P.current.options=l0e,i0e},[x_,e0e]),r0e=reactExports.useCallback(function(n0e){return e0e.get(n0e)||$P.current.options.get(n0e)},[e0e]);return[t0e,r0e]};function includes$2(x_,e0e){return toArray$4(x_).join("").toUpperCase().includes(e0e)}const useFilterOptions=function(x_,e0e,$P,t0e,r0e){return reactExports.useMemo(function(){if(!$P||t0e===!1)return x_;var n0e=e0e.options,a0e=e0e.label,o0e=e0e.value,i0e=[],s0e=typeof t0e=="function",l0e=$P.toUpperCase(),c0e=s0e?t0e:function(d0e,p0e){return r0e?includes$2(p0e[r0e],l0e):p0e[n0e]?includes$2(p0e[a0e!=="children"?a0e:"label"],l0e):includes$2(p0e[o0e],l0e)},u0e=s0e?function(d0e){return injectPropsWithOption(d0e)}:function(d0e){return d0e};return x_.forEach(function(d0e){if(d0e[n0e]){var p0e=c0e($P,u0e(d0e));if(p0e)i0e.push(d0e);else{var f0e=d0e[n0e].filter(function(h0e){return c0e($P,u0e(h0e))});f0e.length&&i0e.push(_objectSpread2$1(_objectSpread2$1({},d0e),{},_defineProperty$5({},n0e,f0e)))}return}c0e($P,u0e(d0e))&&i0e.push(d0e)}),i0e},[x_,t0e,r0e,$P,e0e])};var uuid$3=0,isBrowserClient$1=canUseDom$1();function getUUID$1(){var x_;return isBrowserClient$1?(x_=uuid$3,uuid$3+=1):x_="TEST_OR_SSR",x_}function useId$1(x_){var e0e=reactExports.useState(),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1];return reactExports.useEffect(function(){r0e("rc_select_".concat(getUUID$1()))},[]),x_||t0e}var _excluded$E=["children","value"],_excluded2$d=["children"];function convertNodeToOption(x_){var e0e=x_,$P=e0e.key,t0e=e0e.props,r0e=t0e.children,n0e=t0e.value,a0e=_objectWithoutProperties$4(t0e,_excluded$E);return _objectSpread2$1({key:$P,value:n0e!==void 0?n0e:$P,children:r0e},a0e)}function convertChildrenToData(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return toArray$6(x_).map(function($P,t0e){if(!reactExports.isValidElement($P)||!$P.type)return null;var r0e=$P,n0e=r0e.type.isSelectOptGroup,a0e=r0e.key,o0e=r0e.props,i0e=o0e.children,s0e=_objectWithoutProperties$4(o0e,_excluded2$d);return e0e||!n0e?convertNodeToOption($P):_objectSpread2$1(_objectSpread2$1({key:"__RC_SELECT_GRP__".concat(a0e===null?t0e:a0e,"__"),label:a0e},s0e),{},{options:convertChildrenToData(i0e)})}).filter(function($P){return $P})}function useOptions(x_,e0e,$P,t0e,r0e){return reactExports.useMemo(function(){var n0e=x_,a0e=!x_;a0e&&(n0e=convertChildrenToData(e0e));var o0e=new Map,i0e=new Map,s0e=function(u0e,d0e,p0e){p0e&&typeof p0e=="string"&&u0e.set(d0e[p0e],d0e)};function l0e(c0e){for(var u0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d0e=0;d0e2&&arguments[2]!==void 0?arguments[2]:{},D1e=U1e.source,q1e=D1e===void 0?"keyboard":D1e;k1e(Z1e),a0e&&t0e==="combobox"&&L1e!==null&&q1e==="keyboard"&&V1e(String(L1e))},[a0e,t0e]),j1e=function(Z1e,U1e,D1e){var q1e=function(){var S1e,N1e=g1e(Z1e);return[D0e?{label:N1e==null?void 0:N1e[I0e.label],value:Z1e,key:(S1e=N1e==null?void 0:N1e.key)!==null&&S1e!==void 0?S1e:Z1e}:Z1e,injectPropsWithOption(N1e)]};if(U1e&&d0e){var pme=q1e(),$me=_slicedToArray$3(pme,2),fme=$me[0],mme=$me[1];d0e(fme,mme)}else if(!U1e&&p0e&&D1e!=="clear"){var lme=q1e(),Ome=_slicedToArray$3(lme,2),bme=Ome[0],d1e=Ome[1];p0e(bme,d1e)}},H1e=useRefFunc(function(L1e,Z1e){var U1e,D1e=N0e?Z1e.selected:!0;D1e?U1e=N0e?[].concat(_toConsumableArray$2(s1e),[L1e]):[L1e]:U1e=s1e.filter(function(q1e){return q1e.value!==L1e}),F1e(U1e),j1e(L1e,D1e),t0e==="combobox"?V1e(""):(!isMultiple||u0e)&&(Q0e(""),V1e(""))}),W1e=function(Z1e,U1e){F1e(Z1e);var D1e=U1e.type,q1e=U1e.values;(D1e==="remove"||D1e==="clear")&&q1e.forEach(function(pme){j1e(pme.value,!1,D1e)})},Q1e=function(Z1e,U1e){if(Q0e(Z1e),V1e(null),U1e.source==="submit"){var D1e=(Z1e||"").trim();if(D1e){var q1e=Array.from(new Set([].concat(_toConsumableArray$2(_1e),[D1e])));F1e(q1e),j1e(D1e,!0),Q0e("")}return}U1e.source!=="blur"&&(t0e==="combobox"&&F1e(Z1e),l0e==null||l0e(Z1e))},K1e=function(Z1e){var U1e=Z1e;t0e!=="tags"&&(U1e=Z1e.map(function(q1e){var pme=B0e.get(q1e);return pme==null?void 0:pme.value}).filter(function(q1e){return q1e!==void 0}));var D1e=Array.from(new Set([].concat(_toConsumableArray$2(_1e),_toConsumableArray$2(U1e))));F1e(D1e),D1e.forEach(function(q1e){j1e(q1e,!0)})},rme=reactExports.useMemo(function(){var L1e=A0e!==!1&&h0e!==!1;return _objectSpread2$1(_objectSpread2$1({},Y0e),{},{flattenOptions:A1e,onActiveValue:I1e,defaultActiveFirstOption:ime,onSelect:H1e,menuItemSelectedIcon:_0e,rawValues:_1e,fieldNames:I0e,virtual:L1e,direction:$0e,listHeight:C0e,listItemHeight:w0e,childrenAsData:j0e,optionRender:M0e})},[Y0e,A1e,I1e,ime,H1e,_0e,_1e,I0e,A0e,h0e,C0e,w0e,j0e,M0e]);return reactExports.createElement(SelectContext.Provider,{value:rme},reactExports.createElement(BaseSelect,_extends$1z({},k0e,{id:q0e,prefixCls:n0e,ref:e0e,omitDomProps:OMIT_DOM_PROPS,mode:t0e,displayValues:$1e,onDisplayValuesChange:W1e,direction:$0e,searchValue:H0e,onSearch:Q1e,autoClearSearchValue:u0e,onSearchSplit:K1e,dropdownMatchSelectWidth:h0e,OptionList:RefOptionList,emptyOptions:!A1e.length,activeValue:G1e,activeDescendantId:"".concat(q0e,"_list_").concat(Y1e)})))}),TypedSelect=Select$3;TypedSelect.Option=Option;TypedSelect.OptGroup=OptGroup;function getStatusClassNames(x_,e0e,$P){return cx$1({[`${x_}-status-success`]:e0e==="success",[`${x_}-status-warning`]:e0e==="warning",[`${x_}-status-error`]:e0e==="error",[`${x_}-status-validating`]:e0e==="validating",[`${x_}-has-feedback`]:$P})}const getMergedStatus=(x_,e0e)=>e0e||x_,Empty$2=()=>{const[,x_]=useToken$1(),$P=new TinyColor(x_.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return reactExports.createElement("svg",{style:$P,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},reactExports.createElement("g",{fill:"none",fillRule:"evenodd"},reactExports.createElement("g",{transform:"translate(24 31.67)"},reactExports.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),reactExports.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),reactExports.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),reactExports.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),reactExports.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),reactExports.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),reactExports.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},reactExports.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),reactExports.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},DefaultEmptyImg=Empty$2,Simple=()=>{const[,x_]=useToken$1(),{colorFill:e0e,colorFillTertiary:$P,colorFillQuaternary:t0e,colorBgContainer:r0e}=x_,{borderColor:n0e,shadowColor:a0e,contentColor:o0e}=reactExports.useMemo(()=>({borderColor:new TinyColor(e0e).onBackground(r0e).toHexShortString(),shadowColor:new TinyColor($P).onBackground(r0e).toHexShortString(),contentColor:new TinyColor(t0e).onBackground(r0e).toHexShortString()}),[e0e,$P,t0e,r0e]);return reactExports.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},reactExports.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},reactExports.createElement("ellipse",{fill:a0e,cx:"32",cy:"33",rx:"32",ry:"7"}),reactExports.createElement("g",{fillRule:"nonzero",stroke:n0e},reactExports.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),reactExports.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:o0e}))))},SimpleEmptyImg=Simple,genSharedEmptyStyle=x_=>{const{componentCls:e0e,margin:$P,marginXS:t0e,marginXL:r0e,fontSize:n0e,lineHeight:a0e}=x_;return{[e0e]:{marginInline:t0e,fontSize:n0e,lineHeight:a0e,textAlign:"center",[`${e0e}-image`]:{height:x_.emptyImgHeight,marginBottom:t0e,opacity:x_.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${e0e}-description`]:{color:x_.colorText},[`${e0e}-footer`]:{marginTop:$P},"&-normal":{marginBlock:r0e,color:x_.colorTextDisabled,[`${e0e}-description`]:{color:x_.colorTextDisabled},[`${e0e}-image`]:{height:x_.emptyImgHeightMD}},"&-small":{marginBlock:t0e,color:x_.colorTextDisabled,[`${e0e}-image`]:{height:x_.emptyImgHeightSM}}}}},useStyle$n=genStyleHooks("Empty",x_=>{const{componentCls:e0e,controlHeightLG:$P,calc:t0e}=x_,r0e=merge$2(x_,{emptyImgCls:`${e0e}-img`,emptyImgHeight:t0e($P).mul(2.5).equal(),emptyImgHeightMD:$P,emptyImgHeightSM:t0e($P).mul(.875).equal()});return[genSharedEmptyStyle(r0e)]});var __rest$N=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var{className:e0e,rootClassName:$P,prefixCls:t0e,image:r0e=defaultEmptyImg,description:n0e,children:a0e,imageStyle:o0e,style:i0e}=x_,s0e=__rest$N(x_,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:l0e,direction:c0e,empty:u0e}=reactExports.useContext(ConfigContext),d0e=l0e("empty",t0e),[p0e,f0e]=useStyle$n(d0e),[h0e]=useLocale$1("Empty"),b0e=typeof n0e<"u"?n0e:h0e==null?void 0:h0e.description,m0e=typeof b0e=="string"?b0e:"empty";let v0e=null;return typeof r0e=="string"?v0e=reactExports.createElement("img",{alt:m0e,src:r0e}):v0e=r0e,p0e(reactExports.createElement("div",Object.assign({className:cx$1(f0e,d0e,u0e==null?void 0:u0e.className,{[`${d0e}-normal`]:r0e===simpleEmptyImg,[`${d0e}-rtl`]:c0e==="rtl"},e0e,$P),style:Object.assign(Object.assign({},u0e==null?void 0:u0e.style),i0e)},s0e),reactExports.createElement("div",{className:`${d0e}-image`,style:o0e},v0e),b0e&&reactExports.createElement("div",{className:`${d0e}-description`},b0e),a0e&&reactExports.createElement("div",{className:`${d0e}-footer`},a0e)))};Empty.PRESENTED_IMAGE_DEFAULT=defaultEmptyImg;Empty.PRESENTED_IMAGE_SIMPLE=simpleEmptyImg;const Empty$1=Empty,DefaultRenderEmpty=x_=>{const{componentName:e0e}=x_,{getPrefixCls:$P}=reactExports.useContext(ConfigContext),t0e=$P("empty");switch(e0e){case"Table":case"List":return jsx(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return jsx(Empty$1,{image:Empty$1.PRESENTED_IMAGE_SIMPLE,className:`${t0e}-small`});default:return jsx(Empty$1,{})}},DefaultRenderEmpty$1=DefaultRenderEmpty,genItemStyle=x_=>{const{optionHeight:e0e,optionFontSize:$P,optionLineHeight:t0e,optionPadding:r0e}=x_;return{position:"relative",display:"block",minHeight:e0e,padding:r0e,color:x_.colorText,fontWeight:"normal",fontSize:$P,lineHeight:t0e,boxSizing:"border-box"}},genSingleStyle$1=x_=>{const{antCls:e0e,componentCls:$P}=x_,t0e=`${$P}-item`,r0e=`&${e0e}-slide-up-enter${e0e}-slide-up-enter-active`,n0e=`&${e0e}-slide-up-appear${e0e}-slide-up-appear-active`,a0e=`&${e0e}-slide-up-leave${e0e}-slide-up-leave-active`,o0e=`${$P}-dropdown-placement-`;return[{[`${$P}-dropdown`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:-9999,zIndex:x_.zIndexPopup,boxSizing:"border-box",padding:x_.paddingXXS,overflow:"hidden",fontSize:x_.fontSize,fontVariant:"initial",backgroundColor:x_.colorBgElevated,borderRadius:x_.borderRadiusLG,outline:"none",boxShadow:x_.boxShadowSecondary,[` ${r0e}${o0e}bottomLeft, ${n0e}${o0e}bottomLeft `]:{animationName:slideUpIn},[` @@ -260,7 +260,7 @@ html body { `]:{paddingInlineEnd:x_.showArrowPaddingInlineEnd},[`&${$P}-open ${$P}-selection-item`]:{color:x_.colorTextPlaceholder},[`&:not(${$P}-customize-input)`]:{[`${$P}-selector`]:{width:"100%",height:"100%",padding:`0 ${unit$1(t0e)}`,[`${$P}-selection-search-input`]:{height:n0e},"&:after":{lineHeight:unit$1(n0e)}}},[`&${$P}-customize-input`]:{[`${$P}-selector`]:{"&:after":{display:"none"},[`${$P}-selection-search`]:{position:"static",width:"100%"},[`${$P}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${unit$1(t0e)}`,"&:after":{display:"none"}}}}}}}function genSingleStyle(x_){const{componentCls:e0e}=x_,$P=x_.calc(x_.controlPaddingHorizontalSM).sub(x_.lineWidth).equal();return[genSizeStyle$2(x_),genSizeStyle$2(merge$2(x_,{controlHeight:x_.controlHeightSM,borderRadius:x_.borderRadiusSM}),"sm"),{[`${e0e}-single${e0e}-sm`]:{[`&:not(${e0e}-customize-input)`]:{[`${e0e}-selection-search`]:{insetInlineStart:$P,insetInlineEnd:$P},[`${e0e}-selector`]:{padding:`0 ${unit$1($P)}`},[`&${e0e}-show-arrow ${e0e}-selection-search`]:{insetInlineEnd:x_.calc($P).add(x_.calc(x_.fontSize).mul(1.5)).equal()},[` &${e0e}-show-arrow ${e0e}-selection-item, &${e0e}-show-arrow ${e0e}-selection-placeholder - `]:{paddingInlineEnd:x_.calc(x_.fontSize).mul(1.5).equal()}}}},genSizeStyle$2(merge$2(x_,{controlHeight:x_.singleItemHeightLG,fontSize:x_.fontSizeLG,borderRadius:x_.borderRadiusLG}),"lg")]}const genSelectorStyle=x_=>{const{componentCls:e0e,selectorBg:$P}=x_;return{position:"relative",backgroundColor:$P,border:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorder}`,transition:`all ${x_.motionDurationMid} ${x_.motionEaseInOut}`,input:{cursor:"pointer"},[`${e0e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${e0e}-disabled&`]:{color:x_.colorTextDisabled,background:x_.colorBgContainerDisabled,cursor:"not-allowed",[`${e0e}-multiple&`]:{background:x_.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},genStatusStyle$4=function(x_,e0e){let $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:t0e,borderHoverColor:r0e,antCls:n0e,borderActiveColor:a0e,outlineColor:o0e,controlOutlineWidth:i0e}=e0e,s0e=$P?{[`${t0e}-selector`]:{borderColor:a0e}}:{};return{[x_]:{[`&:not(${t0e}-disabled):not(${t0e}-customize-input):not(${n0e}-pagination-size-changer)`]:Object.assign(Object.assign({},s0e),{[`&:hover ${t0e}-selector`]:{borderColor:r0e},[`${t0e}-focused& ${t0e}-selector`]:{borderColor:a0e,boxShadow:`0 0 0 ${unit$1(i0e)} ${o0e}`,outline:0}})}}},getSearchInputWithoutBorderStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},genBaseStyle$4=x_=>{const{antCls:e0e,componentCls:$P,inputPaddingHorizontalBase:t0e,iconCls:r0e}=x_;return{[$P]:Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$P}-customize-input) ${$P}-selector`]:Object.assign(Object.assign({},genSelectorStyle(x_)),getSearchInputWithoutBorderStyle(x_)),[`${$P}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},textEllipsis),{[`> ${e0e}-typography`]:{display:"inline"}}),[`${$P}-selection-placeholder`]:Object.assign(Object.assign({},textEllipsis),{flex:1,color:x_.colorTextPlaceholder,pointerEvents:"none"}),[`${$P}-arrow`]:Object.assign(Object.assign({},resetIcon()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t0e,height:x_.fontSizeIcon,marginTop:x_.calc(x_.fontSizeIcon).mul(-1).div(2).equal(),color:x_.colorTextQuaternary,fontSize:x_.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r0e]:{verticalAlign:"top",transition:`transform ${x_.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$P}-suffix)`]:{pointerEvents:"auto"}},[`${$P}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$P}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t0e,zIndex:1,display:"inline-block",width:x_.fontSizeIcon,height:x_.fontSizeIcon,marginTop:x_.calc(x_.fontSizeIcon).mul(-1).div(2).equal(),color:x_.colorTextQuaternary,fontSize:x_.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:x_.clearBg,cursor:"pointer",opacity:0,transition:`color ${x_.motionDurationMid} ease, opacity ${x_.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:x_.colorTextTertiary}},"&:hover":{[`${$P}-clear`]:{opacity:1}}}),[`${$P}-has-feedback`]:{[`${$P}-clear`]:{insetInlineEnd:x_.calc(t0e).add(x_.fontSize).add(x_.paddingXS).equal()}}}},genSelectStyle=x_=>{const{componentCls:e0e}=x_;return[{[e0e]:{[`&-borderless ${e0e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${e0e}-in-form-item`]:{width:"100%"}}},genBaseStyle$4(x_),genSingleStyle(x_),genMultipleStyle$1(x_),genDropdownStyle$1(x_),{[`${e0e}-rtl`]:{direction:"rtl"}},genStatusStyle$4(e0e,merge$2(x_,{borderHoverColor:x_.colorPrimaryHover,borderActiveColor:x_.colorPrimary,outlineColor:x_.controlOutline})),genStatusStyle$4(`${e0e}-status-error`,merge$2(x_,{borderHoverColor:x_.colorErrorHover,borderActiveColor:x_.colorError,outlineColor:x_.colorErrorOutline}),!0),genStatusStyle$4(`${e0e}-status-warning`,merge$2(x_,{borderHoverColor:x_.colorWarningHover,borderActiveColor:x_.colorWarning,outlineColor:x_.colorWarningOutline}),!0),genCompactItemStyle(x_,{borderElCls:`${e0e}-selector`,focusElCls:`${e0e}-focused`})]},prepareComponentToken$j=x_=>{const{fontSize:e0e,lineHeight:$P,controlHeight:t0e,controlPaddingHorizontal:r0e,zIndexPopupBase:n0e,colorText:a0e,fontWeightStrong:o0e,controlItemBgActive:i0e,controlItemBgHover:s0e,colorBgContainer:l0e,colorFillSecondary:c0e,controlHeightLG:u0e,controlHeightSM:d0e,colorBgContainerDisabled:p0e,colorTextDisabled:f0e}=x_;return{zIndexPopup:n0e+50,optionSelectedColor:a0e,optionSelectedFontWeight:o0e,optionSelectedBg:i0e,optionActiveBg:s0e,optionPadding:`${(t0e-e0e*$P)/2}px ${r0e}px`,optionFontSize:e0e,optionLineHeight:$P,optionHeight:t0e,selectorBg:l0e,clearBg:l0e,singleItemHeightLG:u0e,multipleItemBg:c0e,multipleItemBorderColor:"transparent",multipleItemHeight:d0e,multipleItemHeightLG:t0e,multipleSelectorBgDisabled:p0e,multipleItemColorDisabled:f0e,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(x_.fontSize*1.25)}},useSelectStyle=genStyleHooks("Select",(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=merge$2(x_,{rootPrefixCls:$P,inputPaddingHorizontalBase:x_.calc(x_.paddingSM).sub(1).equal(),multipleSelectItemHeight:x_.multipleItemHeight,selectHeight:x_.controlHeight});return[genSelectStyle(t0e)]},prepareComponentToken$j,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),getBuiltInPlacements=x_=>{const $P={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:x_==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},$P),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},$P),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},$P),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},$P),{points:["br","tr"],offset:[0,-4]})}};function useBuiltinPlacements(x_,e0e){return x_||getBuiltInPlacements(e0e)}var CheckOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const CheckOutlinedSvg=CheckOutlined$2;var CheckOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:CheckOutlinedSvg}))};const CheckOutlined$1=reactExports.forwardRef(CheckOutlined);var DownOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const DownOutlinedSvg=DownOutlined$2;var DownOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:DownOutlinedSvg}))};const DownOutlined$1=reactExports.forwardRef(DownOutlined);var SearchOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const SearchOutlinedSvg=SearchOutlined$2;var SearchOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:SearchOutlinedSvg}))};const SearchOutlined$1=reactExports.forwardRef(SearchOutlined);function useIcons(x_){let{suffixIcon:e0e,clearIcon:$P,menuItemSelectedIcon:t0e,removeIcon:r0e,loading:n0e,multiple:a0e,hasFeedback:o0e,prefixCls:i0e,showSuffixIcon:s0e,feedbackIcon:l0e,showArrow:c0e,componentName:u0e}=x_;const d0e=$P??reactExports.createElement(CloseCircleFilled$1,null),p0e=m0e=>e0e===null&&!o0e&&!c0e?null:reactExports.createElement(reactExports.Fragment,null,s0e!==!1&&m0e,o0e&&l0e);let f0e=null;if(e0e!==void 0)f0e=p0e(e0e);else if(n0e)f0e=p0e(reactExports.createElement(LoadingOutlined$1,{spin:!0}));else{const m0e=`${i0e}-suffix`;f0e=v0e=>{let{open:g0e,showSearch:y0e}=v0e;return p0e(g0e&&y0e?reactExports.createElement(SearchOutlined$1,{className:m0e}):reactExports.createElement(DownOutlined$1,{className:m0e}))}}let h0e=null;t0e!==void 0?h0e=t0e:a0e?h0e=reactExports.createElement(CheckOutlined$1,null):h0e=null;let b0e=null;return r0e!==void 0?b0e=r0e:b0e=reactExports.createElement(CloseOutlined$1,null),{clearIcon:d0e,suffixIcon:f0e,itemIcon:h0e,removeIcon:b0e}}function useShowArrow(x_,e0e){return e0e!==void 0?e0e:x_!==null}var __rest$M=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e,{prefixCls:r0e,bordered:n0e=!0,className:a0e,rootClassName:o0e,getPopupContainer:i0e,popupClassName:s0e,dropdownClassName:l0e,listHeight:c0e=256,placement:u0e,listItemHeight:d0e=24,size:p0e,disabled:f0e,notFoundContent:h0e,status:b0e,builtinPlacements:m0e,dropdownMatchSelectWidth:v0e,popupMatchSelectWidth:g0e,direction:y0e,style:M0e,allowClear:O0e}=x_,z0e=__rest$M(x_,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:_0e,getPrefixCls:A0e,renderEmpty:$0e,direction:S0e,virtual:C0e,popupMatchSelectWidth:E0e,popupOverflow:w0e,select:R0e}=reactExports.useContext(ConfigContext),T0e=A0e("select",r0e),D0e=A0e(),W0e=y0e??S0e,{compactSize:k0e,compactItemClassnames:q0e}=useCompactItemContext(T0e,W0e),N0e=useCSSVarCls$1(T0e),[j0e,P0e]=useSelectStyle(T0e,N0e),I0e=reactExports.useMemo(()=>{const{mode:O1e}=z0e;if(O1e!=="combobox")return O1e===SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":O1e},[z0e.mode]),F0e=I0e==="multiple"||I0e==="tags",V0e=useShowArrow(z0e.suffixIcon,z0e.showArrow),H0e=($P=g0e??v0e)!==null&&$P!==void 0?$P:E0e,{status:Q0e,hasFeedback:Y0e,isFormItemInput:G0e,feedbackIcon:B0e}=reactExports.useContext(FormItemInputContext),U0e=getMergedStatus(Q0e,b0e);let X0e;h0e!==void 0?X0e=h0e:I0e==="combobox"?X0e=null:X0e=($0e==null?void 0:$0e("Select"))||reactExports.createElement(DefaultRenderEmpty$1,{componentName:"Select"});const{suffixIcon:J0e,itemIcon:e1e,removeIcon:n1e,clearIcon:t1e}=useIcons(Object.assign(Object.assign({},z0e),{multiple:F0e,hasFeedback:Y0e,feedbackIcon:B0e,showSuffixIcon:V0e,prefixCls:T0e,showArrow:z0e.showArrow,componentName:"Select"})),r1e=O0e===!0?{clearIcon:t1e}:O0e,a1e=omit$2(z0e,["suffixIcon","itemIcon"]),l1e=cx$1(s0e||l0e,{[`${T0e}-dropdown-${W0e}`]:W0e==="rtl"},o0e,N0e,P0e),s1e=useSize$1(O1e=>{var w1e;return(w1e=p0e??k0e)!==null&&w1e!==void 0?w1e:O1e}),g1e=reactExports.useContext(DisabledContext$1),$1e=f0e??g1e,_1e=cx$1({[`${T0e}-lg`]:s1e==="large",[`${T0e}-sm`]:s1e==="small",[`${T0e}-rtl`]:W0e==="rtl",[`${T0e}-borderless`]:!n0e,[`${T0e}-in-form-item`]:G0e},getStatusClassNames(T0e,U0e,Y0e),q0e,R0e==null?void 0:R0e.className,a0e,o0e,N0e,P0e),p1e=reactExports.useMemo(()=>u0e!==void 0?u0e:W0e==="rtl"?"bottomRight":"bottomLeft",[u0e,W0e]),E1e=useBuiltinPlacements(m0e,w0e),[x1e]=useZIndex("SelectLike",(t0e=z0e.dropdownStyle)===null||t0e===void 0?void 0:t0e.zIndex);return j0e(reactExports.createElement(TypedSelect,Object.assign({ref:e0e,virtual:C0e,showSearch:R0e==null?void 0:R0e.showSearch},a1e,{style:Object.assign(Object.assign({},R0e==null?void 0:R0e.style),M0e),dropdownMatchSelectWidth:H0e,builtinPlacements:E1e,transitionName:getTransitionName(D0e,"slide-up",z0e.transitionName),listHeight:c0e,listItemHeight:d0e,mode:I0e,prefixCls:T0e,placement:p1e,direction:W0e,suffixIcon:J0e,menuItemSelectedIcon:e1e,removeIcon:n1e,allowClear:r1e,notFoundContent:X0e,className:_1e,getPopupContainer:i0e||_0e,dropdownClassName:l1e,disabled:$1e,dropdownStyle:Object.assign(Object.assign({},z0e==null?void 0:z0e.dropdownStyle),{zIndex:x1e})})))},Select$1=reactExports.forwardRef(InternalSelect),PurePanel$6=genPurePanel$1(Select$1);Select$1.SECRET_COMBOBOX_MODE_DO_NOT_USE=SECRET_COMBOBOX_MODE_DO_NOT_USE;Select$1.Option=Option;Select$1.OptGroup=OptGroup;Select$1._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$6;const Select$2=Select$1,responsiveArray=["xxl","xl","lg","md","sm","xs"],getResponsiveMap=x_=>({xs:`(max-width: ${x_.screenXSMax}px)`,sm:`(min-width: ${x_.screenSM}px)`,md:`(min-width: ${x_.screenMD}px)`,lg:`(min-width: ${x_.screenLG}px)`,xl:`(min-width: ${x_.screenXL}px)`,xxl:`(min-width: ${x_.screenXXL}px)`}),validateBreakpoints=x_=>{const e0e=x_,$P=[].concat(responsiveArray).reverse();return $P.forEach((t0e,r0e)=>{const n0e=t0e.toUpperCase(),a0e=`screen${n0e}Min`,o0e=`screen${n0e}`;if(!(e0e[a0e]<=e0e[o0e]))throw new Error(`${a0e}<=${o0e} fails : !(${e0e[a0e]}<=${e0e[o0e]})`);if(r0e<$P.length-1){const i0e=`screen${n0e}Max`;if(!(e0e[o0e]<=e0e[i0e]))throw new Error(`${o0e}<=${i0e} fails : !(${e0e[o0e]}<=${e0e[i0e]})`);const l0e=`screen${$P[r0e+1].toUpperCase()}Min`;if(!(e0e[i0e]<=e0e[l0e]))throw new Error(`${i0e}<=${l0e} fails : !(${e0e[i0e]}<=${e0e[l0e]})`)}}),x_};function useResponsiveObserver(){const[,x_]=useToken$1(),e0e=getResponsiveMap(validateBreakpoints(x_));return React$1.useMemo(()=>{const $P=new Map;let t0e=-1,r0e={};return{matchHandlers:{},dispatch(n0e){return r0e=n0e,$P.forEach(a0e=>a0e(r0e)),$P.size>=1},subscribe(n0e){return $P.size||this.register(),t0e+=1,$P.set(t0e,n0e),n0e(r0e),t0e},unsubscribe(n0e){$P.delete(n0e),$P.size||this.unregister()},unregister(){Object.keys(e0e).forEach(n0e=>{const a0e=e0e[n0e],o0e=this.matchHandlers[a0e];o0e==null||o0e.mql.removeListener(o0e==null?void 0:o0e.listener)}),$P.clear()},register(){Object.keys(e0e).forEach(n0e=>{const a0e=e0e[n0e],o0e=s0e=>{let{matches:l0e}=s0e;this.dispatch(Object.assign(Object.assign({},r0e),{[n0e]:l0e}))},i0e=window.matchMedia(a0e);i0e.addListener(o0e),this.matchHandlers[a0e]={mql:i0e,listener:o0e},o0e(i0e)})},responsiveMap:e0e}},[x_])}const getRenderPropValue=x_=>x_?typeof x_=="function"?x_():x_:null;function Popup$1(x_){var e0e=x_.children,$P=x_.prefixCls,t0e=x_.id,r0e=x_.overlayInnerStyle,n0e=x_.className,a0e=x_.style;return reactExports.createElement("div",{className:cx$1("".concat($P,"-content"),n0e),style:a0e},reactExports.createElement("div",{className:"".concat($P,"-inner"),id:t0e,role:"tooltip",style:r0e},typeof e0e=="function"?e0e():e0e))}var autoAdjustOverflowTopBottom={shiftX:64,adjustY:1},autoAdjustOverflowLeftRight={adjustX:1,shiftY:!0},targetOffset$1=[0,0],placements$3={left:{points:["cr","cl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1},right:{points:["cl","cr"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},top:{points:["bc","tc"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},bottom:{points:["tc","bc"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},topLeft:{points:["bl","tl"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1},topRight:{points:["br","tr"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},rightBottom:{points:["bl","br"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},leftBottom:{points:["br","bl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1}},_excluded$C=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Tooltip$4=function(e0e,$P){var t0e=e0e.overlayClassName,r0e=e0e.trigger,n0e=r0e===void 0?["hover"]:r0e,a0e=e0e.mouseEnterDelay,o0e=a0e===void 0?0:a0e,i0e=e0e.mouseLeaveDelay,s0e=i0e===void 0?.1:i0e,l0e=e0e.overlayStyle,c0e=e0e.prefixCls,u0e=c0e===void 0?"rc-tooltip":c0e,d0e=e0e.children,p0e=e0e.onVisibleChange,f0e=e0e.afterVisibleChange,h0e=e0e.transitionName,b0e=e0e.animation,m0e=e0e.motion,v0e=e0e.placement,g0e=v0e===void 0?"right":v0e,y0e=e0e.align,M0e=y0e===void 0?{}:y0e,O0e=e0e.destroyTooltipOnHide,z0e=O0e===void 0?!1:O0e,_0e=e0e.defaultVisible,A0e=e0e.getTooltipContainer,$0e=e0e.overlayInnerStyle;e0e.arrowContent;var S0e=e0e.overlay,C0e=e0e.id,E0e=e0e.showArrow,w0e=E0e===void 0?!0:E0e,R0e=_objectWithoutProperties$4(e0e,_excluded$C),T0e=reactExports.useRef(null);reactExports.useImperativeHandle($P,function(){return T0e.current});var D0e=_objectSpread2$1({},R0e);"visible"in e0e&&(D0e.popupVisible=e0e.visible);var W0e=function(){return reactExports.createElement(Popup$1,{key:"content",prefixCls:u0e,id:C0e,overlayInnerStyle:$0e},S0e)};return reactExports.createElement(Trigger,_extends$1z({popupClassName:t0e,prefixCls:u0e,popup:W0e,action:n0e,builtinPlacements:placements$3,popupPlacement:g0e,ref:T0e,popupAlign:M0e,getPopupContainer:A0e,onPopupVisibleChange:p0e,afterPopupVisibleChange:f0e,popupTransitionName:h0e,popupAnimation:b0e,popupMotion:m0e,defaultPopupVisible:_0e,autoDestroy:z0e,mouseLeaveDelay:s0e,popupStyle:l0e,mouseEnterDelay:o0e,arrow:w0e},D0e),d0e)};const Tooltip$5=reactExports.forwardRef(Tooltip$4);function getArrowToken(x_){const{sizePopupArrow:e0e,borderRadiusXS:$P,borderRadiusOuter:t0e}=x_,r0e=e0e/2,n0e=0,a0e=r0e,o0e=t0e*1/Math.sqrt(2),i0e=r0e-t0e*(1-1/Math.sqrt(2)),s0e=r0e-$P*(1/Math.sqrt(2)),l0e=t0e*(Math.sqrt(2)-1)+$P*(1/Math.sqrt(2)),c0e=2*r0e-s0e,u0e=l0e,d0e=2*r0e-o0e,p0e=i0e,f0e=2*r0e-n0e,h0e=a0e,b0e=r0e*Math.sqrt(2)+t0e*(Math.sqrt(2)-2),m0e=t0e*(Math.sqrt(2)-1),v0e=`polygon(${m0e}px 100%, 50% ${m0e}px, ${2*r0e-m0e}px 100%, ${m0e}px 100%)`,g0e=`path('M ${n0e} ${a0e} A ${t0e} ${t0e} 0 0 0 ${o0e} ${i0e} L ${s0e} ${l0e} A ${$P} ${$P} 0 0 1 ${c0e} ${u0e} L ${d0e} ${p0e} A ${t0e} ${t0e} 0 0 0 ${f0e} ${h0e} Z')`;return{arrowShadowWidth:b0e,arrowPath:g0e,arrowPolygon:v0e}}const genRoundedArrow=(x_,e0e,$P)=>{const{sizePopupArrow:t0e,arrowPolygon:r0e,arrowPath:n0e,arrowShadowWidth:a0e,borderRadiusXS:o0e,calc:i0e}=x_;return{pointerEvents:"none",width:t0e,height:t0e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t0e,height:i0e(t0e).div(2).equal(),background:e0e,clipPath:{_multi_value_:!0,value:[r0e,n0e]},content:'""'},"&::after":{content:'""',position:"absolute",width:a0e,height:a0e,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${unit$1(o0e)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:$P,zIndex:0,background:"transparent"}}},MAX_VERTICAL_CONTENT_RADIUS=8;function getArrowOffsetToken(x_){const{contentRadius:e0e,limitVerticalRadius:$P}=x_,t0e=e0e>12?e0e+2:12;return{arrowOffsetHorizontal:t0e,arrowOffsetVertical:$P?MAX_VERTICAL_CONTENT_RADIUS:t0e}}function isInject(x_,e0e){return x_?e0e:{}}function getArrowStyle(x_,e0e,$P){const{componentCls:t0e,boxShadowPopoverArrow:r0e,arrowOffsetVertical:n0e,arrowOffsetHorizontal:a0e}=x_,{arrowDistance:o0e=0,arrowPlacement:i0e={left:!0,right:!0,top:!0,bottom:!0}}=$P||{};return{[t0e]:Object.assign(Object.assign(Object.assign(Object.assign({[`${t0e}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},genRoundedArrow(x_,e0e,r0e)),{"&:before":{background:e0e}})]},isInject(!!i0e.top,{[[`&-placement-top ${t0e}-arrow`,`&-placement-topLeft ${t0e}-arrow`,`&-placement-topRight ${t0e}-arrow`].join(",")]:{bottom:o0e,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${t0e}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${t0e}-arrow`]:{left:{_skip_check_:!0,value:a0e}},[`&-placement-topRight ${t0e}-arrow`]:{right:{_skip_check_:!0,value:a0e}}})),isInject(!!i0e.bottom,{[[`&-placement-bottom ${t0e}-arrow`,`&-placement-bottomLeft ${t0e}-arrow`,`&-placement-bottomRight ${t0e}-arrow`].join(",")]:{top:o0e,transform:"translateY(-100%)"},[`&-placement-bottom ${t0e}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${t0e}-arrow`]:{left:{_skip_check_:!0,value:a0e}},[`&-placement-bottomRight ${t0e}-arrow`]:{right:{_skip_check_:!0,value:a0e}}})),isInject(!!i0e.left,{[[`&-placement-left ${t0e}-arrow`,`&-placement-leftTop ${t0e}-arrow`,`&-placement-leftBottom ${t0e}-arrow`].join(",")]:{right:{_skip_check_:!0,value:o0e},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${t0e}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${t0e}-arrow`]:{top:n0e},[`&-placement-leftBottom ${t0e}-arrow`]:{bottom:n0e}})),isInject(!!i0e.right,{[[`&-placement-right ${t0e}-arrow`,`&-placement-rightTop ${t0e}-arrow`,`&-placement-rightBottom ${t0e}-arrow`].join(",")]:{left:{_skip_check_:!0,value:o0e},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${t0e}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${t0e}-arrow`]:{top:n0e},[`&-placement-rightBottom ${t0e}-arrow`]:{bottom:n0e}}))}}function getOverflowOptions(x_,e0e,$P,t0e){if(t0e===!1)return{adjustX:!1,adjustY:!1};const r0e=t0e&&typeof t0e=="object"?t0e:{},n0e={};switch(x_){case"top":case"bottom":n0e.shiftX=e0e.arrowOffsetHorizontal*2+$P,n0e.shiftY=!0,n0e.adjustY=!0;break;case"left":case"right":n0e.shiftY=e0e.arrowOffsetVertical*2+$P,n0e.shiftX=!0,n0e.adjustX=!0;break}const a0e=Object.assign(Object.assign({},n0e),r0e);return a0e.shiftX||(a0e.adjustX=!0),a0e.shiftY||(a0e.adjustY=!0),a0e}const PlacementAlignMap={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},ArrowCenterPlacementAlignMap={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},DisableAutoArrowList=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function getPlacements(x_){const{arrowWidth:e0e,autoAdjustOverflow:$P,arrowPointAtCenter:t0e,offset:r0e,borderRadius:n0e,visibleFirst:a0e}=x_,o0e=e0e/2,i0e={};return Object.keys(PlacementAlignMap).forEach(s0e=>{const l0e=t0e&&ArrowCenterPlacementAlignMap[s0e]||PlacementAlignMap[s0e],c0e=Object.assign(Object.assign({},l0e),{offset:[0,0],dynamicInset:!0});switch(i0e[s0e]=c0e,DisableAutoArrowList.has(s0e)&&(c0e.autoArrow=!1),s0e){case"top":case"topLeft":case"topRight":c0e.offset[1]=-o0e-r0e;break;case"bottom":case"bottomLeft":case"bottomRight":c0e.offset[1]=o0e+r0e;break;case"left":case"leftTop":case"leftBottom":c0e.offset[0]=-o0e-r0e;break;case"right":case"rightTop":case"rightBottom":c0e.offset[0]=o0e+r0e;break}const u0e=getArrowOffsetToken({contentRadius:n0e,limitVerticalRadius:!0});if(t0e)switch(s0e){case"topLeft":case"bottomLeft":c0e.offset[0]=-u0e.arrowOffsetHorizontal-o0e;break;case"topRight":case"bottomRight":c0e.offset[0]=u0e.arrowOffsetHorizontal+o0e;break;case"leftTop":case"rightTop":c0e.offset[1]=-u0e.arrowOffsetHorizontal-o0e;break;case"leftBottom":case"rightBottom":c0e.offset[1]=u0e.arrowOffsetHorizontal+o0e;break}c0e.overflow=getOverflowOptions(s0e,u0e,e0e,$P),a0e&&(c0e.htmlRegion="visibleFirst")}),i0e}const genTooltipStyle=x_=>{const{componentCls:e0e,tooltipMaxWidth:$P,tooltipColor:t0e,tooltipBg:r0e,tooltipBorderRadius:n0e,zIndexPopup:a0e,controlHeight:o0e,boxShadowSecondary:i0e,paddingSM:s0e,paddingXS:l0e}=x_;return[{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",zIndex:a0e,display:"block",width:"max-content",maxWidth:$P,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r0e,[`${e0e}-inner`]:{minWidth:o0e,minHeight:o0e,padding:`${unit$1(x_.calc(s0e).div(2).equal())} ${unit$1(l0e)}`,color:t0e,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r0e,borderRadius:n0e,boxShadow:i0e,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${e0e}-inner`]:{borderRadius:x_.min(n0e,MAX_VERTICAL_CONTENT_RADIUS)}},[`${e0e}-content`]:{position:"relative"}}),genPresetColor$1(x_,(c0e,u0e)=>{let{darkColor:d0e}=u0e;return{[`&${e0e}-${c0e}`]:{[`${e0e}-inner`]:{backgroundColor:d0e},[`${e0e}-arrow`]:{"--antd-arrow-background-color":d0e}}}})),{"&-rtl":{direction:"rtl"}})},getArrowStyle(x_,"var(--antd-arrow-background-color)"),{[`${e0e}-pure`]:{position:"relative",maxWidth:"none",margin:x_.sizePopupArrow}}]},prepareComponentToken$i=x_=>Object.assign(Object.assign({zIndexPopup:x_.zIndexPopupBase+70},getArrowOffsetToken({contentRadius:x_.borderRadius,limitVerticalRadius:!0})),getArrowToken(merge$2(x_,{borderRadiusOuter:Math.min(x_.borderRadiusOuter,4)}))),useStyle$m=function(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return genStyleHooks("Tooltip",t0e=>{const{borderRadius:r0e,colorTextLightSolid:n0e,colorBgSpotlight:a0e}=t0e,o0e=merge$2(t0e,{tooltipMaxWidth:250,tooltipColor:n0e,tooltipBorderRadius:r0e,tooltipBg:a0e});return[genTooltipStyle(o0e),initZoomMotion(t0e,"zoom-big-fast")]},prepareComponentToken$i,{resetStyle:!1,injectStyle:e0e})(x_)},inverseColors=PresetColors.map(x_=>`${x_}-inverse`);function isPresetColor(x_){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(_toConsumableArray$2(inverseColors),_toConsumableArray$2(PresetColors)).includes(x_):PresetColors.includes(x_)}function parseColor$1(x_,e0e){const $P=isPresetColor(e0e),t0e=cx$1({[`${x_}-${e0e}`]:e0e&&$P}),r0e={},n0e={};return e0e&&!$P&&(r0e.background=e0e,n0e["--antd-arrow-background-color"]=e0e),{className:t0e,overlayStyle:r0e,arrowStyle:n0e}}const PurePanel$4=x_=>{const{prefixCls:e0e,className:$P,placement:t0e="top",title:r0e,color:n0e,overlayInnerStyle:a0e}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("tooltip",e0e),[s0e,l0e]=useStyle$m(i0e),c0e=parseColor$1(i0e,n0e),u0e=c0e.arrowStyle,d0e=Object.assign(Object.assign({},a0e),c0e.overlayStyle),p0e=cx$1(l0e,i0e,`${i0e}-pure`,`${i0e}-placement-${t0e}`,$P,c0e.className);return s0e(reactExports.createElement("div",{className:p0e,style:u0e},reactExports.createElement("div",{className:`${i0e}-arrow`}),reactExports.createElement(Popup$1,Object.assign({},x_,{className:l0e,prefixCls:i0e,overlayInnerStyle:d0e}),r0e)))},PurePanel$5=PurePanel$4;var __rest$L=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e;const{prefixCls:r0e,openClassName:n0e,getTooltipContainer:a0e,overlayClassName:o0e,color:i0e,overlayInnerStyle:s0e,children:l0e,afterOpenChange:c0e,afterVisibleChange:u0e,destroyTooltipOnHide:d0e,arrow:p0e=!0,title:f0e,overlay:h0e,builtinPlacements:b0e,arrowPointAtCenter:m0e=!1,autoAdjustOverflow:v0e=!0}=x_,g0e=!!p0e,[,y0e]=useToken$1(),{getPopupContainer:M0e,getPrefixCls:O0e,direction:z0e}=reactExports.useContext(ConfigContext),_0e=devUseWarning(),A0e=reactExports.useRef(null),$0e=()=>{var s1e;(s1e=A0e.current)===null||s1e===void 0||s1e.forceAlign()};reactExports.useImperativeHandle(e0e,()=>({forceAlign:$0e,forcePopupAlign:()=>{_0e.deprecated(!1,"forcePopupAlign","forceAlign"),$0e()}}));const[S0e,C0e]=useMergedState(!1,{value:($P=x_.open)!==null&&$P!==void 0?$P:x_.visible,defaultValue:(t0e=x_.defaultOpen)!==null&&t0e!==void 0?t0e:x_.defaultVisible}),E0e=!f0e&&!h0e&&f0e!==0,w0e=s1e=>{var g1e,$1e;C0e(E0e?!1:s1e),E0e||((g1e=x_.onOpenChange)===null||g1e===void 0||g1e.call(x_,s1e),($1e=x_.onVisibleChange)===null||$1e===void 0||$1e.call(x_,s1e))},R0e=reactExports.useMemo(()=>{var s1e,g1e;let $1e=m0e;return typeof p0e=="object"&&($1e=(g1e=(s1e=p0e.pointAtCenter)!==null&&s1e!==void 0?s1e:p0e.arrowPointAtCenter)!==null&&g1e!==void 0?g1e:m0e),b0e||getPlacements({arrowPointAtCenter:$1e,autoAdjustOverflow:v0e,arrowWidth:g0e?y0e.sizePopupArrow:0,borderRadius:y0e.borderRadius,offset:y0e.marginXXS,visibleFirst:!0})},[m0e,p0e,b0e,y0e]),T0e=reactExports.useMemo(()=>f0e===0?f0e:h0e||f0e||"",[h0e,f0e]),D0e=reactExports.createElement(NoCompactStyle,null,typeof T0e=="function"?T0e():T0e),{getPopupContainer:W0e,placement:k0e="top",mouseEnterDelay:q0e=.1,mouseLeaveDelay:N0e=.1,overlayStyle:j0e,rootClassName:P0e}=x_,I0e=__rest$L(x_,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),F0e=O0e("tooltip",r0e),V0e=O0e(),H0e=x_["data-popover-inject"];let Q0e=S0e;!("open"in x_)&&!("visible"in x_)&&E0e&&(Q0e=!1);const Y0e=isValidElement(l0e)&&!isFragment(l0e)?l0e:reactExports.createElement("span",null,l0e),G0e=Y0e.props,B0e=!G0e.className||typeof G0e.className=="string"?cx$1(G0e.className,n0e||`${F0e}-open`):G0e.className,[U0e,X0e]=useStyle$m(F0e,!H0e),J0e=parseColor$1(F0e,i0e),e1e=J0e.arrowStyle,n1e=Object.assign(Object.assign({},s0e),J0e.overlayStyle),t1e=cx$1(o0e,{[`${F0e}-rtl`]:z0e==="rtl"},J0e.className,P0e,X0e),[r1e,a1e]=useZIndex("Tooltip",I0e.zIndex),l1e=reactExports.createElement(Tooltip$5,Object.assign({},I0e,{zIndex:r1e,showArrow:g0e,placement:k0e,mouseEnterDelay:q0e,mouseLeaveDelay:N0e,prefixCls:F0e,overlayClassName:t1e,overlayStyle:Object.assign(Object.assign({},e1e),j0e),getTooltipContainer:W0e||a0e||M0e,ref:A0e,builtinPlacements:R0e,overlay:D0e,visible:Q0e,onVisibleChange:w0e,afterVisibleChange:c0e??u0e,overlayInnerStyle:n1e,arrowContent:reactExports.createElement("span",{className:`${F0e}-arrow-content`}),motion:{motionName:getTransitionName(V0e,"zoom-big-fast",x_.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!d0e}),Q0e?cloneElement(Y0e,{className:B0e}):Y0e);return U0e(reactExports.createElement(zIndexContext$1.Provider,{value:a1e},l1e))});Tooltip$2._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$5;const Tooltip$3=Tooltip$2,genBaseStyle$3=x_=>{const{componentCls:e0e,popoverColor:$P,titleMinWidth:t0e,fontWeightStrong:r0e,innerPadding:n0e,boxShadowSecondary:a0e,colorTextHeading:o0e,borderRadiusLG:i0e,zIndexPopup:s0e,titleMarginBottom:l0e,colorBgElevated:c0e,popoverBg:u0e,titleBorderBottom:d0e,innerContentPadding:p0e,titlePadding:f0e}=x_;return[{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s0e,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":c0e,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${e0e}-content`]:{position:"relative"},[`${e0e}-inner`]:{backgroundColor:u0e,backgroundClip:"padding-box",borderRadius:i0e,boxShadow:a0e,padding:n0e},[`${e0e}-title`]:{minWidth:t0e,marginBottom:l0e,color:o0e,fontWeight:r0e,borderBottom:d0e,padding:f0e},[`${e0e}-inner-content`]:{color:$P,padding:p0e}})},getArrowStyle(x_,"var(--antd-arrow-background-color)"),{[`${e0e}-pure`]:{position:"relative",maxWidth:"none",margin:x_.sizePopupArrow,display:"inline-block",[`${e0e}-content`]:{display:"inline-block"}}}]},genColorStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:PresetColors.map($P=>{const t0e=x_[`${$P}6`];return{[`&${e0e}-${$P}`]:{"--antd-arrow-background-color":t0e,[`${e0e}-inner`]:{backgroundColor:t0e},[`${e0e}-arrow`]:{background:"transparent"}}}})}},prepareComponentToken$h=x_=>{const{lineWidth:e0e,controlHeight:$P,fontHeight:t0e,padding:r0e,wireframe:n0e,zIndexPopupBase:a0e,borderRadiusLG:o0e,marginXS:i0e,lineType:s0e,colorSplit:l0e,paddingSM:c0e}=x_,u0e=$P-t0e,d0e=u0e/2,p0e=u0e/2-e0e,f0e=r0e;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a0e+30},getArrowToken(x_)),getArrowOffsetToken({contentRadius:o0e,limitVerticalRadius:!0})),{innerPadding:n0e?0:12,titleMarginBottom:n0e?0:i0e,titlePadding:n0e?`${d0e}px ${f0e}px ${p0e}px`:0,titleBorderBottom:n0e?`${e0e}px ${s0e} ${l0e}`:"none",innerContentPadding:n0e?`${c0e}px ${f0e}px`:0})},useStyle$l=genStyleHooks("Popover",x_=>{const{colorBgElevated:e0e,colorText:$P}=x_,t0e=merge$2(x_,{popoverBg:e0e,popoverColor:$P});return[genBaseStyle$3(t0e),genColorStyle(t0e),initZoomMotion(t0e,"zoom-big")]},prepareComponentToken$h,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var __rest$K=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(!(!e0e&&!$P))return reactExports.createElement(reactExports.Fragment,null,e0e&&reactExports.createElement("div",{className:`${x_}-title`},getRenderPropValue(e0e)),reactExports.createElement("div",{className:`${x_}-inner-content`},getRenderPropValue($P)))},RawPurePanel=x_=>{const{hashId:e0e,prefixCls:$P,className:t0e,style:r0e,placement:n0e="top",title:a0e,content:o0e,children:i0e}=x_;return reactExports.createElement("div",{className:cx$1(e0e,$P,`${$P}-pure`,`${$P}-placement-${n0e}`,t0e),style:r0e},reactExports.createElement("div",{className:`${$P}-arrow`}),reactExports.createElement(Popup$1,Object.assign({},x_,{className:e0e,prefixCls:$P}),i0e||getOverlay($P,a0e,o0e)))},PurePanel$3=x_=>{const{prefixCls:e0e}=x_,$P=__rest$K(x_,["prefixCls"]),{getPrefixCls:t0e}=reactExports.useContext(ConfigContext),r0e=t0e("popover",e0e),[n0e,a0e]=useStyle$l(r0e);return n0e(reactExports.createElement(RawPurePanel,Object.assign({},$P,{prefixCls:r0e,hashId:a0e})))},PopoverPurePanel=PurePanel$3;var __rest$J=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{title:e0e,content:$P,prefixCls:t0e}=x_;return reactExports.createElement(reactExports.Fragment,null,e0e&&reactExports.createElement("div",{className:`${t0e}-title`},getRenderPropValue(e0e)),reactExports.createElement("div",{className:`${t0e}-inner-content`},getRenderPropValue($P)))},Popover=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,title:t0e,content:r0e,overlayClassName:n0e,placement:a0e="top",trigger:o0e="hover",mouseEnterDelay:i0e=.1,mouseLeaveDelay:s0e=.1,overlayStyle:l0e={}}=x_,c0e=__rest$J(x_,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:u0e}=reactExports.useContext(ConfigContext),d0e=u0e("popover",$P),[p0e,f0e]=useStyle$l(d0e),h0e=u0e(),b0e=cx$1(n0e,f0e);return p0e(reactExports.createElement(Tooltip$3,Object.assign({placement:a0e,trigger:o0e,mouseEnterDelay:i0e,mouseLeaveDelay:s0e,overlayStyle:l0e},c0e,{prefixCls:d0e,overlayClassName:b0e,ref:e0e,overlay:t0e||r0e?reactExports.createElement(Overlay$2,{prefixCls:d0e,title:t0e,content:r0e}):null,transitionName:getTransitionName(h0e,"zoom-big",c0e.transitionName),"data-popover-inject":!0})))});Popover._InternalPanelDoNotUseOrYouWillBeFired=PopoverPurePanel;const Popover$1=Popover,antStatusProcessing=new Keyframe("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),antZoomBadgeIn=new Keyframe("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),antZoomBadgeOut=new Keyframe("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),antNoWrapperZoomBadgeIn=new Keyframe("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),antNoWrapperZoomBadgeOut=new Keyframe("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),antBadgeLoadingCircle=new Keyframe("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),genSharedBadgeStyle=x_=>{const{componentCls:e0e,iconCls:$P,antCls:t0e,badgeShadowSize:r0e,motionDurationSlow:n0e,textFontSize:a0e,textFontSizeSM:o0e,statusSize:i0e,dotSize:s0e,textFontWeight:l0e,indicatorHeight:c0e,indicatorHeightSM:u0e,marginXS:d0e,calc:p0e}=x_,f0e=`${t0e}-scroll-number`,h0e=genPresetColor$1(x_,(b0e,m0e)=>{let{darkColor:v0e}=m0e;return{[`&${e0e} ${e0e}-color-${b0e}`]:{background:v0e,[`&:not(${e0e}-count)`]:{color:v0e}}}});return{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${e0e}-count`]:{zIndex:x_.indicatorZIndex,minWidth:c0e,height:c0e,color:x_.badgeTextColor,fontWeight:l0e,fontSize:a0e,lineHeight:unit$1(c0e),whiteSpace:"nowrap",textAlign:"center",background:x_.badgeColor,borderRadius:p0e(c0e).div(2).equal(),boxShadow:`0 0 0 ${unit$1(r0e)} ${x_.badgeShadowColor}`,transition:`background ${x_.motionDurationMid}`,a:{color:x_.badgeTextColor},"a:hover":{color:x_.badgeTextColor},"a:hover &":{background:x_.badgeColorHover}},[`${e0e}-count-sm`]:{minWidth:u0e,height:u0e,fontSize:o0e,lineHeight:unit$1(u0e),borderRadius:p0e(u0e).div(2).equal()},[`${e0e}-multiple-words`]:{padding:`0 ${unit$1(x_.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${e0e}-dot`]:{zIndex:x_.indicatorZIndex,width:s0e,minWidth:s0e,height:s0e,background:x_.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${unit$1(r0e)} ${x_.badgeShadowColor}`},[`${e0e}-dot${f0e}`]:{transition:`background ${n0e}`},[`${e0e}-count, ${e0e}-dot, ${f0e}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${$P}-spin`]:{animationName:antBadgeLoadingCircle,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${e0e}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${e0e}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:i0e,height:i0e,verticalAlign:"middle",borderRadius:"50%"},[`${e0e}-status-success`]:{backgroundColor:x_.colorSuccess},[`${e0e}-status-processing`]:{overflow:"visible",color:x_.colorPrimary,backgroundColor:x_.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:r0e,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:antStatusProcessing,animationDuration:x_.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${e0e}-status-default`]:{backgroundColor:x_.colorTextPlaceholder},[`${e0e}-status-error`]:{backgroundColor:x_.colorError},[`${e0e}-status-warning`]:{backgroundColor:x_.colorWarning},[`${e0e}-status-text`]:{marginInlineStart:d0e,color:x_.colorText,fontSize:x_.fontSize}}}),h0e),{[`${e0e}-zoom-appear, ${e0e}-zoom-enter`]:{animationName:antZoomBadgeIn,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack,animationFillMode:"both"},[`${e0e}-zoom-leave`]:{animationName:antZoomBadgeOut,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack,animationFillMode:"both"},[`&${e0e}-not-a-wrapper`]:{[`${e0e}-zoom-appear, ${e0e}-zoom-enter`]:{animationName:antNoWrapperZoomBadgeIn,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack},[`${e0e}-zoom-leave`]:{animationName:antNoWrapperZoomBadgeOut,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack},[`&:not(${e0e}-status)`]:{verticalAlign:"middle"},[`${f0e}-custom-component, ${e0e}-count`]:{transform:"none"},[`${f0e}-custom-component, ${f0e}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f0e}`]:{overflow:"hidden",[`${f0e}-only`]:{position:"relative",display:"inline-block",height:c0e,transition:`all ${x_.motionDurationSlow} ${x_.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f0e}-only-unit`]:{height:c0e,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f0e}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${e0e}-count, ${e0e}-dot, ${f0e}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},prepareToken$1=x_=>{const{fontHeight:e0e,lineWidth:$P,marginXS:t0e,colorBorderBg:r0e}=x_,n0e=e0e,a0e=$P,o0e=x_.colorBgContainer,i0e=x_.colorError,s0e=x_.colorErrorHover;return merge$2(x_,{badgeFontHeight:n0e,badgeShadowSize:a0e,badgeTextColor:o0e,badgeColor:i0e,badgeColorHover:s0e,badgeShadowColor:r0e,badgeProcessingDuration:"1.2s",badgeRibbonOffset:t0e,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},prepareComponentToken$g=x_=>{const{fontSize:e0e,lineHeight:$P,fontSizeSM:t0e,lineWidth:r0e}=x_;return{indicatorZIndex:"auto",indicatorHeight:Math.round(e0e*$P)-2*r0e,indicatorHeightSM:e0e,dotSize:t0e/2,textFontSize:t0e,textFontSizeSM:t0e,textFontWeight:"normal",statusSize:t0e/2}},useStyle$k=genStyleHooks("Badge",x_=>{const e0e=prepareToken$1(x_);return genSharedBadgeStyle(e0e)},prepareComponentToken$g),genRibbonStyle=x_=>{const{antCls:e0e,badgeFontHeight:$P,marginXS:t0e,badgeRibbonOffset:r0e,calc:n0e}=x_,a0e=`${e0e}-ribbon`,o0e=`${e0e}-ribbon-wrapper`,i0e=genPresetColor$1(x_,(s0e,l0e)=>{let{darkColor:c0e}=l0e;return{[`&${a0e}-color-${s0e}`]:{background:c0e,color:c0e}}});return{[`${o0e}`]:{position:"relative"},[`${a0e}`]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:t0e,padding:`0 ${unit$1(x_.paddingXS)}`,color:x_.colorPrimary,lineHeight:unit$1($P),whiteSpace:"nowrap",backgroundColor:x_.colorPrimary,borderRadius:x_.borderRadiusSM,[`${a0e}-text`]:{color:x_.colorTextLightSolid},[`${a0e}-corner`]:{position:"absolute",top:"100%",width:r0e,height:r0e,color:"currentcolor",border:`${unit$1(n0e(r0e).div(2).equal())} solid`,transform:x_.badgeRibbonCornerTransform,transformOrigin:"top",filter:x_.badgeRibbonCornerFilter}}),i0e),{[`&${a0e}-placement-end`]:{insetInlineEnd:n0e(r0e).mul(-1).equal(),borderEndEndRadius:0,[`${a0e}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a0e}-placement-start`]:{insetInlineStart:n0e(r0e).mul(-1).equal(),borderEndStartRadius:0,[`${a0e}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},useStyle$j=genComponentStyleHook(["Badge","Ribbon"],x_=>{const e0e=prepareToken$1(x_);return genRibbonStyle(e0e)},prepareComponentToken$g),Ribbon=x_=>{const{className:e0e,prefixCls:$P,style:t0e,color:r0e,children:n0e,text:a0e,placement:o0e="end",rootClassName:i0e}=x_,{getPrefixCls:s0e,direction:l0e}=reactExports.useContext(ConfigContext),c0e=s0e("ribbon",$P),[u0e,d0e]=useStyle$j(c0e),p0e=isPresetColor(r0e,!1),f0e=cx$1(c0e,`${c0e}-placement-${o0e}`,{[`${c0e}-rtl`]:l0e==="rtl",[`${c0e}-color-${r0e}`]:p0e},e0e),h0e={},b0e={};return r0e&&!p0e&&(h0e.background=r0e,b0e.color=r0e),u0e(reactExports.createElement("div",{className:cx$1(`${c0e}-wrapper`,i0e,d0e)},n0e,reactExports.createElement("div",{className:cx$1(f0e,d0e),style:Object.assign(Object.assign({},h0e),t0e)},reactExports.createElement("span",{className:`${c0e}-text`},a0e),reactExports.createElement("div",{className:`${c0e}-corner`,style:b0e}))))},Ribbon$1=Ribbon;function UnitNumber(x_){let{prefixCls:e0e,value:$P,current:t0e,offset:r0e=0}=x_,n0e;return r0e&&(n0e={position:"absolute",top:`${r0e}00%`,left:0}),reactExports.createElement("span",{style:n0e,className:cx$1(`${e0e}-only-unit`,{current:t0e})},$P)}function getOffset$3(x_,e0e,$P){let t0e=x_,r0e=0;for(;(t0e+10)%10!==e0e;)t0e+=$P,r0e+=$P;return r0e}function SingleNumber(x_){const{prefixCls:e0e,count:$P,value:t0e}=x_,r0e=Number(t0e),n0e=Math.abs($P),[a0e,o0e]=reactExports.useState(r0e),[i0e,s0e]=reactExports.useState(n0e),l0e=()=>{o0e(r0e),s0e(n0e)};reactExports.useEffect(()=>{const d0e=setTimeout(()=>{l0e()},1e3);return()=>{clearTimeout(d0e)}},[r0e]);let c0e,u0e;if(a0e===r0e||Number.isNaN(r0e)||Number.isNaN(a0e))c0e=[reactExports.createElement(UnitNumber,Object.assign({},x_,{key:r0e,current:!0}))],u0e={transition:"none"};else{c0e=[];const d0e=r0e+10,p0e=[];for(let b0e=r0e;b0e<=d0e;b0e+=1)p0e.push(b0e);const f0e=p0e.findIndex(b0e=>b0e%10===a0e);c0e=p0e.map((b0e,m0e)=>{const v0e=b0e%10;return reactExports.createElement(UnitNumber,Object.assign({},x_,{key:b0e,value:v0e,offset:m0e-f0e,current:m0e===f0e}))});const h0e=i0e{const{prefixCls:$P,count:t0e,className:r0e,motionClassName:n0e,style:a0e,title:o0e,show:i0e,component:s0e="sup",children:l0e}=x_,c0e=__rest$I(x_,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:u0e}=reactExports.useContext(ConfigContext),d0e=u0e("scroll-number",$P),p0e=Object.assign(Object.assign({},c0e),{"data-show":i0e,style:a0e,className:cx$1(d0e,r0e,n0e),title:o0e});let f0e=t0e;if(t0e&&Number(t0e)%1===0){const h0e=String(t0e).split("");f0e=reactExports.createElement("bdi",null,h0e.map((b0e,m0e)=>reactExports.createElement(SingleNumber,{prefixCls:d0e,count:Number(t0e),value:b0e,key:h0e.length-m0e})))}return a0e&&a0e.borderColor&&(p0e.style=Object.assign(Object.assign({},a0e),{boxShadow:`0 0 0 1px ${a0e.borderColor} inset`})),l0e?cloneElement(l0e,h0e=>({className:cx$1(`${d0e}-custom-component`,h0e==null?void 0:h0e.className,n0e)})):reactExports.createElement(s0e,Object.assign({},p0e,{ref:e0e}),f0e)}),ScrollNumber$1=ScrollNumber;var __rest$H=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e,r0e,n0e,a0e;const{prefixCls:o0e,scrollNumberPrefixCls:i0e,children:s0e,status:l0e,text:c0e,color:u0e,count:d0e=null,overflowCount:p0e=99,dot:f0e=!1,size:h0e="default",title:b0e,offset:m0e,style:v0e,className:g0e,rootClassName:y0e,classNames:M0e,styles:O0e,showZero:z0e=!1}=x_,_0e=__rest$H(x_,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:A0e,direction:$0e,badge:S0e}=reactExports.useContext(ConfigContext),C0e=A0e("badge",o0e),[E0e,w0e]=useStyle$k(C0e),R0e=d0e>p0e?`${p0e}+`:d0e,T0e=R0e==="0"||R0e===0,D0e=d0e===null||T0e&&!z0e,W0e=(l0e!=null||u0e!=null)&&D0e,k0e=f0e&&!T0e,q0e=k0e?"":R0e,N0e=reactExports.useMemo(()=>(q0e==null||q0e===""||T0e&&!z0e)&&!k0e,[q0e,T0e,z0e,k0e]),j0e=reactExports.useRef(d0e);N0e||(j0e.current=d0e);const P0e=j0e.current,I0e=reactExports.useRef(q0e);N0e||(I0e.current=q0e);const F0e=I0e.current,V0e=reactExports.useRef(k0e);N0e||(V0e.current=k0e);const H0e=reactExports.useMemo(()=>{if(!m0e)return Object.assign(Object.assign({},S0e==null?void 0:S0e.style),v0e);const e1e={marginTop:m0e[1]};return $0e==="rtl"?e1e.left=parseInt(m0e[0],10):e1e.right=-parseInt(m0e[0],10),Object.assign(Object.assign(Object.assign({},e1e),S0e==null?void 0:S0e.style),v0e)},[$0e,m0e,v0e,S0e==null?void 0:S0e.style]),Q0e=b0e??(typeof P0e=="string"||typeof P0e=="number"?P0e:void 0),Y0e=N0e||!c0e?null:reactExports.createElement("span",{className:`${C0e}-status-text`},c0e),G0e=!P0e||typeof P0e!="object"?void 0:cloneElement(P0e,e1e=>({style:Object.assign(Object.assign({},H0e),e1e.style)})),B0e=isPresetColor(u0e,!1),U0e=cx$1(M0e==null?void 0:M0e.indicator,($P=S0e==null?void 0:S0e.classNames)===null||$P===void 0?void 0:$P.indicator,{[`${C0e}-status-dot`]:W0e,[`${C0e}-status-${l0e}`]:!!l0e,[`${C0e}-color-${u0e}`]:B0e}),X0e={};u0e&&!B0e&&(X0e.color=u0e,X0e.background=u0e);const J0e=cx$1(C0e,{[`${C0e}-status`]:W0e,[`${C0e}-not-a-wrapper`]:!s0e,[`${C0e}-rtl`]:$0e==="rtl"},g0e,y0e,S0e==null?void 0:S0e.className,(t0e=S0e==null?void 0:S0e.classNames)===null||t0e===void 0?void 0:t0e.root,M0e==null?void 0:M0e.root,w0e);if(!s0e&&W0e){const e1e=H0e.color;return E0e(reactExports.createElement("span",Object.assign({},_0e,{className:J0e,style:Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.root),(r0e=S0e==null?void 0:S0e.styles)===null||r0e===void 0?void 0:r0e.root),H0e)}),reactExports.createElement("span",{className:U0e,style:Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.indicator),(n0e=S0e==null?void 0:S0e.styles)===null||n0e===void 0?void 0:n0e.indicator),X0e)}),c0e&&reactExports.createElement("span",{style:{color:e1e},className:`${C0e}-status-text`},c0e)))}return E0e(reactExports.createElement("span",Object.assign({ref:e0e},_0e,{className:J0e,style:Object.assign(Object.assign({},(a0e=S0e==null?void 0:S0e.styles)===null||a0e===void 0?void 0:a0e.root),O0e==null?void 0:O0e.root)}),s0e,reactExports.createElement(CSSMotion,{visible:!N0e,motionName:`${C0e}-zoom`,motionAppear:!1,motionDeadline:1e3},e1e=>{let{className:n1e,ref:t1e}=e1e;var r1e,a1e;const l1e=A0e("scroll-number",i0e),s1e=V0e.current,g1e=cx$1(M0e==null?void 0:M0e.indicator,(r1e=S0e==null?void 0:S0e.classNames)===null||r1e===void 0?void 0:r1e.indicator,{[`${C0e}-dot`]:s1e,[`${C0e}-count`]:!s1e,[`${C0e}-count-sm`]:h0e==="small",[`${C0e}-multiple-words`]:!s1e&&F0e&&F0e.toString().length>1,[`${C0e}-status-${l0e}`]:!!l0e,[`${C0e}-color-${u0e}`]:B0e});let $1e=Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.indicator),(a1e=S0e==null?void 0:S0e.styles)===null||a1e===void 0?void 0:a1e.indicator),H0e);return u0e&&!B0e&&($1e=$1e||{},$1e.background=u0e),reactExports.createElement(ScrollNumber$1,{prefixCls:l1e,show:!N0e,motionClassName:n1e,className:g1e,count:F0e,title:Q0e,style:$1e,key:"scrollNumber",ref:t1e},G0e)}),Y0e))},Badge$1=reactExports.forwardRef(InternalBadge);Badge$1.Ribbon=Ribbon$1;const Badge$2=Badge$1;var RightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const RightOutlinedSvg=RightOutlined$2;var RightOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:RightOutlinedSvg}))};const RightOutlined$1=reactExports.forwardRef(RightOutlined);var ESC$2=KeyCode$1.ESC,TAB=KeyCode$1.TAB;function useAccessibility$2(x_){var e0e=x_.visible,$P=x_.triggerRef,t0e=x_.onVisibleChange,r0e=x_.autoFocus,n0e=x_.overlayRef,a0e=reactExports.useRef(!1),o0e=function(){if(e0e){var c0e,u0e;(c0e=$P.current)===null||c0e===void 0||(u0e=c0e.focus)===null||u0e===void 0||u0e.call(c0e),t0e==null||t0e(!1)}},i0e=function(){var c0e;return(c0e=n0e.current)!==null&&c0e!==void 0&&c0e.focus?(n0e.current.focus(),a0e.current=!0,!0):!1},s0e=function(c0e){switch(c0e.keyCode){case ESC$2:o0e();break;case TAB:{var u0e=!1;a0e.current||(u0e=i0e()),u0e?c0e.preventDefault():o0e();break}}};reactExports.useEffect(function(){return e0e?(window.addEventListener("keydown",s0e),r0e&&wrapperRaf$1(i0e,3),function(){window.removeEventListener("keydown",s0e),a0e.current=!1}):function(){a0e.current=!1}},[e0e])}var Overlay$1=reactExports.forwardRef(function(x_,e0e){var $P=x_.overlay,t0e=x_.arrow,r0e=x_.prefixCls,n0e=reactExports.useMemo(function(){var o0e;return typeof $P=="function"?o0e=$P():o0e=$P,o0e},[$P]),a0e=composeRef$1(e0e,n0e==null?void 0:n0e.ref);return jsxs(Fragment,{children:[t0e&&jsx("div",{className:"".concat(r0e,"-arrow")}),React$1.cloneElement(n0e,{ref:supportRef(n0e)?a0e:void 0})]})}),autoAdjustOverflow$2={adjustX:1,adjustY:1},targetOffset=[0,0],placements$2={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},top:{points:["bc","tc"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},topRight:{points:["br","tr"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset},bottom:{points:["tc","bc"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset}},_excluded$B=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Dropdown$3(x_,e0e){var $P,t0e=x_.arrow,r0e=t0e===void 0?!1:t0e,n0e=x_.prefixCls,a0e=n0e===void 0?"rc-dropdown":n0e,o0e=x_.transitionName,i0e=x_.animation,s0e=x_.align,l0e=x_.placement,c0e=l0e===void 0?"bottomLeft":l0e,u0e=x_.placements,d0e=u0e===void 0?placements$2:u0e,p0e=x_.getPopupContainer,f0e=x_.showAction,h0e=x_.hideAction,b0e=x_.overlayClassName,m0e=x_.overlayStyle,v0e=x_.visible,g0e=x_.trigger,y0e=g0e===void 0?["hover"]:g0e,M0e=x_.autoFocus,O0e=x_.overlay,z0e=x_.children,_0e=x_.onVisibleChange,A0e=_objectWithoutProperties$4(x_,_excluded$B),$0e=React$1.useState(),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1],w0e="visible"in x_?v0e:C0e,R0e=React$1.useRef(null),T0e=React$1.useRef(null),D0e=React$1.useRef(null);React$1.useImperativeHandle(e0e,function(){return R0e.current});var W0e=function(H0e){E0e(H0e),_0e==null||_0e(H0e)};useAccessibility$2({visible:w0e,triggerRef:D0e,onVisibleChange:W0e,autoFocus:M0e,overlayRef:T0e});var k0e=function(H0e){var Q0e=x_.onOverlayClick;E0e(!1),Q0e&&Q0e(H0e)},q0e=function(){return React$1.createElement(Overlay$1,{ref:T0e,overlay:O0e,prefixCls:a0e,arrow:r0e})},N0e=function(){return typeof O0e=="function"?q0e:q0e()},j0e=function(){var H0e=x_.minOverlayWidthMatchTrigger,Q0e=x_.alignPoint;return"minOverlayWidthMatchTrigger"in x_?H0e:!Q0e},P0e=function(){var H0e=x_.openClassName;return H0e!==void 0?H0e:"".concat(a0e,"-open")},I0e=React$1.cloneElement(z0e,{className:cx$1(($P=z0e.props)===null||$P===void 0?void 0:$P.className,w0e&&P0e()),ref:supportRef(z0e)?composeRef$1(D0e,z0e.ref):void 0}),F0e=h0e;return!F0e&&y0e.indexOf("contextMenu")!==-1&&(F0e=["click"]),React$1.createElement(Trigger,_extends$1z({builtinPlacements:d0e},A0e,{prefixCls:a0e,ref:R0e,popupClassName:cx$1(b0e,_defineProperty$5({},"".concat(a0e,"-show-arrow"),r0e)),popupStyle:m0e,action:y0e,showAction:f0e,hideAction:F0e,popupPlacement:c0e,popupAlign:s0e,popupTransitionName:o0e,popupAnimation:i0e,popupVisible:w0e,stretch:j0e()?"minWidth":"",popup:N0e(),onPopupVisibleChange:W0e,onPopupClick:k0e,getPopupContainer:p0e}),I0e)}const Dropdown$4=React$1.forwardRef(Dropdown$3);var IdContext$1=reactExports.createContext(null);function getMenuId$1(x_,e0e){return x_===void 0?null:"".concat(x_,"-").concat(e0e)}function useMenuId$1(x_){var e0e=reactExports.useContext(IdContext$1);return getMenuId$1(e0e,x_)}var _excluded$A=["children","locked"],MenuContext$4=reactExports.createContext(null);function mergeProps$1(x_,e0e){var $P=_objectSpread2$1({},x_);return Object.keys(e0e).forEach(function(t0e){var r0e=e0e[t0e];r0e!==void 0&&($P[t0e]=r0e)}),$P}function InheritableContextProvider$1(x_){var e0e=x_.children,$P=x_.locked,t0e=_objectWithoutProperties$4(x_,_excluded$A),r0e=reactExports.useContext(MenuContext$4),n0e=useMemo(function(){return mergeProps$1(r0e,t0e)},[r0e,t0e],function(a0e,o0e){return!$P&&(a0e[0]!==o0e[0]||!isEqual(a0e[1],o0e[1],!0))});return reactExports.createElement(MenuContext$4.Provider,{value:n0e},e0e)}var EmptyList$1=[],PathRegisterContext$1=reactExports.createContext(null);function useMeasure$1(){return reactExports.useContext(PathRegisterContext$1)}var PathTrackerContext$1=reactExports.createContext(EmptyList$1);function useFullPath$1(x_){var e0e=reactExports.useContext(PathTrackerContext$1);return reactExports.useMemo(function(){return x_!==void 0?[].concat(_toConsumableArray$2(e0e),[x_]):e0e},[e0e,x_])}var PathUserContext$1=reactExports.createContext(null),PrivateContext$1=reactExports.createContext({});function focusable(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(isVisible$1(x_)){var $P=x_.nodeName.toLowerCase(),t0e=["input","select","textarea","button"].includes($P)||x_.isContentEditable||$P==="a"&&!!x_.getAttribute("href"),r0e=x_.getAttribute("tabindex"),n0e=Number(r0e),a0e=null;return r0e&&!Number.isNaN(n0e)?a0e=n0e:t0e&&a0e===null&&(a0e=0),t0e&&x_.disabled&&(a0e=null),a0e!==null&&(a0e>=0||e0e&&a0e<0)}return!1}function getFocusNodeList(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=_toConsumableArray$2(x_.querySelectorAll("*")).filter(function(t0e){return focusable(t0e,e0e)});return focusable(x_,e0e)&&$P.unshift(x_),$P}var LEFT$1=KeyCode$1.LEFT,RIGHT$1=KeyCode$1.RIGHT,UP$2=KeyCode$1.UP,DOWN$1=KeyCode$1.DOWN,ENTER$1=KeyCode$1.ENTER,ESC$1=KeyCode$1.ESC,HOME$1=KeyCode$1.HOME,END$1=KeyCode$1.END,ArrowKeys$1=[UP$2,DOWN$1,LEFT$1,RIGHT$1];function getOffset$2(x_,e0e,$P,t0e){var r0e,n0e,a0e,o0e,i0e="prev",s0e="next",l0e="children",c0e="parent";if(x_==="inline"&&t0e===ENTER$1)return{inlineTrigger:!0};var u0e=(r0e={},_defineProperty$5(r0e,UP$2,i0e),_defineProperty$5(r0e,DOWN$1,s0e),r0e),d0e=(n0e={},_defineProperty$5(n0e,LEFT$1,$P?s0e:i0e),_defineProperty$5(n0e,RIGHT$1,$P?i0e:s0e),_defineProperty$5(n0e,DOWN$1,l0e),_defineProperty$5(n0e,ENTER$1,l0e),n0e),p0e=(a0e={},_defineProperty$5(a0e,UP$2,i0e),_defineProperty$5(a0e,DOWN$1,s0e),_defineProperty$5(a0e,ENTER$1,l0e),_defineProperty$5(a0e,ESC$1,c0e),_defineProperty$5(a0e,LEFT$1,$P?l0e:c0e),_defineProperty$5(a0e,RIGHT$1,$P?c0e:l0e),a0e),f0e={inline:u0e,horizontal:d0e,vertical:p0e,inlineSub:u0e,horizontalSub:p0e,verticalSub:p0e},h0e=(o0e=f0e["".concat(x_).concat(e0e?"":"Sub")])===null||o0e===void 0?void 0:o0e[t0e];switch(h0e){case i0e:return{offset:-1,sibling:!0};case s0e:return{offset:1,sibling:!0};case c0e:return{offset:-1,sibling:!1};case l0e:return{offset:1,sibling:!1};default:return null}}function findContainerUL$1(x_){for(var e0e=x_;e0e;){if(e0e.getAttribute("data-menu-list"))return e0e;e0e=e0e.parentElement}return null}function getFocusElement$1(x_,e0e){for(var $P=x_||document.activeElement;$P;){if(e0e.has($P))return $P;$P=$P.parentElement}return null}function getFocusableElements$1(x_,e0e){var $P=getFocusNodeList(x_,!0);return $P.filter(function(t0e){return e0e.has(t0e)})}function getNextFocusElement$1(x_,e0e,$P){var t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!x_)return null;var r0e=getFocusableElements$1(x_,e0e),n0e=r0e.length,a0e=r0e.findIndex(function(o0e){return $P===o0e});return t0e<0?a0e===-1?a0e=n0e-1:a0e-=1:t0e>0&&(a0e+=1),a0e=(a0e+n0e)%n0e,r0e[a0e]}var refreshElements=function(e0e,$P){var t0e=new Set,r0e=new Map,n0e=new Map;return e0e.forEach(function(a0e){var o0e=document.querySelector("[data-menu-id='".concat(getMenuId$1($P,a0e),"']"));o0e&&(t0e.add(o0e),n0e.set(o0e,a0e),r0e.set(a0e,o0e))}),{elements:t0e,key2element:r0e,element2key:n0e}};function useAccessibility$1(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e,s0e){var l0e=reactExports.useRef(),c0e=reactExports.useRef();c0e.current=e0e;var u0e=function(){wrapperRaf$1.cancel(l0e.current)};return reactExports.useEffect(function(){return function(){u0e()}},[]),function(d0e){var p0e=d0e.which;if([].concat(ArrowKeys$1,[ENTER$1,ESC$1,HOME$1,END$1]).includes(p0e)){var f0e=n0e(),h0e=refreshElements(f0e,t0e),b0e=h0e,m0e=b0e.elements,v0e=b0e.key2element,g0e=b0e.element2key,y0e=v0e.get(e0e),M0e=getFocusElement$1(y0e,m0e),O0e=g0e.get(M0e),z0e=getOffset$2(x_,a0e(O0e,!0).length===1,$P,p0e);if(!z0e&&p0e!==HOME$1&&p0e!==END$1)return;(ArrowKeys$1.includes(p0e)||[HOME$1,END$1].includes(p0e))&&d0e.preventDefault();var _0e=function(T0e){if(T0e){var D0e=T0e,W0e=T0e.querySelector("a");W0e!=null&&W0e.getAttribute("href")&&(D0e=W0e);var k0e=g0e.get(T0e);o0e(k0e),u0e(),l0e.current=wrapperRaf$1(function(){c0e.current===k0e&&D0e.focus()})}};if([HOME$1,END$1].includes(p0e)||z0e.sibling||!M0e){var A0e;!M0e||x_==="inline"?A0e=r0e.current:A0e=findContainerUL$1(M0e);var $0e,S0e=getFocusableElements$1(A0e,m0e);p0e===HOME$1?$0e=S0e[0]:p0e===END$1?$0e=S0e[S0e.length-1]:$0e=getNextFocusElement$1(A0e,m0e,M0e,z0e.offset),_0e($0e)}else if(z0e.inlineTrigger)i0e(O0e);else if(z0e.offset>0)i0e(O0e,!0),u0e(),l0e.current=wrapperRaf$1(function(){h0e=refreshElements(f0e,t0e);var R0e=M0e.getAttribute("aria-controls"),T0e=document.getElementById(R0e),D0e=getNextFocusElement$1(T0e,h0e.elements);_0e(D0e)},5);else if(z0e.offset<0){var C0e=a0e(O0e,!0),E0e=C0e[C0e.length-2],w0e=v0e.get(E0e);i0e(E0e,!1),_0e(w0e)}}s0e==null||s0e(d0e)}}function nextSlice$1(x_){Promise.resolve().then(x_)}var PATH_SPLIT$1="__RC_UTIL_PATH_SPLIT__",getPathStr$1=function(e0e){return e0e.join(PATH_SPLIT$1)},getPathKeys$1=function(e0e){return e0e.split(PATH_SPLIT$1)},OVERFLOW_KEY$1="rc-menu-more";function useKeyRecords$1(){var x_=reactExports.useState({}),e0e=_slicedToArray$3(x_,2),$P=e0e[1],t0e=reactExports.useRef(new Map),r0e=reactExports.useRef(new Map),n0e=reactExports.useState([]),a0e=_slicedToArray$3(n0e,2),o0e=a0e[0],i0e=a0e[1],s0e=reactExports.useRef(0),l0e=reactExports.useRef(!1),c0e=function(){l0e.current||$P({})},u0e=reactExports.useCallback(function(v0e,g0e){var y0e=getPathStr$1(g0e);r0e.current.set(y0e,v0e),t0e.current.set(v0e,y0e),s0e.current+=1;var M0e=s0e.current;nextSlice$1(function(){M0e===s0e.current&&c0e()})},[]),d0e=reactExports.useCallback(function(v0e,g0e){var y0e=getPathStr$1(g0e);r0e.current.delete(y0e),t0e.current.delete(v0e)},[]),p0e=reactExports.useCallback(function(v0e){i0e(v0e)},[]),f0e=reactExports.useCallback(function(v0e,g0e){var y0e=t0e.current.get(v0e)||"",M0e=getPathKeys$1(y0e);return g0e&&o0e.includes(M0e[0])&&M0e.unshift(OVERFLOW_KEY$1),M0e},[o0e]),h0e=reactExports.useCallback(function(v0e,g0e){return v0e.some(function(y0e){var M0e=f0e(y0e,!0);return M0e.includes(g0e)})},[f0e]),b0e=function(){var g0e=_toConsumableArray$2(t0e.current.keys());return o0e.length&&g0e.push(OVERFLOW_KEY$1),g0e},m0e=reactExports.useCallback(function(v0e){var g0e="".concat(t0e.current.get(v0e)).concat(PATH_SPLIT$1),y0e=new Set;return _toConsumableArray$2(r0e.current.keys()).forEach(function(M0e){M0e.startsWith(g0e)&&y0e.add(r0e.current.get(M0e))}),y0e},[]);return reactExports.useEffect(function(){return function(){l0e.current=!0}},[]),{registerPath:u0e,unregisterPath:d0e,refreshOverflowKeys:p0e,isSubPathKey:h0e,getKeyPath:f0e,getKeys:b0e,getSubPathKeys:m0e}}function useMemoCallback$1(x_){var e0e=reactExports.useRef(x_);e0e.current=x_;var $P=reactExports.useCallback(function(){for(var t0e,r0e=arguments.length,n0e=new Array(r0e),a0e=0;a0e1&&(m0e.motionAppear=!1);var v0e=m0e.onVisibleChanged;return m0e.onVisibleChanged=function(g0e){return!u0e.current&&!g0e&&h0e(!0),v0e==null?void 0:v0e(g0e)},f0e?null:reactExports.createElement(InheritableContextProvider$1,{mode:n0e,locked:!u0e.current},reactExports.createElement(CSSMotion,_extends$1z({visible:b0e},m0e,{forceRender:i0e,removeOnLeave:!1,leavedClassName:"".concat(o0e,"-hidden")}),function(g0e){var y0e=g0e.className,M0e=g0e.style;return reactExports.createElement(SubMenuList$1,{id:e0e,className:y0e,style:M0e},r0e)}))}var _excluded$w=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],_excluded2$b=["active"],InternalSubMenu$1=function(e0e){var $P,t0e=e0e.style,r0e=e0e.className,n0e=e0e.title,a0e=e0e.eventKey;e0e.warnKey;var o0e=e0e.disabled,i0e=e0e.internalPopupClose,s0e=e0e.children,l0e=e0e.itemIcon,c0e=e0e.expandIcon,u0e=e0e.popupClassName,d0e=e0e.popupOffset,p0e=e0e.popupStyle,f0e=e0e.onClick,h0e=e0e.onMouseEnter,b0e=e0e.onMouseLeave,m0e=e0e.onTitleClick,v0e=e0e.onTitleMouseEnter,g0e=e0e.onTitleMouseLeave,y0e=_objectWithoutProperties$4(e0e,_excluded$w),M0e=useMenuId$1(a0e),O0e=reactExports.useContext(MenuContext$4),z0e=O0e.prefixCls,_0e=O0e.mode,A0e=O0e.openKeys,$0e=O0e.disabled,S0e=O0e.overflowDisabled,C0e=O0e.activeKey,E0e=O0e.selectedKeys,w0e=O0e.itemIcon,R0e=O0e.expandIcon,T0e=O0e.onItemClick,D0e=O0e.onOpenChange,W0e=O0e.onActive,k0e=reactExports.useContext(PrivateContext$1),q0e=k0e._internalRenderSubMenuItem,N0e=reactExports.useContext(PathUserContext$1),j0e=N0e.isSubPathKey,P0e=useFullPath$1(),I0e="".concat(z0e,"-submenu"),F0e=$0e||o0e,V0e=reactExports.useRef(),H0e=reactExports.useRef(),Q0e=l0e??w0e,Y0e=c0e??R0e,G0e=A0e.includes(a0e),B0e=!S0e&&G0e,U0e=j0e(E0e,a0e),X0e=useActive$1(a0e,F0e,v0e,g0e),J0e=X0e.active,e1e=_objectWithoutProperties$4(X0e,_excluded2$b),n1e=reactExports.useState(!1),t1e=_slicedToArray$3(n1e,2),r1e=t1e[0],a1e=t1e[1],l1e=function(V1e){F0e||a1e(V1e)},s1e=function(V1e){l1e(!0),h0e==null||h0e({key:a0e,domEvent:V1e})},g1e=function(V1e){l1e(!1),b0e==null||b0e({key:a0e,domEvent:V1e})},$1e=reactExports.useMemo(function(){return J0e||(_0e!=="inline"?r1e||j0e([C0e],a0e):!1)},[_0e,J0e,C0e,r1e,a0e,j0e]),_1e=useDirectionStyle$1(P0e.length),p1e=function(V1e){F0e||(m0e==null||m0e({key:a0e,domEvent:V1e}),_0e==="inline"&&D0e(a0e,!G0e))},E1e=useMemoCallback$1(function(G1e){f0e==null||f0e(warnItemProp$1(G1e)),T0e(G1e)}),x1e=function(V1e){_0e!=="inline"&&D0e(a0e,V1e)},O1e=function(){W0e(a0e)},w1e=M0e&&"".concat(M0e,"-popup"),A1e=reactExports.createElement("div",_extends$1z({role:"menuitem",style:_1e,className:"".concat(I0e,"-title"),tabIndex:F0e?null:-1,ref:V0e,title:typeof n0e=="string"?n0e:null,"data-menu-id":S0e&&M0e?null:M0e,"aria-expanded":B0e,"aria-haspopup":!0,"aria-controls":w1e,"aria-disabled":F0e,onClick:p1e,onFocus:O1e},e1e),n0e,reactExports.createElement(Icon$4,{icon:_0e!=="horizontal"?Y0e:void 0,props:_objectSpread2$1(_objectSpread2$1({},e0e),{},{isOpen:B0e,isSubMenu:!0})},reactExports.createElement("i",{className:"".concat(I0e,"-arrow")}))),F1e=reactExports.useRef(_0e);if(_0e!=="inline"&&P0e.length>1?F1e.current="vertical":F1e.current=_0e,!S0e){var J1e=F1e.current;A1e=reactExports.createElement(PopupTrigger$1,{mode:J1e,prefixCls:I0e,visible:!i0e&&B0e&&_0e!=="inline",popupClassName:u0e,popupOffset:d0e,popupStyle:p0e,popup:reactExports.createElement(InheritableContextProvider$1,{mode:J1e==="horizontal"?"vertical":J1e},reactExports.createElement(SubMenuList$1,{id:w1e,ref:H0e},s0e)),disabled:F0e,onVisibleChange:x1e},A1e)}var ame=reactExports.createElement(ForwardOverflow.Item,_extends$1z({role:"none"},y0e,{component:"li",style:t0e,className:cx$1(I0e,"".concat(I0e,"-").concat(_0e),r0e,($P={},_defineProperty$5($P,"".concat(I0e,"-open"),B0e),_defineProperty$5($P,"".concat(I0e,"-active"),$1e),_defineProperty$5($P,"".concat(I0e,"-selected"),U0e),_defineProperty$5($P,"".concat(I0e,"-disabled"),F0e),$P)),onMouseEnter:s1e,onMouseLeave:g1e}),A1e,!S0e&&reactExports.createElement(InlineSubMenuList$1,{id:w1e,open:B0e,keyPath:P0e},s0e));return q0e&&(ame=q0e(ame,e0e,{selected:U0e,active:$1e,open:B0e,disabled:F0e})),reactExports.createElement(InheritableContextProvider$1,{onItemClick:E1e,mode:_0e==="horizontal"?"vertical":_0e,itemIcon:Q0e,expandIcon:Y0e},ame)};function SubMenu$5(x_){var e0e=x_.eventKey,$P=x_.children,t0e=useFullPath$1(e0e),r0e=parseChildren$1($P,t0e),n0e=useMeasure$1();reactExports.useEffect(function(){if(n0e)return n0e.registerPath(e0e,t0e),function(){n0e.unregisterPath(e0e,t0e)}},[t0e]);var a0e;return n0e?a0e=r0e:a0e=reactExports.createElement(InternalSubMenu$1,x_,r0e),reactExports.createElement(PathTrackerContext$1.Provider,{value:t0e},a0e)}var _excluded$v=["className","title","eventKey","children"],_excluded2$a=["children"],InternalMenuItemGroup$1=function(e0e){var $P=e0e.className,t0e=e0e.title;e0e.eventKey;var r0e=e0e.children,n0e=_objectWithoutProperties$4(e0e,_excluded$v),a0e=reactExports.useContext(MenuContext$4),o0e=a0e.prefixCls,i0e="".concat(o0e,"-item-group");return reactExports.createElement("li",_extends$1z({role:"presentation"},n0e,{onClick:function(l0e){return l0e.stopPropagation()},className:cx$1(i0e,$P)}),reactExports.createElement("div",{role:"presentation",className:"".concat(i0e,"-title"),title:typeof t0e=="string"?t0e:void 0},t0e),reactExports.createElement("ul",{role:"group",className:"".concat(i0e,"-list")},r0e))};function MenuItemGroup$1(x_){var e0e=x_.children,$P=_objectWithoutProperties$4(x_,_excluded2$a),t0e=useFullPath$1($P.eventKey),r0e=parseChildren$1(e0e,t0e),n0e=useMeasure$1();return n0e?r0e:reactExports.createElement(InternalMenuItemGroup$1,omit$2($P,["warnKey"]),r0e)}function Divider$4(x_){var e0e=x_.className,$P=x_.style,t0e=reactExports.useContext(MenuContext$4),r0e=t0e.prefixCls,n0e=useMeasure$1();return n0e?null:reactExports.createElement("li",{role:"separator",className:cx$1("".concat(r0e,"-item-divider"),e0e),style:$P})}var _excluded$u=["label","children","key","type"];function convertItemsToNodes$3(x_){return(x_||[]).map(function(e0e,$P){if(e0e&&_typeof$2(e0e)==="object"){var t0e=e0e,r0e=t0e.label,n0e=t0e.children,a0e=t0e.key,o0e=t0e.type,i0e=_objectWithoutProperties$4(t0e,_excluded$u),s0e=a0e??"tmp-".concat($P);return n0e||o0e==="group"?o0e==="group"?reactExports.createElement(MenuItemGroup$1,_extends$1z({key:s0e},i0e,{title:r0e}),convertItemsToNodes$3(n0e)):reactExports.createElement(SubMenu$5,_extends$1z({key:s0e},i0e,{title:r0e}),convertItemsToNodes$3(n0e)):o0e==="divider"?reactExports.createElement(Divider$4,_extends$1z({key:s0e},i0e)):reactExports.createElement(MenuItem$5,_extends$1z({key:s0e},i0e),r0e)}return null}).filter(function(e0e){return e0e})}function parseItems$1(x_,e0e,$P){var t0e=x_;return e0e&&(t0e=convertItemsToNodes$3(e0e)),parseChildren$1(t0e,$P)}var _excluded$t=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],EMPTY_LIST$2=[],Menu$5=reactExports.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_,n0e=r0e.prefixCls,a0e=n0e===void 0?"rc-menu":n0e,o0e=r0e.rootClassName,i0e=r0e.style,s0e=r0e.className,l0e=r0e.tabIndex,c0e=l0e===void 0?0:l0e,u0e=r0e.items,d0e=r0e.children,p0e=r0e.direction,f0e=r0e.id,h0e=r0e.mode,b0e=h0e===void 0?"vertical":h0e,m0e=r0e.inlineCollapsed,v0e=r0e.disabled,g0e=r0e.disabledOverflow,y0e=r0e.subMenuOpenDelay,M0e=y0e===void 0?.1:y0e,O0e=r0e.subMenuCloseDelay,z0e=O0e===void 0?.1:O0e,_0e=r0e.forceSubMenuRender,A0e=r0e.defaultOpenKeys,$0e=r0e.openKeys,S0e=r0e.activeKey,C0e=r0e.defaultActiveFirst,E0e=r0e.selectable,w0e=E0e===void 0?!0:E0e,R0e=r0e.multiple,T0e=R0e===void 0?!1:R0e,D0e=r0e.defaultSelectedKeys,W0e=r0e.selectedKeys,k0e=r0e.onSelect,q0e=r0e.onDeselect,N0e=r0e.inlineIndent,j0e=N0e===void 0?24:N0e,P0e=r0e.motion,I0e=r0e.defaultMotions,F0e=r0e.triggerSubMenuAction,V0e=F0e===void 0?"hover":F0e,H0e=r0e.builtinPlacements,Q0e=r0e.itemIcon,Y0e=r0e.expandIcon,G0e=r0e.overflowedIndicator,B0e=G0e===void 0?"...":G0e,U0e=r0e.overflowedIndicatorPopupClassName,X0e=r0e.getPopupContainer,J0e=r0e.onClick,e1e=r0e.onOpenChange,n1e=r0e.onKeyDown;r0e.openAnimation,r0e.openTransitionName;var t1e=r0e._internalRenderMenuItem,r1e=r0e._internalRenderSubMenuItem,a1e=_objectWithoutProperties$4(r0e,_excluded$t),l1e=reactExports.useMemo(function(){return parseItems$1(d0e,u0e,EMPTY_LIST$2)},[d0e,u0e]),s1e=reactExports.useState(!1),g1e=_slicedToArray$3(s1e,2),$1e=g1e[0],_1e=g1e[1],p1e=reactExports.useRef(),E1e=useUUID$1(f0e),x1e=p0e==="rtl",O1e=useMergedState(A0e,{value:$0e,postState:function(h1e){return h1e||EMPTY_LIST$2}}),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=function(h1e){var C1e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function R1e(){F1e(h1e),e1e==null||e1e(h1e)}C1e?reactDomExports.flushSync(R1e):R1e()},ame=reactExports.useState(A1e),G1e=_slicedToArray$3(ame,2),V1e=G1e[0],cme=G1e[1],ume=reactExports.useRef(!1),Y1e=reactExports.useMemo(function(){return(b0e==="inline"||b0e==="vertical")&&m0e?["vertical",m0e]:[b0e,!1]},[b0e,m0e]),k1e=_slicedToArray$3(Y1e,2),ime=k1e[0],I1e=k1e[1],j1e=ime==="inline",H1e=reactExports.useState(ime),W1e=_slicedToArray$3(H1e,2),Q1e=W1e[0],K1e=W1e[1],rme=reactExports.useState(I1e),L1e=_slicedToArray$3(rme,2),Z1e=L1e[0],U1e=L1e[1];reactExports.useEffect(function(){K1e(ime),U1e(I1e),ume.current&&(j1e?F1e(V1e):J1e(EMPTY_LIST$2))},[ime,I1e]);var D1e=reactExports.useState(0),q1e=_slicedToArray$3(D1e,2),pme=q1e[0],$me=q1e[1],fme=pme>=l1e.length-1||Q1e!=="horizontal"||g0e;reactExports.useEffect(function(){j1e&&cme(A1e)},[A1e]),reactExports.useEffect(function(){return ume.current=!0,function(){ume.current=!1}},[]);var mme=useKeyRecords$1(),lme=mme.registerPath,Ome=mme.unregisterPath,bme=mme.refreshOverflowKeys,d1e=mme.isSubPathKey,b1e=mme.getKeyPath,S1e=mme.getKeys,N1e=mme.getSubPathKeys,nme=reactExports.useMemo(function(){return{registerPath:lme,unregisterPath:Ome}},[lme,Ome]),ome=reactExports.useMemo(function(){return{isSubPathKey:d1e}},[d1e]);reactExports.useEffect(function(){bme(fme?EMPTY_LIST$2:l1e.slice(pme+1).map(function(u1e){return u1e.key}))},[pme,fme]);var m1e=useMergedState(S0e||C0e&&(($P=l1e[0])===null||$P===void 0?void 0:$P.key),{value:S0e}),T1e=_slicedToArray$3(m1e,2),B1e=T1e[0],eme=T1e[1],sme=useMemoCallback$1(function(u1e){eme(u1e)}),gme=useMemoCallback$1(function(){eme(void 0)});reactExports.useImperativeHandle(e0e,function(){return{list:p1e.current,focus:function(h1e){var C1e,R1e=S1e(),X1e=refreshElements(R1e,E1e),dme=X1e.elements,Mme=X1e.key2element,Cme=X1e.element2key,qme=getFocusableElements$1(p1e.current,dme),Ime=B1e??(qme[0]?Cme.get(qme[0]):(C1e=l1e.find(function(Kme){return!Kme.props.disabled}))===null||C1e===void 0?void 0:C1e.key),Fme=Mme.get(Ime);if(Ime&&Fme){var Lme;Fme==null||(Lme=Fme.focus)===null||Lme===void 0||Lme.call(Fme,h1e)}}}});var zme=useMergedState(D0e||[],{value:W0e,postState:function(h1e){return Array.isArray(h1e)?h1e:h1e==null?EMPTY_LIST$2:[h1e]}}),yme=_slicedToArray$3(zme,2),Ame=yme[0],xme=yme[1],Tme=function(h1e){if(w0e){var C1e=h1e.key,R1e=Ame.includes(C1e),X1e;T0e?R1e?X1e=Ame.filter(function(Mme){return Mme!==C1e}):X1e=[].concat(_toConsumableArray$2(Ame),[C1e]):X1e=[C1e],xme(X1e);var dme=_objectSpread2$1(_objectSpread2$1({},h1e),{},{selectedKeys:X1e});R1e?q0e==null||q0e(dme):k0e==null||k0e(dme)}!T0e&&A1e.length&&Q1e!=="inline"&&J1e(EMPTY_LIST$2)},wme=useMemoCallback$1(function(u1e){J0e==null||J0e(warnItemProp$1(u1e)),Tme(u1e)}),v1e=useMemoCallback$1(function(u1e,h1e){var C1e=A1e.filter(function(X1e){return X1e!==u1e});if(h1e)C1e.push(u1e);else if(Q1e!=="inline"){var R1e=N1e(u1e);C1e=C1e.filter(function(X1e){return!R1e.has(X1e)})}isEqual(A1e,C1e,!0)||J1e(C1e,!0)}),f1e=function(h1e,C1e){var R1e=C1e??!A1e.includes(h1e);v1e(h1e,R1e)},i1e=useAccessibility$1(Q1e,B1e,x1e,E1e,p1e,S1e,b1e,eme,f1e,n1e);reactExports.useEffect(function(){_1e(!0)},[]);var c1e=reactExports.useMemo(function(){return{_internalRenderMenuItem:t1e,_internalRenderSubMenuItem:r1e}},[t1e,r1e]),z1e=Q1e!=="horizontal"||g0e?l1e:l1e.map(function(u1e,h1e){return reactExports.createElement(InheritableContextProvider$1,{key:u1e.key,overflowDisabled:h1e>pme},u1e)}),y1e=reactExports.createElement(ForwardOverflow,_extends$1z({id:f0e,ref:p1e,prefixCls:"".concat(a0e,"-overflow"),component:"ul",itemComponent:MenuItem$5,className:cx$1(a0e,"".concat(a0e,"-root"),"".concat(a0e,"-").concat(Q1e),s0e,(t0e={},_defineProperty$5(t0e,"".concat(a0e,"-inline-collapsed"),Z1e),_defineProperty$5(t0e,"".concat(a0e,"-rtl"),x1e),t0e),o0e),dir:p0e,style:i0e,role:"menu",tabIndex:c0e,data:z1e,renderRawItem:function(h1e){return h1e},renderRawRest:function(h1e){var C1e=h1e.length,R1e=C1e?l1e.slice(-C1e):null;return reactExports.createElement(SubMenu$5,{eventKey:OVERFLOW_KEY$1,title:B0e,disabled:fme,internalPopupClose:C1e===0,popupClassName:U0e},R1e)},maxCount:Q1e!=="horizontal"||g0e?ForwardOverflow.INVALIDATE:ForwardOverflow.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(h1e){$me(h1e)},onKeyDown:i1e},a1e));return reactExports.createElement(PrivateContext$1.Provider,{value:c1e},reactExports.createElement(IdContext$1.Provider,{value:E1e},reactExports.createElement(InheritableContextProvider$1,{prefixCls:a0e,rootClassName:o0e,mode:Q1e,openKeys:A1e,rtl:x1e,disabled:v0e,motion:$1e?P0e:null,defaultMotions:$1e?I0e:null,activeKey:B1e,onActive:sme,onInactive:gme,selectedKeys:Ame,inlineIndent:j0e,subMenuOpenDelay:M0e,subMenuCloseDelay:z0e,forceSubMenuRender:_0e,builtinPlacements:H0e,triggerSubMenuAction:V0e,getPopupContainer:X0e,itemIcon:Q0e,expandIcon:Y0e,onItemClick:wme,onOpenChange:v1e},reactExports.createElement(PathUserContext$1.Provider,{value:ome},y1e),reactExports.createElement("div",{style:{display:"none"},"aria-hidden":!0},reactExports.createElement(PathRegisterContext$1.Provider,{value:nme},l1e)))))}),ExportMenu$1=Menu$5;ExportMenu$1.Item=MenuItem$5;ExportMenu$1.SubMenu=SubMenu$5;ExportMenu$1.ItemGroup=MenuItemGroup$1;ExportMenu$1.Divider=Divider$4;var BarsOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const BarsOutlinedSvg=BarsOutlined$2;var BarsOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:BarsOutlinedSvg}))};const BarsOutlined$1=reactExports.forwardRef(BarsOutlined);var LeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const LeftOutlinedSvg=LeftOutlined$2;var LeftOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:LeftOutlinedSvg}))};const LeftOutlined$1=reactExports.forwardRef(LeftOutlined),isNumeric$1=x_=>!isNaN(parseFloat(x_))&&isFinite(x_),isNumeric$2=isNumeric$1,LayoutContext=reactExports.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var __rest$G=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let x_=0;return function(){let e0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x_+=1,`${e0e}${x_}`}})(),Sider$3=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,className:t0e,trigger:r0e,children:n0e,defaultCollapsed:a0e=!1,theme:o0e="dark",style:i0e={},collapsible:s0e=!1,reverseArrow:l0e=!1,width:c0e=200,collapsedWidth:u0e=80,zeroWidthTriggerStyle:d0e,breakpoint:p0e,onCollapse:f0e,onBreakpoint:h0e}=x_,b0e=__rest$G(x_,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:m0e}=reactExports.useContext(LayoutContext),[v0e,g0e]=reactExports.useState("collapsed"in x_?x_.collapsed:a0e),[y0e,M0e]=reactExports.useState(!1);reactExports.useEffect(()=>{"collapsed"in x_&&g0e(x_.collapsed)},[x_.collapsed]);const O0e=(C0e,E0e)=>{"collapsed"in x_||g0e(C0e),f0e==null||f0e(C0e,E0e)},z0e=reactExports.useRef();z0e.current=C0e=>{M0e(C0e.matches),h0e==null||h0e(C0e.matches),v0e!==C0e.matches&&O0e(C0e.matches,"responsive")},reactExports.useEffect(()=>{function C0e(w0e){return z0e.current(w0e)}let E0e;if(typeof window<"u"){const{matchMedia:w0e}=window;if(w0e&&p0e&&p0e in dimensionMaxMap){E0e=w0e(`(max-width: ${dimensionMaxMap[p0e]})`);try{E0e.addEventListener("change",C0e)}catch{E0e.addListener(C0e)}C0e(E0e)}}return()=>{try{E0e==null||E0e.removeEventListener("change",C0e)}catch{E0e==null||E0e.removeListener(C0e)}}},[p0e]),reactExports.useEffect(()=>{const C0e=generateId$2("ant-sider-");return m0e.addSider(C0e),()=>m0e.removeSider(C0e)},[]);const _0e=()=>{O0e(!v0e,"clickTrigger")},{getPrefixCls:A0e}=reactExports.useContext(ConfigContext),$0e=()=>{const C0e=A0e("layout-sider",$P),E0e=omit$2(b0e,["collapsed"]),w0e=v0e?u0e:c0e,R0e=isNumeric$2(w0e)?`${w0e}px`:String(w0e),T0e=parseFloat(String(u0e||0))===0?reactExports.createElement("span",{onClick:_0e,className:cx$1(`${C0e}-zero-width-trigger`,`${C0e}-zero-width-trigger-${l0e?"right":"left"}`),style:d0e},r0e||reactExports.createElement(BarsOutlined$1,null)):null,k0e={expanded:l0e?reactExports.createElement(RightOutlined$1,null):reactExports.createElement(LeftOutlined$1,null),collapsed:l0e?reactExports.createElement(LeftOutlined$1,null):reactExports.createElement(RightOutlined$1,null)}[v0e?"collapsed":"expanded"],q0e=r0e!==null?T0e||reactExports.createElement("div",{className:`${C0e}-trigger`,onClick:_0e,style:{width:R0e}},r0e||k0e):null,N0e=Object.assign(Object.assign({},i0e),{flex:`0 0 ${R0e}`,maxWidth:R0e,minWidth:R0e,width:R0e}),j0e=cx$1(C0e,`${C0e}-${o0e}`,{[`${C0e}-collapsed`]:!!v0e,[`${C0e}-has-trigger`]:s0e&&r0e!==null&&!T0e,[`${C0e}-below`]:!!y0e,[`${C0e}-zero-width`]:parseFloat(R0e)===0},t0e);return reactExports.createElement("aside",Object.assign({className:j0e},E0e,{style:N0e,ref:e0e}),reactExports.createElement("div",{className:`${C0e}-children`},n0e),s0e||y0e&&T0e?q0e:null)},S0e=reactExports.useMemo(()=>({siderCollapsed:v0e}),[v0e]);return reactExports.createElement(SiderContext.Provider,{value:S0e},$0e())}),Sider$4=Sider$3;var __rest$F=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,className:$P,dashed:t0e}=x_,r0e=__rest$F(x_,["prefixCls","className","dashed"]),{getPrefixCls:n0e}=reactExports.useContext(ConfigContext),a0e=n0e("menu",e0e),o0e=cx$1({[`${a0e}-item-divider-dashed`]:!!t0e},$P);return reactExports.createElement(Divider$4,Object.assign({className:o0e},r0e))},MenuDivider$1=MenuDivider,MenuContext$2=reactExports.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),MenuContext$3=MenuContext$2,MenuItem$3=x_=>{var e0e;const{className:$P,children:t0e,icon:r0e,title:n0e,danger:a0e}=x_,{prefixCls:o0e,firstLevel:i0e,direction:s0e,disableMenuItemTitleTooltip:l0e,inlineCollapsed:c0e}=reactExports.useContext(MenuContext$3),u0e=m0e=>{const v0e=reactExports.createElement("span",{className:`${o0e}-title-content`},t0e);return(!r0e||isValidElement(t0e)&&t0e.type==="span")&&t0e&&m0e&&i0e&&typeof t0e=="string"?reactExports.createElement("div",{className:`${o0e}-inline-collapsed-noicon`},t0e.charAt(0)):v0e},{siderCollapsed:d0e}=reactExports.useContext(SiderContext);let p0e=n0e;typeof n0e>"u"?p0e=i0e?t0e:"":n0e===!1&&(p0e="");const f0e={title:p0e};!d0e&&!c0e&&(f0e.title=null,f0e.open=!1);const h0e=toArray$6(t0e).length;let b0e=reactExports.createElement(MenuItem$5,Object.assign({},omit$2(x_,["title","icon","danger"]),{className:cx$1({[`${o0e}-item-danger`]:a0e,[`${o0e}-item-only-child`]:(r0e?h0e+1:h0e)===1},$P),title:typeof n0e=="string"?n0e:void 0}),cloneElement(r0e,{className:cx$1(isValidElement(r0e)?(e0e=r0e.props)===null||e0e===void 0?void 0:e0e.className:"",`${o0e}-item-icon`)}),u0e(c0e));return l0e||(b0e=reactExports.createElement(Tooltip$3,Object.assign({},f0e,{placement:s0e==="rtl"?"left":"right",overlayClassName:`${o0e}-inline-collapsed-tooltip`}),b0e)),b0e},Item$5=MenuItem$3,SubMenu$3=x_=>{var e0e;const{popupClassName:$P,icon:t0e,title:r0e,theme:n0e}=x_,a0e=reactExports.useContext(MenuContext$3),{prefixCls:o0e,inlineCollapsed:i0e,theme:s0e}=a0e,l0e=useFullPath$1();let c0e;if(!t0e)c0e=i0e&&!l0e.length&&r0e&&typeof r0e=="string"?reactExports.createElement("div",{className:`${o0e}-inline-collapsed-noicon`},r0e.charAt(0)):reactExports.createElement("span",{className:`${o0e}-title-content`},r0e);else{const p0e=isValidElement(r0e)&&r0e.type==="span";c0e=reactExports.createElement(reactExports.Fragment,null,cloneElement(t0e,{className:cx$1(isValidElement(t0e)?(e0e=t0e.props)===null||e0e===void 0?void 0:e0e.className:"",`${o0e}-item-icon`)}),p0e?r0e:reactExports.createElement("span",{className:`${o0e}-title-content`},r0e))}const u0e=reactExports.useMemo(()=>Object.assign(Object.assign({},a0e),{firstLevel:!1}),[a0e]),[d0e]=useZIndex("Menu");return reactExports.createElement(MenuContext$3.Provider,{value:u0e},reactExports.createElement(SubMenu$5,Object.assign({},omit$2(x_,["icon"]),{title:c0e,popupClassName:cx$1(o0e,$P,`${o0e}-${n0e||s0e}`),popupStyle:{zIndex:d0e}})))},SubMenu$4=SubMenu$3;var EllipsisOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const EllipsisOutlinedSvg=EllipsisOutlined$2;var EllipsisOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:EllipsisOutlinedSvg}))};const EllipsisOutlined$1=reactExports.forwardRef(EllipsisOutlined);var __rest$E=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(e0e&&typeof e0e=="object"){const t0e=e0e,{label:r0e,children:n0e,key:a0e,type:o0e}=t0e,i0e=__rest$E(t0e,["label","children","key","type"]),s0e=a0e??`tmp-${$P}`;return n0e||o0e==="group"?o0e==="group"?reactExports.createElement(MenuItemGroup$1,Object.assign({key:s0e},i0e,{title:r0e}),convertItemsToNodes$2(n0e)):reactExports.createElement(SubMenu$4,Object.assign({key:s0e},i0e,{title:r0e}),convertItemsToNodes$2(n0e)):o0e==="divider"?reactExports.createElement(MenuDivider$1,Object.assign({key:s0e},i0e)):reactExports.createElement(Item$5,Object.assign({key:s0e},i0e),r0e)}return null}).filter(e0e=>e0e)}function useItems$2(x_){return reactExports.useMemo(()=>x_&&convertItemsToNodes$2(x_),[x_])}var __rest$D=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{children:$P}=x_,t0e=__rest$D(x_,["children"]),r0e=reactExports.useContext(OverrideContext),n0e=reactExports.useMemo(()=>Object.assign(Object.assign({},r0e),t0e),[r0e,t0e.prefixCls,t0e.mode,t0e.selectable,t0e.rootClassName]),a0e=supportNodeRef($P),o0e=useComposeRef(e0e,a0e?$P.ref:null);return reactExports.createElement(OverrideContext.Provider,{value:n0e},reactExports.createElement(NoCompactStyle,null,a0e?reactExports.cloneElement($P,{ref:o0e}):$P))}),OverrideContext$1=OverrideContext,getHorizontalStyle=x_=>{const{componentCls:e0e,motionDurationSlow:$P,horizontalLineHeight:t0e,colorSplit:r0e,lineWidth:n0e,lineType:a0e,itemPaddingInline:o0e}=x_;return{[`${e0e}-horizontal`]:{lineHeight:t0e,border:0,borderBottom:`${unit$1(n0e)} ${a0e} ${r0e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${e0e}-item, ${e0e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:o0e},[`> ${e0e}-item:hover, + `]:{paddingInlineEnd:x_.calc(x_.fontSize).mul(1.5).equal()}}}},genSizeStyle$2(merge$2(x_,{controlHeight:x_.singleItemHeightLG,fontSize:x_.fontSizeLG,borderRadius:x_.borderRadiusLG}),"lg")]}const genSelectorStyle=x_=>{const{componentCls:e0e,selectorBg:$P}=x_;return{position:"relative",backgroundColor:$P,border:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorder}`,transition:`all ${x_.motionDurationMid} ${x_.motionEaseInOut}`,input:{cursor:"pointer"},[`${e0e}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${e0e}-disabled&`]:{color:x_.colorTextDisabled,background:x_.colorBgContainerDisabled,cursor:"not-allowed",[`${e0e}-multiple&`]:{background:x_.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},genStatusStyle$4=function(x_,e0e){let $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:t0e,borderHoverColor:r0e,antCls:n0e,borderActiveColor:a0e,outlineColor:o0e,controlOutlineWidth:i0e}=e0e,s0e=$P?{[`${t0e}-selector`]:{borderColor:a0e}}:{};return{[x_]:{[`&:not(${t0e}-disabled):not(${t0e}-customize-input):not(${n0e}-pagination-size-changer)`]:Object.assign(Object.assign({},s0e),{[`&:hover ${t0e}-selector`]:{borderColor:r0e},[`${t0e}-focused& ${t0e}-selector`]:{borderColor:a0e,boxShadow:`0 0 0 ${unit$1(i0e)} ${o0e}`,outline:0}})}}},getSearchInputWithoutBorderStyle=x_=>{const{componentCls:e0e}=x_;return{[`${e0e}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},genBaseStyle$4=x_=>{const{antCls:e0e,componentCls:$P,inputPaddingHorizontalBase:t0e,iconCls:r0e}=x_;return{[$P]:Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${$P}-customize-input) ${$P}-selector`]:Object.assign(Object.assign({},genSelectorStyle(x_)),getSearchInputWithoutBorderStyle(x_)),[`${$P}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},textEllipsis),{[`> ${e0e}-typography`]:{display:"inline"}}),[`${$P}-selection-placeholder`]:Object.assign(Object.assign({},textEllipsis),{flex:1,color:x_.colorTextPlaceholder,pointerEvents:"none"}),[`${$P}-arrow`]:Object.assign(Object.assign({},resetIcon()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t0e,height:x_.fontSizeIcon,marginTop:x_.calc(x_.fontSizeIcon).mul(-1).div(2).equal(),color:x_.colorTextQuaternary,fontSize:x_.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[r0e]:{verticalAlign:"top",transition:`transform ${x_.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${$P}-suffix)`]:{pointerEvents:"auto"}},[`${$P}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${$P}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:t0e,zIndex:1,display:"inline-block",width:x_.fontSizeIcon,height:x_.fontSizeIcon,marginTop:x_.calc(x_.fontSizeIcon).mul(-1).div(2).equal(),color:x_.colorTextQuaternary,fontSize:x_.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:x_.clearBg,cursor:"pointer",opacity:0,transition:`color ${x_.motionDurationMid} ease, opacity ${x_.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:x_.colorTextTertiary}},"&:hover":{[`${$P}-clear`]:{opacity:1}}}),[`${$P}-has-feedback`]:{[`${$P}-clear`]:{insetInlineEnd:x_.calc(t0e).add(x_.fontSize).add(x_.paddingXS).equal()}}}},genSelectStyle=x_=>{const{componentCls:e0e}=x_;return[{[e0e]:{[`&-borderless ${e0e}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${e0e}-in-form-item`]:{width:"100%"}}},genBaseStyle$4(x_),genSingleStyle(x_),genMultipleStyle$1(x_),genDropdownStyle$1(x_),{[`${e0e}-rtl`]:{direction:"rtl"}},genStatusStyle$4(e0e,merge$2(x_,{borderHoverColor:x_.colorPrimaryHover,borderActiveColor:x_.colorPrimary,outlineColor:x_.controlOutline})),genStatusStyle$4(`${e0e}-status-error`,merge$2(x_,{borderHoverColor:x_.colorErrorHover,borderActiveColor:x_.colorError,outlineColor:x_.colorErrorOutline}),!0),genStatusStyle$4(`${e0e}-status-warning`,merge$2(x_,{borderHoverColor:x_.colorWarningHover,borderActiveColor:x_.colorWarning,outlineColor:x_.colorWarningOutline}),!0),genCompactItemStyle(x_,{borderElCls:`${e0e}-selector`,focusElCls:`${e0e}-focused`})]},prepareComponentToken$j=x_=>{const{fontSize:e0e,lineHeight:$P,controlHeight:t0e,controlPaddingHorizontal:r0e,zIndexPopupBase:n0e,colorText:a0e,fontWeightStrong:o0e,controlItemBgActive:i0e,controlItemBgHover:s0e,colorBgContainer:l0e,colorFillSecondary:c0e,controlHeightLG:u0e,controlHeightSM:d0e,colorBgContainerDisabled:p0e,colorTextDisabled:f0e}=x_;return{zIndexPopup:n0e+50,optionSelectedColor:a0e,optionSelectedFontWeight:o0e,optionSelectedBg:i0e,optionActiveBg:s0e,optionPadding:`${(t0e-e0e*$P)/2}px ${r0e}px`,optionFontSize:e0e,optionLineHeight:$P,optionHeight:t0e,selectorBg:l0e,clearBg:l0e,singleItemHeightLG:u0e,multipleItemBg:c0e,multipleItemBorderColor:"transparent",multipleItemHeight:d0e,multipleItemHeightLG:t0e,multipleSelectorBgDisabled:p0e,multipleItemColorDisabled:f0e,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(x_.fontSize*1.25)}},useSelectStyle=genStyleHooks("Select",(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=merge$2(x_,{rootPrefixCls:$P,inputPaddingHorizontalBase:x_.calc(x_.paddingSM).sub(1).equal(),multipleSelectItemHeight:x_.multipleItemHeight,selectHeight:x_.controlHeight});return[genSelectStyle(t0e)]},prepareComponentToken$j,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}}),getBuiltInPlacements=x_=>{const $P={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:x_==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},$P),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},$P),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},$P),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},$P),{points:["br","tr"],offset:[0,-4]})}};function useBuiltinPlacements(x_,e0e){return x_||getBuiltInPlacements(e0e)}var CheckOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};const CheckOutlinedSvg=CheckOutlined$2;var CheckOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:CheckOutlinedSvg}))};const CheckOutlined$1=reactExports.forwardRef(CheckOutlined);var DownOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"};const DownOutlinedSvg=DownOutlined$2;var DownOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:DownOutlinedSvg}))};const DownOutlined$1=reactExports.forwardRef(DownOutlined);var SearchOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};const SearchOutlinedSvg=SearchOutlined$2;var SearchOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:SearchOutlinedSvg}))};const SearchOutlined$1=reactExports.forwardRef(SearchOutlined);function useIcons(x_){let{suffixIcon:e0e,clearIcon:$P,menuItemSelectedIcon:t0e,removeIcon:r0e,loading:n0e,multiple:a0e,hasFeedback:o0e,prefixCls:i0e,showSuffixIcon:s0e,feedbackIcon:l0e,showArrow:c0e,componentName:u0e}=x_;const d0e=$P??reactExports.createElement(CloseCircleFilled$1,null),p0e=m0e=>e0e===null&&!o0e&&!c0e?null:reactExports.createElement(reactExports.Fragment,null,s0e!==!1&&m0e,o0e&&l0e);let f0e=null;if(e0e!==void 0)f0e=p0e(e0e);else if(n0e)f0e=p0e(reactExports.createElement(LoadingOutlined$1,{spin:!0}));else{const m0e=`${i0e}-suffix`;f0e=v0e=>{let{open:g0e,showSearch:y0e}=v0e;return p0e(g0e&&y0e?reactExports.createElement(SearchOutlined$1,{className:m0e}):reactExports.createElement(DownOutlined$1,{className:m0e}))}}let h0e=null;t0e!==void 0?h0e=t0e:a0e?h0e=reactExports.createElement(CheckOutlined$1,null):h0e=null;let b0e=null;return r0e!==void 0?b0e=r0e:b0e=reactExports.createElement(CloseOutlined$1,null),{clearIcon:d0e,suffixIcon:f0e,itemIcon:h0e,removeIcon:b0e}}function useShowArrow(x_,e0e){return e0e!==void 0?e0e:x_!==null}var __rest$M=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e,{prefixCls:r0e,bordered:n0e=!0,className:a0e,rootClassName:o0e,getPopupContainer:i0e,popupClassName:s0e,dropdownClassName:l0e,listHeight:c0e=256,placement:u0e,listItemHeight:d0e=24,size:p0e,disabled:f0e,notFoundContent:h0e,status:b0e,builtinPlacements:m0e,dropdownMatchSelectWidth:v0e,popupMatchSelectWidth:g0e,direction:y0e,style:M0e,allowClear:O0e}=x_,z0e=__rest$M(x_,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:_0e,getPrefixCls:A0e,renderEmpty:$0e,direction:S0e,virtual:C0e,popupMatchSelectWidth:E0e,popupOverflow:w0e,select:R0e}=reactExports.useContext(ConfigContext),T0e=A0e("select",r0e),D0e=A0e(),W0e=y0e??S0e,{compactSize:k0e,compactItemClassnames:q0e}=useCompactItemContext(T0e,W0e),N0e=useCSSVarCls$1(T0e),[j0e,P0e]=useSelectStyle(T0e,N0e),I0e=reactExports.useMemo(()=>{const{mode:O1e}=z0e;if(O1e!=="combobox")return O1e===SECRET_COMBOBOX_MODE_DO_NOT_USE?"combobox":O1e},[z0e.mode]),F0e=I0e==="multiple"||I0e==="tags",V0e=useShowArrow(z0e.suffixIcon,z0e.showArrow),H0e=($P=g0e??v0e)!==null&&$P!==void 0?$P:E0e,{status:Q0e,hasFeedback:Y0e,isFormItemInput:G0e,feedbackIcon:B0e}=reactExports.useContext(FormItemInputContext),U0e=getMergedStatus(Q0e,b0e);let X0e;h0e!==void 0?X0e=h0e:I0e==="combobox"?X0e=null:X0e=($0e==null?void 0:$0e("Select"))||reactExports.createElement(DefaultRenderEmpty$1,{componentName:"Select"});const{suffixIcon:Z0e,itemIcon:e1e,removeIcon:n1e,clearIcon:t1e}=useIcons(Object.assign(Object.assign({},z0e),{multiple:F0e,hasFeedback:Y0e,feedbackIcon:B0e,showSuffixIcon:V0e,prefixCls:T0e,showArrow:z0e.showArrow,componentName:"Select"})),r1e=O0e===!0?{clearIcon:t1e}:O0e,a1e=omit$2(z0e,["suffixIcon","itemIcon"]),l1e=cx$1(s0e||l0e,{[`${T0e}-dropdown-${W0e}`]:W0e==="rtl"},o0e,N0e,P0e),s1e=useSize$1(O1e=>{var w1e;return(w1e=p0e??k0e)!==null&&w1e!==void 0?w1e:O1e}),g1e=reactExports.useContext(DisabledContext$1),$1e=f0e??g1e,_1e=cx$1({[`${T0e}-lg`]:s1e==="large",[`${T0e}-sm`]:s1e==="small",[`${T0e}-rtl`]:W0e==="rtl",[`${T0e}-borderless`]:!n0e,[`${T0e}-in-form-item`]:G0e},getStatusClassNames(T0e,U0e,Y0e),q0e,R0e==null?void 0:R0e.className,a0e,o0e,N0e,P0e),p1e=reactExports.useMemo(()=>u0e!==void 0?u0e:W0e==="rtl"?"bottomRight":"bottomLeft",[u0e,W0e]),E1e=useBuiltinPlacements(m0e,w0e),[x1e]=useZIndex("SelectLike",(t0e=z0e.dropdownStyle)===null||t0e===void 0?void 0:t0e.zIndex);return j0e(reactExports.createElement(TypedSelect,Object.assign({ref:e0e,virtual:C0e,showSearch:R0e==null?void 0:R0e.showSearch},a1e,{style:Object.assign(Object.assign({},R0e==null?void 0:R0e.style),M0e),dropdownMatchSelectWidth:H0e,builtinPlacements:E1e,transitionName:getTransitionName(D0e,"slide-up",z0e.transitionName),listHeight:c0e,listItemHeight:d0e,mode:I0e,prefixCls:T0e,placement:p1e,direction:W0e,suffixIcon:Z0e,menuItemSelectedIcon:e1e,removeIcon:n1e,allowClear:r1e,notFoundContent:X0e,className:_1e,getPopupContainer:i0e||_0e,dropdownClassName:l1e,disabled:$1e,dropdownStyle:Object.assign(Object.assign({},z0e==null?void 0:z0e.dropdownStyle),{zIndex:x1e})})))},Select$1=reactExports.forwardRef(InternalSelect),PurePanel$6=genPurePanel$1(Select$1);Select$1.SECRET_COMBOBOX_MODE_DO_NOT_USE=SECRET_COMBOBOX_MODE_DO_NOT_USE;Select$1.Option=Option;Select$1.OptGroup=OptGroup;Select$1._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$6;const Select$2=Select$1,responsiveArray=["xxl","xl","lg","md","sm","xs"],getResponsiveMap=x_=>({xs:`(max-width: ${x_.screenXSMax}px)`,sm:`(min-width: ${x_.screenSM}px)`,md:`(min-width: ${x_.screenMD}px)`,lg:`(min-width: ${x_.screenLG}px)`,xl:`(min-width: ${x_.screenXL}px)`,xxl:`(min-width: ${x_.screenXXL}px)`}),validateBreakpoints=x_=>{const e0e=x_,$P=[].concat(responsiveArray).reverse();return $P.forEach((t0e,r0e)=>{const n0e=t0e.toUpperCase(),a0e=`screen${n0e}Min`,o0e=`screen${n0e}`;if(!(e0e[a0e]<=e0e[o0e]))throw new Error(`${a0e}<=${o0e} fails : !(${e0e[a0e]}<=${e0e[o0e]})`);if(r0e<$P.length-1){const i0e=`screen${n0e}Max`;if(!(e0e[o0e]<=e0e[i0e]))throw new Error(`${o0e}<=${i0e} fails : !(${e0e[o0e]}<=${e0e[i0e]})`);const l0e=`screen${$P[r0e+1].toUpperCase()}Min`;if(!(e0e[i0e]<=e0e[l0e]))throw new Error(`${i0e}<=${l0e} fails : !(${e0e[i0e]}<=${e0e[l0e]})`)}}),x_};function useResponsiveObserver(){const[,x_]=useToken$1(),e0e=getResponsiveMap(validateBreakpoints(x_));return React$1.useMemo(()=>{const $P=new Map;let t0e=-1,r0e={};return{matchHandlers:{},dispatch(n0e){return r0e=n0e,$P.forEach(a0e=>a0e(r0e)),$P.size>=1},subscribe(n0e){return $P.size||this.register(),t0e+=1,$P.set(t0e,n0e),n0e(r0e),t0e},unsubscribe(n0e){$P.delete(n0e),$P.size||this.unregister()},unregister(){Object.keys(e0e).forEach(n0e=>{const a0e=e0e[n0e],o0e=this.matchHandlers[a0e];o0e==null||o0e.mql.removeListener(o0e==null?void 0:o0e.listener)}),$P.clear()},register(){Object.keys(e0e).forEach(n0e=>{const a0e=e0e[n0e],o0e=s0e=>{let{matches:l0e}=s0e;this.dispatch(Object.assign(Object.assign({},r0e),{[n0e]:l0e}))},i0e=window.matchMedia(a0e);i0e.addListener(o0e),this.matchHandlers[a0e]={mql:i0e,listener:o0e},o0e(i0e)})},responsiveMap:e0e}},[x_])}const getRenderPropValue=x_=>x_?typeof x_=="function"?x_():x_:null;function Popup$1(x_){var e0e=x_.children,$P=x_.prefixCls,t0e=x_.id,r0e=x_.overlayInnerStyle,n0e=x_.className,a0e=x_.style;return reactExports.createElement("div",{className:cx$1("".concat($P,"-content"),n0e),style:a0e},reactExports.createElement("div",{className:"".concat($P,"-inner"),id:t0e,role:"tooltip",style:r0e},typeof e0e=="function"?e0e():e0e))}var autoAdjustOverflowTopBottom={shiftX:64,adjustY:1},autoAdjustOverflowLeftRight={adjustX:1,shiftY:!0},targetOffset$1=[0,0],placements$3={left:{points:["cr","cl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1},right:{points:["cl","cr"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},top:{points:["bc","tc"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},bottom:{points:["tc","bc"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},topLeft:{points:["bl","tl"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},leftTop:{points:["tr","tl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1},topRight:{points:["br","tr"],overflow:autoAdjustOverflowTopBottom,offset:[0,-4],targetOffset:targetOffset$1},rightTop:{points:["tl","tr"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},rightBottom:{points:["bl","br"],overflow:autoAdjustOverflowLeftRight,offset:[4,0],targetOffset:targetOffset$1},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflowTopBottom,offset:[0,4],targetOffset:targetOffset$1},leftBottom:{points:["br","bl"],overflow:autoAdjustOverflowLeftRight,offset:[-4,0],targetOffset:targetOffset$1}},_excluded$C=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Tooltip$4=function(e0e,$P){var t0e=e0e.overlayClassName,r0e=e0e.trigger,n0e=r0e===void 0?["hover"]:r0e,a0e=e0e.mouseEnterDelay,o0e=a0e===void 0?0:a0e,i0e=e0e.mouseLeaveDelay,s0e=i0e===void 0?.1:i0e,l0e=e0e.overlayStyle,c0e=e0e.prefixCls,u0e=c0e===void 0?"rc-tooltip":c0e,d0e=e0e.children,p0e=e0e.onVisibleChange,f0e=e0e.afterVisibleChange,h0e=e0e.transitionName,b0e=e0e.animation,m0e=e0e.motion,v0e=e0e.placement,g0e=v0e===void 0?"right":v0e,y0e=e0e.align,M0e=y0e===void 0?{}:y0e,O0e=e0e.destroyTooltipOnHide,z0e=O0e===void 0?!1:O0e,_0e=e0e.defaultVisible,A0e=e0e.getTooltipContainer,$0e=e0e.overlayInnerStyle;e0e.arrowContent;var S0e=e0e.overlay,C0e=e0e.id,E0e=e0e.showArrow,w0e=E0e===void 0?!0:E0e,R0e=_objectWithoutProperties$4(e0e,_excluded$C),T0e=reactExports.useRef(null);reactExports.useImperativeHandle($P,function(){return T0e.current});var D0e=_objectSpread2$1({},R0e);"visible"in e0e&&(D0e.popupVisible=e0e.visible);var W0e=function(){return reactExports.createElement(Popup$1,{key:"content",prefixCls:u0e,id:C0e,overlayInnerStyle:$0e},S0e)};return reactExports.createElement(Trigger,_extends$1z({popupClassName:t0e,prefixCls:u0e,popup:W0e,action:n0e,builtinPlacements:placements$3,popupPlacement:g0e,ref:T0e,popupAlign:M0e,getPopupContainer:A0e,onPopupVisibleChange:p0e,afterPopupVisibleChange:f0e,popupTransitionName:h0e,popupAnimation:b0e,popupMotion:m0e,defaultPopupVisible:_0e,autoDestroy:z0e,mouseLeaveDelay:s0e,popupStyle:l0e,mouseEnterDelay:o0e,arrow:w0e},D0e),d0e)};const Tooltip$5=reactExports.forwardRef(Tooltip$4);function getArrowToken(x_){const{sizePopupArrow:e0e,borderRadiusXS:$P,borderRadiusOuter:t0e}=x_,r0e=e0e/2,n0e=0,a0e=r0e,o0e=t0e*1/Math.sqrt(2),i0e=r0e-t0e*(1-1/Math.sqrt(2)),s0e=r0e-$P*(1/Math.sqrt(2)),l0e=t0e*(Math.sqrt(2)-1)+$P*(1/Math.sqrt(2)),c0e=2*r0e-s0e,u0e=l0e,d0e=2*r0e-o0e,p0e=i0e,f0e=2*r0e-n0e,h0e=a0e,b0e=r0e*Math.sqrt(2)+t0e*(Math.sqrt(2)-2),m0e=t0e*(Math.sqrt(2)-1),v0e=`polygon(${m0e}px 100%, 50% ${m0e}px, ${2*r0e-m0e}px 100%, ${m0e}px 100%)`,g0e=`path('M ${n0e} ${a0e} A ${t0e} ${t0e} 0 0 0 ${o0e} ${i0e} L ${s0e} ${l0e} A ${$P} ${$P} 0 0 1 ${c0e} ${u0e} L ${d0e} ${p0e} A ${t0e} ${t0e} 0 0 0 ${f0e} ${h0e} Z')`;return{arrowShadowWidth:b0e,arrowPath:g0e,arrowPolygon:v0e}}const genRoundedArrow=(x_,e0e,$P)=>{const{sizePopupArrow:t0e,arrowPolygon:r0e,arrowPath:n0e,arrowShadowWidth:a0e,borderRadiusXS:o0e,calc:i0e}=x_;return{pointerEvents:"none",width:t0e,height:t0e,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t0e,height:i0e(t0e).div(2).equal(),background:e0e,clipPath:{_multi_value_:!0,value:[r0e,n0e]},content:'""'},"&::after":{content:'""',position:"absolute",width:a0e,height:a0e,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${unit$1(o0e)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:$P,zIndex:0,background:"transparent"}}},MAX_VERTICAL_CONTENT_RADIUS=8;function getArrowOffsetToken(x_){const{contentRadius:e0e,limitVerticalRadius:$P}=x_,t0e=e0e>12?e0e+2:12;return{arrowOffsetHorizontal:t0e,arrowOffsetVertical:$P?MAX_VERTICAL_CONTENT_RADIUS:t0e}}function isInject(x_,e0e){return x_?e0e:{}}function getArrowStyle(x_,e0e,$P){const{componentCls:t0e,boxShadowPopoverArrow:r0e,arrowOffsetVertical:n0e,arrowOffsetHorizontal:a0e}=x_,{arrowDistance:o0e=0,arrowPlacement:i0e={left:!0,right:!0,top:!0,bottom:!0}}=$P||{};return{[t0e]:Object.assign(Object.assign(Object.assign(Object.assign({[`${t0e}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},genRoundedArrow(x_,e0e,r0e)),{"&:before":{background:e0e}})]},isInject(!!i0e.top,{[[`&-placement-top ${t0e}-arrow`,`&-placement-topLeft ${t0e}-arrow`,`&-placement-topRight ${t0e}-arrow`].join(",")]:{bottom:o0e,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${t0e}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${t0e}-arrow`]:{left:{_skip_check_:!0,value:a0e}},[`&-placement-topRight ${t0e}-arrow`]:{right:{_skip_check_:!0,value:a0e}}})),isInject(!!i0e.bottom,{[[`&-placement-bottom ${t0e}-arrow`,`&-placement-bottomLeft ${t0e}-arrow`,`&-placement-bottomRight ${t0e}-arrow`].join(",")]:{top:o0e,transform:"translateY(-100%)"},[`&-placement-bottom ${t0e}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${t0e}-arrow`]:{left:{_skip_check_:!0,value:a0e}},[`&-placement-bottomRight ${t0e}-arrow`]:{right:{_skip_check_:!0,value:a0e}}})),isInject(!!i0e.left,{[[`&-placement-left ${t0e}-arrow`,`&-placement-leftTop ${t0e}-arrow`,`&-placement-leftBottom ${t0e}-arrow`].join(",")]:{right:{_skip_check_:!0,value:o0e},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${t0e}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${t0e}-arrow`]:{top:n0e},[`&-placement-leftBottom ${t0e}-arrow`]:{bottom:n0e}})),isInject(!!i0e.right,{[[`&-placement-right ${t0e}-arrow`,`&-placement-rightTop ${t0e}-arrow`,`&-placement-rightBottom ${t0e}-arrow`].join(",")]:{left:{_skip_check_:!0,value:o0e},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${t0e}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${t0e}-arrow`]:{top:n0e},[`&-placement-rightBottom ${t0e}-arrow`]:{bottom:n0e}}))}}function getOverflowOptions(x_,e0e,$P,t0e){if(t0e===!1)return{adjustX:!1,adjustY:!1};const r0e=t0e&&typeof t0e=="object"?t0e:{},n0e={};switch(x_){case"top":case"bottom":n0e.shiftX=e0e.arrowOffsetHorizontal*2+$P,n0e.shiftY=!0,n0e.adjustY=!0;break;case"left":case"right":n0e.shiftY=e0e.arrowOffsetVertical*2+$P,n0e.shiftX=!0,n0e.adjustX=!0;break}const a0e=Object.assign(Object.assign({},n0e),r0e);return a0e.shiftX||(a0e.adjustX=!0),a0e.shiftY||(a0e.adjustY=!0),a0e}const PlacementAlignMap={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},ArrowCenterPlacementAlignMap={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},DisableAutoArrowList=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function getPlacements(x_){const{arrowWidth:e0e,autoAdjustOverflow:$P,arrowPointAtCenter:t0e,offset:r0e,borderRadius:n0e,visibleFirst:a0e}=x_,o0e=e0e/2,i0e={};return Object.keys(PlacementAlignMap).forEach(s0e=>{const l0e=t0e&&ArrowCenterPlacementAlignMap[s0e]||PlacementAlignMap[s0e],c0e=Object.assign(Object.assign({},l0e),{offset:[0,0],dynamicInset:!0});switch(i0e[s0e]=c0e,DisableAutoArrowList.has(s0e)&&(c0e.autoArrow=!1),s0e){case"top":case"topLeft":case"topRight":c0e.offset[1]=-o0e-r0e;break;case"bottom":case"bottomLeft":case"bottomRight":c0e.offset[1]=o0e+r0e;break;case"left":case"leftTop":case"leftBottom":c0e.offset[0]=-o0e-r0e;break;case"right":case"rightTop":case"rightBottom":c0e.offset[0]=o0e+r0e;break}const u0e=getArrowOffsetToken({contentRadius:n0e,limitVerticalRadius:!0});if(t0e)switch(s0e){case"topLeft":case"bottomLeft":c0e.offset[0]=-u0e.arrowOffsetHorizontal-o0e;break;case"topRight":case"bottomRight":c0e.offset[0]=u0e.arrowOffsetHorizontal+o0e;break;case"leftTop":case"rightTop":c0e.offset[1]=-u0e.arrowOffsetHorizontal-o0e;break;case"leftBottom":case"rightBottom":c0e.offset[1]=u0e.arrowOffsetHorizontal+o0e;break}c0e.overflow=getOverflowOptions(s0e,u0e,e0e,$P),a0e&&(c0e.htmlRegion="visibleFirst")}),i0e}const genTooltipStyle=x_=>{const{componentCls:e0e,tooltipMaxWidth:$P,tooltipColor:t0e,tooltipBg:r0e,tooltipBorderRadius:n0e,zIndexPopup:a0e,controlHeight:o0e,boxShadowSecondary:i0e,paddingSM:s0e,paddingXS:l0e}=x_;return[{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",zIndex:a0e,display:"block",width:"max-content",maxWidth:$P,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r0e,[`${e0e}-inner`]:{minWidth:o0e,minHeight:o0e,padding:`${unit$1(x_.calc(s0e).div(2).equal())} ${unit$1(l0e)}`,color:t0e,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r0e,borderRadius:n0e,boxShadow:i0e,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${e0e}-inner`]:{borderRadius:x_.min(n0e,MAX_VERTICAL_CONTENT_RADIUS)}},[`${e0e}-content`]:{position:"relative"}}),genPresetColor$1(x_,(c0e,u0e)=>{let{darkColor:d0e}=u0e;return{[`&${e0e}-${c0e}`]:{[`${e0e}-inner`]:{backgroundColor:d0e},[`${e0e}-arrow`]:{"--antd-arrow-background-color":d0e}}}})),{"&-rtl":{direction:"rtl"}})},getArrowStyle(x_,"var(--antd-arrow-background-color)"),{[`${e0e}-pure`]:{position:"relative",maxWidth:"none",margin:x_.sizePopupArrow}}]},prepareComponentToken$i=x_=>Object.assign(Object.assign({zIndexPopup:x_.zIndexPopupBase+70},getArrowOffsetToken({contentRadius:x_.borderRadius,limitVerticalRadius:!0})),getArrowToken(merge$2(x_,{borderRadiusOuter:Math.min(x_.borderRadiusOuter,4)}))),useStyle$m=function(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return genStyleHooks("Tooltip",t0e=>{const{borderRadius:r0e,colorTextLightSolid:n0e,colorBgSpotlight:a0e}=t0e,o0e=merge$2(t0e,{tooltipMaxWidth:250,tooltipColor:n0e,tooltipBorderRadius:r0e,tooltipBg:a0e});return[genTooltipStyle(o0e),initZoomMotion(t0e,"zoom-big-fast")]},prepareComponentToken$i,{resetStyle:!1,injectStyle:e0e})(x_)},inverseColors=PresetColors.map(x_=>`${x_}-inverse`);function isPresetColor(x_){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(_toConsumableArray$2(inverseColors),_toConsumableArray$2(PresetColors)).includes(x_):PresetColors.includes(x_)}function parseColor$1(x_,e0e){const $P=isPresetColor(e0e),t0e=cx$1({[`${x_}-${e0e}`]:e0e&&$P}),r0e={},n0e={};return e0e&&!$P&&(r0e.background=e0e,n0e["--antd-arrow-background-color"]=e0e),{className:t0e,overlayStyle:r0e,arrowStyle:n0e}}const PurePanel$4=x_=>{const{prefixCls:e0e,className:$P,placement:t0e="top",title:r0e,color:n0e,overlayInnerStyle:a0e}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("tooltip",e0e),[s0e,l0e]=useStyle$m(i0e),c0e=parseColor$1(i0e,n0e),u0e=c0e.arrowStyle,d0e=Object.assign(Object.assign({},a0e),c0e.overlayStyle),p0e=cx$1(l0e,i0e,`${i0e}-pure`,`${i0e}-placement-${t0e}`,$P,c0e.className);return s0e(reactExports.createElement("div",{className:p0e,style:u0e},reactExports.createElement("div",{className:`${i0e}-arrow`}),reactExports.createElement(Popup$1,Object.assign({},x_,{className:l0e,prefixCls:i0e,overlayInnerStyle:d0e}),r0e)))},PurePanel$5=PurePanel$4;var __rest$L=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e;const{prefixCls:r0e,openClassName:n0e,getTooltipContainer:a0e,overlayClassName:o0e,color:i0e,overlayInnerStyle:s0e,children:l0e,afterOpenChange:c0e,afterVisibleChange:u0e,destroyTooltipOnHide:d0e,arrow:p0e=!0,title:f0e,overlay:h0e,builtinPlacements:b0e,arrowPointAtCenter:m0e=!1,autoAdjustOverflow:v0e=!0}=x_,g0e=!!p0e,[,y0e]=useToken$1(),{getPopupContainer:M0e,getPrefixCls:O0e,direction:z0e}=reactExports.useContext(ConfigContext),_0e=devUseWarning(),A0e=reactExports.useRef(null),$0e=()=>{var s1e;(s1e=A0e.current)===null||s1e===void 0||s1e.forceAlign()};reactExports.useImperativeHandle(e0e,()=>({forceAlign:$0e,forcePopupAlign:()=>{_0e.deprecated(!1,"forcePopupAlign","forceAlign"),$0e()}}));const[S0e,C0e]=useMergedState(!1,{value:($P=x_.open)!==null&&$P!==void 0?$P:x_.visible,defaultValue:(t0e=x_.defaultOpen)!==null&&t0e!==void 0?t0e:x_.defaultVisible}),E0e=!f0e&&!h0e&&f0e!==0,w0e=s1e=>{var g1e,$1e;C0e(E0e?!1:s1e),E0e||((g1e=x_.onOpenChange)===null||g1e===void 0||g1e.call(x_,s1e),($1e=x_.onVisibleChange)===null||$1e===void 0||$1e.call(x_,s1e))},R0e=reactExports.useMemo(()=>{var s1e,g1e;let $1e=m0e;return typeof p0e=="object"&&($1e=(g1e=(s1e=p0e.pointAtCenter)!==null&&s1e!==void 0?s1e:p0e.arrowPointAtCenter)!==null&&g1e!==void 0?g1e:m0e),b0e||getPlacements({arrowPointAtCenter:$1e,autoAdjustOverflow:v0e,arrowWidth:g0e?y0e.sizePopupArrow:0,borderRadius:y0e.borderRadius,offset:y0e.marginXXS,visibleFirst:!0})},[m0e,p0e,b0e,y0e]),T0e=reactExports.useMemo(()=>f0e===0?f0e:h0e||f0e||"",[h0e,f0e]),D0e=reactExports.createElement(NoCompactStyle,null,typeof T0e=="function"?T0e():T0e),{getPopupContainer:W0e,placement:k0e="top",mouseEnterDelay:q0e=.1,mouseLeaveDelay:N0e=.1,overlayStyle:j0e,rootClassName:P0e}=x_,I0e=__rest$L(x_,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),F0e=O0e("tooltip",r0e),V0e=O0e(),H0e=x_["data-popover-inject"];let Q0e=S0e;!("open"in x_)&&!("visible"in x_)&&E0e&&(Q0e=!1);const Y0e=isValidElement(l0e)&&!isFragment(l0e)?l0e:reactExports.createElement("span",null,l0e),G0e=Y0e.props,B0e=!G0e.className||typeof G0e.className=="string"?cx$1(G0e.className,n0e||`${F0e}-open`):G0e.className,[U0e,X0e]=useStyle$m(F0e,!H0e),Z0e=parseColor$1(F0e,i0e),e1e=Z0e.arrowStyle,n1e=Object.assign(Object.assign({},s0e),Z0e.overlayStyle),t1e=cx$1(o0e,{[`${F0e}-rtl`]:z0e==="rtl"},Z0e.className,P0e,X0e),[r1e,a1e]=useZIndex("Tooltip",I0e.zIndex),l1e=reactExports.createElement(Tooltip$5,Object.assign({},I0e,{zIndex:r1e,showArrow:g0e,placement:k0e,mouseEnterDelay:q0e,mouseLeaveDelay:N0e,prefixCls:F0e,overlayClassName:t1e,overlayStyle:Object.assign(Object.assign({},e1e),j0e),getTooltipContainer:W0e||a0e||M0e,ref:A0e,builtinPlacements:R0e,overlay:D0e,visible:Q0e,onVisibleChange:w0e,afterVisibleChange:c0e??u0e,overlayInnerStyle:n1e,arrowContent:reactExports.createElement("span",{className:`${F0e}-arrow-content`}),motion:{motionName:getTransitionName(V0e,"zoom-big-fast",x_.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!d0e}),Q0e?cloneElement(Y0e,{className:B0e}):Y0e);return U0e(reactExports.createElement(zIndexContext$1.Provider,{value:a1e},l1e))});Tooltip$2._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$5;const Tooltip$3=Tooltip$2,genBaseStyle$3=x_=>{const{componentCls:e0e,popoverColor:$P,titleMinWidth:t0e,fontWeightStrong:r0e,innerPadding:n0e,boxShadowSecondary:a0e,colorTextHeading:o0e,borderRadiusLG:i0e,zIndexPopup:s0e,titleMarginBottom:l0e,colorBgElevated:c0e,popoverBg:u0e,titleBorderBottom:d0e,innerContentPadding:p0e,titlePadding:f0e}=x_;return[{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:s0e,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":c0e,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${e0e}-content`]:{position:"relative"},[`${e0e}-inner`]:{backgroundColor:u0e,backgroundClip:"padding-box",borderRadius:i0e,boxShadow:a0e,padding:n0e},[`${e0e}-title`]:{minWidth:t0e,marginBottom:l0e,color:o0e,fontWeight:r0e,borderBottom:d0e,padding:f0e},[`${e0e}-inner-content`]:{color:$P,padding:p0e}})},getArrowStyle(x_,"var(--antd-arrow-background-color)"),{[`${e0e}-pure`]:{position:"relative",maxWidth:"none",margin:x_.sizePopupArrow,display:"inline-block",[`${e0e}-content`]:{display:"inline-block"}}}]},genColorStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:PresetColors.map($P=>{const t0e=x_[`${$P}6`];return{[`&${e0e}-${$P}`]:{"--antd-arrow-background-color":t0e,[`${e0e}-inner`]:{backgroundColor:t0e},[`${e0e}-arrow`]:{background:"transparent"}}}})}},prepareComponentToken$h=x_=>{const{lineWidth:e0e,controlHeight:$P,fontHeight:t0e,padding:r0e,wireframe:n0e,zIndexPopupBase:a0e,borderRadiusLG:o0e,marginXS:i0e,lineType:s0e,colorSplit:l0e,paddingSM:c0e}=x_,u0e=$P-t0e,d0e=u0e/2,p0e=u0e/2-e0e,f0e=r0e;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a0e+30},getArrowToken(x_)),getArrowOffsetToken({contentRadius:o0e,limitVerticalRadius:!0})),{innerPadding:n0e?0:12,titleMarginBottom:n0e?0:i0e,titlePadding:n0e?`${d0e}px ${f0e}px ${p0e}px`:0,titleBorderBottom:n0e?`${e0e}px ${s0e} ${l0e}`:"none",innerContentPadding:n0e?`${c0e}px ${f0e}px`:0})},useStyle$l=genStyleHooks("Popover",x_=>{const{colorBgElevated:e0e,colorText:$P}=x_,t0e=merge$2(x_,{popoverBg:e0e,popoverColor:$P});return[genBaseStyle$3(t0e),genColorStyle(t0e),initZoomMotion(t0e,"zoom-big")]},prepareComponentToken$h,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var __rest$K=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(!(!e0e&&!$P))return reactExports.createElement(reactExports.Fragment,null,e0e&&reactExports.createElement("div",{className:`${x_}-title`},getRenderPropValue(e0e)),reactExports.createElement("div",{className:`${x_}-inner-content`},getRenderPropValue($P)))},RawPurePanel=x_=>{const{hashId:e0e,prefixCls:$P,className:t0e,style:r0e,placement:n0e="top",title:a0e,content:o0e,children:i0e}=x_;return reactExports.createElement("div",{className:cx$1(e0e,$P,`${$P}-pure`,`${$P}-placement-${n0e}`,t0e),style:r0e},reactExports.createElement("div",{className:`${$P}-arrow`}),reactExports.createElement(Popup$1,Object.assign({},x_,{className:e0e,prefixCls:$P}),i0e||getOverlay($P,a0e,o0e)))},PurePanel$3=x_=>{const{prefixCls:e0e}=x_,$P=__rest$K(x_,["prefixCls"]),{getPrefixCls:t0e}=reactExports.useContext(ConfigContext),r0e=t0e("popover",e0e),[n0e,a0e]=useStyle$l(r0e);return n0e(reactExports.createElement(RawPurePanel,Object.assign({},$P,{prefixCls:r0e,hashId:a0e})))},PopoverPurePanel=PurePanel$3;var __rest$J=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{title:e0e,content:$P,prefixCls:t0e}=x_;return reactExports.createElement(reactExports.Fragment,null,e0e&&reactExports.createElement("div",{className:`${t0e}-title`},getRenderPropValue(e0e)),reactExports.createElement("div",{className:`${t0e}-inner-content`},getRenderPropValue($P)))},Popover=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,title:t0e,content:r0e,overlayClassName:n0e,placement:a0e="top",trigger:o0e="hover",mouseEnterDelay:i0e=.1,mouseLeaveDelay:s0e=.1,overlayStyle:l0e={}}=x_,c0e=__rest$J(x_,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:u0e}=reactExports.useContext(ConfigContext),d0e=u0e("popover",$P),[p0e,f0e]=useStyle$l(d0e),h0e=u0e(),b0e=cx$1(n0e,f0e);return p0e(reactExports.createElement(Tooltip$3,Object.assign({placement:a0e,trigger:o0e,mouseEnterDelay:i0e,mouseLeaveDelay:s0e,overlayStyle:l0e},c0e,{prefixCls:d0e,overlayClassName:b0e,ref:e0e,overlay:t0e||r0e?reactExports.createElement(Overlay$2,{prefixCls:d0e,title:t0e,content:r0e}):null,transitionName:getTransitionName(h0e,"zoom-big",c0e.transitionName),"data-popover-inject":!0})))});Popover._InternalPanelDoNotUseOrYouWillBeFired=PopoverPurePanel;const Popover$1=Popover,antStatusProcessing=new Keyframe("antStatusProcessing",{"0%":{transform:"scale(0.8)",opacity:.5},"100%":{transform:"scale(2.4)",opacity:0}}),antZoomBadgeIn=new Keyframe("antZoomBadgeIn",{"0%":{transform:"scale(0) translate(50%, -50%)",opacity:0},"100%":{transform:"scale(1) translate(50%, -50%)"}}),antZoomBadgeOut=new Keyframe("antZoomBadgeOut",{"0%":{transform:"scale(1) translate(50%, -50%)"},"100%":{transform:"scale(0) translate(50%, -50%)",opacity:0}}),antNoWrapperZoomBadgeIn=new Keyframe("antNoWrapperZoomBadgeIn",{"0%":{transform:"scale(0)",opacity:0},"100%":{transform:"scale(1)"}}),antNoWrapperZoomBadgeOut=new Keyframe("antNoWrapperZoomBadgeOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0)",opacity:0}}),antBadgeLoadingCircle=new Keyframe("antBadgeLoadingCircle",{"0%":{transformOrigin:"50%"},"100%":{transform:"translate(50%, -50%) rotate(360deg)",transformOrigin:"50%"}}),genSharedBadgeStyle=x_=>{const{componentCls:e0e,iconCls:$P,antCls:t0e,badgeShadowSize:r0e,motionDurationSlow:n0e,textFontSize:a0e,textFontSizeSM:o0e,statusSize:i0e,dotSize:s0e,textFontWeight:l0e,indicatorHeight:c0e,indicatorHeightSM:u0e,marginXS:d0e,calc:p0e}=x_,f0e=`${t0e}-scroll-number`,h0e=genPresetColor$1(x_,(b0e,m0e)=>{let{darkColor:v0e}=m0e;return{[`&${e0e} ${e0e}-color-${b0e}`]:{background:v0e,[`&:not(${e0e}-count)`]:{color:v0e}}}});return{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${e0e}-count`]:{zIndex:x_.indicatorZIndex,minWidth:c0e,height:c0e,color:x_.badgeTextColor,fontWeight:l0e,fontSize:a0e,lineHeight:unit$1(c0e),whiteSpace:"nowrap",textAlign:"center",background:x_.badgeColor,borderRadius:p0e(c0e).div(2).equal(),boxShadow:`0 0 0 ${unit$1(r0e)} ${x_.badgeShadowColor}`,transition:`background ${x_.motionDurationMid}`,a:{color:x_.badgeTextColor},"a:hover":{color:x_.badgeTextColor},"a:hover &":{background:x_.badgeColorHover}},[`${e0e}-count-sm`]:{minWidth:u0e,height:u0e,fontSize:o0e,lineHeight:unit$1(u0e),borderRadius:p0e(u0e).div(2).equal()},[`${e0e}-multiple-words`]:{padding:`0 ${unit$1(x_.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${e0e}-dot`]:{zIndex:x_.indicatorZIndex,width:s0e,minWidth:s0e,height:s0e,background:x_.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${unit$1(r0e)} ${x_.badgeShadowColor}`},[`${e0e}-dot${f0e}`]:{transition:`background ${n0e}`},[`${e0e}-count, ${e0e}-dot, ${f0e}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${$P}-spin`]:{animationName:antBadgeLoadingCircle,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${e0e}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${e0e}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:i0e,height:i0e,verticalAlign:"middle",borderRadius:"50%"},[`${e0e}-status-success`]:{backgroundColor:x_.colorSuccess},[`${e0e}-status-processing`]:{overflow:"visible",color:x_.colorPrimary,backgroundColor:x_.colorPrimary,"&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:r0e,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:antStatusProcessing,animationDuration:x_.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${e0e}-status-default`]:{backgroundColor:x_.colorTextPlaceholder},[`${e0e}-status-error`]:{backgroundColor:x_.colorError},[`${e0e}-status-warning`]:{backgroundColor:x_.colorWarning},[`${e0e}-status-text`]:{marginInlineStart:d0e,color:x_.colorText,fontSize:x_.fontSize}}}),h0e),{[`${e0e}-zoom-appear, ${e0e}-zoom-enter`]:{animationName:antZoomBadgeIn,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack,animationFillMode:"both"},[`${e0e}-zoom-leave`]:{animationName:antZoomBadgeOut,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack,animationFillMode:"both"},[`&${e0e}-not-a-wrapper`]:{[`${e0e}-zoom-appear, ${e0e}-zoom-enter`]:{animationName:antNoWrapperZoomBadgeIn,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack},[`${e0e}-zoom-leave`]:{animationName:antNoWrapperZoomBadgeOut,animationDuration:x_.motionDurationSlow,animationTimingFunction:x_.motionEaseOutBack},[`&:not(${e0e}-status)`]:{verticalAlign:"middle"},[`${f0e}-custom-component, ${e0e}-count`]:{transform:"none"},[`${f0e}-custom-component, ${f0e}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[`${f0e}`]:{overflow:"hidden",[`${f0e}-only`]:{position:"relative",display:"inline-block",height:c0e,transition:`all ${x_.motionDurationSlow} ${x_.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${f0e}-only-unit`]:{height:c0e,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${f0e}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${e0e}-count, ${e0e}-dot, ${f0e}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},prepareToken$1=x_=>{const{fontHeight:e0e,lineWidth:$P,marginXS:t0e,colorBorderBg:r0e}=x_,n0e=e0e,a0e=$P,o0e=x_.colorBgContainer,i0e=x_.colorError,s0e=x_.colorErrorHover;return merge$2(x_,{badgeFontHeight:n0e,badgeShadowSize:a0e,badgeTextColor:o0e,badgeColor:i0e,badgeColorHover:s0e,badgeShadowColor:r0e,badgeProcessingDuration:"1.2s",badgeRibbonOffset:t0e,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},prepareComponentToken$g=x_=>{const{fontSize:e0e,lineHeight:$P,fontSizeSM:t0e,lineWidth:r0e}=x_;return{indicatorZIndex:"auto",indicatorHeight:Math.round(e0e*$P)-2*r0e,indicatorHeightSM:e0e,dotSize:t0e/2,textFontSize:t0e,textFontSizeSM:t0e,textFontWeight:"normal",statusSize:t0e/2}},useStyle$k=genStyleHooks("Badge",x_=>{const e0e=prepareToken$1(x_);return genSharedBadgeStyle(e0e)},prepareComponentToken$g),genRibbonStyle=x_=>{const{antCls:e0e,badgeFontHeight:$P,marginXS:t0e,badgeRibbonOffset:r0e,calc:n0e}=x_,a0e=`${e0e}-ribbon`,o0e=`${e0e}-ribbon-wrapper`,i0e=genPresetColor$1(x_,(s0e,l0e)=>{let{darkColor:c0e}=l0e;return{[`&${a0e}-color-${s0e}`]:{background:c0e,color:c0e}}});return{[`${o0e}`]:{position:"relative"},[`${a0e}`]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:t0e,padding:`0 ${unit$1(x_.paddingXS)}`,color:x_.colorPrimary,lineHeight:unit$1($P),whiteSpace:"nowrap",backgroundColor:x_.colorPrimary,borderRadius:x_.borderRadiusSM,[`${a0e}-text`]:{color:x_.colorTextLightSolid},[`${a0e}-corner`]:{position:"absolute",top:"100%",width:r0e,height:r0e,color:"currentcolor",border:`${unit$1(n0e(r0e).div(2).equal())} solid`,transform:x_.badgeRibbonCornerTransform,transformOrigin:"top",filter:x_.badgeRibbonCornerFilter}}),i0e),{[`&${a0e}-placement-end`]:{insetInlineEnd:n0e(r0e).mul(-1).equal(),borderEndEndRadius:0,[`${a0e}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a0e}-placement-start`]:{insetInlineStart:n0e(r0e).mul(-1).equal(),borderEndStartRadius:0,[`${a0e}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},useStyle$j=genComponentStyleHook(["Badge","Ribbon"],x_=>{const e0e=prepareToken$1(x_);return genRibbonStyle(e0e)},prepareComponentToken$g),Ribbon=x_=>{const{className:e0e,prefixCls:$P,style:t0e,color:r0e,children:n0e,text:a0e,placement:o0e="end",rootClassName:i0e}=x_,{getPrefixCls:s0e,direction:l0e}=reactExports.useContext(ConfigContext),c0e=s0e("ribbon",$P),[u0e,d0e]=useStyle$j(c0e),p0e=isPresetColor(r0e,!1),f0e=cx$1(c0e,`${c0e}-placement-${o0e}`,{[`${c0e}-rtl`]:l0e==="rtl",[`${c0e}-color-${r0e}`]:p0e},e0e),h0e={},b0e={};return r0e&&!p0e&&(h0e.background=r0e,b0e.color=r0e),u0e(reactExports.createElement("div",{className:cx$1(`${c0e}-wrapper`,i0e,d0e)},n0e,reactExports.createElement("div",{className:cx$1(f0e,d0e),style:Object.assign(Object.assign({},h0e),t0e)},reactExports.createElement("span",{className:`${c0e}-text`},a0e),reactExports.createElement("div",{className:`${c0e}-corner`,style:b0e}))))},Ribbon$1=Ribbon;function UnitNumber(x_){let{prefixCls:e0e,value:$P,current:t0e,offset:r0e=0}=x_,n0e;return r0e&&(n0e={position:"absolute",top:`${r0e}00%`,left:0}),reactExports.createElement("span",{style:n0e,className:cx$1(`${e0e}-only-unit`,{current:t0e})},$P)}function getOffset$3(x_,e0e,$P){let t0e=x_,r0e=0;for(;(t0e+10)%10!==e0e;)t0e+=$P,r0e+=$P;return r0e}function SingleNumber(x_){const{prefixCls:e0e,count:$P,value:t0e}=x_,r0e=Number(t0e),n0e=Math.abs($P),[a0e,o0e]=reactExports.useState(r0e),[i0e,s0e]=reactExports.useState(n0e),l0e=()=>{o0e(r0e),s0e(n0e)};reactExports.useEffect(()=>{const d0e=setTimeout(()=>{l0e()},1e3);return()=>{clearTimeout(d0e)}},[r0e]);let c0e,u0e;if(a0e===r0e||Number.isNaN(r0e)||Number.isNaN(a0e))c0e=[reactExports.createElement(UnitNumber,Object.assign({},x_,{key:r0e,current:!0}))],u0e={transition:"none"};else{c0e=[];const d0e=r0e+10,p0e=[];for(let b0e=r0e;b0e<=d0e;b0e+=1)p0e.push(b0e);const f0e=p0e.findIndex(b0e=>b0e%10===a0e);c0e=p0e.map((b0e,m0e)=>{const v0e=b0e%10;return reactExports.createElement(UnitNumber,Object.assign({},x_,{key:b0e,value:v0e,offset:m0e-f0e,current:m0e===f0e}))});const h0e=i0e{const{prefixCls:$P,count:t0e,className:r0e,motionClassName:n0e,style:a0e,title:o0e,show:i0e,component:s0e="sup",children:l0e}=x_,c0e=__rest$I(x_,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:u0e}=reactExports.useContext(ConfigContext),d0e=u0e("scroll-number",$P),p0e=Object.assign(Object.assign({},c0e),{"data-show":i0e,style:a0e,className:cx$1(d0e,r0e,n0e),title:o0e});let f0e=t0e;if(t0e&&Number(t0e)%1===0){const h0e=String(t0e).split("");f0e=reactExports.createElement("bdi",null,h0e.map((b0e,m0e)=>reactExports.createElement(SingleNumber,{prefixCls:d0e,count:Number(t0e),value:b0e,key:h0e.length-m0e})))}return a0e&&a0e.borderColor&&(p0e.style=Object.assign(Object.assign({},a0e),{boxShadow:`0 0 0 1px ${a0e.borderColor} inset`})),l0e?cloneElement(l0e,h0e=>({className:cx$1(`${d0e}-custom-component`,h0e==null?void 0:h0e.className,n0e)})):reactExports.createElement(s0e,Object.assign({},p0e,{ref:e0e}),f0e)}),ScrollNumber$1=ScrollNumber;var __rest$H=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P,t0e,r0e,n0e,a0e;const{prefixCls:o0e,scrollNumberPrefixCls:i0e,children:s0e,status:l0e,text:c0e,color:u0e,count:d0e=null,overflowCount:p0e=99,dot:f0e=!1,size:h0e="default",title:b0e,offset:m0e,style:v0e,className:g0e,rootClassName:y0e,classNames:M0e,styles:O0e,showZero:z0e=!1}=x_,_0e=__rest$H(x_,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:A0e,direction:$0e,badge:S0e}=reactExports.useContext(ConfigContext),C0e=A0e("badge",o0e),[E0e,w0e]=useStyle$k(C0e),R0e=d0e>p0e?`${p0e}+`:d0e,T0e=R0e==="0"||R0e===0,D0e=d0e===null||T0e&&!z0e,W0e=(l0e!=null||u0e!=null)&&D0e,k0e=f0e&&!T0e,q0e=k0e?"":R0e,N0e=reactExports.useMemo(()=>(q0e==null||q0e===""||T0e&&!z0e)&&!k0e,[q0e,T0e,z0e,k0e]),j0e=reactExports.useRef(d0e);N0e||(j0e.current=d0e);const P0e=j0e.current,I0e=reactExports.useRef(q0e);N0e||(I0e.current=q0e);const F0e=I0e.current,V0e=reactExports.useRef(k0e);N0e||(V0e.current=k0e);const H0e=reactExports.useMemo(()=>{if(!m0e)return Object.assign(Object.assign({},S0e==null?void 0:S0e.style),v0e);const e1e={marginTop:m0e[1]};return $0e==="rtl"?e1e.left=parseInt(m0e[0],10):e1e.right=-parseInt(m0e[0],10),Object.assign(Object.assign(Object.assign({},e1e),S0e==null?void 0:S0e.style),v0e)},[$0e,m0e,v0e,S0e==null?void 0:S0e.style]),Q0e=b0e??(typeof P0e=="string"||typeof P0e=="number"?P0e:void 0),Y0e=N0e||!c0e?null:reactExports.createElement("span",{className:`${C0e}-status-text`},c0e),G0e=!P0e||typeof P0e!="object"?void 0:cloneElement(P0e,e1e=>({style:Object.assign(Object.assign({},H0e),e1e.style)})),B0e=isPresetColor(u0e,!1),U0e=cx$1(M0e==null?void 0:M0e.indicator,($P=S0e==null?void 0:S0e.classNames)===null||$P===void 0?void 0:$P.indicator,{[`${C0e}-status-dot`]:W0e,[`${C0e}-status-${l0e}`]:!!l0e,[`${C0e}-color-${u0e}`]:B0e}),X0e={};u0e&&!B0e&&(X0e.color=u0e,X0e.background=u0e);const Z0e=cx$1(C0e,{[`${C0e}-status`]:W0e,[`${C0e}-not-a-wrapper`]:!s0e,[`${C0e}-rtl`]:$0e==="rtl"},g0e,y0e,S0e==null?void 0:S0e.className,(t0e=S0e==null?void 0:S0e.classNames)===null||t0e===void 0?void 0:t0e.root,M0e==null?void 0:M0e.root,w0e);if(!s0e&&W0e){const e1e=H0e.color;return E0e(reactExports.createElement("span",Object.assign({},_0e,{className:Z0e,style:Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.root),(r0e=S0e==null?void 0:S0e.styles)===null||r0e===void 0?void 0:r0e.root),H0e)}),reactExports.createElement("span",{className:U0e,style:Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.indicator),(n0e=S0e==null?void 0:S0e.styles)===null||n0e===void 0?void 0:n0e.indicator),X0e)}),c0e&&reactExports.createElement("span",{style:{color:e1e},className:`${C0e}-status-text`},c0e)))}return E0e(reactExports.createElement("span",Object.assign({ref:e0e},_0e,{className:Z0e,style:Object.assign(Object.assign({},(a0e=S0e==null?void 0:S0e.styles)===null||a0e===void 0?void 0:a0e.root),O0e==null?void 0:O0e.root)}),s0e,reactExports.createElement(CSSMotion,{visible:!N0e,motionName:`${C0e}-zoom`,motionAppear:!1,motionDeadline:1e3},e1e=>{let{className:n1e,ref:t1e}=e1e;var r1e,a1e;const l1e=A0e("scroll-number",i0e),s1e=V0e.current,g1e=cx$1(M0e==null?void 0:M0e.indicator,(r1e=S0e==null?void 0:S0e.classNames)===null||r1e===void 0?void 0:r1e.indicator,{[`${C0e}-dot`]:s1e,[`${C0e}-count`]:!s1e,[`${C0e}-count-sm`]:h0e==="small",[`${C0e}-multiple-words`]:!s1e&&F0e&&F0e.toString().length>1,[`${C0e}-status-${l0e}`]:!!l0e,[`${C0e}-color-${u0e}`]:B0e});let $1e=Object.assign(Object.assign(Object.assign({},O0e==null?void 0:O0e.indicator),(a1e=S0e==null?void 0:S0e.styles)===null||a1e===void 0?void 0:a1e.indicator),H0e);return u0e&&!B0e&&($1e=$1e||{},$1e.background=u0e),reactExports.createElement(ScrollNumber$1,{prefixCls:l1e,show:!N0e,motionClassName:n1e,className:g1e,count:F0e,title:Q0e,style:$1e,key:"scrollNumber",ref:t1e},G0e)}),Y0e))},Badge$1=reactExports.forwardRef(InternalBadge);Badge$1.Ribbon=Ribbon$1;const Badge$2=Badge$1;var RightOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"};const RightOutlinedSvg=RightOutlined$2;var RightOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:RightOutlinedSvg}))};const RightOutlined$1=reactExports.forwardRef(RightOutlined);var ESC$2=KeyCode$1.ESC,TAB=KeyCode$1.TAB;function useAccessibility$2(x_){var e0e=x_.visible,$P=x_.triggerRef,t0e=x_.onVisibleChange,r0e=x_.autoFocus,n0e=x_.overlayRef,a0e=reactExports.useRef(!1),o0e=function(){if(e0e){var c0e,u0e;(c0e=$P.current)===null||c0e===void 0||(u0e=c0e.focus)===null||u0e===void 0||u0e.call(c0e),t0e==null||t0e(!1)}},i0e=function(){var c0e;return(c0e=n0e.current)!==null&&c0e!==void 0&&c0e.focus?(n0e.current.focus(),a0e.current=!0,!0):!1},s0e=function(c0e){switch(c0e.keyCode){case ESC$2:o0e();break;case TAB:{var u0e=!1;a0e.current||(u0e=i0e()),u0e?c0e.preventDefault():o0e();break}}};reactExports.useEffect(function(){return e0e?(window.addEventListener("keydown",s0e),r0e&&wrapperRaf$1(i0e,3),function(){window.removeEventListener("keydown",s0e),a0e.current=!1}):function(){a0e.current=!1}},[e0e])}var Overlay$1=reactExports.forwardRef(function(x_,e0e){var $P=x_.overlay,t0e=x_.arrow,r0e=x_.prefixCls,n0e=reactExports.useMemo(function(){var o0e;return typeof $P=="function"?o0e=$P():o0e=$P,o0e},[$P]),a0e=composeRef$1(e0e,n0e==null?void 0:n0e.ref);return jsxs(Fragment,{children:[t0e&&jsx("div",{className:"".concat(r0e,"-arrow")}),React$1.cloneElement(n0e,{ref:supportRef(n0e)?a0e:void 0})]})}),autoAdjustOverflow$2={adjustX:1,adjustY:1},targetOffset=[0,0],placements$2={topLeft:{points:["bl","tl"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},top:{points:["bc","tc"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},topRight:{points:["br","tr"],overflow:autoAdjustOverflow$2,offset:[0,-4],targetOffset},bottomLeft:{points:["tl","bl"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset},bottom:{points:["tc","bc"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset},bottomRight:{points:["tr","br"],overflow:autoAdjustOverflow$2,offset:[0,4],targetOffset}},_excluded$B=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Dropdown$3(x_,e0e){var $P,t0e=x_.arrow,r0e=t0e===void 0?!1:t0e,n0e=x_.prefixCls,a0e=n0e===void 0?"rc-dropdown":n0e,o0e=x_.transitionName,i0e=x_.animation,s0e=x_.align,l0e=x_.placement,c0e=l0e===void 0?"bottomLeft":l0e,u0e=x_.placements,d0e=u0e===void 0?placements$2:u0e,p0e=x_.getPopupContainer,f0e=x_.showAction,h0e=x_.hideAction,b0e=x_.overlayClassName,m0e=x_.overlayStyle,v0e=x_.visible,g0e=x_.trigger,y0e=g0e===void 0?["hover"]:g0e,M0e=x_.autoFocus,O0e=x_.overlay,z0e=x_.children,_0e=x_.onVisibleChange,A0e=_objectWithoutProperties$4(x_,_excluded$B),$0e=React$1.useState(),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1],w0e="visible"in x_?v0e:C0e,R0e=React$1.useRef(null),T0e=React$1.useRef(null),D0e=React$1.useRef(null);React$1.useImperativeHandle(e0e,function(){return R0e.current});var W0e=function(H0e){E0e(H0e),_0e==null||_0e(H0e)};useAccessibility$2({visible:w0e,triggerRef:D0e,onVisibleChange:W0e,autoFocus:M0e,overlayRef:T0e});var k0e=function(H0e){var Q0e=x_.onOverlayClick;E0e(!1),Q0e&&Q0e(H0e)},q0e=function(){return React$1.createElement(Overlay$1,{ref:T0e,overlay:O0e,prefixCls:a0e,arrow:r0e})},N0e=function(){return typeof O0e=="function"?q0e:q0e()},j0e=function(){var H0e=x_.minOverlayWidthMatchTrigger,Q0e=x_.alignPoint;return"minOverlayWidthMatchTrigger"in x_?H0e:!Q0e},P0e=function(){var H0e=x_.openClassName;return H0e!==void 0?H0e:"".concat(a0e,"-open")},I0e=React$1.cloneElement(z0e,{className:cx$1(($P=z0e.props)===null||$P===void 0?void 0:$P.className,w0e&&P0e()),ref:supportRef(z0e)?composeRef$1(D0e,z0e.ref):void 0}),F0e=h0e;return!F0e&&y0e.indexOf("contextMenu")!==-1&&(F0e=["click"]),React$1.createElement(Trigger,_extends$1z({builtinPlacements:d0e},A0e,{prefixCls:a0e,ref:R0e,popupClassName:cx$1(b0e,_defineProperty$5({},"".concat(a0e,"-show-arrow"),r0e)),popupStyle:m0e,action:y0e,showAction:f0e,hideAction:F0e,popupPlacement:c0e,popupAlign:s0e,popupTransitionName:o0e,popupAnimation:i0e,popupVisible:w0e,stretch:j0e()?"minWidth":"",popup:N0e(),onPopupVisibleChange:W0e,onPopupClick:k0e,getPopupContainer:p0e}),I0e)}const Dropdown$4=React$1.forwardRef(Dropdown$3);var IdContext$1=reactExports.createContext(null);function getMenuId$1(x_,e0e){return x_===void 0?null:"".concat(x_,"-").concat(e0e)}function useMenuId$1(x_){var e0e=reactExports.useContext(IdContext$1);return getMenuId$1(e0e,x_)}var _excluded$A=["children","locked"],MenuContext$4=reactExports.createContext(null);function mergeProps$1(x_,e0e){var $P=_objectSpread2$1({},x_);return Object.keys(e0e).forEach(function(t0e){var r0e=e0e[t0e];r0e!==void 0&&($P[t0e]=r0e)}),$P}function InheritableContextProvider$1(x_){var e0e=x_.children,$P=x_.locked,t0e=_objectWithoutProperties$4(x_,_excluded$A),r0e=reactExports.useContext(MenuContext$4),n0e=useMemo(function(){return mergeProps$1(r0e,t0e)},[r0e,t0e],function(a0e,o0e){return!$P&&(a0e[0]!==o0e[0]||!isEqual(a0e[1],o0e[1],!0))});return reactExports.createElement(MenuContext$4.Provider,{value:n0e},e0e)}var EmptyList$1=[],PathRegisterContext$1=reactExports.createContext(null);function useMeasure$1(){return reactExports.useContext(PathRegisterContext$1)}var PathTrackerContext$1=reactExports.createContext(EmptyList$1);function useFullPath$1(x_){var e0e=reactExports.useContext(PathTrackerContext$1);return reactExports.useMemo(function(){return x_!==void 0?[].concat(_toConsumableArray$2(e0e),[x_]):e0e},[e0e,x_])}var PathUserContext$1=reactExports.createContext(null),PrivateContext$1=reactExports.createContext({});function focusable(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(isVisible$1(x_)){var $P=x_.nodeName.toLowerCase(),t0e=["input","select","textarea","button"].includes($P)||x_.isContentEditable||$P==="a"&&!!x_.getAttribute("href"),r0e=x_.getAttribute("tabindex"),n0e=Number(r0e),a0e=null;return r0e&&!Number.isNaN(n0e)?a0e=n0e:t0e&&a0e===null&&(a0e=0),t0e&&x_.disabled&&(a0e=null),a0e!==null&&(a0e>=0||e0e&&a0e<0)}return!1}function getFocusNodeList(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=_toConsumableArray$2(x_.querySelectorAll("*")).filter(function(t0e){return focusable(t0e,e0e)});return focusable(x_,e0e)&&$P.unshift(x_),$P}var LEFT$1=KeyCode$1.LEFT,RIGHT$1=KeyCode$1.RIGHT,UP$2=KeyCode$1.UP,DOWN$1=KeyCode$1.DOWN,ENTER$1=KeyCode$1.ENTER,ESC$1=KeyCode$1.ESC,HOME$1=KeyCode$1.HOME,END$1=KeyCode$1.END,ArrowKeys$1=[UP$2,DOWN$1,LEFT$1,RIGHT$1];function getOffset$2(x_,e0e,$P,t0e){var r0e,n0e,a0e,o0e,i0e="prev",s0e="next",l0e="children",c0e="parent";if(x_==="inline"&&t0e===ENTER$1)return{inlineTrigger:!0};var u0e=(r0e={},_defineProperty$5(r0e,UP$2,i0e),_defineProperty$5(r0e,DOWN$1,s0e),r0e),d0e=(n0e={},_defineProperty$5(n0e,LEFT$1,$P?s0e:i0e),_defineProperty$5(n0e,RIGHT$1,$P?i0e:s0e),_defineProperty$5(n0e,DOWN$1,l0e),_defineProperty$5(n0e,ENTER$1,l0e),n0e),p0e=(a0e={},_defineProperty$5(a0e,UP$2,i0e),_defineProperty$5(a0e,DOWN$1,s0e),_defineProperty$5(a0e,ENTER$1,l0e),_defineProperty$5(a0e,ESC$1,c0e),_defineProperty$5(a0e,LEFT$1,$P?l0e:c0e),_defineProperty$5(a0e,RIGHT$1,$P?c0e:l0e),a0e),f0e={inline:u0e,horizontal:d0e,vertical:p0e,inlineSub:u0e,horizontalSub:p0e,verticalSub:p0e},h0e=(o0e=f0e["".concat(x_).concat(e0e?"":"Sub")])===null||o0e===void 0?void 0:o0e[t0e];switch(h0e){case i0e:return{offset:-1,sibling:!0};case s0e:return{offset:1,sibling:!0};case c0e:return{offset:-1,sibling:!1};case l0e:return{offset:1,sibling:!1};default:return null}}function findContainerUL$1(x_){for(var e0e=x_;e0e;){if(e0e.getAttribute("data-menu-list"))return e0e;e0e=e0e.parentElement}return null}function getFocusElement$1(x_,e0e){for(var $P=x_||document.activeElement;$P;){if(e0e.has($P))return $P;$P=$P.parentElement}return null}function getFocusableElements$1(x_,e0e){var $P=getFocusNodeList(x_,!0);return $P.filter(function(t0e){return e0e.has(t0e)})}function getNextFocusElement$1(x_,e0e,$P){var t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!x_)return null;var r0e=getFocusableElements$1(x_,e0e),n0e=r0e.length,a0e=r0e.findIndex(function(o0e){return $P===o0e});return t0e<0?a0e===-1?a0e=n0e-1:a0e-=1:t0e>0&&(a0e+=1),a0e=(a0e+n0e)%n0e,r0e[a0e]}var refreshElements=function(e0e,$P){var t0e=new Set,r0e=new Map,n0e=new Map;return e0e.forEach(function(a0e){var o0e=document.querySelector("[data-menu-id='".concat(getMenuId$1($P,a0e),"']"));o0e&&(t0e.add(o0e),n0e.set(o0e,a0e),r0e.set(a0e,o0e))}),{elements:t0e,key2element:r0e,element2key:n0e}};function useAccessibility$1(x_,e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e,s0e){var l0e=reactExports.useRef(),c0e=reactExports.useRef();c0e.current=e0e;var u0e=function(){wrapperRaf$1.cancel(l0e.current)};return reactExports.useEffect(function(){return function(){u0e()}},[]),function(d0e){var p0e=d0e.which;if([].concat(ArrowKeys$1,[ENTER$1,ESC$1,HOME$1,END$1]).includes(p0e)){var f0e=n0e(),h0e=refreshElements(f0e,t0e),b0e=h0e,m0e=b0e.elements,v0e=b0e.key2element,g0e=b0e.element2key,y0e=v0e.get(e0e),M0e=getFocusElement$1(y0e,m0e),O0e=g0e.get(M0e),z0e=getOffset$2(x_,a0e(O0e,!0).length===1,$P,p0e);if(!z0e&&p0e!==HOME$1&&p0e!==END$1)return;(ArrowKeys$1.includes(p0e)||[HOME$1,END$1].includes(p0e))&&d0e.preventDefault();var _0e=function(T0e){if(T0e){var D0e=T0e,W0e=T0e.querySelector("a");W0e!=null&&W0e.getAttribute("href")&&(D0e=W0e);var k0e=g0e.get(T0e);o0e(k0e),u0e(),l0e.current=wrapperRaf$1(function(){c0e.current===k0e&&D0e.focus()})}};if([HOME$1,END$1].includes(p0e)||z0e.sibling||!M0e){var A0e;!M0e||x_==="inline"?A0e=r0e.current:A0e=findContainerUL$1(M0e);var $0e,S0e=getFocusableElements$1(A0e,m0e);p0e===HOME$1?$0e=S0e[0]:p0e===END$1?$0e=S0e[S0e.length-1]:$0e=getNextFocusElement$1(A0e,m0e,M0e,z0e.offset),_0e($0e)}else if(z0e.inlineTrigger)i0e(O0e);else if(z0e.offset>0)i0e(O0e,!0),u0e(),l0e.current=wrapperRaf$1(function(){h0e=refreshElements(f0e,t0e);var R0e=M0e.getAttribute("aria-controls"),T0e=document.getElementById(R0e),D0e=getNextFocusElement$1(T0e,h0e.elements);_0e(D0e)},5);else if(z0e.offset<0){var C0e=a0e(O0e,!0),E0e=C0e[C0e.length-2],w0e=v0e.get(E0e);i0e(E0e,!1),_0e(w0e)}}s0e==null||s0e(d0e)}}function nextSlice$1(x_){Promise.resolve().then(x_)}var PATH_SPLIT$1="__RC_UTIL_PATH_SPLIT__",getPathStr$1=function(e0e){return e0e.join(PATH_SPLIT$1)},getPathKeys$1=function(e0e){return e0e.split(PATH_SPLIT$1)},OVERFLOW_KEY$1="rc-menu-more";function useKeyRecords$1(){var x_=reactExports.useState({}),e0e=_slicedToArray$3(x_,2),$P=e0e[1],t0e=reactExports.useRef(new Map),r0e=reactExports.useRef(new Map),n0e=reactExports.useState([]),a0e=_slicedToArray$3(n0e,2),o0e=a0e[0],i0e=a0e[1],s0e=reactExports.useRef(0),l0e=reactExports.useRef(!1),c0e=function(){l0e.current||$P({})},u0e=reactExports.useCallback(function(v0e,g0e){var y0e=getPathStr$1(g0e);r0e.current.set(y0e,v0e),t0e.current.set(v0e,y0e),s0e.current+=1;var M0e=s0e.current;nextSlice$1(function(){M0e===s0e.current&&c0e()})},[]),d0e=reactExports.useCallback(function(v0e,g0e){var y0e=getPathStr$1(g0e);r0e.current.delete(y0e),t0e.current.delete(v0e)},[]),p0e=reactExports.useCallback(function(v0e){i0e(v0e)},[]),f0e=reactExports.useCallback(function(v0e,g0e){var y0e=t0e.current.get(v0e)||"",M0e=getPathKeys$1(y0e);return g0e&&o0e.includes(M0e[0])&&M0e.unshift(OVERFLOW_KEY$1),M0e},[o0e]),h0e=reactExports.useCallback(function(v0e,g0e){return v0e.some(function(y0e){var M0e=f0e(y0e,!0);return M0e.includes(g0e)})},[f0e]),b0e=function(){var g0e=_toConsumableArray$2(t0e.current.keys());return o0e.length&&g0e.push(OVERFLOW_KEY$1),g0e},m0e=reactExports.useCallback(function(v0e){var g0e="".concat(t0e.current.get(v0e)).concat(PATH_SPLIT$1),y0e=new Set;return _toConsumableArray$2(r0e.current.keys()).forEach(function(M0e){M0e.startsWith(g0e)&&y0e.add(r0e.current.get(M0e))}),y0e},[]);return reactExports.useEffect(function(){return function(){l0e.current=!0}},[]),{registerPath:u0e,unregisterPath:d0e,refreshOverflowKeys:p0e,isSubPathKey:h0e,getKeyPath:f0e,getKeys:b0e,getSubPathKeys:m0e}}function useMemoCallback$1(x_){var e0e=reactExports.useRef(x_);e0e.current=x_;var $P=reactExports.useCallback(function(){for(var t0e,r0e=arguments.length,n0e=new Array(r0e),a0e=0;a0e1&&(m0e.motionAppear=!1);var v0e=m0e.onVisibleChanged;return m0e.onVisibleChanged=function(g0e){return!u0e.current&&!g0e&&h0e(!0),v0e==null?void 0:v0e(g0e)},f0e?null:reactExports.createElement(InheritableContextProvider$1,{mode:n0e,locked:!u0e.current},reactExports.createElement(CSSMotion,_extends$1z({visible:b0e},m0e,{forceRender:i0e,removeOnLeave:!1,leavedClassName:"".concat(o0e,"-hidden")}),function(g0e){var y0e=g0e.className,M0e=g0e.style;return reactExports.createElement(SubMenuList$1,{id:e0e,className:y0e,style:M0e},r0e)}))}var _excluded$w=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],_excluded2$b=["active"],InternalSubMenu$1=function(e0e){var $P,t0e=e0e.style,r0e=e0e.className,n0e=e0e.title,a0e=e0e.eventKey;e0e.warnKey;var o0e=e0e.disabled,i0e=e0e.internalPopupClose,s0e=e0e.children,l0e=e0e.itemIcon,c0e=e0e.expandIcon,u0e=e0e.popupClassName,d0e=e0e.popupOffset,p0e=e0e.popupStyle,f0e=e0e.onClick,h0e=e0e.onMouseEnter,b0e=e0e.onMouseLeave,m0e=e0e.onTitleClick,v0e=e0e.onTitleMouseEnter,g0e=e0e.onTitleMouseLeave,y0e=_objectWithoutProperties$4(e0e,_excluded$w),M0e=useMenuId$1(a0e),O0e=reactExports.useContext(MenuContext$4),z0e=O0e.prefixCls,_0e=O0e.mode,A0e=O0e.openKeys,$0e=O0e.disabled,S0e=O0e.overflowDisabled,C0e=O0e.activeKey,E0e=O0e.selectedKeys,w0e=O0e.itemIcon,R0e=O0e.expandIcon,T0e=O0e.onItemClick,D0e=O0e.onOpenChange,W0e=O0e.onActive,k0e=reactExports.useContext(PrivateContext$1),q0e=k0e._internalRenderSubMenuItem,N0e=reactExports.useContext(PathUserContext$1),j0e=N0e.isSubPathKey,P0e=useFullPath$1(),I0e="".concat(z0e,"-submenu"),F0e=$0e||o0e,V0e=reactExports.useRef(),H0e=reactExports.useRef(),Q0e=l0e??w0e,Y0e=c0e??R0e,G0e=A0e.includes(a0e),B0e=!S0e&&G0e,U0e=j0e(E0e,a0e),X0e=useActive$1(a0e,F0e,v0e,g0e),Z0e=X0e.active,e1e=_objectWithoutProperties$4(X0e,_excluded2$b),n1e=reactExports.useState(!1),t1e=_slicedToArray$3(n1e,2),r1e=t1e[0],a1e=t1e[1],l1e=function(V1e){F0e||a1e(V1e)},s1e=function(V1e){l1e(!0),h0e==null||h0e({key:a0e,domEvent:V1e})},g1e=function(V1e){l1e(!1),b0e==null||b0e({key:a0e,domEvent:V1e})},$1e=reactExports.useMemo(function(){return Z0e||(_0e!=="inline"?r1e||j0e([C0e],a0e):!1)},[_0e,Z0e,C0e,r1e,a0e,j0e]),_1e=useDirectionStyle$1(P0e.length),p1e=function(V1e){F0e||(m0e==null||m0e({key:a0e,domEvent:V1e}),_0e==="inline"&&D0e(a0e,!G0e))},E1e=useMemoCallback$1(function(G1e){f0e==null||f0e(warnItemProp$1(G1e)),T0e(G1e)}),x1e=function(V1e){_0e!=="inline"&&D0e(a0e,V1e)},O1e=function(){W0e(a0e)},w1e=M0e&&"".concat(M0e,"-popup"),A1e=reactExports.createElement("div",_extends$1z({role:"menuitem",style:_1e,className:"".concat(I0e,"-title"),tabIndex:F0e?null:-1,ref:V0e,title:typeof n0e=="string"?n0e:null,"data-menu-id":S0e&&M0e?null:M0e,"aria-expanded":B0e,"aria-haspopup":!0,"aria-controls":w1e,"aria-disabled":F0e,onClick:p1e,onFocus:O1e},e1e),n0e,reactExports.createElement(Icon$4,{icon:_0e!=="horizontal"?Y0e:void 0,props:_objectSpread2$1(_objectSpread2$1({},e0e),{},{isOpen:B0e,isSubMenu:!0})},reactExports.createElement("i",{className:"".concat(I0e,"-arrow")}))),F1e=reactExports.useRef(_0e);if(_0e!=="inline"&&P0e.length>1?F1e.current="vertical":F1e.current=_0e,!S0e){var J1e=F1e.current;A1e=reactExports.createElement(PopupTrigger$1,{mode:J1e,prefixCls:I0e,visible:!i0e&&B0e&&_0e!=="inline",popupClassName:u0e,popupOffset:d0e,popupStyle:p0e,popup:reactExports.createElement(InheritableContextProvider$1,{mode:J1e==="horizontal"?"vertical":J1e},reactExports.createElement(SubMenuList$1,{id:w1e,ref:H0e},s0e)),disabled:F0e,onVisibleChange:x1e},A1e)}var ame=reactExports.createElement(ForwardOverflow.Item,_extends$1z({role:"none"},y0e,{component:"li",style:t0e,className:cx$1(I0e,"".concat(I0e,"-").concat(_0e),r0e,($P={},_defineProperty$5($P,"".concat(I0e,"-open"),B0e),_defineProperty$5($P,"".concat(I0e,"-active"),$1e),_defineProperty$5($P,"".concat(I0e,"-selected"),U0e),_defineProperty$5($P,"".concat(I0e,"-disabled"),F0e),$P)),onMouseEnter:s1e,onMouseLeave:g1e}),A1e,!S0e&&reactExports.createElement(InlineSubMenuList$1,{id:w1e,open:B0e,keyPath:P0e},s0e));return q0e&&(ame=q0e(ame,e0e,{selected:U0e,active:$1e,open:B0e,disabled:F0e})),reactExports.createElement(InheritableContextProvider$1,{onItemClick:E1e,mode:_0e==="horizontal"?"vertical":_0e,itemIcon:Q0e,expandIcon:Y0e},ame)};function SubMenu$5(x_){var e0e=x_.eventKey,$P=x_.children,t0e=useFullPath$1(e0e),r0e=parseChildren$1($P,t0e),n0e=useMeasure$1();reactExports.useEffect(function(){if(n0e)return n0e.registerPath(e0e,t0e),function(){n0e.unregisterPath(e0e,t0e)}},[t0e]);var a0e;return n0e?a0e=r0e:a0e=reactExports.createElement(InternalSubMenu$1,x_,r0e),reactExports.createElement(PathTrackerContext$1.Provider,{value:t0e},a0e)}var _excluded$v=["className","title","eventKey","children"],_excluded2$a=["children"],InternalMenuItemGroup$1=function(e0e){var $P=e0e.className,t0e=e0e.title;e0e.eventKey;var r0e=e0e.children,n0e=_objectWithoutProperties$4(e0e,_excluded$v),a0e=reactExports.useContext(MenuContext$4),o0e=a0e.prefixCls,i0e="".concat(o0e,"-item-group");return reactExports.createElement("li",_extends$1z({role:"presentation"},n0e,{onClick:function(l0e){return l0e.stopPropagation()},className:cx$1(i0e,$P)}),reactExports.createElement("div",{role:"presentation",className:"".concat(i0e,"-title"),title:typeof t0e=="string"?t0e:void 0},t0e),reactExports.createElement("ul",{role:"group",className:"".concat(i0e,"-list")},r0e))};function MenuItemGroup$1(x_){var e0e=x_.children,$P=_objectWithoutProperties$4(x_,_excluded2$a),t0e=useFullPath$1($P.eventKey),r0e=parseChildren$1(e0e,t0e),n0e=useMeasure$1();return n0e?r0e:reactExports.createElement(InternalMenuItemGroup$1,omit$2($P,["warnKey"]),r0e)}function Divider$4(x_){var e0e=x_.className,$P=x_.style,t0e=reactExports.useContext(MenuContext$4),r0e=t0e.prefixCls,n0e=useMeasure$1();return n0e?null:reactExports.createElement("li",{role:"separator",className:cx$1("".concat(r0e,"-item-divider"),e0e),style:$P})}var _excluded$u=["label","children","key","type"];function convertItemsToNodes$3(x_){return(x_||[]).map(function(e0e,$P){if(e0e&&_typeof$2(e0e)==="object"){var t0e=e0e,r0e=t0e.label,n0e=t0e.children,a0e=t0e.key,o0e=t0e.type,i0e=_objectWithoutProperties$4(t0e,_excluded$u),s0e=a0e??"tmp-".concat($P);return n0e||o0e==="group"?o0e==="group"?reactExports.createElement(MenuItemGroup$1,_extends$1z({key:s0e},i0e,{title:r0e}),convertItemsToNodes$3(n0e)):reactExports.createElement(SubMenu$5,_extends$1z({key:s0e},i0e,{title:r0e}),convertItemsToNodes$3(n0e)):o0e==="divider"?reactExports.createElement(Divider$4,_extends$1z({key:s0e},i0e)):reactExports.createElement(MenuItem$5,_extends$1z({key:s0e},i0e),r0e)}return null}).filter(function(e0e){return e0e})}function parseItems$1(x_,e0e,$P){var t0e=x_;return e0e&&(t0e=convertItemsToNodes$3(e0e)),parseChildren$1(t0e,$P)}var _excluded$t=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],EMPTY_LIST$2=[],Menu$5=reactExports.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_,n0e=r0e.prefixCls,a0e=n0e===void 0?"rc-menu":n0e,o0e=r0e.rootClassName,i0e=r0e.style,s0e=r0e.className,l0e=r0e.tabIndex,c0e=l0e===void 0?0:l0e,u0e=r0e.items,d0e=r0e.children,p0e=r0e.direction,f0e=r0e.id,h0e=r0e.mode,b0e=h0e===void 0?"vertical":h0e,m0e=r0e.inlineCollapsed,v0e=r0e.disabled,g0e=r0e.disabledOverflow,y0e=r0e.subMenuOpenDelay,M0e=y0e===void 0?.1:y0e,O0e=r0e.subMenuCloseDelay,z0e=O0e===void 0?.1:O0e,_0e=r0e.forceSubMenuRender,A0e=r0e.defaultOpenKeys,$0e=r0e.openKeys,S0e=r0e.activeKey,C0e=r0e.defaultActiveFirst,E0e=r0e.selectable,w0e=E0e===void 0?!0:E0e,R0e=r0e.multiple,T0e=R0e===void 0?!1:R0e,D0e=r0e.defaultSelectedKeys,W0e=r0e.selectedKeys,k0e=r0e.onSelect,q0e=r0e.onDeselect,N0e=r0e.inlineIndent,j0e=N0e===void 0?24:N0e,P0e=r0e.motion,I0e=r0e.defaultMotions,F0e=r0e.triggerSubMenuAction,V0e=F0e===void 0?"hover":F0e,H0e=r0e.builtinPlacements,Q0e=r0e.itemIcon,Y0e=r0e.expandIcon,G0e=r0e.overflowedIndicator,B0e=G0e===void 0?"...":G0e,U0e=r0e.overflowedIndicatorPopupClassName,X0e=r0e.getPopupContainer,Z0e=r0e.onClick,e1e=r0e.onOpenChange,n1e=r0e.onKeyDown;r0e.openAnimation,r0e.openTransitionName;var t1e=r0e._internalRenderMenuItem,r1e=r0e._internalRenderSubMenuItem,a1e=_objectWithoutProperties$4(r0e,_excluded$t),l1e=reactExports.useMemo(function(){return parseItems$1(d0e,u0e,EMPTY_LIST$2)},[d0e,u0e]),s1e=reactExports.useState(!1),g1e=_slicedToArray$3(s1e,2),$1e=g1e[0],_1e=g1e[1],p1e=reactExports.useRef(),E1e=useUUID$1(f0e),x1e=p0e==="rtl",O1e=useMergedState(A0e,{value:$0e,postState:function(h1e){return h1e||EMPTY_LIST$2}}),w1e=_slicedToArray$3(O1e,2),A1e=w1e[0],F1e=w1e[1],J1e=function(h1e){var C1e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function R1e(){F1e(h1e),e1e==null||e1e(h1e)}C1e?reactDomExports.flushSync(R1e):R1e()},ame=reactExports.useState(A1e),G1e=_slicedToArray$3(ame,2),V1e=G1e[0],cme=G1e[1],ume=reactExports.useRef(!1),Y1e=reactExports.useMemo(function(){return(b0e==="inline"||b0e==="vertical")&&m0e?["vertical",m0e]:[b0e,!1]},[b0e,m0e]),k1e=_slicedToArray$3(Y1e,2),ime=k1e[0],I1e=k1e[1],j1e=ime==="inline",H1e=reactExports.useState(ime),W1e=_slicedToArray$3(H1e,2),Q1e=W1e[0],K1e=W1e[1],rme=reactExports.useState(I1e),L1e=_slicedToArray$3(rme,2),Z1e=L1e[0],U1e=L1e[1];reactExports.useEffect(function(){K1e(ime),U1e(I1e),ume.current&&(j1e?F1e(V1e):J1e(EMPTY_LIST$2))},[ime,I1e]);var D1e=reactExports.useState(0),q1e=_slicedToArray$3(D1e,2),pme=q1e[0],$me=q1e[1],fme=pme>=l1e.length-1||Q1e!=="horizontal"||g0e;reactExports.useEffect(function(){j1e&&cme(A1e)},[A1e]),reactExports.useEffect(function(){return ume.current=!0,function(){ume.current=!1}},[]);var mme=useKeyRecords$1(),lme=mme.registerPath,Ome=mme.unregisterPath,bme=mme.refreshOverflowKeys,d1e=mme.isSubPathKey,b1e=mme.getKeyPath,S1e=mme.getKeys,N1e=mme.getSubPathKeys,nme=reactExports.useMemo(function(){return{registerPath:lme,unregisterPath:Ome}},[lme,Ome]),ome=reactExports.useMemo(function(){return{isSubPathKey:d1e}},[d1e]);reactExports.useEffect(function(){bme(fme?EMPTY_LIST$2:l1e.slice(pme+1).map(function(u1e){return u1e.key}))},[pme,fme]);var m1e=useMergedState(S0e||C0e&&(($P=l1e[0])===null||$P===void 0?void 0:$P.key),{value:S0e}),T1e=_slicedToArray$3(m1e,2),B1e=T1e[0],eme=T1e[1],sme=useMemoCallback$1(function(u1e){eme(u1e)}),gme=useMemoCallback$1(function(){eme(void 0)});reactExports.useImperativeHandle(e0e,function(){return{list:p1e.current,focus:function(h1e){var C1e,R1e=S1e(),X1e=refreshElements(R1e,E1e),dme=X1e.elements,Mme=X1e.key2element,Cme=X1e.element2key,qme=getFocusableElements$1(p1e.current,dme),Ime=B1e??(qme[0]?Cme.get(qme[0]):(C1e=l1e.find(function(Kme){return!Kme.props.disabled}))===null||C1e===void 0?void 0:C1e.key),Fme=Mme.get(Ime);if(Ime&&Fme){var Lme;Fme==null||(Lme=Fme.focus)===null||Lme===void 0||Lme.call(Fme,h1e)}}}});var zme=useMergedState(D0e||[],{value:W0e,postState:function(h1e){return Array.isArray(h1e)?h1e:h1e==null?EMPTY_LIST$2:[h1e]}}),yme=_slicedToArray$3(zme,2),Ame=yme[0],xme=yme[1],Tme=function(h1e){if(w0e){var C1e=h1e.key,R1e=Ame.includes(C1e),X1e;T0e?R1e?X1e=Ame.filter(function(Mme){return Mme!==C1e}):X1e=[].concat(_toConsumableArray$2(Ame),[C1e]):X1e=[C1e],xme(X1e);var dme=_objectSpread2$1(_objectSpread2$1({},h1e),{},{selectedKeys:X1e});R1e?q0e==null||q0e(dme):k0e==null||k0e(dme)}!T0e&&A1e.length&&Q1e!=="inline"&&J1e(EMPTY_LIST$2)},wme=useMemoCallback$1(function(u1e){Z0e==null||Z0e(warnItemProp$1(u1e)),Tme(u1e)}),v1e=useMemoCallback$1(function(u1e,h1e){var C1e=A1e.filter(function(X1e){return X1e!==u1e});if(h1e)C1e.push(u1e);else if(Q1e!=="inline"){var R1e=N1e(u1e);C1e=C1e.filter(function(X1e){return!R1e.has(X1e)})}isEqual(A1e,C1e,!0)||J1e(C1e,!0)}),f1e=function(h1e,C1e){var R1e=C1e??!A1e.includes(h1e);v1e(h1e,R1e)},i1e=useAccessibility$1(Q1e,B1e,x1e,E1e,p1e,S1e,b1e,eme,f1e,n1e);reactExports.useEffect(function(){_1e(!0)},[]);var c1e=reactExports.useMemo(function(){return{_internalRenderMenuItem:t1e,_internalRenderSubMenuItem:r1e}},[t1e,r1e]),z1e=Q1e!=="horizontal"||g0e?l1e:l1e.map(function(u1e,h1e){return reactExports.createElement(InheritableContextProvider$1,{key:u1e.key,overflowDisabled:h1e>pme},u1e)}),y1e=reactExports.createElement(ForwardOverflow,_extends$1z({id:f0e,ref:p1e,prefixCls:"".concat(a0e,"-overflow"),component:"ul",itemComponent:MenuItem$5,className:cx$1(a0e,"".concat(a0e,"-root"),"".concat(a0e,"-").concat(Q1e),s0e,(t0e={},_defineProperty$5(t0e,"".concat(a0e,"-inline-collapsed"),Z1e),_defineProperty$5(t0e,"".concat(a0e,"-rtl"),x1e),t0e),o0e),dir:p0e,style:i0e,role:"menu",tabIndex:c0e,data:z1e,renderRawItem:function(h1e){return h1e},renderRawRest:function(h1e){var C1e=h1e.length,R1e=C1e?l1e.slice(-C1e):null;return reactExports.createElement(SubMenu$5,{eventKey:OVERFLOW_KEY$1,title:B0e,disabled:fme,internalPopupClose:C1e===0,popupClassName:U0e},R1e)},maxCount:Q1e!=="horizontal"||g0e?ForwardOverflow.INVALIDATE:ForwardOverflow.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(h1e){$me(h1e)},onKeyDown:i1e},a1e));return reactExports.createElement(PrivateContext$1.Provider,{value:c1e},reactExports.createElement(IdContext$1.Provider,{value:E1e},reactExports.createElement(InheritableContextProvider$1,{prefixCls:a0e,rootClassName:o0e,mode:Q1e,openKeys:A1e,rtl:x1e,disabled:v0e,motion:$1e?P0e:null,defaultMotions:$1e?I0e:null,activeKey:B1e,onActive:sme,onInactive:gme,selectedKeys:Ame,inlineIndent:j0e,subMenuOpenDelay:M0e,subMenuCloseDelay:z0e,forceSubMenuRender:_0e,builtinPlacements:H0e,triggerSubMenuAction:V0e,getPopupContainer:X0e,itemIcon:Q0e,expandIcon:Y0e,onItemClick:wme,onOpenChange:v1e},reactExports.createElement(PathUserContext$1.Provider,{value:ome},y1e),reactExports.createElement("div",{style:{display:"none"},"aria-hidden":!0},reactExports.createElement(PathRegisterContext$1.Provider,{value:nme},l1e)))))}),ExportMenu$1=Menu$5;ExportMenu$1.Item=MenuItem$5;ExportMenu$1.SubMenu=SubMenu$5;ExportMenu$1.ItemGroup=MenuItemGroup$1;ExportMenu$1.Divider=Divider$4;var BarsOutlined$2={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"};const BarsOutlinedSvg=BarsOutlined$2;var BarsOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:BarsOutlinedSvg}))};const BarsOutlined$1=reactExports.forwardRef(BarsOutlined);var LeftOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"};const LeftOutlinedSvg=LeftOutlined$2;var LeftOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:LeftOutlinedSvg}))};const LeftOutlined$1=reactExports.forwardRef(LeftOutlined),isNumeric$1=x_=>!isNaN(parseFloat(x_))&&isFinite(x_),isNumeric$2=isNumeric$1,LayoutContext=reactExports.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var __rest$G=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let x_=0;return function(){let e0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x_+=1,`${e0e}${x_}`}})(),Sider$3=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,className:t0e,trigger:r0e,children:n0e,defaultCollapsed:a0e=!1,theme:o0e="dark",style:i0e={},collapsible:s0e=!1,reverseArrow:l0e=!1,width:c0e=200,collapsedWidth:u0e=80,zeroWidthTriggerStyle:d0e,breakpoint:p0e,onCollapse:f0e,onBreakpoint:h0e}=x_,b0e=__rest$G(x_,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:m0e}=reactExports.useContext(LayoutContext),[v0e,g0e]=reactExports.useState("collapsed"in x_?x_.collapsed:a0e),[y0e,M0e]=reactExports.useState(!1);reactExports.useEffect(()=>{"collapsed"in x_&&g0e(x_.collapsed)},[x_.collapsed]);const O0e=(C0e,E0e)=>{"collapsed"in x_||g0e(C0e),f0e==null||f0e(C0e,E0e)},z0e=reactExports.useRef();z0e.current=C0e=>{M0e(C0e.matches),h0e==null||h0e(C0e.matches),v0e!==C0e.matches&&O0e(C0e.matches,"responsive")},reactExports.useEffect(()=>{function C0e(w0e){return z0e.current(w0e)}let E0e;if(typeof window<"u"){const{matchMedia:w0e}=window;if(w0e&&p0e&&p0e in dimensionMaxMap){E0e=w0e(`(max-width: ${dimensionMaxMap[p0e]})`);try{E0e.addEventListener("change",C0e)}catch{E0e.addListener(C0e)}C0e(E0e)}}return()=>{try{E0e==null||E0e.removeEventListener("change",C0e)}catch{E0e==null||E0e.removeListener(C0e)}}},[p0e]),reactExports.useEffect(()=>{const C0e=generateId$2("ant-sider-");return m0e.addSider(C0e),()=>m0e.removeSider(C0e)},[]);const _0e=()=>{O0e(!v0e,"clickTrigger")},{getPrefixCls:A0e}=reactExports.useContext(ConfigContext),$0e=()=>{const C0e=A0e("layout-sider",$P),E0e=omit$2(b0e,["collapsed"]),w0e=v0e?u0e:c0e,R0e=isNumeric$2(w0e)?`${w0e}px`:String(w0e),T0e=parseFloat(String(u0e||0))===0?reactExports.createElement("span",{onClick:_0e,className:cx$1(`${C0e}-zero-width-trigger`,`${C0e}-zero-width-trigger-${l0e?"right":"left"}`),style:d0e},r0e||reactExports.createElement(BarsOutlined$1,null)):null,k0e={expanded:l0e?reactExports.createElement(RightOutlined$1,null):reactExports.createElement(LeftOutlined$1,null),collapsed:l0e?reactExports.createElement(LeftOutlined$1,null):reactExports.createElement(RightOutlined$1,null)}[v0e?"collapsed":"expanded"],q0e=r0e!==null?T0e||reactExports.createElement("div",{className:`${C0e}-trigger`,onClick:_0e,style:{width:R0e}},r0e||k0e):null,N0e=Object.assign(Object.assign({},i0e),{flex:`0 0 ${R0e}`,maxWidth:R0e,minWidth:R0e,width:R0e}),j0e=cx$1(C0e,`${C0e}-${o0e}`,{[`${C0e}-collapsed`]:!!v0e,[`${C0e}-has-trigger`]:s0e&&r0e!==null&&!T0e,[`${C0e}-below`]:!!y0e,[`${C0e}-zero-width`]:parseFloat(R0e)===0},t0e);return reactExports.createElement("aside",Object.assign({className:j0e},E0e,{style:N0e,ref:e0e}),reactExports.createElement("div",{className:`${C0e}-children`},n0e),s0e||y0e&&T0e?q0e:null)},S0e=reactExports.useMemo(()=>({siderCollapsed:v0e}),[v0e]);return reactExports.createElement(SiderContext.Provider,{value:S0e},$0e())}),Sider$4=Sider$3;var __rest$F=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,className:$P,dashed:t0e}=x_,r0e=__rest$F(x_,["prefixCls","className","dashed"]),{getPrefixCls:n0e}=reactExports.useContext(ConfigContext),a0e=n0e("menu",e0e),o0e=cx$1({[`${a0e}-item-divider-dashed`]:!!t0e},$P);return reactExports.createElement(Divider$4,Object.assign({className:o0e},r0e))},MenuDivider$1=MenuDivider,MenuContext$2=reactExports.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),MenuContext$3=MenuContext$2,MenuItem$3=x_=>{var e0e;const{className:$P,children:t0e,icon:r0e,title:n0e,danger:a0e}=x_,{prefixCls:o0e,firstLevel:i0e,direction:s0e,disableMenuItemTitleTooltip:l0e,inlineCollapsed:c0e}=reactExports.useContext(MenuContext$3),u0e=m0e=>{const v0e=reactExports.createElement("span",{className:`${o0e}-title-content`},t0e);return(!r0e||isValidElement(t0e)&&t0e.type==="span")&&t0e&&m0e&&i0e&&typeof t0e=="string"?reactExports.createElement("div",{className:`${o0e}-inline-collapsed-noicon`},t0e.charAt(0)):v0e},{siderCollapsed:d0e}=reactExports.useContext(SiderContext);let p0e=n0e;typeof n0e>"u"?p0e=i0e?t0e:"":n0e===!1&&(p0e="");const f0e={title:p0e};!d0e&&!c0e&&(f0e.title=null,f0e.open=!1);const h0e=toArray$6(t0e).length;let b0e=reactExports.createElement(MenuItem$5,Object.assign({},omit$2(x_,["title","icon","danger"]),{className:cx$1({[`${o0e}-item-danger`]:a0e,[`${o0e}-item-only-child`]:(r0e?h0e+1:h0e)===1},$P),title:typeof n0e=="string"?n0e:void 0}),cloneElement(r0e,{className:cx$1(isValidElement(r0e)?(e0e=r0e.props)===null||e0e===void 0?void 0:e0e.className:"",`${o0e}-item-icon`)}),u0e(c0e));return l0e||(b0e=reactExports.createElement(Tooltip$3,Object.assign({},f0e,{placement:s0e==="rtl"?"left":"right",overlayClassName:`${o0e}-inline-collapsed-tooltip`}),b0e)),b0e},Item$5=MenuItem$3,SubMenu$3=x_=>{var e0e;const{popupClassName:$P,icon:t0e,title:r0e,theme:n0e}=x_,a0e=reactExports.useContext(MenuContext$3),{prefixCls:o0e,inlineCollapsed:i0e,theme:s0e}=a0e,l0e=useFullPath$1();let c0e;if(!t0e)c0e=i0e&&!l0e.length&&r0e&&typeof r0e=="string"?reactExports.createElement("div",{className:`${o0e}-inline-collapsed-noicon`},r0e.charAt(0)):reactExports.createElement("span",{className:`${o0e}-title-content`},r0e);else{const p0e=isValidElement(r0e)&&r0e.type==="span";c0e=reactExports.createElement(reactExports.Fragment,null,cloneElement(t0e,{className:cx$1(isValidElement(t0e)?(e0e=t0e.props)===null||e0e===void 0?void 0:e0e.className:"",`${o0e}-item-icon`)}),p0e?r0e:reactExports.createElement("span",{className:`${o0e}-title-content`},r0e))}const u0e=reactExports.useMemo(()=>Object.assign(Object.assign({},a0e),{firstLevel:!1}),[a0e]),[d0e]=useZIndex("Menu");return reactExports.createElement(MenuContext$3.Provider,{value:u0e},reactExports.createElement(SubMenu$5,Object.assign({},omit$2(x_,["icon"]),{title:c0e,popupClassName:cx$1(o0e,$P,`${o0e}-${n0e||s0e}`),popupStyle:{zIndex:d0e}})))},SubMenu$4=SubMenu$3;var EllipsisOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"};const EllipsisOutlinedSvg=EllipsisOutlined$2;var EllipsisOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:EllipsisOutlinedSvg}))};const EllipsisOutlined$1=reactExports.forwardRef(EllipsisOutlined);var __rest$E=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(e0e&&typeof e0e=="object"){const t0e=e0e,{label:r0e,children:n0e,key:a0e,type:o0e}=t0e,i0e=__rest$E(t0e,["label","children","key","type"]),s0e=a0e??`tmp-${$P}`;return n0e||o0e==="group"?o0e==="group"?reactExports.createElement(MenuItemGroup$1,Object.assign({key:s0e},i0e,{title:r0e}),convertItemsToNodes$2(n0e)):reactExports.createElement(SubMenu$4,Object.assign({key:s0e},i0e,{title:r0e}),convertItemsToNodes$2(n0e)):o0e==="divider"?reactExports.createElement(MenuDivider$1,Object.assign({key:s0e},i0e)):reactExports.createElement(Item$5,Object.assign({key:s0e},i0e),r0e)}return null}).filter(e0e=>e0e)}function useItems$2(x_){return reactExports.useMemo(()=>x_&&convertItemsToNodes$2(x_),[x_])}var __rest$D=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{children:$P}=x_,t0e=__rest$D(x_,["children"]),r0e=reactExports.useContext(OverrideContext),n0e=reactExports.useMemo(()=>Object.assign(Object.assign({},r0e),t0e),[r0e,t0e.prefixCls,t0e.mode,t0e.selectable,t0e.rootClassName]),a0e=supportNodeRef($P),o0e=useComposeRef(e0e,a0e?$P.ref:null);return reactExports.createElement(OverrideContext.Provider,{value:n0e},reactExports.createElement(NoCompactStyle,null,a0e?reactExports.cloneElement($P,{ref:o0e}):$P))}),OverrideContext$1=OverrideContext,getHorizontalStyle=x_=>{const{componentCls:e0e,motionDurationSlow:$P,horizontalLineHeight:t0e,colorSplit:r0e,lineWidth:n0e,lineType:a0e,itemPaddingInline:o0e}=x_;return{[`${e0e}-horizontal`]:{lineHeight:t0e,border:0,borderBottom:`${unit$1(n0e)} ${a0e} ${r0e}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${e0e}-item, ${e0e}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:o0e},[`> ${e0e}-item:hover, > ${e0e}-item-active, > ${e0e}-submenu ${e0e}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${e0e}-item, ${e0e}-submenu-title`]:{transition:[`border-color ${$P}`,`background ${$P}`].join(",")},[`${e0e}-submenu-arrow`]:{display:"none"}}}},getHorizontalStyle$1=getHorizontalStyle,getRTLStyle=x_=>{let{componentCls:e0e,menuArrowOffset:$P,calc:t0e}=x_;return{[`${e0e}-rtl`]:{direction:"rtl"},[`${e0e}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${e0e}-rtl${e0e}-vertical, ${e0e}-submenu-rtl ${e0e}-vertical`]:{[`${e0e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${unit$1(t0e($P).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${unit$1($P)})`}}}}},getRTLStyle$1=getRTLStyle,accessibilityFocus=x_=>Object.assign({},genFocusOutline(x_)),getThemeStyle=(x_,e0e)=>{const{componentCls:$P,itemColor:t0e,itemSelectedColor:r0e,groupTitleColor:n0e,itemBg:a0e,subMenuItemBg:o0e,itemSelectedBg:i0e,activeBarHeight:s0e,activeBarWidth:l0e,activeBarBorderWidth:c0e,motionDurationSlow:u0e,motionEaseInOut:d0e,motionEaseOut:p0e,itemPaddingInline:f0e,motionDurationMid:h0e,itemHoverColor:b0e,lineType:m0e,colorSplit:v0e,itemDisabledColor:g0e,dangerItemColor:y0e,dangerItemHoverColor:M0e,dangerItemSelectedColor:O0e,dangerItemActiveBg:z0e,dangerItemSelectedBg:_0e,itemHoverBg:A0e,itemActiveBg:$0e,menuSubMenuBg:S0e,horizontalItemSelectedColor:C0e,horizontalItemSelectedBg:E0e,horizontalItemBorderRadius:w0e,horizontalItemHoverBg:R0e,popupBg:T0e}=x_;return{[`${$P}-${e0e}, ${$P}-${e0e} > ${$P}`]:{color:t0e,background:a0e,[`&${$P}-root:focus-visible`]:Object.assign({},accessibilityFocus(x_)),[`${$P}-item-group-title`]:{color:n0e},[`${$P}-submenu-selected`]:{[`> ${$P}-submenu-title`]:{color:r0e}},[`${$P}-item-disabled, ${$P}-submenu-disabled`]:{color:`${g0e} !important`},[`${$P}-item:not(${$P}-item-selected):not(${$P}-submenu-selected)`]:{[`&:hover, > ${$P}-submenu-title:hover`]:{color:b0e}},[`&:not(${$P}-horizontal)`]:{[`${$P}-item:not(${$P}-item-selected)`]:{"&:hover":{backgroundColor:A0e},"&:active":{backgroundColor:$0e}},[`${$P}-submenu-title`]:{"&:hover":{backgroundColor:A0e},"&:active":{backgroundColor:$0e}}},[`${$P}-item-danger`]:{color:y0e,[`&${$P}-item:hover`]:{[`&:not(${$P}-item-selected):not(${$P}-submenu-selected)`]:{color:M0e}},[`&${$P}-item:active`]:{background:z0e}},[`${$P}-item a`]:{"&, &:hover":{color:"inherit"}},[`${$P}-item-selected`]:{color:r0e,[`&${$P}-item-danger`]:{color:O0e},"a, a:hover":{color:"inherit"}},[`& ${$P}-item-selected`]:{backgroundColor:i0e,[`&${$P}-item-danger`]:{backgroundColor:_0e}},[`${$P}-item, ${$P}-submenu-title`]:{[`&:not(${$P}-item-disabled):focus-visible`]:Object.assign({},accessibilityFocus(x_))},[`&${$P}-submenu > ${$P}`]:{backgroundColor:S0e},[`&${$P}-popup > ${$P}`]:{backgroundColor:T0e},[`&${$P}-horizontal`]:Object.assign(Object.assign({},e0e==="dark"?{borderBottom:0}:{}),{[`> ${$P}-item, > ${$P}-submenu`]:{top:c0e,marginTop:x_.calc(c0e).mul(-1).equal(),marginBottom:0,borderRadius:w0e,"&::after":{position:"absolute",insetInline:f0e,bottom:0,borderBottom:`${unit$1(s0e)} solid transparent`,transition:`border-color ${u0e} ${d0e}`,content:'""'},"&:hover, &-active, &-open":{background:R0e,"&::after":{borderBottomWidth:s0e,borderBottomColor:C0e}},"&-selected":{color:C0e,backgroundColor:E0e,"&:hover":{backgroundColor:E0e},"&::after":{borderBottomWidth:s0e,borderBottomColor:C0e}}}}),[`&${$P}-root`]:{[`&${$P}-inline, &${$P}-vertical`]:{borderInlineEnd:`${unit$1(c0e)} ${m0e} ${v0e}`}},[`&${$P}-inline`]:{[`${$P}-sub${$P}-inline`]:{background:o0e},[`${$P}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${unit$1(l0e)} solid ${r0e}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h0e} ${p0e}`,`opacity ${h0e} ${p0e}`].join(","),content:'""'},[`&${$P}-item-danger`]:{"&::after":{borderInlineEndColor:O0e}}},[`${$P}-selected, ${$P}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h0e} ${d0e}`,`opacity ${h0e} ${d0e}`].join(",")}}}}}},getThemeStyle$1=getThemeStyle,getVerticalInlineStyle=x_=>{const{componentCls:e0e,itemHeight:$P,itemMarginInline:t0e,padding:r0e,menuArrowSize:n0e,marginXS:a0e,itemMarginBlock:o0e,itemWidth:i0e}=x_,s0e=x_.calc(n0e).add(r0e).add(a0e).equal();return{[`${e0e}-item`]:{position:"relative",overflow:"hidden"},[`${e0e}-item, ${e0e}-submenu-title`]:{height:$P,lineHeight:unit$1($P),paddingInline:r0e,overflow:"hidden",textOverflow:"ellipsis",marginInline:t0e,marginBlock:o0e,width:i0e},[`> ${e0e}-item, @@ -312,7 +312,7 @@ html body { ${n0e}, ${a0e}, ${o0e} - `]:Object.assign({},genSkeletonColor(x_))}}},prepareComponentToken$b=x_=>{const{colorFillContent:e0e,colorFill:$P}=x_,t0e=e0e,r0e=$P;return{color:t0e,colorGradientEnd:r0e,gradientFromColor:t0e,gradientToColor:r0e,titleHeight:x_.controlHeight/2,blockRadius:x_.borderRadiusSM,paragraphMarginTop:x_.marginLG+x_.marginXXS,paragraphLiHeight:x_.controlHeight/2}},useStyle$d=genStyleHooks("Skeleton",x_=>{const{componentCls:e0e,calc:$P}=x_,t0e=merge$2(x_,{skeletonAvatarCls:`${e0e}-avatar`,skeletonTitleCls:`${e0e}-title`,skeletonParagraphCls:`${e0e}-paragraph`,skeletonButtonCls:`${e0e}-button`,skeletonInputCls:`${e0e}-input`,skeletonImageCls:`${e0e}-image`,imageSizeBase:$P(x_.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${x_.gradientFromColor} 25%, ${x_.gradientToColor} 37%, ${x_.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[genBaseStyle$1(t0e)]},prepareComponentToken$b,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),SkeletonAvatar=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,shape:n0e="circle",size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls","className"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-avatar`,shape:n0e,size:a0e},c0e))))},SkeletonAvatar$1=SkeletonAvatar,SkeletonButton=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,block:n0e=!1,size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e,[`${i0e}-block`]:n0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-button`,size:a0e},c0e))))},SkeletonButton$1=SkeletonButton,path="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",SkeletonImage=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,style:r0e,active:n0e}=x_,{getPrefixCls:a0e}=reactExports.useContext(ConfigContext),o0e=a0e("skeleton",e0e),[i0e,s0e]=useStyle$d(o0e),l0e=cx$1(o0e,`${o0e}-element`,{[`${o0e}-active`]:n0e},$P,t0e,s0e);return i0e(reactExports.createElement("div",{className:l0e},reactExports.createElement("div",{className:cx$1(`${o0e}-image`,$P),style:r0e},reactExports.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${o0e}-image-svg`},reactExports.createElement("path",{d:path,className:`${o0e}-image-path`})))))},SkeletonImage$1=SkeletonImage,SkeletonInput=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,block:n0e,size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e,[`${i0e}-block`]:n0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-input`,size:a0e},c0e))))},SkeletonInput$1=SkeletonInput;var DotChartOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const DotChartOutlinedSvg=DotChartOutlined$2;var DotChartOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:DotChartOutlinedSvg}))};const DotChartOutlined$1=reactExports.forwardRef(DotChartOutlined),SkeletonNode=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,style:r0e,active:n0e,children:a0e}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:n0e},l0e,$P,t0e),u0e=a0e??reactExports.createElement(DotChartOutlined$1,null);return s0e(reactExports.createElement("div",{className:c0e},reactExports.createElement("div",{className:cx$1(`${i0e}-image`,$P),style:r0e},u0e)))},SkeletonNode$1=SkeletonNode,Paragraph=x_=>{const e0e=o0e=>{const{width:i0e,rows:s0e=2}=x_;if(Array.isArray(i0e))return i0e[o0e];if(s0e-1===o0e)return i0e},{prefixCls:$P,className:t0e,style:r0e,rows:n0e}=x_,a0e=_toConsumableArray$2(Array(n0e)).map((o0e,i0e)=>reactExports.createElement("li",{key:i0e,style:{width:e0e(i0e)}}));return reactExports.createElement("ul",{className:cx$1($P,t0e),style:r0e},a0e)},Paragraph$1=Paragraph,Title=x_=>{let{prefixCls:e0e,className:$P,width:t0e,style:r0e}=x_;return reactExports.createElement("h3",{className:cx$1(e0e,$P),style:Object.assign({width:t0e},r0e)})},Title$1=Title;function getComponentProps(x_){return x_&&typeof x_=="object"?x_:{}}function getAvatarBasicProps(x_,e0e){return x_&&!e0e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function getTitleBasicProps(x_,e0e){return!x_&&e0e?{width:"38%"}:x_&&e0e?{width:"50%"}:{}}function getParagraphBasicProps(x_,e0e){const $P={};return(!x_||!e0e)&&($P.width="61%"),!x_&&e0e?$P.rows=3:$P.rows=2,$P}const Skeleton=x_=>{const{prefixCls:e0e,loading:$P,className:t0e,rootClassName:r0e,style:n0e,children:a0e,avatar:o0e=!1,title:i0e=!0,paragraph:s0e=!0,active:l0e,round:c0e}=x_,{getPrefixCls:u0e,direction:d0e,skeleton:p0e}=reactExports.useContext(ConfigContext),f0e=u0e("skeleton",e0e),[h0e,b0e]=useStyle$d(f0e);if($P||!("loading"in x_)){const m0e=!!o0e,v0e=!!i0e,g0e=!!s0e;let y0e;if(m0e){const z0e=Object.assign(Object.assign({prefixCls:`${f0e}-avatar`},getAvatarBasicProps(v0e,g0e)),getComponentProps(o0e));y0e=reactExports.createElement("div",{className:`${f0e}-header`},reactExports.createElement(Element$3,Object.assign({},z0e)))}let M0e;if(v0e||g0e){let z0e;if(v0e){const A0e=Object.assign(Object.assign({prefixCls:`${f0e}-title`},getTitleBasicProps(m0e,g0e)),getComponentProps(i0e));z0e=reactExports.createElement(Title$1,Object.assign({},A0e))}let _0e;if(g0e){const A0e=Object.assign(Object.assign({prefixCls:`${f0e}-paragraph`},getParagraphBasicProps(m0e,v0e)),getComponentProps(s0e));_0e=reactExports.createElement(Paragraph$1,Object.assign({},A0e))}M0e=reactExports.createElement("div",{className:`${f0e}-content`},z0e,_0e)}const O0e=cx$1(f0e,{[`${f0e}-with-avatar`]:m0e,[`${f0e}-active`]:l0e,[`${f0e}-rtl`]:d0e==="rtl",[`${f0e}-round`]:c0e},p0e==null?void 0:p0e.className,t0e,r0e,b0e);return h0e(reactExports.createElement("div",{className:O0e,style:Object.assign(Object.assign({},p0e==null?void 0:p0e.style),n0e)},y0e,M0e))}return typeof a0e<"u"?a0e:null};Skeleton.Button=SkeletonButton$1;Skeleton.Avatar=SkeletonAvatar$1;Skeleton.Input=SkeletonInput$1;Skeleton.Image=SkeletonImage$1;Skeleton.Node=SkeletonNode$1;const Skeleton$1=Skeleton;var PlusOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const PlusOutlinedSvg=PlusOutlined$2;var PlusOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:PlusOutlinedSvg}))};const PlusOutlined$1=reactExports.forwardRef(PlusOutlined);function useAnimateConfig$1(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},e0e;return x_===!1?e0e={inkBar:!1,tabPane:!1}:x_===!0?e0e={inkBar:!0,tabPane:!1}:e0e=_objectSpread2$1({inkBar:!0},_typeof$2(x_)==="object"?x_:{}),e0e.tabPaneMotion&&e0e.tabPane===void 0&&(e0e.tabPane=!0),!e0e.tabPaneMotion&&e0e.tabPane&&(e0e.tabPane=!1),e0e}const TabContext=reactExports.createContext(null);var useIndicator=function(e0e){var $P=e0e.activeTabOffset,t0e=e0e.horizontal,r0e=e0e.rtl,n0e=e0e.indicatorSize,a0e=reactExports.useState(),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1],l0e=reactExports.useRef(),c0e=function(p0e){return typeof n0e=="function"?n0e(p0e):typeof n0e=="number"?n0e:p0e};function u0e(){wrapperRaf$1.cancel(l0e.current)}return reactExports.useEffect(function(){var d0e={};return $P&&(t0e?(r0e?(d0e.right=$P.right+$P.width/2,d0e.transform="translateX(50%)"):(d0e.left=$P.left+$P.width/2,d0e.transform="translateX(-50%)"),d0e.width=c0e($P.width)):(d0e.top=$P.top+$P.height/2,d0e.transform="translateY(-50%)",d0e.height=c0e($P.height))),u0e(),l0e.current=wrapperRaf$1(function(){s0e(d0e)}),u0e},[$P,t0e,r0e,n0e]),{style:i0e}},DEFAULT_SIZE$2={width:0,height:0,left:0,top:0};function useOffsets(x_,e0e,$P){return reactExports.useMemo(function(){for(var t0e,r0e=new Map,n0e=e0e.get((t0e=x_[0])===null||t0e===void 0?void 0:t0e.key)||DEFAULT_SIZE$2,a0e=n0e.left+n0e.width,o0e=0;o0eE0e?(S0e=A0e,M0e.current="x"):(S0e=$0e,M0e.current="y"),e0e(-S0e,-S0e)&&_0e.preventDefault()}var z0e=reactExports.useRef(null);z0e.current={onTouchStart:v0e,onTouchMove:g0e,onTouchEnd:y0e,onWheel:O0e},reactExports.useEffect(function(){function _0e(C0e){z0e.current.onTouchStart(C0e)}function A0e(C0e){z0e.current.onTouchMove(C0e)}function $0e(C0e){z0e.current.onTouchEnd(C0e)}function S0e(C0e){z0e.current.onWheel(C0e)}return document.addEventListener("touchmove",A0e,{passive:!1}),document.addEventListener("touchend",$0e,{passive:!1}),x_.current.addEventListener("touchstart",_0e,{passive:!1}),x_.current.addEventListener("wheel",S0e),function(){document.removeEventListener("touchmove",A0e),document.removeEventListener("touchend",$0e)}},[])}function useUpdate(x_){var e0e=reactExports.useState(0),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1],n0e=reactExports.useRef(0),a0e=reactExports.useRef();return a0e.current=x_,useLayoutUpdateEffect$1(function(){var o0e;(o0e=a0e.current)===null||o0e===void 0||o0e.call(a0e)},[t0e]),function(){n0e.current===t0e&&(n0e.current+=1,r0e(n0e.current))}}function useUpdateState(x_){var e0e=reactExports.useRef([]),$P=reactExports.useState({}),t0e=_slicedToArray$3($P,2),r0e=t0e[1],n0e=reactExports.useRef(typeof x_=="function"?x_():x_),a0e=useUpdate(function(){var i0e=n0e.current;e0e.current.forEach(function(s0e){i0e=s0e(i0e)}),e0e.current=[],n0e.current=i0e,r0e({})});function o0e(i0e){e0e.current.push(i0e),a0e()}return[n0e.current,o0e]}var DEFAULT_SIZE$1={width:0,height:0,left:0,top:0,right:0};function useVisibleRange(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=a0e.tabs,i0e=a0e.tabPosition,s0e=a0e.rtl,l0e,c0e,u0e;return["top","bottom"].includes(i0e)?(l0e="width",c0e=s0e?"right":"left",u0e=Math.abs($P)):(l0e="height",c0e="top",u0e=-$P),reactExports.useMemo(function(){if(!o0e.length)return[0,0];for(var d0e=o0e.length,p0e=d0e,f0e=0;f0eu0e+e0e){p0e=f0e-1;break}}for(var b0e=0,m0e=d0e-1;m0e>=0;m0e-=1){var v0e=x_.get(o0e[m0e].key)||DEFAULT_SIZE$1;if(v0e[c0e]=p0e?[0,0]:[b0e,p0e]},[x_,e0e,t0e,r0e,n0e,u0e,i0e,o0e.map(function(d0e){return d0e.key}).join("_"),s0e])}function stringify$3(x_){var e0e;return x_ instanceof Map?(e0e={},x_.forEach(function($P,t0e){e0e[t0e]=$P})):e0e=x_,JSON.stringify(e0e)}var RC_TABS_DOUBLE_QUOTE="TABS_DQ";function genDataNodeKey(x_){return String(x_).replace(/"/g,RC_TABS_DOUBLE_QUOTE)}function getRemovable(x_,e0e,$P,t0e){return!(!$P||t0e||x_===!1||x_===void 0&&(e0e===!1||e0e===null))}var AddButton=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.editable,r0e=x_.locale,n0e=x_.style;return!t0e||t0e.showAdd===!1?null:reactExports.createElement("button",{ref:e0e,type:"button",className:"".concat($P,"-nav-add"),style:n0e,"aria-label":(r0e==null?void 0:r0e.addAriaLabel)||"Add tab",onClick:function(o0e){t0e.onEdit("add",{event:o0e})}},t0e.addIcon||"+")}),ExtraContent=reactExports.forwardRef(function(x_,e0e){var $P=x_.position,t0e=x_.prefixCls,r0e=x_.extra;if(!r0e)return null;var n0e,a0e={};return _typeof$2(r0e)==="object"&&!reactExports.isValidElement(r0e)?a0e=r0e:a0e.right=r0e,$P==="right"&&(n0e=a0e.right),$P==="left"&&(n0e=a0e.left),n0e?reactExports.createElement("div",{className:"".concat(t0e,"-extra-content"),ref:e0e},n0e):null}),OperationNode=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.id,r0e=x_.tabs,n0e=x_.locale,a0e=x_.mobile,o0e=x_.moreIcon,i0e=o0e===void 0?"More":o0e,s0e=x_.moreTransitionName,l0e=x_.style,c0e=x_.className,u0e=x_.editable,d0e=x_.tabBarGutter,p0e=x_.rtl,f0e=x_.removeAriaLabel,h0e=x_.onTabClick,b0e=x_.getPopupContainer,m0e=x_.popupClassName,v0e=reactExports.useState(!1),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=reactExports.useState(null),z0e=_slicedToArray$3(O0e,2),_0e=z0e[0],A0e=z0e[1],$0e="".concat(t0e,"-more-popup"),S0e="".concat($P,"-dropdown"),C0e=_0e!==null?"".concat($0e,"-").concat(_0e):null,E0e=n0e==null?void 0:n0e.dropdownAriaLabel;function w0e(N0e,j0e){N0e.preventDefault(),N0e.stopPropagation(),u0e.onEdit("remove",{key:j0e,event:N0e})}var R0e=reactExports.createElement(ExportMenu$1,{onClick:function(j0e){var P0e=j0e.key,I0e=j0e.domEvent;h0e(P0e,I0e),M0e(!1)},prefixCls:"".concat(S0e,"-menu"),id:$0e,tabIndex:-1,role:"listbox","aria-activedescendant":C0e,selectedKeys:[_0e],"aria-label":E0e!==void 0?E0e:"expanded dropdown"},r0e.map(function(N0e){var j0e=N0e.closable,P0e=N0e.disabled,I0e=N0e.closeIcon,F0e=N0e.key,V0e=N0e.label,H0e=getRemovable(j0e,I0e,u0e,P0e);return reactExports.createElement(MenuItem$5,{key:F0e,id:"".concat($0e,"-").concat(F0e),role:"option","aria-controls":t0e&&"".concat(t0e,"-panel-").concat(F0e),disabled:P0e},reactExports.createElement("span",null,V0e),H0e&&reactExports.createElement("button",{type:"button","aria-label":f0e||"remove",tabIndex:0,className:"".concat(S0e,"-menu-item-remove"),onClick:function(Y0e){Y0e.stopPropagation(),w0e(Y0e,F0e)}},I0e||u0e.removeIcon||"×"))}));function T0e(N0e){for(var j0e=r0e.filter(function(H0e){return!H0e.disabled}),P0e=j0e.findIndex(function(H0e){return H0e.key===_0e})||0,I0e=j0e.length,F0e=0;F0ed1e?"left":"right"})}),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=useSyncState(0,function(bme,d1e){!S0e&&h0e&&h0e({direction:bme>d1e?"top":"bottom"})}),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=reactExports.useState([0,0]),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useState([0,0]),F0e=_slicedToArray$3(I0e,2),V0e=F0e[0],H0e=F0e[1],Q0e=reactExports.useState([0,0]),Y0e=_slicedToArray$3(Q0e,2),G0e=Y0e[0],B0e=Y0e[1],U0e=reactExports.useState([0,0]),X0e=_slicedToArray$3(U0e,2),J0e=X0e[0],e1e=X0e[1],n1e=useUpdateState(new Map),t1e=_slicedToArray$3(n1e,2),r1e=t1e[0],a1e=t1e[1],l1e=useOffsets(g0e,r1e,V0e[0]),s1e=getUnitValue(j0e,S0e),g1e=getUnitValue(V0e,S0e),$1e=getUnitValue(G0e,S0e),_1e=getUnitValue(J0e,S0e),p1e=s1ew1e?w1e:bme}var F1e=reactExports.useRef(null),J1e=reactExports.useState(),ame=_slicedToArray$3(J1e,2),G1e=ame[0],V1e=ame[1];function cme(){V1e(Date.now())}function ume(){F1e.current&&clearTimeout(F1e.current)}useTouchMove(z0e,function(bme,d1e){function b1e(S1e,N1e){S1e(function(nme){var ome=A1e(nme+N1e);return ome})}return p1e?(S0e?b1e(R0e,bme):b1e(k0e,d1e),ume(),cme(),!0):!1}),reactExports.useEffect(function(){return ume(),G1e&&(F1e.current=setTimeout(function(){V1e(0)},100)),ume},[G1e]);var Y1e=useVisibleRange(l1e,E1e,S0e?w0e:W0e,g1e,$1e,_1e,_objectSpread2$1(_objectSpread2$1({},x_),{},{tabs:g0e})),k1e=_slicedToArray$3(Y1e,2),ime=k1e[0],I1e=k1e[1],j1e=useEvent(function(){var bme=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o0e,d1e=l1e.get(bme)||{width:0,height:0,left:0,right:0,top:0};if(S0e){var b1e=w0e;i0e?d1e.rightw0e+E1e&&(b1e=d1e.right+d1e.width-E1e):d1e.left<-w0e?b1e=-d1e.left:d1e.left+d1e.width>-w0e+E1e&&(b1e=-(d1e.left+d1e.width-E1e)),k0e(0),R0e(A1e(b1e))}else{var S1e=W0e;d1e.top<-W0e?S1e=-d1e.top:d1e.top+d1e.height>-W0e+E1e&&(S1e=-(d1e.top+d1e.height-E1e)),R0e(0),k0e(A1e(S1e))}}),H1e={};u0e==="top"||u0e==="bottom"?H1e[i0e?"marginRight":"marginLeft"]=d0e:H1e.marginTop=d0e;var W1e=g0e.map(function(bme,d1e){var b1e=bme.key;return reactExports.createElement(TabNode,{id:n0e,prefixCls:v0e,key:b1e,tab:bme,style:d1e===0?void 0:H1e,closable:bme.closable,editable:l0e,active:b1e===o0e,renderWrapper:p0e,removeAriaLabel:c0e==null?void 0:c0e.removeAriaLabel,onClick:function(N1e){f0e(b1e,N1e)},onFocus:function(){j1e(b1e),cme(),z0e.current&&(i0e||(z0e.current.scrollLeft=0),z0e.current.scrollTop=0)}})}),Q1e=function(){return a1e(function(){var d1e,b1e=new Map,S1e=(d1e=_0e.current)===null||d1e===void 0?void 0:d1e.getBoundingClientRect();return g0e.forEach(function(N1e){var nme,ome=N1e.key,m1e=(nme=_0e.current)===null||nme===void 0?void 0:nme.querySelector('[data-node-key="'.concat(genDataNodeKey(ome),'"]'));if(m1e){var T1e=getTabSize(m1e,S1e),B1e=_slicedToArray$3(T1e,4),eme=B1e[0],sme=B1e[1],gme=B1e[2],zme=B1e[3];b1e.set(ome,{width:eme,height:sme,left:gme,top:zme})}}),b1e})};reactExports.useEffect(function(){Q1e()},[g0e.map(function(bme){return bme.key}).join("_")]);var K1e=useUpdate(function(){var bme=getSize(y0e),d1e=getSize(M0e),b1e=getSize(O0e);P0e([bme[0]-d1e[0]-b1e[0],bme[1]-d1e[1]-b1e[1]]);var S1e=getSize($0e);B0e(S1e);var N1e=getSize(A0e);e1e(N1e);var nme=getSize(_0e);H0e([nme[0]-S1e[0],nme[1]-S1e[1]]),Q1e()}),rme=g0e.slice(0,ime),L1e=g0e.slice(I1e+1),Z1e=[].concat(_toConsumableArray$2(rme),_toConsumableArray$2(L1e)),U1e=l1e.get(o0e),D1e=useIndicator({activeTabOffset:U1e,horizontal:S0e,rtl:i0e,indicatorSize:b0e}),q1e=D1e.style;reactExports.useEffect(function(){j1e()},[o0e,O1e,w1e,stringify$3(U1e),stringify$3(l1e),S0e]),reactExports.useEffect(function(){K1e()},[i0e]);var pme=!!Z1e.length,$me="".concat(v0e,"-nav-wrap"),fme,mme,lme,Ome;return S0e?i0e?(mme=w0e>0,fme=w0e!==w1e):(fme=w0e<0,mme=w0e!==O1e):(lme=W0e<0,Ome=W0e!==O1e),reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{ref:useComposeRef(e0e,y0e),role:"tablist",className:cx$1("".concat(v0e,"-nav"),t0e),style:r0e,onKeyDown:function(){cme()}},reactExports.createElement(ExtraContent,{ref:M0e,position:"left",extra:s0e,prefixCls:v0e}),reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{className:cx$1($me,($P={},_defineProperty$5($P,"".concat($me,"-ping-left"),fme),_defineProperty$5($P,"".concat($me,"-ping-right"),mme),_defineProperty$5($P,"".concat($me,"-ping-top"),lme),_defineProperty$5($P,"".concat($me,"-ping-bottom"),Ome),$P)),ref:z0e},reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{ref:_0e,className:"".concat(v0e,"-nav-list"),style:{transform:"translate(".concat(w0e,"px, ").concat(W0e,"px)"),transition:G1e?"none":void 0}},W1e,reactExports.createElement(AddButton,{ref:$0e,prefixCls:v0e,locale:c0e,editable:l0e,style:_objectSpread2$1(_objectSpread2$1({},W1e.length===0?void 0:H1e),{},{visibility:pme?"hidden":null})}),reactExports.createElement("div",{className:cx$1("".concat(v0e,"-ink-bar"),_defineProperty$5({},"".concat(v0e,"-ink-bar-animated"),a0e.inkBar)),style:q1e}))))),reactExports.createElement(OperationNode$1,_extends$1z({},x_,{removeAriaLabel:c0e==null?void 0:c0e.removeAriaLabel,ref:A0e,prefixCls:v0e,tabs:Z1e,className:!pme&&x1e,tabMoving:!!G1e})),reactExports.createElement(ExtraContent,{ref:O0e,position:"right",extra:s0e,prefixCls:v0e})))}),TabPane$2=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.className,r0e=x_.style,n0e=x_.id,a0e=x_.active,o0e=x_.tabKey,i0e=x_.children;return reactExports.createElement("div",{id:n0e&&"".concat(n0e,"-panel-").concat(o0e),role:"tabpanel",tabIndex:a0e?0:-1,"aria-labelledby":n0e&&"".concat(n0e,"-tab-").concat(o0e),"aria-hidden":!a0e,style:r0e,className:cx$1($P,a0e&&"".concat($P,"-active"),t0e),ref:e0e},i0e)}),_excluded$r=["renderTabBar"],_excluded2$9=["label","key"],TabNavListWrapper=function(e0e){var $P=e0e.renderTabBar,t0e=_objectWithoutProperties$4(e0e,_excluded$r),r0e=reactExports.useContext(TabContext),n0e=r0e.tabs;if($P){var a0e=_objectSpread2$1(_objectSpread2$1({},t0e),{},{panes:n0e.map(function(o0e){var i0e=o0e.label,s0e=o0e.key,l0e=_objectWithoutProperties$4(o0e,_excluded2$9);return reactExports.createElement(TabPane$2,_extends$1z({tab:i0e,key:s0e,tabKey:s0e},l0e))})});return $P(a0e,TabNavList)}return reactExports.createElement(TabNavList,t0e)},_excluded$q=["key","forceRender","style","className","destroyInactiveTabPane"],TabPanelList=function(e0e){var $P=e0e.id,t0e=e0e.activeKey,r0e=e0e.animated,n0e=e0e.tabPosition,a0e=e0e.destroyInactiveTabPane,o0e=reactExports.useContext(TabContext),i0e=o0e.prefixCls,s0e=o0e.tabs,l0e=r0e.tabPane,c0e="".concat(i0e,"-tabpane");return reactExports.createElement("div",{className:cx$1("".concat(i0e,"-content-holder"))},reactExports.createElement("div",{className:cx$1("".concat(i0e,"-content"),"".concat(i0e,"-content-").concat(n0e),_defineProperty$5({},"".concat(i0e,"-content-animated"),l0e))},s0e.map(function(u0e){var d0e=u0e.key,p0e=u0e.forceRender,f0e=u0e.style,h0e=u0e.className,b0e=u0e.destroyInactiveTabPane,m0e=_objectWithoutProperties$4(u0e,_excluded$q),v0e=d0e===t0e;return reactExports.createElement(CSSMotion,_extends$1z({key:d0e,visible:v0e,forceRender:p0e,removeOnLeave:!!(a0e||b0e),leavedClassName:"".concat(c0e,"-hidden")},r0e.tabPaneMotion),function(g0e,y0e){var M0e=g0e.style,O0e=g0e.className;return reactExports.createElement(TabPane$2,_extends$1z({},m0e,{prefixCls:c0e,id:$P,tabKey:d0e,animated:l0e,active:v0e,style:_objectSpread2$1(_objectSpread2$1({},f0e),M0e),className:cx$1(h0e,O0e),ref:y0e}))})})))},_excluded$p=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],uuid$2=0,Tabs$4=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.id,r0e=x_.prefixCls,n0e=r0e===void 0?"rc-tabs":r0e,a0e=x_.className,o0e=x_.items,i0e=x_.direction,s0e=x_.activeKey,l0e=x_.defaultActiveKey,c0e=x_.editable,u0e=x_.animated,d0e=x_.tabPosition,p0e=d0e===void 0?"top":d0e,f0e=x_.tabBarGutter,h0e=x_.tabBarStyle,b0e=x_.tabBarExtraContent,m0e=x_.locale,v0e=x_.moreIcon,g0e=x_.moreTransitionName,y0e=x_.destroyInactiveTabPane,M0e=x_.renderTabBar,O0e=x_.onChange,z0e=x_.onTabClick,_0e=x_.onTabScroll,A0e=x_.getPopupContainer,$0e=x_.popupClassName,S0e=x_.indicatorSize,C0e=_objectWithoutProperties$4(x_,_excluded$p),E0e=reactExports.useMemo(function(){return(o0e||[]).filter(function(e1e){return e1e&&_typeof$2(e1e)==="object"&&"key"in e1e})},[o0e]),w0e=i0e==="rtl",R0e=useAnimateConfig$1(u0e),T0e=reactExports.useState(!1),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1];reactExports.useEffect(function(){k0e(isMobile$3())},[]);var q0e=useMergedState(function(){var e1e;return(e1e=E0e[0])===null||e1e===void 0?void 0:e1e.key},{value:s0e,defaultValue:l0e}),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useState(function(){return E0e.findIndex(function(e1e){return e1e.key===j0e})}),F0e=_slicedToArray$3(I0e,2),V0e=F0e[0],H0e=F0e[1];reactExports.useEffect(function(){var e1e=E0e.findIndex(function(t1e){return t1e.key===j0e});if(e1e===-1){var n1e;e1e=Math.max(0,Math.min(V0e,E0e.length-1)),P0e((n1e=E0e[e1e])===null||n1e===void 0?void 0:n1e.key)}H0e(e1e)},[E0e.map(function(e1e){return e1e.key}).join("_"),j0e,V0e]);var Q0e=useMergedState(null,{value:t0e}),Y0e=_slicedToArray$3(Q0e,2),G0e=Y0e[0],B0e=Y0e[1];reactExports.useEffect(function(){t0e||(B0e("rc-tabs-".concat(uuid$2)),uuid$2+=1)},[]);function U0e(e1e,n1e){z0e==null||z0e(e1e,n1e);var t1e=e1e!==j0e;P0e(e1e),t1e&&(O0e==null||O0e(e1e))}var X0e={id:G0e,activeKey:j0e,animated:R0e,tabPosition:p0e,rtl:w0e,mobile:W0e},J0e=_objectSpread2$1(_objectSpread2$1({},X0e),{},{editable:c0e,locale:m0e,moreIcon:v0e,moreTransitionName:g0e,tabBarGutter:f0e,onTabClick:U0e,onTabScroll:_0e,extra:b0e,style:h0e,panes:null,getPopupContainer:A0e,popupClassName:$0e,indicatorSize:S0e});return reactExports.createElement(TabContext.Provider,{value:{tabs:E0e,prefixCls:n0e}},reactExports.createElement("div",_extends$1z({ref:e0e,id:t0e,className:cx$1(n0e,"".concat(n0e,"-").concat(p0e),($P={},_defineProperty$5($P,"".concat(n0e,"-mobile"),W0e),_defineProperty$5($P,"".concat(n0e,"-editable"),c0e),_defineProperty$5($P,"".concat(n0e,"-rtl"),w0e),$P),a0e)},C0e),reactExports.createElement(TabNavListWrapper,_extends$1z({},J0e,{renderTabBar:M0e})),reactExports.createElement(TabPanelList,_extends$1z({destroyInactiveTabPane:y0e},X0e,{animated:R0e}))))});const motion={motionAppear:!1,motionEnter:!0,motionLeave:!0};function useAnimateConfig(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},$P;return e0e===!1?$P={inkBar:!1,tabPane:!1}:e0e===!0?$P={inkBar:!0,tabPane:!0}:$P=Object.assign({inkBar:!0},typeof e0e=="object"?e0e:{}),$P.tabPane&&($P.tabPaneMotion=Object.assign(Object.assign({},motion),{motionName:getTransitionName(x_,"switch")})),$P}var __rest$v=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ee0e)}function useLegacyItems(x_,e0e){if(x_)return x_;const $P=toArray$6(e0e).map(t0e=>{if(reactExports.isValidElement(t0e)){const{key:r0e,props:n0e}=t0e,a0e=n0e||{},{tab:o0e}=a0e,i0e=__rest$v(a0e,["tab"]);return Object.assign(Object.assign({key:String(r0e)},i0e),{label:o0e})}return null});return filter$2($P)}const genMotionStyle$2=x_=>{const{componentCls:e0e,motionDurationSlow:$P}=x_;return[{[e0e]:{[`${e0e}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${$P}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${$P}`}}}}},[initSlideMotion(x_,"slide-up"),initSlideMotion(x_,"slide-down")]]},genMotionStyle$3=genMotionStyle$2,genCardStyle$1=x_=>{const{componentCls:e0e,tabsCardPadding:$P,cardBg:t0e,cardGutter:r0e,colorBorderSecondary:n0e,itemSelectedColor:a0e}=x_;return{[`${e0e}-card`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{margin:0,padding:$P,background:t0e,border:`${unit$1(x_.lineWidth)} ${x_.lineType} ${n0e}`,transition:`all ${x_.motionDurationSlow} ${x_.motionEaseInOut}`},[`${e0e}-tab-active`]:{color:a0e,background:x_.colorBgContainer},[`${e0e}-ink-bar`]:{visibility:"hidden"}},[`&${e0e}-top, &${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab + ${e0e}-tab`]:{marginLeft:{_skip_check_:!0,value:unit$1(r0e)}}}},[`&${e0e}-top`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:`${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0 0`},[`${e0e}-tab-active`]:{borderBottomColor:x_.colorBgContainer}}},[`&${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:`0 0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)}`},[`${e0e}-tab-active`]:{borderTopColor:x_.colorBgContainer}}},[`&${e0e}-left, &${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab + ${e0e}-tab`]:{marginTop:unit$1(r0e)}}},[`&${e0e}-left`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`${unit$1(x_.borderRadiusLG)} 0 0 ${unit$1(x_.borderRadiusLG)}`}},[`${e0e}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:x_.colorBgContainer}}}},[`&${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0`}},[`${e0e}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:x_.colorBgContainer}}}}}}},genDropdownStyle=x_=>{const{componentCls:e0e,itemHoverColor:$P,dropdownEdgeChildVerticalPadding:t0e}=x_;return{[`${e0e}-dropdown`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x_.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${e0e}-dropdown-menu`]:{maxHeight:x_.tabsDropdownHeight,margin:0,padding:`${unit$1(t0e)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:x_.colorBgContainer,backgroundClip:"padding-box",borderRadius:x_.borderRadiusLG,outline:"none",boxShadow:x_.boxShadowSecondary,"&-item":Object.assign(Object.assign({},textEllipsis),{display:"flex",alignItems:"center",minWidth:x_.tabsDropdownWidth,margin:0,padding:`${unit$1(x_.paddingXXS)} ${unit$1(x_.paddingSM)}`,color:x_.colorText,fontWeight:"normal",fontSize:x_.fontSize,lineHeight:x_.lineHeight,cursor:"pointer",transition:`all ${x_.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:x_.marginSM},color:x_.colorTextDescription,fontSize:x_.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:$P}},"&:hover":{background:x_.controlItemBgHover},"&-disabled":{"&, &:hover":{color:x_.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},genPositionStyle=x_=>{const{componentCls:e0e,margin:$P,colorBorderSecondary:t0e,horizontalMargin:r0e,verticalItemPadding:n0e,verticalItemMargin:a0e,calc:o0e}=x_;return{[`${e0e}-top, ${e0e}-bottom`]:{flexDirection:"column",[`> ${e0e}-nav, > div > ${e0e}-nav`]:{margin:r0e,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${unit$1(x_.lineWidth)} ${x_.lineType} ${t0e}`,content:"''"},[`${e0e}-ink-bar`]:{height:x_.lineWidthBold,"&-animated":{transition:`width ${x_.motionDurationSlow}, left ${x_.motionDurationSlow}, + `]:Object.assign({},genSkeletonColor(x_))}}},prepareComponentToken$b=x_=>{const{colorFillContent:e0e,colorFill:$P}=x_,t0e=e0e,r0e=$P;return{color:t0e,colorGradientEnd:r0e,gradientFromColor:t0e,gradientToColor:r0e,titleHeight:x_.controlHeight/2,blockRadius:x_.borderRadiusSM,paragraphMarginTop:x_.marginLG+x_.marginXXS,paragraphLiHeight:x_.controlHeight/2}},useStyle$d=genStyleHooks("Skeleton",x_=>{const{componentCls:e0e,calc:$P}=x_,t0e=merge$2(x_,{skeletonAvatarCls:`${e0e}-avatar`,skeletonTitleCls:`${e0e}-title`,skeletonParagraphCls:`${e0e}-paragraph`,skeletonButtonCls:`${e0e}-button`,skeletonInputCls:`${e0e}-input`,skeletonImageCls:`${e0e}-image`,imageSizeBase:$P(x_.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${x_.gradientFromColor} 25%, ${x_.gradientToColor} 37%, ${x_.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[genBaseStyle$1(t0e)]},prepareComponentToken$b,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),SkeletonAvatar=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,shape:n0e="circle",size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls","className"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-avatar`,shape:n0e,size:a0e},c0e))))},SkeletonAvatar$1=SkeletonAvatar,SkeletonButton=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,block:n0e=!1,size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e,[`${i0e}-block`]:n0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-button`,size:a0e},c0e))))},SkeletonButton$1=SkeletonButton,path="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",SkeletonImage=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,style:r0e,active:n0e}=x_,{getPrefixCls:a0e}=reactExports.useContext(ConfigContext),o0e=a0e("skeleton",e0e),[i0e,s0e]=useStyle$d(o0e),l0e=cx$1(o0e,`${o0e}-element`,{[`${o0e}-active`]:n0e},$P,t0e,s0e);return i0e(reactExports.createElement("div",{className:l0e},reactExports.createElement("div",{className:cx$1(`${o0e}-image`,$P),style:r0e},reactExports.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${o0e}-image-svg`},reactExports.createElement("path",{d:path,className:`${o0e}-image-path`})))))},SkeletonImage$1=SkeletonImage,SkeletonInput=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,active:r0e,block:n0e,size:a0e="default"}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=omit$2(x_,["prefixCls"]),u0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:r0e,[`${i0e}-block`]:n0e},$P,t0e,l0e);return s0e(reactExports.createElement("div",{className:u0e},reactExports.createElement(Element$3,Object.assign({prefixCls:`${i0e}-input`,size:a0e},c0e))))},SkeletonInput$1=SkeletonInput;var DotChartOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"};const DotChartOutlinedSvg=DotChartOutlined$2;var DotChartOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:DotChartOutlinedSvg}))};const DotChartOutlined$1=reactExports.forwardRef(DotChartOutlined),SkeletonNode=x_=>{const{prefixCls:e0e,className:$P,rootClassName:t0e,style:r0e,active:n0e,children:a0e}=x_,{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("skeleton",e0e),[s0e,l0e]=useStyle$d(i0e),c0e=cx$1(i0e,`${i0e}-element`,{[`${i0e}-active`]:n0e},l0e,$P,t0e),u0e=a0e??reactExports.createElement(DotChartOutlined$1,null);return s0e(reactExports.createElement("div",{className:c0e},reactExports.createElement("div",{className:cx$1(`${i0e}-image`,$P),style:r0e},u0e)))},SkeletonNode$1=SkeletonNode,Paragraph=x_=>{const e0e=o0e=>{const{width:i0e,rows:s0e=2}=x_;if(Array.isArray(i0e))return i0e[o0e];if(s0e-1===o0e)return i0e},{prefixCls:$P,className:t0e,style:r0e,rows:n0e}=x_,a0e=_toConsumableArray$2(Array(n0e)).map((o0e,i0e)=>reactExports.createElement("li",{key:i0e,style:{width:e0e(i0e)}}));return reactExports.createElement("ul",{className:cx$1($P,t0e),style:r0e},a0e)},Paragraph$1=Paragraph,Title=x_=>{let{prefixCls:e0e,className:$P,width:t0e,style:r0e}=x_;return reactExports.createElement("h3",{className:cx$1(e0e,$P),style:Object.assign({width:t0e},r0e)})},Title$1=Title;function getComponentProps(x_){return x_&&typeof x_=="object"?x_:{}}function getAvatarBasicProps(x_,e0e){return x_&&!e0e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function getTitleBasicProps(x_,e0e){return!x_&&e0e?{width:"38%"}:x_&&e0e?{width:"50%"}:{}}function getParagraphBasicProps(x_,e0e){const $P={};return(!x_||!e0e)&&($P.width="61%"),!x_&&e0e?$P.rows=3:$P.rows=2,$P}const Skeleton=x_=>{const{prefixCls:e0e,loading:$P,className:t0e,rootClassName:r0e,style:n0e,children:a0e,avatar:o0e=!1,title:i0e=!0,paragraph:s0e=!0,active:l0e,round:c0e}=x_,{getPrefixCls:u0e,direction:d0e,skeleton:p0e}=reactExports.useContext(ConfigContext),f0e=u0e("skeleton",e0e),[h0e,b0e]=useStyle$d(f0e);if($P||!("loading"in x_)){const m0e=!!o0e,v0e=!!i0e,g0e=!!s0e;let y0e;if(m0e){const z0e=Object.assign(Object.assign({prefixCls:`${f0e}-avatar`},getAvatarBasicProps(v0e,g0e)),getComponentProps(o0e));y0e=reactExports.createElement("div",{className:`${f0e}-header`},reactExports.createElement(Element$3,Object.assign({},z0e)))}let M0e;if(v0e||g0e){let z0e;if(v0e){const A0e=Object.assign(Object.assign({prefixCls:`${f0e}-title`},getTitleBasicProps(m0e,g0e)),getComponentProps(i0e));z0e=reactExports.createElement(Title$1,Object.assign({},A0e))}let _0e;if(g0e){const A0e=Object.assign(Object.assign({prefixCls:`${f0e}-paragraph`},getParagraphBasicProps(m0e,v0e)),getComponentProps(s0e));_0e=reactExports.createElement(Paragraph$1,Object.assign({},A0e))}M0e=reactExports.createElement("div",{className:`${f0e}-content`},z0e,_0e)}const O0e=cx$1(f0e,{[`${f0e}-with-avatar`]:m0e,[`${f0e}-active`]:l0e,[`${f0e}-rtl`]:d0e==="rtl",[`${f0e}-round`]:c0e},p0e==null?void 0:p0e.className,t0e,r0e,b0e);return h0e(reactExports.createElement("div",{className:O0e,style:Object.assign(Object.assign({},p0e==null?void 0:p0e.style),n0e)},y0e,M0e))}return typeof a0e<"u"?a0e:null};Skeleton.Button=SkeletonButton$1;Skeleton.Avatar=SkeletonAvatar$1;Skeleton.Input=SkeletonInput$1;Skeleton.Image=SkeletonImage$1;Skeleton.Node=SkeletonNode$1;const Skeleton$1=Skeleton;var PlusOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"};const PlusOutlinedSvg=PlusOutlined$2;var PlusOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:PlusOutlinedSvg}))};const PlusOutlined$1=reactExports.forwardRef(PlusOutlined);function useAnimateConfig$1(){var x_=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},e0e;return x_===!1?e0e={inkBar:!1,tabPane:!1}:x_===!0?e0e={inkBar:!0,tabPane:!1}:e0e=_objectSpread2$1({inkBar:!0},_typeof$2(x_)==="object"?x_:{}),e0e.tabPaneMotion&&e0e.tabPane===void 0&&(e0e.tabPane=!0),!e0e.tabPaneMotion&&e0e.tabPane&&(e0e.tabPane=!1),e0e}const TabContext=reactExports.createContext(null);var useIndicator=function(e0e){var $P=e0e.activeTabOffset,t0e=e0e.horizontal,r0e=e0e.rtl,n0e=e0e.indicatorSize,a0e=reactExports.useState(),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1],l0e=reactExports.useRef(),c0e=function(p0e){return typeof n0e=="function"?n0e(p0e):typeof n0e=="number"?n0e:p0e};function u0e(){wrapperRaf$1.cancel(l0e.current)}return reactExports.useEffect(function(){var d0e={};return $P&&(t0e?(r0e?(d0e.right=$P.right+$P.width/2,d0e.transform="translateX(50%)"):(d0e.left=$P.left+$P.width/2,d0e.transform="translateX(-50%)"),d0e.width=c0e($P.width)):(d0e.top=$P.top+$P.height/2,d0e.transform="translateY(-50%)",d0e.height=c0e($P.height))),u0e(),l0e.current=wrapperRaf$1(function(){s0e(d0e)}),u0e},[$P,t0e,r0e,n0e]),{style:i0e}},DEFAULT_SIZE$2={width:0,height:0,left:0,top:0};function useOffsets(x_,e0e,$P){return reactExports.useMemo(function(){for(var t0e,r0e=new Map,n0e=e0e.get((t0e=x_[0])===null||t0e===void 0?void 0:t0e.key)||DEFAULT_SIZE$2,a0e=n0e.left+n0e.width,o0e=0;o0eE0e?(S0e=A0e,M0e.current="x"):(S0e=$0e,M0e.current="y"),e0e(-S0e,-S0e)&&_0e.preventDefault()}var z0e=reactExports.useRef(null);z0e.current={onTouchStart:v0e,onTouchMove:g0e,onTouchEnd:y0e,onWheel:O0e},reactExports.useEffect(function(){function _0e(C0e){z0e.current.onTouchStart(C0e)}function A0e(C0e){z0e.current.onTouchMove(C0e)}function $0e(C0e){z0e.current.onTouchEnd(C0e)}function S0e(C0e){z0e.current.onWheel(C0e)}return document.addEventListener("touchmove",A0e,{passive:!1}),document.addEventListener("touchend",$0e,{passive:!1}),x_.current.addEventListener("touchstart",_0e,{passive:!1}),x_.current.addEventListener("wheel",S0e),function(){document.removeEventListener("touchmove",A0e),document.removeEventListener("touchend",$0e)}},[])}function useUpdate(x_){var e0e=reactExports.useState(0),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1],n0e=reactExports.useRef(0),a0e=reactExports.useRef();return a0e.current=x_,useLayoutUpdateEffect$1(function(){var o0e;(o0e=a0e.current)===null||o0e===void 0||o0e.call(a0e)},[t0e]),function(){n0e.current===t0e&&(n0e.current+=1,r0e(n0e.current))}}function useUpdateState(x_){var e0e=reactExports.useRef([]),$P=reactExports.useState({}),t0e=_slicedToArray$3($P,2),r0e=t0e[1],n0e=reactExports.useRef(typeof x_=="function"?x_():x_),a0e=useUpdate(function(){var i0e=n0e.current;e0e.current.forEach(function(s0e){i0e=s0e(i0e)}),e0e.current=[],n0e.current=i0e,r0e({})});function o0e(i0e){e0e.current.push(i0e),a0e()}return[n0e.current,o0e]}var DEFAULT_SIZE$1={width:0,height:0,left:0,top:0,right:0};function useVisibleRange(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=a0e.tabs,i0e=a0e.tabPosition,s0e=a0e.rtl,l0e,c0e,u0e;return["top","bottom"].includes(i0e)?(l0e="width",c0e=s0e?"right":"left",u0e=Math.abs($P)):(l0e="height",c0e="top",u0e=-$P),reactExports.useMemo(function(){if(!o0e.length)return[0,0];for(var d0e=o0e.length,p0e=d0e,f0e=0;f0eu0e+e0e){p0e=f0e-1;break}}for(var b0e=0,m0e=d0e-1;m0e>=0;m0e-=1){var v0e=x_.get(o0e[m0e].key)||DEFAULT_SIZE$1;if(v0e[c0e]=p0e?[0,0]:[b0e,p0e]},[x_,e0e,t0e,r0e,n0e,u0e,i0e,o0e.map(function(d0e){return d0e.key}).join("_"),s0e])}function stringify$3(x_){var e0e;return x_ instanceof Map?(e0e={},x_.forEach(function($P,t0e){e0e[t0e]=$P})):e0e=x_,JSON.stringify(e0e)}var RC_TABS_DOUBLE_QUOTE="TABS_DQ";function genDataNodeKey(x_){return String(x_).replace(/"/g,RC_TABS_DOUBLE_QUOTE)}function getRemovable(x_,e0e,$P,t0e){return!(!$P||t0e||x_===!1||x_===void 0&&(e0e===!1||e0e===null))}var AddButton=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.editable,r0e=x_.locale,n0e=x_.style;return!t0e||t0e.showAdd===!1?null:reactExports.createElement("button",{ref:e0e,type:"button",className:"".concat($P,"-nav-add"),style:n0e,"aria-label":(r0e==null?void 0:r0e.addAriaLabel)||"Add tab",onClick:function(o0e){t0e.onEdit("add",{event:o0e})}},t0e.addIcon||"+")}),ExtraContent=reactExports.forwardRef(function(x_,e0e){var $P=x_.position,t0e=x_.prefixCls,r0e=x_.extra;if(!r0e)return null;var n0e,a0e={};return _typeof$2(r0e)==="object"&&!reactExports.isValidElement(r0e)?a0e=r0e:a0e.right=r0e,$P==="right"&&(n0e=a0e.right),$P==="left"&&(n0e=a0e.left),n0e?reactExports.createElement("div",{className:"".concat(t0e,"-extra-content"),ref:e0e},n0e):null}),OperationNode=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.id,r0e=x_.tabs,n0e=x_.locale,a0e=x_.mobile,o0e=x_.moreIcon,i0e=o0e===void 0?"More":o0e,s0e=x_.moreTransitionName,l0e=x_.style,c0e=x_.className,u0e=x_.editable,d0e=x_.tabBarGutter,p0e=x_.rtl,f0e=x_.removeAriaLabel,h0e=x_.onTabClick,b0e=x_.getPopupContainer,m0e=x_.popupClassName,v0e=reactExports.useState(!1),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=reactExports.useState(null),z0e=_slicedToArray$3(O0e,2),_0e=z0e[0],A0e=z0e[1],$0e="".concat(t0e,"-more-popup"),S0e="".concat($P,"-dropdown"),C0e=_0e!==null?"".concat($0e,"-").concat(_0e):null,E0e=n0e==null?void 0:n0e.dropdownAriaLabel;function w0e(N0e,j0e){N0e.preventDefault(),N0e.stopPropagation(),u0e.onEdit("remove",{key:j0e,event:N0e})}var R0e=reactExports.createElement(ExportMenu$1,{onClick:function(j0e){var P0e=j0e.key,I0e=j0e.domEvent;h0e(P0e,I0e),M0e(!1)},prefixCls:"".concat(S0e,"-menu"),id:$0e,tabIndex:-1,role:"listbox","aria-activedescendant":C0e,selectedKeys:[_0e],"aria-label":E0e!==void 0?E0e:"expanded dropdown"},r0e.map(function(N0e){var j0e=N0e.closable,P0e=N0e.disabled,I0e=N0e.closeIcon,F0e=N0e.key,V0e=N0e.label,H0e=getRemovable(j0e,I0e,u0e,P0e);return reactExports.createElement(MenuItem$5,{key:F0e,id:"".concat($0e,"-").concat(F0e),role:"option","aria-controls":t0e&&"".concat(t0e,"-panel-").concat(F0e),disabled:P0e},reactExports.createElement("span",null,V0e),H0e&&reactExports.createElement("button",{type:"button","aria-label":f0e||"remove",tabIndex:0,className:"".concat(S0e,"-menu-item-remove"),onClick:function(Y0e){Y0e.stopPropagation(),w0e(Y0e,F0e)}},I0e||u0e.removeIcon||"×"))}));function T0e(N0e){for(var j0e=r0e.filter(function(H0e){return!H0e.disabled}),P0e=j0e.findIndex(function(H0e){return H0e.key===_0e})||0,I0e=j0e.length,F0e=0;F0ed1e?"left":"right"})}),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=useSyncState(0,function(bme,d1e){!S0e&&h0e&&h0e({direction:bme>d1e?"top":"bottom"})}),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1],q0e=reactExports.useState([0,0]),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useState([0,0]),F0e=_slicedToArray$3(I0e,2),V0e=F0e[0],H0e=F0e[1],Q0e=reactExports.useState([0,0]),Y0e=_slicedToArray$3(Q0e,2),G0e=Y0e[0],B0e=Y0e[1],U0e=reactExports.useState([0,0]),X0e=_slicedToArray$3(U0e,2),Z0e=X0e[0],e1e=X0e[1],n1e=useUpdateState(new Map),t1e=_slicedToArray$3(n1e,2),r1e=t1e[0],a1e=t1e[1],l1e=useOffsets(g0e,r1e,V0e[0]),s1e=getUnitValue(j0e,S0e),g1e=getUnitValue(V0e,S0e),$1e=getUnitValue(G0e,S0e),_1e=getUnitValue(Z0e,S0e),p1e=s1ew1e?w1e:bme}var F1e=reactExports.useRef(null),J1e=reactExports.useState(),ame=_slicedToArray$3(J1e,2),G1e=ame[0],V1e=ame[1];function cme(){V1e(Date.now())}function ume(){F1e.current&&clearTimeout(F1e.current)}useTouchMove(z0e,function(bme,d1e){function b1e(S1e,N1e){S1e(function(nme){var ome=A1e(nme+N1e);return ome})}return p1e?(S0e?b1e(R0e,bme):b1e(k0e,d1e),ume(),cme(),!0):!1}),reactExports.useEffect(function(){return ume(),G1e&&(F1e.current=setTimeout(function(){V1e(0)},100)),ume},[G1e]);var Y1e=useVisibleRange(l1e,E1e,S0e?w0e:W0e,g1e,$1e,_1e,_objectSpread2$1(_objectSpread2$1({},x_),{},{tabs:g0e})),k1e=_slicedToArray$3(Y1e,2),ime=k1e[0],I1e=k1e[1],j1e=useEvent(function(){var bme=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o0e,d1e=l1e.get(bme)||{width:0,height:0,left:0,right:0,top:0};if(S0e){var b1e=w0e;i0e?d1e.rightw0e+E1e&&(b1e=d1e.right+d1e.width-E1e):d1e.left<-w0e?b1e=-d1e.left:d1e.left+d1e.width>-w0e+E1e&&(b1e=-(d1e.left+d1e.width-E1e)),k0e(0),R0e(A1e(b1e))}else{var S1e=W0e;d1e.top<-W0e?S1e=-d1e.top:d1e.top+d1e.height>-W0e+E1e&&(S1e=-(d1e.top+d1e.height-E1e)),R0e(0),k0e(A1e(S1e))}}),H1e={};u0e==="top"||u0e==="bottom"?H1e[i0e?"marginRight":"marginLeft"]=d0e:H1e.marginTop=d0e;var W1e=g0e.map(function(bme,d1e){var b1e=bme.key;return reactExports.createElement(TabNode,{id:n0e,prefixCls:v0e,key:b1e,tab:bme,style:d1e===0?void 0:H1e,closable:bme.closable,editable:l0e,active:b1e===o0e,renderWrapper:p0e,removeAriaLabel:c0e==null?void 0:c0e.removeAriaLabel,onClick:function(N1e){f0e(b1e,N1e)},onFocus:function(){j1e(b1e),cme(),z0e.current&&(i0e||(z0e.current.scrollLeft=0),z0e.current.scrollTop=0)}})}),Q1e=function(){return a1e(function(){var d1e,b1e=new Map,S1e=(d1e=_0e.current)===null||d1e===void 0?void 0:d1e.getBoundingClientRect();return g0e.forEach(function(N1e){var nme,ome=N1e.key,m1e=(nme=_0e.current)===null||nme===void 0?void 0:nme.querySelector('[data-node-key="'.concat(genDataNodeKey(ome),'"]'));if(m1e){var T1e=getTabSize(m1e,S1e),B1e=_slicedToArray$3(T1e,4),eme=B1e[0],sme=B1e[1],gme=B1e[2],zme=B1e[3];b1e.set(ome,{width:eme,height:sme,left:gme,top:zme})}}),b1e})};reactExports.useEffect(function(){Q1e()},[g0e.map(function(bme){return bme.key}).join("_")]);var K1e=useUpdate(function(){var bme=getSize(y0e),d1e=getSize(M0e),b1e=getSize(O0e);P0e([bme[0]-d1e[0]-b1e[0],bme[1]-d1e[1]-b1e[1]]);var S1e=getSize($0e);B0e(S1e);var N1e=getSize(A0e);e1e(N1e);var nme=getSize(_0e);H0e([nme[0]-S1e[0],nme[1]-S1e[1]]),Q1e()}),rme=g0e.slice(0,ime),L1e=g0e.slice(I1e+1),Z1e=[].concat(_toConsumableArray$2(rme),_toConsumableArray$2(L1e)),U1e=l1e.get(o0e),D1e=useIndicator({activeTabOffset:U1e,horizontal:S0e,rtl:i0e,indicatorSize:b0e}),q1e=D1e.style;reactExports.useEffect(function(){j1e()},[o0e,O1e,w1e,stringify$3(U1e),stringify$3(l1e),S0e]),reactExports.useEffect(function(){K1e()},[i0e]);var pme=!!Z1e.length,$me="".concat(v0e,"-nav-wrap"),fme,mme,lme,Ome;return S0e?i0e?(mme=w0e>0,fme=w0e!==w1e):(fme=w0e<0,mme=w0e!==O1e):(lme=W0e<0,Ome=W0e!==O1e),reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{ref:useComposeRef(e0e,y0e),role:"tablist",className:cx$1("".concat(v0e,"-nav"),t0e),style:r0e,onKeyDown:function(){cme()}},reactExports.createElement(ExtraContent,{ref:M0e,position:"left",extra:s0e,prefixCls:v0e}),reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{className:cx$1($me,($P={},_defineProperty$5($P,"".concat($me,"-ping-left"),fme),_defineProperty$5($P,"".concat($me,"-ping-right"),mme),_defineProperty$5($P,"".concat($me,"-ping-top"),lme),_defineProperty$5($P,"".concat($me,"-ping-bottom"),Ome),$P)),ref:z0e},reactExports.createElement(RefResizeObserver,{onResize:K1e},reactExports.createElement("div",{ref:_0e,className:"".concat(v0e,"-nav-list"),style:{transform:"translate(".concat(w0e,"px, ").concat(W0e,"px)"),transition:G1e?"none":void 0}},W1e,reactExports.createElement(AddButton,{ref:$0e,prefixCls:v0e,locale:c0e,editable:l0e,style:_objectSpread2$1(_objectSpread2$1({},W1e.length===0?void 0:H1e),{},{visibility:pme?"hidden":null})}),reactExports.createElement("div",{className:cx$1("".concat(v0e,"-ink-bar"),_defineProperty$5({},"".concat(v0e,"-ink-bar-animated"),a0e.inkBar)),style:q1e}))))),reactExports.createElement(OperationNode$1,_extends$1z({},x_,{removeAriaLabel:c0e==null?void 0:c0e.removeAriaLabel,ref:A0e,prefixCls:v0e,tabs:Z1e,className:!pme&&x1e,tabMoving:!!G1e})),reactExports.createElement(ExtraContent,{ref:O0e,position:"right",extra:s0e,prefixCls:v0e})))}),TabPane$2=reactExports.forwardRef(function(x_,e0e){var $P=x_.prefixCls,t0e=x_.className,r0e=x_.style,n0e=x_.id,a0e=x_.active,o0e=x_.tabKey,i0e=x_.children;return reactExports.createElement("div",{id:n0e&&"".concat(n0e,"-panel-").concat(o0e),role:"tabpanel",tabIndex:a0e?0:-1,"aria-labelledby":n0e&&"".concat(n0e,"-tab-").concat(o0e),"aria-hidden":!a0e,style:r0e,className:cx$1($P,a0e&&"".concat($P,"-active"),t0e),ref:e0e},i0e)}),_excluded$r=["renderTabBar"],_excluded2$9=["label","key"],TabNavListWrapper=function(e0e){var $P=e0e.renderTabBar,t0e=_objectWithoutProperties$4(e0e,_excluded$r),r0e=reactExports.useContext(TabContext),n0e=r0e.tabs;if($P){var a0e=_objectSpread2$1(_objectSpread2$1({},t0e),{},{panes:n0e.map(function(o0e){var i0e=o0e.label,s0e=o0e.key,l0e=_objectWithoutProperties$4(o0e,_excluded2$9);return reactExports.createElement(TabPane$2,_extends$1z({tab:i0e,key:s0e,tabKey:s0e},l0e))})});return $P(a0e,TabNavList)}return reactExports.createElement(TabNavList,t0e)},_excluded$q=["key","forceRender","style","className","destroyInactiveTabPane"],TabPanelList=function(e0e){var $P=e0e.id,t0e=e0e.activeKey,r0e=e0e.animated,n0e=e0e.tabPosition,a0e=e0e.destroyInactiveTabPane,o0e=reactExports.useContext(TabContext),i0e=o0e.prefixCls,s0e=o0e.tabs,l0e=r0e.tabPane,c0e="".concat(i0e,"-tabpane");return reactExports.createElement("div",{className:cx$1("".concat(i0e,"-content-holder"))},reactExports.createElement("div",{className:cx$1("".concat(i0e,"-content"),"".concat(i0e,"-content-").concat(n0e),_defineProperty$5({},"".concat(i0e,"-content-animated"),l0e))},s0e.map(function(u0e){var d0e=u0e.key,p0e=u0e.forceRender,f0e=u0e.style,h0e=u0e.className,b0e=u0e.destroyInactiveTabPane,m0e=_objectWithoutProperties$4(u0e,_excluded$q),v0e=d0e===t0e;return reactExports.createElement(CSSMotion,_extends$1z({key:d0e,visible:v0e,forceRender:p0e,removeOnLeave:!!(a0e||b0e),leavedClassName:"".concat(c0e,"-hidden")},r0e.tabPaneMotion),function(g0e,y0e){var M0e=g0e.style,O0e=g0e.className;return reactExports.createElement(TabPane$2,_extends$1z({},m0e,{prefixCls:c0e,id:$P,tabKey:d0e,animated:l0e,active:v0e,style:_objectSpread2$1(_objectSpread2$1({},f0e),M0e),className:cx$1(h0e,O0e),ref:y0e}))})})))},_excluded$p=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],uuid$2=0,Tabs$4=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.id,r0e=x_.prefixCls,n0e=r0e===void 0?"rc-tabs":r0e,a0e=x_.className,o0e=x_.items,i0e=x_.direction,s0e=x_.activeKey,l0e=x_.defaultActiveKey,c0e=x_.editable,u0e=x_.animated,d0e=x_.tabPosition,p0e=d0e===void 0?"top":d0e,f0e=x_.tabBarGutter,h0e=x_.tabBarStyle,b0e=x_.tabBarExtraContent,m0e=x_.locale,v0e=x_.moreIcon,g0e=x_.moreTransitionName,y0e=x_.destroyInactiveTabPane,M0e=x_.renderTabBar,O0e=x_.onChange,z0e=x_.onTabClick,_0e=x_.onTabScroll,A0e=x_.getPopupContainer,$0e=x_.popupClassName,S0e=x_.indicatorSize,C0e=_objectWithoutProperties$4(x_,_excluded$p),E0e=reactExports.useMemo(function(){return(o0e||[]).filter(function(e1e){return e1e&&_typeof$2(e1e)==="object"&&"key"in e1e})},[o0e]),w0e=i0e==="rtl",R0e=useAnimateConfig$1(u0e),T0e=reactExports.useState(!1),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1];reactExports.useEffect(function(){k0e(isMobile$3())},[]);var q0e=useMergedState(function(){var e1e;return(e1e=E0e[0])===null||e1e===void 0?void 0:e1e.key},{value:s0e,defaultValue:l0e}),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useState(function(){return E0e.findIndex(function(e1e){return e1e.key===j0e})}),F0e=_slicedToArray$3(I0e,2),V0e=F0e[0],H0e=F0e[1];reactExports.useEffect(function(){var e1e=E0e.findIndex(function(t1e){return t1e.key===j0e});if(e1e===-1){var n1e;e1e=Math.max(0,Math.min(V0e,E0e.length-1)),P0e((n1e=E0e[e1e])===null||n1e===void 0?void 0:n1e.key)}H0e(e1e)},[E0e.map(function(e1e){return e1e.key}).join("_"),j0e,V0e]);var Q0e=useMergedState(null,{value:t0e}),Y0e=_slicedToArray$3(Q0e,2),G0e=Y0e[0],B0e=Y0e[1];reactExports.useEffect(function(){t0e||(B0e("rc-tabs-".concat(uuid$2)),uuid$2+=1)},[]);function U0e(e1e,n1e){z0e==null||z0e(e1e,n1e);var t1e=e1e!==j0e;P0e(e1e),t1e&&(O0e==null||O0e(e1e))}var X0e={id:G0e,activeKey:j0e,animated:R0e,tabPosition:p0e,rtl:w0e,mobile:W0e},Z0e=_objectSpread2$1(_objectSpread2$1({},X0e),{},{editable:c0e,locale:m0e,moreIcon:v0e,moreTransitionName:g0e,tabBarGutter:f0e,onTabClick:U0e,onTabScroll:_0e,extra:b0e,style:h0e,panes:null,getPopupContainer:A0e,popupClassName:$0e,indicatorSize:S0e});return reactExports.createElement(TabContext.Provider,{value:{tabs:E0e,prefixCls:n0e}},reactExports.createElement("div",_extends$1z({ref:e0e,id:t0e,className:cx$1(n0e,"".concat(n0e,"-").concat(p0e),($P={},_defineProperty$5($P,"".concat(n0e,"-mobile"),W0e),_defineProperty$5($P,"".concat(n0e,"-editable"),c0e),_defineProperty$5($P,"".concat(n0e,"-rtl"),w0e),$P),a0e)},C0e),reactExports.createElement(TabNavListWrapper,_extends$1z({},Z0e,{renderTabBar:M0e})),reactExports.createElement(TabPanelList,_extends$1z({destroyInactiveTabPane:y0e},X0e,{animated:R0e}))))});const motion={motionAppear:!1,motionEnter:!0,motionLeave:!0};function useAnimateConfig(x_){let e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},$P;return e0e===!1?$P={inkBar:!1,tabPane:!1}:e0e===!0?$P={inkBar:!0,tabPane:!0}:$P=Object.assign({inkBar:!0},typeof e0e=="object"?e0e:{}),$P.tabPane&&($P.tabPaneMotion=Object.assign(Object.assign({},motion),{motionName:getTransitionName(x_,"switch")})),$P}var __rest$v=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ee0e)}function useLegacyItems(x_,e0e){if(x_)return x_;const $P=toArray$6(e0e).map(t0e=>{if(reactExports.isValidElement(t0e)){const{key:r0e,props:n0e}=t0e,a0e=n0e||{},{tab:o0e}=a0e,i0e=__rest$v(a0e,["tab"]);return Object.assign(Object.assign({key:String(r0e)},i0e),{label:o0e})}return null});return filter$2($P)}const genMotionStyle$2=x_=>{const{componentCls:e0e,motionDurationSlow:$P}=x_;return[{[e0e]:{[`${e0e}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${$P}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${$P}`}}}}},[initSlideMotion(x_,"slide-up"),initSlideMotion(x_,"slide-down")]]},genMotionStyle$3=genMotionStyle$2,genCardStyle$1=x_=>{const{componentCls:e0e,tabsCardPadding:$P,cardBg:t0e,cardGutter:r0e,colorBorderSecondary:n0e,itemSelectedColor:a0e}=x_;return{[`${e0e}-card`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{margin:0,padding:$P,background:t0e,border:`${unit$1(x_.lineWidth)} ${x_.lineType} ${n0e}`,transition:`all ${x_.motionDurationSlow} ${x_.motionEaseInOut}`},[`${e0e}-tab-active`]:{color:a0e,background:x_.colorBgContainer},[`${e0e}-ink-bar`]:{visibility:"hidden"}},[`&${e0e}-top, &${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab + ${e0e}-tab`]:{marginLeft:{_skip_check_:!0,value:unit$1(r0e)}}}},[`&${e0e}-top`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:`${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0 0`},[`${e0e}-tab-active`]:{borderBottomColor:x_.colorBgContainer}}},[`&${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:`0 0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)}`},[`${e0e}-tab-active`]:{borderTopColor:x_.colorBgContainer}}},[`&${e0e}-left, &${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab + ${e0e}-tab`]:{marginTop:unit$1(r0e)}}},[`&${e0e}-left`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`${unit$1(x_.borderRadiusLG)} 0 0 ${unit$1(x_.borderRadiusLG)}`}},[`${e0e}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:x_.colorBgContainer}}}},[`&${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0`}},[`${e0e}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:x_.colorBgContainer}}}}}}},genDropdownStyle=x_=>{const{componentCls:e0e,itemHoverColor:$P,dropdownEdgeChildVerticalPadding:t0e}=x_;return{[`${e0e}-dropdown`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x_.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${e0e}-dropdown-menu`]:{maxHeight:x_.tabsDropdownHeight,margin:0,padding:`${unit$1(t0e)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:x_.colorBgContainer,backgroundClip:"padding-box",borderRadius:x_.borderRadiusLG,outline:"none",boxShadow:x_.boxShadowSecondary,"&-item":Object.assign(Object.assign({},textEllipsis),{display:"flex",alignItems:"center",minWidth:x_.tabsDropdownWidth,margin:0,padding:`${unit$1(x_.paddingXXS)} ${unit$1(x_.paddingSM)}`,color:x_.colorText,fontWeight:"normal",fontSize:x_.fontSize,lineHeight:x_.lineHeight,cursor:"pointer",transition:`all ${x_.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:x_.marginSM},color:x_.colorTextDescription,fontSize:x_.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:$P}},"&:hover":{background:x_.controlItemBgHover},"&-disabled":{"&, &:hover":{color:x_.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},genPositionStyle=x_=>{const{componentCls:e0e,margin:$P,colorBorderSecondary:t0e,horizontalMargin:r0e,verticalItemPadding:n0e,verticalItemMargin:a0e,calc:o0e}=x_;return{[`${e0e}-top, ${e0e}-bottom`]:{flexDirection:"column",[`> ${e0e}-nav, > div > ${e0e}-nav`]:{margin:r0e,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${unit$1(x_.lineWidth)} ${x_.lineType} ${t0e}`,content:"''"},[`${e0e}-ink-bar`]:{height:x_.lineWidthBold,"&-animated":{transition:`width ${x_.motionDurationSlow}, left ${x_.motionDurationSlow}, right ${x_.motionDurationSlow}`}},[`${e0e}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:x_.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:x_.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:x_.boxShadowTabsOverflowRight},[`&${e0e}-nav-wrap-ping-left::before`]:{opacity:1},[`&${e0e}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${e0e}-top`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{"&::before":{bottom:0},[`${e0e}-ink-bar`]:{bottom:0}}},[`${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{order:1,marginTop:$P,marginBottom:0,"&::before":{top:0},[`${e0e}-ink-bar`]:{top:0}},[`> ${e0e}-content-holder, > div > ${e0e}-content-holder`]:{order:0}},[`${e0e}-left, ${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{flexDirection:"column",minWidth:o0e(x_.controlHeight).mul(1.25).equal(),[`${e0e}-tab`]:{padding:n0e,textAlign:"center"},[`${e0e}-tab + ${e0e}-tab`]:{margin:a0e},[`${e0e}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:x_.controlHeight},"&::before":{top:0,boxShadow:x_.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:x_.boxShadowTabsOverflowBottom},[`&${e0e}-nav-wrap-ping-top::before`]:{opacity:1},[`&${e0e}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${e0e}-ink-bar`]:{width:x_.lineWidthBold,"&-animated":{transition:`height ${x_.motionDurationSlow}, top ${x_.motionDurationSlow}`}},[`${e0e}-nav-list, ${e0e}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${e0e}-left`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${e0e}-content-holder, > div > ${e0e}-content-holder`]:{marginLeft:{_skip_check_:!0,value:unit$1(o0e(x_.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorder}`},[`> ${e0e}-content > ${e0e}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:x_.paddingLG}}}},[`${e0e}-right`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{order:1,[`${e0e}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${e0e}-content-holder, > div > ${e0e}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:o0e(x_.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorder}`},[`> ${e0e}-content > ${e0e}-tabpane`]:{paddingRight:{_skip_check_:!0,value:x_.paddingLG}}}}}},genSizeStyle$1=x_=>{const{componentCls:e0e,cardPaddingSM:$P,cardPaddingLG:t0e,horizontalItemPaddingSM:r0e,horizontalItemPaddingLG:n0e}=x_;return{[e0e]:{"&-small":{[`> ${e0e}-nav`]:{[`${e0e}-tab`]:{padding:r0e,fontSize:x_.titleFontSizeSM}}},"&-large":{[`> ${e0e}-nav`]:{[`${e0e}-tab`]:{padding:n0e,fontSize:x_.titleFontSizeLG}}}},[`${e0e}-card`]:{[`&${e0e}-small`]:{[`> ${e0e}-nav`]:{[`${e0e}-tab`]:{padding:$P}},[`&${e0e}-bottom`]:{[`> ${e0e}-nav ${e0e}-tab`]:{borderRadius:`0 0 ${unit$1(x_.borderRadius)} ${unit$1(x_.borderRadius)}`}},[`&${e0e}-top`]:{[`> ${e0e}-nav ${e0e}-tab`]:{borderRadius:`${unit$1(x_.borderRadius)} ${unit$1(x_.borderRadius)} 0 0`}},[`&${e0e}-right`]:{[`> ${e0e}-nav ${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${unit$1(x_.borderRadius)} ${unit$1(x_.borderRadius)} 0`}}},[`&${e0e}-left`]:{[`> ${e0e}-nav ${e0e}-tab`]:{borderRadius:{_skip_check_:!0,value:`${unit$1(x_.borderRadius)} 0 0 ${unit$1(x_.borderRadius)}`}}}},[`&${e0e}-large`]:{[`> ${e0e}-nav`]:{[`${e0e}-tab`]:{padding:t0e}}}}}},genTabStyle=x_=>{const{componentCls:e0e,itemActiveColor:$P,itemHoverColor:t0e,iconCls:r0e,tabsHorizontalItemMargin:n0e,horizontalItemPadding:a0e,itemSelectedColor:o0e,itemColor:i0e}=x_,s0e=`${e0e}-tab`;return{[s0e]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a0e,fontSize:x_.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:i0e,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:$P}},genFocusStyle(x_)),"&-btn":{outline:"none",transition:"all 0.3s",[`${s0e}-icon:not(:last-child)`]:{marginInlineEnd:x_.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:x_.calc(x_.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:x_.marginXS},color:x_.colorTextDescription,fontSize:x_.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${x_.motionDurationSlow}`,"&:hover":{color:x_.colorTextHeading}},"&:hover":{color:t0e},[`&${s0e}-active ${s0e}-btn`]:{color:o0e,textShadow:x_.tabsActiveTextShadow},[`&${s0e}-disabled`]:{color:x_.colorTextDisabled,cursor:"not-allowed"},[`&${s0e}-disabled ${s0e}-btn, &${s0e}-disabled ${e0e}-remove`]:{"&:focus, &:active":{color:x_.colorTextDisabled}},[`& ${s0e}-remove ${r0e}`]:{margin:0},[`${r0e}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:x_.marginSM}}},[`${s0e} + ${s0e}`]:{margin:{_skip_check_:!0,value:n0e}}}},genRtlStyle$1=x_=>{const{componentCls:e0e,tabsHorizontalItemMarginRTL:$P,iconCls:t0e,cardGutter:r0e,calc:n0e}=x_;return{[`${e0e}-rtl`]:{direction:"rtl",[`${e0e}-nav`]:{[`${e0e}-tab`]:{margin:{_skip_check_:!0,value:$P},[`${e0e}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[t0e]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:unit$1(x_.marginSM)}},[`${e0e}-tab-remove`]:{marginRight:{_skip_check_:!0,value:unit$1(x_.marginXS)},marginLeft:{_skip_check_:!0,value:unit$1(n0e(x_.marginXXS).mul(-1).equal())},[t0e]:{margin:0}}}},[`&${e0e}-left`]:{[`> ${e0e}-nav`]:{order:1},[`> ${e0e}-content-holder`]:{order:0}},[`&${e0e}-right`]:{[`> ${e0e}-nav`]:{order:0},[`> ${e0e}-content-holder`]:{order:1}},[`&${e0e}-card${e0e}-top, &${e0e}-card${e0e}-bottom`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-tab + ${e0e}-tab`]:{marginRight:{_skip_check_:!0,value:r0e},marginLeft:{_skip_check_:!0,value:0}}}}},[`${e0e}-dropdown-rtl`]:{direction:"rtl"},[`${e0e}-menu-item`]:{[`${e0e}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},genTabsStyle=x_=>{const{componentCls:e0e,tabsCardPadding:$P,cardHeight:t0e,cardGutter:r0e,itemHoverColor:n0e,itemActiveColor:a0e,colorBorderSecondary:o0e}=x_;return{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{display:"flex",[`> ${e0e}-nav, > div > ${e0e}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${e0e}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${x_.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${e0e}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${x_.motionDurationSlow}`},[`${e0e}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${e0e}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${e0e}-nav-more`]:{position:"relative",padding:$P,background:"transparent",border:0,color:x_.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:x_.calc(x_.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${e0e}-nav-add`]:Object.assign({minWidth:t0e,marginLeft:{_skip_check_:!0,value:r0e},padding:`0 ${unit$1(x_.paddingXS)}`,background:"transparent",border:`${unit$1(x_.lineWidth)} ${x_.lineType} ${o0e}`,borderRadius:`${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:x_.colorText,transition:`all ${x_.motionDurationSlow} ${x_.motionEaseInOut}`,"&:hover":{color:n0e},"&:active, &:focus:not(:focus-visible)":{color:a0e}},genFocusStyle(x_))},[`${e0e}-extra-content`]:{flex:"none"},[`${e0e}-ink-bar`]:{position:"absolute",background:x_.inkBarColor,pointerEvents:"none"}}),genTabStyle(x_)),{[`${e0e}-content`]:{position:"relative",width:"100%"},[`${e0e}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${e0e}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${e0e}-centered`]:{[`> ${e0e}-nav, > div > ${e0e}-nav`]:{[`${e0e}-nav-wrap`]:{[`&:not([class*='${e0e}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},prepareComponentToken$a=x_=>{const e0e=x_.controlHeightLG;return{zIndexPopup:x_.zIndexPopupBase+50,cardBg:x_.colorFillAlter,cardHeight:e0e,cardPadding:`${(e0e-Math.round(x_.fontSize*x_.lineHeight))/2-x_.lineWidth}px ${x_.padding}px`,cardPaddingSM:`${x_.paddingXXS*1.5}px ${x_.padding}px`,cardPaddingLG:`${x_.paddingXS}px ${x_.padding}px ${x_.paddingXXS*1.5}px`,titleFontSize:x_.fontSize,titleFontSizeLG:x_.fontSizeLG,titleFontSizeSM:x_.fontSize,inkBarColor:x_.colorPrimary,horizontalMargin:`0 0 ${x_.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${x_.paddingSM}px 0`,horizontalItemPaddingSM:`${x_.paddingXS}px 0`,horizontalItemPaddingLG:`${x_.padding}px 0`,verticalItemPadding:`${x_.paddingXS}px ${x_.paddingLG}px`,verticalItemMargin:`${x_.margin}px 0 0 0`,itemColor:x_.colorText,itemSelectedColor:x_.colorPrimary,itemHoverColor:x_.colorPrimaryHover,itemActiveColor:x_.colorPrimaryActive,cardGutter:x_.marginXXS/2}},useStyle$c=genStyleHooks("Tabs",x_=>{const e0e=merge$2(x_,{tabsCardPadding:x_.cardPadding,dropdownEdgeChildVerticalPadding:x_.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${unit$1(x_.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${unit$1(x_.horizontalItemGutter)}`});return[genSizeStyle$1(e0e),genRtlStyle$1(e0e),genPositionStyle(e0e),genDropdownStyle(e0e),genCardStyle$1(e0e),genTabsStyle(e0e),genMotionStyle$3(e0e)]},prepareComponentToken$a),TabPane=()=>null,TabPane$1=TabPane;var __rest$u=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{type:e0e,className:$P,rootClassName:t0e,size:r0e,onEdit:n0e,hideAdd:a0e,centered:o0e,addIcon:i0e,popupClassName:s0e,children:l0e,items:c0e,animated:u0e,style:d0e,indicatorSize:p0e}=x_,f0e=__rest$u(x_,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:h0e,moreIcon:b0e=reactExports.createElement(EllipsisOutlined$1,null)}=f0e,{direction:m0e,tabs:v0e,getPrefixCls:g0e,getPopupContainer:y0e}=reactExports.useContext(ConfigContext),M0e=g0e("tabs",h0e),O0e=useCSSVarCls$1(M0e),[z0e,_0e]=useStyle$c(M0e,O0e);let A0e;e0e==="editable-card"&&(A0e={onEdit:(R0e,T0e)=>{let{key:D0e,event:W0e}=T0e;n0e==null||n0e(R0e==="add"?W0e:D0e,R0e)},removeIcon:reactExports.createElement(CloseOutlined$1,null),addIcon:i0e||reactExports.createElement(PlusOutlined$1,null),showAdd:a0e!==!0});const $0e=g0e(),S0e=useLegacyItems(c0e,l0e),C0e=useAnimateConfig(M0e,u0e),E0e=useSize$1(r0e),w0e=Object.assign(Object.assign({},v0e==null?void 0:v0e.style),d0e);return z0e(reactExports.createElement(Tabs$4,Object.assign({direction:m0e,getPopupContainer:y0e,moreTransitionName:`${$0e}-slide-up`},f0e,{items:S0e,className:cx$1({[`${M0e}-${E0e}`]:E0e,[`${M0e}-card`]:["card","editable-card"].includes(e0e),[`${M0e}-editable-card`]:e0e==="editable-card",[`${M0e}-centered`]:o0e},v0e==null?void 0:v0e.className,$P,t0e,_0e,O0e),popupClassName:cx$1(s0e,_0e,O0e),style:w0e,editable:A0e,moreIcon:b0e,prefixCls:M0e,animated:C0e,indicatorSize:p0e??(v0e==null?void 0:v0e.indicatorSize)})))};Tabs$2.TabPane=TabPane$1;const Tabs$3=Tabs$2;var __rest$t=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var{prefixCls:e0e,className:$P,hoverable:t0e=!0}=x_,r0e=__rest$t(x_,["prefixCls","className","hoverable"]);const{getPrefixCls:n0e}=reactExports.useContext(ConfigContext),a0e=n0e("card",e0e),o0e=cx$1(`${a0e}-grid`,$P,{[`${a0e}-grid-hoverable`]:t0e});return reactExports.createElement("div",Object.assign({},r0e,{className:o0e}))},Grid$2=Grid$1,genCardHeadStyle=x_=>{const{antCls:e0e,componentCls:$P,headerHeight:t0e,cardPaddingBase:r0e,tabsMarginBottom:n0e}=x_;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:t0e,marginBottom:-1,padding:`0 ${unit$1(r0e)}`,color:x_.colorTextHeading,fontWeight:x_.fontWeightStrong,fontSize:x_.headerFontSize,background:x_.headerBg,borderBottom:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorderSecondary}`,borderRadius:`${unit$1(x_.borderRadiusLG)} ${unit$1(x_.borderRadiusLG)} 0 0`},clearFix()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},textEllipsis),{[` > ${$P}-typography, @@ -334,7 +334,7 @@ html body { & > ${e0e}-header`]:{borderRadius:`0 0 ${unit$1(i0e)} ${unit$1(i0e)}`}},[`> ${e0e}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:n0e,color:d0e,lineHeight:h0e,cursor:"pointer",transition:`all ${M0e}, visibility 0s`,[`> ${e0e}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${e0e}-expand-icon`]:{height:_0e,display:"flex",alignItems:"center",paddingInlineEnd:m0e},[`${e0e}-arrow`]:Object.assign(Object.assign({},resetIcon()),{fontSize:O0e,svg:{transition:`transform ${M0e}`}}),[`${e0e}-header-text`]:{marginInlineEnd:"auto"}},[`${e0e}-icon-collapsible-only`]:{cursor:"unset",[`${e0e}-expand-icon`]:{cursor:"pointer"}}},[`${e0e}-content`]:{color:u0e,backgroundColor:$P,borderTop:$0e,[`& > ${e0e}-content-box`]:{padding:z0e},"&-hidden":{display:"none"}},"&-small":{[`> ${e0e}-item`]:{[`> ${e0e}-header`]:{padding:a0e,paddingInlineStart:y0e,[`> ${e0e}-expand-icon`]:{marginInlineStart:x_.calc(v0e).sub(y0e).equal()}},[`> ${e0e}-content > ${e0e}-content-box`]:{padding:v0e}}},"&-large":{[`> ${e0e}-item`]:{fontSize:f0e,lineHeight:b0e,[`> ${e0e}-header`]:{padding:o0e,paddingInlineStart:t0e,[`> ${e0e}-expand-icon`]:{height:A0e,marginInlineStart:x_.calc(g0e).sub(t0e).equal()}},[`> ${e0e}-content > ${e0e}-content-box`]:{padding:g0e}}},[`${e0e}-item:last-child`]:{[`> ${e0e}-content`]:{borderRadius:`0 0 ${unit$1(i0e)} ${unit$1(i0e)}`}},[`& ${e0e}-item-disabled > ${e0e}-header`]:{"\n &,\n & > .arrow\n ":{color:p0e,cursor:"not-allowed"}},[`&${e0e}-icon-position-end`]:{[`& > ${e0e}-item`]:{[`> ${e0e}-header`]:{[`${e0e}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:m0e}}}}})}},genArrowStyle=x_=>{const{componentCls:e0e}=x_,$P=`> ${e0e}-item > ${e0e}-header ${e0e}-arrow svg`;return{[`${e0e}-rtl`]:{[$P]:{transform:"rotate(180deg)"}}}},genBorderlessStyle=x_=>{const{componentCls:e0e,headerBg:$P,paddingXXS:t0e,colorBorder:r0e}=x_;return{[`${e0e}-borderless`]:{backgroundColor:$P,border:0,[`> ${e0e}-item`]:{borderBottom:`1px solid ${r0e}`},[` > ${e0e}-item:last-child, > ${e0e}-item:last-child ${e0e}-header - `]:{borderRadius:0},[`> ${e0e}-item:last-child`]:{borderBottom:0},[`> ${e0e}-item > ${e0e}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${e0e}-item > ${e0e}-content > ${e0e}-content-box`]:{paddingTop:t0e}}}},genGhostStyle=x_=>{const{componentCls:e0e,paddingSM:$P}=x_;return{[`${e0e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e0e}-item`]:{borderBottom:0,[`> ${e0e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e0e}-content-box`]:{paddingBlock:$P}}}}}},prepareComponentToken$8=x_=>({headerPadding:`${x_.paddingSM}px ${x_.padding}px`,headerBg:x_.colorFillAlter,contentPadding:`${x_.padding}px 16px`,contentBg:x_.colorBgContainer}),useStyle$9=genStyleHooks("Collapse",x_=>{const e0e=merge$2(x_,{collapseHeaderPaddingSM:`${unit$1(x_.paddingXS)} ${unit$1(x_.paddingSM)}`,collapseHeaderPaddingLG:`${unit$1(x_.padding)} ${unit$1(x_.paddingLG)}`,collapsePanelBorderRadius:x_.borderRadiusLG});return[genBaseStyle(e0e),genBorderlessStyle(e0e),genGhostStyle(e0e),genArrowStyle(e0e),genCollapseMotion$1(e0e)]},prepareComponentToken$8),Collapse$2=reactExports.forwardRef((x_,e0e)=>{const{getPrefixCls:$P,direction:t0e,collapse:r0e}=reactExports.useContext(ConfigContext),{prefixCls:n0e,className:a0e,rootClassName:o0e,style:i0e,bordered:s0e=!0,ghost:l0e,size:c0e,expandIconPosition:u0e="start",children:d0e,expandIcon:p0e}=x_,f0e=useSize$1(_0e=>{var A0e;return(A0e=c0e??_0e)!==null&&A0e!==void 0?A0e:"middle"}),h0e=$P("collapse",n0e),b0e=$P(),[m0e,v0e]=useStyle$9(h0e),g0e=reactExports.useMemo(()=>u0e==="left"?"start":u0e==="right"?"end":u0e,[u0e]),y0e=function(){let _0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const A0e=p0e?p0e(_0e):reactExports.createElement(RightOutlined$1,{rotate:_0e.isActive?90:void 0});return cloneElement(A0e,()=>({className:cx$1(A0e.props.className,`${h0e}-arrow`)}))},M0e=cx$1(`${h0e}-icon-position-${g0e}`,{[`${h0e}-borderless`]:!s0e,[`${h0e}-rtl`]:t0e==="rtl",[`${h0e}-ghost`]:!!l0e,[`${h0e}-${f0e}`]:f0e!=="middle"},r0e==null?void 0:r0e.className,a0e,o0e,v0e),O0e=Object.assign(Object.assign({},initCollapseMotion$1(b0e)),{motionAppear:!1,leavedClassName:`${h0e}-content-hidden`}),z0e=reactExports.useMemo(()=>d0e?toArray$6(d0e).map((_0e,A0e)=>{var $0e,S0e;if(!(($0e=_0e.props)===null||$0e===void 0)&&$0e.disabled){const C0e=(S0e=_0e.key)!==null&&S0e!==void 0?S0e:String(A0e),{disabled:E0e,collapsible:w0e}=_0e.props,R0e=Object.assign(Object.assign({},omit$2(_0e.props,["disabled"])),{key:C0e,collapsible:w0e??(E0e?"disabled":void 0)});return cloneElement(_0e,R0e)}return _0e}):null,[d0e]);return m0e(reactExports.createElement(Collapse$5,Object.assign({ref:e0e,openMotion:O0e},omit$2(x_,["rootClassName"]),{expandIcon:y0e,prefixCls:h0e,className:M0e,style:Object.assign(Object.assign({},r0e==null?void 0:r0e.style),i0e)}),z0e))}),Collapse$3=Object.assign(Collapse$2,{Panel:CollapsePanel$1}),genSharedDividerStyle=x_=>{const{componentCls:e0e,sizePaddingEdgeHorizontal:$P,colorSplit:t0e,lineWidth:r0e,textPaddingInline:n0e,orientationMargin:a0e,verticalMarginInline:o0e}=x_;return{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{borderBlockStart:`${unit$1(r0e)} solid ${t0e}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:o0e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${unit$1(r0e)} solid ${t0e}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${unit$1(x_.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${e0e}-with-text`]:{display:"flex",alignItems:"center",margin:`${unit$1(x_.dividerHorizontalWithTextGutterMargin)} 0`,color:x_.colorTextHeading,fontWeight:500,fontSize:x_.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${t0e}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${unit$1(r0e)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e0e}-with-text-left`]:{"&::before":{width:`calc(${a0e} * 100%)`},"&::after":{width:`calc(100% - ${a0e} * 100%)`}},[`&-horizontal${e0e}-with-text-right`]:{"&::before":{width:`calc(100% - ${a0e} * 100%)`},"&::after":{width:`calc(${a0e} * 100%)`}},[`${e0e}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:n0e},"&-dashed":{background:"none",borderColor:t0e,borderStyle:"dashed",borderWidth:`${unit$1(r0e)} 0 0`},[`&-horizontal${e0e}-with-text${e0e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e0e}-dashed`]:{borderInlineStartWidth:r0e,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e0e}-with-text`]:{color:x_.colorText,fontWeight:"normal",fontSize:x_.fontSize},[`&-horizontal${e0e}-with-text-left${e0e}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e0e}-inner-text`]:{paddingInlineStart:$P}},[`&-horizontal${e0e}-with-text-right${e0e}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e0e}-inner-text`]:{paddingInlineEnd:$P}}})}},prepareComponentToken$7=x_=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:x_.marginXS}),useStyle$8=genStyleHooks("Divider",x_=>{const e0e=merge$2(x_,{dividerHorizontalWithTextGutterMargin:x_.margin,dividerHorizontalGutterMargin:x_.marginLG,sizePaddingEdgeHorizontal:0});return[genSharedDividerStyle(e0e)]},prepareComponentToken$7,{unitless:{orientationMargin:!0}});var __rest$m=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPrefixCls:e0e,direction:$P,divider:t0e}=reactExports.useContext(ConfigContext),{prefixCls:r0e,type:n0e="horizontal",orientation:a0e="center",orientationMargin:o0e,className:i0e,rootClassName:s0e,children:l0e,dashed:c0e,plain:u0e,style:d0e}=x_,p0e=__rest$m(x_,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),f0e=e0e("divider",r0e),[h0e,b0e]=useStyle$8(f0e),m0e=a0e.length>0?`-${a0e}`:a0e,v0e=!!l0e,g0e=a0e==="left"&&o0e!=null,y0e=a0e==="right"&&o0e!=null,M0e=cx$1(f0e,t0e==null?void 0:t0e.className,b0e,`${f0e}-${n0e}`,{[`${f0e}-with-text`]:v0e,[`${f0e}-with-text${m0e}`]:v0e,[`${f0e}-dashed`]:!!c0e,[`${f0e}-plain`]:!!u0e,[`${f0e}-rtl`]:$P==="rtl",[`${f0e}-no-default-orientation-margin-left`]:g0e,[`${f0e}-no-default-orientation-margin-right`]:y0e},i0e,s0e),O0e=reactExports.useMemo(()=>typeof o0e=="number"?o0e:/^\d+$/.test(o0e)?Number(o0e):o0e,[o0e]),z0e=Object.assign(Object.assign({},g0e&&{marginLeft:O0e}),y0e&&{marginRight:O0e});return h0e(reactExports.createElement("div",Object.assign({className:M0e,style:Object.assign(Object.assign({},t0e==null?void 0:t0e.style),d0e)},p0e,{role:"separator"}),l0e&&n0e!=="vertical"&&reactExports.createElement("span",{className:`${f0e}-inner-text`,style:z0e},l0e)))},Divider$3=Divider$2;var _excluded$m=["b"],_excluded2$8=["v"],getRoundNumber$1=function(e0e){return Math.round(Number(e0e||0))},convertHsb2Hsv=function(e0e){if(e0e&&_typeof$2(e0e)==="object"&&"h"in e0e&&"b"in e0e){var $P=e0e,t0e=$P.b,r0e=_objectWithoutProperties$4($P,_excluded$m);return _objectSpread2$1(_objectSpread2$1({},r0e),{},{v:t0e})}return typeof e0e=="string"&&/hsb/.test(e0e)?e0e.replace(/hsb/,"hsv"):e0e},Color$1=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){return _classCallCheck$1(this,$P),e0e.call(this,convertHsb2Hsv(t0e))}return _createClass$1($P,[{key:"toHsbString",value:function(){var r0e=this.toHsb(),n0e=getRoundNumber$1(r0e.s*100),a0e=getRoundNumber$1(r0e.b*100),o0e=getRoundNumber$1(r0e.h),i0e=r0e.a,s0e="hsb(".concat(o0e,", ").concat(n0e,"%, ").concat(a0e,"%)"),l0e="hsba(".concat(o0e,", ").concat(n0e,"%, ").concat(a0e,"%, ").concat(i0e.toFixed(i0e===0?0:2),")");return i0e===1?s0e:l0e}},{key:"toHsb",value:function(){var r0e=this.toHsv();_typeof$2(this.originalInput)==="object"&&this.originalInput&&"h"in this.originalInput&&(r0e=this.originalInput);var n0e=r0e;n0e.v;var a0e=_objectWithoutProperties$4(n0e,_excluded2$8);return _objectSpread2$1(_objectSpread2$1({},a0e),{},{b:r0e.v})}}]),$P}(TinyColor),ColorPickerPrefixCls="rc-color-picker",generateColor$1=function(e0e){return e0e instanceof Color$1?e0e:new Color$1(e0e)},defaultColor=generateColor$1("#1677ff"),calculateColor=function(e0e){var $P=e0e.offset,t0e=e0e.targetRef,r0e=e0e.containerRef,n0e=e0e.color,a0e=e0e.type,o0e=r0e.current.getBoundingClientRect(),i0e=o0e.width,s0e=o0e.height,l0e=t0e.current.getBoundingClientRect(),c0e=l0e.width,u0e=l0e.height,d0e=c0e/2,p0e=u0e/2,f0e=($P.x+d0e)/i0e,h0e=1-($P.y+p0e)/s0e,b0e=n0e.toHsb(),m0e=f0e,v0e=($P.x+d0e)/i0e*360;if(a0e)switch(a0e){case"hue":return generateColor$1(_objectSpread2$1(_objectSpread2$1({},b0e),{},{h:v0e<=0?0:v0e}));case"alpha":return generateColor$1(_objectSpread2$1(_objectSpread2$1({},b0e),{},{a:m0e<=0?0:m0e}))}return generateColor$1({h:b0e.h,s:f0e<=0?0:f0e,b:h0e>=1?1:h0e,a:b0e.a})},calculateOffset$1=function(e0e,$P,t0e,r0e){var n0e=e0e.current.getBoundingClientRect(),a0e=n0e.width,o0e=n0e.height,i0e=$P.current.getBoundingClientRect(),s0e=i0e.width,l0e=i0e.height,c0e=s0e/2,u0e=l0e/2,d0e=t0e.toHsb();if(!(s0e===0&&l0e===0||s0e!==l0e)){if(r0e)switch(r0e){case"hue":return{x:d0e.h/360*a0e-c0e,y:-u0e/3};case"alpha":return{x:d0e.a/1*a0e-c0e,y:-u0e/3}}return{x:d0e.s*a0e-c0e,y:(1-d0e.b)*o0e-u0e}}},ColorBlock=function(e0e){var $P=e0e.color,t0e=e0e.prefixCls,r0e=e0e.className,n0e=e0e.style,a0e=e0e.onClick,o0e="".concat(t0e,"-color-block");return React$1.createElement("div",{className:cx$1(o0e,r0e),style:n0e,onClick:a0e},React$1.createElement("div",{className:"".concat(o0e,"-inner"),style:{background:$P}}))};function getPosition(x_){var e0e="touches"in x_?x_.touches[0]:x_,$P=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,t0e=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:e0e.pageX-$P,pageY:e0e.pageY-t0e}}function useColorDrag(x_){var e0e=x_.offset,$P=x_.targetRef,t0e=x_.containerRef,r0e=x_.direction,n0e=x_.onDragChange,a0e=x_.onDragChangeComplete,o0e=x_.calculate,i0e=x_.color,s0e=x_.disabledDrag,l0e=reactExports.useState(e0e||{x:0,y:0}),c0e=_slicedToArray$3(l0e,2),u0e=c0e[0],d0e=c0e[1],p0e=reactExports.useRef(null),f0e=reactExports.useRef(null),h0e=reactExports.useRef({flag:!1});reactExports.useEffect(function(){if(h0e.current.flag===!1){var y0e=o0e==null?void 0:o0e(t0e);y0e&&d0e(y0e)}},[i0e,t0e]),reactExports.useEffect(function(){return function(){document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),document.removeEventListener("touchmove",p0e.current),document.removeEventListener("touchend",f0e.current),p0e.current=null,f0e.current=null}},[]);var b0e=function(M0e){var O0e=getPosition(M0e),z0e=O0e.pageX,_0e=O0e.pageY,A0e=t0e.current.getBoundingClientRect(),$0e=A0e.x,S0e=A0e.y,C0e=A0e.width,E0e=A0e.height,w0e=$P.current.getBoundingClientRect(),R0e=w0e.width,T0e=w0e.height,D0e=R0e/2,W0e=T0e/2,k0e=Math.max(0,Math.min(z0e-$0e,C0e))-D0e,q0e=Math.max(0,Math.min(_0e-S0e,E0e))-W0e,N0e={x:k0e,y:r0e==="x"?u0e.y:q0e};if(R0e===0&&T0e===0||R0e!==T0e)return!1;d0e(N0e),n0e==null||n0e(N0e)},m0e=function(M0e){M0e.preventDefault(),b0e(M0e)},v0e=function(M0e){M0e.preventDefault(),h0e.current.flag=!1,document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),document.removeEventListener("touchmove",p0e.current),document.removeEventListener("touchend",f0e.current),p0e.current=null,f0e.current=null,a0e==null||a0e()},g0e=function(M0e){document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),!s0e&&(b0e(M0e),h0e.current.flag=!0,document.addEventListener("mousemove",m0e),document.addEventListener("mouseup",v0e),document.addEventListener("touchmove",m0e),document.addEventListener("touchend",v0e),p0e.current=m0e,f0e.current=v0e)};return[u0e,g0e]}var Handler=function(e0e){var $P=e0e.size,t0e=$P===void 0?"default":$P,r0e=e0e.color,n0e=e0e.prefixCls;return React$1.createElement("div",{className:cx$1("".concat(n0e,"-handler"),_defineProperty$5({},"".concat(n0e,"-handler-sm"),t0e==="small")),style:{backgroundColor:r0e}})},Palette=function(e0e){var $P=e0e.children,t0e=e0e.style,r0e=e0e.prefixCls;return React$1.createElement("div",{className:"".concat(r0e,"-palette"),style:_objectSpread2$1({position:"relative"},t0e)},$P)},Transform=reactExports.forwardRef(function(x_,e0e){var $P=x_.children,t0e=x_.offset;return jsx("div",{ref:e0e,style:{position:"absolute",left:t0e.x,top:t0e.y,zIndex:1},children:$P})}),Picker$2=function(e0e){var $P=e0e.color,t0e=e0e.onChange,r0e=e0e.prefixCls,n0e=e0e.onChangeComplete,a0e=e0e.disabled,o0e=reactExports.useRef(),i0e=reactExports.useRef(),s0e=reactExports.useRef($P),l0e=useColorDrag({color:$P,containerRef:o0e,targetRef:i0e,calculate:function(f0e){return calculateOffset$1(f0e,i0e,$P)},onDragChange:function(f0e){var h0e=calculateColor({offset:f0e,targetRef:i0e,containerRef:o0e,color:$P});s0e.current=h0e,t0e(h0e)},onDragChangeComplete:function(){return n0e==null?void 0:n0e(s0e.current)},disabledDrag:a0e}),c0e=_slicedToArray$3(l0e,2),u0e=c0e[0],d0e=c0e[1];return jsx("div",{ref:o0e,className:"".concat(r0e,"-select"),onMouseDown:d0e,onTouchStart:d0e,children:jsxs(Palette,{prefixCls:r0e,children:[jsx(Transform,{offset:u0e,ref:i0e,children:jsx(Handler,{color:$P.toRgbString(),prefixCls:r0e})}),jsx("div",{className:"".concat(r0e,"-saturation"),style:{backgroundColor:"hsl(".concat($P.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})]})})},Gradient=function(e0e){var $P=e0e.colors,t0e=e0e.children,r0e=e0e.direction,n0e=r0e===void 0?"to right":r0e,a0e=e0e.type,o0e=e0e.prefixCls,i0e=reactExports.useMemo(function(){return $P.map(function(s0e,l0e){var c0e=generateColor$1(s0e);return a0e==="alpha"&&l0e===$P.length-1&&c0e.setAlpha(1),c0e.toRgbString()}).join(",")},[$P,a0e]);return jsx("div",{className:"".concat(o0e,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(n0e,", ").concat(i0e,")")},children:t0e})},Slider$1=function(e0e){var $P=e0e.gradientColors,t0e=e0e.direction,r0e=e0e.type,n0e=r0e===void 0?"hue":r0e,a0e=e0e.color,o0e=e0e.value,i0e=e0e.onChange,s0e=e0e.onChangeComplete,l0e=e0e.disabled,c0e=e0e.prefixCls,u0e=reactExports.useRef(),d0e=reactExports.useRef(),p0e=reactExports.useRef(a0e),f0e=useColorDrag({color:a0e,targetRef:d0e,containerRef:u0e,calculate:function(g0e){return calculateOffset$1(g0e,d0e,a0e,n0e)},onDragChange:function(g0e){var y0e=calculateColor({offset:g0e,targetRef:d0e,containerRef:u0e,color:a0e,type:n0e});p0e.current=y0e,i0e(y0e)},onDragChangeComplete:function(){s0e==null||s0e(p0e.current,n0e)},direction:"x",disabledDrag:l0e}),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1];return jsx("div",{ref:u0e,className:cx$1("".concat(c0e,"-slider"),"".concat(c0e,"-slider-").concat(n0e)),onMouseDown:m0e,onTouchStart:m0e,children:jsxs(Palette,{prefixCls:c0e,children:[jsx(Transform,{offset:b0e,ref:d0e,children:jsx(Handler,{size:"small",color:o0e,prefixCls:c0e})}),jsx(Gradient,{colors:$P,direction:t0e,type:n0e,prefixCls:c0e})]})})};function hasValue$1(x_){return x_!==void 0}var useColorState$2=function(e0e,$P){var t0e=$P.defaultValue,r0e=$P.value,n0e=reactExports.useState(function(){var s0e;return hasValue$1(r0e)?s0e=r0e:hasValue$1(t0e)?s0e=t0e:s0e=e0e,generateColor$1(s0e)}),a0e=_slicedToArray$3(n0e,2),o0e=a0e[0],i0e=a0e[1];return reactExports.useEffect(function(){r0e&&i0e(generateColor$1(r0e))},[r0e]),[o0e,i0e]},hueColor=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];const ColorPicker$3=reactExports.forwardRef(function(x_,e0e){var $P=x_.value,t0e=x_.defaultValue,r0e=x_.prefixCls,n0e=r0e===void 0?ColorPickerPrefixCls:r0e,a0e=x_.onChange,o0e=x_.onChangeComplete,i0e=x_.className,s0e=x_.style,l0e=x_.panelRender,c0e=x_.disabledAlpha,u0e=c0e===void 0?!1:c0e,d0e=x_.disabled,p0e=d0e===void 0?!1:d0e,f0e=useColorState$2(defaultColor,{value:$P,defaultValue:t0e}),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=reactExports.useMemo(function(){var z0e=generateColor$1(b0e.toRgbString());return z0e.setAlpha(1),z0e.toRgbString()},[b0e]),g0e=cx$1("".concat(n0e,"-panel"),i0e,_defineProperty$5({},"".concat(n0e,"-panel-disabled"),p0e)),y0e={prefixCls:n0e,onChangeComplete:o0e,disabled:p0e},M0e=function(_0e,A0e){$P||m0e(_0e),a0e==null||a0e(_0e,A0e)},O0e=jsxs(Fragment,{children:[jsx(Picker$2,{color:b0e,onChange:M0e,...y0e}),jsxs("div",{className:"".concat(n0e,"-slider-container"),children:[jsxs("div",{className:cx$1("".concat(n0e,"-slider-group"),_defineProperty$5({},"".concat(n0e,"-slider-group-disabled-alpha"),u0e)),children:[jsx(Slider$1,{gradientColors:hueColor,color:b0e,value:"hsl(".concat(b0e.toHsb().h,",100%, 50%)"),onChange:function(_0e){return M0e(_0e,"hue")},...y0e}),!u0e&&jsx(Slider$1,{type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",v0e],color:b0e,value:b0e.toRgbString(),onChange:function(_0e){return M0e(_0e,"alpha")},...y0e})]}),jsx(ColorBlock,{color:b0e.toRgbString(),prefixCls:n0e})]})]});return jsx("div",{className:g0e,style:s0e,ref:e0e,children:typeof l0e=="function"?l0e(O0e):O0e})}),PanelPickerContext=React$1.createContext({}),PanelPresetsContext=React$1.createContext({}),{Provider:PanelPickerProvider}=PanelPickerContext,{Provider:PanelPresetsProvider}=PanelPresetsContext,toHexFormat=(x_,e0e)=>(x_==null?void 0:x_.replace(/[^\w/]/gi,"").slice(0,e0e?8:6))||"",getHex=(x_,e0e)=>x_?toHexFormat(x_,e0e):"";let ColorFactory=function(){function x_(e0e){_classCallCheck$1(this,x_),this.metaColor=new Color$1(e0e),e0e||this.metaColor.setAlpha(0)}return _createClass$1(x_,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return getHex(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),x_}();const customizePrefixCls="ant-color-picker",generateColor=x_=>x_ instanceof ColorFactory?x_:new ColorFactory(x_),getRoundNumber=x_=>Math.round(Number(x_||0)),getAlphaColor$1=x_=>getRoundNumber(x_.toHsb().a*100),genAlphaColor=(x_,e0e)=>{const $P=x_.toHsb();return $P.a=e0e||1,generateColor($P)},ColorClear=x_=>{let{prefixCls:e0e,value:$P,colorCleared:t0e,onChange:r0e}=x_;const n0e=()=>{if($P&&!t0e){const a0e=$P.toHsb();a0e.a=0;const o0e=generateColor(a0e);r0e==null||r0e(o0e)}};return React$1.createElement("div",{className:`${e0e}-clear`,onClick:n0e})},ColorClear$1=ColorClear;var ColorFormat;(function(x_){x_.hex="hex",x_.rgb="rgb",x_.hsb="hsb"})(ColorFormat||(ColorFormat={}));var UpOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const UpOutlinedSvg=UpOutlined$2;var UpOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:UpOutlinedSvg}))};const UpOutlined$1=reactExports.forwardRef(UpOutlined);function _classCallCheck(x_,e0e){if(!(x_ instanceof e0e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(x_,e0e){for(var $P=0;$PNumber.MAX_SAFE_INTEGER)return String(supportBigInt()?BigInt(x_).toString():Number.MAX_SAFE_INTEGER);if(x_0&&arguments[0]!==void 0?arguments[0]:!0;return $P?this.isInvalidate()?"":trimNumber("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),x_}(),NumberDecimal=function(){function x_(e0e){if(_classCallCheck(this,x_),_defineProperty$6(this,"origin",""),_defineProperty$6(this,"number",void 0),_defineProperty$6(this,"empty",void 0),isEmpty$4(e0e)){this.empty=!0;return}this.origin=String(e0e),this.number=Number(e0e)}return _createClass(x_,[{key:"negate",value:function(){return new x_(-this.toNumber())}},{key:"add",value:function($P){if(this.isInvalidate())return new x_($P);var t0e=Number($P);if(Number.isNaN(t0e))return this;var r0e=this.number+t0e;if(r0e>Number.MAX_SAFE_INTEGER)return new x_(Number.MAX_SAFE_INTEGER);if(r0eNumber.MAX_SAFE_INTEGER)return new x_(Number.MAX_SAFE_INTEGER);if(r0e0&&arguments[0]!==void 0?arguments[0]:!0;return $P?this.isInvalidate()?"":num2str(this.number):this.origin}}]),x_}();function getMiniDecimal(x_){return supportBigInt()?new BigIntDecimal(x_):new NumberDecimal(x_)}function toFixed$1(x_,e0e,$P){var t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(x_==="")return"";var r0e=trimNumber(x_),n0e=r0e.negativeStr,a0e=r0e.integerStr,o0e=r0e.decimalStr,i0e="".concat(e0e).concat(o0e),s0e="".concat(n0e).concat(a0e);if($P>=0){var l0e=Number(o0e[$P]);if(l0e>=5&&!t0e){var c0e=getMiniDecimal(x_).add("".concat(n0e,"0.").concat("0".repeat($P)).concat(10-l0e));return toFixed$1(c0e.toString(),e0e,$P,t0e)}return $P===0?s0e:"".concat(s0e).concat(e0e).concat(o0e.padEnd($P,"0").slice(0,$P))}return i0e===".0"?s0e:"".concat(s0e).concat(i0e)}function hasAddon(x_){return!!(x_.addonBefore||x_.addonAfter)}function hasPrefixSuffix$1(x_){return!!(x_.prefix||x_.suffix||x_.allowClear)}function resolveOnChange(x_,e0e,$P,t0e){if($P){var r0e=e0e;if(e0e.type==="click"){var n0e=x_.cloneNode(!0);r0e=Object.create(e0e,{target:{value:n0e},currentTarget:{value:n0e}}),n0e.value="",$P(r0e);return}if(t0e!==void 0){var a0e=x_.cloneNode(!0);r0e=Object.create(e0e,{target:{value:a0e},currentTarget:{value:a0e}}),a0e.type!=="file"&&(a0e.value=t0e),$P(r0e);return}$P(r0e)}}function triggerFocus$1(x_,e0e){if(x_){x_.focus(e0e);var $P=e0e||{},t0e=$P.cursor;if(t0e){var r0e=x_.value.length;switch(t0e){case"start":x_.setSelectionRange(0,0);break;case"end":x_.setSelectionRange(r0e,r0e);break;default:x_.setSelectionRange(0,r0e)}}}}var BaseInput=function(e0e){var $P,t0e,r0e=e0e.inputElement,n0e=e0e.prefixCls,a0e=e0e.prefix,o0e=e0e.suffix,i0e=e0e.addonBefore,s0e=e0e.addonAfter,l0e=e0e.className,c0e=e0e.style,u0e=e0e.disabled,d0e=e0e.readOnly,p0e=e0e.focused,f0e=e0e.triggerFocus,h0e=e0e.allowClear,b0e=e0e.value,m0e=e0e.handleReset,v0e=e0e.hidden,g0e=e0e.classes,y0e=e0e.classNames,M0e=e0e.dataAttrs,O0e=e0e.styles,z0e=e0e.components,_0e=(z0e==null?void 0:z0e.affixWrapper)||"span",A0e=(z0e==null?void 0:z0e.groupWrapper)||"span",$0e=(z0e==null?void 0:z0e.wrapper)||"span",S0e=(z0e==null?void 0:z0e.groupAddon)||"span",C0e=reactExports.useRef(null),E0e=function(F0e){var V0e;(V0e=C0e.current)!==null&&V0e!==void 0&&V0e.contains(F0e.target)&&(f0e==null||f0e())},w0e=function(){var F0e;if(!h0e)return null;var V0e=!u0e&&!d0e&&b0e,H0e="".concat(n0e,"-clear-icon"),Q0e=_typeof$2(h0e)==="object"&&h0e!==null&&h0e!==void 0&&h0e.clearIcon?h0e.clearIcon:"✖";return jsx("span",{onClick:m0e,onMouseDown:function(G0e){return G0e.preventDefault()},className:cx$1(H0e,(F0e={},_defineProperty$5(F0e,"".concat(H0e,"-hidden"),!V0e),_defineProperty$5(F0e,"".concat(H0e,"-has-suffix"),!!o0e),F0e)),role:"button",tabIndex:-1,children:Q0e})},R0e=reactExports.cloneElement(r0e,{value:b0e,hidden:v0e,className:cx$1(($P=r0e.props)===null||$P===void 0?void 0:$P.className,!hasPrefixSuffix$1(e0e)&&!hasAddon(e0e)&&l0e)||null,style:_objectSpread2$1(_objectSpread2$1({},(t0e=r0e.props)===null||t0e===void 0?void 0:t0e.style),!hasPrefixSuffix$1(e0e)&&!hasAddon(e0e)?c0e:{})});if(hasPrefixSuffix$1(e0e)){var T0e,D0e="".concat(n0e,"-affix-wrapper"),W0e=cx$1(D0e,(T0e={},_defineProperty$5(T0e,"".concat(D0e,"-disabled"),u0e),_defineProperty$5(T0e,"".concat(D0e,"-focused"),p0e),_defineProperty$5(T0e,"".concat(D0e,"-readonly"),d0e),_defineProperty$5(T0e,"".concat(D0e,"-input-with-clear-btn"),o0e&&h0e&&b0e),T0e),!hasAddon(e0e)&&l0e,g0e==null?void 0:g0e.affixWrapper,y0e==null?void 0:y0e.affixWrapper),k0e=(o0e||h0e)&&jsxs("span",{className:cx$1("".concat(n0e,"-suffix"),y0e==null?void 0:y0e.suffix),style:O0e==null?void 0:O0e.suffix,children:[w0e(),o0e]});R0e=jsxs(_0e,{className:W0e,style:_objectSpread2$1(_objectSpread2$1({},hasAddon(e0e)?void 0:c0e),O0e==null?void 0:O0e.affixWrapper),hidden:!hasAddon(e0e)&&v0e,onClick:E0e,...M0e==null?void 0:M0e.affixWrapper,ref:C0e,children:[a0e&&jsx("span",{className:cx$1("".concat(n0e,"-prefix"),y0e==null?void 0:y0e.prefix),style:O0e==null?void 0:O0e.prefix,children:a0e}),reactExports.cloneElement(r0e,{value:b0e,hidden:null}),k0e]})}if(hasAddon(e0e)){var q0e="".concat(n0e,"-group"),N0e="".concat(q0e,"-addon"),j0e=cx$1("".concat(n0e,"-wrapper"),q0e,g0e==null?void 0:g0e.wrapper),P0e=cx$1("".concat(n0e,"-group-wrapper"),l0e,g0e==null?void 0:g0e.group);return jsx(A0e,{className:P0e,style:c0e,hidden:v0e,children:jsxs($0e,{className:j0e,children:[i0e&&jsx(S0e,{className:N0e,children:i0e}),reactExports.cloneElement(R0e,{hidden:null}),s0e&&jsx(S0e,{className:N0e,children:s0e})]})})}return R0e},_excluded$l=["show"];function useCount(x_,e0e){return reactExports.useMemo(function(){var $P={};e0e&&($P.show=_typeof$2(e0e)==="object"&&e0e.formatter?e0e.formatter:!!e0e),$P=_objectSpread2$1(_objectSpread2$1({},$P),x_);var t0e=$P,r0e=t0e.show,n0e=_objectWithoutProperties$4(t0e,_excluded$l);return _objectSpread2$1(_objectSpread2$1({},n0e),{},{show:!!r0e,showFormatter:typeof r0e=="function"?r0e:void 0,strategy:n0e.strategy||function(a0e){return a0e.length}})},[x_,e0e])}var _excluded$k=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Input$5=reactExports.forwardRef(function(x_,e0e){var $P=x_.autoComplete,t0e=x_.onChange,r0e=x_.onFocus,n0e=x_.onBlur,a0e=x_.onPressEnter,o0e=x_.onKeyDown,i0e=x_.prefixCls,s0e=i0e===void 0?"rc-input":i0e,l0e=x_.disabled,c0e=x_.htmlSize,u0e=x_.className,d0e=x_.maxLength,p0e=x_.suffix,f0e=x_.showCount,h0e=x_.count,b0e=x_.type,m0e=b0e===void 0?"text":b0e,v0e=x_.classes,g0e=x_.classNames,y0e=x_.styles,M0e=x_.onCompositionStart,O0e=x_.onCompositionEnd,z0e=_objectWithoutProperties$4(x_,_excluded$k),_0e=reactExports.useState(!1),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=React$1.useRef(!1),E0e=reactExports.useRef(null),w0e=function(a1e){E0e.current&&triggerFocus$1(E0e.current,a1e)},R0e=useMergedState(x_.defaultValue,{value:x_.value}),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=D0e==null?"":String(D0e),q0e=React$1.useState(null),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=useCount(h0e,f0e),F0e=I0e.max||d0e,V0e=I0e.strategy(k0e),H0e=!!F0e&&V0e>F0e;reactExports.useImperativeHandle(e0e,function(){return{focus:w0e,blur:function(){var a1e;(a1e=E0e.current)===null||a1e===void 0||a1e.blur()},setSelectionRange:function(a1e,l1e,s1e){var g1e;(g1e=E0e.current)===null||g1e===void 0||g1e.setSelectionRange(a1e,l1e,s1e)},select:function(){var a1e;(a1e=E0e.current)===null||a1e===void 0||a1e.select()},input:E0e.current}}),reactExports.useEffect(function(){S0e(function(r1e){return r1e&&l0e?!1:r1e})},[l0e]);var Q0e=function(a1e,l1e){var s1e=l1e;if(!C0e.current&&I0e.exceedFormatter&&I0e.max&&I0e.strategy(l1e)>I0e.max&&(s1e=I0e.exceedFormatter(l1e,{max:I0e.max}),l1e!==s1e)){var g1e,$1e;P0e([((g1e=E0e.current)===null||g1e===void 0?void 0:g1e.selectionStart)||0,(($1e=E0e.current)===null||$1e===void 0?void 0:$1e.selectionEnd)||0])}W0e(s1e),E0e.current&&resolveOnChange(E0e.current,a1e,t0e,s1e)};React$1.useEffect(function(){if(j0e){var r1e;(r1e=E0e.current)===null||r1e===void 0||r1e.setSelectionRange.apply(r1e,_toConsumableArray$2(j0e))}},[j0e]);var Y0e=function(a1e){Q0e(a1e,a1e.target.value)},G0e=function(a1e){C0e.current=!1,Q0e(a1e,a1e.currentTarget.value),O0e==null||O0e(a1e)},B0e=function(a1e){a0e&&a1e.key==="Enter"&&a0e(a1e),o0e==null||o0e(a1e)},U0e=function(a1e){S0e(!0),r0e==null||r0e(a1e)},X0e=function(a1e){S0e(!1),n0e==null||n0e(a1e)},J0e=function(a1e){W0e(""),w0e(),E0e.current&&resolveOnChange(E0e.current,a1e,t0e)},e1e=H0e&&"".concat(s0e,"-out-of-range"),n1e=function(){var a1e=omit$2(x_,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return jsx("input",{autoComplete:$P,...a1e,onChange:Y0e,onFocus:U0e,onBlur:X0e,onKeyDown:B0e,className:cx$1(s0e,_defineProperty$5({},"".concat(s0e,"-disabled"),l0e),g0e==null?void 0:g0e.input),style:y0e==null?void 0:y0e.input,ref:E0e,size:c0e,type:m0e,onCompositionStart:function(s1e){C0e.current=!0,M0e==null||M0e(s1e)},onCompositionEnd:G0e})},t1e=function(){var a1e=Number(F0e)>0;if(p0e||I0e.show){var l1e=I0e.showFormatter?I0e.showFormatter({value:k0e,count:V0e,maxLength:F0e}):"".concat(V0e).concat(a1e?" / ".concat(F0e):"");return jsxs(Fragment,{children:[I0e.show&&jsx("span",{className:cx$1("".concat(s0e,"-show-count-suffix"),_defineProperty$5({},"".concat(s0e,"-show-count-has-suffix"),!!p0e),g0e==null?void 0:g0e.count),style:_objectSpread2$1({},y0e==null?void 0:y0e.count),children:l1e}),p0e]})}return null};return jsx(BaseInput,{...z0e,prefixCls:s0e,className:cx$1(u0e,e1e),inputElement:n1e(),handleReset:J0e,value:k0e,focused:$0e,triggerFocus:w0e,suffix:t1e(),disabled:l0e,classes:v0e,classNames:g0e,styles:y0e})});function useCursor$1(x_,e0e){var $P=reactExports.useRef(null);function t0e(){try{var n0e=x_.selectionStart,a0e=x_.selectionEnd,o0e=x_.value,i0e=o0e.substring(0,n0e),s0e=o0e.substring(a0e);$P.current={start:n0e,end:a0e,value:o0e,beforeTxt:i0e,afterTxt:s0e}}catch{}}function r0e(){if(x_&&$P.current&&e0e)try{var n0e=x_.value,a0e=$P.current,o0e=a0e.beforeTxt,i0e=a0e.afterTxt,s0e=a0e.start,l0e=n0e.length;if(n0e.endsWith(i0e))l0e=n0e.length-$P.current.afterTxt.length;else if(n0e.startsWith(o0e))l0e=o0e.length;else{var c0e=o0e[s0e-1],u0e=n0e.indexOf(c0e,s0e-1);u0e!==-1&&(l0e=u0e+1)}x_.setSelectionRange(l0e,l0e)}catch(d0e){warningOnce$1(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(d0e.message))}}return[t0e,r0e]}var useMobile$1=function(){var e0e=reactExports.useState(!1),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1];return useLayoutEffect$2(function(){r0e(isMobile$3())},[]),t0e},STEP_INTERVAL$1=200,STEP_DELAY$1=600;function StepHandler$1(x_){var e0e=x_.prefixCls,$P=x_.upNode,t0e=x_.downNode,r0e=x_.upDisabled,n0e=x_.downDisabled,a0e=x_.onStep,o0e=reactExports.useRef(),i0e=reactExports.useRef([]),s0e=reactExports.useRef();s0e.current=a0e;var l0e=function(){clearTimeout(o0e.current)},c0e=function(v0e,g0e){v0e.preventDefault(),l0e(),s0e.current(g0e);function y0e(){s0e.current(g0e),o0e.current=setTimeout(y0e,STEP_INTERVAL$1)}o0e.current=setTimeout(y0e,STEP_DELAY$1)};reactExports.useEffect(function(){return function(){l0e(),i0e.current.forEach(function(m0e){return wrapperRaf$1.cancel(m0e)})}},[]);var u0e=useMobile$1();if(u0e)return null;var d0e="".concat(e0e,"-handler"),p0e=cx$1(d0e,"".concat(d0e,"-up"),_defineProperty$5({},"".concat(d0e,"-up-disabled"),r0e)),f0e=cx$1(d0e,"".concat(d0e,"-down"),_defineProperty$5({},"".concat(d0e,"-down-disabled"),n0e)),h0e=function(){return i0e.current.push(wrapperRaf$1(l0e))},b0e={unselectable:"on",role:"button",onMouseUp:h0e,onMouseLeave:h0e};return reactExports.createElement("div",{className:"".concat(d0e,"-wrap")},reactExports.createElement("span",_extends$1z({},b0e,{onMouseDown:function(v0e){c0e(v0e,!0)},"aria-label":"Increase Value","aria-disabled":r0e,className:p0e}),$P||reactExports.createElement("span",{unselectable:"on",className:"".concat(e0e,"-handler-up-inner")})),reactExports.createElement("span",_extends$1z({},b0e,{onMouseDown:function(v0e){c0e(v0e,!1)},"aria-label":"Decrease Value","aria-disabled":n0e,className:f0e}),t0e||reactExports.createElement("span",{unselectable:"on",className:"".concat(e0e,"-handler-down-inner")})))}function getDecupleSteps$1(x_){var e0e=typeof x_=="number"?num2str(x_):trimNumber(x_).fullStr,$P=e0e.includes(".");return $P?trimNumber(e0e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:x_+"0"}const useFrame$1=function(){var x_=reactExports.useRef(0),e0e=function(){wrapperRaf$1.cancel(x_.current)};return reactExports.useEffect(function(){return e0e},[]),function($P){e0e(),x_.current=wrapperRaf$1(function(){$P()})}};var _excluded$j=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur"],_excluded2$7=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],getDecimalValue$1=function(e0e,$P){return e0e||$P.isEmpty()?$P.toString():$P.toNumber()},getDecimalIfValidate$1=function(e0e){var $P=getMiniDecimal(e0e);return $P.isInvalidate()?null:$P},InternalInputNumber=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.prefixCls,r0e=t0e===void 0?"rc-input-number":t0e,n0e=x_.className,a0e=x_.style,o0e=x_.min,i0e=x_.max,s0e=x_.step,l0e=s0e===void 0?1:s0e,c0e=x_.defaultValue,u0e=x_.value,d0e=x_.disabled,p0e=x_.readOnly,f0e=x_.upHandler,h0e=x_.downHandler,b0e=x_.keyboard,m0e=x_.controls,v0e=m0e===void 0?!0:m0e,g0e=x_.classNames,y0e=x_.stringMode,M0e=x_.parser,O0e=x_.formatter,z0e=x_.precision,_0e=x_.decimalSeparator,A0e=x_.onChange,$0e=x_.onInput,S0e=x_.onPressEnter,C0e=x_.onStep,E0e=x_.changeOnBlur,w0e=E0e===void 0?!0:E0e,R0e=_objectWithoutProperties$4(x_,_excluded$j),T0e="".concat(r0e,"-input"),D0e=reactExports.useRef(null),W0e=reactExports.useState(!1),k0e=_slicedToArray$3(W0e,2),q0e=k0e[0],N0e=k0e[1],j0e=reactExports.useRef(!1),P0e=reactExports.useRef(!1),I0e=reactExports.useRef(!1),F0e=reactExports.useState(function(){return getMiniDecimal(u0e??c0e)}),V0e=_slicedToArray$3(F0e,2),H0e=V0e[0],Q0e=V0e[1];function Y0e(I1e){u0e===void 0&&Q0e(I1e)}var G0e=reactExports.useCallback(function(I1e,j1e){if(!j1e)return z0e>=0?z0e:Math.max(getNumberPrecision(I1e),getNumberPrecision(l0e))},[z0e,l0e]),B0e=reactExports.useCallback(function(I1e){var j1e=String(I1e);if(M0e)return M0e(j1e);var H1e=j1e;return _0e&&(H1e=H1e.replace(_0e,".")),H1e.replace(/[^\w.-]+/g,"")},[M0e,_0e]),U0e=reactExports.useRef(""),X0e=reactExports.useCallback(function(I1e,j1e){if(O0e)return O0e(I1e,{userTyping:j1e,input:String(U0e.current)});var H1e=typeof I1e=="number"?num2str(I1e):I1e;if(!j1e){var W1e=G0e(H1e,j1e);if(validateNumber(H1e)&&(_0e||W1e>=0)){var Q1e=_0e||".";H1e=toFixed$1(H1e,Q1e,W1e)}}return H1e},[O0e,G0e,_0e]),J0e=reactExports.useState(function(){var I1e=c0e??u0e;return H0e.isInvalidate()&&["string","number"].includes(_typeof$2(I1e))?Number.isNaN(I1e)?"":I1e:X0e(H0e.toString(),!1)}),e1e=_slicedToArray$3(J0e,2),n1e=e1e[0],t1e=e1e[1];U0e.current=n1e;function r1e(I1e,j1e){t1e(X0e(I1e.isInvalidate()?I1e.toString(!1):I1e.toString(!j1e),j1e))}var a1e=reactExports.useMemo(function(){return getDecimalIfValidate$1(i0e)},[i0e,z0e]),l1e=reactExports.useMemo(function(){return getDecimalIfValidate$1(o0e)},[o0e,z0e]),s1e=reactExports.useMemo(function(){return!a1e||!H0e||H0e.isInvalidate()?!1:a1e.lessEquals(H0e)},[a1e,H0e]),g1e=reactExports.useMemo(function(){return!l1e||!H0e||H0e.isInvalidate()?!1:H0e.lessEquals(l1e)},[l1e,H0e]),$1e=useCursor$1(D0e.current,q0e),_1e=_slicedToArray$3($1e,2),p1e=_1e[0],E1e=_1e[1],x1e=function(j1e){return a1e&&!j1e.lessEquals(a1e)?a1e:l1e&&!l1e.lessEquals(j1e)?l1e:null},O1e=function(j1e){return!x1e(j1e)},w1e=function(j1e,H1e){var W1e=j1e,Q1e=O1e(W1e)||W1e.isEmpty();if(!W1e.isEmpty()&&!H1e&&(W1e=x1e(W1e)||W1e,Q1e=!0),!p0e&&!d0e&&Q1e){var K1e=W1e.toString(),rme=G0e(K1e,H1e);return rme>=0&&(W1e=getMiniDecimal(toFixed$1(K1e,".",rme)),O1e(W1e)||(W1e=getMiniDecimal(toFixed$1(K1e,".",rme,!0)))),W1e.equals(H0e)||(Y0e(W1e),A0e==null||A0e(W1e.isEmpty()?null:getDecimalValue$1(y0e,W1e)),u0e===void 0&&r1e(W1e,H1e)),W1e}return H0e},A1e=useFrame$1(),F1e=function I1e(j1e){if(p1e(),U0e.current=j1e,t1e(j1e),!P0e.current){var H1e=B0e(j1e),W1e=getMiniDecimal(H1e);W1e.isNaN()||w1e(W1e,!0)}$0e==null||$0e(j1e),A1e(function(){var Q1e=j1e;M0e||(Q1e=j1e.replace(/。/g,".")),Q1e!==j1e&&I1e(Q1e)})},J1e=function(){P0e.current=!0},ame=function(){P0e.current=!1,F1e(D0e.current.value)},G1e=function(j1e){F1e(j1e.target.value)},V1e=function(j1e){var H1e;if(!(j1e&&s1e||!j1e&&g1e)){j0e.current=!1;var W1e=getMiniDecimal(I0e.current?getDecupleSteps$1(l0e):l0e);j1e||(W1e=W1e.negate());var Q1e=(H0e||getMiniDecimal(0)).add(W1e.toString()),K1e=w1e(Q1e,!1);C0e==null||C0e(getDecimalValue$1(y0e,K1e),{offset:I0e.current?getDecupleSteps$1(l0e):l0e,type:j1e?"up":"down"}),(H1e=D0e.current)===null||H1e===void 0||H1e.focus()}},cme=function(j1e){var H1e=getMiniDecimal(B0e(n1e)),W1e=H1e;H1e.isNaN()?W1e=w1e(H0e,j1e):W1e=w1e(H1e,j1e),u0e!==void 0?r1e(H0e,!1):W1e.isNaN()||r1e(W1e,!1)},ume=function(){j0e.current=!0},Y1e=function(j1e){var H1e=j1e.key,W1e=j1e.shiftKey;j0e.current=!0,I0e.current=W1e,H1e==="Enter"&&(P0e.current||(j0e.current=!1),cme(!1),S0e==null||S0e(j1e)),b0e!==!1&&!P0e.current&&["Up","ArrowUp","Down","ArrowDown"].includes(H1e)&&(V1e(H1e==="Up"||H1e==="ArrowUp"),j1e.preventDefault())},k1e=function(){j0e.current=!1,I0e.current=!1},ime=function(){w0e&&cme(!1),N0e(!1),j0e.current=!1};return useLayoutUpdateEffect$1(function(){H0e.isInvalidate()||r1e(H0e,!1)},[z0e,O0e]),useLayoutUpdateEffect$1(function(){var I1e=getMiniDecimal(u0e);Q0e(I1e);var j1e=getMiniDecimal(B0e(n1e));(!I1e.equals(j1e)||!j0e.current||O0e)&&r1e(I1e,j0e.current)},[u0e]),useLayoutUpdateEffect$1(function(){O0e&&E1e()},[n1e]),reactExports.createElement("div",{className:cx$1(r0e,g0e==null?void 0:g0e.input,n0e,($P={},_defineProperty$5($P,"".concat(r0e,"-focused"),q0e),_defineProperty$5($P,"".concat(r0e,"-disabled"),d0e),_defineProperty$5($P,"".concat(r0e,"-readonly"),p0e),_defineProperty$5($P,"".concat(r0e,"-not-a-number"),H0e.isNaN()),_defineProperty$5($P,"".concat(r0e,"-out-of-range"),!H0e.isInvalidate()&&!O1e(H0e)),$P)),style:a0e,onFocus:function(){N0e(!0)},onBlur:ime,onKeyDown:Y1e,onKeyUp:k1e,onCompositionStart:J1e,onCompositionEnd:ame,onBeforeInput:ume},v0e&&reactExports.createElement(StepHandler$1,{prefixCls:r0e,upNode:f0e,downNode:h0e,upDisabled:s1e,downDisabled:g1e,onStep:V1e}),reactExports.createElement("div",{className:"".concat(T0e,"-wrap")},reactExports.createElement("input",_extends$1z({autoComplete:"off",role:"spinbutton","aria-valuemin":o0e,"aria-valuemax":i0e,"aria-valuenow":H0e.isInvalidate()?null:H0e.toString(),step:l0e},R0e,{ref:composeRef$1(D0e,e0e),className:T0e,value:n1e,onChange:G1e,disabled:d0e,readOnly:p0e}))))}),InputNumber$3=reactExports.forwardRef(function(x_,e0e){var $P=x_.disabled,t0e=x_.style,r0e=x_.prefixCls,n0e=x_.value,a0e=x_.prefix,o0e=x_.suffix,i0e=x_.addonBefore,s0e=x_.addonAfter,l0e=x_.classes,c0e=x_.className,u0e=x_.classNames,d0e=_objectWithoutProperties$4(x_,_excluded2$7),p0e=reactExports.useRef(null),f0e=function(b0e){p0e.current&&triggerFocus$1(p0e.current,b0e)};return reactExports.createElement(BaseInput,{inputElement:reactExports.createElement(InternalInputNumber,_extends$1z({prefixCls:r0e,disabled:$P,classNames:u0e,ref:composeRef$1(p0e,e0e)},d0e)),className:c0e,triggerFocus:f0e,prefixCls:r0e,value:n0e,disabled:$P,style:t0e,prefix:a0e,suffix:o0e,addonAfter:s0e,addonBefore:i0e,classes:l0e,classNames:u0e,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});InputNumber$3.displayName="InputNumber";const genRadiusStyle=(x_,e0e)=>{let{componentCls:$P,borderRadiusSM:t0e,borderRadiusLG:r0e}=x_;const n0e=e0e==="lg"?r0e:t0e;return{[`&-${e0e}`]:{[`${$P}-handler-wrap`]:{borderStartEndRadius:n0e,borderEndEndRadius:n0e},[`${$P}-handler-up`]:{borderStartEndRadius:n0e},[`${$P}-handler-down`]:{borderEndEndRadius:n0e}}}},genInputNumberStyles=x_=>{const{componentCls:e0e,lineWidth:$P,lineType:t0e,colorBorder:r0e,borderRadius:n0e,fontSizeLG:a0e,controlHeightLG:o0e,controlHeightSM:i0e,colorError:s0e,paddingInlineSM:l0e,colorTextDescription:c0e,motionDurationMid:u0e,handleHoverColor:d0e,paddingInline:p0e,paddingBlock:f0e,handleBg:h0e,handleActiveBg:b0e,colorTextDisabled:m0e,borderRadiusSM:v0e,borderRadiusLG:g0e,controlWidth:y0e,handleOpacity:M0e,handleBorderColor:O0e,calc:z0e}=x_;return[{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),genBasicInputStyle(x_)),genStatusStyle$1(x_,e0e)),{display:"inline-block",width:y0e,margin:0,padding:0,border:`${unit$1($P)} ${t0e} ${r0e}`,borderRadius:n0e,"&-rtl":{direction:"rtl",[`${e0e}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a0e,borderRadius:g0e,[`input${e0e}-input`]:{height:z0e(o0e).sub(z0e($P).mul(2)).equal()}},"&-sm":{padding:0,borderRadius:v0e,[`input${e0e}-input`]:{height:z0e(i0e).sub(z0e($P).mul(2)).equal(),padding:`0 ${unit$1(l0e)}`}},"&-out-of-range":{[`${e0e}-input-wrap`]:{input:{color:s0e}}},"&-group":Object.assign(Object.assign(Object.assign({},resetComponent(x_)),genInputGroupStyle(x_)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${e0e}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${e0e}-group-addon`]:{borderRadius:g0e,fontSize:x_.fontSizeLG}},"&-sm":{[`${e0e}-group-addon`]:{borderRadius:v0e}},[`${e0e}-wrapper-disabled > ${e0e}-group-addon`]:Object.assign({},genDisabledStyle(x_)),[`&:not(${e0e}-compact-first-item):not(${e0e}-compact-last-item)${e0e}-compact-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderRadius:0}},[`&:not(${e0e}-compact-last-item)${e0e}-compact-first-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${e0e}-compact-first-item)${e0e}-compact-last-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}),[`&-disabled ${e0e}-input`]:{cursor:"not-allowed"},[e0e]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{width:"100%",padding:`${unit$1(f0e)} ${unit$1(p0e)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:n0e,outline:0,transition:`all ${u0e} linear`,appearance:"textfield",fontSize:"inherit"}),genPlaceholderStyle(x_.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[e0e]:Object.assign(Object.assign(Object.assign({[`&:hover ${e0e}-handler-wrap, &-focused ${e0e}-handler-wrap`]:{opacity:1},[`${e0e}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:x_.handleWidth,height:"100%",background:h0e,borderStartStartRadius:0,borderStartEndRadius:n0e,borderEndEndRadius:n0e,borderEndStartRadius:0,opacity:M0e,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${u0e} linear ${u0e}`,[`${e0e}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${e0e}-item:last-child`]:{borderBottom:0},[`> ${e0e}-item > ${e0e}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${e0e}-item > ${e0e}-content > ${e0e}-content-box`]:{paddingTop:t0e}}}},genGhostStyle=x_=>{const{componentCls:e0e,paddingSM:$P}=x_;return{[`${e0e}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${e0e}-item`]:{borderBottom:0,[`> ${e0e}-content`]:{backgroundColor:"transparent",border:0,[`> ${e0e}-content-box`]:{paddingBlock:$P}}}}}},prepareComponentToken$8=x_=>({headerPadding:`${x_.paddingSM}px ${x_.padding}px`,headerBg:x_.colorFillAlter,contentPadding:`${x_.padding}px 16px`,contentBg:x_.colorBgContainer}),useStyle$9=genStyleHooks("Collapse",x_=>{const e0e=merge$2(x_,{collapseHeaderPaddingSM:`${unit$1(x_.paddingXS)} ${unit$1(x_.paddingSM)}`,collapseHeaderPaddingLG:`${unit$1(x_.padding)} ${unit$1(x_.paddingLG)}`,collapsePanelBorderRadius:x_.borderRadiusLG});return[genBaseStyle(e0e),genBorderlessStyle(e0e),genGhostStyle(e0e),genArrowStyle(e0e),genCollapseMotion$1(e0e)]},prepareComponentToken$8),Collapse$2=reactExports.forwardRef((x_,e0e)=>{const{getPrefixCls:$P,direction:t0e,collapse:r0e}=reactExports.useContext(ConfigContext),{prefixCls:n0e,className:a0e,rootClassName:o0e,style:i0e,bordered:s0e=!0,ghost:l0e,size:c0e,expandIconPosition:u0e="start",children:d0e,expandIcon:p0e}=x_,f0e=useSize$1(_0e=>{var A0e;return(A0e=c0e??_0e)!==null&&A0e!==void 0?A0e:"middle"}),h0e=$P("collapse",n0e),b0e=$P(),[m0e,v0e]=useStyle$9(h0e),g0e=reactExports.useMemo(()=>u0e==="left"?"start":u0e==="right"?"end":u0e,[u0e]),y0e=function(){let _0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const A0e=p0e?p0e(_0e):reactExports.createElement(RightOutlined$1,{rotate:_0e.isActive?90:void 0});return cloneElement(A0e,()=>({className:cx$1(A0e.props.className,`${h0e}-arrow`)}))},M0e=cx$1(`${h0e}-icon-position-${g0e}`,{[`${h0e}-borderless`]:!s0e,[`${h0e}-rtl`]:t0e==="rtl",[`${h0e}-ghost`]:!!l0e,[`${h0e}-${f0e}`]:f0e!=="middle"},r0e==null?void 0:r0e.className,a0e,o0e,v0e),O0e=Object.assign(Object.assign({},initCollapseMotion$1(b0e)),{motionAppear:!1,leavedClassName:`${h0e}-content-hidden`}),z0e=reactExports.useMemo(()=>d0e?toArray$6(d0e).map((_0e,A0e)=>{var $0e,S0e;if(!(($0e=_0e.props)===null||$0e===void 0)&&$0e.disabled){const C0e=(S0e=_0e.key)!==null&&S0e!==void 0?S0e:String(A0e),{disabled:E0e,collapsible:w0e}=_0e.props,R0e=Object.assign(Object.assign({},omit$2(_0e.props,["disabled"])),{key:C0e,collapsible:w0e??(E0e?"disabled":void 0)});return cloneElement(_0e,R0e)}return _0e}):null,[d0e]);return m0e(reactExports.createElement(Collapse$5,Object.assign({ref:e0e,openMotion:O0e},omit$2(x_,["rootClassName"]),{expandIcon:y0e,prefixCls:h0e,className:M0e,style:Object.assign(Object.assign({},r0e==null?void 0:r0e.style),i0e)}),z0e))}),Collapse$3=Object.assign(Collapse$2,{Panel:CollapsePanel$1}),genSharedDividerStyle=x_=>{const{componentCls:e0e,sizePaddingEdgeHorizontal:$P,colorSplit:t0e,lineWidth:r0e,textPaddingInline:n0e,orientationMargin:a0e,verticalMarginInline:o0e}=x_;return{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{borderBlockStart:`${unit$1(r0e)} solid ${t0e}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:o0e,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${unit$1(r0e)} solid ${t0e}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${unit$1(x_.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${e0e}-with-text`]:{display:"flex",alignItems:"center",margin:`${unit$1(x_.dividerHorizontalWithTextGutterMargin)} 0`,color:x_.colorTextHeading,fontWeight:500,fontSize:x_.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${t0e}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${unit$1(r0e)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${e0e}-with-text-left`]:{"&::before":{width:`calc(${a0e} * 100%)`},"&::after":{width:`calc(100% - ${a0e} * 100%)`}},[`&-horizontal${e0e}-with-text-right`]:{"&::before":{width:`calc(100% - ${a0e} * 100%)`},"&::after":{width:`calc(${a0e} * 100%)`}},[`${e0e}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:n0e},"&-dashed":{background:"none",borderColor:t0e,borderStyle:"dashed",borderWidth:`${unit$1(r0e)} 0 0`},[`&-horizontal${e0e}-with-text${e0e}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${e0e}-dashed`]:{borderInlineStartWidth:r0e,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${e0e}-with-text`]:{color:x_.colorText,fontWeight:"normal",fontSize:x_.fontSize},[`&-horizontal${e0e}-with-text-left${e0e}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${e0e}-inner-text`]:{paddingInlineStart:$P}},[`&-horizontal${e0e}-with-text-right${e0e}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${e0e}-inner-text`]:{paddingInlineEnd:$P}}})}},prepareComponentToken$7=x_=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:x_.marginXS}),useStyle$8=genStyleHooks("Divider",x_=>{const e0e=merge$2(x_,{dividerHorizontalWithTextGutterMargin:x_.margin,dividerHorizontalGutterMargin:x_.marginLG,sizePaddingEdgeHorizontal:0});return[genSharedDividerStyle(e0e)]},prepareComponentToken$7,{unitless:{orientationMargin:!0}});var __rest$m=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPrefixCls:e0e,direction:$P,divider:t0e}=reactExports.useContext(ConfigContext),{prefixCls:r0e,type:n0e="horizontal",orientation:a0e="center",orientationMargin:o0e,className:i0e,rootClassName:s0e,children:l0e,dashed:c0e,plain:u0e,style:d0e}=x_,p0e=__rest$m(x_,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),f0e=e0e("divider",r0e),[h0e,b0e]=useStyle$8(f0e),m0e=a0e.length>0?`-${a0e}`:a0e,v0e=!!l0e,g0e=a0e==="left"&&o0e!=null,y0e=a0e==="right"&&o0e!=null,M0e=cx$1(f0e,t0e==null?void 0:t0e.className,b0e,`${f0e}-${n0e}`,{[`${f0e}-with-text`]:v0e,[`${f0e}-with-text${m0e}`]:v0e,[`${f0e}-dashed`]:!!c0e,[`${f0e}-plain`]:!!u0e,[`${f0e}-rtl`]:$P==="rtl",[`${f0e}-no-default-orientation-margin-left`]:g0e,[`${f0e}-no-default-orientation-margin-right`]:y0e},i0e,s0e),O0e=reactExports.useMemo(()=>typeof o0e=="number"?o0e:/^\d+$/.test(o0e)?Number(o0e):o0e,[o0e]),z0e=Object.assign(Object.assign({},g0e&&{marginLeft:O0e}),y0e&&{marginRight:O0e});return h0e(reactExports.createElement("div",Object.assign({className:M0e,style:Object.assign(Object.assign({},t0e==null?void 0:t0e.style),d0e)},p0e,{role:"separator"}),l0e&&n0e!=="vertical"&&reactExports.createElement("span",{className:`${f0e}-inner-text`,style:z0e},l0e)))},Divider$3=Divider$2;var _excluded$m=["b"],_excluded2$8=["v"],getRoundNumber$1=function(e0e){return Math.round(Number(e0e||0))},convertHsb2Hsv=function(e0e){if(e0e&&_typeof$2(e0e)==="object"&&"h"in e0e&&"b"in e0e){var $P=e0e,t0e=$P.b,r0e=_objectWithoutProperties$4($P,_excluded$m);return _objectSpread2$1(_objectSpread2$1({},r0e),{},{v:t0e})}return typeof e0e=="string"&&/hsb/.test(e0e)?e0e.replace(/hsb/,"hsv"):e0e},Color$1=function(x_){_inherits$1($P,x_);var e0e=_createSuper$1($P);function $P(t0e){return _classCallCheck$1(this,$P),e0e.call(this,convertHsb2Hsv(t0e))}return _createClass$1($P,[{key:"toHsbString",value:function(){var r0e=this.toHsb(),n0e=getRoundNumber$1(r0e.s*100),a0e=getRoundNumber$1(r0e.b*100),o0e=getRoundNumber$1(r0e.h),i0e=r0e.a,s0e="hsb(".concat(o0e,", ").concat(n0e,"%, ").concat(a0e,"%)"),l0e="hsba(".concat(o0e,", ").concat(n0e,"%, ").concat(a0e,"%, ").concat(i0e.toFixed(i0e===0?0:2),")");return i0e===1?s0e:l0e}},{key:"toHsb",value:function(){var r0e=this.toHsv();_typeof$2(this.originalInput)==="object"&&this.originalInput&&"h"in this.originalInput&&(r0e=this.originalInput);var n0e=r0e;n0e.v;var a0e=_objectWithoutProperties$4(n0e,_excluded2$8);return _objectSpread2$1(_objectSpread2$1({},a0e),{},{b:r0e.v})}}]),$P}(TinyColor),ColorPickerPrefixCls="rc-color-picker",generateColor$1=function(e0e){return e0e instanceof Color$1?e0e:new Color$1(e0e)},defaultColor=generateColor$1("#1677ff"),calculateColor=function(e0e){var $P=e0e.offset,t0e=e0e.targetRef,r0e=e0e.containerRef,n0e=e0e.color,a0e=e0e.type,o0e=r0e.current.getBoundingClientRect(),i0e=o0e.width,s0e=o0e.height,l0e=t0e.current.getBoundingClientRect(),c0e=l0e.width,u0e=l0e.height,d0e=c0e/2,p0e=u0e/2,f0e=($P.x+d0e)/i0e,h0e=1-($P.y+p0e)/s0e,b0e=n0e.toHsb(),m0e=f0e,v0e=($P.x+d0e)/i0e*360;if(a0e)switch(a0e){case"hue":return generateColor$1(_objectSpread2$1(_objectSpread2$1({},b0e),{},{h:v0e<=0?0:v0e}));case"alpha":return generateColor$1(_objectSpread2$1(_objectSpread2$1({},b0e),{},{a:m0e<=0?0:m0e}))}return generateColor$1({h:b0e.h,s:f0e<=0?0:f0e,b:h0e>=1?1:h0e,a:b0e.a})},calculateOffset$1=function(e0e,$P,t0e,r0e){var n0e=e0e.current.getBoundingClientRect(),a0e=n0e.width,o0e=n0e.height,i0e=$P.current.getBoundingClientRect(),s0e=i0e.width,l0e=i0e.height,c0e=s0e/2,u0e=l0e/2,d0e=t0e.toHsb();if(!(s0e===0&&l0e===0||s0e!==l0e)){if(r0e)switch(r0e){case"hue":return{x:d0e.h/360*a0e-c0e,y:-u0e/3};case"alpha":return{x:d0e.a/1*a0e-c0e,y:-u0e/3}}return{x:d0e.s*a0e-c0e,y:(1-d0e.b)*o0e-u0e}}},ColorBlock=function(e0e){var $P=e0e.color,t0e=e0e.prefixCls,r0e=e0e.className,n0e=e0e.style,a0e=e0e.onClick,o0e="".concat(t0e,"-color-block");return React$1.createElement("div",{className:cx$1(o0e,r0e),style:n0e,onClick:a0e},React$1.createElement("div",{className:"".concat(o0e,"-inner"),style:{background:$P}}))};function getPosition(x_){var e0e="touches"in x_?x_.touches[0]:x_,$P=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,t0e=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:e0e.pageX-$P,pageY:e0e.pageY-t0e}}function useColorDrag(x_){var e0e=x_.offset,$P=x_.targetRef,t0e=x_.containerRef,r0e=x_.direction,n0e=x_.onDragChange,a0e=x_.onDragChangeComplete,o0e=x_.calculate,i0e=x_.color,s0e=x_.disabledDrag,l0e=reactExports.useState(e0e||{x:0,y:0}),c0e=_slicedToArray$3(l0e,2),u0e=c0e[0],d0e=c0e[1],p0e=reactExports.useRef(null),f0e=reactExports.useRef(null),h0e=reactExports.useRef({flag:!1});reactExports.useEffect(function(){if(h0e.current.flag===!1){var y0e=o0e==null?void 0:o0e(t0e);y0e&&d0e(y0e)}},[i0e,t0e]),reactExports.useEffect(function(){return function(){document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),document.removeEventListener("touchmove",p0e.current),document.removeEventListener("touchend",f0e.current),p0e.current=null,f0e.current=null}},[]);var b0e=function(M0e){var O0e=getPosition(M0e),z0e=O0e.pageX,_0e=O0e.pageY,A0e=t0e.current.getBoundingClientRect(),$0e=A0e.x,S0e=A0e.y,C0e=A0e.width,E0e=A0e.height,w0e=$P.current.getBoundingClientRect(),R0e=w0e.width,T0e=w0e.height,D0e=R0e/2,W0e=T0e/2,k0e=Math.max(0,Math.min(z0e-$0e,C0e))-D0e,q0e=Math.max(0,Math.min(_0e-S0e,E0e))-W0e,N0e={x:k0e,y:r0e==="x"?u0e.y:q0e};if(R0e===0&&T0e===0||R0e!==T0e)return!1;d0e(N0e),n0e==null||n0e(N0e)},m0e=function(M0e){M0e.preventDefault(),b0e(M0e)},v0e=function(M0e){M0e.preventDefault(),h0e.current.flag=!1,document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),document.removeEventListener("touchmove",p0e.current),document.removeEventListener("touchend",f0e.current),p0e.current=null,f0e.current=null,a0e==null||a0e()},g0e=function(M0e){document.removeEventListener("mousemove",p0e.current),document.removeEventListener("mouseup",f0e.current),!s0e&&(b0e(M0e),h0e.current.flag=!0,document.addEventListener("mousemove",m0e),document.addEventListener("mouseup",v0e),document.addEventListener("touchmove",m0e),document.addEventListener("touchend",v0e),p0e.current=m0e,f0e.current=v0e)};return[u0e,g0e]}var Handler=function(e0e){var $P=e0e.size,t0e=$P===void 0?"default":$P,r0e=e0e.color,n0e=e0e.prefixCls;return React$1.createElement("div",{className:cx$1("".concat(n0e,"-handler"),_defineProperty$5({},"".concat(n0e,"-handler-sm"),t0e==="small")),style:{backgroundColor:r0e}})},Palette=function(e0e){var $P=e0e.children,t0e=e0e.style,r0e=e0e.prefixCls;return React$1.createElement("div",{className:"".concat(r0e,"-palette"),style:_objectSpread2$1({position:"relative"},t0e)},$P)},Transform=reactExports.forwardRef(function(x_,e0e){var $P=x_.children,t0e=x_.offset;return jsx("div",{ref:e0e,style:{position:"absolute",left:t0e.x,top:t0e.y,zIndex:1},children:$P})}),Picker$2=function(e0e){var $P=e0e.color,t0e=e0e.onChange,r0e=e0e.prefixCls,n0e=e0e.onChangeComplete,a0e=e0e.disabled,o0e=reactExports.useRef(),i0e=reactExports.useRef(),s0e=reactExports.useRef($P),l0e=useColorDrag({color:$P,containerRef:o0e,targetRef:i0e,calculate:function(f0e){return calculateOffset$1(f0e,i0e,$P)},onDragChange:function(f0e){var h0e=calculateColor({offset:f0e,targetRef:i0e,containerRef:o0e,color:$P});s0e.current=h0e,t0e(h0e)},onDragChangeComplete:function(){return n0e==null?void 0:n0e(s0e.current)},disabledDrag:a0e}),c0e=_slicedToArray$3(l0e,2),u0e=c0e[0],d0e=c0e[1];return jsx("div",{ref:o0e,className:"".concat(r0e,"-select"),onMouseDown:d0e,onTouchStart:d0e,children:jsxs(Palette,{prefixCls:r0e,children:[jsx(Transform,{offset:u0e,ref:i0e,children:jsx(Handler,{color:$P.toRgbString(),prefixCls:r0e})}),jsx("div",{className:"".concat(r0e,"-saturation"),style:{backgroundColor:"hsl(".concat($P.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})]})})},Gradient=function(e0e){var $P=e0e.colors,t0e=e0e.children,r0e=e0e.direction,n0e=r0e===void 0?"to right":r0e,a0e=e0e.type,o0e=e0e.prefixCls,i0e=reactExports.useMemo(function(){return $P.map(function(s0e,l0e){var c0e=generateColor$1(s0e);return a0e==="alpha"&&l0e===$P.length-1&&c0e.setAlpha(1),c0e.toRgbString()}).join(",")},[$P,a0e]);return jsx("div",{className:"".concat(o0e,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(n0e,", ").concat(i0e,")")},children:t0e})},Slider$1=function(e0e){var $P=e0e.gradientColors,t0e=e0e.direction,r0e=e0e.type,n0e=r0e===void 0?"hue":r0e,a0e=e0e.color,o0e=e0e.value,i0e=e0e.onChange,s0e=e0e.onChangeComplete,l0e=e0e.disabled,c0e=e0e.prefixCls,u0e=reactExports.useRef(),d0e=reactExports.useRef(),p0e=reactExports.useRef(a0e),f0e=useColorDrag({color:a0e,targetRef:d0e,containerRef:u0e,calculate:function(g0e){return calculateOffset$1(g0e,d0e,a0e,n0e)},onDragChange:function(g0e){var y0e=calculateColor({offset:g0e,targetRef:d0e,containerRef:u0e,color:a0e,type:n0e});p0e.current=y0e,i0e(y0e)},onDragChangeComplete:function(){s0e==null||s0e(p0e.current,n0e)},direction:"x",disabledDrag:l0e}),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1];return jsx("div",{ref:u0e,className:cx$1("".concat(c0e,"-slider"),"".concat(c0e,"-slider-").concat(n0e)),onMouseDown:m0e,onTouchStart:m0e,children:jsxs(Palette,{prefixCls:c0e,children:[jsx(Transform,{offset:b0e,ref:d0e,children:jsx(Handler,{size:"small",color:o0e,prefixCls:c0e})}),jsx(Gradient,{colors:$P,direction:t0e,type:n0e,prefixCls:c0e})]})})};function hasValue$1(x_){return x_!==void 0}var useColorState$2=function(e0e,$P){var t0e=$P.defaultValue,r0e=$P.value,n0e=reactExports.useState(function(){var s0e;return hasValue$1(r0e)?s0e=r0e:hasValue$1(t0e)?s0e=t0e:s0e=e0e,generateColor$1(s0e)}),a0e=_slicedToArray$3(n0e,2),o0e=a0e[0],i0e=a0e[1];return reactExports.useEffect(function(){r0e&&i0e(generateColor$1(r0e))},[r0e]),[o0e,i0e]},hueColor=["rgb(255, 0, 0) 0%","rgb(255, 255, 0) 17%","rgb(0, 255, 0) 33%","rgb(0, 255, 255) 50%","rgb(0, 0, 255) 67%","rgb(255, 0, 255) 83%","rgb(255, 0, 0) 100%"];const ColorPicker$3=reactExports.forwardRef(function(x_,e0e){var $P=x_.value,t0e=x_.defaultValue,r0e=x_.prefixCls,n0e=r0e===void 0?ColorPickerPrefixCls:r0e,a0e=x_.onChange,o0e=x_.onChangeComplete,i0e=x_.className,s0e=x_.style,l0e=x_.panelRender,c0e=x_.disabledAlpha,u0e=c0e===void 0?!1:c0e,d0e=x_.disabled,p0e=d0e===void 0?!1:d0e,f0e=useColorState$2(defaultColor,{value:$P,defaultValue:t0e}),h0e=_slicedToArray$3(f0e,2),b0e=h0e[0],m0e=h0e[1],v0e=reactExports.useMemo(function(){var z0e=generateColor$1(b0e.toRgbString());return z0e.setAlpha(1),z0e.toRgbString()},[b0e]),g0e=cx$1("".concat(n0e,"-panel"),i0e,_defineProperty$5({},"".concat(n0e,"-panel-disabled"),p0e)),y0e={prefixCls:n0e,onChangeComplete:o0e,disabled:p0e},M0e=function(_0e,A0e){$P||m0e(_0e),a0e==null||a0e(_0e,A0e)},O0e=jsxs(Fragment,{children:[jsx(Picker$2,{color:b0e,onChange:M0e,...y0e}),jsxs("div",{className:"".concat(n0e,"-slider-container"),children:[jsxs("div",{className:cx$1("".concat(n0e,"-slider-group"),_defineProperty$5({},"".concat(n0e,"-slider-group-disabled-alpha"),u0e)),children:[jsx(Slider$1,{gradientColors:hueColor,color:b0e,value:"hsl(".concat(b0e.toHsb().h,",100%, 50%)"),onChange:function(_0e){return M0e(_0e,"hue")},...y0e}),!u0e&&jsx(Slider$1,{type:"alpha",gradientColors:["rgba(255, 0, 4, 0) 0%",v0e],color:b0e,value:b0e.toRgbString(),onChange:function(_0e){return M0e(_0e,"alpha")},...y0e})]}),jsx(ColorBlock,{color:b0e.toRgbString(),prefixCls:n0e})]})]});return jsx("div",{className:g0e,style:s0e,ref:e0e,children:typeof l0e=="function"?l0e(O0e):O0e})}),PanelPickerContext=React$1.createContext({}),PanelPresetsContext=React$1.createContext({}),{Provider:PanelPickerProvider}=PanelPickerContext,{Provider:PanelPresetsProvider}=PanelPresetsContext,toHexFormat=(x_,e0e)=>(x_==null?void 0:x_.replace(/[^\w/]/gi,"").slice(0,e0e?8:6))||"",getHex=(x_,e0e)=>x_?toHexFormat(x_,e0e):"";let ColorFactory=function(){function x_(e0e){_classCallCheck$1(this,x_),this.metaColor=new Color$1(e0e),e0e||this.metaColor.setAlpha(0)}return _createClass$1(x_,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return getHex(this.toHexString(),this.metaColor.getAlpha()<1)}},{key:"toHexString",value:function(){return this.metaColor.getAlpha()===1?this.metaColor.toHexString():this.metaColor.toHex8String()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}}]),x_}();const customizePrefixCls="ant-color-picker",generateColor=x_=>x_ instanceof ColorFactory?x_:new ColorFactory(x_),getRoundNumber=x_=>Math.round(Number(x_||0)),getAlphaColor$1=x_=>getRoundNumber(x_.toHsb().a*100),genAlphaColor=(x_,e0e)=>{const $P=x_.toHsb();return $P.a=e0e||1,generateColor($P)},ColorClear=x_=>{let{prefixCls:e0e,value:$P,colorCleared:t0e,onChange:r0e}=x_;const n0e=()=>{if($P&&!t0e){const a0e=$P.toHsb();a0e.a=0;const o0e=generateColor(a0e);r0e==null||r0e(o0e)}};return React$1.createElement("div",{className:`${e0e}-clear`,onClick:n0e})},ColorClear$1=ColorClear;var ColorFormat;(function(x_){x_.hex="hex",x_.rgb="rgb",x_.hsb="hsb"})(ColorFormat||(ColorFormat={}));var UpOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};const UpOutlinedSvg=UpOutlined$2;var UpOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:UpOutlinedSvg}))};const UpOutlined$1=reactExports.forwardRef(UpOutlined);function _classCallCheck(x_,e0e){if(!(x_ instanceof e0e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(x_,e0e){for(var $P=0;$PNumber.MAX_SAFE_INTEGER)return String(supportBigInt()?BigInt(x_).toString():Number.MAX_SAFE_INTEGER);if(x_0&&arguments[0]!==void 0?arguments[0]:!0;return $P?this.isInvalidate()?"":trimNumber("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),x_}(),NumberDecimal=function(){function x_(e0e){if(_classCallCheck(this,x_),_defineProperty$6(this,"origin",""),_defineProperty$6(this,"number",void 0),_defineProperty$6(this,"empty",void 0),isEmpty$4(e0e)){this.empty=!0;return}this.origin=String(e0e),this.number=Number(e0e)}return _createClass(x_,[{key:"negate",value:function(){return new x_(-this.toNumber())}},{key:"add",value:function($P){if(this.isInvalidate())return new x_($P);var t0e=Number($P);if(Number.isNaN(t0e))return this;var r0e=this.number+t0e;if(r0e>Number.MAX_SAFE_INTEGER)return new x_(Number.MAX_SAFE_INTEGER);if(r0eNumber.MAX_SAFE_INTEGER)return new x_(Number.MAX_SAFE_INTEGER);if(r0e0&&arguments[0]!==void 0?arguments[0]:!0;return $P?this.isInvalidate()?"":num2str(this.number):this.origin}}]),x_}();function getMiniDecimal(x_){return supportBigInt()?new BigIntDecimal(x_):new NumberDecimal(x_)}function toFixed$1(x_,e0e,$P){var t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(x_==="")return"";var r0e=trimNumber(x_),n0e=r0e.negativeStr,a0e=r0e.integerStr,o0e=r0e.decimalStr,i0e="".concat(e0e).concat(o0e),s0e="".concat(n0e).concat(a0e);if($P>=0){var l0e=Number(o0e[$P]);if(l0e>=5&&!t0e){var c0e=getMiniDecimal(x_).add("".concat(n0e,"0.").concat("0".repeat($P)).concat(10-l0e));return toFixed$1(c0e.toString(),e0e,$P,t0e)}return $P===0?s0e:"".concat(s0e).concat(e0e).concat(o0e.padEnd($P,"0").slice(0,$P))}return i0e===".0"?s0e:"".concat(s0e).concat(i0e)}function hasAddon(x_){return!!(x_.addonBefore||x_.addonAfter)}function hasPrefixSuffix$1(x_){return!!(x_.prefix||x_.suffix||x_.allowClear)}function resolveOnChange(x_,e0e,$P,t0e){if($P){var r0e=e0e;if(e0e.type==="click"){var n0e=x_.cloneNode(!0);r0e=Object.create(e0e,{target:{value:n0e},currentTarget:{value:n0e}}),n0e.value="",$P(r0e);return}if(t0e!==void 0){var a0e=x_.cloneNode(!0);r0e=Object.create(e0e,{target:{value:a0e},currentTarget:{value:a0e}}),a0e.type!=="file"&&(a0e.value=t0e),$P(r0e);return}$P(r0e)}}function triggerFocus$1(x_,e0e){if(x_){x_.focus(e0e);var $P=e0e||{},t0e=$P.cursor;if(t0e){var r0e=x_.value.length;switch(t0e){case"start":x_.setSelectionRange(0,0);break;case"end":x_.setSelectionRange(r0e,r0e);break;default:x_.setSelectionRange(0,r0e)}}}}var BaseInput=function(e0e){var $P,t0e,r0e=e0e.inputElement,n0e=e0e.prefixCls,a0e=e0e.prefix,o0e=e0e.suffix,i0e=e0e.addonBefore,s0e=e0e.addonAfter,l0e=e0e.className,c0e=e0e.style,u0e=e0e.disabled,d0e=e0e.readOnly,p0e=e0e.focused,f0e=e0e.triggerFocus,h0e=e0e.allowClear,b0e=e0e.value,m0e=e0e.handleReset,v0e=e0e.hidden,g0e=e0e.classes,y0e=e0e.classNames,M0e=e0e.dataAttrs,O0e=e0e.styles,z0e=e0e.components,_0e=(z0e==null?void 0:z0e.affixWrapper)||"span",A0e=(z0e==null?void 0:z0e.groupWrapper)||"span",$0e=(z0e==null?void 0:z0e.wrapper)||"span",S0e=(z0e==null?void 0:z0e.groupAddon)||"span",C0e=reactExports.useRef(null),E0e=function(F0e){var V0e;(V0e=C0e.current)!==null&&V0e!==void 0&&V0e.contains(F0e.target)&&(f0e==null||f0e())},w0e=function(){var F0e;if(!h0e)return null;var V0e=!u0e&&!d0e&&b0e,H0e="".concat(n0e,"-clear-icon"),Q0e=_typeof$2(h0e)==="object"&&h0e!==null&&h0e!==void 0&&h0e.clearIcon?h0e.clearIcon:"✖";return jsx("span",{onClick:m0e,onMouseDown:function(G0e){return G0e.preventDefault()},className:cx$1(H0e,(F0e={},_defineProperty$5(F0e,"".concat(H0e,"-hidden"),!V0e),_defineProperty$5(F0e,"".concat(H0e,"-has-suffix"),!!o0e),F0e)),role:"button",tabIndex:-1,children:Q0e})},R0e=reactExports.cloneElement(r0e,{value:b0e,hidden:v0e,className:cx$1(($P=r0e.props)===null||$P===void 0?void 0:$P.className,!hasPrefixSuffix$1(e0e)&&!hasAddon(e0e)&&l0e)||null,style:_objectSpread2$1(_objectSpread2$1({},(t0e=r0e.props)===null||t0e===void 0?void 0:t0e.style),!hasPrefixSuffix$1(e0e)&&!hasAddon(e0e)?c0e:{})});if(hasPrefixSuffix$1(e0e)){var T0e,D0e="".concat(n0e,"-affix-wrapper"),W0e=cx$1(D0e,(T0e={},_defineProperty$5(T0e,"".concat(D0e,"-disabled"),u0e),_defineProperty$5(T0e,"".concat(D0e,"-focused"),p0e),_defineProperty$5(T0e,"".concat(D0e,"-readonly"),d0e),_defineProperty$5(T0e,"".concat(D0e,"-input-with-clear-btn"),o0e&&h0e&&b0e),T0e),!hasAddon(e0e)&&l0e,g0e==null?void 0:g0e.affixWrapper,y0e==null?void 0:y0e.affixWrapper),k0e=(o0e||h0e)&&jsxs("span",{className:cx$1("".concat(n0e,"-suffix"),y0e==null?void 0:y0e.suffix),style:O0e==null?void 0:O0e.suffix,children:[w0e(),o0e]});R0e=jsxs(_0e,{className:W0e,style:_objectSpread2$1(_objectSpread2$1({},hasAddon(e0e)?void 0:c0e),O0e==null?void 0:O0e.affixWrapper),hidden:!hasAddon(e0e)&&v0e,onClick:E0e,...M0e==null?void 0:M0e.affixWrapper,ref:C0e,children:[a0e&&jsx("span",{className:cx$1("".concat(n0e,"-prefix"),y0e==null?void 0:y0e.prefix),style:O0e==null?void 0:O0e.prefix,children:a0e}),reactExports.cloneElement(r0e,{value:b0e,hidden:null}),k0e]})}if(hasAddon(e0e)){var q0e="".concat(n0e,"-group"),N0e="".concat(q0e,"-addon"),j0e=cx$1("".concat(n0e,"-wrapper"),q0e,g0e==null?void 0:g0e.wrapper),P0e=cx$1("".concat(n0e,"-group-wrapper"),l0e,g0e==null?void 0:g0e.group);return jsx(A0e,{className:P0e,style:c0e,hidden:v0e,children:jsxs($0e,{className:j0e,children:[i0e&&jsx(S0e,{className:N0e,children:i0e}),reactExports.cloneElement(R0e,{hidden:null}),s0e&&jsx(S0e,{className:N0e,children:s0e})]})})}return R0e},_excluded$l=["show"];function useCount(x_,e0e){return reactExports.useMemo(function(){var $P={};e0e&&($P.show=_typeof$2(e0e)==="object"&&e0e.formatter?e0e.formatter:!!e0e),$P=_objectSpread2$1(_objectSpread2$1({},$P),x_);var t0e=$P,r0e=t0e.show,n0e=_objectWithoutProperties$4(t0e,_excluded$l);return _objectSpread2$1(_objectSpread2$1({},n0e),{},{show:!!r0e,showFormatter:typeof r0e=="function"?r0e:void 0,strategy:n0e.strategy||function(a0e){return a0e.length}})},[x_,e0e])}var _excluded$k=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Input$5=reactExports.forwardRef(function(x_,e0e){var $P=x_.autoComplete,t0e=x_.onChange,r0e=x_.onFocus,n0e=x_.onBlur,a0e=x_.onPressEnter,o0e=x_.onKeyDown,i0e=x_.prefixCls,s0e=i0e===void 0?"rc-input":i0e,l0e=x_.disabled,c0e=x_.htmlSize,u0e=x_.className,d0e=x_.maxLength,p0e=x_.suffix,f0e=x_.showCount,h0e=x_.count,b0e=x_.type,m0e=b0e===void 0?"text":b0e,v0e=x_.classes,g0e=x_.classNames,y0e=x_.styles,M0e=x_.onCompositionStart,O0e=x_.onCompositionEnd,z0e=_objectWithoutProperties$4(x_,_excluded$k),_0e=reactExports.useState(!1),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=React$1.useRef(!1),E0e=reactExports.useRef(null),w0e=function(a1e){E0e.current&&triggerFocus$1(E0e.current,a1e)},R0e=useMergedState(x_.defaultValue,{value:x_.value}),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=D0e==null?"":String(D0e),q0e=React$1.useState(null),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=useCount(h0e,f0e),F0e=I0e.max||d0e,V0e=I0e.strategy(k0e),H0e=!!F0e&&V0e>F0e;reactExports.useImperativeHandle(e0e,function(){return{focus:w0e,blur:function(){var a1e;(a1e=E0e.current)===null||a1e===void 0||a1e.blur()},setSelectionRange:function(a1e,l1e,s1e){var g1e;(g1e=E0e.current)===null||g1e===void 0||g1e.setSelectionRange(a1e,l1e,s1e)},select:function(){var a1e;(a1e=E0e.current)===null||a1e===void 0||a1e.select()},input:E0e.current}}),reactExports.useEffect(function(){S0e(function(r1e){return r1e&&l0e?!1:r1e})},[l0e]);var Q0e=function(a1e,l1e){var s1e=l1e;if(!C0e.current&&I0e.exceedFormatter&&I0e.max&&I0e.strategy(l1e)>I0e.max&&(s1e=I0e.exceedFormatter(l1e,{max:I0e.max}),l1e!==s1e)){var g1e,$1e;P0e([((g1e=E0e.current)===null||g1e===void 0?void 0:g1e.selectionStart)||0,(($1e=E0e.current)===null||$1e===void 0?void 0:$1e.selectionEnd)||0])}W0e(s1e),E0e.current&&resolveOnChange(E0e.current,a1e,t0e,s1e)};React$1.useEffect(function(){if(j0e){var r1e;(r1e=E0e.current)===null||r1e===void 0||r1e.setSelectionRange.apply(r1e,_toConsumableArray$2(j0e))}},[j0e]);var Y0e=function(a1e){Q0e(a1e,a1e.target.value)},G0e=function(a1e){C0e.current=!1,Q0e(a1e,a1e.currentTarget.value),O0e==null||O0e(a1e)},B0e=function(a1e){a0e&&a1e.key==="Enter"&&a0e(a1e),o0e==null||o0e(a1e)},U0e=function(a1e){S0e(!0),r0e==null||r0e(a1e)},X0e=function(a1e){S0e(!1),n0e==null||n0e(a1e)},Z0e=function(a1e){W0e(""),w0e(),E0e.current&&resolveOnChange(E0e.current,a1e,t0e)},e1e=H0e&&"".concat(s0e,"-out-of-range"),n1e=function(){var a1e=omit$2(x_,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames"]);return jsx("input",{autoComplete:$P,...a1e,onChange:Y0e,onFocus:U0e,onBlur:X0e,onKeyDown:B0e,className:cx$1(s0e,_defineProperty$5({},"".concat(s0e,"-disabled"),l0e),g0e==null?void 0:g0e.input),style:y0e==null?void 0:y0e.input,ref:E0e,size:c0e,type:m0e,onCompositionStart:function(s1e){C0e.current=!0,M0e==null||M0e(s1e)},onCompositionEnd:G0e})},t1e=function(){var a1e=Number(F0e)>0;if(p0e||I0e.show){var l1e=I0e.showFormatter?I0e.showFormatter({value:k0e,count:V0e,maxLength:F0e}):"".concat(V0e).concat(a1e?" / ".concat(F0e):"");return jsxs(Fragment,{children:[I0e.show&&jsx("span",{className:cx$1("".concat(s0e,"-show-count-suffix"),_defineProperty$5({},"".concat(s0e,"-show-count-has-suffix"),!!p0e),g0e==null?void 0:g0e.count),style:_objectSpread2$1({},y0e==null?void 0:y0e.count),children:l1e}),p0e]})}return null};return jsx(BaseInput,{...z0e,prefixCls:s0e,className:cx$1(u0e,e1e),inputElement:n1e(),handleReset:Z0e,value:k0e,focused:$0e,triggerFocus:w0e,suffix:t1e(),disabled:l0e,classes:v0e,classNames:g0e,styles:y0e})});function useCursor$1(x_,e0e){var $P=reactExports.useRef(null);function t0e(){try{var n0e=x_.selectionStart,a0e=x_.selectionEnd,o0e=x_.value,i0e=o0e.substring(0,n0e),s0e=o0e.substring(a0e);$P.current={start:n0e,end:a0e,value:o0e,beforeTxt:i0e,afterTxt:s0e}}catch{}}function r0e(){if(x_&&$P.current&&e0e)try{var n0e=x_.value,a0e=$P.current,o0e=a0e.beforeTxt,i0e=a0e.afterTxt,s0e=a0e.start,l0e=n0e.length;if(n0e.endsWith(i0e))l0e=n0e.length-$P.current.afterTxt.length;else if(n0e.startsWith(o0e))l0e=o0e.length;else{var c0e=o0e[s0e-1],u0e=n0e.indexOf(c0e,s0e-1);u0e!==-1&&(l0e=u0e+1)}x_.setSelectionRange(l0e,l0e)}catch(d0e){warningOnce$1(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(d0e.message))}}return[t0e,r0e]}var useMobile$1=function(){var e0e=reactExports.useState(!1),$P=_slicedToArray$3(e0e,2),t0e=$P[0],r0e=$P[1];return useLayoutEffect$2(function(){r0e(isMobile$3())},[]),t0e},STEP_INTERVAL$1=200,STEP_DELAY$1=600;function StepHandler$1(x_){var e0e=x_.prefixCls,$P=x_.upNode,t0e=x_.downNode,r0e=x_.upDisabled,n0e=x_.downDisabled,a0e=x_.onStep,o0e=reactExports.useRef(),i0e=reactExports.useRef([]),s0e=reactExports.useRef();s0e.current=a0e;var l0e=function(){clearTimeout(o0e.current)},c0e=function(v0e,g0e){v0e.preventDefault(),l0e(),s0e.current(g0e);function y0e(){s0e.current(g0e),o0e.current=setTimeout(y0e,STEP_INTERVAL$1)}o0e.current=setTimeout(y0e,STEP_DELAY$1)};reactExports.useEffect(function(){return function(){l0e(),i0e.current.forEach(function(m0e){return wrapperRaf$1.cancel(m0e)})}},[]);var u0e=useMobile$1();if(u0e)return null;var d0e="".concat(e0e,"-handler"),p0e=cx$1(d0e,"".concat(d0e,"-up"),_defineProperty$5({},"".concat(d0e,"-up-disabled"),r0e)),f0e=cx$1(d0e,"".concat(d0e,"-down"),_defineProperty$5({},"".concat(d0e,"-down-disabled"),n0e)),h0e=function(){return i0e.current.push(wrapperRaf$1(l0e))},b0e={unselectable:"on",role:"button",onMouseUp:h0e,onMouseLeave:h0e};return reactExports.createElement("div",{className:"".concat(d0e,"-wrap")},reactExports.createElement("span",_extends$1z({},b0e,{onMouseDown:function(v0e){c0e(v0e,!0)},"aria-label":"Increase Value","aria-disabled":r0e,className:p0e}),$P||reactExports.createElement("span",{unselectable:"on",className:"".concat(e0e,"-handler-up-inner")})),reactExports.createElement("span",_extends$1z({},b0e,{onMouseDown:function(v0e){c0e(v0e,!1)},"aria-label":"Decrease Value","aria-disabled":n0e,className:f0e}),t0e||reactExports.createElement("span",{unselectable:"on",className:"".concat(e0e,"-handler-down-inner")})))}function getDecupleSteps$1(x_){var e0e=typeof x_=="number"?num2str(x_):trimNumber(x_).fullStr,$P=e0e.includes(".");return $P?trimNumber(e0e.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:x_+"0"}const useFrame$1=function(){var x_=reactExports.useRef(0),e0e=function(){wrapperRaf$1.cancel(x_.current)};return reactExports.useEffect(function(){return e0e},[]),function($P){e0e(),x_.current=wrapperRaf$1(function(){$P()})}};var _excluded$j=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur"],_excluded2$7=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],getDecimalValue$1=function(e0e,$P){return e0e||$P.isEmpty()?$P.toString():$P.toNumber()},getDecimalIfValidate$1=function(e0e){var $P=getMiniDecimal(e0e);return $P.isInvalidate()?null:$P},InternalInputNumber=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.prefixCls,r0e=t0e===void 0?"rc-input-number":t0e,n0e=x_.className,a0e=x_.style,o0e=x_.min,i0e=x_.max,s0e=x_.step,l0e=s0e===void 0?1:s0e,c0e=x_.defaultValue,u0e=x_.value,d0e=x_.disabled,p0e=x_.readOnly,f0e=x_.upHandler,h0e=x_.downHandler,b0e=x_.keyboard,m0e=x_.controls,v0e=m0e===void 0?!0:m0e,g0e=x_.classNames,y0e=x_.stringMode,M0e=x_.parser,O0e=x_.formatter,z0e=x_.precision,_0e=x_.decimalSeparator,A0e=x_.onChange,$0e=x_.onInput,S0e=x_.onPressEnter,C0e=x_.onStep,E0e=x_.changeOnBlur,w0e=E0e===void 0?!0:E0e,R0e=_objectWithoutProperties$4(x_,_excluded$j),T0e="".concat(r0e,"-input"),D0e=reactExports.useRef(null),W0e=reactExports.useState(!1),k0e=_slicedToArray$3(W0e,2),q0e=k0e[0],N0e=k0e[1],j0e=reactExports.useRef(!1),P0e=reactExports.useRef(!1),I0e=reactExports.useRef(!1),F0e=reactExports.useState(function(){return getMiniDecimal(u0e??c0e)}),V0e=_slicedToArray$3(F0e,2),H0e=V0e[0],Q0e=V0e[1];function Y0e(I1e){u0e===void 0&&Q0e(I1e)}var G0e=reactExports.useCallback(function(I1e,j1e){if(!j1e)return z0e>=0?z0e:Math.max(getNumberPrecision(I1e),getNumberPrecision(l0e))},[z0e,l0e]),B0e=reactExports.useCallback(function(I1e){var j1e=String(I1e);if(M0e)return M0e(j1e);var H1e=j1e;return _0e&&(H1e=H1e.replace(_0e,".")),H1e.replace(/[^\w.-]+/g,"")},[M0e,_0e]),U0e=reactExports.useRef(""),X0e=reactExports.useCallback(function(I1e,j1e){if(O0e)return O0e(I1e,{userTyping:j1e,input:String(U0e.current)});var H1e=typeof I1e=="number"?num2str(I1e):I1e;if(!j1e){var W1e=G0e(H1e,j1e);if(validateNumber(H1e)&&(_0e||W1e>=0)){var Q1e=_0e||".";H1e=toFixed$1(H1e,Q1e,W1e)}}return H1e},[O0e,G0e,_0e]),Z0e=reactExports.useState(function(){var I1e=c0e??u0e;return H0e.isInvalidate()&&["string","number"].includes(_typeof$2(I1e))?Number.isNaN(I1e)?"":I1e:X0e(H0e.toString(),!1)}),e1e=_slicedToArray$3(Z0e,2),n1e=e1e[0],t1e=e1e[1];U0e.current=n1e;function r1e(I1e,j1e){t1e(X0e(I1e.isInvalidate()?I1e.toString(!1):I1e.toString(!j1e),j1e))}var a1e=reactExports.useMemo(function(){return getDecimalIfValidate$1(i0e)},[i0e,z0e]),l1e=reactExports.useMemo(function(){return getDecimalIfValidate$1(o0e)},[o0e,z0e]),s1e=reactExports.useMemo(function(){return!a1e||!H0e||H0e.isInvalidate()?!1:a1e.lessEquals(H0e)},[a1e,H0e]),g1e=reactExports.useMemo(function(){return!l1e||!H0e||H0e.isInvalidate()?!1:H0e.lessEquals(l1e)},[l1e,H0e]),$1e=useCursor$1(D0e.current,q0e),_1e=_slicedToArray$3($1e,2),p1e=_1e[0],E1e=_1e[1],x1e=function(j1e){return a1e&&!j1e.lessEquals(a1e)?a1e:l1e&&!l1e.lessEquals(j1e)?l1e:null},O1e=function(j1e){return!x1e(j1e)},w1e=function(j1e,H1e){var W1e=j1e,Q1e=O1e(W1e)||W1e.isEmpty();if(!W1e.isEmpty()&&!H1e&&(W1e=x1e(W1e)||W1e,Q1e=!0),!p0e&&!d0e&&Q1e){var K1e=W1e.toString(),rme=G0e(K1e,H1e);return rme>=0&&(W1e=getMiniDecimal(toFixed$1(K1e,".",rme)),O1e(W1e)||(W1e=getMiniDecimal(toFixed$1(K1e,".",rme,!0)))),W1e.equals(H0e)||(Y0e(W1e),A0e==null||A0e(W1e.isEmpty()?null:getDecimalValue$1(y0e,W1e)),u0e===void 0&&r1e(W1e,H1e)),W1e}return H0e},A1e=useFrame$1(),F1e=function I1e(j1e){if(p1e(),U0e.current=j1e,t1e(j1e),!P0e.current){var H1e=B0e(j1e),W1e=getMiniDecimal(H1e);W1e.isNaN()||w1e(W1e,!0)}$0e==null||$0e(j1e),A1e(function(){var Q1e=j1e;M0e||(Q1e=j1e.replace(/。/g,".")),Q1e!==j1e&&I1e(Q1e)})},J1e=function(){P0e.current=!0},ame=function(){P0e.current=!1,F1e(D0e.current.value)},G1e=function(j1e){F1e(j1e.target.value)},V1e=function(j1e){var H1e;if(!(j1e&&s1e||!j1e&&g1e)){j0e.current=!1;var W1e=getMiniDecimal(I0e.current?getDecupleSteps$1(l0e):l0e);j1e||(W1e=W1e.negate());var Q1e=(H0e||getMiniDecimal(0)).add(W1e.toString()),K1e=w1e(Q1e,!1);C0e==null||C0e(getDecimalValue$1(y0e,K1e),{offset:I0e.current?getDecupleSteps$1(l0e):l0e,type:j1e?"up":"down"}),(H1e=D0e.current)===null||H1e===void 0||H1e.focus()}},cme=function(j1e){var H1e=getMiniDecimal(B0e(n1e)),W1e=H1e;H1e.isNaN()?W1e=w1e(H0e,j1e):W1e=w1e(H1e,j1e),u0e!==void 0?r1e(H0e,!1):W1e.isNaN()||r1e(W1e,!1)},ume=function(){j0e.current=!0},Y1e=function(j1e){var H1e=j1e.key,W1e=j1e.shiftKey;j0e.current=!0,I0e.current=W1e,H1e==="Enter"&&(P0e.current||(j0e.current=!1),cme(!1),S0e==null||S0e(j1e)),b0e!==!1&&!P0e.current&&["Up","ArrowUp","Down","ArrowDown"].includes(H1e)&&(V1e(H1e==="Up"||H1e==="ArrowUp"),j1e.preventDefault())},k1e=function(){j0e.current=!1,I0e.current=!1},ime=function(){w0e&&cme(!1),N0e(!1),j0e.current=!1};return useLayoutUpdateEffect$1(function(){H0e.isInvalidate()||r1e(H0e,!1)},[z0e,O0e]),useLayoutUpdateEffect$1(function(){var I1e=getMiniDecimal(u0e);Q0e(I1e);var j1e=getMiniDecimal(B0e(n1e));(!I1e.equals(j1e)||!j0e.current||O0e)&&r1e(I1e,j0e.current)},[u0e]),useLayoutUpdateEffect$1(function(){O0e&&E1e()},[n1e]),reactExports.createElement("div",{className:cx$1(r0e,g0e==null?void 0:g0e.input,n0e,($P={},_defineProperty$5($P,"".concat(r0e,"-focused"),q0e),_defineProperty$5($P,"".concat(r0e,"-disabled"),d0e),_defineProperty$5($P,"".concat(r0e,"-readonly"),p0e),_defineProperty$5($P,"".concat(r0e,"-not-a-number"),H0e.isNaN()),_defineProperty$5($P,"".concat(r0e,"-out-of-range"),!H0e.isInvalidate()&&!O1e(H0e)),$P)),style:a0e,onFocus:function(){N0e(!0)},onBlur:ime,onKeyDown:Y1e,onKeyUp:k1e,onCompositionStart:J1e,onCompositionEnd:ame,onBeforeInput:ume},v0e&&reactExports.createElement(StepHandler$1,{prefixCls:r0e,upNode:f0e,downNode:h0e,upDisabled:s1e,downDisabled:g1e,onStep:V1e}),reactExports.createElement("div",{className:"".concat(T0e,"-wrap")},reactExports.createElement("input",_extends$1z({autoComplete:"off",role:"spinbutton","aria-valuemin":o0e,"aria-valuemax":i0e,"aria-valuenow":H0e.isInvalidate()?null:H0e.toString(),step:l0e},R0e,{ref:composeRef$1(D0e,e0e),className:T0e,value:n1e,onChange:G1e,disabled:d0e,readOnly:p0e}))))}),InputNumber$3=reactExports.forwardRef(function(x_,e0e){var $P=x_.disabled,t0e=x_.style,r0e=x_.prefixCls,n0e=x_.value,a0e=x_.prefix,o0e=x_.suffix,i0e=x_.addonBefore,s0e=x_.addonAfter,l0e=x_.classes,c0e=x_.className,u0e=x_.classNames,d0e=_objectWithoutProperties$4(x_,_excluded2$7),p0e=reactExports.useRef(null),f0e=function(b0e){p0e.current&&triggerFocus$1(p0e.current,b0e)};return reactExports.createElement(BaseInput,{inputElement:reactExports.createElement(InternalInputNumber,_extends$1z({prefixCls:r0e,disabled:$P,classNames:u0e,ref:composeRef$1(p0e,e0e)},d0e)),className:c0e,triggerFocus:f0e,prefixCls:r0e,value:n0e,disabled:$P,style:t0e,prefix:a0e,suffix:o0e,addonAfter:s0e,addonBefore:i0e,classes:l0e,classNames:u0e,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});InputNumber$3.displayName="InputNumber";const genRadiusStyle=(x_,e0e)=>{let{componentCls:$P,borderRadiusSM:t0e,borderRadiusLG:r0e}=x_;const n0e=e0e==="lg"?r0e:t0e;return{[`&-${e0e}`]:{[`${$P}-handler-wrap`]:{borderStartEndRadius:n0e,borderEndEndRadius:n0e},[`${$P}-handler-up`]:{borderStartEndRadius:n0e},[`${$P}-handler-down`]:{borderEndEndRadius:n0e}}}},genInputNumberStyles=x_=>{const{componentCls:e0e,lineWidth:$P,lineType:t0e,colorBorder:r0e,borderRadius:n0e,fontSizeLG:a0e,controlHeightLG:o0e,controlHeightSM:i0e,colorError:s0e,paddingInlineSM:l0e,colorTextDescription:c0e,motionDurationMid:u0e,handleHoverColor:d0e,paddingInline:p0e,paddingBlock:f0e,handleBg:h0e,handleActiveBg:b0e,colorTextDisabled:m0e,borderRadiusSM:v0e,borderRadiusLG:g0e,controlWidth:y0e,handleOpacity:M0e,handleBorderColor:O0e,calc:z0e}=x_;return[{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),genBasicInputStyle(x_)),genStatusStyle$1(x_,e0e)),{display:"inline-block",width:y0e,margin:0,padding:0,border:`${unit$1($P)} ${t0e} ${r0e}`,borderRadius:n0e,"&-rtl":{direction:"rtl",[`${e0e}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a0e,borderRadius:g0e,[`input${e0e}-input`]:{height:z0e(o0e).sub(z0e($P).mul(2)).equal()}},"&-sm":{padding:0,borderRadius:v0e,[`input${e0e}-input`]:{height:z0e(i0e).sub(z0e($P).mul(2)).equal(),padding:`0 ${unit$1(l0e)}`}},"&-out-of-range":{[`${e0e}-input-wrap`]:{input:{color:s0e}}},"&-group":Object.assign(Object.assign(Object.assign({},resetComponent(x_)),genInputGroupStyle(x_)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${e0e}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${e0e}-group-addon`]:{borderRadius:g0e,fontSize:x_.fontSizeLG}},"&-sm":{[`${e0e}-group-addon`]:{borderRadius:v0e}},[`${e0e}-wrapper-disabled > ${e0e}-group-addon`]:Object.assign({},genDisabledStyle(x_)),[`&:not(${e0e}-compact-first-item):not(${e0e}-compact-last-item)${e0e}-compact-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderRadius:0}},[`&:not(${e0e}-compact-last-item)${e0e}-compact-first-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${e0e}-compact-first-item)${e0e}-compact-last-item`]:{[`${e0e}, ${e0e}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}),[`&-disabled ${e0e}-input`]:{cursor:"not-allowed"},[e0e]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{width:"100%",padding:`${unit$1(f0e)} ${unit$1(p0e)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:n0e,outline:0,transition:`all ${u0e} linear`,appearance:"textfield",fontSize:"inherit"}),genPlaceholderStyle(x_.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[e0e]:Object.assign(Object.assign(Object.assign({[`&:hover ${e0e}-handler-wrap, &-focused ${e0e}-handler-wrap`]:{opacity:1},[`${e0e}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:x_.handleWidth,height:"100%",background:h0e,borderStartStartRadius:0,borderStartEndRadius:n0e,borderEndEndRadius:n0e,borderEndStartRadius:0,opacity:M0e,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${u0e} linear ${u0e}`,[`${e0e}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${e0e}-handler-up-inner, ${e0e}-handler-down-inner `]:{marginInlineEnd:0,fontSize:x_.handleFontSize}}},[`${e0e}-handler`]:{height:"50%",overflow:"hidden",color:c0e,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${unit$1($P)} ${t0e} ${O0e}`,transition:`all ${u0e} linear`,"&:active":{background:b0e},"&:hover":{height:"60%",[` @@ -357,17 +357,17 @@ html body { top:0 !important; right:0 !important; pointer-events: none !important; -`,SIZING_STYLE$1=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],computedStyleCache={},hiddenTextarea$1;function calculateNodeStyling(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=x_.getAttribute("id")||x_.getAttribute("data-reactid")||x_.getAttribute("name");if(e0e&&computedStyleCache[$P])return computedStyleCache[$P];var t0e=window.getComputedStyle(x_),r0e=t0e.getPropertyValue("box-sizing")||t0e.getPropertyValue("-moz-box-sizing")||t0e.getPropertyValue("-webkit-box-sizing"),n0e=parseFloat(t0e.getPropertyValue("padding-bottom"))+parseFloat(t0e.getPropertyValue("padding-top")),a0e=parseFloat(t0e.getPropertyValue("border-bottom-width"))+parseFloat(t0e.getPropertyValue("border-top-width")),o0e=SIZING_STYLE$1.map(function(s0e){return"".concat(s0e,":").concat(t0e.getPropertyValue(s0e))}).join(";"),i0e={sizingStyle:o0e,paddingSize:n0e,borderSize:a0e,boxSizing:r0e};return e0e&&$P&&(computedStyleCache[$P]=i0e),i0e}function calculateAutoSizeStyle(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;hiddenTextarea$1||(hiddenTextarea$1=document.createElement("textarea"),hiddenTextarea$1.setAttribute("tab-index","-1"),hiddenTextarea$1.setAttribute("aria-hidden","true"),document.body.appendChild(hiddenTextarea$1)),x_.getAttribute("wrap")?hiddenTextarea$1.setAttribute("wrap",x_.getAttribute("wrap")):hiddenTextarea$1.removeAttribute("wrap");var r0e=calculateNodeStyling(x_,e0e),n0e=r0e.paddingSize,a0e=r0e.borderSize,o0e=r0e.boxSizing,i0e=r0e.sizingStyle;hiddenTextarea$1.setAttribute("style","".concat(i0e,";").concat(HIDDEN_TEXTAREA_STYLE$1)),hiddenTextarea$1.value=x_.value||x_.placeholder||"";var s0e=void 0,l0e=void 0,c0e,u0e=hiddenTextarea$1.scrollHeight;if(o0e==="border-box"?u0e+=a0e:o0e==="content-box"&&(u0e-=n0e),$P!==null||t0e!==null){hiddenTextarea$1.value=" ";var d0e=hiddenTextarea$1.scrollHeight-n0e;$P!==null&&(s0e=d0e*$P,o0e==="border-box"&&(s0e=s0e+n0e+a0e),u0e=Math.max(s0e,u0e)),t0e!==null&&(l0e=d0e*t0e,o0e==="border-box"&&(l0e=l0e+n0e+a0e),c0e=u0e>l0e?"":"hidden",u0e=Math.min(l0e,u0e))}var p0e={height:u0e,overflowY:c0e,resize:"none"};return s0e&&(p0e.minHeight=s0e),l0e&&(p0e.maxHeight=l0e),p0e}var _excluded$i=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],RESIZE_START=0,RESIZE_MEASURING=1,RESIZE_STABLE=2,ResizableTextArea=reactExports.forwardRef(function(x_,e0e){var $P=x_,t0e=$P.prefixCls;$P.onPressEnter;var r0e=$P.defaultValue,n0e=$P.value,a0e=$P.autoSize,o0e=$P.onResize,i0e=$P.className,s0e=$P.style,l0e=$P.disabled,c0e=$P.onChange;$P.onInternalAutoSize;var u0e=_objectWithoutProperties$4($P,_excluded$i),d0e=useMergedState(r0e,{value:n0e,postState:function(P0e){return P0e??""}}),p0e=_slicedToArray$3(d0e,2),f0e=p0e[0],h0e=p0e[1],b0e=function(P0e){h0e(P0e.target.value),c0e==null||c0e(P0e)},m0e=reactExports.useRef();reactExports.useImperativeHandle(e0e,function(){return{textArea:m0e.current}});var v0e=reactExports.useMemo(function(){return a0e&&_typeof$2(a0e)==="object"?[a0e.minRows,a0e.maxRows]:[]},[a0e]),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=!!a0e,z0e=function(){try{if(document.activeElement===m0e.current){var P0e=m0e.current,I0e=P0e.selectionStart,F0e=P0e.selectionEnd,V0e=P0e.scrollTop;m0e.current.setSelectionRange(I0e,F0e),m0e.current.scrollTop=V0e}}catch{}},_0e=reactExports.useState(RESIZE_STABLE),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=reactExports.useState(),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=function(){S0e(RESIZE_START)};useLayoutEffect$2(function(){O0e&&T0e()},[n0e,y0e,M0e,O0e]),useLayoutEffect$2(function(){if($0e===RESIZE_START)S0e(RESIZE_MEASURING);else if($0e===RESIZE_MEASURING){var j0e=calculateAutoSizeStyle(m0e.current,!1,y0e,M0e);S0e(RESIZE_STABLE),R0e(j0e)}else z0e()},[$0e]);var D0e=reactExports.useRef(),W0e=function(){wrapperRaf$1.cancel(D0e.current)},k0e=function(P0e){$0e===RESIZE_STABLE&&(o0e==null||o0e(P0e),a0e&&(W0e(),D0e.current=wrapperRaf$1(function(){T0e()})))};reactExports.useEffect(function(){return W0e},[]);var q0e=O0e?w0e:null,N0e=_objectSpread2$1(_objectSpread2$1({},s0e),q0e);return($0e===RESIZE_START||$0e===RESIZE_MEASURING)&&(N0e.overflowY="hidden",N0e.overflowX="hidden"),reactExports.createElement(RefResizeObserver,{onResize:k0e,disabled:!(a0e||o0e)},reactExports.createElement("textarea",_extends$1z({},u0e,{ref:m0e,style:N0e,className:cx$1(t0e,i0e,_defineProperty$5({},"".concat(t0e,"-disabled"),l0e)),disabled:l0e,value:f0e,onChange:b0e})))}),_excluded$h=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],TextArea$2=React$1.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_.defaultValue,n0e=x_.value,a0e=x_.onFocus,o0e=x_.onBlur,i0e=x_.onChange,s0e=x_.allowClear,l0e=x_.maxLength,c0e=x_.onCompositionStart,u0e=x_.onCompositionEnd,d0e=x_.suffix,p0e=x_.prefixCls,f0e=p0e===void 0?"rc-textarea":p0e,h0e=x_.classes,b0e=x_.showCount,m0e=x_.count,v0e=x_.className,g0e=x_.style,y0e=x_.disabled,M0e=x_.hidden,O0e=x_.classNames,z0e=x_.styles,_0e=x_.onResize,A0e=_objectWithoutProperties$4(x_,_excluded$h),$0e=useMergedState(r0e,{value:n0e,defaultValue:r0e}),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1],w0e=C0e==null?"":String(C0e),R0e=React$1.useState(!1),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=React$1.useRef(!1),q0e=React$1.useState(null),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useRef(null),F0e=function(){var A1e;return(A1e=I0e.current)===null||A1e===void 0?void 0:A1e.textArea},V0e=function(){F0e().focus()};reactExports.useImperativeHandle(e0e,function(){return{resizableTextArea:I0e.current,focus:V0e,blur:function(){F0e().blur()}}}),reactExports.useEffect(function(){W0e(function(w1e){return!y0e&&w1e})},[y0e]);var H0e=React$1.useState(null),Q0e=_slicedToArray$3(H0e,2),Y0e=Q0e[0],G0e=Q0e[1];React$1.useEffect(function(){if(Y0e){var w1e;(w1e=F0e()).setSelectionRange.apply(w1e,_toConsumableArray$2(Y0e))}},[Y0e]);var B0e=useCount(m0e,b0e),U0e=($P=B0e.max)!==null&&$P!==void 0?$P:l0e,X0e=Number(U0e)>0,J0e=B0e.strategy(w0e),e1e=!!U0e&&J0e>U0e,n1e=function(A1e,F1e){var J1e=F1e;!k0e.current&&B0e.exceedFormatter&&B0e.max&&B0e.strategy(F1e)>B0e.max&&(J1e=B0e.exceedFormatter(F1e,{max:B0e.max}),F1e!==J1e&&G0e([F0e().selectionStart||0,F0e().selectionEnd||0])),E0e(J1e),resolveOnChange(A1e.currentTarget,A1e,i0e,J1e)},t1e=function(A1e){k0e.current=!0,c0e==null||c0e(A1e)},r1e=function(A1e){k0e.current=!1,n1e(A1e,A1e.currentTarget.value),u0e==null||u0e(A1e)},a1e=function(A1e){n1e(A1e,A1e.target.value)},l1e=function(A1e){var F1e=A0e.onPressEnter,J1e=A0e.onKeyDown;A1e.key==="Enter"&&F1e&&F1e(A1e),J1e==null||J1e(A1e)},s1e=function(A1e){W0e(!0),a0e==null||a0e(A1e)},g1e=function(A1e){W0e(!1),o0e==null||o0e(A1e)},$1e=function(A1e){E0e(""),V0e(),resolveOnChange(F0e(),A1e,i0e)},_1e=d0e,p1e;B0e.show&&(B0e.showFormatter?p1e=B0e.showFormatter({value:w0e,count:J0e,maxLength:U0e}):p1e="".concat(J0e).concat(X0e?" / ".concat(U0e):""),_1e=jsxs(Fragment,{children:[_1e,jsx("span",{className:cx$1("".concat(f0e,"-data-count"),O0e==null?void 0:O0e.count),style:z0e==null?void 0:z0e.count,children:p1e})]}));var E1e=function(A1e){var F1e;_0e==null||_0e(A1e),(F1e=F0e())!==null&&F1e!==void 0&&F1e.style.height&&P0e(!0)},x1e=!A0e.autoSize&&!b0e&&!s0e,O1e=jsx(BaseInput,{value:w0e,allowClear:s0e,handleReset:$1e,suffix:_1e,prefixCls:f0e,classes:{affixWrapper:cx$1(h0e==null?void 0:h0e.affixWrapper,(t0e={},_defineProperty$5(t0e,"".concat(f0e,"-show-count"),b0e),_defineProperty$5(t0e,"".concat(f0e,"-textarea-allow-clear"),s0e),t0e))},disabled:y0e,focused:D0e,className:cx$1(v0e,e1e&&"".concat(f0e,"-out-of-range")),style:_objectSpread2$1(_objectSpread2$1({},g0e),j0e&&!x1e?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof p1e=="string"?p1e:void 0}},hidden:M0e,inputElement:jsx(ResizableTextArea,{...A0e,maxLength:l0e,onKeyDown:l1e,onChange:a1e,onFocus:s1e,onBlur:g1e,onCompositionStart:t1e,onCompositionEnd:r1e,className:cx$1(O0e==null?void 0:O0e.textarea),style:_objectSpread2$1(_objectSpread2$1({},z0e==null?void 0:z0e.textarea),{},{resize:g0e==null?void 0:g0e.resize}),disabled:y0e,prefixCls:f0e,onResize:E1e,ref:I0e})});return O1e}),__rest$h=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P;const{prefixCls:t0e,bordered:r0e=!0,size:n0e,disabled:a0e,status:o0e,allowClear:i0e,classNames:s0e,rootClassName:l0e,className:c0e}=x_,u0e=__rest$h(x_,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className"]),{getPrefixCls:d0e,direction:p0e}=reactExports.useContext(ConfigContext),f0e=useSize$1(n0e),h0e=reactExports.useContext(DisabledContext$1),b0e=a0e??h0e,{status:m0e,hasFeedback:v0e,feedbackIcon:g0e}=reactExports.useContext(FormItemInputContext),y0e=getMergedStatus(m0e,o0e),M0e=reactExports.useRef(null);reactExports.useImperativeHandle(e0e,()=>{var S0e;return{resizableTextArea:(S0e=M0e.current)===null||S0e===void 0?void 0:S0e.resizableTextArea,focus:C0e=>{var E0e,w0e;triggerFocus((w0e=(E0e=M0e.current)===null||E0e===void 0?void 0:E0e.resizableTextArea)===null||w0e===void 0?void 0:w0e.textArea,C0e)},blur:()=>{var C0e;return(C0e=M0e.current)===null||C0e===void 0?void 0:C0e.blur()}}});const O0e=d0e("input",t0e);let z0e;typeof i0e=="object"&&(i0e!=null&&i0e.clearIcon)?z0e=i0e:i0e&&(z0e={clearIcon:reactExports.createElement(CloseCircleFilled$1,null)});const _0e=useCSSVarCls$1(O0e),[A0e,$0e]=useStyle$e(O0e,_0e);return A0e(reactExports.createElement(TextArea$2,Object.assign({},u0e,{disabled:b0e,allowClear:z0e,className:cx$1(_0e,c0e,l0e),classes:{affixWrapper:cx$1(`${O0e}-textarea-affix-wrapper`,{[`${O0e}-affix-wrapper-rtl`]:p0e==="rtl",[`${O0e}-affix-wrapper-borderless`]:!r0e,[`${O0e}-affix-wrapper-sm`]:f0e==="small",[`${O0e}-affix-wrapper-lg`]:f0e==="large",[`${O0e}-textarea-show-count`]:x_.showCount||(($P=x_.count)===null||$P===void 0?void 0:$P.show)},getStatusClassNames(`${O0e}-affix-wrapper`,y0e),$0e)},classNames:Object.assign(Object.assign({},s0e),{textarea:cx$1({[`${O0e}-borderless`]:!r0e,[`${O0e}-sm`]:f0e==="small",[`${O0e}-lg`]:f0e==="large"},getStatusClassNames(O0e,y0e),$0e,s0e==null?void 0:s0e.textarea)}),prefixCls:O0e,suffix:v0e&&reactExports.createElement("span",{className:`${O0e}-textarea-suffix`},g0e),ref:M0e})))}),TextArea$1=TextArea,Input$2=InternalInput;Input$2.Group=Group$2;Input$2.Search=Search$1;Input$2.TextArea=TextArea$1;Input$2.Password=Password$1;const Input$3=Input$2,hexReg=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,isHexString=x_=>hexReg.test(`#${x_}`),ColorHexInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-hex-input`,[n0e,a0e]=reactExports.useState($P==null?void 0:$P.toHex());return reactExports.useEffect(()=>{const i0e=$P==null?void 0:$P.toHex();isHexString(i0e)&&$P&&a0e(toHexFormat(i0e))},[$P]),jsx(Input$3,{className:r0e,value:n0e,prefix:"#",onChange:i0e=>{const s0e=i0e.target.value;a0e(toHexFormat(s0e)),isHexString(toHexFormat(s0e,!0))&&(t0e==null||t0e(generateColor(s0e)))},size:"small"})},ColorHexInput$1=ColorHexInput,ColorHsbInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-hsb-input`,[n0e,a0e]=reactExports.useState(generateColor($P||"#000"));reactExports.useEffect(()=>{$P&&a0e($P)},[$P]);const o0e=(i0e,s0e)=>{const l0e=n0e.toHsb();l0e[s0e]=s0e==="h"?i0e:(i0e||0)/100;const c0e=generateColor(l0e);$P||a0e(c0e),t0e==null||t0e(c0e)};return jsxs("div",{className:r0e,children:[jsx(ColorSteppers$1,{max:360,min:0,value:Number(n0e.toHsb().h),prefixCls:e0e,className:r0e,formatter:i0e=>getRoundNumber(i0e||0).toString(),onChange:i0e=>o0e(Number(i0e),"h")}),jsx(ColorSteppers$1,{max:100,min:0,value:Number(n0e.toHsb().s)*100,prefixCls:e0e,className:r0e,formatter:i0e=>`${getRoundNumber(i0e||0)}%`,onChange:i0e=>o0e(Number(i0e),"s")}),jsx(ColorSteppers$1,{max:100,min:0,value:Number(n0e.toHsb().b)*100,prefixCls:e0e,className:r0e,formatter:i0e=>`${getRoundNumber(i0e||0)}%`,onChange:i0e=>o0e(Number(i0e),"b")})]})},ColorHsbInput$1=ColorHsbInput,ColorRgbInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-rgb-input`,[n0e,a0e]=reactExports.useState(generateColor($P||"#000"));reactExports.useEffect(()=>{$P&&a0e($P)},[$P]);const o0e=(i0e,s0e)=>{const l0e=n0e.toRgb();l0e[s0e]=i0e||0;const c0e=generateColor(l0e);$P||a0e(c0e),t0e==null||t0e(c0e)};return jsxs("div",{className:r0e,children:[jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().r),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"r")}),jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().g),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"g")}),jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().b),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"b")})]})},ColorRgbInput$1=ColorRgbInput,selectOptions=[ColorFormat.hex,ColorFormat.hsb,ColorFormat.rgb].map(x_=>({value:x_,label:x_.toLocaleUpperCase()})),ColorInput=x_=>{const{prefixCls:e0e,format:$P,value:t0e,disabledAlpha:r0e,onFormatChange:n0e,onChange:a0e}=x_,[o0e,i0e]=useMergedState(ColorFormat.hex,{value:$P,onChange:n0e}),s0e=`${e0e}-input`,l0e=u0e=>{i0e(u0e)},c0e=reactExports.useMemo(()=>{const u0e={value:t0e,prefixCls:e0e,onChange:a0e};switch(o0e){case ColorFormat.hsb:return jsx(ColorHsbInput$1,{...Object.assign({},u0e)});case ColorFormat.rgb:return jsx(ColorRgbInput$1,{...Object.assign({},u0e)});case ColorFormat.hex:default:return jsx(ColorHexInput$1,{...Object.assign({},u0e)})}},[o0e,e0e,t0e,a0e]);return jsxs("div",{className:`${s0e}-container`,children:[jsx(Select$2,{value:o0e,bordered:!1,getPopupContainer:u0e=>u0e,popupMatchSelectWidth:68,placement:"bottomRight",onChange:l0e,className:`${e0e}-format-select`,size:"small",options:selectOptions}),jsx("div",{className:s0e,children:c0e}),!r0e&&jsx(ColorAlphaInput$1,{prefixCls:e0e,value:t0e,onChange:a0e})]})},ColorInput$1=ColorInput;var __rest$g=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const x_=reactExports.useContext(PanelPickerContext),{prefixCls:e0e,colorCleared:$P,allowClear:t0e,value:r0e,disabledAlpha:n0e,onChange:a0e,onClear:o0e,onChangeComplete:i0e}=x_,s0e=__rest$g(x_,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return jsxs(Fragment,{children:[t0e&&jsx(ColorClear$1,{...Object.assign({prefixCls:e0e,value:r0e,colorCleared:$P,onChange:l0e=>{a0e==null||a0e(l0e),o0e==null||o0e()}},s0e)}),jsx(ColorPicker$3,{prefixCls:e0e,value:r0e==null?void 0:r0e.toHsb(),disabledAlpha:n0e,onChange:(l0e,c0e)=>a0e==null?void 0:a0e(l0e,c0e,!0),onChangeComplete:i0e}),jsx(ColorInput$1,{...Object.assign({value:r0e,onChange:a0e,prefixCls:e0e,disabledAlpha:n0e},s0e)})]})},PanelPicker$1=PanelPicker,genPresetColor=x_=>x_.map(e0e=>(e0e.colors=e0e.colors.map(generateColor),e0e)),isBright=(x_,e0e)=>{const{r:$P,g:t0e,b:r0e,a:n0e}=x_.toRgb(),a0e=new Color$1(x_.toRgbString()).onBackground(e0e).toHsv();return n0e<=.5?a0e.v>.5:$P*.299+t0e*.587+r0e*.114>192},genCollapsePanelKey=x_=>{let{label:e0e}=x_;return`panel-${e0e}`},ColorPresets=x_=>{let{prefixCls:e0e,presets:$P,value:t0e,onChange:r0e}=x_;const[n0e]=useLocale$1("ColorPicker"),[,a0e]=useToken$1(),[o0e]=useMergedState(genPresetColor($P),{value:genPresetColor($P),postState:genPresetColor}),i0e=`${e0e}-presets`,s0e=reactExports.useMemo(()=>o0e.reduce((u0e,d0e)=>{const{defaultOpen:p0e=!0}=d0e;return p0e&&u0e.push(genCollapsePanelKey(d0e)),u0e},[]),[o0e]),l0e=u0e=>{r0e==null||r0e(u0e)},c0e=o0e.map(u0e=>{var d0e;return{key:genCollapsePanelKey(u0e),label:jsx("div",{className:`${i0e}-label`,children:u0e==null?void 0:u0e.label}),children:jsx("div",{className:`${i0e}-items`,children:Array.isArray(u0e==null?void 0:u0e.colors)&&((d0e=u0e.colors)===null||d0e===void 0?void 0:d0e.length)>0?u0e.colors.map((p0e,f0e)=>jsx(ColorBlock,{color:generateColor(p0e).toRgbString(),prefixCls:e0e,className:cx$1(`${i0e}-color`,{[`${i0e}-color-checked`]:p0e.toHexString()===(t0e==null?void 0:t0e.toHexString()),[`${i0e}-color-bright`]:isBright(p0e,a0e.colorBgElevated)}),onClick:()=>l0e(p0e)},`preset-${f0e}-${p0e.toHexString()}`)):jsx("span",{className:`${i0e}-empty`,children:n0e.presetEmpty})})}});return jsx("div",{className:i0e,children:jsx(Collapse$3,{defaultActiveKey:s0e,ghost:!0,items:c0e})})},ColorPresets$1=ColorPresets,PanelPresets=()=>{const{prefixCls:x_,value:e0e,presets:$P,onChange:t0e}=reactExports.useContext(PanelPresetsContext);return Array.isArray($P)?jsx(ColorPresets$1,{value:e0e,presets:$P,prefixCls:x_,onChange:t0e}):null},PanelPresets$1=PanelPresets;var __rest$f=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,presets:$P,panelRender:t0e,color:r0e,onChange:n0e,onClear:a0e}=x_,o0e=__rest$f(x_,["prefixCls","presets","panelRender","color","onChange","onClear"]),i0e=`${e0e}-inner-content`,s0e=Object.assign({prefixCls:e0e,value:r0e,onChange:n0e,onClear:a0e},o0e),l0e=React$1.useMemo(()=>({prefixCls:e0e,value:r0e,presets:$P,onChange:n0e}),[e0e,r0e,$P,n0e]),c0e=React$1.createElement(React$1.Fragment,null,React$1.createElement(PanelPicker$1,null),Array.isArray($P)&&React$1.createElement(Divider$3,{className:`${i0e}-divider`}),React$1.createElement(PanelPresets$1,null));return React$1.createElement(PanelPickerProvider,{value:s0e},React$1.createElement(PanelPresetsProvider,{value:l0e},React$1.createElement("div",{className:i0e},typeof t0e=="function"?t0e(c0e,{components:{Picker:PanelPicker$1,Presets:PanelPresets$1}}):c0e)))},ColorPickerPanel$1=ColorPickerPanel;var __rest$e=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{color:$P,prefixCls:t0e,open:r0e,colorCleared:n0e,disabled:a0e,format:o0e,className:i0e,showText:s0e}=x_,l0e=__rest$e(x_,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),c0e=`${t0e}-trigger`,u0e=reactExports.useMemo(()=>n0e?jsx(ColorClear$1,{prefixCls:t0e}):jsx(ColorBlock,{prefixCls:t0e,color:$P.toRgbString()}),[$P,n0e,t0e]),d0e=()=>{const f0e=$P.toHexString().toUpperCase(),h0e=getAlphaColor$1($P);switch(o0e){case"rgb":return $P.toRgbString();case"hsb":return $P.toHsbString();case"hex":default:return h0e<100?`${f0e.slice(0,7)},${h0e}%`:f0e}},p0e=()=>{if(typeof s0e=="function")return s0e($P);if(s0e)return d0e()};return jsxs("div",{...Object.assign({ref:e0e,className:cx$1(c0e,i0e,{[`${c0e}-active`]:r0e,[`${c0e}-disabled`]:a0e})},l0e),children:[u0e,s0e&&jsx("div",{className:`${c0e}-text`,children:p0e()})]})}),ColorTrigger$1=ColorTrigger;function hasValue(x_){return x_!==void 0}const useColorState=(x_,e0e)=>{const{defaultValue:$P,value:t0e}=e0e,[r0e,n0e]=reactExports.useState(()=>{let a0e;return hasValue(t0e)?a0e=t0e:hasValue($P)?a0e=$P:a0e=x_,generateColor(a0e||"")});return reactExports.useEffect(()=>{t0e&&n0e(generateColor(t0e))},[t0e]),[r0e,n0e]},useColorState$1=useColorState,getTransBg=(x_,e0e)=>({backgroundImage:`conic-gradient(${e0e} 0 25%, transparent 0 50%, ${e0e} 0 75%, transparent 0)`,backgroundSize:`${x_} ${x_}`}),genColorBlockStyle=(x_,e0e)=>{const{componentCls:$P,borderRadiusSM:t0e,colorPickerInsetShadow:r0e,lineWidth:n0e,colorFillSecondary:a0e}=x_;return{[`${$P}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:t0e,width:e0e,height:e0e,boxShadow:r0e},getTransBg("50%",x_.colorFillSecondary)),{[`${$P}-color-block-inner`]:{width:"100%",height:"100%",border:`${unit$1(n0e)} solid ${a0e}`,borderRadius:"inherit"}})}},genColorBlockStyle$1=genColorBlockStyle,genInputStyle=x_=>{const{componentCls:e0e,antCls:$P,fontSizeSM:t0e,lineHeightSM:r0e,colorPickerAlphaInputWidth:n0e,marginXXS:a0e,paddingXXS:o0e,controlHeightSM:i0e,marginXS:s0e,fontSizeIcon:l0e,paddingXS:c0e,colorTextPlaceholder:u0e,colorPickerInputNumberHandleWidth:d0e,lineWidth:p0e}=x_;return{[`${e0e}-input-container`]:{display:"flex",[`${e0e}-steppers${$P}-input-number`]:{fontSize:t0e,lineHeight:r0e,[`${$P}-input-number-input`]:{paddingInlineStart:o0e,paddingInlineEnd:0},[`${$P}-input-number-handler-wrap`]:{width:d0e}},[`${e0e}-steppers${e0e}-alpha-input`]:{flex:`0 0 ${unit$1(n0e)}`,marginInlineStart:a0e},[`${e0e}-format-select${$P}-select`]:{marginInlineEnd:s0e,width:"auto","&-single":{[`${$P}-select-selector`]:{padding:0,border:0},[`${$P}-select-arrow`]:{insetInlineEnd:0},[`${$P}-select-selection-item`]:{paddingInlineEnd:x_.calc(l0e).add(a0e).equal(),fontSize:t0e,lineHeight:`${unit$1(i0e)}`},[`${$P}-select-item-option-content`]:{fontSize:t0e,lineHeight:r0e},[`${$P}-select-dropdown`]:{[`${$P}-select-item`]:{minHeight:"auto"}}}},[`${e0e}-input`]:{gap:a0e,alignItems:"center",flex:1,width:0,[`${e0e}-hsb-input,${e0e}-rgb-input`]:{display:"flex",gap:a0e,alignItems:"center"},[`${e0e}-steppers`]:{flex:1},[`${e0e}-hex-input${$P}-input-affix-wrapper`]:{flex:1,padding:`0 ${unit$1(c0e)}`,[`${$P}-input`]:{fontSize:t0e,textTransform:"uppercase",lineHeight:unit$1(x_.calc(i0e).sub(x_.calc(p0e).mul(2)).equal())},[`${$P}-input-prefix`]:{color:u0e}}}}}},genInputStyle$1=genInputStyle,genPickerStyle=x_=>{const{componentCls:e0e,controlHeightLG:$P,borderRadiusSM:t0e,colorPickerInsetShadow:r0e,marginSM:n0e,colorBgElevated:a0e,colorFillSecondary:o0e,lineWidthBold:i0e,colorPickerHandlerSize:s0e,colorPickerHandlerSizeSM:l0e,colorPickerSliderHeight:c0e}=x_;return{[`${e0e}-select`]:{[`${e0e}-palette`]:{minHeight:x_.calc($P).mul(4).equal(),overflow:"hidden",borderRadius:t0e},[`${e0e}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:r0e,inset:0},marginBottom:n0e},[`${e0e}-handler`]:{width:s0e,height:s0e,border:`${unit$1(i0e)} solid ${a0e}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${r0e}, 0 0 0 1px ${o0e}`,"&-sm":{width:l0e,height:l0e}},[`${e0e}-slider`]:{borderRadius:x_.calc(c0e).div(2).equal(),[`${e0e}-palette`]:{height:c0e},[`${e0e}-gradient`]:{borderRadius:x_.calc(c0e).div(2).equal(),boxShadow:r0e},"&-alpha":getTransBg(`${unit$1(c0e)}`,x_.colorFillSecondary),"&-hue":{marginBottom:n0e}},[`${e0e}-slider-container`]:{display:"flex",gap:n0e,marginBottom:n0e,[`${e0e}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${e0e}-slider`]:{flex:1,marginBottom:0}}}}}},genPickerStyle$1=genPickerStyle,genPresetsStyle=x_=>{const{componentCls:e0e,antCls:$P,colorTextQuaternary:t0e,paddingXXS:r0e,colorPickerPresetColorSize:n0e,fontSizeSM:a0e,colorText:o0e,lineHeightSM:i0e,lineWidth:s0e,borderRadius:l0e,colorFill:c0e,colorWhite:u0e,marginXXS:d0e,paddingXS:p0e,fontHeightSM:f0e}=x_;return{[`${e0e}-presets`]:{[`${$P}-collapse-item > ${$P}-collapse-header`]:{padding:0,[`${$P}-collapse-expand-icon`]:{height:f0e,color:t0e,paddingInlineEnd:r0e}},[`${$P}-collapse`]:{display:"flex",flexDirection:"column",gap:d0e},[`${$P}-collapse-item > ${$P}-collapse-content > ${$P}-collapse-content-box`]:{padding:`${unit$1(p0e)} 0`},"&-label":{fontSize:a0e,color:o0e,lineHeight:i0e},"&-items":{display:"flex",flexWrap:"wrap",gap:x_.calc(d0e).mul(1.5).equal(),[`${e0e}-presets-color`]:{position:"relative",cursor:"pointer",width:n0e,height:n0e,"&::before":{content:'""',pointerEvents:"none",width:x_.calc(n0e).add(x_.calc(s0e).mul(4)).equal(),height:x_.calc(n0e).add(x_.calc(s0e).mul(4)).equal(),position:"absolute",top:x_.calc(s0e).mul(-2).equal(),insetInlineStart:x_.calc(s0e).mul(-2).equal(),borderRadius:l0e,border:`${unit$1(s0e)} solid transparent`,transition:`border-color ${x_.motionDurationMid} ${x_.motionEaseInBack}`},"&:hover::before":{borderColor:c0e},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:x_.calc(n0e).div(13).mul(5).equal(),height:x_.calc(n0e).div(13).mul(8).equal(),border:`${unit$1(x_.lineWidthBold)} solid ${x_.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${x_.motionDurationFast} ${x_.motionEaseInBack}, opacity ${x_.motionDurationFast}`},[`&${e0e}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:u0e,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${x_.motionDurationMid} ${x_.motionEaseOutBack} ${x_.motionDurationFast}`},[`&${e0e}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a0e,color:t0e}}}},genPresetsStyle$1=genPresetsStyle,genActiveStyle=(x_,e0e,$P)=>({borderInlineEndWidth:x_.lineWidth,borderColor:e0e,boxShadow:`0 0 0 ${unit$1(x_.controlOutlineWidth)} ${$P}`,outline:0}),genRtlStyle=x_=>{const{componentCls:e0e}=x_;return{"&-rtl":{[`${e0e}-presets-color`]:{"&::after":{direction:"ltr"}},[`${e0e}-clear`]:{"&::after":{direction:"ltr"}}}}},genClearStyle=(x_,e0e,$P)=>{const{componentCls:t0e,borderRadiusSM:r0e,lineWidth:n0e,colorSplit:a0e,red6:o0e}=x_;return{[`${t0e}-clear`]:Object.assign(Object.assign({width:e0e,height:e0e,borderRadius:r0e,border:`${unit$1(n0e)} solid ${a0e}`,position:"relative",cursor:"pointer",overflow:"hidden"},$P),{"&::after":{content:'""',position:"absolute",insetInlineEnd:n0e,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:o0e}})}},genStatusStyle=x_=>{const{componentCls:e0e,colorError:$P,colorWarning:t0e,colorErrorHover:r0e,colorWarningHover:n0e,colorErrorOutline:a0e,colorWarningOutline:o0e}=x_;return{[`&${e0e}-status-error`]:{borderColor:$P,"&:hover":{borderColor:r0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,$P,a0e))},[`&${e0e}-status-warning`]:{borderColor:t0e,"&:hover":{borderColor:n0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,t0e,o0e))}}},genSizeStyle=x_=>{const{componentCls:e0e,controlHeightLG:$P,controlHeightSM:t0e,controlHeight:r0e,controlHeightXS:n0e,borderRadius:a0e,borderRadiusSM:o0e,borderRadiusXS:i0e,borderRadiusLG:s0e,fontSizeLG:l0e}=x_;return{[`&${e0e}-lg`]:{minWidth:$P,height:$P,borderRadius:s0e,[`${e0e}-color-block, ${e0e}-clear`]:{width:r0e,height:r0e,borderRadius:a0e},[`${e0e}-trigger-text`]:{fontSize:l0e}},[`&${e0e}-sm`]:{minWidth:t0e,height:t0e,borderRadius:o0e,[`${e0e}-color-block, ${e0e}-clear`]:{width:n0e,height:n0e,borderRadius:i0e}}}},genColorPickerStyle=x_=>{const{componentCls:e0e,colorPickerWidth:$P,colorPrimary:t0e,motionDurationMid:r0e,colorBgElevated:n0e,colorTextDisabled:a0e,colorText:o0e,colorBgContainerDisabled:i0e,borderRadius:s0e,marginXS:l0e,marginSM:c0e,controlHeight:u0e,controlHeightSM:d0e,colorBgTextActive:p0e,colorPickerPresetColorSize:f0e,colorPickerPreviewSize:h0e,lineWidth:b0e,colorBorder:m0e,paddingXXS:v0e,fontSize:g0e,colorPrimaryHover:y0e,controlOutline:M0e}=x_;return[{[e0e]:Object.assign({[`${e0e}-inner-content`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",width:$P,"&-divider":{margin:`${unit$1(c0e)} 0 ${unit$1(l0e)}`},[`${e0e}-panel`]:Object.assign({},genPickerStyle$1(x_))},genColorBlockStyle$1(x_,h0e)),genInputStyle$1(x_)),genPresetsStyle$1(x_)),genClearStyle(x_,f0e,{marginInlineStart:"auto",marginBottom:l0e})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:u0e,height:u0e,borderRadius:s0e,border:`${unit$1(b0e)} solid ${m0e}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${r0e}`,background:n0e,padding:x_.calc(v0e).sub(b0e).equal(),[`${e0e}-trigger-text`]:{marginInlineStart:l0e,marginInlineEnd:x_.calc(l0e).sub(x_.calc(v0e).sub(b0e)).equal(),fontSize:g0e,color:o0e},"&:hover":{borderColor:y0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,t0e,M0e)),"&-disabled":{color:a0e,background:i0e,cursor:"not-allowed","&:hover":{borderColor:p0e},[`${e0e}-trigger-text`]:{color:a0e}}},genClearStyle(x_,d0e)),genColorBlockStyle$1(x_,d0e)),genStatusStyle(x_)),genSizeStyle(x_))},genRtlStyle(x_))}]},useStyle$6=genStyleHooks("ColorPicker",x_=>{const{colorTextQuaternary:e0e,marginSM:$P}=x_,t0e=8,r0e=merge$2(x_,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${e0e}`,colorPickerSliderHeight:t0e,colorPickerPreviewSize:x_.calc(t0e).mul(2).add($P).equal()});return[genColorPickerStyle(r0e)]});var __rest$d=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{value:e0e,defaultValue:$P,format:t0e,defaultFormat:r0e,allowClear:n0e=!1,presets:a0e,children:o0e,trigger:i0e="click",open:s0e,disabled:l0e,placement:c0e="bottomLeft",arrow:u0e=!0,panelRender:d0e,showText:p0e,style:f0e,className:h0e,size:b0e,rootClassName:m0e,styles:v0e,disabledAlpha:g0e=!1,onFormatChange:y0e,onChange:M0e,onClear:O0e,onOpenChange:z0e,onChangeComplete:_0e,getPopupContainer:A0e,autoAdjustOverflow:$0e=!0,destroyTooltipOnHide:S0e}=x_,C0e=__rest$d(x_,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:E0e,direction:w0e,colorPicker:R0e}=reactExports.useContext(ConfigContext),T0e=reactExports.useContext(DisabledContext$1),D0e=l0e??T0e,[,W0e]=useToken$1(),[k0e,q0e]=useColorState$1(W0e.colorPrimary,{value:e0e,defaultValue:$P}),[N0e,j0e]=useMergedState(!1,{value:s0e,postState:p1e=>!D0e&&p1e,onChange:z0e}),[P0e,I0e]=useMergedState(t0e,{value:t0e,defaultValue:r0e,onChange:y0e}),[F0e,V0e]=reactExports.useState(!1),H0e=E0e("color-picker",customizePrefixCls),Q0e=reactExports.useMemo(()=>getAlphaColor$1(k0e)<100,[k0e]),{status:Y0e}=React$1.useContext(FormItemInputContext),G0e=useSize$1(b0e),B0e=useCSSVarCls$1(H0e),[U0e,X0e]=useStyle$6(H0e,B0e),J0e={[`${H0e}-rtl`]:w0e},e1e=cx$1(m0e,B0e,J0e),n1e=cx$1(getStatusClassNames(H0e,Y0e),{[`${H0e}-sm`]:G0e==="small",[`${H0e}-lg`]:G0e==="large"},R0e==null?void 0:R0e.className,e1e,h0e,X0e),t1e=cx$1(H0e,e1e),r1e=reactExports.useRef(!0),a1e=(p1e,E1e,x1e)=>{let O1e=generateColor(p1e);(F0e||(e0e===null||!e0e&&$P===null))&&(V0e(!1),getAlphaColor$1(k0e)===0&&E1e!=="alpha"&&(O1e=genAlphaColor(O1e))),g0e&&Q0e&&(O1e=genAlphaColor(O1e)),x1e?r1e.current=!1:_0e==null||_0e(O1e),q0e(O1e),M0e==null||M0e(O1e,O1e.toHexString())},l1e=()=>{V0e(!0),O0e==null||O0e()},s1e=p1e=>{r1e.current=!0;let E1e=generateColor(p1e);g0e&&Q0e&&(E1e=genAlphaColor(p1e)),_0e==null||_0e(E1e)},g1e={open:N0e,trigger:i0e,placement:c0e,arrow:u0e,rootClassName:m0e,getPopupContainer:A0e,autoAdjustOverflow:$0e,destroyTooltipOnHide:S0e},$1e={prefixCls:H0e,color:k0e,allowClear:n0e,colorCleared:F0e,disabled:D0e,disabledAlpha:g0e,presets:a0e,panelRender:d0e,format:P0e,onFormatChange:I0e,onChangeComplete:s1e},_1e=Object.assign(Object.assign({},R0e==null?void 0:R0e.style),f0e);return U0e(jsx(Popover$1,{...Object.assign({style:v0e==null?void 0:v0e.popup,overlayInnerStyle:v0e==null?void 0:v0e.popupOverlayInner,onOpenChange:p1e=>{r1e.current&&!D0e&&j0e(p1e)},content:jsx(NoFormStyle,{override:!0,status:!0,children:jsx(ColorPickerPanel$1,{...Object.assign({},$1e,{onChange:a1e,onChangeComplete:s1e,onClear:l1e})})}),overlayClassName:t1e},g1e),children:o0e||jsx(ColorTrigger$1,{...Object.assign({open:N0e,className:n1e,style:_1e,color:e0e?generateColor(e0e):k0e,prefixCls:H0e,disabled:D0e,colorCleared:F0e,showText:p0e,format:P0e},C0e)})}))},PurePanel$1=genPurePanel$1(ColorPicker$1,"color-picker",x_=>x_,x_=>Object.assign(Object.assign({},x_),{placement:"bottom",autoAdjustOverflow:!1}));ColorPicker$1._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$1;const ColorPicker$2=ColorPicker$1;var DrawerContext=reactExports.createContext(null),RefContext=reactExports.createContext({}),DrawerPanel$2=function(e0e){var $P=e0e.prefixCls,t0e=e0e.className,r0e=e0e.style,n0e=e0e.children,a0e=e0e.containerRef,o0e=e0e.id,i0e=e0e.onMouseEnter,s0e=e0e.onMouseOver,l0e=e0e.onMouseLeave,c0e=e0e.onClick,u0e=e0e.onKeyDown,d0e=e0e.onKeyUp,p0e={onMouseEnter:i0e,onMouseOver:s0e,onMouseLeave:l0e,onClick:c0e,onKeyDown:u0e,onKeyUp:d0e},f0e=reactExports.useContext(RefContext),h0e=f0e.panel,b0e=useComposeRef(h0e,a0e);return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",_extends$1z({id:o0e,className:cx$1("".concat($P,"-content"),t0e),style:_objectSpread2$1({},r0e),"aria-modal":"true",role:"dialog",ref:b0e},p0e),n0e))};function parseWidthHeight(x_){return typeof x_=="string"&&String(Number(x_))===x_?(warningOnce$1(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(x_)):x_}var sentinelStyle={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function DrawerPopup(x_,e0e){var $P,t0e,r0e,n0e,a0e=x_.prefixCls,o0e=x_.open,i0e=x_.placement,s0e=x_.inline,l0e=x_.push,c0e=x_.forceRender,u0e=x_.autoFocus,d0e=x_.keyboard,p0e=x_.classNames,f0e=x_.rootClassName,h0e=x_.rootStyle,b0e=x_.zIndex,m0e=x_.className,v0e=x_.id,g0e=x_.style,y0e=x_.motion,M0e=x_.width,O0e=x_.height,z0e=x_.children,_0e=x_.contentWrapperStyle,A0e=x_.mask,$0e=x_.maskClosable,S0e=x_.maskMotion,C0e=x_.maskClassName,E0e=x_.maskStyle,w0e=x_.afterOpenChange,R0e=x_.onClose,T0e=x_.onMouseEnter,D0e=x_.onMouseOver,W0e=x_.onMouseLeave,k0e=x_.onClick,q0e=x_.onKeyDown,N0e=x_.onKeyUp,j0e=x_.styles,P0e=reactExports.useRef(),I0e=reactExports.useRef(),F0e=reactExports.useRef();reactExports.useImperativeHandle(e0e,function(){return P0e.current});var V0e=function(g1e){var $1e=g1e.keyCode,_1e=g1e.shiftKey;switch($1e){case KeyCode$1.TAB:{if($1e===KeyCode$1.TAB){if(!_1e&&document.activeElement===F0e.current){var p1e;(p1e=I0e.current)===null||p1e===void 0||p1e.focus({preventScroll:!0})}else if(_1e&&document.activeElement===I0e.current){var E1e;(E1e=F0e.current)===null||E1e===void 0||E1e.focus({preventScroll:!0})}}break}case KeyCode$1.ESC:{R0e&&d0e&&(g1e.stopPropagation(),R0e(g1e));break}}};reactExports.useEffect(function(){if(o0e&&u0e){var s1e;(s1e=P0e.current)===null||s1e===void 0||s1e.focus({preventScroll:!0})}},[o0e]);var H0e=reactExports.useState(!1),Q0e=_slicedToArray$3(H0e,2),Y0e=Q0e[0],G0e=Q0e[1],B0e=reactExports.useContext(DrawerContext),U0e;l0e===!1?U0e={distance:0}:l0e===!0?U0e={}:U0e=l0e||{};var X0e=($P=(t0e=(r0e=U0e)===null||r0e===void 0?void 0:r0e.distance)!==null&&t0e!==void 0?t0e:B0e==null?void 0:B0e.pushDistance)!==null&&$P!==void 0?$P:180,J0e=reactExports.useMemo(function(){return{pushDistance:X0e,push:function(){G0e(!0)},pull:function(){G0e(!1)}}},[X0e]);reactExports.useEffect(function(){if(o0e){var s1e;B0e==null||(s1e=B0e.push)===null||s1e===void 0||s1e.call(B0e)}else{var g1e;B0e==null||(g1e=B0e.pull)===null||g1e===void 0||g1e.call(B0e)}},[o0e]),reactExports.useEffect(function(){return function(){var s1e;B0e==null||(s1e=B0e.pull)===null||s1e===void 0||s1e.call(B0e)}},[]);var e1e=A0e&&reactExports.createElement(CSSMotion,_extends$1z({key:"mask"},S0e,{visible:o0e}),function(s1e,g1e){var $1e=s1e.className,_1e=s1e.style;return reactExports.createElement("div",{className:cx$1("".concat(a0e,"-mask"),$1e,p0e==null?void 0:p0e.mask,C0e),style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_1e),E0e),j0e==null?void 0:j0e.mask),onClick:$0e&&o0e?R0e:void 0,ref:g1e})}),n1e=typeof y0e=="function"?y0e(i0e):y0e,t1e={};if(Y0e&&X0e)switch(i0e){case"top":t1e.transform="translateY(".concat(X0e,"px)");break;case"bottom":t1e.transform="translateY(".concat(-X0e,"px)");break;case"left":t1e.transform="translateX(".concat(X0e,"px)");break;default:t1e.transform="translateX(".concat(-X0e,"px)");break}i0e==="left"||i0e==="right"?t1e.width=parseWidthHeight(M0e):t1e.height=parseWidthHeight(O0e);var r1e={onMouseEnter:T0e,onMouseOver:D0e,onMouseLeave:W0e,onClick:k0e,onKeyDown:q0e,onKeyUp:N0e},a1e=reactExports.createElement(CSSMotion,_extends$1z({key:"panel"},n1e,{visible:o0e,forceRender:c0e,onVisibleChanged:function(g1e){w0e==null||w0e(g1e)},removeOnLeave:!1,leavedClassName:"".concat(a0e,"-content-wrapper-hidden")}),function(s1e,g1e){var $1e=s1e.className,_1e=s1e.style;return reactExports.createElement("div",_extends$1z({className:cx$1("".concat(a0e,"-content-wrapper"),p0e==null?void 0:p0e.wrapper,$1e),style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},t1e),_1e),_0e),j0e==null?void 0:j0e.wrapper)},pickAttrs(x_,{data:!0})),reactExports.createElement(DrawerPanel$2,_extends$1z({id:v0e,containerRef:g1e,prefixCls:a0e,className:cx$1(m0e,p0e==null?void 0:p0e.content),style:_objectSpread2$1(_objectSpread2$1({},g0e),j0e==null?void 0:j0e.content)},r1e),z0e))}),l1e=_objectSpread2$1({},h0e);return b0e&&(l1e.zIndex=b0e),reactExports.createElement(DrawerContext.Provider,{value:J0e},reactExports.createElement("div",{className:cx$1(a0e,"".concat(a0e,"-").concat(i0e),f0e,(n0e={},_defineProperty$5(n0e,"".concat(a0e,"-open"),o0e),_defineProperty$5(n0e,"".concat(a0e,"-inline"),s0e),n0e)),style:l1e,tabIndex:-1,ref:P0e,onKeyDown:V0e},e1e,reactExports.createElement("div",{tabIndex:0,ref:I0e,style:sentinelStyle,"aria-hidden":"true","data-sentinel":"start"}),a1e,reactExports.createElement("div",{tabIndex:0,ref:F0e,style:sentinelStyle,"aria-hidden":"true","data-sentinel":"end"})))}var RefDrawerPopup=reactExports.forwardRef(DrawerPopup),Drawer$4=function(e0e){var $P=e0e.open,t0e=$P===void 0?!1:$P,r0e=e0e.prefixCls,n0e=r0e===void 0?"rc-drawer":r0e,a0e=e0e.placement,o0e=a0e===void 0?"right":a0e,i0e=e0e.autoFocus,s0e=i0e===void 0?!0:i0e,l0e=e0e.keyboard,c0e=l0e===void 0?!0:l0e,u0e=e0e.width,d0e=u0e===void 0?378:u0e,p0e=e0e.mask,f0e=p0e===void 0?!0:p0e,h0e=e0e.maskClosable,b0e=h0e===void 0?!0:h0e,m0e=e0e.getContainer,v0e=e0e.forceRender,g0e=e0e.afterOpenChange,y0e=e0e.destroyOnClose,M0e=e0e.onMouseEnter,O0e=e0e.onMouseOver,z0e=e0e.onMouseLeave,_0e=e0e.onClick,A0e=e0e.onKeyDown,$0e=e0e.onKeyUp,S0e=e0e.panelRef,C0e=reactExports.useState(!1),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=reactExports.useState(!1),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1];useLayoutEffect$2(function(){k0e(!0)},[]);var q0e=W0e?t0e:!1,N0e=reactExports.useRef(),j0e=reactExports.useRef();useLayoutEffect$2(function(){q0e&&(j0e.current=document.activeElement)},[q0e]);var P0e=function(Q0e){var Y0e;if(R0e(Q0e),g0e==null||g0e(Q0e),!Q0e&&j0e.current&&!((Y0e=N0e.current)!==null&&Y0e!==void 0&&Y0e.contains(j0e.current))){var G0e;(G0e=j0e.current)===null||G0e===void 0||G0e.focus({preventScroll:!0})}},I0e=reactExports.useMemo(function(){return{panel:S0e}},[S0e]);if(!v0e&&!w0e&&!q0e&&y0e)return null;var F0e={onMouseEnter:M0e,onMouseOver:O0e,onMouseLeave:z0e,onClick:_0e,onKeyDown:A0e,onKeyUp:$0e},V0e=_objectSpread2$1(_objectSpread2$1({},e0e),{},{open:q0e,prefixCls:n0e,placement:o0e,autoFocus:s0e,keyboard:c0e,width:d0e,mask:f0e,maskClosable:b0e,inline:m0e===!1,afterOpenChange:P0e,ref:N0e},F0e);return reactExports.createElement(RefContext.Provider,{value:I0e},reactExports.createElement(Portal$2,{open:q0e||v0e||w0e,autoDestroy:!1,getContainer:m0e,autoLock:f0e&&(q0e||w0e)},reactExports.createElement(RefDrawerPopup,V0e)))};const DrawerPanel=x_=>{var e0e,$P;const{prefixCls:t0e,title:r0e,footer:n0e,extra:a0e,closeIcon:o0e,closable:i0e,onClose:s0e,headerStyle:l0e,drawerStyle:c0e,bodyStyle:u0e,footerStyle:d0e,children:p0e,classNames:f0e,styles:h0e}=x_,{drawer:b0e}=reactExports.useContext(ConfigContext),m0e=reactExports.useCallback(O0e=>reactExports.createElement("button",{type:"button",onClick:s0e,"aria-label":"Close",className:`${t0e}-close`},O0e),[s0e]),[v0e,g0e]=useClosable(i0e,o0e,m0e,void 0,!0),y0e=reactExports.useMemo(()=>{var O0e,z0e;return!r0e&&!v0e?null:reactExports.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(O0e=b0e==null?void 0:b0e.styles)===null||O0e===void 0?void 0:O0e.header),l0e),h0e==null?void 0:h0e.header),className:cx$1(`${t0e}-header`,{[`${t0e}-header-close-only`]:v0e&&!r0e&&!a0e},(z0e=b0e==null?void 0:b0e.classNames)===null||z0e===void 0?void 0:z0e.header,f0e==null?void 0:f0e.header)},reactExports.createElement("div",{className:`${t0e}-header-title`},g0e,r0e&&reactExports.createElement("div",{className:`${t0e}-title`},r0e)),a0e&&reactExports.createElement("div",{className:`${t0e}-extra`},a0e))},[v0e,g0e,a0e,l0e,t0e,r0e]),M0e=reactExports.useMemo(()=>{var O0e,z0e;if(!n0e)return null;const _0e=`${t0e}-footer`;return reactExports.createElement("div",{className:cx$1(_0e,(O0e=b0e==null?void 0:b0e.classNames)===null||O0e===void 0?void 0:O0e.footer,f0e==null?void 0:f0e.footer),style:Object.assign(Object.assign(Object.assign({},(z0e=b0e==null?void 0:b0e.styles)===null||z0e===void 0?void 0:z0e.footer),d0e),h0e==null?void 0:h0e.footer)},n0e)},[n0e,d0e,t0e]);return reactExports.createElement("div",{className:`${t0e}-wrapper-body`,style:c0e},y0e,reactExports.createElement("div",{className:cx$1(`${t0e}-body`,f0e==null?void 0:f0e.body,(e0e=b0e==null?void 0:b0e.classNames)===null||e0e===void 0?void 0:e0e.body),style:Object.assign(Object.assign(Object.assign({},($P=b0e==null?void 0:b0e.styles)===null||$P===void 0?void 0:$P.body),u0e),h0e==null?void 0:h0e.body)},p0e),M0e)},DrawerPanel$1=DrawerPanel,genMotionStyle=x_=>{const{componentCls:e0e,motionDurationSlow:$P}=x_,t0e={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${$P}`}}};return{[e0e]:{[`${e0e}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${$P}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${e0e}-panel-motion`]:{"&-left":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},genMotionStyle$1=genMotionStyle,genDrawerStyle=x_=>{const{componentCls:e0e,zIndexPopup:$P,colorBgMask:t0e,colorBgElevated:r0e,motionDurationSlow:n0e,motionDurationMid:a0e,padding:o0e,paddingLG:i0e,fontSizeLG:s0e,lineHeightLG:l0e,lineWidth:c0e,lineType:u0e,colorSplit:d0e,marginSM:p0e,colorIcon:f0e,colorIconHover:h0e,colorText:b0e,fontWeightStrong:m0e,footerPaddingBlock:v0e,footerPaddingInline:g0e}=x_,y0e=`${e0e}-content-wrapper`;return{[e0e]:{position:"fixed",inset:0,zIndex:$P,pointerEvents:"none","&-pure":{position:"relative",background:r0e,[`&${e0e}-left`]:{boxShadow:x_.boxShadowDrawerLeft},[`&${e0e}-right`]:{boxShadow:x_.boxShadowDrawerRight},[`&${e0e}-top`]:{boxShadow:x_.boxShadowDrawerUp},[`&${e0e}-bottom`]:{boxShadow:x_.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${e0e}-mask`]:{position:"absolute",inset:0,zIndex:$P,background:t0e,pointerEvents:"auto"},[y0e]:{position:"absolute",zIndex:$P,maxWidth:"100vw",transition:`all ${n0e}`,"&-hidden":{display:"none"}},[`&-left > ${y0e}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:x_.boxShadowDrawerLeft},[`&-right > ${y0e}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:x_.boxShadowDrawerRight},[`&-top > ${y0e}`]:{top:0,insetInline:0,boxShadow:x_.boxShadowDrawerUp},[`&-bottom > ${y0e}`]:{bottom:0,insetInline:0,boxShadow:x_.boxShadowDrawerDown},[`${e0e}-content`]:{width:"100%",height:"100%",overflow:"auto",background:r0e,pointerEvents:"auto"},[`${e0e}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${e0e}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${unit$1(o0e)} ${unit$1(i0e)}`,fontSize:s0e,lineHeight:l0e,borderBottom:`${unit$1(c0e)} ${u0e} ${d0e}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${e0e}-extra`]:{flex:"none"},[`${e0e}-close`]:{display:"inline-block",marginInlineEnd:p0e,color:f0e,fontWeight:m0e,fontSize:s0e,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a0e}`,textRendering:"auto","&:focus, &:hover":{color:h0e,textDecoration:"none"}},[`${e0e}-title`]:{flex:1,margin:0,color:b0e,fontWeight:x_.fontWeightStrong,fontSize:s0e,lineHeight:l0e},[`${e0e}-body`]:{flex:1,minWidth:0,minHeight:0,padding:i0e,overflow:"auto"},[`${e0e}-footer`]:{flexShrink:0,padding:`${unit$1(v0e)} ${unit$1(g0e)}`,borderTop:`${unit$1(c0e)} ${u0e} ${d0e}`},"&-rtl":{direction:"rtl"}}}},prepareComponentToken$5=x_=>({zIndexPopup:x_.zIndexPopupBase,footerPaddingBlock:x_.paddingXS,footerPaddingInline:x_.padding}),useStyle$5=genStyleHooks("Drawer",x_=>{const e0e=merge$2(x_,{});return[genDrawerStyle(e0e),genMotionStyle$1(e0e)]},prepareComponentToken$5);var __rest$c=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e;const{rootClassName:s0e,width:l0e,height:c0e,size:u0e="default",mask:d0e=!0,push:p0e=defaultPushState,open:f0e,afterOpenChange:h0e,onClose:b0e,prefixCls:m0e,getContainer:v0e,style:g0e,className:y0e,visible:M0e,afterVisibleChange:O0e}=x_,z0e=__rest$c(x_,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:_0e,getPrefixCls:A0e,direction:$0e,drawer:S0e}=reactExports.useContext(ConfigContext),C0e=A0e("drawer",m0e),[E0e,w0e]=useStyle$5(C0e),R0e=v0e===void 0&&_0e?()=>_0e(document.body):v0e,T0e=cx$1({"no-mask":!d0e,[`${C0e}-rtl`]:$0e==="rtl"},s0e,w0e),D0e=reactExports.useMemo(()=>l0e??(u0e==="large"?736:378),[l0e,u0e]),W0e=reactExports.useMemo(()=>c0e??(u0e==="large"?736:378),[c0e,u0e]),k0e={motionName:getTransitionName(C0e,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},q0e=I0e=>({motionName:getTransitionName(C0e,`panel-motion-${I0e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),N0e=usePanelRef(),[j0e,P0e]=useZIndex("Drawer",z0e.zIndex);return E0e(reactExports.createElement(NoCompactStyle,null,reactExports.createElement(NoFormStyle,{status:!0,override:!0},reactExports.createElement(zIndexContext$1.Provider,{value:P0e},reactExports.createElement(Drawer$4,Object.assign({prefixCls:C0e,onClose:b0e,maskMotion:k0e,motion:q0e},z0e,{classNames:{mask:cx$1((e0e=z0e.classNames)===null||e0e===void 0?void 0:e0e.mask,($P=S0e==null?void 0:S0e.classNames)===null||$P===void 0?void 0:$P.mask),content:cx$1((t0e=z0e.classNames)===null||t0e===void 0?void 0:t0e.content,(r0e=S0e==null?void 0:S0e.classNames)===null||r0e===void 0?void 0:r0e.content)},styles:{mask:Object.assign(Object.assign({},(n0e=z0e.styles)===null||n0e===void 0?void 0:n0e.mask),(a0e=S0e==null?void 0:S0e.styles)===null||a0e===void 0?void 0:a0e.mask),content:Object.assign(Object.assign({},(o0e=z0e.styles)===null||o0e===void 0?void 0:o0e.content),(i0e=S0e==null?void 0:S0e.styles)===null||i0e===void 0?void 0:i0e.content)},open:f0e??M0e,mask:d0e,push:p0e,width:D0e,height:W0e,style:Object.assign(Object.assign({},S0e==null?void 0:S0e.style),g0e),className:cx$1(S0e==null?void 0:S0e.className,y0e),rootClassName:T0e,getContainer:R0e,afterOpenChange:h0e??O0e,panelRef:N0e,zIndex:j0e}),reactExports.createElement(DrawerPanel$1,Object.assign({prefixCls:C0e},z0e,{onClose:b0e})))))))},PurePanel=x_=>{const{prefixCls:e0e,style:$P,className:t0e,placement:r0e="right"}=x_,n0e=__rest$c(x_,["prefixCls","style","className","placement"]),{getPrefixCls:a0e}=reactExports.useContext(ConfigContext),o0e=a0e("drawer",e0e),[i0e,s0e]=useStyle$5(o0e),l0e=cx$1(o0e,`${o0e}-pure`,`${o0e}-${r0e}`,s0e,t0e);return i0e(reactExports.createElement("div",{className:l0e,style:$P},reactExports.createElement(DrawerPanel$1,Object.assign({prefixCls:o0e},n0e))))};Drawer$2._InternalPanelDoNotUseOrYouWillBeFired=PurePanel;const Drawer$3=Drawer$2;function isPresetSize(x_){return["small","middle","large"].includes(x_)}function isValidGapNumber(x_){return x_?typeof x_=="number"&&!Number.isNaN(x_):!1}const SpaceContext=React$1.createContext({latestIndex:0}),SpaceContextProvider=SpaceContext.Provider,Item$3=x_=>{let{className:e0e,index:$P,children:t0e,split:r0e,style:n0e}=x_;const{latestIndex:a0e}=reactExports.useContext(SpaceContext);return t0e==null?null:reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",{className:e0e,style:n0e},t0e),$P{var $P,t0e;const{getPrefixCls:r0e,space:n0e,direction:a0e}=reactExports.useContext(ConfigContext),{size:o0e=(n0e==null?void 0:n0e.size)||"small",align:i0e,className:s0e,rootClassName:l0e,children:c0e,direction:u0e="horizontal",prefixCls:d0e,split:p0e,style:f0e,wrap:h0e=!1,classNames:b0e,styles:m0e}=x_,v0e=__rest$b(x_,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[g0e,y0e]=Array.isArray(o0e)?o0e:[o0e,o0e],M0e=isPresetSize(y0e),O0e=isPresetSize(g0e),z0e=isValidGapNumber(y0e),_0e=isValidGapNumber(g0e),A0e=toArray$6(c0e,{keepEmpty:!0}),$0e=i0e===void 0&&u0e==="horizontal"?"center":i0e,S0e=r0e("space",d0e),[C0e,E0e]=useStyle$p(S0e),w0e=cx$1(S0e,n0e==null?void 0:n0e.className,E0e,`${S0e}-${u0e}`,{[`${S0e}-rtl`]:a0e==="rtl",[`${S0e}-align-${$0e}`]:$0e,[`${S0e}-gap-row-${y0e}`]:M0e,[`${S0e}-gap-col-${g0e}`]:O0e},s0e,l0e),R0e=cx$1(`${S0e}-item`,($P=b0e==null?void 0:b0e.item)!==null&&$P!==void 0?$P:(t0e=n0e==null?void 0:n0e.classNames)===null||t0e===void 0?void 0:t0e.item);let T0e=0;const D0e=A0e.map((q0e,N0e)=>{var j0e,P0e;q0e!=null&&(T0e=N0e);const I0e=q0e&&q0e.key||`${R0e}-${N0e}`;return reactExports.createElement(Item$4,{className:R0e,key:I0e,index:N0e,split:p0e,style:(j0e=m0e==null?void 0:m0e.item)!==null&&j0e!==void 0?j0e:(P0e=n0e==null?void 0:n0e.styles)===null||P0e===void 0?void 0:P0e.item},q0e)}),W0e=reactExports.useMemo(()=>({latestIndex:T0e}),[T0e]);if(A0e.length===0)return null;const k0e={};return h0e&&(k0e.flexWrap="wrap"),!O0e&&_0e&&(k0e.columnGap=g0e),!M0e&&z0e&&(k0e.rowGap=y0e),C0e(reactExports.createElement("div",Object.assign({ref:e0e,className:w0e,style:Object.assign(Object.assign(Object.assign({},k0e),n0e==null?void 0:n0e.style),f0e)},v0e),reactExports.createElement(SpaceContextProvider,{value:W0e},D0e)))}),CompoundedSpace=Space;CompoundedSpace.Compact=Compact$1;const Space$1=CompoundedSpace;var __rest$a=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPopupContainer:e0e,getPrefixCls:$P,direction:t0e}=reactExports.useContext(ConfigContext),{prefixCls:r0e,type:n0e="default",danger:a0e,disabled:o0e,loading:i0e,onClick:s0e,htmlType:l0e,children:c0e,className:u0e,menu:d0e,arrow:p0e,autoFocus:f0e,overlay:h0e,trigger:b0e,align:m0e,open:v0e,onOpenChange:g0e,placement:y0e,getPopupContainer:M0e,href:O0e,icon:z0e=reactExports.createElement(EllipsisOutlined$1,null),title:_0e,buttonsRender:A0e=H0e=>H0e,mouseEnterDelay:$0e,mouseLeaveDelay:S0e,overlayClassName:C0e,overlayStyle:E0e,destroyPopupOnHide:w0e,dropdownRender:R0e}=x_,T0e=__rest$a(x_,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),D0e=$P("dropdown",r0e),W0e=`${D0e}-button`,k0e={menu:d0e,arrow:p0e,autoFocus:f0e,align:m0e,disabled:o0e,trigger:o0e?[]:b0e,onOpenChange:g0e,getPopupContainer:M0e||e0e,mouseEnterDelay:$0e,mouseLeaveDelay:S0e,overlayClassName:C0e,overlayStyle:E0e,destroyPopupOnHide:w0e,dropdownRender:R0e},{compactSize:q0e,compactItemClassnames:N0e}=useCompactItemContext(D0e,t0e),j0e=cx$1(W0e,N0e,u0e);"overlay"in x_&&(k0e.overlay=h0e),"open"in x_&&(k0e.open=v0e),"placement"in x_?k0e.placement=y0e:k0e.placement=t0e==="rtl"?"bottomLeft":"bottomRight";const P0e=reactExports.createElement(Button$4,{type:n0e,danger:a0e,disabled:o0e,loading:i0e,onClick:s0e,htmlType:l0e,href:O0e,title:_0e},c0e),I0e=reactExports.createElement(Button$4,{type:n0e,danger:a0e,icon:z0e}),[F0e,V0e]=A0e([P0e,I0e]);return reactExports.createElement(Space$1.Compact,Object.assign({className:j0e,size:q0e,block:!0},T0e),F0e,reactExports.createElement(InternalDropdown,Object.assign({},k0e),V0e))};DropdownButton.__ANT_BUTTON=!0;const DropdownButton$1=DropdownButton,Dropdown=InternalDropdown;Dropdown.Button=DropdownButton$1;const Dropdown$1=Dropdown;function useDebounce(x_){const[e0e,$P]=reactExports.useState(x_);return reactExports.useEffect(()=>{const t0e=setTimeout(()=>{$P(x_)},x_.length?0:10);return()=>{clearTimeout(t0e)}},[x_]),e0e}const genFormValidateMotionStyle=x_=>{const{componentCls:e0e}=x_,$P=`${e0e}-show-help`,t0e=`${e0e}-show-help-item`;return{[$P]:{transition:`opacity ${x_.motionDurationSlow} ${x_.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[t0e]:{overflow:"hidden",transition:`height ${x_.motionDurationSlow} ${x_.motionEaseInOut}, +`,SIZING_STYLE$1=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],computedStyleCache={},hiddenTextarea$1;function calculateNodeStyling(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=x_.getAttribute("id")||x_.getAttribute("data-reactid")||x_.getAttribute("name");if(e0e&&computedStyleCache[$P])return computedStyleCache[$P];var t0e=window.getComputedStyle(x_),r0e=t0e.getPropertyValue("box-sizing")||t0e.getPropertyValue("-moz-box-sizing")||t0e.getPropertyValue("-webkit-box-sizing"),n0e=parseFloat(t0e.getPropertyValue("padding-bottom"))+parseFloat(t0e.getPropertyValue("padding-top")),a0e=parseFloat(t0e.getPropertyValue("border-bottom-width"))+parseFloat(t0e.getPropertyValue("border-top-width")),o0e=SIZING_STYLE$1.map(function(s0e){return"".concat(s0e,":").concat(t0e.getPropertyValue(s0e))}).join(";"),i0e={sizingStyle:o0e,paddingSize:n0e,borderSize:a0e,boxSizing:r0e};return e0e&&$P&&(computedStyleCache[$P]=i0e),i0e}function calculateAutoSizeStyle(x_){var e0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;hiddenTextarea$1||(hiddenTextarea$1=document.createElement("textarea"),hiddenTextarea$1.setAttribute("tab-index","-1"),hiddenTextarea$1.setAttribute("aria-hidden","true"),document.body.appendChild(hiddenTextarea$1)),x_.getAttribute("wrap")?hiddenTextarea$1.setAttribute("wrap",x_.getAttribute("wrap")):hiddenTextarea$1.removeAttribute("wrap");var r0e=calculateNodeStyling(x_,e0e),n0e=r0e.paddingSize,a0e=r0e.borderSize,o0e=r0e.boxSizing,i0e=r0e.sizingStyle;hiddenTextarea$1.setAttribute("style","".concat(i0e,";").concat(HIDDEN_TEXTAREA_STYLE$1)),hiddenTextarea$1.value=x_.value||x_.placeholder||"";var s0e=void 0,l0e=void 0,c0e,u0e=hiddenTextarea$1.scrollHeight;if(o0e==="border-box"?u0e+=a0e:o0e==="content-box"&&(u0e-=n0e),$P!==null||t0e!==null){hiddenTextarea$1.value=" ";var d0e=hiddenTextarea$1.scrollHeight-n0e;$P!==null&&(s0e=d0e*$P,o0e==="border-box"&&(s0e=s0e+n0e+a0e),u0e=Math.max(s0e,u0e)),t0e!==null&&(l0e=d0e*t0e,o0e==="border-box"&&(l0e=l0e+n0e+a0e),c0e=u0e>l0e?"":"hidden",u0e=Math.min(l0e,u0e))}var p0e={height:u0e,overflowY:c0e,resize:"none"};return s0e&&(p0e.minHeight=s0e),l0e&&(p0e.maxHeight=l0e),p0e}var _excluded$i=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],RESIZE_START=0,RESIZE_MEASURING=1,RESIZE_STABLE=2,ResizableTextArea=reactExports.forwardRef(function(x_,e0e){var $P=x_,t0e=$P.prefixCls;$P.onPressEnter;var r0e=$P.defaultValue,n0e=$P.value,a0e=$P.autoSize,o0e=$P.onResize,i0e=$P.className,s0e=$P.style,l0e=$P.disabled,c0e=$P.onChange;$P.onInternalAutoSize;var u0e=_objectWithoutProperties$4($P,_excluded$i),d0e=useMergedState(r0e,{value:n0e,postState:function(P0e){return P0e??""}}),p0e=_slicedToArray$3(d0e,2),f0e=p0e[0],h0e=p0e[1],b0e=function(P0e){h0e(P0e.target.value),c0e==null||c0e(P0e)},m0e=reactExports.useRef();reactExports.useImperativeHandle(e0e,function(){return{textArea:m0e.current}});var v0e=reactExports.useMemo(function(){return a0e&&_typeof$2(a0e)==="object"?[a0e.minRows,a0e.maxRows]:[]},[a0e]),g0e=_slicedToArray$3(v0e,2),y0e=g0e[0],M0e=g0e[1],O0e=!!a0e,z0e=function(){try{if(document.activeElement===m0e.current){var P0e=m0e.current,I0e=P0e.selectionStart,F0e=P0e.selectionEnd,V0e=P0e.scrollTop;m0e.current.setSelectionRange(I0e,F0e),m0e.current.scrollTop=V0e}}catch{}},_0e=reactExports.useState(RESIZE_STABLE),A0e=_slicedToArray$3(_0e,2),$0e=A0e[0],S0e=A0e[1],C0e=reactExports.useState(),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=function(){S0e(RESIZE_START)};useLayoutEffect$2(function(){O0e&&T0e()},[n0e,y0e,M0e,O0e]),useLayoutEffect$2(function(){if($0e===RESIZE_START)S0e(RESIZE_MEASURING);else if($0e===RESIZE_MEASURING){var j0e=calculateAutoSizeStyle(m0e.current,!1,y0e,M0e);S0e(RESIZE_STABLE),R0e(j0e)}else z0e()},[$0e]);var D0e=reactExports.useRef(),W0e=function(){wrapperRaf$1.cancel(D0e.current)},k0e=function(P0e){$0e===RESIZE_STABLE&&(o0e==null||o0e(P0e),a0e&&(W0e(),D0e.current=wrapperRaf$1(function(){T0e()})))};reactExports.useEffect(function(){return W0e},[]);var q0e=O0e?w0e:null,N0e=_objectSpread2$1(_objectSpread2$1({},s0e),q0e);return($0e===RESIZE_START||$0e===RESIZE_MEASURING)&&(N0e.overflowY="hidden",N0e.overflowX="hidden"),reactExports.createElement(RefResizeObserver,{onResize:k0e,disabled:!(a0e||o0e)},reactExports.createElement("textarea",_extends$1z({},u0e,{ref:m0e,style:N0e,className:cx$1(t0e,i0e,_defineProperty$5({},"".concat(t0e,"-disabled"),l0e)),disabled:l0e,value:f0e,onChange:b0e})))}),_excluded$h=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","count","className","style","disabled","hidden","classNames","styles","onResize"],TextArea$2=React$1.forwardRef(function(x_,e0e){var $P,t0e,r0e=x_.defaultValue,n0e=x_.value,a0e=x_.onFocus,o0e=x_.onBlur,i0e=x_.onChange,s0e=x_.allowClear,l0e=x_.maxLength,c0e=x_.onCompositionStart,u0e=x_.onCompositionEnd,d0e=x_.suffix,p0e=x_.prefixCls,f0e=p0e===void 0?"rc-textarea":p0e,h0e=x_.classes,b0e=x_.showCount,m0e=x_.count,v0e=x_.className,g0e=x_.style,y0e=x_.disabled,M0e=x_.hidden,O0e=x_.classNames,z0e=x_.styles,_0e=x_.onResize,A0e=_objectWithoutProperties$4(x_,_excluded$h),$0e=useMergedState(r0e,{value:n0e,defaultValue:r0e}),S0e=_slicedToArray$3($0e,2),C0e=S0e[0],E0e=S0e[1],w0e=C0e==null?"":String(C0e),R0e=React$1.useState(!1),T0e=_slicedToArray$3(R0e,2),D0e=T0e[0],W0e=T0e[1],k0e=React$1.useRef(!1),q0e=React$1.useState(null),N0e=_slicedToArray$3(q0e,2),j0e=N0e[0],P0e=N0e[1],I0e=reactExports.useRef(null),F0e=function(){var A1e;return(A1e=I0e.current)===null||A1e===void 0?void 0:A1e.textArea},V0e=function(){F0e().focus()};reactExports.useImperativeHandle(e0e,function(){return{resizableTextArea:I0e.current,focus:V0e,blur:function(){F0e().blur()}}}),reactExports.useEffect(function(){W0e(function(w1e){return!y0e&&w1e})},[y0e]);var H0e=React$1.useState(null),Q0e=_slicedToArray$3(H0e,2),Y0e=Q0e[0],G0e=Q0e[1];React$1.useEffect(function(){if(Y0e){var w1e;(w1e=F0e()).setSelectionRange.apply(w1e,_toConsumableArray$2(Y0e))}},[Y0e]);var B0e=useCount(m0e,b0e),U0e=($P=B0e.max)!==null&&$P!==void 0?$P:l0e,X0e=Number(U0e)>0,Z0e=B0e.strategy(w0e),e1e=!!U0e&&Z0e>U0e,n1e=function(A1e,F1e){var J1e=F1e;!k0e.current&&B0e.exceedFormatter&&B0e.max&&B0e.strategy(F1e)>B0e.max&&(J1e=B0e.exceedFormatter(F1e,{max:B0e.max}),F1e!==J1e&&G0e([F0e().selectionStart||0,F0e().selectionEnd||0])),E0e(J1e),resolveOnChange(A1e.currentTarget,A1e,i0e,J1e)},t1e=function(A1e){k0e.current=!0,c0e==null||c0e(A1e)},r1e=function(A1e){k0e.current=!1,n1e(A1e,A1e.currentTarget.value),u0e==null||u0e(A1e)},a1e=function(A1e){n1e(A1e,A1e.target.value)},l1e=function(A1e){var F1e=A0e.onPressEnter,J1e=A0e.onKeyDown;A1e.key==="Enter"&&F1e&&F1e(A1e),J1e==null||J1e(A1e)},s1e=function(A1e){W0e(!0),a0e==null||a0e(A1e)},g1e=function(A1e){W0e(!1),o0e==null||o0e(A1e)},$1e=function(A1e){E0e(""),V0e(),resolveOnChange(F0e(),A1e,i0e)},_1e=d0e,p1e;B0e.show&&(B0e.showFormatter?p1e=B0e.showFormatter({value:w0e,count:Z0e,maxLength:U0e}):p1e="".concat(Z0e).concat(X0e?" / ".concat(U0e):""),_1e=jsxs(Fragment,{children:[_1e,jsx("span",{className:cx$1("".concat(f0e,"-data-count"),O0e==null?void 0:O0e.count),style:z0e==null?void 0:z0e.count,children:p1e})]}));var E1e=function(A1e){var F1e;_0e==null||_0e(A1e),(F1e=F0e())!==null&&F1e!==void 0&&F1e.style.height&&P0e(!0)},x1e=!A0e.autoSize&&!b0e&&!s0e,O1e=jsx(BaseInput,{value:w0e,allowClear:s0e,handleReset:$1e,suffix:_1e,prefixCls:f0e,classes:{affixWrapper:cx$1(h0e==null?void 0:h0e.affixWrapper,(t0e={},_defineProperty$5(t0e,"".concat(f0e,"-show-count"),b0e),_defineProperty$5(t0e,"".concat(f0e,"-textarea-allow-clear"),s0e),t0e))},disabled:y0e,focused:D0e,className:cx$1(v0e,e1e&&"".concat(f0e,"-out-of-range")),style:_objectSpread2$1(_objectSpread2$1({},g0e),j0e&&!x1e?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof p1e=="string"?p1e:void 0}},hidden:M0e,inputElement:jsx(ResizableTextArea,{...A0e,maxLength:l0e,onKeyDown:l1e,onChange:a1e,onFocus:s1e,onBlur:g1e,onCompositionStart:t1e,onCompositionEnd:r1e,className:cx$1(O0e==null?void 0:O0e.textarea),style:_objectSpread2$1(_objectSpread2$1({},z0e==null?void 0:z0e.textarea),{},{resize:g0e==null?void 0:g0e.resize}),disabled:y0e,prefixCls:f0e,onResize:E1e,ref:I0e})});return O1e}),__rest$h=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var $P;const{prefixCls:t0e,bordered:r0e=!0,size:n0e,disabled:a0e,status:o0e,allowClear:i0e,classNames:s0e,rootClassName:l0e,className:c0e}=x_,u0e=__rest$h(x_,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className"]),{getPrefixCls:d0e,direction:p0e}=reactExports.useContext(ConfigContext),f0e=useSize$1(n0e),h0e=reactExports.useContext(DisabledContext$1),b0e=a0e??h0e,{status:m0e,hasFeedback:v0e,feedbackIcon:g0e}=reactExports.useContext(FormItemInputContext),y0e=getMergedStatus(m0e,o0e),M0e=reactExports.useRef(null);reactExports.useImperativeHandle(e0e,()=>{var S0e;return{resizableTextArea:(S0e=M0e.current)===null||S0e===void 0?void 0:S0e.resizableTextArea,focus:C0e=>{var E0e,w0e;triggerFocus((w0e=(E0e=M0e.current)===null||E0e===void 0?void 0:E0e.resizableTextArea)===null||w0e===void 0?void 0:w0e.textArea,C0e)},blur:()=>{var C0e;return(C0e=M0e.current)===null||C0e===void 0?void 0:C0e.blur()}}});const O0e=d0e("input",t0e);let z0e;typeof i0e=="object"&&(i0e!=null&&i0e.clearIcon)?z0e=i0e:i0e&&(z0e={clearIcon:reactExports.createElement(CloseCircleFilled$1,null)});const _0e=useCSSVarCls$1(O0e),[A0e,$0e]=useStyle$e(O0e,_0e);return A0e(reactExports.createElement(TextArea$2,Object.assign({},u0e,{disabled:b0e,allowClear:z0e,className:cx$1(_0e,c0e,l0e),classes:{affixWrapper:cx$1(`${O0e}-textarea-affix-wrapper`,{[`${O0e}-affix-wrapper-rtl`]:p0e==="rtl",[`${O0e}-affix-wrapper-borderless`]:!r0e,[`${O0e}-affix-wrapper-sm`]:f0e==="small",[`${O0e}-affix-wrapper-lg`]:f0e==="large",[`${O0e}-textarea-show-count`]:x_.showCount||(($P=x_.count)===null||$P===void 0?void 0:$P.show)},getStatusClassNames(`${O0e}-affix-wrapper`,y0e),$0e)},classNames:Object.assign(Object.assign({},s0e),{textarea:cx$1({[`${O0e}-borderless`]:!r0e,[`${O0e}-sm`]:f0e==="small",[`${O0e}-lg`]:f0e==="large"},getStatusClassNames(O0e,y0e),$0e,s0e==null?void 0:s0e.textarea)}),prefixCls:O0e,suffix:v0e&&reactExports.createElement("span",{className:`${O0e}-textarea-suffix`},g0e),ref:M0e})))}),TextArea$1=TextArea,Input$2=InternalInput;Input$2.Group=Group$2;Input$2.Search=Search$1;Input$2.TextArea=TextArea$1;Input$2.Password=Password$1;const Input$3=Input$2,hexReg=/(^#[\da-f]{6}$)|(^#[\da-f]{8}$)/i,isHexString=x_=>hexReg.test(`#${x_}`),ColorHexInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-hex-input`,[n0e,a0e]=reactExports.useState($P==null?void 0:$P.toHex());return reactExports.useEffect(()=>{const i0e=$P==null?void 0:$P.toHex();isHexString(i0e)&&$P&&a0e(toHexFormat(i0e))},[$P]),jsx(Input$3,{className:r0e,value:n0e,prefix:"#",onChange:i0e=>{const s0e=i0e.target.value;a0e(toHexFormat(s0e)),isHexString(toHexFormat(s0e,!0))&&(t0e==null||t0e(generateColor(s0e)))},size:"small"})},ColorHexInput$1=ColorHexInput,ColorHsbInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-hsb-input`,[n0e,a0e]=reactExports.useState(generateColor($P||"#000"));reactExports.useEffect(()=>{$P&&a0e($P)},[$P]);const o0e=(i0e,s0e)=>{const l0e=n0e.toHsb();l0e[s0e]=s0e==="h"?i0e:(i0e||0)/100;const c0e=generateColor(l0e);$P||a0e(c0e),t0e==null||t0e(c0e)};return jsxs("div",{className:r0e,children:[jsx(ColorSteppers$1,{max:360,min:0,value:Number(n0e.toHsb().h),prefixCls:e0e,className:r0e,formatter:i0e=>getRoundNumber(i0e||0).toString(),onChange:i0e=>o0e(Number(i0e),"h")}),jsx(ColorSteppers$1,{max:100,min:0,value:Number(n0e.toHsb().s)*100,prefixCls:e0e,className:r0e,formatter:i0e=>`${getRoundNumber(i0e||0)}%`,onChange:i0e=>o0e(Number(i0e),"s")}),jsx(ColorSteppers$1,{max:100,min:0,value:Number(n0e.toHsb().b)*100,prefixCls:e0e,className:r0e,formatter:i0e=>`${getRoundNumber(i0e||0)}%`,onChange:i0e=>o0e(Number(i0e),"b")})]})},ColorHsbInput$1=ColorHsbInput,ColorRgbInput=x_=>{let{prefixCls:e0e,value:$P,onChange:t0e}=x_;const r0e=`${e0e}-rgb-input`,[n0e,a0e]=reactExports.useState(generateColor($P||"#000"));reactExports.useEffect(()=>{$P&&a0e($P)},[$P]);const o0e=(i0e,s0e)=>{const l0e=n0e.toRgb();l0e[s0e]=i0e||0;const c0e=generateColor(l0e);$P||a0e(c0e),t0e==null||t0e(c0e)};return jsxs("div",{className:r0e,children:[jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().r),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"r")}),jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().g),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"g")}),jsx(ColorSteppers$1,{max:255,min:0,value:Number(n0e.toRgb().b),prefixCls:e0e,className:r0e,onChange:i0e=>o0e(Number(i0e),"b")})]})},ColorRgbInput$1=ColorRgbInput,selectOptions=[ColorFormat.hex,ColorFormat.hsb,ColorFormat.rgb].map(x_=>({value:x_,label:x_.toLocaleUpperCase()})),ColorInput=x_=>{const{prefixCls:e0e,format:$P,value:t0e,disabledAlpha:r0e,onFormatChange:n0e,onChange:a0e}=x_,[o0e,i0e]=useMergedState(ColorFormat.hex,{value:$P,onChange:n0e}),s0e=`${e0e}-input`,l0e=u0e=>{i0e(u0e)},c0e=reactExports.useMemo(()=>{const u0e={value:t0e,prefixCls:e0e,onChange:a0e};switch(o0e){case ColorFormat.hsb:return jsx(ColorHsbInput$1,{...Object.assign({},u0e)});case ColorFormat.rgb:return jsx(ColorRgbInput$1,{...Object.assign({},u0e)});case ColorFormat.hex:default:return jsx(ColorHexInput$1,{...Object.assign({},u0e)})}},[o0e,e0e,t0e,a0e]);return jsxs("div",{className:`${s0e}-container`,children:[jsx(Select$2,{value:o0e,bordered:!1,getPopupContainer:u0e=>u0e,popupMatchSelectWidth:68,placement:"bottomRight",onChange:l0e,className:`${e0e}-format-select`,size:"small",options:selectOptions}),jsx("div",{className:s0e,children:c0e}),!r0e&&jsx(ColorAlphaInput$1,{prefixCls:e0e,value:t0e,onChange:a0e})]})},ColorInput$1=ColorInput;var __rest$g=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const x_=reactExports.useContext(PanelPickerContext),{prefixCls:e0e,colorCleared:$P,allowClear:t0e,value:r0e,disabledAlpha:n0e,onChange:a0e,onClear:o0e,onChangeComplete:i0e}=x_,s0e=__rest$g(x_,["prefixCls","colorCleared","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete"]);return jsxs(Fragment,{children:[t0e&&jsx(ColorClear$1,{...Object.assign({prefixCls:e0e,value:r0e,colorCleared:$P,onChange:l0e=>{a0e==null||a0e(l0e),o0e==null||o0e()}},s0e)}),jsx(ColorPicker$3,{prefixCls:e0e,value:r0e==null?void 0:r0e.toHsb(),disabledAlpha:n0e,onChange:(l0e,c0e)=>a0e==null?void 0:a0e(l0e,c0e,!0),onChangeComplete:i0e}),jsx(ColorInput$1,{...Object.assign({value:r0e,onChange:a0e,prefixCls:e0e,disabledAlpha:n0e},s0e)})]})},PanelPicker$1=PanelPicker,genPresetColor=x_=>x_.map(e0e=>(e0e.colors=e0e.colors.map(generateColor),e0e)),isBright=(x_,e0e)=>{const{r:$P,g:t0e,b:r0e,a:n0e}=x_.toRgb(),a0e=new Color$1(x_.toRgbString()).onBackground(e0e).toHsv();return n0e<=.5?a0e.v>.5:$P*.299+t0e*.587+r0e*.114>192},genCollapsePanelKey=x_=>{let{label:e0e}=x_;return`panel-${e0e}`},ColorPresets=x_=>{let{prefixCls:e0e,presets:$P,value:t0e,onChange:r0e}=x_;const[n0e]=useLocale$1("ColorPicker"),[,a0e]=useToken$1(),[o0e]=useMergedState(genPresetColor($P),{value:genPresetColor($P),postState:genPresetColor}),i0e=`${e0e}-presets`,s0e=reactExports.useMemo(()=>o0e.reduce((u0e,d0e)=>{const{defaultOpen:p0e=!0}=d0e;return p0e&&u0e.push(genCollapsePanelKey(d0e)),u0e},[]),[o0e]),l0e=u0e=>{r0e==null||r0e(u0e)},c0e=o0e.map(u0e=>{var d0e;return{key:genCollapsePanelKey(u0e),label:jsx("div",{className:`${i0e}-label`,children:u0e==null?void 0:u0e.label}),children:jsx("div",{className:`${i0e}-items`,children:Array.isArray(u0e==null?void 0:u0e.colors)&&((d0e=u0e.colors)===null||d0e===void 0?void 0:d0e.length)>0?u0e.colors.map((p0e,f0e)=>jsx(ColorBlock,{color:generateColor(p0e).toRgbString(),prefixCls:e0e,className:cx$1(`${i0e}-color`,{[`${i0e}-color-checked`]:p0e.toHexString()===(t0e==null?void 0:t0e.toHexString()),[`${i0e}-color-bright`]:isBright(p0e,a0e.colorBgElevated)}),onClick:()=>l0e(p0e)},`preset-${f0e}-${p0e.toHexString()}`)):jsx("span",{className:`${i0e}-empty`,children:n0e.presetEmpty})})}});return jsx("div",{className:i0e,children:jsx(Collapse$3,{defaultActiveKey:s0e,ghost:!0,items:c0e})})},ColorPresets$1=ColorPresets,PanelPresets=()=>{const{prefixCls:x_,value:e0e,presets:$P,onChange:t0e}=reactExports.useContext(PanelPresetsContext);return Array.isArray($P)?jsx(ColorPresets$1,{value:e0e,presets:$P,prefixCls:x_,onChange:t0e}):null},PanelPresets$1=PanelPresets;var __rest$f=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,presets:$P,panelRender:t0e,color:r0e,onChange:n0e,onClear:a0e}=x_,o0e=__rest$f(x_,["prefixCls","presets","panelRender","color","onChange","onClear"]),i0e=`${e0e}-inner-content`,s0e=Object.assign({prefixCls:e0e,value:r0e,onChange:n0e,onClear:a0e},o0e),l0e=React$1.useMemo(()=>({prefixCls:e0e,value:r0e,presets:$P,onChange:n0e}),[e0e,r0e,$P,n0e]),c0e=React$1.createElement(React$1.Fragment,null,React$1.createElement(PanelPicker$1,null),Array.isArray($P)&&React$1.createElement(Divider$3,{className:`${i0e}-divider`}),React$1.createElement(PanelPresets$1,null));return React$1.createElement(PanelPickerProvider,{value:s0e},React$1.createElement(PanelPresetsProvider,{value:l0e},React$1.createElement("div",{className:i0e},typeof t0e=="function"?t0e(c0e,{components:{Picker:PanelPicker$1,Presets:PanelPresets$1}}):c0e)))},ColorPickerPanel$1=ColorPickerPanel;var __rest$e=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{color:$P,prefixCls:t0e,open:r0e,colorCleared:n0e,disabled:a0e,format:o0e,className:i0e,showText:s0e}=x_,l0e=__rest$e(x_,["color","prefixCls","open","colorCleared","disabled","format","className","showText"]),c0e=`${t0e}-trigger`,u0e=reactExports.useMemo(()=>n0e?jsx(ColorClear$1,{prefixCls:t0e}):jsx(ColorBlock,{prefixCls:t0e,color:$P.toRgbString()}),[$P,n0e,t0e]),d0e=()=>{const f0e=$P.toHexString().toUpperCase(),h0e=getAlphaColor$1($P);switch(o0e){case"rgb":return $P.toRgbString();case"hsb":return $P.toHsbString();case"hex":default:return h0e<100?`${f0e.slice(0,7)},${h0e}%`:f0e}},p0e=()=>{if(typeof s0e=="function")return s0e($P);if(s0e)return d0e()};return jsxs("div",{...Object.assign({ref:e0e,className:cx$1(c0e,i0e,{[`${c0e}-active`]:r0e,[`${c0e}-disabled`]:a0e})},l0e),children:[u0e,s0e&&jsx("div",{className:`${c0e}-text`,children:p0e()})]})}),ColorTrigger$1=ColorTrigger;function hasValue(x_){return x_!==void 0}const useColorState=(x_,e0e)=>{const{defaultValue:$P,value:t0e}=e0e,[r0e,n0e]=reactExports.useState(()=>{let a0e;return hasValue(t0e)?a0e=t0e:hasValue($P)?a0e=$P:a0e=x_,generateColor(a0e||"")});return reactExports.useEffect(()=>{t0e&&n0e(generateColor(t0e))},[t0e]),[r0e,n0e]},useColorState$1=useColorState,getTransBg=(x_,e0e)=>({backgroundImage:`conic-gradient(${e0e} 0 25%, transparent 0 50%, ${e0e} 0 75%, transparent 0)`,backgroundSize:`${x_} ${x_}`}),genColorBlockStyle=(x_,e0e)=>{const{componentCls:$P,borderRadiusSM:t0e,colorPickerInsetShadow:r0e,lineWidth:n0e,colorFillSecondary:a0e}=x_;return{[`${$P}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:t0e,width:e0e,height:e0e,boxShadow:r0e},getTransBg("50%",x_.colorFillSecondary)),{[`${$P}-color-block-inner`]:{width:"100%",height:"100%",border:`${unit$1(n0e)} solid ${a0e}`,borderRadius:"inherit"}})}},genColorBlockStyle$1=genColorBlockStyle,genInputStyle=x_=>{const{componentCls:e0e,antCls:$P,fontSizeSM:t0e,lineHeightSM:r0e,colorPickerAlphaInputWidth:n0e,marginXXS:a0e,paddingXXS:o0e,controlHeightSM:i0e,marginXS:s0e,fontSizeIcon:l0e,paddingXS:c0e,colorTextPlaceholder:u0e,colorPickerInputNumberHandleWidth:d0e,lineWidth:p0e}=x_;return{[`${e0e}-input-container`]:{display:"flex",[`${e0e}-steppers${$P}-input-number`]:{fontSize:t0e,lineHeight:r0e,[`${$P}-input-number-input`]:{paddingInlineStart:o0e,paddingInlineEnd:0},[`${$P}-input-number-handler-wrap`]:{width:d0e}},[`${e0e}-steppers${e0e}-alpha-input`]:{flex:`0 0 ${unit$1(n0e)}`,marginInlineStart:a0e},[`${e0e}-format-select${$P}-select`]:{marginInlineEnd:s0e,width:"auto","&-single":{[`${$P}-select-selector`]:{padding:0,border:0},[`${$P}-select-arrow`]:{insetInlineEnd:0},[`${$P}-select-selection-item`]:{paddingInlineEnd:x_.calc(l0e).add(a0e).equal(),fontSize:t0e,lineHeight:`${unit$1(i0e)}`},[`${$P}-select-item-option-content`]:{fontSize:t0e,lineHeight:r0e},[`${$P}-select-dropdown`]:{[`${$P}-select-item`]:{minHeight:"auto"}}}},[`${e0e}-input`]:{gap:a0e,alignItems:"center",flex:1,width:0,[`${e0e}-hsb-input,${e0e}-rgb-input`]:{display:"flex",gap:a0e,alignItems:"center"},[`${e0e}-steppers`]:{flex:1},[`${e0e}-hex-input${$P}-input-affix-wrapper`]:{flex:1,padding:`0 ${unit$1(c0e)}`,[`${$P}-input`]:{fontSize:t0e,textTransform:"uppercase",lineHeight:unit$1(x_.calc(i0e).sub(x_.calc(p0e).mul(2)).equal())},[`${$P}-input-prefix`]:{color:u0e}}}}}},genInputStyle$1=genInputStyle,genPickerStyle=x_=>{const{componentCls:e0e,controlHeightLG:$P,borderRadiusSM:t0e,colorPickerInsetShadow:r0e,marginSM:n0e,colorBgElevated:a0e,colorFillSecondary:o0e,lineWidthBold:i0e,colorPickerHandlerSize:s0e,colorPickerHandlerSizeSM:l0e,colorPickerSliderHeight:c0e}=x_;return{[`${e0e}-select`]:{[`${e0e}-palette`]:{minHeight:x_.calc($P).mul(4).equal(),overflow:"hidden",borderRadius:t0e},[`${e0e}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:r0e,inset:0},marginBottom:n0e},[`${e0e}-handler`]:{width:s0e,height:s0e,border:`${unit$1(i0e)} solid ${a0e}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${r0e}, 0 0 0 1px ${o0e}`,"&-sm":{width:l0e,height:l0e}},[`${e0e}-slider`]:{borderRadius:x_.calc(c0e).div(2).equal(),[`${e0e}-palette`]:{height:c0e},[`${e0e}-gradient`]:{borderRadius:x_.calc(c0e).div(2).equal(),boxShadow:r0e},"&-alpha":getTransBg(`${unit$1(c0e)}`,x_.colorFillSecondary),"&-hue":{marginBottom:n0e}},[`${e0e}-slider-container`]:{display:"flex",gap:n0e,marginBottom:n0e,[`${e0e}-slider-group`]:{flex:1,"&-disabled-alpha":{display:"flex",alignItems:"center",[`${e0e}-slider`]:{flex:1,marginBottom:0}}}}}},genPickerStyle$1=genPickerStyle,genPresetsStyle=x_=>{const{componentCls:e0e,antCls:$P,colorTextQuaternary:t0e,paddingXXS:r0e,colorPickerPresetColorSize:n0e,fontSizeSM:a0e,colorText:o0e,lineHeightSM:i0e,lineWidth:s0e,borderRadius:l0e,colorFill:c0e,colorWhite:u0e,marginXXS:d0e,paddingXS:p0e,fontHeightSM:f0e}=x_;return{[`${e0e}-presets`]:{[`${$P}-collapse-item > ${$P}-collapse-header`]:{padding:0,[`${$P}-collapse-expand-icon`]:{height:f0e,color:t0e,paddingInlineEnd:r0e}},[`${$P}-collapse`]:{display:"flex",flexDirection:"column",gap:d0e},[`${$P}-collapse-item > ${$P}-collapse-content > ${$P}-collapse-content-box`]:{padding:`${unit$1(p0e)} 0`},"&-label":{fontSize:a0e,color:o0e,lineHeight:i0e},"&-items":{display:"flex",flexWrap:"wrap",gap:x_.calc(d0e).mul(1.5).equal(),[`${e0e}-presets-color`]:{position:"relative",cursor:"pointer",width:n0e,height:n0e,"&::before":{content:'""',pointerEvents:"none",width:x_.calc(n0e).add(x_.calc(s0e).mul(4)).equal(),height:x_.calc(n0e).add(x_.calc(s0e).mul(4)).equal(),position:"absolute",top:x_.calc(s0e).mul(-2).equal(),insetInlineStart:x_.calc(s0e).mul(-2).equal(),borderRadius:l0e,border:`${unit$1(s0e)} solid transparent`,transition:`border-color ${x_.motionDurationMid} ${x_.motionEaseInBack}`},"&:hover::before":{borderColor:c0e},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:x_.calc(n0e).div(13).mul(5).equal(),height:x_.calc(n0e).div(13).mul(8).equal(),border:`${unit$1(x_.lineWidthBold)} solid ${x_.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${x_.motionDurationFast} ${x_.motionEaseInBack}, opacity ${x_.motionDurationFast}`},[`&${e0e}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:u0e,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${x_.motionDurationMid} ${x_.motionEaseOutBack} ${x_.motionDurationFast}`},[`&${e0e}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a0e,color:t0e}}}},genPresetsStyle$1=genPresetsStyle,genActiveStyle=(x_,e0e,$P)=>({borderInlineEndWidth:x_.lineWidth,borderColor:e0e,boxShadow:`0 0 0 ${unit$1(x_.controlOutlineWidth)} ${$P}`,outline:0}),genRtlStyle=x_=>{const{componentCls:e0e}=x_;return{"&-rtl":{[`${e0e}-presets-color`]:{"&::after":{direction:"ltr"}},[`${e0e}-clear`]:{"&::after":{direction:"ltr"}}}}},genClearStyle=(x_,e0e,$P)=>{const{componentCls:t0e,borderRadiusSM:r0e,lineWidth:n0e,colorSplit:a0e,red6:o0e}=x_;return{[`${t0e}-clear`]:Object.assign(Object.assign({width:e0e,height:e0e,borderRadius:r0e,border:`${unit$1(n0e)} solid ${a0e}`,position:"relative",cursor:"pointer",overflow:"hidden"},$P),{"&::after":{content:'""',position:"absolute",insetInlineEnd:n0e,top:0,display:"block",width:40,height:2,transformOrigin:"right",transform:"rotate(-45deg)",backgroundColor:o0e}})}},genStatusStyle=x_=>{const{componentCls:e0e,colorError:$P,colorWarning:t0e,colorErrorHover:r0e,colorWarningHover:n0e,colorErrorOutline:a0e,colorWarningOutline:o0e}=x_;return{[`&${e0e}-status-error`]:{borderColor:$P,"&:hover":{borderColor:r0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,$P,a0e))},[`&${e0e}-status-warning`]:{borderColor:t0e,"&:hover":{borderColor:n0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,t0e,o0e))}}},genSizeStyle=x_=>{const{componentCls:e0e,controlHeightLG:$P,controlHeightSM:t0e,controlHeight:r0e,controlHeightXS:n0e,borderRadius:a0e,borderRadiusSM:o0e,borderRadiusXS:i0e,borderRadiusLG:s0e,fontSizeLG:l0e}=x_;return{[`&${e0e}-lg`]:{minWidth:$P,height:$P,borderRadius:s0e,[`${e0e}-color-block, ${e0e}-clear`]:{width:r0e,height:r0e,borderRadius:a0e},[`${e0e}-trigger-text`]:{fontSize:l0e}},[`&${e0e}-sm`]:{minWidth:t0e,height:t0e,borderRadius:o0e,[`${e0e}-color-block, ${e0e}-clear`]:{width:n0e,height:n0e,borderRadius:i0e}}}},genColorPickerStyle=x_=>{const{componentCls:e0e,colorPickerWidth:$P,colorPrimary:t0e,motionDurationMid:r0e,colorBgElevated:n0e,colorTextDisabled:a0e,colorText:o0e,colorBgContainerDisabled:i0e,borderRadius:s0e,marginXS:l0e,marginSM:c0e,controlHeight:u0e,controlHeightSM:d0e,colorBgTextActive:p0e,colorPickerPresetColorSize:f0e,colorPickerPreviewSize:h0e,lineWidth:b0e,colorBorder:m0e,paddingXXS:v0e,fontSize:g0e,colorPrimaryHover:y0e,controlOutline:M0e}=x_;return[{[e0e]:Object.assign({[`${e0e}-inner-content`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"flex",flexDirection:"column",width:$P,"&-divider":{margin:`${unit$1(c0e)} 0 ${unit$1(l0e)}`},[`${e0e}-panel`]:Object.assign({},genPickerStyle$1(x_))},genColorBlockStyle$1(x_,h0e)),genInputStyle$1(x_)),genPresetsStyle$1(x_)),genClearStyle(x_,f0e,{marginInlineStart:"auto",marginBottom:l0e})),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:u0e,height:u0e,borderRadius:s0e,border:`${unit$1(b0e)} solid ${m0e}`,cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",transition:`all ${r0e}`,background:n0e,padding:x_.calc(v0e).sub(b0e).equal(),[`${e0e}-trigger-text`]:{marginInlineStart:l0e,marginInlineEnd:x_.calc(l0e).sub(x_.calc(v0e).sub(b0e)).equal(),fontSize:g0e,color:o0e},"&:hover":{borderColor:y0e},[`&${e0e}-trigger-active`]:Object.assign({},genActiveStyle(x_,t0e,M0e)),"&-disabled":{color:a0e,background:i0e,cursor:"not-allowed","&:hover":{borderColor:p0e},[`${e0e}-trigger-text`]:{color:a0e}}},genClearStyle(x_,d0e)),genColorBlockStyle$1(x_,d0e)),genStatusStyle(x_)),genSizeStyle(x_))},genRtlStyle(x_))}]},useStyle$6=genStyleHooks("ColorPicker",x_=>{const{colorTextQuaternary:e0e,marginSM:$P}=x_,t0e=8,r0e=merge$2(x_,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:18,colorPickerInsetShadow:`inset 0 0 1px 0 ${e0e}`,colorPickerSliderHeight:t0e,colorPickerPreviewSize:x_.calc(t0e).mul(2).add($P).equal()});return[genColorPickerStyle(r0e)]});var __rest$d=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{value:e0e,defaultValue:$P,format:t0e,defaultFormat:r0e,allowClear:n0e=!1,presets:a0e,children:o0e,trigger:i0e="click",open:s0e,disabled:l0e,placement:c0e="bottomLeft",arrow:u0e=!0,panelRender:d0e,showText:p0e,style:f0e,className:h0e,size:b0e,rootClassName:m0e,styles:v0e,disabledAlpha:g0e=!1,onFormatChange:y0e,onChange:M0e,onClear:O0e,onOpenChange:z0e,onChangeComplete:_0e,getPopupContainer:A0e,autoAdjustOverflow:$0e=!0,destroyTooltipOnHide:S0e}=x_,C0e=__rest$d(x_,["value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide"]),{getPrefixCls:E0e,direction:w0e,colorPicker:R0e}=reactExports.useContext(ConfigContext),T0e=reactExports.useContext(DisabledContext$1),D0e=l0e??T0e,[,W0e]=useToken$1(),[k0e,q0e]=useColorState$1(W0e.colorPrimary,{value:e0e,defaultValue:$P}),[N0e,j0e]=useMergedState(!1,{value:s0e,postState:p1e=>!D0e&&p1e,onChange:z0e}),[P0e,I0e]=useMergedState(t0e,{value:t0e,defaultValue:r0e,onChange:y0e}),[F0e,V0e]=reactExports.useState(!1),H0e=E0e("color-picker",customizePrefixCls),Q0e=reactExports.useMemo(()=>getAlphaColor$1(k0e)<100,[k0e]),{status:Y0e}=React$1.useContext(FormItemInputContext),G0e=useSize$1(b0e),B0e=useCSSVarCls$1(H0e),[U0e,X0e]=useStyle$6(H0e,B0e),Z0e={[`${H0e}-rtl`]:w0e},e1e=cx$1(m0e,B0e,Z0e),n1e=cx$1(getStatusClassNames(H0e,Y0e),{[`${H0e}-sm`]:G0e==="small",[`${H0e}-lg`]:G0e==="large"},R0e==null?void 0:R0e.className,e1e,h0e,X0e),t1e=cx$1(H0e,e1e),r1e=reactExports.useRef(!0),a1e=(p1e,E1e,x1e)=>{let O1e=generateColor(p1e);(F0e||(e0e===null||!e0e&&$P===null))&&(V0e(!1),getAlphaColor$1(k0e)===0&&E1e!=="alpha"&&(O1e=genAlphaColor(O1e))),g0e&&Q0e&&(O1e=genAlphaColor(O1e)),x1e?r1e.current=!1:_0e==null||_0e(O1e),q0e(O1e),M0e==null||M0e(O1e,O1e.toHexString())},l1e=()=>{V0e(!0),O0e==null||O0e()},s1e=p1e=>{r1e.current=!0;let E1e=generateColor(p1e);g0e&&Q0e&&(E1e=genAlphaColor(p1e)),_0e==null||_0e(E1e)},g1e={open:N0e,trigger:i0e,placement:c0e,arrow:u0e,rootClassName:m0e,getPopupContainer:A0e,autoAdjustOverflow:$0e,destroyTooltipOnHide:S0e},$1e={prefixCls:H0e,color:k0e,allowClear:n0e,colorCleared:F0e,disabled:D0e,disabledAlpha:g0e,presets:a0e,panelRender:d0e,format:P0e,onFormatChange:I0e,onChangeComplete:s1e},_1e=Object.assign(Object.assign({},R0e==null?void 0:R0e.style),f0e);return U0e(jsx(Popover$1,{...Object.assign({style:v0e==null?void 0:v0e.popup,overlayInnerStyle:v0e==null?void 0:v0e.popupOverlayInner,onOpenChange:p1e=>{r1e.current&&!D0e&&j0e(p1e)},content:jsx(NoFormStyle,{override:!0,status:!0,children:jsx(ColorPickerPanel$1,{...Object.assign({},$1e,{onChange:a1e,onChangeComplete:s1e,onClear:l1e})})}),overlayClassName:t1e},g1e),children:o0e||jsx(ColorTrigger$1,{...Object.assign({open:N0e,className:n1e,style:_1e,color:e0e?generateColor(e0e):k0e,prefixCls:H0e,disabled:D0e,colorCleared:F0e,showText:p0e,format:P0e},C0e)})}))},PurePanel$1=genPurePanel$1(ColorPicker$1,"color-picker",x_=>x_,x_=>Object.assign(Object.assign({},x_),{placement:"bottom",autoAdjustOverflow:!1}));ColorPicker$1._InternalPanelDoNotUseOrYouWillBeFired=PurePanel$1;const ColorPicker$2=ColorPicker$1;var DrawerContext=reactExports.createContext(null),RefContext=reactExports.createContext({}),DrawerPanel$2=function(e0e){var $P=e0e.prefixCls,t0e=e0e.className,r0e=e0e.style,n0e=e0e.children,a0e=e0e.containerRef,o0e=e0e.id,i0e=e0e.onMouseEnter,s0e=e0e.onMouseOver,l0e=e0e.onMouseLeave,c0e=e0e.onClick,u0e=e0e.onKeyDown,d0e=e0e.onKeyUp,p0e={onMouseEnter:i0e,onMouseOver:s0e,onMouseLeave:l0e,onClick:c0e,onKeyDown:u0e,onKeyUp:d0e},f0e=reactExports.useContext(RefContext),h0e=f0e.panel,b0e=useComposeRef(h0e,a0e);return reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",_extends$1z({id:o0e,className:cx$1("".concat($P,"-content"),t0e),style:_objectSpread2$1({},r0e),"aria-modal":"true",role:"dialog",ref:b0e},p0e),n0e))};function parseWidthHeight(x_){return typeof x_=="string"&&String(Number(x_))===x_?(warningOnce$1(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(x_)):x_}var sentinelStyle={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function DrawerPopup(x_,e0e){var $P,t0e,r0e,n0e,a0e=x_.prefixCls,o0e=x_.open,i0e=x_.placement,s0e=x_.inline,l0e=x_.push,c0e=x_.forceRender,u0e=x_.autoFocus,d0e=x_.keyboard,p0e=x_.classNames,f0e=x_.rootClassName,h0e=x_.rootStyle,b0e=x_.zIndex,m0e=x_.className,v0e=x_.id,g0e=x_.style,y0e=x_.motion,M0e=x_.width,O0e=x_.height,z0e=x_.children,_0e=x_.contentWrapperStyle,A0e=x_.mask,$0e=x_.maskClosable,S0e=x_.maskMotion,C0e=x_.maskClassName,E0e=x_.maskStyle,w0e=x_.afterOpenChange,R0e=x_.onClose,T0e=x_.onMouseEnter,D0e=x_.onMouseOver,W0e=x_.onMouseLeave,k0e=x_.onClick,q0e=x_.onKeyDown,N0e=x_.onKeyUp,j0e=x_.styles,P0e=reactExports.useRef(),I0e=reactExports.useRef(),F0e=reactExports.useRef();reactExports.useImperativeHandle(e0e,function(){return P0e.current});var V0e=function(g1e){var $1e=g1e.keyCode,_1e=g1e.shiftKey;switch($1e){case KeyCode$1.TAB:{if($1e===KeyCode$1.TAB){if(!_1e&&document.activeElement===F0e.current){var p1e;(p1e=I0e.current)===null||p1e===void 0||p1e.focus({preventScroll:!0})}else if(_1e&&document.activeElement===I0e.current){var E1e;(E1e=F0e.current)===null||E1e===void 0||E1e.focus({preventScroll:!0})}}break}case KeyCode$1.ESC:{R0e&&d0e&&(g1e.stopPropagation(),R0e(g1e));break}}};reactExports.useEffect(function(){if(o0e&&u0e){var s1e;(s1e=P0e.current)===null||s1e===void 0||s1e.focus({preventScroll:!0})}},[o0e]);var H0e=reactExports.useState(!1),Q0e=_slicedToArray$3(H0e,2),Y0e=Q0e[0],G0e=Q0e[1],B0e=reactExports.useContext(DrawerContext),U0e;l0e===!1?U0e={distance:0}:l0e===!0?U0e={}:U0e=l0e||{};var X0e=($P=(t0e=(r0e=U0e)===null||r0e===void 0?void 0:r0e.distance)!==null&&t0e!==void 0?t0e:B0e==null?void 0:B0e.pushDistance)!==null&&$P!==void 0?$P:180,Z0e=reactExports.useMemo(function(){return{pushDistance:X0e,push:function(){G0e(!0)},pull:function(){G0e(!1)}}},[X0e]);reactExports.useEffect(function(){if(o0e){var s1e;B0e==null||(s1e=B0e.push)===null||s1e===void 0||s1e.call(B0e)}else{var g1e;B0e==null||(g1e=B0e.pull)===null||g1e===void 0||g1e.call(B0e)}},[o0e]),reactExports.useEffect(function(){return function(){var s1e;B0e==null||(s1e=B0e.pull)===null||s1e===void 0||s1e.call(B0e)}},[]);var e1e=A0e&&reactExports.createElement(CSSMotion,_extends$1z({key:"mask"},S0e,{visible:o0e}),function(s1e,g1e){var $1e=s1e.className,_1e=s1e.style;return reactExports.createElement("div",{className:cx$1("".concat(a0e,"-mask"),$1e,p0e==null?void 0:p0e.mask,C0e),style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},_1e),E0e),j0e==null?void 0:j0e.mask),onClick:$0e&&o0e?R0e:void 0,ref:g1e})}),n1e=typeof y0e=="function"?y0e(i0e):y0e,t1e={};if(Y0e&&X0e)switch(i0e){case"top":t1e.transform="translateY(".concat(X0e,"px)");break;case"bottom":t1e.transform="translateY(".concat(-X0e,"px)");break;case"left":t1e.transform="translateX(".concat(X0e,"px)");break;default:t1e.transform="translateX(".concat(-X0e,"px)");break}i0e==="left"||i0e==="right"?t1e.width=parseWidthHeight(M0e):t1e.height=parseWidthHeight(O0e);var r1e={onMouseEnter:T0e,onMouseOver:D0e,onMouseLeave:W0e,onClick:k0e,onKeyDown:q0e,onKeyUp:N0e},a1e=reactExports.createElement(CSSMotion,_extends$1z({key:"panel"},n1e,{visible:o0e,forceRender:c0e,onVisibleChanged:function(g1e){w0e==null||w0e(g1e)},removeOnLeave:!1,leavedClassName:"".concat(a0e,"-content-wrapper-hidden")}),function(s1e,g1e){var $1e=s1e.className,_1e=s1e.style;return reactExports.createElement("div",_extends$1z({className:cx$1("".concat(a0e,"-content-wrapper"),p0e==null?void 0:p0e.wrapper,$1e),style:_objectSpread2$1(_objectSpread2$1(_objectSpread2$1(_objectSpread2$1({},t1e),_1e),_0e),j0e==null?void 0:j0e.wrapper)},pickAttrs(x_,{data:!0})),reactExports.createElement(DrawerPanel$2,_extends$1z({id:v0e,containerRef:g1e,prefixCls:a0e,className:cx$1(m0e,p0e==null?void 0:p0e.content),style:_objectSpread2$1(_objectSpread2$1({},g0e),j0e==null?void 0:j0e.content)},r1e),z0e))}),l1e=_objectSpread2$1({},h0e);return b0e&&(l1e.zIndex=b0e),reactExports.createElement(DrawerContext.Provider,{value:Z0e},reactExports.createElement("div",{className:cx$1(a0e,"".concat(a0e,"-").concat(i0e),f0e,(n0e={},_defineProperty$5(n0e,"".concat(a0e,"-open"),o0e),_defineProperty$5(n0e,"".concat(a0e,"-inline"),s0e),n0e)),style:l1e,tabIndex:-1,ref:P0e,onKeyDown:V0e},e1e,reactExports.createElement("div",{tabIndex:0,ref:I0e,style:sentinelStyle,"aria-hidden":"true","data-sentinel":"start"}),a1e,reactExports.createElement("div",{tabIndex:0,ref:F0e,style:sentinelStyle,"aria-hidden":"true","data-sentinel":"end"})))}var RefDrawerPopup=reactExports.forwardRef(DrawerPopup),Drawer$4=function(e0e){var $P=e0e.open,t0e=$P===void 0?!1:$P,r0e=e0e.prefixCls,n0e=r0e===void 0?"rc-drawer":r0e,a0e=e0e.placement,o0e=a0e===void 0?"right":a0e,i0e=e0e.autoFocus,s0e=i0e===void 0?!0:i0e,l0e=e0e.keyboard,c0e=l0e===void 0?!0:l0e,u0e=e0e.width,d0e=u0e===void 0?378:u0e,p0e=e0e.mask,f0e=p0e===void 0?!0:p0e,h0e=e0e.maskClosable,b0e=h0e===void 0?!0:h0e,m0e=e0e.getContainer,v0e=e0e.forceRender,g0e=e0e.afterOpenChange,y0e=e0e.destroyOnClose,M0e=e0e.onMouseEnter,O0e=e0e.onMouseOver,z0e=e0e.onMouseLeave,_0e=e0e.onClick,A0e=e0e.onKeyDown,$0e=e0e.onKeyUp,S0e=e0e.panelRef,C0e=reactExports.useState(!1),E0e=_slicedToArray$3(C0e,2),w0e=E0e[0],R0e=E0e[1],T0e=reactExports.useState(!1),D0e=_slicedToArray$3(T0e,2),W0e=D0e[0],k0e=D0e[1];useLayoutEffect$2(function(){k0e(!0)},[]);var q0e=W0e?t0e:!1,N0e=reactExports.useRef(),j0e=reactExports.useRef();useLayoutEffect$2(function(){q0e&&(j0e.current=document.activeElement)},[q0e]);var P0e=function(Q0e){var Y0e;if(R0e(Q0e),g0e==null||g0e(Q0e),!Q0e&&j0e.current&&!((Y0e=N0e.current)!==null&&Y0e!==void 0&&Y0e.contains(j0e.current))){var G0e;(G0e=j0e.current)===null||G0e===void 0||G0e.focus({preventScroll:!0})}},I0e=reactExports.useMemo(function(){return{panel:S0e}},[S0e]);if(!v0e&&!w0e&&!q0e&&y0e)return null;var F0e={onMouseEnter:M0e,onMouseOver:O0e,onMouseLeave:z0e,onClick:_0e,onKeyDown:A0e,onKeyUp:$0e},V0e=_objectSpread2$1(_objectSpread2$1({},e0e),{},{open:q0e,prefixCls:n0e,placement:o0e,autoFocus:s0e,keyboard:c0e,width:d0e,mask:f0e,maskClosable:b0e,inline:m0e===!1,afterOpenChange:P0e,ref:N0e},F0e);return reactExports.createElement(RefContext.Provider,{value:I0e},reactExports.createElement(Portal$2,{open:q0e||v0e||w0e,autoDestroy:!1,getContainer:m0e,autoLock:f0e&&(q0e||w0e)},reactExports.createElement(RefDrawerPopup,V0e)))};const DrawerPanel=x_=>{var e0e,$P;const{prefixCls:t0e,title:r0e,footer:n0e,extra:a0e,closeIcon:o0e,closable:i0e,onClose:s0e,headerStyle:l0e,drawerStyle:c0e,bodyStyle:u0e,footerStyle:d0e,children:p0e,classNames:f0e,styles:h0e}=x_,{drawer:b0e}=reactExports.useContext(ConfigContext),m0e=reactExports.useCallback(O0e=>reactExports.createElement("button",{type:"button",onClick:s0e,"aria-label":"Close",className:`${t0e}-close`},O0e),[s0e]),[v0e,g0e]=useClosable(i0e,o0e,m0e,void 0,!0),y0e=reactExports.useMemo(()=>{var O0e,z0e;return!r0e&&!v0e?null:reactExports.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(O0e=b0e==null?void 0:b0e.styles)===null||O0e===void 0?void 0:O0e.header),l0e),h0e==null?void 0:h0e.header),className:cx$1(`${t0e}-header`,{[`${t0e}-header-close-only`]:v0e&&!r0e&&!a0e},(z0e=b0e==null?void 0:b0e.classNames)===null||z0e===void 0?void 0:z0e.header,f0e==null?void 0:f0e.header)},reactExports.createElement("div",{className:`${t0e}-header-title`},g0e,r0e&&reactExports.createElement("div",{className:`${t0e}-title`},r0e)),a0e&&reactExports.createElement("div",{className:`${t0e}-extra`},a0e))},[v0e,g0e,a0e,l0e,t0e,r0e]),M0e=reactExports.useMemo(()=>{var O0e,z0e;if(!n0e)return null;const _0e=`${t0e}-footer`;return reactExports.createElement("div",{className:cx$1(_0e,(O0e=b0e==null?void 0:b0e.classNames)===null||O0e===void 0?void 0:O0e.footer,f0e==null?void 0:f0e.footer),style:Object.assign(Object.assign(Object.assign({},(z0e=b0e==null?void 0:b0e.styles)===null||z0e===void 0?void 0:z0e.footer),d0e),h0e==null?void 0:h0e.footer)},n0e)},[n0e,d0e,t0e]);return reactExports.createElement("div",{className:`${t0e}-wrapper-body`,style:c0e},y0e,reactExports.createElement("div",{className:cx$1(`${t0e}-body`,f0e==null?void 0:f0e.body,(e0e=b0e==null?void 0:b0e.classNames)===null||e0e===void 0?void 0:e0e.body),style:Object.assign(Object.assign(Object.assign({},($P=b0e==null?void 0:b0e.styles)===null||$P===void 0?void 0:$P.body),u0e),h0e==null?void 0:h0e.body)},p0e),M0e)},DrawerPanel$1=DrawerPanel,genMotionStyle=x_=>{const{componentCls:e0e,motionDurationSlow:$P}=x_,t0e={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${$P}`}}};return{[e0e]:{[`${e0e}-mask-motion`]:{"&-enter, &-appear, &-leave":{"&-active":{transition:`all ${$P}`}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}},[`${e0e}-panel-motion`]:{"&-left":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[t0e,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}}}},genMotionStyle$1=genMotionStyle,genDrawerStyle=x_=>{const{componentCls:e0e,zIndexPopup:$P,colorBgMask:t0e,colorBgElevated:r0e,motionDurationSlow:n0e,motionDurationMid:a0e,padding:o0e,paddingLG:i0e,fontSizeLG:s0e,lineHeightLG:l0e,lineWidth:c0e,lineType:u0e,colorSplit:d0e,marginSM:p0e,colorIcon:f0e,colorIconHover:h0e,colorText:b0e,fontWeightStrong:m0e,footerPaddingBlock:v0e,footerPaddingInline:g0e}=x_,y0e=`${e0e}-content-wrapper`;return{[e0e]:{position:"fixed",inset:0,zIndex:$P,pointerEvents:"none","&-pure":{position:"relative",background:r0e,[`&${e0e}-left`]:{boxShadow:x_.boxShadowDrawerLeft},[`&${e0e}-right`]:{boxShadow:x_.boxShadowDrawerRight},[`&${e0e}-top`]:{boxShadow:x_.boxShadowDrawerUp},[`&${e0e}-bottom`]:{boxShadow:x_.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${e0e}-mask`]:{position:"absolute",inset:0,zIndex:$P,background:t0e,pointerEvents:"auto"},[y0e]:{position:"absolute",zIndex:$P,maxWidth:"100vw",transition:`all ${n0e}`,"&-hidden":{display:"none"}},[`&-left > ${y0e}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:x_.boxShadowDrawerLeft},[`&-right > ${y0e}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:x_.boxShadowDrawerRight},[`&-top > ${y0e}`]:{top:0,insetInline:0,boxShadow:x_.boxShadowDrawerUp},[`&-bottom > ${y0e}`]:{bottom:0,insetInline:0,boxShadow:x_.boxShadowDrawerDown},[`${e0e}-content`]:{width:"100%",height:"100%",overflow:"auto",background:r0e,pointerEvents:"auto"},[`${e0e}-wrapper-body`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%"},[`${e0e}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${unit$1(o0e)} ${unit$1(i0e)}`,fontSize:s0e,lineHeight:l0e,borderBottom:`${unit$1(c0e)} ${u0e} ${d0e}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${e0e}-extra`]:{flex:"none"},[`${e0e}-close`]:{display:"inline-block",marginInlineEnd:p0e,color:f0e,fontWeight:m0e,fontSize:s0e,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:`color ${a0e}`,textRendering:"auto","&:focus, &:hover":{color:h0e,textDecoration:"none"}},[`${e0e}-title`]:{flex:1,margin:0,color:b0e,fontWeight:x_.fontWeightStrong,fontSize:s0e,lineHeight:l0e},[`${e0e}-body`]:{flex:1,minWidth:0,minHeight:0,padding:i0e,overflow:"auto"},[`${e0e}-footer`]:{flexShrink:0,padding:`${unit$1(v0e)} ${unit$1(g0e)}`,borderTop:`${unit$1(c0e)} ${u0e} ${d0e}`},"&-rtl":{direction:"rtl"}}}},prepareComponentToken$5=x_=>({zIndexPopup:x_.zIndexPopupBase,footerPaddingBlock:x_.paddingXS,footerPaddingInline:x_.padding}),useStyle$5=genStyleHooks("Drawer",x_=>{const e0e=merge$2(x_,{});return[genDrawerStyle(e0e),genMotionStyle$1(e0e)]},prepareComponentToken$5);var __rest$c=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e;const{rootClassName:s0e,width:l0e,height:c0e,size:u0e="default",mask:d0e=!0,push:p0e=defaultPushState,open:f0e,afterOpenChange:h0e,onClose:b0e,prefixCls:m0e,getContainer:v0e,style:g0e,className:y0e,visible:M0e,afterVisibleChange:O0e}=x_,z0e=__rest$c(x_,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange"]),{getPopupContainer:_0e,getPrefixCls:A0e,direction:$0e,drawer:S0e}=reactExports.useContext(ConfigContext),C0e=A0e("drawer",m0e),[E0e,w0e]=useStyle$5(C0e),R0e=v0e===void 0&&_0e?()=>_0e(document.body):v0e,T0e=cx$1({"no-mask":!d0e,[`${C0e}-rtl`]:$0e==="rtl"},s0e,w0e),D0e=reactExports.useMemo(()=>l0e??(u0e==="large"?736:378),[l0e,u0e]),W0e=reactExports.useMemo(()=>c0e??(u0e==="large"?736:378),[c0e,u0e]),k0e={motionName:getTransitionName(C0e,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},q0e=I0e=>({motionName:getTransitionName(C0e,`panel-motion-${I0e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),N0e=usePanelRef(),[j0e,P0e]=useZIndex("Drawer",z0e.zIndex);return E0e(reactExports.createElement(NoCompactStyle,null,reactExports.createElement(NoFormStyle,{status:!0,override:!0},reactExports.createElement(zIndexContext$1.Provider,{value:P0e},reactExports.createElement(Drawer$4,Object.assign({prefixCls:C0e,onClose:b0e,maskMotion:k0e,motion:q0e},z0e,{classNames:{mask:cx$1((e0e=z0e.classNames)===null||e0e===void 0?void 0:e0e.mask,($P=S0e==null?void 0:S0e.classNames)===null||$P===void 0?void 0:$P.mask),content:cx$1((t0e=z0e.classNames)===null||t0e===void 0?void 0:t0e.content,(r0e=S0e==null?void 0:S0e.classNames)===null||r0e===void 0?void 0:r0e.content)},styles:{mask:Object.assign(Object.assign({},(n0e=z0e.styles)===null||n0e===void 0?void 0:n0e.mask),(a0e=S0e==null?void 0:S0e.styles)===null||a0e===void 0?void 0:a0e.mask),content:Object.assign(Object.assign({},(o0e=z0e.styles)===null||o0e===void 0?void 0:o0e.content),(i0e=S0e==null?void 0:S0e.styles)===null||i0e===void 0?void 0:i0e.content)},open:f0e??M0e,mask:d0e,push:p0e,width:D0e,height:W0e,style:Object.assign(Object.assign({},S0e==null?void 0:S0e.style),g0e),className:cx$1(S0e==null?void 0:S0e.className,y0e),rootClassName:T0e,getContainer:R0e,afterOpenChange:h0e??O0e,panelRef:N0e,zIndex:j0e}),reactExports.createElement(DrawerPanel$1,Object.assign({prefixCls:C0e},z0e,{onClose:b0e})))))))},PurePanel=x_=>{const{prefixCls:e0e,style:$P,className:t0e,placement:r0e="right"}=x_,n0e=__rest$c(x_,["prefixCls","style","className","placement"]),{getPrefixCls:a0e}=reactExports.useContext(ConfigContext),o0e=a0e("drawer",e0e),[i0e,s0e]=useStyle$5(o0e),l0e=cx$1(o0e,`${o0e}-pure`,`${o0e}-${r0e}`,s0e,t0e);return i0e(reactExports.createElement("div",{className:l0e,style:$P},reactExports.createElement(DrawerPanel$1,Object.assign({prefixCls:o0e},n0e))))};Drawer$2._InternalPanelDoNotUseOrYouWillBeFired=PurePanel;const Drawer$3=Drawer$2;function isPresetSize(x_){return["small","middle","large"].includes(x_)}function isValidGapNumber(x_){return x_?typeof x_=="number"&&!Number.isNaN(x_):!1}const SpaceContext=React$1.createContext({latestIndex:0}),SpaceContextProvider=SpaceContext.Provider,Item$3=x_=>{let{className:e0e,index:$P,children:t0e,split:r0e,style:n0e}=x_;const{latestIndex:a0e}=reactExports.useContext(SpaceContext);return t0e==null?null:reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",{className:e0e,style:n0e},t0e),$P{var $P,t0e;const{getPrefixCls:r0e,space:n0e,direction:a0e}=reactExports.useContext(ConfigContext),{size:o0e=(n0e==null?void 0:n0e.size)||"small",align:i0e,className:s0e,rootClassName:l0e,children:c0e,direction:u0e="horizontal",prefixCls:d0e,split:p0e,style:f0e,wrap:h0e=!1,classNames:b0e,styles:m0e}=x_,v0e=__rest$b(x_,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[g0e,y0e]=Array.isArray(o0e)?o0e:[o0e,o0e],M0e=isPresetSize(y0e),O0e=isPresetSize(g0e),z0e=isValidGapNumber(y0e),_0e=isValidGapNumber(g0e),A0e=toArray$6(c0e,{keepEmpty:!0}),$0e=i0e===void 0&&u0e==="horizontal"?"center":i0e,S0e=r0e("space",d0e),[C0e,E0e]=useStyle$p(S0e),w0e=cx$1(S0e,n0e==null?void 0:n0e.className,E0e,`${S0e}-${u0e}`,{[`${S0e}-rtl`]:a0e==="rtl",[`${S0e}-align-${$0e}`]:$0e,[`${S0e}-gap-row-${y0e}`]:M0e,[`${S0e}-gap-col-${g0e}`]:O0e},s0e,l0e),R0e=cx$1(`${S0e}-item`,($P=b0e==null?void 0:b0e.item)!==null&&$P!==void 0?$P:(t0e=n0e==null?void 0:n0e.classNames)===null||t0e===void 0?void 0:t0e.item);let T0e=0;const D0e=A0e.map((q0e,N0e)=>{var j0e,P0e;q0e!=null&&(T0e=N0e);const I0e=q0e&&q0e.key||`${R0e}-${N0e}`;return reactExports.createElement(Item$4,{className:R0e,key:I0e,index:N0e,split:p0e,style:(j0e=m0e==null?void 0:m0e.item)!==null&&j0e!==void 0?j0e:(P0e=n0e==null?void 0:n0e.styles)===null||P0e===void 0?void 0:P0e.item},q0e)}),W0e=reactExports.useMemo(()=>({latestIndex:T0e}),[T0e]);if(A0e.length===0)return null;const k0e={};return h0e&&(k0e.flexWrap="wrap"),!O0e&&_0e&&(k0e.columnGap=g0e),!M0e&&z0e&&(k0e.rowGap=y0e),C0e(reactExports.createElement("div",Object.assign({ref:e0e,className:w0e,style:Object.assign(Object.assign(Object.assign({},k0e),n0e==null?void 0:n0e.style),f0e)},v0e),reactExports.createElement(SpaceContextProvider,{value:W0e},D0e)))}),CompoundedSpace=Space;CompoundedSpace.Compact=Compact$1;const Space$1=CompoundedSpace;var __rest$a=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{getPopupContainer:e0e,getPrefixCls:$P,direction:t0e}=reactExports.useContext(ConfigContext),{prefixCls:r0e,type:n0e="default",danger:a0e,disabled:o0e,loading:i0e,onClick:s0e,htmlType:l0e,children:c0e,className:u0e,menu:d0e,arrow:p0e,autoFocus:f0e,overlay:h0e,trigger:b0e,align:m0e,open:v0e,onOpenChange:g0e,placement:y0e,getPopupContainer:M0e,href:O0e,icon:z0e=reactExports.createElement(EllipsisOutlined$1,null),title:_0e,buttonsRender:A0e=H0e=>H0e,mouseEnterDelay:$0e,mouseLeaveDelay:S0e,overlayClassName:C0e,overlayStyle:E0e,destroyPopupOnHide:w0e,dropdownRender:R0e}=x_,T0e=__rest$a(x_,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),D0e=$P("dropdown",r0e),W0e=`${D0e}-button`,k0e={menu:d0e,arrow:p0e,autoFocus:f0e,align:m0e,disabled:o0e,trigger:o0e?[]:b0e,onOpenChange:g0e,getPopupContainer:M0e||e0e,mouseEnterDelay:$0e,mouseLeaveDelay:S0e,overlayClassName:C0e,overlayStyle:E0e,destroyPopupOnHide:w0e,dropdownRender:R0e},{compactSize:q0e,compactItemClassnames:N0e}=useCompactItemContext(D0e,t0e),j0e=cx$1(W0e,N0e,u0e);"overlay"in x_&&(k0e.overlay=h0e),"open"in x_&&(k0e.open=v0e),"placement"in x_?k0e.placement=y0e:k0e.placement=t0e==="rtl"?"bottomLeft":"bottomRight";const P0e=reactExports.createElement(Button$4,{type:n0e,danger:a0e,disabled:o0e,loading:i0e,onClick:s0e,htmlType:l0e,href:O0e,title:_0e},c0e),I0e=reactExports.createElement(Button$4,{type:n0e,danger:a0e,icon:z0e}),[F0e,V0e]=A0e([P0e,I0e]);return reactExports.createElement(Space$1.Compact,Object.assign({className:j0e,size:q0e,block:!0},T0e),F0e,reactExports.createElement(InternalDropdown,Object.assign({},k0e),V0e))};DropdownButton.__ANT_BUTTON=!0;const DropdownButton$1=DropdownButton,Dropdown=InternalDropdown;Dropdown.Button=DropdownButton$1;const Dropdown$1=Dropdown;function useDebounce(x_){const[e0e,$P]=reactExports.useState(x_);return reactExports.useEffect(()=>{const t0e=setTimeout(()=>{$P(x_)},x_.length?0:10);return()=>{clearTimeout(t0e)}},[x_]),e0e}const genFormValidateMotionStyle=x_=>{const{componentCls:e0e}=x_,$P=`${e0e}-show-help`,t0e=`${e0e}-show-help-item`;return{[$P]:{transition:`opacity ${x_.motionDurationSlow} ${x_.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[t0e]:{overflow:"hidden",transition:`height ${x_.motionDurationSlow} ${x_.motionEaseInOut}, opacity ${x_.motionDurationSlow} ${x_.motionEaseInOut}, transform ${x_.motionDurationSlow} ${x_.motionEaseInOut} !important`,[`&${t0e}-appear, &${t0e}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${t0e}-leave-active`]:{transform:"translateY(-5px)"}}}}},genFormValidateMotionStyle$1=genFormValidateMotionStyle,resetForm=x_=>({legend:{display:"block",width:"100%",marginBottom:x_.marginLG,padding:0,color:x_.colorTextDescription,fontSize:x_.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${unit$1(x_.lineWidth)} ${x_.lineType} ${x_.colorBorder}`},label:{fontSize:x_.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${unit$1(x_.controlOutlineWidth)} ${x_.controlOutline}`},output:{display:"block",paddingTop:15,color:x_.colorText,fontSize:x_.fontSize,lineHeight:x_.lineHeight}}),genFormSize=(x_,e0e)=>{const{formItemCls:$P}=x_;return{[$P]:{[`${$P}-label > label`]:{height:e0e},[`${$P}-control-input`]:{minHeight:e0e}}}},genFormStyle=x_=>{const{componentCls:e0e}=x_;return{[x_.componentCls]:Object.assign(Object.assign(Object.assign({},resetComponent(x_)),resetForm(x_)),{[`${e0e}-text`]:{display:"inline-block",paddingInlineEnd:x_.paddingSM},"&-small":Object.assign({},genFormSize(x_,x_.controlHeightSM)),"&-large":Object.assign({},genFormSize(x_,x_.controlHeightLG))})}},genFormItemStyle=x_=>{const{formItemCls:e0e,iconCls:$P,componentCls:t0e,rootPrefixCls:r0e,labelRequiredMarkColor:n0e,labelColor:a0e,labelFontSize:o0e,labelHeight:i0e,labelColonMarginInlineStart:s0e,labelColonMarginInlineEnd:l0e,itemMarginBottom:c0e}=x_;return{[e0e]:Object.assign(Object.assign({},resetComponent(x_)),{marginBottom:c0e,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden.${r0e}-row`]:{display:"none"},"&-has-warning":{[`${e0e}-split`]:{color:x_.colorError}},"&-has-error":{[`${e0e}-split`]:{color:x_.colorWarning}},[`${e0e}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:x_.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:i0e,color:a0e,fontSize:o0e,[`> ${$P}`]:{fontSize:x_.fontSize,verticalAlign:"top"},[`&${e0e}-required:not(${e0e}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:x_.marginXXS,color:n0e,fontSize:x_.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${t0e}-hide-required-mark &`]:{display:"none"}},[`${e0e}-optional`]:{display:"inline-block",marginInlineStart:x_.marginXXS,color:x_.colorTextDescription,[`${t0e}-hide-required-mark &`]:{display:"none"}},[`${e0e}-tooltip`]:{color:x_.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:x_.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:s0e,marginInlineEnd:l0e},[`&${e0e}-no-colon::after`]:{content:'"\\a0"'}}},[`${e0e}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${r0e}-col-'"]):not([class*="' ${r0e}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:x_.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[e0e]:{"&-explain, &-extra":{clear:"both",color:x_.colorTextDescription,fontSize:x_.fontSize,lineHeight:x_.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:x_.controlHeightSM,transition:`color ${x_.motionDurationMid} ${x_.motionEaseOut}`},"&-explain":{"&-error":{color:x_.colorError},"&-warning":{color:x_.colorWarning}}},[`&-with-help ${e0e}-explain`]:{height:"auto",opacity:1},[`${e0e}-feedback-icon`]:{fontSize:x_.fontSize,textAlign:"center",visibility:"visible",animationName:zoomIn,animationDuration:x_.motionDurationMid,animationTimingFunction:x_.motionEaseOutBack,pointerEvents:"none","&-success":{color:x_.colorSuccess},"&-error":{color:x_.colorError},"&-warning":{color:x_.colorWarning},"&-validating":{color:x_.colorPrimary}}})}},genHorizontalStyle=x_=>{const{componentCls:e0e,formItemCls:$P}=x_;return{[`${e0e}-horizontal`]:{[`${$P}-label`]:{flexGrow:0},[`${$P}-control`]:{flex:"1 1 0",minWidth:0},[`${$P}-label[class$='-24'], ${$P}-label[class*='-24 ']`]:{[`& + ${$P}-control`]:{minWidth:"unset"}}}}},genInlineStyle=x_=>{const{componentCls:e0e,formItemCls:$P}=x_;return{[`${e0e}-inline`]:{display:"flex",flexWrap:"wrap",[$P]:{flex:"none",marginInlineEnd:x_.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${$P}-label, > ${$P}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${$P}-label`]:{flex:"none"},[`${e0e}-text`]:{display:"inline-block"},[`${$P}-has-feedback`]:{display:"inline-block"}}}}},makeVerticalLayoutLabel=x_=>({padding:x_.verticalLabelPadding,margin:x_.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),makeVerticalLayout=x_=>{const{componentCls:e0e,formItemCls:$P,rootPrefixCls:t0e}=x_;return{[`${$P} ${$P}-label`]:makeVerticalLayoutLabel(x_),[`${e0e}:not(${e0e}-inline)`]:{[$P]:{flexWrap:"wrap",[`${$P}-label, ${$P}-control`]:{[`&:not([class*=" ${t0e}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},genVerticalStyle=x_=>{const{componentCls:e0e,formItemCls:$P,rootPrefixCls:t0e}=x_;return{[`${e0e}-vertical`]:{[$P]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${e0e}-item-control`]:{width:"100%"}}},[`${e0e}-vertical ${$P}-label, .${t0e}-col-24${$P}-label, - .${t0e}-col-xl-24${$P}-label`]:makeVerticalLayoutLabel(x_),[`@media (max-width: ${unit$1(x_.screenXSMax)})`]:[makeVerticalLayout(x_),{[e0e]:{[`.${t0e}-col-xs-24${$P}-label`]:makeVerticalLayoutLabel(x_)}}],[`@media (max-width: ${unit$1(x_.screenSMMax)})`]:{[e0e]:{[`.${t0e}-col-sm-24${$P}-label`]:makeVerticalLayoutLabel(x_)}},[`@media (max-width: ${unit$1(x_.screenMDMax)})`]:{[e0e]:{[`.${t0e}-col-md-24${$P}-label`]:makeVerticalLayoutLabel(x_)}},[`@media (max-width: ${unit$1(x_.screenLGMax)})`]:{[e0e]:{[`.${t0e}-col-lg-24${$P}-label`]:makeVerticalLayoutLabel(x_)}}}},prepareComponentToken$4=x_=>({labelRequiredMarkColor:x_.colorError,labelColor:x_.colorTextHeading,labelFontSize:x_.fontSize,labelHeight:x_.controlHeight,labelColonMarginInlineStart:x_.marginXXS/2,labelColonMarginInlineEnd:x_.marginXS,itemMarginBottom:x_.marginLG,verticalLabelPadding:`0 0 ${x_.paddingXS}px`,verticalLabelMargin:0}),prepareToken=(x_,e0e)=>merge$2(x_,{formItemCls:`${x_.componentCls}-item`,rootPrefixCls:e0e}),useStyle$4=genStyleHooks("Form",(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=prepareToken(x_,$P);return[genFormStyle(t0e),genFormItemStyle(t0e),genFormValidateMotionStyle$1(t0e),genHorizontalStyle(t0e),genInlineStyle(t0e),genVerticalStyle(t0e),genCollapseMotion$1(t0e),zoomIn]},prepareComponentToken$4,{order:-1e3}),EMPTY_LIST$1=[];function toErrorEntity(x_,e0e,$P){let t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof x_=="string"?x_:`${e0e}-${t0e}`,error:x_,errorStatus:$P}}const ErrorList=x_=>{let{help:e0e,helpStatus:$P,errors:t0e=EMPTY_LIST$1,warnings:r0e=EMPTY_LIST$1,className:n0e,fieldId:a0e,onVisibleChanged:o0e}=x_;const{prefixCls:i0e}=reactExports.useContext(FormItemPrefixContext),s0e=`${i0e}-item-explain`,l0e=useCSSVarCls$1(i0e),[c0e,u0e]=useStyle$4(i0e,l0e),d0e=reactExports.useMemo(()=>initCollapseMotion$1(i0e),[i0e]),p0e=useDebounce(t0e),f0e=useDebounce(r0e),h0e=reactExports.useMemo(()=>e0e!=null?[toErrorEntity(e0e,"help",$P)]:[].concat(_toConsumableArray$2(p0e.map((m0e,v0e)=>toErrorEntity(m0e,"error","error",v0e))),_toConsumableArray$2(f0e.map((m0e,v0e)=>toErrorEntity(m0e,"warning","warning",v0e)))),[e0e,$P,p0e,f0e]),b0e={};return a0e&&(b0e.id=`${a0e}_help`),c0e(reactExports.createElement(CSSMotion,{motionDeadline:d0e.motionDeadline,motionName:`${i0e}-show-help`,visible:!!h0e.length,onVisibleChanged:o0e},m0e=>{const{className:v0e,style:g0e}=m0e;return reactExports.createElement("div",Object.assign({},b0e,{className:cx$1(s0e,v0e,l0e,n0e,u0e),style:g0e,role:"alert"}),reactExports.createElement(CSSMotionList,Object.assign({keys:h0e},initCollapseMotion$1(i0e),{motionName:`${i0e}-show-help-item`,component:!1}),y0e=>{const{key:M0e,error:O0e,errorStatus:z0e,className:_0e,style:A0e}=y0e;return reactExports.createElement("div",{key:M0e,className:cx$1(_0e,{[`${s0e}-${z0e}`]:z0e}),style:A0e},O0e)}))}))},ErrorList$1=ErrorList,formItemNameBlackList=["parentNode"],defaultItemNamePrefixCls="form_item";function toArray$2(x_){return x_===void 0||x_===!1?[]:Array.isArray(x_)?x_:[x_]}function getFieldId(x_,e0e){if(!x_.length)return;const $P=x_.join("_");return e0e?`${e0e}_${$P}`:formItemNameBlackList.includes($P)?`${defaultItemNamePrefixCls}_${$P}`:$P}function getStatus(x_,e0e,$P,t0e,r0e,n0e){let a0e=t0e;return n0e!==void 0?a0e=n0e:$P.validating?a0e="validating":x_.length?a0e="error":e0e.length?a0e="warning":($P.touched||r0e&&$P.validated)&&(a0e="success"),a0e}function toNamePathStr(x_){return toArray$2(x_).join("_")}function useForm$1(x_){const[e0e]=useForm$2(),$P=reactExports.useRef({}),t0e=reactExports.useMemo(()=>x_??Object.assign(Object.assign({},e0e),{__INTERNAL__:{itemRef:r0e=>n0e=>{const a0e=toNamePathStr(r0e);n0e?$P.current[a0e]=n0e:delete $P.current[a0e]}},scrollToField:function(r0e){let n0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a0e=toArray$2(r0e),o0e=getFieldId(a0e,t0e.__INTERNAL__.name),i0e=o0e?document.getElementById(o0e):null;i0e&&e$2(i0e,Object.assign({scrollMode:"if-needed",block:"nearest"},n0e))},getFieldInstance:r0e=>{const n0e=toNamePathStr(r0e);return $P.current[n0e]}}),[x_,e0e]);return[t0e]}var __rest$9=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const $P=reactExports.useContext(DisabledContext$1),{getPrefixCls:t0e,direction:r0e,form:n0e}=reactExports.useContext(ConfigContext),{prefixCls:a0e,className:o0e,rootClassName:i0e,size:s0e,disabled:l0e=$P,form:c0e,colon:u0e,labelAlign:d0e,labelWrap:p0e,labelCol:f0e,wrapperCol:h0e,hideRequiredMark:b0e,layout:m0e="horizontal",scrollToFirstError:v0e,requiredMark:g0e,onFinishFailed:y0e,name:M0e,style:O0e,feedbackIcons:z0e}=x_,_0e=__rest$9(x_,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),A0e=useSize$1(s0e),$0e=reactExports.useContext(ValidateMessagesContext),S0e=reactExports.useMemo(()=>g0e!==void 0?g0e:b0e?!1:n0e&&n0e.requiredMark!==void 0?n0e.requiredMark:!0,[b0e,g0e,n0e]),C0e=u0e??(n0e==null?void 0:n0e.colon),E0e=t0e("form",a0e),w0e=useCSSVarCls$1(E0e),[R0e,T0e]=useStyle$4(E0e,w0e),D0e=cx$1(E0e,`${E0e}-${m0e}`,{[`${E0e}-hide-required-mark`]:S0e===!1,[`${E0e}-rtl`]:r0e==="rtl",[`${E0e}-${A0e}`]:A0e},w0e,T0e,n0e==null?void 0:n0e.className,o0e,i0e),[W0e]=useForm$1(c0e),{__INTERNAL__:k0e}=W0e;k0e.name=M0e;const q0e=reactExports.useMemo(()=>({name:M0e,labelAlign:d0e,labelCol:f0e,labelWrap:p0e,wrapperCol:h0e,vertical:m0e==="vertical",colon:C0e,requiredMark:S0e,itemRef:k0e.itemRef,form:W0e,feedbackIcons:z0e}),[M0e,d0e,f0e,h0e,m0e,C0e,S0e,W0e,z0e]);reactExports.useImperativeHandle(e0e,()=>W0e);const N0e=(P0e,I0e)=>{if(P0e){let F0e={block:"nearest"};typeof P0e=="object"&&(F0e=P0e),W0e.scrollToField(I0e,F0e)}},j0e=P0e=>{if(y0e==null||y0e(P0e),P0e.errorFields.length){const I0e=P0e.errorFields[0].name;if(v0e!==void 0){N0e(v0e,I0e);return}n0e&&n0e.scrollToFirstError!==void 0&&N0e(n0e.scrollToFirstError,I0e)}};return R0e(reactExports.createElement(DisabledContextProvider,{disabled:l0e},reactExports.createElement(SizeContext$1.Provider,{value:A0e},reactExports.createElement(FormProvider$1,{validateMessages:$0e},reactExports.createElement(FormContext.Provider,{value:q0e},reactExports.createElement(RefForm,Object.assign({id:M0e},_0e,{name:M0e,onFinishFailed:j0e,form:W0e,style:Object.assign(Object.assign({},n0e==null?void 0:n0e.style),O0e),className:D0e})))))))},Form$5=reactExports.forwardRef(InternalForm),InternalForm$1=Form$5;function useChildren(x_){if(typeof x_=="function")return x_;const e0e=toArray$6(x_);return e0e.length<=1?e0e[0]:e0e}const useFormItemStatus=()=>{const{status:x_,errors:e0e=[],warnings:$P=[]}=reactExports.useContext(FormItemInputContext);return{status:x_,errors:e0e,warnings:$P}};useFormItemStatus.Context=FormItemInputContext;const useFormItemStatus$1=useFormItemStatus;function useFrameState(x_){const[e0e,$P]=reactExports.useState(x_),t0e=reactExports.useRef(null),r0e=reactExports.useRef([]),n0e=reactExports.useRef(!1);reactExports.useEffect(()=>(n0e.current=!1,()=>{n0e.current=!0,wrapperRaf$1.cancel(t0e.current),t0e.current=null}),[]);function a0e(o0e){n0e.current||(t0e.current===null&&(r0e.current=[],t0e.current=wrapperRaf$1(()=>{t0e.current=null,$P(i0e=>{let s0e=i0e;return r0e.current.forEach(l0e=>{s0e=l0e(s0e)}),s0e})})),r0e.current.push(o0e))}return[e0e,a0e]}function useItemRef(){const{itemRef:x_}=reactExports.useContext(FormContext),e0e=reactExports.useRef({});function $P(t0e,r0e){const n0e=r0e&&typeof r0e=="object"&&r0e.ref,a0e=t0e.join("_");return(e0e.current.name!==a0e||e0e.current.originRef!==n0e)&&(e0e.current.name=a0e,e0e.current.originRef=n0e,e0e.current.ref=composeRef$1(x_(t0e),n0e)),e0e.current.ref}return $P}const genFallbackStyle=x_=>{const{formItemCls:e0e}=x_;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${e0e}-control`]:{display:"flex"}}}},FallbackCmp=genSubStyleComponent(["Form","item-item"],(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=prepareToken(x_,$P);return[genFallbackStyle(t0e)]}),FormItemInput=x_=>{const{prefixCls:e0e,status:$P,wrapperCol:t0e,children:r0e,errors:n0e,warnings:a0e,_internalItemRender:o0e,extra:i0e,help:s0e,fieldId:l0e,marginBottom:c0e,onErrorVisibleChanged:u0e}=x_,d0e=`${e0e}-item`,p0e=reactExports.useContext(FormContext),f0e=t0e||p0e.wrapperCol||{},h0e=cx$1(`${d0e}-control`,f0e.className),b0e=reactExports.useMemo(()=>Object.assign({},p0e),[p0e]);delete b0e.labelCol,delete b0e.wrapperCol;const m0e=reactExports.createElement("div",{className:`${d0e}-control-input`},reactExports.createElement("div",{className:`${d0e}-control-input-content`},r0e)),v0e=reactExports.useMemo(()=>({prefixCls:e0e,status:$P}),[e0e,$P]),g0e=c0e!==null||n0e.length||a0e.length?reactExports.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},reactExports.createElement(FormItemPrefixContext.Provider,{value:v0e},reactExports.createElement(ErrorList$1,{fieldId:l0e,errors:n0e,warnings:a0e,help:s0e,helpStatus:$P,className:`${d0e}-explain-connected`,onVisibleChanged:u0e})),!!c0e&&reactExports.createElement("div",{style:{width:0,height:c0e}})):null,y0e={};l0e&&(y0e.id=`${l0e}_extra`);const M0e=i0e?reactExports.createElement("div",Object.assign({},y0e,{className:`${d0e}-extra`}),i0e):null,O0e=o0e&&o0e.mark==="pro_table_render"&&o0e.render?o0e.render(x_,{input:m0e,errorList:g0e,extra:M0e}):reactExports.createElement(reactExports.Fragment,null,m0e,g0e,M0e);return reactExports.createElement(FormContext.Provider,{value:b0e},reactExports.createElement(Col$1,Object.assign({},f0e,{className:h0e}),O0e),reactExports.createElement(FallbackCmp,{prefixCls:e0e}))},FormItemInput$1=FormItemInput;var QuestionCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const QuestionCircleOutlinedSvg=QuestionCircleOutlined$2;var QuestionCircleOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:QuestionCircleOutlinedSvg}))};const QuestionCircleOutlined$1=reactExports.forwardRef(QuestionCircleOutlined);var __rest$8=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{prefixCls:e0e,label:$P,htmlFor:t0e,labelCol:r0e,labelAlign:n0e,colon:a0e,required:o0e,requiredMark:i0e,tooltip:s0e}=x_;var l0e;const[c0e]=useLocale$1("Form"),{vertical:u0e,labelAlign:d0e,labelCol:p0e,labelWrap:f0e,colon:h0e}=reactExports.useContext(FormContext);if(!$P)return null;const b0e=r0e||p0e||{},m0e=n0e||d0e,v0e=`${e0e}-item-label`,g0e=cx$1(v0e,m0e==="left"&&`${v0e}-left`,b0e.className,{[`${v0e}-wrap`]:!!f0e});let y0e=$P;const M0e=a0e===!0||h0e!==!1&&a0e!==!1;M0e&&!u0e&&typeof $P=="string"&&$P.trim()!==""&&(y0e=$P.replace(/[:|:]\s*$/,""));const z0e=toTooltipProps(s0e);if(z0e){const{icon:S0e=reactExports.createElement(QuestionCircleOutlined$1,null)}=z0e,C0e=__rest$8(z0e,["icon"]),E0e=reactExports.createElement(Tooltip$3,Object.assign({},C0e),reactExports.cloneElement(S0e,{className:`${e0e}-item-tooltip`,title:"",onClick:w0e=>{w0e.preventDefault()},tabIndex:null}));y0e=reactExports.createElement(reactExports.Fragment,null,y0e,E0e)}const _0e=i0e==="optional",A0e=typeof i0e=="function";A0e?y0e=i0e(y0e,{required:!!o0e}):_0e&&!o0e&&(y0e=reactExports.createElement(reactExports.Fragment,null,y0e,reactExports.createElement("span",{className:`${e0e}-item-optional`,title:""},(c0e==null?void 0:c0e.optional)||((l0e=defaultLocale$1.Form)===null||l0e===void 0?void 0:l0e.optional))));const $0e=cx$1({[`${e0e}-item-required`]:o0e,[`${e0e}-item-required-mark-optional`]:_0e||A0e,[`${e0e}-item-no-colon`]:!M0e});return reactExports.createElement(Col$1,Object.assign({},b0e,{className:g0e}),reactExports.createElement("label",{htmlFor:t0e,className:$0e,title:typeof $P=="string"?$P:""},y0e))},FormItemLabel$1=FormItemLabel,iconMap={success:CheckCircleFilled$1,warning:ExclamationCircleFilled$1,error:CloseCircleFilled$1,validating:LoadingOutlined$1};function StatusProvider(x_){let{children:e0e,errors:$P,warnings:t0e,hasFeedback:r0e,validateStatus:n0e,prefixCls:a0e,meta:o0e,noStyle:i0e}=x_;const s0e=`${a0e}-item`,{feedbackIcons:l0e}=reactExports.useContext(FormContext),c0e=getStatus($P,t0e,o0e,null,!!r0e,n0e),{isFormItemInput:u0e,status:d0e,hasFeedback:p0e,feedbackIcon:f0e}=reactExports.useContext(FormItemInputContext),h0e=reactExports.useMemo(()=>{var b0e;let m0e;if(r0e){const g0e=r0e!==!0&&r0e.icons||l0e,y0e=c0e&&((b0e=g0e==null?void 0:g0e({status:c0e,errors:$P,warnings:t0e}))===null||b0e===void 0?void 0:b0e[c0e]),M0e=c0e&&iconMap[c0e];m0e=y0e!==!1&&M0e?reactExports.createElement("span",{className:cx$1(`${s0e}-feedback-icon`,`${s0e}-feedback-icon-${c0e}`)},y0e||reactExports.createElement(M0e,null)):null}const v0e={status:c0e||"",errors:$P,warnings:t0e,hasFeedback:!!r0e,feedbackIcon:m0e,isFormItemInput:!0};return i0e&&(v0e.status=(c0e??d0e)||"",v0e.isFormItemInput=u0e,v0e.hasFeedback=!!(r0e??p0e),v0e.feedbackIcon=r0e!==void 0?v0e.feedbackIcon:f0e),v0e},[c0e,r0e,i0e,u0e,d0e]);return reactExports.createElement(FormItemInputContext.Provider,{value:h0e},e0e)}var __rest$7=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(z0e&&g0e.current){const R0e=getComputedStyle(g0e.current);$0e(parseInt(R0e.marginBottom,10))}},[z0e,_0e]);const S0e=R0e=>{R0e||$0e(null)},E0e=function(){let R0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const T0e=R0e?y0e:s0e.errors,D0e=R0e?M0e:s0e.warnings;return getStatus(T0e,D0e,s0e,"",!!l0e,i0e)}(),w0e=cx$1(m0e,$P,t0e,{[`${m0e}-with-help`]:O0e||y0e.length||M0e.length,[`${m0e}-has-feedback`]:E0e&&l0e,[`${m0e}-has-success`]:E0e==="success",[`${m0e}-has-warning`]:E0e==="warning",[`${m0e}-has-error`]:E0e==="error",[`${m0e}-is-validating`]:E0e==="validating",[`${m0e}-hidden`]:c0e});return reactExports.createElement("div",{className:w0e,style:r0e,ref:g0e},reactExports.createElement(Row$3,Object.assign({className:`${m0e}-row`},omit$2(b0e,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),reactExports.createElement(FormItemLabel$1,Object.assign({htmlFor:d0e},x_,{requiredMark:v0e,required:p0e??f0e,prefixCls:e0e})),reactExports.createElement(FormItemInput$1,Object.assign({},x_,s0e,{errors:y0e,warnings:M0e,prefixCls:e0e,status:E0e,help:n0e,marginBottom:A0e,onErrorVisibleChanged:S0e}),reactExports.createElement(NoStyleItemContext.Provider,{value:h0e},reactExports.createElement(StatusProvider,{prefixCls:e0e,meta:s0e,errors:s0e.errors,warnings:s0e.warnings,hasFeedback:l0e,validateStatus:E0e},u0e)))),!!A0e&&reactExports.createElement("div",{className:`${m0e}-margin-offset`,style:{marginBottom:-A0e}}))}const NAME_SPLIT="__SPLIT__",MemoInput=reactExports.memo(x_=>{let{children:e0e}=x_;return e0e},(x_,e0e)=>x_.value===e0e.value&&x_.update===e0e.update&&x_.childProps.length===e0e.childProps.length&&x_.childProps.every(($P,t0e)=>$P===e0e.childProps[t0e]));function genEmptyMeta(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function InternalFormItem(x_){const{name:e0e,noStyle:$P,className:t0e,dependencies:r0e,prefixCls:n0e,shouldUpdate:a0e,rules:o0e,children:i0e,required:s0e,label:l0e,messageVariables:c0e,trigger:u0e="onChange",validateTrigger:d0e,hidden:p0e,help:f0e}=x_,{getPrefixCls:h0e}=reactExports.useContext(ConfigContext),{name:b0e}=reactExports.useContext(FormContext),m0e=useChildren(i0e),v0e=typeof m0e=="function",g0e=reactExports.useContext(NoStyleItemContext),{validateTrigger:y0e}=reactExports.useContext(Context$1),M0e=d0e!==void 0?d0e:y0e,O0e=e0e!=null,z0e=h0e("form",n0e),_0e=useCSSVarCls$1(z0e),[A0e,$0e]=useStyle$4(z0e,_0e);devUseWarning();const S0e=reactExports.useContext(ListContext),C0e=reactExports.useRef(),[E0e,w0e]=useFrameState({}),[R0e,T0e]=useSafeState(()=>genEmptyMeta()),D0e=I0e=>{const F0e=S0e==null?void 0:S0e.getKey(I0e.name);if(T0e(I0e.destroy?genEmptyMeta():I0e,!0),$P&&f0e!==!1&&g0e){let V0e=I0e.name;if(I0e.destroy)V0e=C0e.current||V0e;else if(F0e!==void 0){const[H0e,Q0e]=F0e;V0e=[H0e].concat(_toConsumableArray$2(Q0e)),C0e.current=V0e}g0e(I0e,V0e)}},W0e=(I0e,F0e)=>{w0e(V0e=>{const H0e=Object.assign({},V0e),Y0e=[].concat(_toConsumableArray$2(I0e.name.slice(0,-1)),_toConsumableArray$2(F0e)).join(NAME_SPLIT);return I0e.destroy?delete H0e[Y0e]:H0e[Y0e]=I0e,H0e})},[k0e,q0e]=reactExports.useMemo(()=>{const I0e=_toConsumableArray$2(R0e.errors),F0e=_toConsumableArray$2(R0e.warnings);return Object.values(E0e).forEach(V0e=>{I0e.push.apply(I0e,_toConsumableArray$2(V0e.errors||[])),F0e.push.apply(F0e,_toConsumableArray$2(V0e.warnings||[]))}),[I0e,F0e]},[E0e,R0e.errors,R0e.warnings]),N0e=useItemRef();function j0e(I0e,F0e,V0e){return $P&&!p0e?reactExports.createElement(StatusProvider,{prefixCls:z0e,hasFeedback:x_.hasFeedback,validateStatus:x_.validateStatus,meta:R0e,errors:k0e,warnings:q0e,noStyle:!0},I0e):reactExports.createElement(ItemHolder,Object.assign({key:"row"},x_,{className:cx$1(t0e,_0e,$0e),prefixCls:z0e,fieldId:F0e,isRequired:V0e,errors:k0e,warnings:q0e,meta:R0e,onSubItemMetaChange:W0e}),I0e)}if(!O0e&&!v0e&&!r0e)return A0e(j0e(m0e));let P0e={};return typeof l0e=="string"?P0e.label=l0e:e0e&&(P0e.label=String(e0e)),c0e&&(P0e=Object.assign(Object.assign({},P0e),c0e)),A0e(reactExports.createElement(WrapperField,Object.assign({},x_,{messageVariables:P0e,trigger:u0e,validateTrigger:M0e,onMetaChange:D0e}),(I0e,F0e,V0e)=>{const H0e=toArray$2(e0e).length&&F0e?F0e.name:[],Q0e=getFieldId(H0e,b0e),Y0e=s0e!==void 0?s0e:!!(o0e&&o0e.some(U0e=>{if(U0e&&typeof U0e=="object"&&U0e.required&&!U0e.warningOnly)return!0;if(typeof U0e=="function"){const X0e=U0e(V0e);return X0e&&X0e.required&&!X0e.warningOnly}return!1})),G0e=Object.assign({},I0e);let B0e=null;if(Array.isArray(m0e)&&O0e)B0e=m0e;else if(!(v0e&&(!(a0e||r0e)||O0e))){if(!(r0e&&!v0e&&!O0e))if(isValidElement(m0e)){const U0e=Object.assign(Object.assign({},m0e.props),G0e);if(U0e.id||(U0e.id=Q0e),f0e||k0e.length>0||q0e.length>0||x_.extra){const e1e=[];(f0e||k0e.length>0)&&e1e.push(`${Q0e}_help`),x_.extra&&e1e.push(`${Q0e}_extra`),U0e["aria-describedby"]=e1e.join(" ")}k0e.length>0&&(U0e["aria-invalid"]="true"),Y0e&&(U0e["aria-required"]="true"),supportRef(m0e)&&(U0e.ref=N0e(H0e,m0e)),new Set([].concat(_toConsumableArray$2(toArray$2(u0e)),_toConsumableArray$2(toArray$2(M0e)))).forEach(e1e=>{U0e[e1e]=function(){for(var n1e,t1e,r1e,a1e,l1e,s1e=arguments.length,g1e=new Array(s1e),$1e=0;$1e{var{prefixCls:e0e,children:$P}=x_,t0e=__rest$6(x_,["prefixCls","children"]);const{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=r0e("form",e0e),a0e=reactExports.useMemo(()=>({prefixCls:n0e,status:"error"}),[n0e]);return reactExports.createElement(List$3,Object.assign({},t0e),(o0e,i0e,s0e)=>reactExports.createElement(FormItemPrefixContext.Provider,{value:a0e},$P(o0e.map(l0e=>Object.assign(Object.assign({},l0e),{fieldKey:l0e.key})),i0e,{errors:s0e.errors,warnings:s0e.warnings})))},List$1=FormList;function useFormInstance(){const{form:x_}=reactExports.useContext(FormContext);return x_}const Form$3=InternalForm$1;Form$3.Item=Item$2;Form$3.List=List$1;Form$3.ErrorList=ErrorList$1;Form$3.useForm=useForm$1;Form$3.useFormInstance=useFormInstance;Form$3.useWatch=useWatch$2;Form$3.Provider=FormProvider$1;Form$3.create=()=>{};const Form$4=Form$3;function getClientSize(){var x_=document.documentElement.clientWidth,e0e=window.innerHeight||document.documentElement.clientHeight;return{width:x_,height:e0e}}function getOffset$1(x_){var e0e=x_.getBoundingClientRect(),$P=document.documentElement;return{left:e0e.left+(window.pageXOffset||$P.scrollLeft)-($P.clientLeft||document.body.clientLeft||0),top:e0e.top+(window.pageYOffset||$P.scrollTop)-($P.clientTop||document.body.clientTop||0)}}var COMMON_PROPS=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],PreviewGroupContext=reactExports.createContext(null),uid=0;function useRegisterImage(x_,e0e){var $P=reactExports.useState(function(){return uid+=1,String(uid)}),t0e=_slicedToArray$3($P,1),r0e=t0e[0],n0e=reactExports.useContext(PreviewGroupContext),a0e={data:e0e,canPreview:x_};return reactExports.useEffect(function(){if(n0e)return n0e.register(r0e,a0e)},[]),reactExports.useEffect(function(){n0e&&n0e.register(r0e,a0e)},[x_,e0e]),r0e}function isImageValid(x_){return new Promise(function(e0e){var $P=document.createElement("img");$P.onerror=function(){return e0e(!1)},$P.onload=function(){return e0e(!0)},$P.src=x_})}function useStatus(x_){var e0e=x_.src,$P=x_.isCustomPlaceholder,t0e=x_.fallback,r0e=reactExports.useState($P?"loading":"normal"),n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1],i0e=reactExports.useRef(!1),s0e=a0e==="error";reactExports.useEffect(function(){var d0e=!0;return isImageValid(e0e).then(function(p0e){!p0e&&d0e&&o0e("error")}),function(){d0e=!1}},[e0e]),reactExports.useEffect(function(){$P&&!i0e.current?o0e("loading"):s0e&&o0e("normal")},[e0e]);var l0e=function(){o0e("normal")},c0e=function(p0e){i0e.current=!1,a0e==="loading"&&p0e!==null&&p0e!==void 0&&p0e.complete&&(p0e.naturalWidth||p0e.naturalHeight)&&(i0e.current=!0,l0e())},u0e=s0e&&t0e?{src:t0e}:{onLoad:l0e,src:e0e};return[c0e,u0e,a0e]}function addEventListenerWrap(x_,e0e,$P,t0e){var r0e=ReactDOM.unstable_batchedUpdates?function(a0e){ReactDOM.unstable_batchedUpdates($P,a0e)}:$P;return x_!=null&&x_.addEventListener&&x_.addEventListener(e0e,r0e,t0e),{remove:function(){x_!=null&&x_.removeEventListener&&x_.removeEventListener(e0e,r0e,t0e)}}}var initialTransform={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function useImageTransform(x_,e0e,$P,t0e){var r0e=reactExports.useRef(null),n0e=reactExports.useRef([]),a0e=reactExports.useState(initialTransform),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1],l0e=function(p0e){s0e(initialTransform),t0e&&!isEqual(initialTransform,i0e)&&t0e({transform:initialTransform,action:p0e})},c0e=function(p0e,f0e){r0e.current===null&&(n0e.current=[],r0e.current=wrapperRaf$1(function(){s0e(function(h0e){var b0e=h0e;return n0e.current.forEach(function(m0e){b0e=_objectSpread2$1(_objectSpread2$1({},b0e),m0e)}),r0e.current=null,t0e==null||t0e({transform:b0e,action:f0e}),b0e})})),n0e.current.push(_objectSpread2$1(_objectSpread2$1({},i0e),p0e))},u0e=function(p0e,f0e,h0e,b0e,m0e){var v0e=x_.current,g0e=v0e.width,y0e=v0e.height,M0e=v0e.offsetWidth,O0e=v0e.offsetHeight,z0e=v0e.offsetLeft,_0e=v0e.offsetTop,A0e=p0e,$0e=i0e.scale*p0e;$0e>$P?($0e=$P,A0e=$P/i0e.scale):$0et0e){if(e0e>0)return _defineProperty$5({},x_,n0e);if(e0e<0&&r0et0e)return _defineProperty$5({},x_,e0e<0?n0e:-n0e);return{}}function getFixScaleEleTransPosition(x_,e0e,$P,t0e){var r0e=getClientSize(),n0e=r0e.width,a0e=r0e.height,o0e=null;return x_<=n0e&&e0e<=a0e?o0e={x:0,y:0}:(x_>n0e||e0e>a0e)&&(o0e=_objectSpread2$1(_objectSpread2$1({},fixPoint("x",$P,x_,n0e)),fixPoint("y",t0e,e0e,a0e))),o0e}var BASE_SCALE_RATIO=1,WHEEL_MAX_SCALE_RATIO=1;function useMouseEvent(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=r0e.rotate,i0e=r0e.scale,s0e=r0e.x,l0e=r0e.y,c0e=reactExports.useState(!1),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=reactExports.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),h0e=function(y0e){!e0e||y0e.button!==0||(y0e.preventDefault(),y0e.stopPropagation(),f0e.current={diffX:y0e.pageX-s0e,diffY:y0e.pageY-l0e,transformX:s0e,transformY:l0e},p0e(!0))},b0e=function(y0e){$P&&d0e&&n0e({x:y0e.pageX-f0e.current.diffX,y:y0e.pageY-f0e.current.diffY},"move")},m0e=function(){if($P&&d0e){p0e(!1);var y0e=f0e.current,M0e=y0e.transformX,O0e=y0e.transformY,z0e=s0e!==M0e&&l0e!==O0e;if(!z0e)return;var _0e=x_.current.offsetWidth*i0e,A0e=x_.current.offsetHeight*i0e,$0e=x_.current.getBoundingClientRect(),S0e=$0e.left,C0e=$0e.top,E0e=o0e%180!==0,w0e=getFixScaleEleTransPosition(E0e?A0e:_0e,E0e?_0e:A0e,S0e,C0e);w0e&&n0e(_objectSpread2$1({},w0e),"dragRebound")}},v0e=function(y0e){if(!(!$P||y0e.deltaY==0)){var M0e=Math.abs(y0e.deltaY/100),O0e=Math.min(M0e,WHEEL_MAX_SCALE_RATIO),z0e=BASE_SCALE_RATIO+O0e*t0e;y0e.deltaY>0&&(z0e=BASE_SCALE_RATIO/z0e),a0e(z0e,"wheel",y0e.clientX,y0e.clientY)}};return reactExports.useEffect(function(){var g0e,y0e,M0e,O0e;if(e0e){M0e=addEventListenerWrap(window,"mouseup",m0e,!1),O0e=addEventListenerWrap(window,"mousemove",b0e,!1);try{window.top!==window.self&&(g0e=addEventListenerWrap(window.top,"mouseup",m0e,!1),y0e=addEventListenerWrap(window.top,"mousemove",b0e,!1))}catch{}}return function(){var z0e,_0e,A0e,$0e;(z0e=M0e)===null||z0e===void 0||z0e.remove(),(_0e=O0e)===null||_0e===void 0||_0e.remove(),(A0e=g0e)===null||A0e===void 0||A0e.remove(),($0e=y0e)===null||$0e===void 0||$0e.remove()}},[$P,d0e,s0e,l0e,o0e,e0e]),{isMoving:d0e,onMouseDown:h0e,onMouseMove:b0e,onMouseUp:m0e,onWheel:v0e}}function getDistance(x_,e0e){var $P=x_.x-e0e.x,t0e=x_.y-e0e.y;return Math.hypot($P,t0e)}function getCenter(x_,e0e,$P,t0e){var r0e=getDistance(x_,$P),n0e=getDistance(e0e,t0e);if(r0e===0&&n0e===0)return[x_.x,x_.y];var a0e=r0e/(r0e+n0e),o0e=x_.x+a0e*(e0e.x-x_.x),i0e=x_.y+a0e*(e0e.y-x_.y);return[o0e,i0e]}function useTouchEvent(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=r0e.rotate,i0e=r0e.scale,s0e=r0e.x,l0e=r0e.y,c0e=reactExports.useState(!1),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=reactExports.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),h0e=function(y0e){f0e.current=_objectSpread2$1(_objectSpread2$1({},f0e.current),y0e)},b0e=function(y0e){if(e0e){y0e.stopPropagation(),p0e(!0);var M0e=y0e.touches,O0e=M0e===void 0?[]:M0e;O0e.length>1?h0e({point1:{x:O0e[0].clientX,y:O0e[0].clientY},point2:{x:O0e[1].clientX,y:O0e[1].clientY},eventType:"touchZoom"}):h0e({point1:{x:O0e[0].clientX-s0e,y:O0e[0].clientY-l0e},eventType:"move"})}},m0e=function(y0e){var M0e=y0e.touches,O0e=M0e===void 0?[]:M0e,z0e=f0e.current,_0e=z0e.point1,A0e=z0e.point2,$0e=z0e.eventType;if(O0e.length>1&&$0e==="touchZoom"){var S0e={x:O0e[0].clientX,y:O0e[0].clientY},C0e={x:O0e[1].clientX,y:O0e[1].clientY},E0e=getCenter(_0e,A0e,S0e,C0e),w0e=_slicedToArray$3(E0e,2),R0e=w0e[0],T0e=w0e[1],D0e=getDistance(S0e,C0e)/getDistance(_0e,A0e);a0e(D0e,"touchZoom",R0e,T0e,!0),h0e({point1:S0e,point2:C0e,eventType:"touchZoom"})}else $0e==="move"&&(n0e({x:O0e[0].clientX-_0e.x,y:O0e[0].clientY-_0e.y},"move"),h0e({eventType:"move"}))},v0e=function(){if($P){if(d0e&&p0e(!1),h0e({eventType:"none"}),t0e>i0e)return n0e({x:0,y:0,scale:t0e},"touchZoom");var y0e=x_.current.offsetWidth*i0e,M0e=x_.current.offsetHeight*i0e,O0e=x_.current.getBoundingClientRect(),z0e=O0e.left,_0e=O0e.top,A0e=o0e%180!==0,$0e=getFixScaleEleTransPosition(A0e?M0e:y0e,A0e?y0e:M0e,z0e,_0e);$0e&&n0e(_objectSpread2$1({},$0e),"dragRebound")}};return reactExports.useEffect(function(){var g0e;return $P&&e0e&&(g0e=addEventListenerWrap(window,"touchmove",function(y0e){return y0e.preventDefault()},{passive:!1})),function(){var y0e;(y0e=g0e)===null||y0e===void 0||y0e.remove()}},[$P,e0e]),{isTouching:d0e,onTouchStart:b0e,onTouchMove:m0e,onTouchEnd:v0e}}var Operations=function(e0e){var $P=e0e.visible,t0e=e0e.maskTransitionName,r0e=e0e.getContainer,n0e=e0e.prefixCls,a0e=e0e.rootClassName,o0e=e0e.icons,i0e=e0e.countRender,s0e=e0e.showSwitch,l0e=e0e.showProgress,c0e=e0e.current,u0e=e0e.transform,d0e=e0e.count,p0e=e0e.scale,f0e=e0e.minScale,h0e=e0e.maxScale,b0e=e0e.closeIcon,m0e=e0e.onSwitchLeft,v0e=e0e.onSwitchRight,g0e=e0e.onClose,y0e=e0e.onZoomIn,M0e=e0e.onZoomOut,O0e=e0e.onRotateRight,z0e=e0e.onRotateLeft,_0e=e0e.onFlipX,A0e=e0e.onFlipY,$0e=e0e.toolbarRender,S0e=e0e.zIndex,C0e=reactExports.useContext(PreviewGroupContext),E0e=o0e.rotateLeft,w0e=o0e.rotateRight,R0e=o0e.zoomIn,T0e=o0e.zoomOut,D0e=o0e.close,W0e=o0e.left,k0e=o0e.right,q0e=o0e.flipX,N0e=o0e.flipY,j0e="".concat(n0e,"-operations-operation");reactExports.useEffect(function(){var V0e=function(Q0e){Q0e.keyCode===KeyCode$1.ESC&&g0e()};return $P&&window.addEventListener("keydown",V0e),function(){window.removeEventListener("keydown",V0e)}},[$P]);var P0e=[{icon:N0e,onClick:A0e,type:"flipY"},{icon:q0e,onClick:_0e,type:"flipX"},{icon:E0e,onClick:z0e,type:"rotateLeft"},{icon:w0e,onClick:O0e,type:"rotateRight"},{icon:T0e,onClick:M0e,type:"zoomOut",disabled:p0e<=f0e},{icon:R0e,onClick:y0e,type:"zoomIn",disabled:p0e===h0e}],I0e=P0e.map(function(V0e){var H0e,Q0e=V0e.icon,Y0e=V0e.onClick,G0e=V0e.type,B0e=V0e.disabled;return reactExports.createElement("div",{className:cx$1(j0e,(H0e={},_defineProperty$5(H0e,"".concat(n0e,"-operations-operation-").concat(G0e),!0),_defineProperty$5(H0e,"".concat(n0e,"-operations-operation-disabled"),!!B0e),H0e)),onClick:Y0e,key:G0e},Q0e)}),F0e=reactExports.createElement("div",{className:"".concat(n0e,"-operations")},I0e);return reactExports.createElement(CSSMotion,{visible:$P,motionName:t0e},function(V0e){var H0e=V0e.className,Q0e=V0e.style;return reactExports.createElement(Portal$2,{open:!0,getContainer:r0e??document.body},reactExports.createElement("div",{className:cx$1("".concat(n0e,"-operations-wrapper"),H0e,a0e),style:_objectSpread2$1(_objectSpread2$1({},Q0e),{},{zIndex:S0e})},b0e===null?null:reactExports.createElement("button",{className:"".concat(n0e,"-close"),onClick:g0e},b0e||D0e),s0e&&reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",{className:cx$1("".concat(n0e,"-switch-left"),_defineProperty$5({},"".concat(n0e,"-switch-left-disabled"),c0e===0)),onClick:m0e},W0e),reactExports.createElement("div",{className:cx$1("".concat(n0e,"-switch-right"),_defineProperty$5({},"".concat(n0e,"-switch-right-disabled"),c0e===d0e-1)),onClick:v0e},k0e)),reactExports.createElement("div",{className:"".concat(n0e,"-footer")},l0e&&reactExports.createElement("div",{className:"".concat(n0e,"-progress")},i0e?i0e(c0e+1,d0e):"".concat(c0e+1," / ").concat(d0e)),$0e?$0e(F0e,_objectSpread2$1({icons:{flipYIcon:I0e[0],flipXIcon:I0e[1],rotateLeftIcon:I0e[2],rotateRightIcon:I0e[3],zoomOutIcon:I0e[4],zoomInIcon:I0e[5]},actions:{onFlipY:A0e,onFlipX:_0e,onRotateLeft:z0e,onRotateRight:O0e,onZoomOut:M0e,onZoomIn:y0e},transform:u0e},C0e?{current:c0e,total:d0e}:{})):F0e)))})},_excluded$g=["fallback","src","imgRef"],_excluded2$6=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],PreviewImage=function(e0e){var $P=e0e.fallback,t0e=e0e.src,r0e=e0e.imgRef,n0e=_objectWithoutProperties$4(e0e,_excluded$g),a0e=useStatus({src:t0e,fallback:$P}),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1];return jsx("img",{ref:function(c0e){r0e.current=c0e,i0e(c0e)},...n0e,...s0e})},Preview=function(e0e){var $P=e0e.prefixCls,t0e=e0e.src,r0e=e0e.alt,n0e=e0e.fallback,a0e=e0e.movable,o0e=a0e===void 0?!0:a0e,i0e=e0e.onClose,s0e=e0e.visible,l0e=e0e.icons,c0e=l0e===void 0?{}:l0e,u0e=e0e.rootClassName,d0e=e0e.closeIcon,p0e=e0e.getContainer,f0e=e0e.current,h0e=f0e===void 0?0:f0e,b0e=e0e.count,m0e=b0e===void 0?1:b0e,v0e=e0e.countRender,g0e=e0e.scaleStep,y0e=g0e===void 0?.5:g0e,M0e=e0e.minScale,O0e=M0e===void 0?1:M0e,z0e=e0e.maxScale,_0e=z0e===void 0?50:z0e,A0e=e0e.transitionName,$0e=A0e===void 0?"zoom":A0e,S0e=e0e.maskTransitionName,C0e=S0e===void 0?"fade":S0e,E0e=e0e.imageRender,w0e=e0e.imgCommonProps,R0e=e0e.toolbarRender,T0e=e0e.onTransform,D0e=e0e.onChange,W0e=_objectWithoutProperties$4(e0e,_excluded2$6),k0e=reactExports.useRef(),q0e=reactExports.useContext(PreviewGroupContext),N0e=q0e&&m0e>1,j0e=q0e&&m0e>=1,P0e=reactExports.useState(!0),I0e=_slicedToArray$3(P0e,2),F0e=I0e[0],V0e=I0e[1],H0e=useImageTransform(k0e,O0e,_0e,T0e),Q0e=H0e.transform,Y0e=H0e.resetTransform,G0e=H0e.updateTransform,B0e=H0e.dispatchZoomChange,U0e=useMouseEvent(k0e,o0e,s0e,y0e,Q0e,G0e,B0e),X0e=U0e.isMoving,J0e=U0e.onMouseDown,e1e=U0e.onWheel,n1e=useTouchEvent(k0e,o0e,s0e,O0e,Q0e,G0e,B0e),t1e=n1e.isTouching,r1e=n1e.onTouchStart,a1e=n1e.onTouchMove,l1e=n1e.onTouchEnd,s1e=Q0e.rotate,g1e=Q0e.scale,$1e=cx$1(_defineProperty$5({},"".concat($P,"-moving"),X0e));reactExports.useEffect(function(){F0e||V0e(!0)},[F0e]);var _1e=function(){Y0e("close")},p1e=function(){B0e(BASE_SCALE_RATIO+y0e,"zoomIn")},E1e=function(){B0e(BASE_SCALE_RATIO/(BASE_SCALE_RATIO+y0e),"zoomOut")},x1e=function(){G0e({rotate:s1e+90},"rotateRight")},O1e=function(){G0e({rotate:s1e-90},"rotateLeft")},w1e=function(){G0e({flipX:!Q0e.flipX},"flipX")},A1e=function(){G0e({flipY:!Q0e.flipY},"flipY")},F1e=function(ume){ume==null||ume.preventDefault(),ume==null||ume.stopPropagation(),h0e>0&&(V0e(!1),Y0e("prev"),D0e==null||D0e(h0e-1,h0e))},J1e=function(ume){ume==null||ume.preventDefault(),ume==null||ume.stopPropagation(),h0e({position:x_||"absolute",inset:0}),genImageMaskStyle=x_=>{const{iconCls:e0e,motionDurationSlow:$P,paddingXXS:t0e,marginXXS:r0e,prefixCls:n0e,colorTextLightSolid:a0e}=x_;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a0e,background:new TinyColor("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${$P}`,[`.${n0e}-mask-info`]:Object.assign(Object.assign({},textEllipsis),{padding:`0 ${unit$1(t0e)}`,[e0e]:{marginInlineEnd:r0e,svg:{verticalAlign:"baseline"}}})}},genPreviewOperationsStyle=x_=>{const{previewCls:e0e,modalMaskBg:$P,paddingSM:t0e,marginXL:r0e,margin:n0e,paddingLG:a0e,previewOperationColorDisabled:o0e,previewOperationHoverColor:i0e,motionDurationSlow:s0e,iconCls:l0e,colorTextLightSolid:c0e}=x_,u0e=new TinyColor($P).setAlpha(.1),d0e=u0e.clone().setAlpha(.2);return{[`${e0e}-footer`]:{position:"fixed",bottom:r0e,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:x_.previewOperationColor},[`${e0e}-progress`]:{marginBottom:n0e},[`${e0e}-close`]:{position:"fixed",top:r0e,right:{_skip_check_:!0,value:r0e},display:"flex",color:c0e,backgroundColor:u0e.toRgbString(),borderRadius:"50%",padding:t0e,outline:0,border:0,cursor:"pointer",transition:`all ${s0e}`,"&:hover":{backgroundColor:d0e.toRgbString()},[`& > ${l0e}`]:{fontSize:x_.previewOperationSize}},[`${e0e}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${unit$1(a0e)}`,backgroundColor:u0e.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:t0e,padding:t0e,cursor:"pointer",transition:`all ${s0e}`,userSelect:"none",[`&:not(${e0e}-operations-operation-disabled):hover > ${l0e}`]:{color:i0e},"&-disabled":{color:o0e,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${l0e}`]:{fontSize:x_.previewOperationSize}}}}},genPreviewSwitchStyle=x_=>{const{modalMaskBg:e0e,iconCls:$P,previewOperationColorDisabled:t0e,previewCls:r0e,zIndexPopup:n0e,motionDurationSlow:a0e}=x_,o0e=new TinyColor(e0e).setAlpha(.1),i0e=o0e.clone().setAlpha(.2);return{[`${r0e}-switch-left, ${r0e}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:x_.calc(n0e).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:x_.imagePreviewSwitchSize,height:x_.imagePreviewSwitchSize,marginTop:x_.calc(x_.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:x_.previewOperationColor,background:o0e.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a0e}`,userSelect:"none","&:hover":{background:i0e.toRgbString()},"&-disabled":{"&, &:hover":{color:t0e,background:"transparent",cursor:"not-allowed",[`> ${$P}`]:{cursor:"not-allowed"}}},[`> ${$P}`]:{fontSize:x_.previewOperationSize}},[`${r0e}-switch-left`]:{insetInlineStart:x_.marginSM},[`${r0e}-switch-right`]:{insetInlineEnd:x_.marginSM}}},genImagePreviewStyle=x_=>{const{motionEaseOut:e0e,previewCls:$P,motionDurationSlow:t0e,componentCls:r0e}=x_;return[{[`${r0e}-preview-root`]:{[$P]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${$P}-body`]:Object.assign(Object.assign({},genBoxStyle()),{overflow:"hidden"}),[`${$P}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${t0e} ${e0e} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},genBoxStyle()),{transition:`transform ${t0e} ${e0e} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${$P}-moving`]:{[`${$P}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r0e}-preview-root`]:{[`${$P}-wrap`]:{zIndex:x_.zIndexPopup}}},{[`${r0e}-preview-operations-wrapper`]:{position:"fixed",zIndex:x_.calc(x_.zIndexPopup).add(1).equal({unit:!1})},"&":[genPreviewOperationsStyle(x_),genPreviewSwitchStyle(x_)]}]},genImageStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{position:"relative",display:"inline-block",[`${e0e}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${e0e}-img-placeholder`]:{backgroundColor:x_.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${e0e}-mask`]:Object.assign({},genImageMaskStyle(x_)),[`${e0e}-mask:hover`]:{opacity:1},[`${e0e}-placeholder`]:Object.assign({},genBoxStyle())}}},genPreviewMotion=x_=>{const{previewCls:e0e}=x_;return{[`${e0e}-root`]:initZoomMotion(x_,"zoom"),"&":initFadeMotion(x_,!0)}},prepareComponentToken$3=x_=>({zIndexPopup:x_.zIndexPopupBase+80,previewOperationColor:new TinyColor(x_.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new TinyColor(x_.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new TinyColor(x_.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:x_.fontSizeIcon*1.5}),useStyle$3=genStyleHooks("Image",x_=>{const e0e=`${x_.componentCls}-preview`,$P=merge$2(x_,{previewCls:e0e,modalMaskBg:new TinyColor("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:x_.controlHeightLG});return[genImageStyle($P),genImagePreviewStyle($P),genModalMaskStyle(merge$2($P,{componentCls:e0e})),genPreviewMotion($P)]},prepareComponentToken$3);var __rest$5=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var{previewPrefixCls:e0e,preview:$P}=x_,t0e=__rest$5(x_,["previewPrefixCls","preview"]);const{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=r0e("image",e0e),a0e=`${n0e}-preview`,o0e=r0e(),i0e=useCSSVarCls$1(n0e),[s0e,l0e]=useStyle$3(n0e,i0e),[c0e]=useZIndex("ImagePreview",typeof $P=="object"?$P.zIndex:void 0),u0e=reactExports.useMemo(()=>{var d0e;if($P===!1)return $P;const p0e=typeof $P=="object"?$P:{},f0e=cx$1(l0e,i0e,(d0e=p0e.rootClassName)!==null&&d0e!==void 0?d0e:"");return Object.assign(Object.assign({},p0e),{transitionName:getTransitionName(o0e,"zoom",p0e.transitionName),maskTransitionName:getTransitionName(o0e,"fade",p0e.maskTransitionName),rootClassName:f0e,zIndex:c0e})},[$P]);return s0e(reactExports.createElement(ImageInternal.PreviewGroup,Object.assign({preview:u0e,previewPrefixCls:a0e,icons},t0e)))},PreviewGroup=InternalPreviewGroup;var __rest$4=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,preview:$P,className:t0e,rootClassName:r0e,style:n0e}=x_,a0e=__rest$4(x_,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:o0e,locale:i0e=defaultLocale$1,getPopupContainer:s0e,image:l0e}=reactExports.useContext(ConfigContext),c0e=o0e("image",e0e),u0e=o0e(),d0e=i0e.Image||defaultLocale$1.Image,p0e=useCSSVarCls$1(c0e),[f0e,h0e]=useStyle$3(c0e,p0e),b0e=cx$1(r0e,h0e,p0e),m0e=cx$1(t0e,h0e,l0e==null?void 0:l0e.className),[v0e]=useZIndex("ImagePreview",typeof $P=="object"?$P.zIndex:void 0),g0e=reactExports.useMemo(()=>{if($P===!1)return $P;const M0e=typeof $P=="object"?$P:{},{getContainer:O0e}=M0e,z0e=__rest$4(M0e,["getContainer"]);return Object.assign(Object.assign({mask:reactExports.createElement("div",{className:`${c0e}-mask-info`},reactExports.createElement(EyeOutlined$1,null),d0e==null?void 0:d0e.preview),icons},z0e),{getContainer:O0e||s0e,transitionName:getTransitionName(u0e,"zoom",M0e.transitionName),maskTransitionName:getTransitionName(u0e,"fade",M0e.maskTransitionName),zIndex:v0e})},[$P,d0e]),y0e=Object.assign(Object.assign({},l0e==null?void 0:l0e.style),n0e);return f0e(reactExports.createElement(ImageInternal,Object.assign({prefixCls:c0e,preview:g0e,rootClassName:b0e,className:m0e,style:y0e},a0e)))};Image$1.PreviewGroup=PreviewGroup;const Image$2=Image$1;function useHasSider(x_,e0e,$P){return typeof $P=="boolean"?$P:x_.length?!0:toArray$6(e0e).some(r0e=>r0e.type===Sider$4)}const genLayoutLightStyle=x_=>{const{componentCls:e0e,bodyBg:$P,lightSiderBg:t0e,lightTriggerBg:r0e,lightTriggerColor:n0e}=x_;return{[`${e0e}-sider-light`]:{background:t0e,[`${e0e}-sider-trigger`]:{color:n0e,background:r0e},[`${e0e}-sider-zero-width-trigger`]:{color:n0e,background:r0e,border:`1px solid ${$P}`,borderInlineStart:0}}}},genLayoutLightStyle$1=genLayoutLightStyle,genLayoutStyle=x_=>{const{antCls:e0e,componentCls:$P,colorText:t0e,triggerColor:r0e,footerBg:n0e,triggerBg:a0e,headerHeight:o0e,headerPadding:i0e,headerColor:s0e,footerPadding:l0e,triggerHeight:c0e,zeroTriggerHeight:u0e,zeroTriggerWidth:d0e,motionDurationMid:p0e,motionDurationSlow:f0e,fontSize:h0e,borderRadius:b0e,bodyBg:m0e,headerBg:v0e,siderBg:g0e}=x_;return{[$P]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m0e,"&, *":{boxSizing:"border-box"},[`&${$P}-has-sider`]:{flexDirection:"row",[`> ${$P}, > ${$P}-content`]:{width:0}},[`${$P}-header, &${$P}-footer`]:{flex:"0 0 auto"},[`${$P}-sider`]:{position:"relative",minWidth:0,background:g0e,transition:`all ${p0e}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e0e}-menu${e0e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:c0e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:c0e,color:r0e,lineHeight:unit$1(c0e),textAlign:"center",background:a0e,cursor:"pointer",transition:`all ${p0e}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:o0e,insetInlineEnd:x_.calc(d0e).mul(-1).equal(),zIndex:1,width:d0e,height:u0e,color:r0e,fontSize:x_.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:g0e,borderStartStartRadius:0,borderStartEndRadius:b0e,borderEndEndRadius:b0e,borderEndStartRadius:0,cursor:"pointer",transition:`background ${f0e} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${f0e}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:x_.calc(d0e).mul(-1).equal(),borderStartStartRadius:b0e,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b0e}}}}},genLayoutLightStyle$1(x_)),{"&-rtl":{direction:"rtl"}}),[`${$P}-header`]:{height:o0e,padding:i0e,color:s0e,lineHeight:unit$1(o0e),background:v0e,[`${e0e}-menu`]:{lineHeight:"inherit"}},[`${$P}-footer`]:{padding:l0e,color:t0e,fontSize:h0e,background:n0e},[`${$P}-content`]:{flex:"auto",minHeight:0}}},prepareComponentToken$2=x_=>{const{colorBgLayout:e0e,controlHeight:$P,controlHeightLG:t0e,colorText:r0e,controlHeightSM:n0e,marginXXS:a0e,colorTextLightSolid:o0e,colorBgContainer:i0e}=x_,s0e=t0e*1.25;return{colorBgHeader:"#001529",colorBgBody:e0e,colorBgTrigger:"#002140",bodyBg:e0e,headerBg:"#001529",headerHeight:$P*2,headerPadding:`0 ${s0e}px`,headerColor:r0e,footerPadding:`${n0e}px ${s0e}px`,footerBg:e0e,siderBg:"#001529",triggerHeight:t0e+a0e*2,triggerBg:"#002140",triggerColor:o0e,zeroTriggerWidth:t0e,zeroTriggerHeight:t0e,lightSiderBg:i0e,lightTriggerBg:i0e,lightTriggerColor:r0e}},useStyle$2=genStyleHooks("Layout",x_=>[genLayoutStyle(x_)],prepareComponentToken$2,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var __rest$3=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ereactExports.forwardRef((a0e,o0e)=>reactExports.createElement(r0e,Object.assign({ref:o0e,suffixCls:e0e,tagName:$P},a0e)))}const Basic=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,suffixCls:t0e,className:r0e,tagName:n0e}=x_,a0e=__rest$3(x_,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("layout",$P),[s0e,l0e]=useStyle$2(i0e),c0e=t0e?`${i0e}-${t0e}`:i0e;return s0e(reactExports.createElement(n0e,Object.assign({className:cx$1($P||c0e,r0e,l0e),ref:e0e},a0e)))}),BasicLayout=reactExports.forwardRef((x_,e0e)=>{const{direction:$P}=reactExports.useContext(ConfigContext),[t0e,r0e]=reactExports.useState([]),{prefixCls:n0e,className:a0e,rootClassName:o0e,children:i0e,hasSider:s0e,tagName:l0e,style:c0e}=x_,u0e=__rest$3(x_,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),d0e=omit$2(u0e,["suffixCls"]),{getPrefixCls:p0e,layout:f0e}=reactExports.useContext(ConfigContext),h0e=p0e("layout",n0e),b0e=useHasSider(t0e,i0e,s0e),[m0e,v0e]=useStyle$2(h0e),g0e=cx$1(h0e,{[`${h0e}-has-sider`]:b0e,[`${h0e}-rtl`]:$P==="rtl"},f0e==null?void 0:f0e.className,a0e,o0e,v0e),y0e=reactExports.useMemo(()=>({siderHook:{addSider:M0e=>{r0e(O0e=>[].concat(_toConsumableArray$2(O0e),[M0e]))},removeSider:M0e=>{r0e(O0e=>O0e.filter(z0e=>z0e!==M0e))}}}),[]);return m0e(reactExports.createElement(LayoutContext.Provider,{value:y0e},reactExports.createElement(l0e,Object.assign({ref:e0e,className:g0e,style:Object.assign(Object.assign({},f0e==null?void 0:f0e.style),c0e)},d0e),i0e)))}),Layout$4=generator({tagName:"div",displayName:"Layout"})(BasicLayout),Header$5=generator({suffixCls:"header",tagName:"header",displayName:"Header"})(Basic),Footer=generator({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Basic),Content$5=generator({suffixCls:"content",tagName:"main",displayName:"Content"})(Basic),InternalLayout=Layout$4,Layout$2=InternalLayout;Layout$2.Header=Header$5;Layout$2.Footer=Footer;Layout$2.Content=Content$5;Layout$2.Sider=Sider$4;Layout$2._InternalSiderContext=SiderContext;const Layout$3=Layout$2,antSpinMove=new Keyframe("antSpinMove",{to:{opacity:1}}),antRotate=new Keyframe("antRotate",{to:{transform:"rotate(405deg)"}}),genSpinStyle=x_=>{const{componentCls:e0e,calc:$P}=x_;return{[`${e0e}`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",display:"none",color:x_.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${x_.motionDurationSlow} ${x_.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${e0e}-text`]:{fontSize:x_.fontSize,paddingTop:$P($P(x_.dotSize).sub(x_.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:x_.colorBgMask,zIndex:x_.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${x_.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${e0e}-dot ${e0e}-dot-item`]:{backgroundColor:x_.colorWhite},[`${e0e}-text`]:{color:x_.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${e0e}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:x_.contentHeight,[`${e0e}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:$P(x_.dotSize).mul(-1).div(2).equal()},[`${e0e}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${x_.colorBgContainer}`},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${e0e}-dot`]:{margin:$P(x_.dotSizeSM).mul(-1).div(2).equal()},[`${e0e}-text`]:{paddingTop:$P($P(x_.dotSizeSM).sub(x_.fontSize)).div(2).add(2).equal()},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${e0e}-dot`]:{margin:$P(x_.dotSizeLG).mul(-1).div(2).equal()},[`${e0e}-text`]:{paddingTop:$P($P(x_.dotSizeLG).sub(x_.fontSize)).div(2).add(2).equal()},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${e0e}-container`]:{position:"relative",transition:`opacity ${x_.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:x_.colorBgContainer,opacity:0,transition:`all ${x_.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e0e}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:x_.spinDotDefault},[`${e0e}-dot`]:{position:"relative",display:"inline-block",fontSize:x_.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:$P(x_.dotSize).sub($P(x_.marginXXS).div(2)).div(2).equal(),height:$P(x_.dotSize).sub($P(x_.marginXXS).div(2)).div(2).equal(),backgroundColor:x_.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:antSpinMove,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:antRotate,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e0e}-dot`]:{fontSize:x_.dotSizeSM,i:{width:$P($P(x_.dotSizeSM).sub($P(x_.marginXXS).div(2))).div(2).equal(),height:$P($P(x_.dotSizeSM).sub($P(x_.marginXXS).div(2))).div(2).equal()}},[`&-lg ${e0e}-dot`]:{fontSize:x_.dotSizeLG,i:{width:$P($P(x_.dotSizeLG).sub(x_.marginXXS)).div(2).equal(),height:$P($P(x_.dotSizeLG).sub(x_.marginXXS)).div(2).equal()}},[`&${e0e}-show-text ${e0e}-text`]:{display:"block"}})}},prepareComponentToken$1=x_=>{const{controlHeightLG:e0e,controlHeight:$P}=x_;return{contentHeight:400,dotSize:e0e/2,dotSizeSM:e0e*.35,dotSizeLG:$P}},useStyle$1=genStyleHooks("Spin",x_=>{const e0e=merge$2(x_,{spinDotDefault:x_.colorTextDescription});return[genSpinStyle(e0e)]},prepareComponentToken$1);var __rest$2=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{spinPrefixCls:e0e,spinning:$P=!0,delay:t0e=0,className:r0e,rootClassName:n0e,size:a0e="default",tip:o0e,wrapperClassName:i0e,style:s0e,children:l0e,hashId:c0e,fullscreen:u0e}=x_,d0e=__rest$2(x_,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId","fullscreen"]),[p0e,f0e]=reactExports.useState(()=>$P&&!shouldDelay($P,t0e));reactExports.useEffect(()=>{if($P){const z0e=debounce$2(t0e,()=>{f0e(!0)});return z0e(),()=>{var _0e;(_0e=z0e==null?void 0:z0e.cancel)===null||_0e===void 0||_0e.call(z0e)}}f0e(!1)},[t0e,$P]);const h0e=reactExports.useMemo(()=>typeof l0e<"u"&&!u0e,[l0e,u0e]),{direction:b0e,spin:m0e}=reactExports.useContext(ConfigContext),v0e=cx$1(e0e,m0e==null?void 0:m0e.className,{[`${e0e}-sm`]:a0e==="small",[`${e0e}-lg`]:a0e==="large",[`${e0e}-spinning`]:p0e,[`${e0e}-show-text`]:!!o0e,[`${e0e}-fullscreen`]:u0e,[`${e0e}-fullscreen-show`]:u0e&&p0e,[`${e0e}-rtl`]:b0e==="rtl"},r0e,n0e,c0e),g0e=cx$1(`${e0e}-container`,{[`${e0e}-blur`]:p0e}),y0e=omit$2(d0e,["indicator","prefixCls"]),M0e=Object.assign(Object.assign({},m0e==null?void 0:m0e.style),s0e),O0e=reactExports.createElement("div",Object.assign({},y0e,{style:M0e,className:v0e,"aria-live":"polite","aria-busy":p0e}),renderIndicator(e0e,x_),o0e&&(h0e||u0e)?reactExports.createElement("div",{className:`${e0e}-text`},o0e):null);return h0e?reactExports.createElement("div",Object.assign({},y0e,{className:cx$1(`${e0e}-nested-loading`,i0e,c0e)}),p0e&&reactExports.createElement("div",{key:"loading"},O0e),reactExports.createElement("div",{className:g0e,key:"container"},l0e)):O0e},SpinFC=x_=>{const{prefixCls:e0e}=x_,{getPrefixCls:$P}=reactExports.useContext(ConfigContext),t0e=$P("spin",e0e),[r0e,n0e]=useStyle$1(t0e),a0e=Object.assign(Object.assign({},x_),{spinPrefixCls:t0e,hashId:n0e});return r0e(reactExports.createElement(Spin,Object.assign({},a0e)))};SpinFC.setDefaultIndicator=x_=>{defaultIndicator=x_};const Spin$1=SpinFC;let message=null,act=x_=>x_(),taskQueue=[],defaultGlobalConfig={};function getGlobalContext(){const{prefixCls:x_,getContainer:e0e,duration:$P,rtl:t0e,maxCount:r0e,top:n0e}=defaultGlobalConfig,a0e=x_??globalConfig().getPrefixCls("message"),o0e=(e0e==null?void 0:e0e())||document.body;return{prefixCls:a0e,getContainer:()=>o0e,duration:$P,rtl:t0e,maxCount:r0e,top:n0e}}const GlobalHolder=reactExports.forwardRef((x_,e0e)=>{const[$P,t0e]=reactExports.useState(getGlobalContext),[r0e,n0e]=useInternalMessage($P),a0e=globalConfig(),o0e=a0e.getRootPrefixCls(),i0e=a0e.getIconPrefixCls(),s0e=a0e.getTheme(),l0e=()=>{t0e(getGlobalContext)};return reactExports.useEffect(l0e,[]),reactExports.useImperativeHandle(e0e,()=>{const c0e=Object.assign({},r0e);return Object.keys(c0e).forEach(u0e=>{c0e[u0e]=function(){return l0e(),r0e[u0e].apply(r0e,arguments)}}),{instance:c0e,sync:l0e}}),reactExports.createElement(ConfigProvider$1,{prefixCls:o0e,iconPrefixCls:i0e,theme:s0e},n0e)});function flushNotice(){if(!message){const x_=document.createDocumentFragment(),e0e={fragment:x_};message=e0e,act(()=>{render$2(reactExports.createElement(GlobalHolder,{ref:$P=>{const{instance:t0e,sync:r0e}=$P||{};Promise.resolve().then(()=>{!e0e.instance&&t0e&&(e0e.instance=t0e,e0e.sync=r0e,flushNotice())})}}),x_)});return}message.instance&&(taskQueue.forEach(x_=>{const{type:e0e,skipped:$P}=x_;if(!$P)switch(e0e){case"open":{act(()=>{const t0e=message.instance.open(Object.assign(Object.assign({},defaultGlobalConfig),x_.config));t0e==null||t0e.then(x_.resolve),x_.setCloseFn(t0e)});break}case"destroy":act(()=>{message==null||message.instance.destroy(x_.key)});break;default:act(()=>{var t0e;const r0e=(t0e=message.instance)[e0e].apply(t0e,_toConsumableArray$2(x_.args));r0e==null||r0e.then(x_.resolve),x_.setCloseFn(r0e)})}}),taskQueue=[])}function setMessageGlobalConfig(x_){defaultGlobalConfig=Object.assign(Object.assign({},defaultGlobalConfig),x_),act(()=>{var e0e;(e0e=message==null?void 0:message.sync)===null||e0e===void 0||e0e.call(message)})}function open$1(x_){const e0e=wrapPromiseFn($P=>{let t0e;const r0e={type:"open",config:x_,resolve:$P,setCloseFn:n0e=>{t0e=n0e}};return taskQueue.push(r0e),()=>{t0e?act(()=>{t0e()}):r0e.skipped=!0}});return flushNotice(),e0e}function typeOpen(x_,e0e){const $P=wrapPromiseFn(t0e=>{let r0e;const n0e={type:x_,args:e0e,resolve:t0e,setCloseFn:a0e=>{r0e=a0e}};return taskQueue.push(n0e),()=>{r0e?act(()=>{r0e()}):n0e.skipped=!0}});return flushNotice(),$P}function destroy$1(x_){taskQueue.push({type:"destroy",key:x_}),flushNotice()}const methods=["success","info","warning","error","loading"],baseStaticMethods={open:open$1,destroy:destroy$1,config:setMessageGlobalConfig,useMessage,_InternalPanelDoNotUseOrYouWillBeFired:PurePanel$8},staticMethods=baseStaticMethods;methods.forEach(x_=>{staticMethods[x_]=function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0ee0e in x_?__defProp$1(x_,e0e,{enumerable:!0,configurable:!0,writable:!0,value:$P}):x_[e0e]=$P,__spreadValues=(x_,e0e)=>{for(var $P in e0e||(e0e={}))__hasOwnProp.call(e0e,$P)&&__defNormalProp$1(x_,$P,e0e[$P]);if(__getOwnPropSymbols)for(var $P of __getOwnPropSymbols(e0e))__propIsEnum.call(e0e,$P)&&__defNormalProp$1(x_,$P,e0e[$P]);return x_},__objRest=(x_,e0e)=>{var $P={};for(var t0e in x_)__hasOwnProp.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&__getOwnPropSymbols)for(var t0e of __getOwnPropSymbols(x_))e0e.indexOf(t0e)<0&&__propIsEnum.call(x_,t0e)&&($P[t0e]=x_[t0e]);return $P},qrcodegen;(x_=>{const e0e=class{constructor(i0e,s0e,l0e,c0e){if(this.version=i0e,this.errorCorrectionLevel=s0e,this.modules=[],this.isFunction=[],i0ee0e.MAX_VERSION)throw new RangeError("Version value out of range");if(c0e<-1||c0e>7)throw new RangeError("Mask value out of range");this.size=i0e*4+17;let u0e=[];for(let p0e=0;p0e7)throw new RangeError("Invalid value");let p0e,f0e;for(p0e=l0e;;p0e++){const v0e=e0e.getNumDataCodewords(p0e,s0e)*8,g0e=o0e.getTotalBits(i0e,p0e);if(g0e<=v0e){f0e=g0e;break}if(p0e>=c0e)throw new RangeError("Data too long")}for(const v0e of[e0e.Ecc.MEDIUM,e0e.Ecc.QUARTILE,e0e.Ecc.HIGH])d0e&&f0e<=e0e.getNumDataCodewords(p0e,v0e)*8&&(s0e=v0e);let h0e=[];for(const v0e of i0e){t0e(v0e.mode.modeBits,4,h0e),t0e(v0e.numChars,v0e.mode.numCharCountBits(p0e),h0e);for(const g0e of v0e.getData())h0e.push(g0e)}n0e(h0e.length==f0e);const b0e=e0e.getNumDataCodewords(p0e,s0e)*8;n0e(h0e.length<=b0e),t0e(0,Math.min(4,b0e-h0e.length),h0e),t0e(0,(8-h0e.length%8)%8,h0e),n0e(h0e.length%8==0);for(let v0e=236;h0e.lengthm0e[g0e>>>3]|=v0e<<7-(g0e&7)),new e0e(p0e,s0e,m0e,u0e)}getModule(i0e,s0e){return 0<=i0e&&i0e>>9)*1335;const c0e=(s0e<<10|l0e)^21522;n0e(c0e>>>15==0);for(let u0e=0;u0e<=5;u0e++)this.setFunctionModule(8,u0e,r0e(c0e,u0e));this.setFunctionModule(8,7,r0e(c0e,6)),this.setFunctionModule(8,8,r0e(c0e,7)),this.setFunctionModule(7,8,r0e(c0e,8));for(let u0e=9;u0e<15;u0e++)this.setFunctionModule(14-u0e,8,r0e(c0e,u0e));for(let u0e=0;u0e<8;u0e++)this.setFunctionModule(this.size-1-u0e,8,r0e(c0e,u0e));for(let u0e=8;u0e<15;u0e++)this.setFunctionModule(8,this.size-15+u0e,r0e(c0e,u0e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let i0e=this.version;for(let l0e=0;l0e<12;l0e++)i0e=i0e<<1^(i0e>>>11)*7973;const s0e=this.version<<12|i0e;n0e(s0e>>>18==0);for(let l0e=0;l0e<18;l0e++){const c0e=r0e(s0e,l0e),u0e=this.size-11+l0e%3,d0e=Math.floor(l0e/3);this.setFunctionModule(u0e,d0e,c0e),this.setFunctionModule(d0e,u0e,c0e)}}drawFinderPattern(i0e,s0e){for(let l0e=-4;l0e<=4;l0e++)for(let c0e=-4;c0e<=4;c0e++){const u0e=Math.max(Math.abs(c0e),Math.abs(l0e)),d0e=i0e+c0e,p0e=s0e+l0e;0<=d0e&&d0e{(v0e!=f0e-u0e||y0e>=p0e)&&m0e.push(g0e[v0e])});return n0e(m0e.length==d0e),m0e}drawCodewords(i0e){if(i0e.length!=Math.floor(e0e.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s0e=0;for(let l0e=this.size-1;l0e>=1;l0e-=2){l0e==6&&(l0e=5);for(let c0e=0;c0e>>3],7-(s0e&7)),s0e++)}}n0e(s0e==i0e.length*8)}applyMask(i0e){if(i0e<0||i0e>7)throw new RangeError("Mask value out of range");for(let s0e=0;s0e5&&i0e++):(this.finderPenaltyAddHistory(p0e,f0e),d0e||(i0e+=this.finderPenaltyCountPatterns(f0e)*e0e.PENALTY_N3),d0e=this.modules[u0e][h0e],p0e=1);i0e+=this.finderPenaltyTerminateAndCount(d0e,p0e,f0e)*e0e.PENALTY_N3}for(let u0e=0;u0e5&&i0e++):(this.finderPenaltyAddHistory(p0e,f0e),d0e||(i0e+=this.finderPenaltyCountPatterns(f0e)*e0e.PENALTY_N3),d0e=this.modules[h0e][u0e],p0e=1);i0e+=this.finderPenaltyTerminateAndCount(d0e,p0e,f0e)*e0e.PENALTY_N3}for(let u0e=0;u0ed0e+(p0e?1:0),s0e);const l0e=this.size*this.size,c0e=Math.ceil(Math.abs(s0e*20-l0e*10)/l0e)-1;return n0e(0<=c0e&&c0e<=9),i0e+=c0e*e0e.PENALTY_N4,n0e(0<=i0e&&i0e<=2568888),i0e}getAlignmentPatternPositions(){if(this.version==1)return[];{const i0e=Math.floor(this.version/7)+2,s0e=this.version==32?26:Math.ceil((this.version*4+4)/(i0e*2-2))*2;let l0e=[6];for(let c0e=this.size-7;l0e.lengthe0e.MAX_VERSION)throw new RangeError("Version number out of range");let s0e=(16*i0e+128)*i0e+64;if(i0e>=2){const l0e=Math.floor(i0e/7)+2;s0e-=(25*l0e-10)*l0e-55,i0e>=7&&(s0e-=36)}return n0e(208<=s0e&&s0e<=29648),s0e}static getNumDataCodewords(i0e,s0e){return Math.floor(e0e.getNumRawDataModules(i0e)/8)-e0e.ECC_CODEWORDS_PER_BLOCK[s0e.ordinal][i0e]*e0e.NUM_ERROR_CORRECTION_BLOCKS[s0e.ordinal][i0e]}static reedSolomonComputeDivisor(i0e){if(i0e<1||i0e>255)throw new RangeError("Degree out of range");let s0e=[];for(let c0e=0;c0e0);for(const c0e of i0e){const u0e=c0e^l0e.shift();l0e.push(0),s0e.forEach((d0e,p0e)=>l0e[p0e]^=e0e.reedSolomonMultiply(d0e,u0e))}return l0e}static reedSolomonMultiply(i0e,s0e){if(i0e>>>8||s0e>>>8)throw new RangeError("Byte out of range");let l0e=0;for(let c0e=7;c0e>=0;c0e--)l0e=l0e<<1^(l0e>>>7)*285,l0e^=(s0e>>>c0e&1)*i0e;return n0e(l0e>>>8==0),l0e}finderPenaltyCountPatterns(i0e){const s0e=i0e[1];n0e(s0e<=this.size*3);const l0e=s0e>0&&i0e[2]==s0e&&i0e[3]==s0e*3&&i0e[4]==s0e&&i0e[5]==s0e;return(l0e&&i0e[0]>=s0e*4&&i0e[6]>=s0e?1:0)+(l0e&&i0e[6]>=s0e*4&&i0e[0]>=s0e?1:0)}finderPenaltyTerminateAndCount(i0e,s0e,l0e){return i0e&&(this.finderPenaltyAddHistory(s0e,l0e),s0e=0),s0e+=this.size,this.finderPenaltyAddHistory(s0e,l0e),this.finderPenaltyCountPatterns(l0e)}finderPenaltyAddHistory(i0e,s0e){s0e[0]==0&&(i0e+=this.size),s0e.pop(),s0e.unshift(i0e)}};let $P=e0e;$P.MIN_VERSION=1,$P.MAX_VERSION=40,$P.PENALTY_N1=3,$P.PENALTY_N2=3,$P.PENALTY_N3=40,$P.PENALTY_N4=10,$P.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],$P.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],x_.QrCode=$P;function t0e(i0e,s0e,l0e){if(s0e<0||s0e>31||i0e>>>s0e)throw new RangeError("Value out of range");for(let c0e=s0e-1;c0e>=0;c0e--)l0e.push(i0e>>>c0e&1)}function r0e(i0e,s0e){return(i0e>>>s0e&1)!=0}function n0e(i0e){if(!i0e)throw new Error("Assertion error")}const a0e=class{constructor(i0e,s0e,l0e){if(this.mode=i0e,this.numChars=s0e,this.bitData=l0e,s0e<0)throw new RangeError("Invalid argument");this.bitData=l0e.slice()}static makeBytes(i0e){let s0e=[];for(const l0e of i0e)t0e(l0e,8,s0e);return new a0e(a0e.Mode.BYTE,i0e.length,s0e)}static makeNumeric(i0e){if(!a0e.isNumeric(i0e))throw new RangeError("String contains non-numeric characters");let s0e=[];for(let l0e=0;l0e=1<{(e0e=>{const $P=class{constructor(r0e,n0e){this.ordinal=r0e,this.formatBits=n0e}};let t0e=$P;t0e.LOW=new $P(0,1),t0e.MEDIUM=new $P(1,0),t0e.QUARTILE=new $P(2,3),t0e.HIGH=new $P(3,2),e0e.Ecc=t0e})(x_.QrCode||(x_.QrCode={}))})(qrcodegen||(qrcodegen={}));(x_=>{(e0e=>{const $P=class{constructor(r0e,n0e){this.modeBits=r0e,this.numBitsCharCount=n0e}numCharCountBits(r0e){return this.numBitsCharCount[Math.floor((r0e+7)/17)]}};let t0e=$P;t0e.NUMERIC=new $P(1,[10,12,14]),t0e.ALPHANUMERIC=new $P(2,[9,11,13]),t0e.BYTE=new $P(4,[8,16,16]),t0e.KANJI=new $P(8,[8,10,12]),t0e.ECI=new $P(7,[0,0,0]),e0e.Mode=t0e})(x_.QrSegment||(x_.QrSegment={}))})(qrcodegen||(qrcodegen={}));var qrcodegen_default=qrcodegen;/** + .${t0e}-col-xl-24${$P}-label`]:makeVerticalLayoutLabel(x_),[`@media (max-width: ${unit$1(x_.screenXSMax)})`]:[makeVerticalLayout(x_),{[e0e]:{[`.${t0e}-col-xs-24${$P}-label`]:makeVerticalLayoutLabel(x_)}}],[`@media (max-width: ${unit$1(x_.screenSMMax)})`]:{[e0e]:{[`.${t0e}-col-sm-24${$P}-label`]:makeVerticalLayoutLabel(x_)}},[`@media (max-width: ${unit$1(x_.screenMDMax)})`]:{[e0e]:{[`.${t0e}-col-md-24${$P}-label`]:makeVerticalLayoutLabel(x_)}},[`@media (max-width: ${unit$1(x_.screenLGMax)})`]:{[e0e]:{[`.${t0e}-col-lg-24${$P}-label`]:makeVerticalLayoutLabel(x_)}}}},prepareComponentToken$4=x_=>({labelRequiredMarkColor:x_.colorError,labelColor:x_.colorTextHeading,labelFontSize:x_.fontSize,labelHeight:x_.controlHeight,labelColonMarginInlineStart:x_.marginXXS/2,labelColonMarginInlineEnd:x_.marginXS,itemMarginBottom:x_.marginLG,verticalLabelPadding:`0 0 ${x_.paddingXS}px`,verticalLabelMargin:0}),prepareToken=(x_,e0e)=>merge$2(x_,{formItemCls:`${x_.componentCls}-item`,rootPrefixCls:e0e}),useStyle$4=genStyleHooks("Form",(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=prepareToken(x_,$P);return[genFormStyle(t0e),genFormItemStyle(t0e),genFormValidateMotionStyle$1(t0e),genHorizontalStyle(t0e),genInlineStyle(t0e),genVerticalStyle(t0e),genCollapseMotion$1(t0e),zoomIn]},prepareComponentToken$4,{order:-1e3}),EMPTY_LIST$1=[];function toErrorEntity(x_,e0e,$P){let t0e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof x_=="string"?x_:`${e0e}-${t0e}`,error:x_,errorStatus:$P}}const ErrorList=x_=>{let{help:e0e,helpStatus:$P,errors:t0e=EMPTY_LIST$1,warnings:r0e=EMPTY_LIST$1,className:n0e,fieldId:a0e,onVisibleChanged:o0e}=x_;const{prefixCls:i0e}=reactExports.useContext(FormItemPrefixContext),s0e=`${i0e}-item-explain`,l0e=useCSSVarCls$1(i0e),[c0e,u0e]=useStyle$4(i0e,l0e),d0e=reactExports.useMemo(()=>initCollapseMotion$1(i0e),[i0e]),p0e=useDebounce(t0e),f0e=useDebounce(r0e),h0e=reactExports.useMemo(()=>e0e!=null?[toErrorEntity(e0e,"help",$P)]:[].concat(_toConsumableArray$2(p0e.map((m0e,v0e)=>toErrorEntity(m0e,"error","error",v0e))),_toConsumableArray$2(f0e.map((m0e,v0e)=>toErrorEntity(m0e,"warning","warning",v0e)))),[e0e,$P,p0e,f0e]),b0e={};return a0e&&(b0e.id=`${a0e}_help`),c0e(reactExports.createElement(CSSMotion,{motionDeadline:d0e.motionDeadline,motionName:`${i0e}-show-help`,visible:!!h0e.length,onVisibleChanged:o0e},m0e=>{const{className:v0e,style:g0e}=m0e;return reactExports.createElement("div",Object.assign({},b0e,{className:cx$1(s0e,v0e,l0e,n0e,u0e),style:g0e,role:"alert"}),reactExports.createElement(CSSMotionList,Object.assign({keys:h0e},initCollapseMotion$1(i0e),{motionName:`${i0e}-show-help-item`,component:!1}),y0e=>{const{key:M0e,error:O0e,errorStatus:z0e,className:_0e,style:A0e}=y0e;return reactExports.createElement("div",{key:M0e,className:cx$1(_0e,{[`${s0e}-${z0e}`]:z0e}),style:A0e},O0e)}))}))},ErrorList$1=ErrorList,formItemNameBlackList=["parentNode"],defaultItemNamePrefixCls="form_item";function toArray$2(x_){return x_===void 0||x_===!1?[]:Array.isArray(x_)?x_:[x_]}function getFieldId(x_,e0e){if(!x_.length)return;const $P=x_.join("_");return e0e?`${e0e}_${$P}`:formItemNameBlackList.includes($P)?`${defaultItemNamePrefixCls}_${$P}`:$P}function getStatus(x_,e0e,$P,t0e,r0e,n0e){let a0e=t0e;return n0e!==void 0?a0e=n0e:$P.validating?a0e="validating":x_.length?a0e="error":e0e.length?a0e="warning":($P.touched||r0e&&$P.validated)&&(a0e="success"),a0e}function toNamePathStr(x_){return toArray$2(x_).join("_")}function useForm$1(x_){const[e0e]=useForm$2(),$P=reactExports.useRef({}),t0e=reactExports.useMemo(()=>x_??Object.assign(Object.assign({},e0e),{__INTERNAL__:{itemRef:r0e=>n0e=>{const a0e=toNamePathStr(r0e);n0e?$P.current[a0e]=n0e:delete $P.current[a0e]}},scrollToField:function(r0e){let n0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a0e=toArray$2(r0e),o0e=getFieldId(a0e,t0e.__INTERNAL__.name),i0e=o0e?document.getElementById(o0e):null;i0e&&e$2(i0e,Object.assign({scrollMode:"if-needed",block:"nearest"},n0e))},getFieldInstance:r0e=>{const n0e=toNamePathStr(r0e);return $P.current[n0e]}}),[x_,e0e]);return[t0e]}var __rest$9=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const $P=reactExports.useContext(DisabledContext$1),{getPrefixCls:t0e,direction:r0e,form:n0e}=reactExports.useContext(ConfigContext),{prefixCls:a0e,className:o0e,rootClassName:i0e,size:s0e,disabled:l0e=$P,form:c0e,colon:u0e,labelAlign:d0e,labelWrap:p0e,labelCol:f0e,wrapperCol:h0e,hideRequiredMark:b0e,layout:m0e="horizontal",scrollToFirstError:v0e,requiredMark:g0e,onFinishFailed:y0e,name:M0e,style:O0e,feedbackIcons:z0e}=x_,_0e=__rest$9(x_,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),A0e=useSize$1(s0e),$0e=reactExports.useContext(ValidateMessagesContext),S0e=reactExports.useMemo(()=>g0e!==void 0?g0e:b0e?!1:n0e&&n0e.requiredMark!==void 0?n0e.requiredMark:!0,[b0e,g0e,n0e]),C0e=u0e??(n0e==null?void 0:n0e.colon),E0e=t0e("form",a0e),w0e=useCSSVarCls$1(E0e),[R0e,T0e]=useStyle$4(E0e,w0e),D0e=cx$1(E0e,`${E0e}-${m0e}`,{[`${E0e}-hide-required-mark`]:S0e===!1,[`${E0e}-rtl`]:r0e==="rtl",[`${E0e}-${A0e}`]:A0e},w0e,T0e,n0e==null?void 0:n0e.className,o0e,i0e),[W0e]=useForm$1(c0e),{__INTERNAL__:k0e}=W0e;k0e.name=M0e;const q0e=reactExports.useMemo(()=>({name:M0e,labelAlign:d0e,labelCol:f0e,labelWrap:p0e,wrapperCol:h0e,vertical:m0e==="vertical",colon:C0e,requiredMark:S0e,itemRef:k0e.itemRef,form:W0e,feedbackIcons:z0e}),[M0e,d0e,f0e,h0e,m0e,C0e,S0e,W0e,z0e]);reactExports.useImperativeHandle(e0e,()=>W0e);const N0e=(P0e,I0e)=>{if(P0e){let F0e={block:"nearest"};typeof P0e=="object"&&(F0e=P0e),W0e.scrollToField(I0e,F0e)}},j0e=P0e=>{if(y0e==null||y0e(P0e),P0e.errorFields.length){const I0e=P0e.errorFields[0].name;if(v0e!==void 0){N0e(v0e,I0e);return}n0e&&n0e.scrollToFirstError!==void 0&&N0e(n0e.scrollToFirstError,I0e)}};return R0e(reactExports.createElement(DisabledContextProvider,{disabled:l0e},reactExports.createElement(SizeContext$1.Provider,{value:A0e},reactExports.createElement(FormProvider$1,{validateMessages:$0e},reactExports.createElement(FormContext.Provider,{value:q0e},reactExports.createElement(RefForm,Object.assign({id:M0e},_0e,{name:M0e,onFinishFailed:j0e,form:W0e,style:Object.assign(Object.assign({},n0e==null?void 0:n0e.style),O0e),className:D0e})))))))},Form$5=reactExports.forwardRef(InternalForm),InternalForm$1=Form$5;function useChildren(x_){if(typeof x_=="function")return x_;const e0e=toArray$6(x_);return e0e.length<=1?e0e[0]:e0e}const useFormItemStatus=()=>{const{status:x_,errors:e0e=[],warnings:$P=[]}=reactExports.useContext(FormItemInputContext);return{status:x_,errors:e0e,warnings:$P}};useFormItemStatus.Context=FormItemInputContext;const useFormItemStatus$1=useFormItemStatus;function useFrameState(x_){const[e0e,$P]=reactExports.useState(x_),t0e=reactExports.useRef(null),r0e=reactExports.useRef([]),n0e=reactExports.useRef(!1);reactExports.useEffect(()=>(n0e.current=!1,()=>{n0e.current=!0,wrapperRaf$1.cancel(t0e.current),t0e.current=null}),[]);function a0e(o0e){n0e.current||(t0e.current===null&&(r0e.current=[],t0e.current=wrapperRaf$1(()=>{t0e.current=null,$P(i0e=>{let s0e=i0e;return r0e.current.forEach(l0e=>{s0e=l0e(s0e)}),s0e})})),r0e.current.push(o0e))}return[e0e,a0e]}function useItemRef(){const{itemRef:x_}=reactExports.useContext(FormContext),e0e=reactExports.useRef({});function $P(t0e,r0e){const n0e=r0e&&typeof r0e=="object"&&r0e.ref,a0e=t0e.join("_");return(e0e.current.name!==a0e||e0e.current.originRef!==n0e)&&(e0e.current.name=a0e,e0e.current.originRef=n0e,e0e.current.ref=composeRef$1(x_(t0e),n0e)),e0e.current.ref}return $P}const genFallbackStyle=x_=>{const{formItemCls:e0e}=x_;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${e0e}-control`]:{display:"flex"}}}},FallbackCmp=genSubStyleComponent(["Form","item-item"],(x_,e0e)=>{let{rootPrefixCls:$P}=e0e;const t0e=prepareToken(x_,$P);return[genFallbackStyle(t0e)]}),FormItemInput=x_=>{const{prefixCls:e0e,status:$P,wrapperCol:t0e,children:r0e,errors:n0e,warnings:a0e,_internalItemRender:o0e,extra:i0e,help:s0e,fieldId:l0e,marginBottom:c0e,onErrorVisibleChanged:u0e}=x_,d0e=`${e0e}-item`,p0e=reactExports.useContext(FormContext),f0e=t0e||p0e.wrapperCol||{},h0e=cx$1(`${d0e}-control`,f0e.className),b0e=reactExports.useMemo(()=>Object.assign({},p0e),[p0e]);delete b0e.labelCol,delete b0e.wrapperCol;const m0e=reactExports.createElement("div",{className:`${d0e}-control-input`},reactExports.createElement("div",{className:`${d0e}-control-input-content`},r0e)),v0e=reactExports.useMemo(()=>({prefixCls:e0e,status:$P}),[e0e,$P]),g0e=c0e!==null||n0e.length||a0e.length?reactExports.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},reactExports.createElement(FormItemPrefixContext.Provider,{value:v0e},reactExports.createElement(ErrorList$1,{fieldId:l0e,errors:n0e,warnings:a0e,help:s0e,helpStatus:$P,className:`${d0e}-explain-connected`,onVisibleChanged:u0e})),!!c0e&&reactExports.createElement("div",{style:{width:0,height:c0e}})):null,y0e={};l0e&&(y0e.id=`${l0e}_extra`);const M0e=i0e?reactExports.createElement("div",Object.assign({},y0e,{className:`${d0e}-extra`}),i0e):null,O0e=o0e&&o0e.mark==="pro_table_render"&&o0e.render?o0e.render(x_,{input:m0e,errorList:g0e,extra:M0e}):reactExports.createElement(reactExports.Fragment,null,m0e,g0e,M0e);return reactExports.createElement(FormContext.Provider,{value:b0e},reactExports.createElement(Col$1,Object.assign({},f0e,{className:h0e}),O0e),reactExports.createElement(FallbackCmp,{prefixCls:e0e}))},FormItemInput$1=FormItemInput;var QuestionCircleOutlined$2={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"};const QuestionCircleOutlinedSvg=QuestionCircleOutlined$2;var QuestionCircleOutlined=function(e0e,$P){return reactExports.createElement(AntdIcon,_extends$1z({},e0e,{ref:$P,icon:QuestionCircleOutlinedSvg}))};const QuestionCircleOutlined$1=reactExports.forwardRef(QuestionCircleOutlined);var __rest$8=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{let{prefixCls:e0e,label:$P,htmlFor:t0e,labelCol:r0e,labelAlign:n0e,colon:a0e,required:o0e,requiredMark:i0e,tooltip:s0e}=x_;var l0e;const[c0e]=useLocale$1("Form"),{vertical:u0e,labelAlign:d0e,labelCol:p0e,labelWrap:f0e,colon:h0e}=reactExports.useContext(FormContext);if(!$P)return null;const b0e=r0e||p0e||{},m0e=n0e||d0e,v0e=`${e0e}-item-label`,g0e=cx$1(v0e,m0e==="left"&&`${v0e}-left`,b0e.className,{[`${v0e}-wrap`]:!!f0e});let y0e=$P;const M0e=a0e===!0||h0e!==!1&&a0e!==!1;M0e&&!u0e&&typeof $P=="string"&&$P.trim()!==""&&(y0e=$P.replace(/[:|:]\s*$/,""));const z0e=toTooltipProps(s0e);if(z0e){const{icon:S0e=reactExports.createElement(QuestionCircleOutlined$1,null)}=z0e,C0e=__rest$8(z0e,["icon"]),E0e=reactExports.createElement(Tooltip$3,Object.assign({},C0e),reactExports.cloneElement(S0e,{className:`${e0e}-item-tooltip`,title:"",onClick:w0e=>{w0e.preventDefault()},tabIndex:null}));y0e=reactExports.createElement(reactExports.Fragment,null,y0e,E0e)}const _0e=i0e==="optional",A0e=typeof i0e=="function";A0e?y0e=i0e(y0e,{required:!!o0e}):_0e&&!o0e&&(y0e=reactExports.createElement(reactExports.Fragment,null,y0e,reactExports.createElement("span",{className:`${e0e}-item-optional`,title:""},(c0e==null?void 0:c0e.optional)||((l0e=defaultLocale$1.Form)===null||l0e===void 0?void 0:l0e.optional))));const $0e=cx$1({[`${e0e}-item-required`]:o0e,[`${e0e}-item-required-mark-optional`]:_0e||A0e,[`${e0e}-item-no-colon`]:!M0e});return reactExports.createElement(Col$1,Object.assign({},b0e,{className:g0e}),reactExports.createElement("label",{htmlFor:t0e,className:$0e,title:typeof $P=="string"?$P:""},y0e))},FormItemLabel$1=FormItemLabel,iconMap={success:CheckCircleFilled$1,warning:ExclamationCircleFilled$1,error:CloseCircleFilled$1,validating:LoadingOutlined$1};function StatusProvider(x_){let{children:e0e,errors:$P,warnings:t0e,hasFeedback:r0e,validateStatus:n0e,prefixCls:a0e,meta:o0e,noStyle:i0e}=x_;const s0e=`${a0e}-item`,{feedbackIcons:l0e}=reactExports.useContext(FormContext),c0e=getStatus($P,t0e,o0e,null,!!r0e,n0e),{isFormItemInput:u0e,status:d0e,hasFeedback:p0e,feedbackIcon:f0e}=reactExports.useContext(FormItemInputContext),h0e=reactExports.useMemo(()=>{var b0e;let m0e;if(r0e){const g0e=r0e!==!0&&r0e.icons||l0e,y0e=c0e&&((b0e=g0e==null?void 0:g0e({status:c0e,errors:$P,warnings:t0e}))===null||b0e===void 0?void 0:b0e[c0e]),M0e=c0e&&iconMap[c0e];m0e=y0e!==!1&&M0e?reactExports.createElement("span",{className:cx$1(`${s0e}-feedback-icon`,`${s0e}-feedback-icon-${c0e}`)},y0e||reactExports.createElement(M0e,null)):null}const v0e={status:c0e||"",errors:$P,warnings:t0e,hasFeedback:!!r0e,feedbackIcon:m0e,isFormItemInput:!0};return i0e&&(v0e.status=(c0e??d0e)||"",v0e.isFormItemInput=u0e,v0e.hasFeedback=!!(r0e??p0e),v0e.feedbackIcon=r0e!==void 0?v0e.feedbackIcon:f0e),v0e},[c0e,r0e,i0e,u0e,d0e]);return reactExports.createElement(FormItemInputContext.Provider,{value:h0e},e0e)}var __rest$7=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{if(z0e&&g0e.current){const R0e=getComputedStyle(g0e.current);$0e(parseInt(R0e.marginBottom,10))}},[z0e,_0e]);const S0e=R0e=>{R0e||$0e(null)},E0e=function(){let R0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const T0e=R0e?y0e:s0e.errors,D0e=R0e?M0e:s0e.warnings;return getStatus(T0e,D0e,s0e,"",!!l0e,i0e)}(),w0e=cx$1(m0e,$P,t0e,{[`${m0e}-with-help`]:O0e||y0e.length||M0e.length,[`${m0e}-has-feedback`]:E0e&&l0e,[`${m0e}-has-success`]:E0e==="success",[`${m0e}-has-warning`]:E0e==="warning",[`${m0e}-has-error`]:E0e==="error",[`${m0e}-is-validating`]:E0e==="validating",[`${m0e}-hidden`]:c0e});return reactExports.createElement("div",{className:w0e,style:r0e,ref:g0e},reactExports.createElement(Row$3,Object.assign({className:`${m0e}-row`},omit$2(b0e,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),reactExports.createElement(FormItemLabel$1,Object.assign({htmlFor:d0e},x_,{requiredMark:v0e,required:p0e??f0e,prefixCls:e0e})),reactExports.createElement(FormItemInput$1,Object.assign({},x_,s0e,{errors:y0e,warnings:M0e,prefixCls:e0e,status:E0e,help:n0e,marginBottom:A0e,onErrorVisibleChanged:S0e}),reactExports.createElement(NoStyleItemContext.Provider,{value:h0e},reactExports.createElement(StatusProvider,{prefixCls:e0e,meta:s0e,errors:s0e.errors,warnings:s0e.warnings,hasFeedback:l0e,validateStatus:E0e},u0e)))),!!A0e&&reactExports.createElement("div",{className:`${m0e}-margin-offset`,style:{marginBottom:-A0e}}))}const NAME_SPLIT="__SPLIT__",MemoInput=reactExports.memo(x_=>{let{children:e0e}=x_;return e0e},(x_,e0e)=>x_.value===e0e.value&&x_.update===e0e.update&&x_.childProps.length===e0e.childProps.length&&x_.childProps.every(($P,t0e)=>$P===e0e.childProps[t0e]));function genEmptyMeta(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function InternalFormItem(x_){const{name:e0e,noStyle:$P,className:t0e,dependencies:r0e,prefixCls:n0e,shouldUpdate:a0e,rules:o0e,children:i0e,required:s0e,label:l0e,messageVariables:c0e,trigger:u0e="onChange",validateTrigger:d0e,hidden:p0e,help:f0e}=x_,{getPrefixCls:h0e}=reactExports.useContext(ConfigContext),{name:b0e}=reactExports.useContext(FormContext),m0e=useChildren(i0e),v0e=typeof m0e=="function",g0e=reactExports.useContext(NoStyleItemContext),{validateTrigger:y0e}=reactExports.useContext(Context$1),M0e=d0e!==void 0?d0e:y0e,O0e=e0e!=null,z0e=h0e("form",n0e),_0e=useCSSVarCls$1(z0e),[A0e,$0e]=useStyle$4(z0e,_0e);devUseWarning();const S0e=reactExports.useContext(ListContext),C0e=reactExports.useRef(),[E0e,w0e]=useFrameState({}),[R0e,T0e]=useSafeState(()=>genEmptyMeta()),D0e=I0e=>{const F0e=S0e==null?void 0:S0e.getKey(I0e.name);if(T0e(I0e.destroy?genEmptyMeta():I0e,!0),$P&&f0e!==!1&&g0e){let V0e=I0e.name;if(I0e.destroy)V0e=C0e.current||V0e;else if(F0e!==void 0){const[H0e,Q0e]=F0e;V0e=[H0e].concat(_toConsumableArray$2(Q0e)),C0e.current=V0e}g0e(I0e,V0e)}},W0e=(I0e,F0e)=>{w0e(V0e=>{const H0e=Object.assign({},V0e),Y0e=[].concat(_toConsumableArray$2(I0e.name.slice(0,-1)),_toConsumableArray$2(F0e)).join(NAME_SPLIT);return I0e.destroy?delete H0e[Y0e]:H0e[Y0e]=I0e,H0e})},[k0e,q0e]=reactExports.useMemo(()=>{const I0e=_toConsumableArray$2(R0e.errors),F0e=_toConsumableArray$2(R0e.warnings);return Object.values(E0e).forEach(V0e=>{I0e.push.apply(I0e,_toConsumableArray$2(V0e.errors||[])),F0e.push.apply(F0e,_toConsumableArray$2(V0e.warnings||[]))}),[I0e,F0e]},[E0e,R0e.errors,R0e.warnings]),N0e=useItemRef();function j0e(I0e,F0e,V0e){return $P&&!p0e?reactExports.createElement(StatusProvider,{prefixCls:z0e,hasFeedback:x_.hasFeedback,validateStatus:x_.validateStatus,meta:R0e,errors:k0e,warnings:q0e,noStyle:!0},I0e):reactExports.createElement(ItemHolder,Object.assign({key:"row"},x_,{className:cx$1(t0e,_0e,$0e),prefixCls:z0e,fieldId:F0e,isRequired:V0e,errors:k0e,warnings:q0e,meta:R0e,onSubItemMetaChange:W0e}),I0e)}if(!O0e&&!v0e&&!r0e)return A0e(j0e(m0e));let P0e={};return typeof l0e=="string"?P0e.label=l0e:e0e&&(P0e.label=String(e0e)),c0e&&(P0e=Object.assign(Object.assign({},P0e),c0e)),A0e(reactExports.createElement(WrapperField,Object.assign({},x_,{messageVariables:P0e,trigger:u0e,validateTrigger:M0e,onMetaChange:D0e}),(I0e,F0e,V0e)=>{const H0e=toArray$2(e0e).length&&F0e?F0e.name:[],Q0e=getFieldId(H0e,b0e),Y0e=s0e!==void 0?s0e:!!(o0e&&o0e.some(U0e=>{if(U0e&&typeof U0e=="object"&&U0e.required&&!U0e.warningOnly)return!0;if(typeof U0e=="function"){const X0e=U0e(V0e);return X0e&&X0e.required&&!X0e.warningOnly}return!1})),G0e=Object.assign({},I0e);let B0e=null;if(Array.isArray(m0e)&&O0e)B0e=m0e;else if(!(v0e&&(!(a0e||r0e)||O0e))){if(!(r0e&&!v0e&&!O0e))if(isValidElement(m0e)){const U0e=Object.assign(Object.assign({},m0e.props),G0e);if(U0e.id||(U0e.id=Q0e),f0e||k0e.length>0||q0e.length>0||x_.extra){const e1e=[];(f0e||k0e.length>0)&&e1e.push(`${Q0e}_help`),x_.extra&&e1e.push(`${Q0e}_extra`),U0e["aria-describedby"]=e1e.join(" ")}k0e.length>0&&(U0e["aria-invalid"]="true"),Y0e&&(U0e["aria-required"]="true"),supportRef(m0e)&&(U0e.ref=N0e(H0e,m0e)),new Set([].concat(_toConsumableArray$2(toArray$2(u0e)),_toConsumableArray$2(toArray$2(M0e)))).forEach(e1e=>{U0e[e1e]=function(){for(var n1e,t1e,r1e,a1e,l1e,s1e=arguments.length,g1e=new Array(s1e),$1e=0;$1e{var{prefixCls:e0e,children:$P}=x_,t0e=__rest$6(x_,["prefixCls","children"]);const{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=r0e("form",e0e),a0e=reactExports.useMemo(()=>({prefixCls:n0e,status:"error"}),[n0e]);return reactExports.createElement(List$3,Object.assign({},t0e),(o0e,i0e,s0e)=>reactExports.createElement(FormItemPrefixContext.Provider,{value:a0e},$P(o0e.map(l0e=>Object.assign(Object.assign({},l0e),{fieldKey:l0e.key})),i0e,{errors:s0e.errors,warnings:s0e.warnings})))},List$1=FormList;function useFormInstance(){const{form:x_}=reactExports.useContext(FormContext);return x_}const Form$3=InternalForm$1;Form$3.Item=Item$2;Form$3.List=List$1;Form$3.ErrorList=ErrorList$1;Form$3.useForm=useForm$1;Form$3.useFormInstance=useFormInstance;Form$3.useWatch=useWatch$2;Form$3.Provider=FormProvider$1;Form$3.create=()=>{};const Form$4=Form$3;function getClientSize(){var x_=document.documentElement.clientWidth,e0e=window.innerHeight||document.documentElement.clientHeight;return{width:x_,height:e0e}}function getOffset$1(x_){var e0e=x_.getBoundingClientRect(),$P=document.documentElement;return{left:e0e.left+(window.pageXOffset||$P.scrollLeft)-($P.clientLeft||document.body.clientLeft||0),top:e0e.top+(window.pageYOffset||$P.scrollTop)-($P.clientTop||document.body.clientTop||0)}}var COMMON_PROPS=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],PreviewGroupContext=reactExports.createContext(null),uid=0;function useRegisterImage(x_,e0e){var $P=reactExports.useState(function(){return uid+=1,String(uid)}),t0e=_slicedToArray$3($P,1),r0e=t0e[0],n0e=reactExports.useContext(PreviewGroupContext),a0e={data:e0e,canPreview:x_};return reactExports.useEffect(function(){if(n0e)return n0e.register(r0e,a0e)},[]),reactExports.useEffect(function(){n0e&&n0e.register(r0e,a0e)},[x_,e0e]),r0e}function isImageValid(x_){return new Promise(function(e0e){var $P=document.createElement("img");$P.onerror=function(){return e0e(!1)},$P.onload=function(){return e0e(!0)},$P.src=x_})}function useStatus(x_){var e0e=x_.src,$P=x_.isCustomPlaceholder,t0e=x_.fallback,r0e=reactExports.useState($P?"loading":"normal"),n0e=_slicedToArray$3(r0e,2),a0e=n0e[0],o0e=n0e[1],i0e=reactExports.useRef(!1),s0e=a0e==="error";reactExports.useEffect(function(){var d0e=!0;return isImageValid(e0e).then(function(p0e){!p0e&&d0e&&o0e("error")}),function(){d0e=!1}},[e0e]),reactExports.useEffect(function(){$P&&!i0e.current?o0e("loading"):s0e&&o0e("normal")},[e0e]);var l0e=function(){o0e("normal")},c0e=function(p0e){i0e.current=!1,a0e==="loading"&&p0e!==null&&p0e!==void 0&&p0e.complete&&(p0e.naturalWidth||p0e.naturalHeight)&&(i0e.current=!0,l0e())},u0e=s0e&&t0e?{src:t0e}:{onLoad:l0e,src:e0e};return[c0e,u0e,a0e]}function addEventListenerWrap(x_,e0e,$P,t0e){var r0e=ReactDOM.unstable_batchedUpdates?function(a0e){ReactDOM.unstable_batchedUpdates($P,a0e)}:$P;return x_!=null&&x_.addEventListener&&x_.addEventListener(e0e,r0e,t0e),{remove:function(){x_!=null&&x_.removeEventListener&&x_.removeEventListener(e0e,r0e,t0e)}}}var initialTransform={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function useImageTransform(x_,e0e,$P,t0e){var r0e=reactExports.useRef(null),n0e=reactExports.useRef([]),a0e=reactExports.useState(initialTransform),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1],l0e=function(p0e){s0e(initialTransform),t0e&&!isEqual(initialTransform,i0e)&&t0e({transform:initialTransform,action:p0e})},c0e=function(p0e,f0e){r0e.current===null&&(n0e.current=[],r0e.current=wrapperRaf$1(function(){s0e(function(h0e){var b0e=h0e;return n0e.current.forEach(function(m0e){b0e=_objectSpread2$1(_objectSpread2$1({},b0e),m0e)}),r0e.current=null,t0e==null||t0e({transform:b0e,action:f0e}),b0e})})),n0e.current.push(_objectSpread2$1(_objectSpread2$1({},i0e),p0e))},u0e=function(p0e,f0e,h0e,b0e,m0e){var v0e=x_.current,g0e=v0e.width,y0e=v0e.height,M0e=v0e.offsetWidth,O0e=v0e.offsetHeight,z0e=v0e.offsetLeft,_0e=v0e.offsetTop,A0e=p0e,$0e=i0e.scale*p0e;$0e>$P?($0e=$P,A0e=$P/i0e.scale):$0et0e){if(e0e>0)return _defineProperty$5({},x_,n0e);if(e0e<0&&r0et0e)return _defineProperty$5({},x_,e0e<0?n0e:-n0e);return{}}function getFixScaleEleTransPosition(x_,e0e,$P,t0e){var r0e=getClientSize(),n0e=r0e.width,a0e=r0e.height,o0e=null;return x_<=n0e&&e0e<=a0e?o0e={x:0,y:0}:(x_>n0e||e0e>a0e)&&(o0e=_objectSpread2$1(_objectSpread2$1({},fixPoint("x",$P,x_,n0e)),fixPoint("y",t0e,e0e,a0e))),o0e}var BASE_SCALE_RATIO=1,WHEEL_MAX_SCALE_RATIO=1;function useMouseEvent(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=r0e.rotate,i0e=r0e.scale,s0e=r0e.x,l0e=r0e.y,c0e=reactExports.useState(!1),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=reactExports.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),h0e=function(y0e){!e0e||y0e.button!==0||(y0e.preventDefault(),y0e.stopPropagation(),f0e.current={diffX:y0e.pageX-s0e,diffY:y0e.pageY-l0e,transformX:s0e,transformY:l0e},p0e(!0))},b0e=function(y0e){$P&&d0e&&n0e({x:y0e.pageX-f0e.current.diffX,y:y0e.pageY-f0e.current.diffY},"move")},m0e=function(){if($P&&d0e){p0e(!1);var y0e=f0e.current,M0e=y0e.transformX,O0e=y0e.transformY,z0e=s0e!==M0e&&l0e!==O0e;if(!z0e)return;var _0e=x_.current.offsetWidth*i0e,A0e=x_.current.offsetHeight*i0e,$0e=x_.current.getBoundingClientRect(),S0e=$0e.left,C0e=$0e.top,E0e=o0e%180!==0,w0e=getFixScaleEleTransPosition(E0e?A0e:_0e,E0e?_0e:A0e,S0e,C0e);w0e&&n0e(_objectSpread2$1({},w0e),"dragRebound")}},v0e=function(y0e){if(!(!$P||y0e.deltaY==0)){var M0e=Math.abs(y0e.deltaY/100),O0e=Math.min(M0e,WHEEL_MAX_SCALE_RATIO),z0e=BASE_SCALE_RATIO+O0e*t0e;y0e.deltaY>0&&(z0e=BASE_SCALE_RATIO/z0e),a0e(z0e,"wheel",y0e.clientX,y0e.clientY)}};return reactExports.useEffect(function(){var g0e,y0e,M0e,O0e;if(e0e){M0e=addEventListenerWrap(window,"mouseup",m0e,!1),O0e=addEventListenerWrap(window,"mousemove",b0e,!1);try{window.top!==window.self&&(g0e=addEventListenerWrap(window.top,"mouseup",m0e,!1),y0e=addEventListenerWrap(window.top,"mousemove",b0e,!1))}catch{}}return function(){var z0e,_0e,A0e,$0e;(z0e=M0e)===null||z0e===void 0||z0e.remove(),(_0e=O0e)===null||_0e===void 0||_0e.remove(),(A0e=g0e)===null||A0e===void 0||A0e.remove(),($0e=y0e)===null||$0e===void 0||$0e.remove()}},[$P,d0e,s0e,l0e,o0e,e0e]),{isMoving:d0e,onMouseDown:h0e,onMouseMove:b0e,onMouseUp:m0e,onWheel:v0e}}function getDistance(x_,e0e){var $P=x_.x-e0e.x,t0e=x_.y-e0e.y;return Math.hypot($P,t0e)}function getCenter(x_,e0e,$P,t0e){var r0e=getDistance(x_,$P),n0e=getDistance(e0e,t0e);if(r0e===0&&n0e===0)return[x_.x,x_.y];var a0e=r0e/(r0e+n0e),o0e=x_.x+a0e*(e0e.x-x_.x),i0e=x_.y+a0e*(e0e.y-x_.y);return[o0e,i0e]}function useTouchEvent(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e=r0e.rotate,i0e=r0e.scale,s0e=r0e.x,l0e=r0e.y,c0e=reactExports.useState(!1),u0e=_slicedToArray$3(c0e,2),d0e=u0e[0],p0e=u0e[1],f0e=reactExports.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),h0e=function(y0e){f0e.current=_objectSpread2$1(_objectSpread2$1({},f0e.current),y0e)},b0e=function(y0e){if(e0e){y0e.stopPropagation(),p0e(!0);var M0e=y0e.touches,O0e=M0e===void 0?[]:M0e;O0e.length>1?h0e({point1:{x:O0e[0].clientX,y:O0e[0].clientY},point2:{x:O0e[1].clientX,y:O0e[1].clientY},eventType:"touchZoom"}):h0e({point1:{x:O0e[0].clientX-s0e,y:O0e[0].clientY-l0e},eventType:"move"})}},m0e=function(y0e){var M0e=y0e.touches,O0e=M0e===void 0?[]:M0e,z0e=f0e.current,_0e=z0e.point1,A0e=z0e.point2,$0e=z0e.eventType;if(O0e.length>1&&$0e==="touchZoom"){var S0e={x:O0e[0].clientX,y:O0e[0].clientY},C0e={x:O0e[1].clientX,y:O0e[1].clientY},E0e=getCenter(_0e,A0e,S0e,C0e),w0e=_slicedToArray$3(E0e,2),R0e=w0e[0],T0e=w0e[1],D0e=getDistance(S0e,C0e)/getDistance(_0e,A0e);a0e(D0e,"touchZoom",R0e,T0e,!0),h0e({point1:S0e,point2:C0e,eventType:"touchZoom"})}else $0e==="move"&&(n0e({x:O0e[0].clientX-_0e.x,y:O0e[0].clientY-_0e.y},"move"),h0e({eventType:"move"}))},v0e=function(){if($P){if(d0e&&p0e(!1),h0e({eventType:"none"}),t0e>i0e)return n0e({x:0,y:0,scale:t0e},"touchZoom");var y0e=x_.current.offsetWidth*i0e,M0e=x_.current.offsetHeight*i0e,O0e=x_.current.getBoundingClientRect(),z0e=O0e.left,_0e=O0e.top,A0e=o0e%180!==0,$0e=getFixScaleEleTransPosition(A0e?M0e:y0e,A0e?y0e:M0e,z0e,_0e);$0e&&n0e(_objectSpread2$1({},$0e),"dragRebound")}};return reactExports.useEffect(function(){var g0e;return $P&&e0e&&(g0e=addEventListenerWrap(window,"touchmove",function(y0e){return y0e.preventDefault()},{passive:!1})),function(){var y0e;(y0e=g0e)===null||y0e===void 0||y0e.remove()}},[$P,e0e]),{isTouching:d0e,onTouchStart:b0e,onTouchMove:m0e,onTouchEnd:v0e}}var Operations=function(e0e){var $P=e0e.visible,t0e=e0e.maskTransitionName,r0e=e0e.getContainer,n0e=e0e.prefixCls,a0e=e0e.rootClassName,o0e=e0e.icons,i0e=e0e.countRender,s0e=e0e.showSwitch,l0e=e0e.showProgress,c0e=e0e.current,u0e=e0e.transform,d0e=e0e.count,p0e=e0e.scale,f0e=e0e.minScale,h0e=e0e.maxScale,b0e=e0e.closeIcon,m0e=e0e.onSwitchLeft,v0e=e0e.onSwitchRight,g0e=e0e.onClose,y0e=e0e.onZoomIn,M0e=e0e.onZoomOut,O0e=e0e.onRotateRight,z0e=e0e.onRotateLeft,_0e=e0e.onFlipX,A0e=e0e.onFlipY,$0e=e0e.toolbarRender,S0e=e0e.zIndex,C0e=reactExports.useContext(PreviewGroupContext),E0e=o0e.rotateLeft,w0e=o0e.rotateRight,R0e=o0e.zoomIn,T0e=o0e.zoomOut,D0e=o0e.close,W0e=o0e.left,k0e=o0e.right,q0e=o0e.flipX,N0e=o0e.flipY,j0e="".concat(n0e,"-operations-operation");reactExports.useEffect(function(){var V0e=function(Q0e){Q0e.keyCode===KeyCode$1.ESC&&g0e()};return $P&&window.addEventListener("keydown",V0e),function(){window.removeEventListener("keydown",V0e)}},[$P]);var P0e=[{icon:N0e,onClick:A0e,type:"flipY"},{icon:q0e,onClick:_0e,type:"flipX"},{icon:E0e,onClick:z0e,type:"rotateLeft"},{icon:w0e,onClick:O0e,type:"rotateRight"},{icon:T0e,onClick:M0e,type:"zoomOut",disabled:p0e<=f0e},{icon:R0e,onClick:y0e,type:"zoomIn",disabled:p0e===h0e}],I0e=P0e.map(function(V0e){var H0e,Q0e=V0e.icon,Y0e=V0e.onClick,G0e=V0e.type,B0e=V0e.disabled;return reactExports.createElement("div",{className:cx$1(j0e,(H0e={},_defineProperty$5(H0e,"".concat(n0e,"-operations-operation-").concat(G0e),!0),_defineProperty$5(H0e,"".concat(n0e,"-operations-operation-disabled"),!!B0e),H0e)),onClick:Y0e,key:G0e},Q0e)}),F0e=reactExports.createElement("div",{className:"".concat(n0e,"-operations")},I0e);return reactExports.createElement(CSSMotion,{visible:$P,motionName:t0e},function(V0e){var H0e=V0e.className,Q0e=V0e.style;return reactExports.createElement(Portal$2,{open:!0,getContainer:r0e??document.body},reactExports.createElement("div",{className:cx$1("".concat(n0e,"-operations-wrapper"),H0e,a0e),style:_objectSpread2$1(_objectSpread2$1({},Q0e),{},{zIndex:S0e})},b0e===null?null:reactExports.createElement("button",{className:"".concat(n0e,"-close"),onClick:g0e},b0e||D0e),s0e&&reactExports.createElement(reactExports.Fragment,null,reactExports.createElement("div",{className:cx$1("".concat(n0e,"-switch-left"),_defineProperty$5({},"".concat(n0e,"-switch-left-disabled"),c0e===0)),onClick:m0e},W0e),reactExports.createElement("div",{className:cx$1("".concat(n0e,"-switch-right"),_defineProperty$5({},"".concat(n0e,"-switch-right-disabled"),c0e===d0e-1)),onClick:v0e},k0e)),reactExports.createElement("div",{className:"".concat(n0e,"-footer")},l0e&&reactExports.createElement("div",{className:"".concat(n0e,"-progress")},i0e?i0e(c0e+1,d0e):"".concat(c0e+1," / ").concat(d0e)),$0e?$0e(F0e,_objectSpread2$1({icons:{flipYIcon:I0e[0],flipXIcon:I0e[1],rotateLeftIcon:I0e[2],rotateRightIcon:I0e[3],zoomOutIcon:I0e[4],zoomInIcon:I0e[5]},actions:{onFlipY:A0e,onFlipX:_0e,onRotateLeft:z0e,onRotateRight:O0e,onZoomOut:M0e,onZoomIn:y0e},transform:u0e},C0e?{current:c0e,total:d0e}:{})):F0e)))})},_excluded$g=["fallback","src","imgRef"],_excluded2$6=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],PreviewImage=function(e0e){var $P=e0e.fallback,t0e=e0e.src,r0e=e0e.imgRef,n0e=_objectWithoutProperties$4(e0e,_excluded$g),a0e=useStatus({src:t0e,fallback:$P}),o0e=_slicedToArray$3(a0e,2),i0e=o0e[0],s0e=o0e[1];return jsx("img",{ref:function(c0e){r0e.current=c0e,i0e(c0e)},...n0e,...s0e})},Preview=function(e0e){var $P=e0e.prefixCls,t0e=e0e.src,r0e=e0e.alt,n0e=e0e.fallback,a0e=e0e.movable,o0e=a0e===void 0?!0:a0e,i0e=e0e.onClose,s0e=e0e.visible,l0e=e0e.icons,c0e=l0e===void 0?{}:l0e,u0e=e0e.rootClassName,d0e=e0e.closeIcon,p0e=e0e.getContainer,f0e=e0e.current,h0e=f0e===void 0?0:f0e,b0e=e0e.count,m0e=b0e===void 0?1:b0e,v0e=e0e.countRender,g0e=e0e.scaleStep,y0e=g0e===void 0?.5:g0e,M0e=e0e.minScale,O0e=M0e===void 0?1:M0e,z0e=e0e.maxScale,_0e=z0e===void 0?50:z0e,A0e=e0e.transitionName,$0e=A0e===void 0?"zoom":A0e,S0e=e0e.maskTransitionName,C0e=S0e===void 0?"fade":S0e,E0e=e0e.imageRender,w0e=e0e.imgCommonProps,R0e=e0e.toolbarRender,T0e=e0e.onTransform,D0e=e0e.onChange,W0e=_objectWithoutProperties$4(e0e,_excluded2$6),k0e=reactExports.useRef(),q0e=reactExports.useContext(PreviewGroupContext),N0e=q0e&&m0e>1,j0e=q0e&&m0e>=1,P0e=reactExports.useState(!0),I0e=_slicedToArray$3(P0e,2),F0e=I0e[0],V0e=I0e[1],H0e=useImageTransform(k0e,O0e,_0e,T0e),Q0e=H0e.transform,Y0e=H0e.resetTransform,G0e=H0e.updateTransform,B0e=H0e.dispatchZoomChange,U0e=useMouseEvent(k0e,o0e,s0e,y0e,Q0e,G0e,B0e),X0e=U0e.isMoving,Z0e=U0e.onMouseDown,e1e=U0e.onWheel,n1e=useTouchEvent(k0e,o0e,s0e,O0e,Q0e,G0e,B0e),t1e=n1e.isTouching,r1e=n1e.onTouchStart,a1e=n1e.onTouchMove,l1e=n1e.onTouchEnd,s1e=Q0e.rotate,g1e=Q0e.scale,$1e=cx$1(_defineProperty$5({},"".concat($P,"-moving"),X0e));reactExports.useEffect(function(){F0e||V0e(!0)},[F0e]);var _1e=function(){Y0e("close")},p1e=function(){B0e(BASE_SCALE_RATIO+y0e,"zoomIn")},E1e=function(){B0e(BASE_SCALE_RATIO/(BASE_SCALE_RATIO+y0e),"zoomOut")},x1e=function(){G0e({rotate:s1e+90},"rotateRight")},O1e=function(){G0e({rotate:s1e-90},"rotateLeft")},w1e=function(){G0e({flipX:!Q0e.flipX},"flipX")},A1e=function(){G0e({flipY:!Q0e.flipY},"flipY")},F1e=function(ume){ume==null||ume.preventDefault(),ume==null||ume.stopPropagation(),h0e>0&&(V0e(!1),Y0e("prev"),D0e==null||D0e(h0e-1,h0e))},J1e=function(ume){ume==null||ume.preventDefault(),ume==null||ume.stopPropagation(),h0e({position:x_||"absolute",inset:0}),genImageMaskStyle=x_=>{const{iconCls:e0e,motionDurationSlow:$P,paddingXXS:t0e,marginXXS:r0e,prefixCls:n0e,colorTextLightSolid:a0e}=x_;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a0e,background:new TinyColor("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${$P}`,[`.${n0e}-mask-info`]:Object.assign(Object.assign({},textEllipsis),{padding:`0 ${unit$1(t0e)}`,[e0e]:{marginInlineEnd:r0e,svg:{verticalAlign:"baseline"}}})}},genPreviewOperationsStyle=x_=>{const{previewCls:e0e,modalMaskBg:$P,paddingSM:t0e,marginXL:r0e,margin:n0e,paddingLG:a0e,previewOperationColorDisabled:o0e,previewOperationHoverColor:i0e,motionDurationSlow:s0e,iconCls:l0e,colorTextLightSolid:c0e}=x_,u0e=new TinyColor($P).setAlpha(.1),d0e=u0e.clone().setAlpha(.2);return{[`${e0e}-footer`]:{position:"fixed",bottom:r0e,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:x_.previewOperationColor},[`${e0e}-progress`]:{marginBottom:n0e},[`${e0e}-close`]:{position:"fixed",top:r0e,right:{_skip_check_:!0,value:r0e},display:"flex",color:c0e,backgroundColor:u0e.toRgbString(),borderRadius:"50%",padding:t0e,outline:0,border:0,cursor:"pointer",transition:`all ${s0e}`,"&:hover":{backgroundColor:d0e.toRgbString()},[`& > ${l0e}`]:{fontSize:x_.previewOperationSize}},[`${e0e}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${unit$1(a0e)}`,backgroundColor:u0e.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:t0e,padding:t0e,cursor:"pointer",transition:`all ${s0e}`,userSelect:"none",[`&:not(${e0e}-operations-operation-disabled):hover > ${l0e}`]:{color:i0e},"&-disabled":{color:o0e,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${l0e}`]:{fontSize:x_.previewOperationSize}}}}},genPreviewSwitchStyle=x_=>{const{modalMaskBg:e0e,iconCls:$P,previewOperationColorDisabled:t0e,previewCls:r0e,zIndexPopup:n0e,motionDurationSlow:a0e}=x_,o0e=new TinyColor(e0e).setAlpha(.1),i0e=o0e.clone().setAlpha(.2);return{[`${r0e}-switch-left, ${r0e}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:x_.calc(n0e).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:x_.imagePreviewSwitchSize,height:x_.imagePreviewSwitchSize,marginTop:x_.calc(x_.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:x_.previewOperationColor,background:o0e.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a0e}`,userSelect:"none","&:hover":{background:i0e.toRgbString()},"&-disabled":{"&, &:hover":{color:t0e,background:"transparent",cursor:"not-allowed",[`> ${$P}`]:{cursor:"not-allowed"}}},[`> ${$P}`]:{fontSize:x_.previewOperationSize}},[`${r0e}-switch-left`]:{insetInlineStart:x_.marginSM},[`${r0e}-switch-right`]:{insetInlineEnd:x_.marginSM}}},genImagePreviewStyle=x_=>{const{motionEaseOut:e0e,previewCls:$P,motionDurationSlow:t0e,componentCls:r0e}=x_;return[{[`${r0e}-preview-root`]:{[$P]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${$P}-body`]:Object.assign(Object.assign({},genBoxStyle()),{overflow:"hidden"}),[`${$P}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${t0e} ${e0e} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},genBoxStyle()),{transition:`transform ${t0e} ${e0e} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${$P}-moving`]:{[`${$P}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r0e}-preview-root`]:{[`${$P}-wrap`]:{zIndex:x_.zIndexPopup}}},{[`${r0e}-preview-operations-wrapper`]:{position:"fixed",zIndex:x_.calc(x_.zIndexPopup).add(1).equal({unit:!1})},"&":[genPreviewOperationsStyle(x_),genPreviewSwitchStyle(x_)]}]},genImageStyle=x_=>{const{componentCls:e0e}=x_;return{[e0e]:{position:"relative",display:"inline-block",[`${e0e}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${e0e}-img-placeholder`]:{backgroundColor:x_.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${e0e}-mask`]:Object.assign({},genImageMaskStyle(x_)),[`${e0e}-mask:hover`]:{opacity:1},[`${e0e}-placeholder`]:Object.assign({},genBoxStyle())}}},genPreviewMotion=x_=>{const{previewCls:e0e}=x_;return{[`${e0e}-root`]:initZoomMotion(x_,"zoom"),"&":initFadeMotion(x_,!0)}},prepareComponentToken$3=x_=>({zIndexPopup:x_.zIndexPopupBase+80,previewOperationColor:new TinyColor(x_.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new TinyColor(x_.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new TinyColor(x_.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:x_.fontSizeIcon*1.5}),useStyle$3=genStyleHooks("Image",x_=>{const e0e=`${x_.componentCls}-preview`,$P=merge$2(x_,{previewCls:e0e,modalMaskBg:new TinyColor("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:x_.controlHeightLG});return[genImageStyle($P),genImagePreviewStyle($P),genModalMaskStyle(merge$2($P,{componentCls:e0e})),genPreviewMotion($P)]},prepareComponentToken$3);var __rest$5=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{var{previewPrefixCls:e0e,preview:$P}=x_,t0e=__rest$5(x_,["previewPrefixCls","preview"]);const{getPrefixCls:r0e}=reactExports.useContext(ConfigContext),n0e=r0e("image",e0e),a0e=`${n0e}-preview`,o0e=r0e(),i0e=useCSSVarCls$1(n0e),[s0e,l0e]=useStyle$3(n0e,i0e),[c0e]=useZIndex("ImagePreview",typeof $P=="object"?$P.zIndex:void 0),u0e=reactExports.useMemo(()=>{var d0e;if($P===!1)return $P;const p0e=typeof $P=="object"?$P:{},f0e=cx$1(l0e,i0e,(d0e=p0e.rootClassName)!==null&&d0e!==void 0?d0e:"");return Object.assign(Object.assign({},p0e),{transitionName:getTransitionName(o0e,"zoom",p0e.transitionName),maskTransitionName:getTransitionName(o0e,"fade",p0e.maskTransitionName),rootClassName:f0e,zIndex:c0e})},[$P]);return s0e(reactExports.createElement(ImageInternal.PreviewGroup,Object.assign({preview:u0e,previewPrefixCls:a0e,icons},t0e)))},PreviewGroup=InternalPreviewGroup;var __rest$4=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:e0e,preview:$P,className:t0e,rootClassName:r0e,style:n0e}=x_,a0e=__rest$4(x_,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:o0e,locale:i0e=defaultLocale$1,getPopupContainer:s0e,image:l0e}=reactExports.useContext(ConfigContext),c0e=o0e("image",e0e),u0e=o0e(),d0e=i0e.Image||defaultLocale$1.Image,p0e=useCSSVarCls$1(c0e),[f0e,h0e]=useStyle$3(c0e,p0e),b0e=cx$1(r0e,h0e,p0e),m0e=cx$1(t0e,h0e,l0e==null?void 0:l0e.className),[v0e]=useZIndex("ImagePreview",typeof $P=="object"?$P.zIndex:void 0),g0e=reactExports.useMemo(()=>{if($P===!1)return $P;const M0e=typeof $P=="object"?$P:{},{getContainer:O0e}=M0e,z0e=__rest$4(M0e,["getContainer"]);return Object.assign(Object.assign({mask:reactExports.createElement("div",{className:`${c0e}-mask-info`},reactExports.createElement(EyeOutlined$1,null),d0e==null?void 0:d0e.preview),icons},z0e),{getContainer:O0e||s0e,transitionName:getTransitionName(u0e,"zoom",M0e.transitionName),maskTransitionName:getTransitionName(u0e,"fade",M0e.maskTransitionName),zIndex:v0e})},[$P,d0e]),y0e=Object.assign(Object.assign({},l0e==null?void 0:l0e.style),n0e);return f0e(reactExports.createElement(ImageInternal,Object.assign({prefixCls:c0e,preview:g0e,rootClassName:b0e,className:m0e,style:y0e},a0e)))};Image$1.PreviewGroup=PreviewGroup;const Image$2=Image$1;function useHasSider(x_,e0e,$P){return typeof $P=="boolean"?$P:x_.length?!0:toArray$6(e0e).some(r0e=>r0e.type===Sider$4)}const genLayoutLightStyle=x_=>{const{componentCls:e0e,bodyBg:$P,lightSiderBg:t0e,lightTriggerBg:r0e,lightTriggerColor:n0e}=x_;return{[`${e0e}-sider-light`]:{background:t0e,[`${e0e}-sider-trigger`]:{color:n0e,background:r0e},[`${e0e}-sider-zero-width-trigger`]:{color:n0e,background:r0e,border:`1px solid ${$P}`,borderInlineStart:0}}}},genLayoutLightStyle$1=genLayoutLightStyle,genLayoutStyle=x_=>{const{antCls:e0e,componentCls:$P,colorText:t0e,triggerColor:r0e,footerBg:n0e,triggerBg:a0e,headerHeight:o0e,headerPadding:i0e,headerColor:s0e,footerPadding:l0e,triggerHeight:c0e,zeroTriggerHeight:u0e,zeroTriggerWidth:d0e,motionDurationMid:p0e,motionDurationSlow:f0e,fontSize:h0e,borderRadius:b0e,bodyBg:m0e,headerBg:v0e,siderBg:g0e}=x_;return{[$P]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:m0e,"&, *":{boxSizing:"border-box"},[`&${$P}-has-sider`]:{flexDirection:"row",[`> ${$P}, > ${$P}-content`]:{width:0}},[`${$P}-header, &${$P}-footer`]:{flex:"0 0 auto"},[`${$P}-sider`]:{position:"relative",minWidth:0,background:g0e,transition:`all ${p0e}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${e0e}-menu${e0e}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:c0e},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:c0e,color:r0e,lineHeight:unit$1(c0e),textAlign:"center",background:a0e,cursor:"pointer",transition:`all ${p0e}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:o0e,insetInlineEnd:x_.calc(d0e).mul(-1).equal(),zIndex:1,width:d0e,height:u0e,color:r0e,fontSize:x_.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:g0e,borderStartStartRadius:0,borderStartEndRadius:b0e,borderEndEndRadius:b0e,borderEndStartRadius:0,cursor:"pointer",transition:`background ${f0e} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${f0e}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:x_.calc(d0e).mul(-1).equal(),borderStartStartRadius:b0e,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:b0e}}}}},genLayoutLightStyle$1(x_)),{"&-rtl":{direction:"rtl"}}),[`${$P}-header`]:{height:o0e,padding:i0e,color:s0e,lineHeight:unit$1(o0e),background:v0e,[`${e0e}-menu`]:{lineHeight:"inherit"}},[`${$P}-footer`]:{padding:l0e,color:t0e,fontSize:h0e,background:n0e},[`${$P}-content`]:{flex:"auto",minHeight:0}}},prepareComponentToken$2=x_=>{const{colorBgLayout:e0e,controlHeight:$P,controlHeightLG:t0e,colorText:r0e,controlHeightSM:n0e,marginXXS:a0e,colorTextLightSolid:o0e,colorBgContainer:i0e}=x_,s0e=t0e*1.25;return{colorBgHeader:"#001529",colorBgBody:e0e,colorBgTrigger:"#002140",bodyBg:e0e,headerBg:"#001529",headerHeight:$P*2,headerPadding:`0 ${s0e}px`,headerColor:r0e,footerPadding:`${n0e}px ${s0e}px`,footerBg:e0e,siderBg:"#001529",triggerHeight:t0e+a0e*2,triggerBg:"#002140",triggerColor:o0e,zeroTriggerWidth:t0e,zeroTriggerHeight:t0e,lightSiderBg:i0e,lightTriggerBg:i0e,lightTriggerColor:r0e}},useStyle$2=genStyleHooks("Layout",x_=>[genLayoutStyle(x_)],prepareComponentToken$2,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var __rest$3=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0ereactExports.forwardRef((a0e,o0e)=>reactExports.createElement(r0e,Object.assign({ref:o0e,suffixCls:e0e,tagName:$P},a0e)))}const Basic=reactExports.forwardRef((x_,e0e)=>{const{prefixCls:$P,suffixCls:t0e,className:r0e,tagName:n0e}=x_,a0e=__rest$3(x_,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:o0e}=reactExports.useContext(ConfigContext),i0e=o0e("layout",$P),[s0e,l0e]=useStyle$2(i0e),c0e=t0e?`${i0e}-${t0e}`:i0e;return s0e(reactExports.createElement(n0e,Object.assign({className:cx$1($P||c0e,r0e,l0e),ref:e0e},a0e)))}),BasicLayout=reactExports.forwardRef((x_,e0e)=>{const{direction:$P}=reactExports.useContext(ConfigContext),[t0e,r0e]=reactExports.useState([]),{prefixCls:n0e,className:a0e,rootClassName:o0e,children:i0e,hasSider:s0e,tagName:l0e,style:c0e}=x_,u0e=__rest$3(x_,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),d0e=omit$2(u0e,["suffixCls"]),{getPrefixCls:p0e,layout:f0e}=reactExports.useContext(ConfigContext),h0e=p0e("layout",n0e),b0e=useHasSider(t0e,i0e,s0e),[m0e,v0e]=useStyle$2(h0e),g0e=cx$1(h0e,{[`${h0e}-has-sider`]:b0e,[`${h0e}-rtl`]:$P==="rtl"},f0e==null?void 0:f0e.className,a0e,o0e,v0e),y0e=reactExports.useMemo(()=>({siderHook:{addSider:M0e=>{r0e(O0e=>[].concat(_toConsumableArray$2(O0e),[M0e]))},removeSider:M0e=>{r0e(O0e=>O0e.filter(z0e=>z0e!==M0e))}}}),[]);return m0e(reactExports.createElement(LayoutContext.Provider,{value:y0e},reactExports.createElement(l0e,Object.assign({ref:e0e,className:g0e,style:Object.assign(Object.assign({},f0e==null?void 0:f0e.style),c0e)},d0e),i0e)))}),Layout$4=generator({tagName:"div",displayName:"Layout"})(BasicLayout),Header$5=generator({suffixCls:"header",tagName:"header",displayName:"Header"})(Basic),Footer=generator({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Basic),Content$5=generator({suffixCls:"content",tagName:"main",displayName:"Content"})(Basic),InternalLayout=Layout$4,Layout$2=InternalLayout;Layout$2.Header=Header$5;Layout$2.Footer=Footer;Layout$2.Content=Content$5;Layout$2.Sider=Sider$4;Layout$2._InternalSiderContext=SiderContext;const Layout$3=Layout$2,antSpinMove=new Keyframe("antSpinMove",{to:{opacity:1}}),antRotate=new Keyframe("antRotate",{to:{transform:"rotate(405deg)"}}),genSpinStyle=x_=>{const{componentCls:e0e,calc:$P}=x_;return{[`${e0e}`]:Object.assign(Object.assign({},resetComponent(x_)),{position:"absolute",display:"none",color:x_.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${x_.motionDurationSlow} ${x_.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},[`${e0e}-text`]:{fontSize:x_.fontSize,paddingTop:$P($P(x_.dotSize).sub(x_.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:x_.colorBgMask,zIndex:x_.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${x_.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[`${e0e}-dot ${e0e}-dot-item`]:{backgroundColor:x_.colorWhite},[`${e0e}-text`]:{color:x_.colorTextLightSolid}},"&-nested-loading":{position:"relative",[`> div > ${e0e}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:x_.contentHeight,[`${e0e}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:$P(x_.dotSize).mul(-1).div(2).equal()},[`${e0e}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${x_.colorBgContainer}`},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${e0e}-dot`]:{margin:$P(x_.dotSizeSM).mul(-1).div(2).equal()},[`${e0e}-text`]:{paddingTop:$P($P(x_.dotSizeSM).sub(x_.fontSize)).div(2).add(2).equal()},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${e0e}-dot`]:{margin:$P(x_.dotSizeLG).mul(-1).div(2).equal()},[`${e0e}-text`]:{paddingTop:$P($P(x_.dotSizeLG).sub(x_.fontSize)).div(2).add(2).equal()},[`&${e0e}-show-text ${e0e}-dot`]:{marginTop:$P(x_.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${e0e}-container`]:{position:"relative",transition:`opacity ${x_.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:x_.colorBgContainer,opacity:0,transition:`all ${x_.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${e0e}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:x_.spinDotDefault},[`${e0e}-dot`]:{position:"relative",display:"inline-block",fontSize:x_.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:$P(x_.dotSize).sub($P(x_.marginXXS).div(2)).div(2).equal(),height:$P(x_.dotSize).sub($P(x_.marginXXS).div(2)).div(2).equal(),backgroundColor:x_.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:antSpinMove,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:antRotate,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${e0e}-dot`]:{fontSize:x_.dotSizeSM,i:{width:$P($P(x_.dotSizeSM).sub($P(x_.marginXXS).div(2))).div(2).equal(),height:$P($P(x_.dotSizeSM).sub($P(x_.marginXXS).div(2))).div(2).equal()}},[`&-lg ${e0e}-dot`]:{fontSize:x_.dotSizeLG,i:{width:$P($P(x_.dotSizeLG).sub(x_.marginXXS)).div(2).equal(),height:$P($P(x_.dotSizeLG).sub(x_.marginXXS)).div(2).equal()}},[`&${e0e}-show-text ${e0e}-text`]:{display:"block"}})}},prepareComponentToken$1=x_=>{const{controlHeightLG:e0e,controlHeight:$P}=x_;return{contentHeight:400,dotSize:e0e/2,dotSizeSM:e0e*.35,dotSizeLG:$P}},useStyle$1=genStyleHooks("Spin",x_=>{const e0e=merge$2(x_,{spinDotDefault:x_.colorTextDescription});return[genSpinStyle(e0e)]},prepareComponentToken$1);var __rest$2=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{spinPrefixCls:e0e,spinning:$P=!0,delay:t0e=0,className:r0e,rootClassName:n0e,size:a0e="default",tip:o0e,wrapperClassName:i0e,style:s0e,children:l0e,hashId:c0e,fullscreen:u0e}=x_,d0e=__rest$2(x_,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId","fullscreen"]),[p0e,f0e]=reactExports.useState(()=>$P&&!shouldDelay($P,t0e));reactExports.useEffect(()=>{if($P){const z0e=debounce$2(t0e,()=>{f0e(!0)});return z0e(),()=>{var _0e;(_0e=z0e==null?void 0:z0e.cancel)===null||_0e===void 0||_0e.call(z0e)}}f0e(!1)},[t0e,$P]);const h0e=reactExports.useMemo(()=>typeof l0e<"u"&&!u0e,[l0e,u0e]),{direction:b0e,spin:m0e}=reactExports.useContext(ConfigContext),v0e=cx$1(e0e,m0e==null?void 0:m0e.className,{[`${e0e}-sm`]:a0e==="small",[`${e0e}-lg`]:a0e==="large",[`${e0e}-spinning`]:p0e,[`${e0e}-show-text`]:!!o0e,[`${e0e}-fullscreen`]:u0e,[`${e0e}-fullscreen-show`]:u0e&&p0e,[`${e0e}-rtl`]:b0e==="rtl"},r0e,n0e,c0e),g0e=cx$1(`${e0e}-container`,{[`${e0e}-blur`]:p0e}),y0e=omit$2(d0e,["indicator","prefixCls"]),M0e=Object.assign(Object.assign({},m0e==null?void 0:m0e.style),s0e),O0e=reactExports.createElement("div",Object.assign({},y0e,{style:M0e,className:v0e,"aria-live":"polite","aria-busy":p0e}),renderIndicator(e0e,x_),o0e&&(h0e||u0e)?reactExports.createElement("div",{className:`${e0e}-text`},o0e):null);return h0e?reactExports.createElement("div",Object.assign({},y0e,{className:cx$1(`${e0e}-nested-loading`,i0e,c0e)}),p0e&&reactExports.createElement("div",{key:"loading"},O0e),reactExports.createElement("div",{className:g0e,key:"container"},l0e)):O0e},SpinFC=x_=>{const{prefixCls:e0e}=x_,{getPrefixCls:$P}=reactExports.useContext(ConfigContext),t0e=$P("spin",e0e),[r0e,n0e]=useStyle$1(t0e),a0e=Object.assign(Object.assign({},x_),{spinPrefixCls:t0e,hashId:n0e});return r0e(reactExports.createElement(Spin,Object.assign({},a0e)))};SpinFC.setDefaultIndicator=x_=>{defaultIndicator=x_};const Spin$1=SpinFC;let message=null,act=x_=>x_(),taskQueue=[],defaultGlobalConfig={};function getGlobalContext(){const{prefixCls:x_,getContainer:e0e,duration:$P,rtl:t0e,maxCount:r0e,top:n0e}=defaultGlobalConfig,a0e=x_??globalConfig().getPrefixCls("message"),o0e=(e0e==null?void 0:e0e())||document.body;return{prefixCls:a0e,getContainer:()=>o0e,duration:$P,rtl:t0e,maxCount:r0e,top:n0e}}const GlobalHolder=reactExports.forwardRef((x_,e0e)=>{const[$P,t0e]=reactExports.useState(getGlobalContext),[r0e,n0e]=useInternalMessage($P),a0e=globalConfig(),o0e=a0e.getRootPrefixCls(),i0e=a0e.getIconPrefixCls(),s0e=a0e.getTheme(),l0e=()=>{t0e(getGlobalContext)};return reactExports.useEffect(l0e,[]),reactExports.useImperativeHandle(e0e,()=>{const c0e=Object.assign({},r0e);return Object.keys(c0e).forEach(u0e=>{c0e[u0e]=function(){return l0e(),r0e[u0e].apply(r0e,arguments)}}),{instance:c0e,sync:l0e}}),reactExports.createElement(ConfigProvider$1,{prefixCls:o0e,iconPrefixCls:i0e,theme:s0e},n0e)});function flushNotice(){if(!message){const x_=document.createDocumentFragment(),e0e={fragment:x_};message=e0e,act(()=>{render$2(reactExports.createElement(GlobalHolder,{ref:$P=>{const{instance:t0e,sync:r0e}=$P||{};Promise.resolve().then(()=>{!e0e.instance&&t0e&&(e0e.instance=t0e,e0e.sync=r0e,flushNotice())})}}),x_)});return}message.instance&&(taskQueue.forEach(x_=>{const{type:e0e,skipped:$P}=x_;if(!$P)switch(e0e){case"open":{act(()=>{const t0e=message.instance.open(Object.assign(Object.assign({},defaultGlobalConfig),x_.config));t0e==null||t0e.then(x_.resolve),x_.setCloseFn(t0e)});break}case"destroy":act(()=>{message==null||message.instance.destroy(x_.key)});break;default:act(()=>{var t0e;const r0e=(t0e=message.instance)[e0e].apply(t0e,_toConsumableArray$2(x_.args));r0e==null||r0e.then(x_.resolve),x_.setCloseFn(r0e)})}}),taskQueue=[])}function setMessageGlobalConfig(x_){defaultGlobalConfig=Object.assign(Object.assign({},defaultGlobalConfig),x_),act(()=>{var e0e;(e0e=message==null?void 0:message.sync)===null||e0e===void 0||e0e.call(message)})}function open$1(x_){const e0e=wrapPromiseFn($P=>{let t0e;const r0e={type:"open",config:x_,resolve:$P,setCloseFn:n0e=>{t0e=n0e}};return taskQueue.push(r0e),()=>{t0e?act(()=>{t0e()}):r0e.skipped=!0}});return flushNotice(),e0e}function typeOpen(x_,e0e){const $P=wrapPromiseFn(t0e=>{let r0e;const n0e={type:x_,args:e0e,resolve:t0e,setCloseFn:a0e=>{r0e=a0e}};return taskQueue.push(n0e),()=>{r0e?act(()=>{r0e()}):n0e.skipped=!0}});return flushNotice(),$P}function destroy$1(x_){taskQueue.push({type:"destroy",key:x_}),flushNotice()}const methods=["success","info","warning","error","loading"],baseStaticMethods={open:open$1,destroy:destroy$1,config:setMessageGlobalConfig,useMessage,_InternalPanelDoNotUseOrYouWillBeFired:PurePanel$8},staticMethods=baseStaticMethods;methods.forEach(x_=>{staticMethods[x_]=function(){for(var e0e=arguments.length,$P=new Array(e0e),t0e=0;t0ee0e in x_?__defProp$1(x_,e0e,{enumerable:!0,configurable:!0,writable:!0,value:$P}):x_[e0e]=$P,__spreadValues=(x_,e0e)=>{for(var $P in e0e||(e0e={}))__hasOwnProp.call(e0e,$P)&&__defNormalProp$1(x_,$P,e0e[$P]);if(__getOwnPropSymbols)for(var $P of __getOwnPropSymbols(e0e))__propIsEnum.call(e0e,$P)&&__defNormalProp$1(x_,$P,e0e[$P]);return x_},__objRest=(x_,e0e)=>{var $P={};for(var t0e in x_)__hasOwnProp.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&__getOwnPropSymbols)for(var t0e of __getOwnPropSymbols(x_))e0e.indexOf(t0e)<0&&__propIsEnum.call(x_,t0e)&&($P[t0e]=x_[t0e]);return $P},qrcodegen;(x_=>{const e0e=class{constructor(i0e,s0e,l0e,c0e){if(this.version=i0e,this.errorCorrectionLevel=s0e,this.modules=[],this.isFunction=[],i0ee0e.MAX_VERSION)throw new RangeError("Version value out of range");if(c0e<-1||c0e>7)throw new RangeError("Mask value out of range");this.size=i0e*4+17;let u0e=[];for(let p0e=0;p0e7)throw new RangeError("Invalid value");let p0e,f0e;for(p0e=l0e;;p0e++){const v0e=e0e.getNumDataCodewords(p0e,s0e)*8,g0e=o0e.getTotalBits(i0e,p0e);if(g0e<=v0e){f0e=g0e;break}if(p0e>=c0e)throw new RangeError("Data too long")}for(const v0e of[e0e.Ecc.MEDIUM,e0e.Ecc.QUARTILE,e0e.Ecc.HIGH])d0e&&f0e<=e0e.getNumDataCodewords(p0e,v0e)*8&&(s0e=v0e);let h0e=[];for(const v0e of i0e){t0e(v0e.mode.modeBits,4,h0e),t0e(v0e.numChars,v0e.mode.numCharCountBits(p0e),h0e);for(const g0e of v0e.getData())h0e.push(g0e)}n0e(h0e.length==f0e);const b0e=e0e.getNumDataCodewords(p0e,s0e)*8;n0e(h0e.length<=b0e),t0e(0,Math.min(4,b0e-h0e.length),h0e),t0e(0,(8-h0e.length%8)%8,h0e),n0e(h0e.length%8==0);for(let v0e=236;h0e.lengthm0e[g0e>>>3]|=v0e<<7-(g0e&7)),new e0e(p0e,s0e,m0e,u0e)}getModule(i0e,s0e){return 0<=i0e&&i0e>>9)*1335;const c0e=(s0e<<10|l0e)^21522;n0e(c0e>>>15==0);for(let u0e=0;u0e<=5;u0e++)this.setFunctionModule(8,u0e,r0e(c0e,u0e));this.setFunctionModule(8,7,r0e(c0e,6)),this.setFunctionModule(8,8,r0e(c0e,7)),this.setFunctionModule(7,8,r0e(c0e,8));for(let u0e=9;u0e<15;u0e++)this.setFunctionModule(14-u0e,8,r0e(c0e,u0e));for(let u0e=0;u0e<8;u0e++)this.setFunctionModule(this.size-1-u0e,8,r0e(c0e,u0e));for(let u0e=8;u0e<15;u0e++)this.setFunctionModule(8,this.size-15+u0e,r0e(c0e,u0e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let i0e=this.version;for(let l0e=0;l0e<12;l0e++)i0e=i0e<<1^(i0e>>>11)*7973;const s0e=this.version<<12|i0e;n0e(s0e>>>18==0);for(let l0e=0;l0e<18;l0e++){const c0e=r0e(s0e,l0e),u0e=this.size-11+l0e%3,d0e=Math.floor(l0e/3);this.setFunctionModule(u0e,d0e,c0e),this.setFunctionModule(d0e,u0e,c0e)}}drawFinderPattern(i0e,s0e){for(let l0e=-4;l0e<=4;l0e++)for(let c0e=-4;c0e<=4;c0e++){const u0e=Math.max(Math.abs(c0e),Math.abs(l0e)),d0e=i0e+c0e,p0e=s0e+l0e;0<=d0e&&d0e{(v0e!=f0e-u0e||y0e>=p0e)&&m0e.push(g0e[v0e])});return n0e(m0e.length==d0e),m0e}drawCodewords(i0e){if(i0e.length!=Math.floor(e0e.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s0e=0;for(let l0e=this.size-1;l0e>=1;l0e-=2){l0e==6&&(l0e=5);for(let c0e=0;c0e>>3],7-(s0e&7)),s0e++)}}n0e(s0e==i0e.length*8)}applyMask(i0e){if(i0e<0||i0e>7)throw new RangeError("Mask value out of range");for(let s0e=0;s0e5&&i0e++):(this.finderPenaltyAddHistory(p0e,f0e),d0e||(i0e+=this.finderPenaltyCountPatterns(f0e)*e0e.PENALTY_N3),d0e=this.modules[u0e][h0e],p0e=1);i0e+=this.finderPenaltyTerminateAndCount(d0e,p0e,f0e)*e0e.PENALTY_N3}for(let u0e=0;u0e5&&i0e++):(this.finderPenaltyAddHistory(p0e,f0e),d0e||(i0e+=this.finderPenaltyCountPatterns(f0e)*e0e.PENALTY_N3),d0e=this.modules[h0e][u0e],p0e=1);i0e+=this.finderPenaltyTerminateAndCount(d0e,p0e,f0e)*e0e.PENALTY_N3}for(let u0e=0;u0ed0e+(p0e?1:0),s0e);const l0e=this.size*this.size,c0e=Math.ceil(Math.abs(s0e*20-l0e*10)/l0e)-1;return n0e(0<=c0e&&c0e<=9),i0e+=c0e*e0e.PENALTY_N4,n0e(0<=i0e&&i0e<=2568888),i0e}getAlignmentPatternPositions(){if(this.version==1)return[];{const i0e=Math.floor(this.version/7)+2,s0e=this.version==32?26:Math.ceil((this.version*4+4)/(i0e*2-2))*2;let l0e=[6];for(let c0e=this.size-7;l0e.lengthe0e.MAX_VERSION)throw new RangeError("Version number out of range");let s0e=(16*i0e+128)*i0e+64;if(i0e>=2){const l0e=Math.floor(i0e/7)+2;s0e-=(25*l0e-10)*l0e-55,i0e>=7&&(s0e-=36)}return n0e(208<=s0e&&s0e<=29648),s0e}static getNumDataCodewords(i0e,s0e){return Math.floor(e0e.getNumRawDataModules(i0e)/8)-e0e.ECC_CODEWORDS_PER_BLOCK[s0e.ordinal][i0e]*e0e.NUM_ERROR_CORRECTION_BLOCKS[s0e.ordinal][i0e]}static reedSolomonComputeDivisor(i0e){if(i0e<1||i0e>255)throw new RangeError("Degree out of range");let s0e=[];for(let c0e=0;c0e0);for(const c0e of i0e){const u0e=c0e^l0e.shift();l0e.push(0),s0e.forEach((d0e,p0e)=>l0e[p0e]^=e0e.reedSolomonMultiply(d0e,u0e))}return l0e}static reedSolomonMultiply(i0e,s0e){if(i0e>>>8||s0e>>>8)throw new RangeError("Byte out of range");let l0e=0;for(let c0e=7;c0e>=0;c0e--)l0e=l0e<<1^(l0e>>>7)*285,l0e^=(s0e>>>c0e&1)*i0e;return n0e(l0e>>>8==0),l0e}finderPenaltyCountPatterns(i0e){const s0e=i0e[1];n0e(s0e<=this.size*3);const l0e=s0e>0&&i0e[2]==s0e&&i0e[3]==s0e*3&&i0e[4]==s0e&&i0e[5]==s0e;return(l0e&&i0e[0]>=s0e*4&&i0e[6]>=s0e?1:0)+(l0e&&i0e[6]>=s0e*4&&i0e[0]>=s0e?1:0)}finderPenaltyTerminateAndCount(i0e,s0e,l0e){return i0e&&(this.finderPenaltyAddHistory(s0e,l0e),s0e=0),s0e+=this.size,this.finderPenaltyAddHistory(s0e,l0e),this.finderPenaltyCountPatterns(l0e)}finderPenaltyAddHistory(i0e,s0e){s0e[0]==0&&(i0e+=this.size),s0e.pop(),s0e.unshift(i0e)}};let $P=e0e;$P.MIN_VERSION=1,$P.MAX_VERSION=40,$P.PENALTY_N1=3,$P.PENALTY_N2=3,$P.PENALTY_N3=40,$P.PENALTY_N4=10,$P.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],$P.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],x_.QrCode=$P;function t0e(i0e,s0e,l0e){if(s0e<0||s0e>31||i0e>>>s0e)throw new RangeError("Value out of range");for(let c0e=s0e-1;c0e>=0;c0e--)l0e.push(i0e>>>c0e&1)}function r0e(i0e,s0e){return(i0e>>>s0e&1)!=0}function n0e(i0e){if(!i0e)throw new Error("Assertion error")}const a0e=class{constructor(i0e,s0e,l0e){if(this.mode=i0e,this.numChars=s0e,this.bitData=l0e,s0e<0)throw new RangeError("Invalid argument");this.bitData=l0e.slice()}static makeBytes(i0e){let s0e=[];for(const l0e of i0e)t0e(l0e,8,s0e);return new a0e(a0e.Mode.BYTE,i0e.length,s0e)}static makeNumeric(i0e){if(!a0e.isNumeric(i0e))throw new RangeError("String contains non-numeric characters");let s0e=[];for(let l0e=0;l0e=1<{(e0e=>{const $P=class{constructor(r0e,n0e){this.ordinal=r0e,this.formatBits=n0e}};let t0e=$P;t0e.LOW=new $P(0,1),t0e.MEDIUM=new $P(1,0),t0e.QUARTILE=new $P(2,3),t0e.HIGH=new $P(3,2),e0e.Ecc=t0e})(x_.QrCode||(x_.QrCode={}))})(qrcodegen||(qrcodegen={}));(x_=>{(e0e=>{const $P=class{constructor(r0e,n0e){this.modeBits=r0e,this.numBitsCharCount=n0e}numCharCountBits(r0e){return this.numBitsCharCount[Math.floor((r0e+7)/17)]}};let t0e=$P;t0e.NUMERIC=new $P(1,[10,12,14]),t0e.ALPHANUMERIC=new $P(2,[9,11,13]),t0e.BYTE=new $P(4,[8,16,16]),t0e.KANJI=new $P(8,[8,10,12]),t0e.ECI=new $P(7,[0,0,0]),e0e.Mode=t0e})(x_.QrSegment||(x_.QrSegment={}))})(qrcodegen||(qrcodegen={}));var qrcodegen_default=qrcodegen;/** * @license qrcode.react * Copyright (c) Paul O'Shannessy * SPDX-License-Identifier: ISC - */var ERROR_LEVEL_MAP={L:qrcodegen_default.QrCode.Ecc.LOW,M:qrcodegen_default.QrCode.Ecc.MEDIUM,Q:qrcodegen_default.QrCode.Ecc.QUARTILE,H:qrcodegen_default.QrCode.Ecc.HIGH},DEFAULT_SIZE=128,DEFAULT_LEVEL="L",DEFAULT_BGCOLOR="#FFFFFF",DEFAULT_FGCOLOR="#000000",DEFAULT_INCLUDEMARGIN=!1,MARGIN_SIZE=4,DEFAULT_IMG_SCALE=.1;function generatePath(x_,e0e=0){const $P=[];return x_.forEach(function(t0e,r0e){let n0e=null;t0e.forEach(function(a0e,o0e){if(!a0e&&n0e!==null){$P.push(`M${n0e+e0e} ${r0e+e0e}h${o0e-n0e}v1H${n0e+e0e}z`),n0e=null;return}if(o0e===t0e.length-1){if(!a0e)return;n0e===null?$P.push(`M${o0e+e0e},${r0e+e0e} h1v1H${o0e+e0e}z`):$P.push(`M${n0e+e0e},${r0e+e0e} h${o0e+1-n0e}v1H${n0e+e0e}z`);return}a0e&&n0e===null&&(n0e=o0e)})}),$P.join("")}function excavateModules(x_,e0e){return x_.slice().map(($P,t0e)=>t0e=e0e.y+e0e.h?$P:$P.map((r0e,n0e)=>n0e=e0e.x+e0e.w?r0e:!1))}function getImageSettings(x_,e0e,$P,t0e){if(t0e==null)return null;const r0e=$P?MARGIN_SIZE:0,n0e=x_.length+r0e*2,a0e=Math.floor(e0e*DEFAULT_IMG_SCALE),o0e=n0e/e0e,i0e=(t0e.width||a0e)*o0e,s0e=(t0e.height||a0e)*o0e,l0e=t0e.x==null?x_.length/2-i0e/2:t0e.x*o0e,c0e=t0e.y==null?x_.length/2-s0e/2:t0e.y*o0e;let u0e=null;if(t0e.excavate){let d0e=Math.floor(l0e),p0e=Math.floor(c0e),f0e=Math.ceil(i0e+l0e-d0e),h0e=Math.ceil(s0e+c0e-p0e);u0e={x:d0e,y:p0e,w:f0e,h:h0e}}return{x:l0e,y:c0e,h:s0e,w:i0e,excavation:u0e}}(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})();function QRCodeSVG(x_){const e0e=x_,{value:$P,size:t0e=DEFAULT_SIZE,level:r0e=DEFAULT_LEVEL,bgColor:n0e=DEFAULT_BGCOLOR,fgColor:a0e=DEFAULT_FGCOLOR,includeMargin:o0e=DEFAULT_INCLUDEMARGIN,imageSettings:i0e}=e0e,s0e=__objRest(e0e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let l0e=qrcodegen_default.QrCode.encodeText($P,ERROR_LEVEL_MAP[r0e]).getModules();const c0e=o0e?MARGIN_SIZE:0,u0e=l0e.length+c0e*2,d0e=getImageSettings(l0e,t0e,o0e,i0e);let p0e=null;i0e!=null&&d0e!=null&&(d0e.excavation!=null&&(l0e=excavateModules(l0e,d0e.excavation)),p0e=jsx("image",{xlinkHref:i0e.src,height:d0e.h,width:d0e.w,x:d0e.x+c0e,y:d0e.y+c0e,preserveAspectRatio:"none"}));const f0e=generatePath(l0e,c0e);return jsxs("svg",{...__spreadValues({height:t0e,width:t0e,viewBox:`0 0 ${u0e} ${u0e}`},s0e),children:[jsx("path",{fill:n0e,d:`M0,0 h${u0e}v${u0e}H0z`,shapeRendering:"crispEdges"}),jsx("path",{fill:a0e,d:f0e,shapeRendering:"crispEdges"}),p0e]})}var _excluded$d=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Switch$4=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.prefixCls,r0e=t0e===void 0?"rc-switch":t0e,n0e=x_.className,a0e=x_.checked,o0e=x_.defaultChecked,i0e=x_.disabled,s0e=x_.loadingIcon,l0e=x_.checkedChildren,c0e=x_.unCheckedChildren,u0e=x_.onClick,d0e=x_.onChange,p0e=x_.onKeyDown,f0e=_objectWithoutProperties$4(x_,_excluded$d),h0e=useMergedState(!1,{value:a0e,defaultValue:o0e}),b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=b0e[1];function g0e(z0e,_0e){var A0e=m0e;return i0e||(A0e=z0e,v0e(A0e),d0e==null||d0e(A0e,_0e)),A0e}function y0e(z0e){z0e.which===KeyCode$1.LEFT?g0e(!1,z0e):z0e.which===KeyCode$1.RIGHT&&g0e(!0,z0e),p0e==null||p0e(z0e)}function M0e(z0e){var _0e=g0e(!m0e,z0e);u0e==null||u0e(_0e,z0e)}var O0e=cx$1(r0e,n0e,($P={},_defineProperty$5($P,"".concat(r0e,"-checked"),m0e),_defineProperty$5($P,"".concat(r0e,"-disabled"),i0e),$P));return reactExports.createElement("button",_extends$1z({},f0e,{type:"button",role:"switch","aria-checked":m0e,disabled:i0e,className:O0e,ref:e0e,onKeyDown:y0e,onClick:M0e}),s0e,reactExports.createElement("span",{className:"".concat(r0e,"-inner")},reactExports.createElement("span",{className:"".concat(r0e,"-inner-checked")},l0e),reactExports.createElement("span",{className:"".concat(r0e,"-inner-unchecked")},c0e)))});Switch$4.displayName="Switch";const genSwitchSmallStyle=x_=>{const{componentCls:e0e,trackHeightSM:$P,trackPadding:t0e,trackMinWidthSM:r0e,innerMinMarginSM:n0e,innerMaxMarginSM:a0e,handleSizeSM:o0e,calc:i0e}=x_,s0e=`${e0e}-inner`,l0e=unit$1(i0e(o0e).add(i0e(t0e).mul(2)).equal()),c0e=unit$1(i0e(a0e).mul(2).equal());return{[e0e]:{[`&${e0e}-small`]:{minWidth:r0e,height:$P,lineHeight:unit$1($P),[`${e0e}-inner`]:{paddingInlineStart:a0e,paddingInlineEnd:n0e,[`${s0e}-checked`]:{marginInlineStart:`calc(-100% + ${l0e} - ${c0e})`,marginInlineEnd:`calc(100% - ${l0e} + ${c0e})`},[`${s0e}-unchecked`]:{marginTop:i0e($P).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${e0e}-handle`]:{width:o0e,height:o0e},[`${e0e}-loading-icon`]:{top:i0e(i0e(o0e).sub(x_.switchLoadingIconSize)).div(2).equal(),fontSize:x_.switchLoadingIconSize},[`&${e0e}-checked`]:{[`${e0e}-inner`]:{paddingInlineStart:n0e,paddingInlineEnd:a0e,[`${s0e}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s0e}-unchecked`]:{marginInlineStart:`calc(100% - ${l0e} + ${c0e})`,marginInlineEnd:`calc(-100% + ${l0e} - ${c0e})`}},[`${e0e}-handle`]:{insetInlineStart:`calc(100% - ${unit$1(i0e(o0e).add(t0e).equal())})`}},[`&:not(${e0e}-disabled):active`]:{[`&:not(${e0e}-checked) ${s0e}`]:{[`${s0e}-unchecked`]:{marginInlineStart:i0e(x_.marginXXS).div(2).equal(),marginInlineEnd:i0e(x_.marginXXS).mul(-1).div(2).equal()}},[`&${e0e}-checked ${s0e}`]:{[`${s0e}-checked`]:{marginInlineStart:i0e(x_.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:i0e(x_.marginXXS).div(2).equal()}}}}}}},genSwitchLoadingStyle=x_=>{const{componentCls:e0e,handleSize:$P,calc:t0e}=x_;return{[e0e]:{[`${e0e}-loading-icon${x_.iconCls}`]:{position:"relative",top:t0e(t0e($P).sub(x_.fontSize)).div(2).equal(),color:x_.switchLoadingIconColor,verticalAlign:"top"},[`&${e0e}-checked ${e0e}-loading-icon`]:{color:x_.switchColor}}}},genSwitchHandleStyle=x_=>{const{componentCls:e0e,trackPadding:$P,handleBg:t0e,handleShadow:r0e,handleSize:n0e,calc:a0e}=x_,o0e=`${e0e}-handle`;return{[e0e]:{[o0e]:{position:"absolute",top:$P,insetInlineStart:$P,width:n0e,height:n0e,transition:`all ${x_.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:t0e,borderRadius:a0e(n0e).div(2).equal(),boxShadow:r0e,transition:`all ${x_.switchDuration} ease-in-out`,content:'""'}},[`&${e0e}-checked ${o0e}`]:{insetInlineStart:`calc(100% - ${unit$1(a0e(n0e).add($P).equal())})`},[`&:not(${e0e}-disabled):active`]:{[`${o0e}::before`]:{insetInlineEnd:x_.switchHandleActiveInset,insetInlineStart:0},[`&${e0e}-checked ${o0e}::before`]:{insetInlineEnd:0,insetInlineStart:x_.switchHandleActiveInset}}}}},genSwitchInnerStyle=x_=>{const{componentCls:e0e,trackHeight:$P,trackPadding:t0e,innerMinMargin:r0e,innerMaxMargin:n0e,handleSize:a0e,calc:o0e}=x_,i0e=`${e0e}-inner`,s0e=unit$1(o0e(a0e).add(o0e(t0e).mul(2)).equal()),l0e=unit$1(o0e(n0e).mul(2).equal());return{[e0e]:{[i0e]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:n0e,paddingInlineEnd:r0e,transition:`padding-inline-start ${x_.switchDuration} ease-in-out, padding-inline-end ${x_.switchDuration} ease-in-out`,[`${i0e}-checked, ${i0e}-unchecked`]:{display:"block",color:x_.colorTextLightSolid,fontSize:x_.fontSizeSM,transition:`margin-inline-start ${x_.switchDuration} ease-in-out, margin-inline-end ${x_.switchDuration} ease-in-out`,pointerEvents:"none"},[`${i0e}-checked`]:{marginInlineStart:`calc(-100% + ${s0e} - ${l0e})`,marginInlineEnd:`calc(100% - ${s0e} + ${l0e})`},[`${i0e}-unchecked`]:{marginTop:o0e($P).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${e0e}-checked ${i0e}`]:{paddingInlineStart:r0e,paddingInlineEnd:n0e,[`${i0e}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${i0e}-unchecked`]:{marginInlineStart:`calc(100% - ${s0e} + ${l0e})`,marginInlineEnd:`calc(-100% + ${s0e} - ${l0e})`}},[`&:not(${e0e}-disabled):active`]:{[`&:not(${e0e}-checked) ${i0e}`]:{[`${i0e}-unchecked`]:{marginInlineStart:o0e(t0e).mul(2).equal(),marginInlineEnd:o0e(t0e).mul(-1).mul(2).equal()}},[`&${e0e}-checked ${i0e}`]:{[`${i0e}-checked`]:{marginInlineStart:o0e(t0e).mul(-1).mul(2).equal(),marginInlineEnd:o0e(t0e).mul(2).equal()}}}}}},genSwitchStyle=x_=>{const{componentCls:e0e,trackHeight:$P,trackMinWidth:t0e}=x_;return{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:t0e,height:$P,lineHeight:`${unit$1($P)}`,verticalAlign:"middle",background:x_.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${x_.motionDurationMid}`,userSelect:"none",[`&:hover:not(${e0e}-disabled)`]:{background:x_.colorTextTertiary}}),genFocusStyle(x_)),{[`&${e0e}-checked`]:{background:x_.switchColor,[`&:hover:not(${e0e}-disabled)`]:{background:x_.colorPrimaryHover}},[`&${e0e}-loading, &${e0e}-disabled`]:{cursor:"not-allowed",opacity:x_.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${e0e}-rtl`]:{direction:"rtl"}})}},prepareComponentToken=x_=>{const{fontSize:e0e,lineHeight:$P,controlHeight:t0e,colorWhite:r0e}=x_,n0e=e0e*$P,a0e=t0e/2,o0e=2,i0e=n0e-o0e*2,s0e=a0e-o0e*2;return{trackHeight:n0e,trackHeightSM:a0e,trackMinWidth:i0e*2+o0e*4,trackMinWidthSM:s0e*2+o0e*2,trackPadding:o0e,handleBg:r0e,handleSize:i0e,handleSizeSM:s0e,handleShadow:`0 2px 4px 0 ${new TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:i0e/2,innerMaxMargin:i0e+o0e+o0e*2,innerMinMarginSM:s0e/2,innerMaxMarginSM:s0e+o0e+o0e*2}},useStyle=genStyleHooks("Switch",x_=>{const e0e=merge$2(x_,{switchDuration:x_.motionDurationMid,switchColor:x_.colorPrimary,switchDisabledOpacity:x_.opacityLoading,switchLoadingIconSize:x_.calc(x_.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${x_.opacityLoading})`,switchHandleActiveInset:"-30%"});return[genSwitchStyle(e0e),genSwitchInnerStyle(e0e),genSwitchHandleStyle(e0e),genSwitchLoadingStyle(e0e),genSwitchSmallStyle(e0e)]},prepareComponentToken);var __rest$1=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:$P,size:t0e,disabled:r0e,loading:n0e,className:a0e,rootClassName:o0e,style:i0e,checked:s0e,value:l0e,defaultChecked:c0e,defaultValue:u0e,onChange:d0e}=x_,p0e=__rest$1(x_,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[f0e,h0e]=useMergedState(!1,{value:s0e??l0e,defaultValue:c0e??u0e}),{getPrefixCls:b0e,direction:m0e,switch:v0e}=reactExports.useContext(ConfigContext),g0e=reactExports.useContext(DisabledContext$1),y0e=(r0e??g0e)||n0e,M0e=b0e("switch",$P),O0e=reactExports.createElement("div",{className:`${M0e}-handle`},n0e&&reactExports.createElement(LoadingOutlined$1,{className:`${M0e}-loading-icon`})),[z0e,_0e]=useStyle(M0e),A0e=useSize$1(t0e),$0e=cx$1(v0e==null?void 0:v0e.className,{[`${M0e}-small`]:A0e==="small",[`${M0e}-loading`]:n0e,[`${M0e}-rtl`]:m0e==="rtl"},a0e,o0e,_0e),S0e=Object.assign(Object.assign({},v0e==null?void 0:v0e.style),i0e),C0e=function(){h0e(arguments.length<=0?void 0:arguments[0]),d0e==null||d0e.apply(void 0,arguments)};return z0e(reactExports.createElement(Wave$1,{component:"Switch"},reactExports.createElement(Switch$4,Object.assign({},p0e,{checked:f0e,onChange:C0e,prefixCls:M0e,className:$0e,style:S0e,disabled:y0e,ref:e0e,loadingIcon:O0e}))))});Switch$2.__ANT_SWITCH=!0;const Switch$3=Switch$2,getDesignToken=x_=>{const e0e=x_!=null&&x_.algorithm?createTheme(x_.algorithm):createTheme(derivative$2),$P=Object.assign(Object.assign({},seedToken),x_==null?void 0:x_.token);return getComputedToken$1($P,{override:x_==null?void 0:x_.token},e0e,formatToken)},getDesignToken$1=getDesignToken;function genSizeMapToken(x_){const{sizeUnit:e0e,sizeStep:$P}=x_,t0e=$P-2;return{sizeXXL:e0e*(t0e+10),sizeXL:e0e*(t0e+6),sizeLG:e0e*(t0e+2),sizeMD:e0e*(t0e+2),sizeMS:e0e*(t0e+1),size:e0e*t0e,sizeSM:e0e*t0e,sizeXS:e0e*(t0e-1),sizeXXS:e0e*(t0e-1)}}const derivative$1=(x_,e0e)=>{const $P=e0e??derivative$2(x_),t0e=$P.fontSizeSM,r0e=$P.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$P),genSizeMapToken(e0e??x_)),genFontMapToken$1(t0e)),{controlHeight:r0e}),genControlHeight$1(Object.assign(Object.assign({},$P),{controlHeight:r0e})))},compactAlgorithm=derivative$1,getAlphaColor=(x_,e0e)=>new TinyColor(x_).setAlpha(e0e).toRgbString(),getSolidColor=(x_,e0e)=>new TinyColor(x_).lighten(e0e).toHexString(),generateColorPalettes=x_=>{const e0e=generate$1(x_,{theme:"dark"});return{1:e0e[0],2:e0e[1],3:e0e[2],4:e0e[3],5:e0e[6],6:e0e[5],7:e0e[4],8:e0e[6],9:e0e[5],10:e0e[4]}},generateNeutralColorPalettes=(x_,e0e)=>{const $P=x_||"#000",t0e=e0e||"#fff";return{colorBgBase:$P,colorTextBase:t0e,colorText:getAlphaColor(t0e,.85),colorTextSecondary:getAlphaColor(t0e,.65),colorTextTertiary:getAlphaColor(t0e,.45),colorTextQuaternary:getAlphaColor(t0e,.25),colorFill:getAlphaColor(t0e,.18),colorFillSecondary:getAlphaColor(t0e,.12),colorFillTertiary:getAlphaColor(t0e,.08),colorFillQuaternary:getAlphaColor(t0e,.04),colorBgElevated:getSolidColor($P,12),colorBgContainer:getSolidColor($P,8),colorBgLayout:getSolidColor($P,0),colorBgSpotlight:getSolidColor($P,26),colorBgBlur:getAlphaColor(t0e,.04),colorBorder:getSolidColor($P,26),colorBorderSecondary:getSolidColor($P,19)}},derivative=(x_,e0e)=>{const $P=Object.keys(defaultPresetColors).map(r0e=>{const n0e=generate$1(x_[r0e],{theme:"dark"});return new Array(10).fill(1).reduce((a0e,o0e,i0e)=>(a0e[`${r0e}-${i0e+1}`]=n0e[i0e],a0e[`${r0e}${i0e+1}`]=n0e[i0e],a0e),{})}).reduce((r0e,n0e)=>(r0e=Object.assign(Object.assign({},r0e),n0e),r0e),{}),t0e=e0e??derivative$2(x_);return Object.assign(Object.assign(Object.assign({},t0e),$P),genColorMapToken(x_,{generateColorPalettes,generateNeutralColorPalettes}))},darkAlgorithm=derivative;function useToken(){const[x_,e0e,$P]=useToken$1();return{theme:x_,token:e0e,hashId:$P}}const theme$1={defaultConfig:defaultConfig$2,defaultSeed:defaultConfig$2.token,useToken,defaultAlgorithm:derivative$2,darkAlgorithm,compactAlgorithm,getDesignToken:getDesignToken$1};class CustomAxiosInstance{constructor(e0e){E2e(this,"instance");this.instance=axios$1.create(e0e),this.setInterceptor()}setInterceptor(){this.instance.interceptors.request.use(async e0e=>{const $P={...e0e},t0e=Token().value;return $P.headers.Authorization=`Bearer ${t0e}`,$P},e0e=>{var $P,t0e;return{data:{status:1,msg:((t0e=($P=e0e.response)==null?void 0:$P.data)==null?void 0:t0e.message)||e0e.message}}}),this.instance.interceptors.response.use(async e0e=>{const{status:$P}=e0e;if($P===200||$P<300||$P===304){const t0e=e0e.data;return t0e.status===0?(t0e!=null&&t0e.msg&&(t0e==null?void 0:t0e.doNotDisplayToast)==0&&msgHandler(t0e.msg,()=>message$1.success(t0e.msg)),t0e):(t0e!=null&&t0e.msg&&(t0e==null?void 0:t0e.doNotDisplayToast)==0&&msgHandler(t0e.msg,()=>message$1.error(t0e.msg)),(t0e==null?void 0:t0e.code)==401&&!inLoginPage()&&(Token().clear(),goToLoginPage()),e0e)}return e0e},e0e=>{var t0e,r0e;const $P=((r0e=(t0e=e0e.response)==null?void 0:t0e.data)==null?void 0:r0e.message)||e0e.message;return $P&&msgHandler($P,message$1.error($P)),{data:{status:1,msg:$P}}})}}const config$1={baseURL:window.$adminApiPrefix||"/admin-api",proxyURL:"http://owl-admin.test",changeOrigin:!0},request$1=new CustomAxiosInstance(config$1).instance,initPageSchema=x_=>request$1.get(x_),amisRequest=(x_,e0e,$P)=>request$1[e0e](x_,$P),fetchSettings=()=>request$1.get("/_settings"),saveSettings=x_=>request$1.post("/_settings",x_),fetchLogin=x_=>request$1.post("/login",x_),fetchUserInfo=()=>request$1.get("/current-user"),fetchUserRoutes=()=>request$1.get("/menus"),fetchLogout=()=>request$1.get("/logout"),fetchCaptcha=()=>request$1.get("/captcha"),index$d="";var OBFUSCATED_ERROR="An invariant failed, however the error is obfuscated because this is an production build.",EMPTY_ARRAY$1=[];Object.freeze(EMPTY_ARRAY$1);var EMPTY_OBJECT$2={};Object.freeze(EMPTY_OBJECT$2);var mockGlobal$1={};function getGlobal$1(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:mockGlobal$1}function getNextId(){return++globalState.mobxGuid}function fail(x_){throw invariant$3(!1,x_),"X"}function invariant$3(x_,e0e){if(!x_)throw new Error("[mobx] "+(e0e||OBFUSCATED_ERROR))}function once(x_){var e0e=!1;return function(){if(!e0e)return e0e=!0,x_.apply(this,arguments)}}var noop$b=function(){};function unique(x_){var e0e=[];return x_.forEach(function($P){e0e.indexOf($P)===-1&&e0e.push($P)}),e0e}function isObject$f(x_){return x_!==null&&typeof x_=="object"}function isPlainObject$5(x_){if(x_===null||typeof x_!="object")return!1;var e0e=Object.getPrototypeOf(x_);return e0e===Object.prototype||e0e===null}function convertToMap(x_){if(isES6Map(x_)||isObservableMap(x_))return x_;if(Array.isArray(x_))return new Map(x_);if(isPlainObject$5(x_)){var e0e=new Map;for(var $P in x_)e0e.set($P,x_[$P]);return e0e}else return fail("Cannot convert to map from '"+x_+"'")}function makeNonEnumerable(x_,e0e){for(var $P=0;$Pt0e=e0e.y+e0e.h?$P:$P.map((r0e,n0e)=>n0e=e0e.x+e0e.w?r0e:!1))}function getImageSettings(x_,e0e,$P,t0e){if(t0e==null)return null;const r0e=$P?MARGIN_SIZE:0,n0e=x_.length+r0e*2,a0e=Math.floor(e0e*DEFAULT_IMG_SCALE),o0e=n0e/e0e,i0e=(t0e.width||a0e)*o0e,s0e=(t0e.height||a0e)*o0e,l0e=t0e.x==null?x_.length/2-i0e/2:t0e.x*o0e,c0e=t0e.y==null?x_.length/2-s0e/2:t0e.y*o0e;let u0e=null;if(t0e.excavate){let d0e=Math.floor(l0e),p0e=Math.floor(c0e),f0e=Math.ceil(i0e+l0e-d0e),h0e=Math.ceil(s0e+c0e-p0e);u0e={x:d0e,y:p0e,w:f0e,h:h0e}}return{x:l0e,y:c0e,h:s0e,w:i0e,excavation:u0e}}(function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0})();function QRCodeSVG(x_){const e0e=x_,{value:$P,size:t0e=DEFAULT_SIZE,level:r0e=DEFAULT_LEVEL,bgColor:n0e=DEFAULT_BGCOLOR,fgColor:a0e=DEFAULT_FGCOLOR,includeMargin:o0e=DEFAULT_INCLUDEMARGIN,imageSettings:i0e}=e0e,s0e=__objRest(e0e,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let l0e=qrcodegen_default.QrCode.encodeText($P,ERROR_LEVEL_MAP[r0e]).getModules();const c0e=o0e?MARGIN_SIZE:0,u0e=l0e.length+c0e*2,d0e=getImageSettings(l0e,t0e,o0e,i0e);let p0e=null;i0e!=null&&d0e!=null&&(d0e.excavation!=null&&(l0e=excavateModules(l0e,d0e.excavation)),p0e=jsx("image",{xlinkHref:i0e.src,height:d0e.h,width:d0e.w,x:d0e.x+c0e,y:d0e.y+c0e,preserveAspectRatio:"none"}));const f0e=generatePath(l0e,c0e);return jsxs("svg",{...__spreadValues({height:t0e,width:t0e,viewBox:`0 0 ${u0e} ${u0e}`},s0e),children:[jsx("path",{fill:n0e,d:`M0,0 h${u0e}v${u0e}H0z`,shapeRendering:"crispEdges"}),jsx("path",{fill:a0e,d:f0e,shapeRendering:"crispEdges"}),p0e]})}var _excluded$d=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Switch$4=reactExports.forwardRef(function(x_,e0e){var $P,t0e=x_.prefixCls,r0e=t0e===void 0?"rc-switch":t0e,n0e=x_.className,a0e=x_.checked,o0e=x_.defaultChecked,i0e=x_.disabled,s0e=x_.loadingIcon,l0e=x_.checkedChildren,c0e=x_.unCheckedChildren,u0e=x_.onClick,d0e=x_.onChange,p0e=x_.onKeyDown,f0e=_objectWithoutProperties$4(x_,_excluded$d),h0e=useMergedState(!1,{value:a0e,defaultValue:o0e}),b0e=_slicedToArray$3(h0e,2),m0e=b0e[0],v0e=b0e[1];function g0e(z0e,_0e){var A0e=m0e;return i0e||(A0e=z0e,v0e(A0e),d0e==null||d0e(A0e,_0e)),A0e}function y0e(z0e){z0e.which===KeyCode$1.LEFT?g0e(!1,z0e):z0e.which===KeyCode$1.RIGHT&&g0e(!0,z0e),p0e==null||p0e(z0e)}function M0e(z0e){var _0e=g0e(!m0e,z0e);u0e==null||u0e(_0e,z0e)}var O0e=cx$1(r0e,n0e,($P={},_defineProperty$5($P,"".concat(r0e,"-checked"),m0e),_defineProperty$5($P,"".concat(r0e,"-disabled"),i0e),$P));return reactExports.createElement("button",_extends$1z({},f0e,{type:"button",role:"switch","aria-checked":m0e,disabled:i0e,className:O0e,ref:e0e,onKeyDown:y0e,onClick:M0e}),s0e,reactExports.createElement("span",{className:"".concat(r0e,"-inner")},reactExports.createElement("span",{className:"".concat(r0e,"-inner-checked")},l0e),reactExports.createElement("span",{className:"".concat(r0e,"-inner-unchecked")},c0e)))});Switch$4.displayName="Switch";const genSwitchSmallStyle=x_=>{const{componentCls:e0e,trackHeightSM:$P,trackPadding:t0e,trackMinWidthSM:r0e,innerMinMarginSM:n0e,innerMaxMarginSM:a0e,handleSizeSM:o0e,calc:i0e}=x_,s0e=`${e0e}-inner`,l0e=unit$1(i0e(o0e).add(i0e(t0e).mul(2)).equal()),c0e=unit$1(i0e(a0e).mul(2).equal());return{[e0e]:{[`&${e0e}-small`]:{minWidth:r0e,height:$P,lineHeight:unit$1($P),[`${e0e}-inner`]:{paddingInlineStart:a0e,paddingInlineEnd:n0e,[`${s0e}-checked`]:{marginInlineStart:`calc(-100% + ${l0e} - ${c0e})`,marginInlineEnd:`calc(100% - ${l0e} + ${c0e})`},[`${s0e}-unchecked`]:{marginTop:i0e($P).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${e0e}-handle`]:{width:o0e,height:o0e},[`${e0e}-loading-icon`]:{top:i0e(i0e(o0e).sub(x_.switchLoadingIconSize)).div(2).equal(),fontSize:x_.switchLoadingIconSize},[`&${e0e}-checked`]:{[`${e0e}-inner`]:{paddingInlineStart:n0e,paddingInlineEnd:a0e,[`${s0e}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s0e}-unchecked`]:{marginInlineStart:`calc(100% - ${l0e} + ${c0e})`,marginInlineEnd:`calc(-100% + ${l0e} - ${c0e})`}},[`${e0e}-handle`]:{insetInlineStart:`calc(100% - ${unit$1(i0e(o0e).add(t0e).equal())})`}},[`&:not(${e0e}-disabled):active`]:{[`&:not(${e0e}-checked) ${s0e}`]:{[`${s0e}-unchecked`]:{marginInlineStart:i0e(x_.marginXXS).div(2).equal(),marginInlineEnd:i0e(x_.marginXXS).mul(-1).div(2).equal()}},[`&${e0e}-checked ${s0e}`]:{[`${s0e}-checked`]:{marginInlineStart:i0e(x_.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:i0e(x_.marginXXS).div(2).equal()}}}}}}},genSwitchLoadingStyle=x_=>{const{componentCls:e0e,handleSize:$P,calc:t0e}=x_;return{[e0e]:{[`${e0e}-loading-icon${x_.iconCls}`]:{position:"relative",top:t0e(t0e($P).sub(x_.fontSize)).div(2).equal(),color:x_.switchLoadingIconColor,verticalAlign:"top"},[`&${e0e}-checked ${e0e}-loading-icon`]:{color:x_.switchColor}}}},genSwitchHandleStyle=x_=>{const{componentCls:e0e,trackPadding:$P,handleBg:t0e,handleShadow:r0e,handleSize:n0e,calc:a0e}=x_,o0e=`${e0e}-handle`;return{[e0e]:{[o0e]:{position:"absolute",top:$P,insetInlineStart:$P,width:n0e,height:n0e,transition:`all ${x_.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:t0e,borderRadius:a0e(n0e).div(2).equal(),boxShadow:r0e,transition:`all ${x_.switchDuration} ease-in-out`,content:'""'}},[`&${e0e}-checked ${o0e}`]:{insetInlineStart:`calc(100% - ${unit$1(a0e(n0e).add($P).equal())})`},[`&:not(${e0e}-disabled):active`]:{[`${o0e}::before`]:{insetInlineEnd:x_.switchHandleActiveInset,insetInlineStart:0},[`&${e0e}-checked ${o0e}::before`]:{insetInlineEnd:0,insetInlineStart:x_.switchHandleActiveInset}}}}},genSwitchInnerStyle=x_=>{const{componentCls:e0e,trackHeight:$P,trackPadding:t0e,innerMinMargin:r0e,innerMaxMargin:n0e,handleSize:a0e,calc:o0e}=x_,i0e=`${e0e}-inner`,s0e=unit$1(o0e(a0e).add(o0e(t0e).mul(2)).equal()),l0e=unit$1(o0e(n0e).mul(2).equal());return{[e0e]:{[i0e]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:n0e,paddingInlineEnd:r0e,transition:`padding-inline-start ${x_.switchDuration} ease-in-out, padding-inline-end ${x_.switchDuration} ease-in-out`,[`${i0e}-checked, ${i0e}-unchecked`]:{display:"block",color:x_.colorTextLightSolid,fontSize:x_.fontSizeSM,transition:`margin-inline-start ${x_.switchDuration} ease-in-out, margin-inline-end ${x_.switchDuration} ease-in-out`,pointerEvents:"none"},[`${i0e}-checked`]:{marginInlineStart:`calc(-100% + ${s0e} - ${l0e})`,marginInlineEnd:`calc(100% - ${s0e} + ${l0e})`},[`${i0e}-unchecked`]:{marginTop:o0e($P).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${e0e}-checked ${i0e}`]:{paddingInlineStart:r0e,paddingInlineEnd:n0e,[`${i0e}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${i0e}-unchecked`]:{marginInlineStart:`calc(100% - ${s0e} + ${l0e})`,marginInlineEnd:`calc(-100% + ${s0e} - ${l0e})`}},[`&:not(${e0e}-disabled):active`]:{[`&:not(${e0e}-checked) ${i0e}`]:{[`${i0e}-unchecked`]:{marginInlineStart:o0e(t0e).mul(2).equal(),marginInlineEnd:o0e(t0e).mul(-1).mul(2).equal()}},[`&${e0e}-checked ${i0e}`]:{[`${i0e}-checked`]:{marginInlineStart:o0e(t0e).mul(-1).mul(2).equal(),marginInlineEnd:o0e(t0e).mul(2).equal()}}}}}},genSwitchStyle=x_=>{const{componentCls:e0e,trackHeight:$P,trackMinWidth:t0e}=x_;return{[e0e]:Object.assign(Object.assign(Object.assign(Object.assign({},resetComponent(x_)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:t0e,height:$P,lineHeight:`${unit$1($P)}`,verticalAlign:"middle",background:x_.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${x_.motionDurationMid}`,userSelect:"none",[`&:hover:not(${e0e}-disabled)`]:{background:x_.colorTextTertiary}}),genFocusStyle(x_)),{[`&${e0e}-checked`]:{background:x_.switchColor,[`&:hover:not(${e0e}-disabled)`]:{background:x_.colorPrimaryHover}},[`&${e0e}-loading, &${e0e}-disabled`]:{cursor:"not-allowed",opacity:x_.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${e0e}-rtl`]:{direction:"rtl"}})}},prepareComponentToken=x_=>{const{fontSize:e0e,lineHeight:$P,controlHeight:t0e,colorWhite:r0e}=x_,n0e=e0e*$P,a0e=t0e/2,o0e=2,i0e=n0e-o0e*2,s0e=a0e-o0e*2;return{trackHeight:n0e,trackHeightSM:a0e,trackMinWidth:i0e*2+o0e*4,trackMinWidthSM:s0e*2+o0e*2,trackPadding:o0e,handleBg:r0e,handleSize:i0e,handleSizeSM:s0e,handleShadow:`0 2px 4px 0 ${new TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:i0e/2,innerMaxMargin:i0e+o0e+o0e*2,innerMinMarginSM:s0e/2,innerMaxMarginSM:s0e+o0e+o0e*2}},useStyle=genStyleHooks("Switch",x_=>{const e0e=merge$2(x_,{switchDuration:x_.motionDurationMid,switchColor:x_.colorPrimary,switchDisabledOpacity:x_.opacityLoading,switchLoadingIconSize:x_.calc(x_.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${x_.opacityLoading})`,switchHandleActiveInset:"-30%"});return[genSwitchStyle(e0e),genSwitchInnerStyle(e0e),genSwitchHandleStyle(e0e),genSwitchLoadingStyle(e0e),genSwitchSmallStyle(e0e)]},prepareComponentToken);var __rest$1=globalThis&&globalThis.__rest||function(x_,e0e){var $P={};for(var t0e in x_)Object.prototype.hasOwnProperty.call(x_,t0e)&&e0e.indexOf(t0e)<0&&($P[t0e]=x_[t0e]);if(x_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r0e=0,t0e=Object.getOwnPropertySymbols(x_);r0e{const{prefixCls:$P,size:t0e,disabled:r0e,loading:n0e,className:a0e,rootClassName:o0e,style:i0e,checked:s0e,value:l0e,defaultChecked:c0e,defaultValue:u0e,onChange:d0e}=x_,p0e=__rest$1(x_,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[f0e,h0e]=useMergedState(!1,{value:s0e??l0e,defaultValue:c0e??u0e}),{getPrefixCls:b0e,direction:m0e,switch:v0e}=reactExports.useContext(ConfigContext),g0e=reactExports.useContext(DisabledContext$1),y0e=(r0e??g0e)||n0e,M0e=b0e("switch",$P),O0e=reactExports.createElement("div",{className:`${M0e}-handle`},n0e&&reactExports.createElement(LoadingOutlined$1,{className:`${M0e}-loading-icon`})),[z0e,_0e]=useStyle(M0e),A0e=useSize$1(t0e),$0e=cx$1(v0e==null?void 0:v0e.className,{[`${M0e}-small`]:A0e==="small",[`${M0e}-loading`]:n0e,[`${M0e}-rtl`]:m0e==="rtl"},a0e,o0e,_0e),S0e=Object.assign(Object.assign({},v0e==null?void 0:v0e.style),i0e),C0e=function(){h0e(arguments.length<=0?void 0:arguments[0]),d0e==null||d0e.apply(void 0,arguments)};return z0e(reactExports.createElement(Wave$1,{component:"Switch"},reactExports.createElement(Switch$4,Object.assign({},p0e,{checked:f0e,onChange:C0e,prefixCls:M0e,className:$0e,style:S0e,disabled:y0e,ref:e0e,loadingIcon:O0e}))))});Switch$2.__ANT_SWITCH=!0;const Switch$3=Switch$2,getDesignToken=x_=>{const e0e=x_!=null&&x_.algorithm?createTheme(x_.algorithm):createTheme(derivative$2),$P=Object.assign(Object.assign({},seedToken$1),x_==null?void 0:x_.token);return getComputedToken$1($P,{override:x_==null?void 0:x_.token},e0e,formatToken)},getDesignToken$1=getDesignToken;function genSizeMapToken(x_){const{sizeUnit:e0e,sizeStep:$P}=x_,t0e=$P-2;return{sizeXXL:e0e*(t0e+10),sizeXL:e0e*(t0e+6),sizeLG:e0e*(t0e+2),sizeMD:e0e*(t0e+2),sizeMS:e0e*(t0e+1),size:e0e*t0e,sizeSM:e0e*t0e,sizeXS:e0e*(t0e-1),sizeXXS:e0e*(t0e-1)}}const derivative$1=(x_,e0e)=>{const $P=e0e??derivative$2(x_),t0e=$P.fontSizeSM,r0e=$P.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$P),genSizeMapToken(e0e??x_)),genFontMapToken$1(t0e)),{controlHeight:r0e}),genControlHeight$1(Object.assign(Object.assign({},$P),{controlHeight:r0e})))},compactAlgorithm=derivative$1,getAlphaColor=(x_,e0e)=>new TinyColor(x_).setAlpha(e0e).toRgbString(),getSolidColor=(x_,e0e)=>new TinyColor(x_).lighten(e0e).toHexString(),generateColorPalettes=x_=>{const e0e=generate$1(x_,{theme:"dark"});return{1:e0e[0],2:e0e[1],3:e0e[2],4:e0e[3],5:e0e[6],6:e0e[5],7:e0e[4],8:e0e[6],9:e0e[5],10:e0e[4]}},generateNeutralColorPalettes=(x_,e0e)=>{const $P=x_||"#000",t0e=e0e||"#fff";return{colorBgBase:$P,colorTextBase:t0e,colorText:getAlphaColor(t0e,.85),colorTextSecondary:getAlphaColor(t0e,.65),colorTextTertiary:getAlphaColor(t0e,.45),colorTextQuaternary:getAlphaColor(t0e,.25),colorFill:getAlphaColor(t0e,.18),colorFillSecondary:getAlphaColor(t0e,.12),colorFillTertiary:getAlphaColor(t0e,.08),colorFillQuaternary:getAlphaColor(t0e,.04),colorBgElevated:getSolidColor($P,12),colorBgContainer:getSolidColor($P,8),colorBgLayout:getSolidColor($P,0),colorBgSpotlight:getSolidColor($P,26),colorBgBlur:getAlphaColor(t0e,.04),colorBorder:getSolidColor($P,26),colorBorderSecondary:getSolidColor($P,19)}},derivative=(x_,e0e)=>{const $P=Object.keys(defaultPresetColors).map(r0e=>{const n0e=generate$1(x_[r0e],{theme:"dark"});return new Array(10).fill(1).reduce((a0e,o0e,i0e)=>(a0e[`${r0e}-${i0e+1}`]=n0e[i0e],a0e[`${r0e}${i0e+1}`]=n0e[i0e],a0e),{})}).reduce((r0e,n0e)=>(r0e=Object.assign(Object.assign({},r0e),n0e),r0e),{}),t0e=e0e??derivative$2(x_);return Object.assign(Object.assign(Object.assign({},t0e),$P),genColorMapToken(x_,{generateColorPalettes,generateNeutralColorPalettes}))},darkAlgorithm=derivative;function useToken(){const[x_,e0e,$P]=useToken$1();return{theme:x_,token:e0e,hashId:$P}}const theme$1={defaultConfig:defaultConfig$2,defaultSeed:defaultConfig$2.token,useToken,defaultAlgorithm:derivative$2,darkAlgorithm,compactAlgorithm,getDesignToken:getDesignToken$1};React$1.Component;var defaultOptions$3={subtree:!0,childList:!0,attributeFilter:["style","class"]};function useMutateObserver(x_,e0e){var $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:defaultOptions$3;reactExports.useEffect(function(){if(!(!canUseDom$1()||!x_)){var t0e,r0e=Array.isArray(x_)?x_:[x_];return"MutationObserver"in window&&(t0e=new MutationObserver(e0e),r0e.forEach(function(n0e){t0e.observe(n0e,$P)})),function(){var n0e,a0e;(n0e=t0e)===null||n0e===void 0||n0e.takeRecords(),(a0e=t0e)===null||a0e===void 0||a0e.disconnect()}}},[$P,x_])}const FontGap=3;function prepareCanvas(x_,e0e){let $P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;const t0e=document.createElement("canvas"),r0e=t0e.getContext("2d"),n0e=x_*$P,a0e=e0e*$P;return t0e.setAttribute("width",`${n0e}px`),t0e.setAttribute("height",`${a0e}px`),r0e.save(),[r0e,t0e,n0e,a0e]}function useClips(){function x_(e0e,$P,t0e,r0e,n0e,a0e,o0e,i0e){const[s0e,l0e,c0e,u0e]=prepareCanvas(r0e,n0e,t0e);if(e0e instanceof HTMLImageElement)s0e.drawImage(e0e,0,0,c0e,u0e);else{const{color:q0e,fontSize:N0e,fontStyle:j0e,fontWeight:P0e,fontFamily:I0e,textAlign:F0e}=a0e,V0e=Number(N0e)*t0e;s0e.font=`${j0e} normal ${P0e} ${V0e}px/${n0e}px ${I0e}`,s0e.fillStyle=q0e,s0e.textAlign=F0e,s0e.textBaseline="top";const H0e=Array.isArray(e0e)?e0e:[e0e];H0e==null||H0e.forEach((Q0e,Y0e)=>{s0e.fillText(Q0e??"",c0e/2,Y0e*(V0e+FontGap*t0e))})}const d0e=Math.PI/180*Number($P),p0e=Math.max(r0e,n0e),[f0e,h0e,b0e]=prepareCanvas(p0e,p0e,t0e);f0e.translate(b0e/2,b0e/2),f0e.rotate(d0e),c0e>0&&u0e>0&&f0e.drawImage(l0e,-c0e/2,-u0e/2);function m0e(q0e,N0e){const j0e=q0e*Math.cos(d0e)-N0e*Math.sin(d0e),P0e=q0e*Math.sin(d0e)+N0e*Math.cos(d0e);return[j0e,P0e]}let v0e=0,g0e=0,y0e=0,M0e=0;const O0e=c0e/2,z0e=u0e/2;[[0-O0e,0-z0e],[0+O0e,0-z0e],[0+O0e,0+z0e],[0-O0e,0+z0e]].forEach(q0e=>{let[N0e,j0e]=q0e;const[P0e,I0e]=m0e(N0e,j0e);v0e=Math.min(v0e,P0e),g0e=Math.max(g0e,P0e),y0e=Math.min(y0e,I0e),M0e=Math.max(M0e,I0e)});const A0e=v0e+b0e/2,$0e=y0e+b0e/2,S0e=g0e-v0e,C0e=M0e-y0e,E0e=o0e*t0e,w0e=i0e*t0e,R0e=(S0e+E0e)*2,T0e=C0e+w0e,[D0e,W0e]=prepareCanvas(R0e,T0e);function k0e(){let q0e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,N0e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;D0e.drawImage(h0e,A0e,$0e,S0e,C0e,q0e,N0e,S0e,C0e)}return k0e(),k0e(S0e+E0e,-C0e/2-w0e/2),k0e(S0e+E0e,+C0e/2+w0e/2),[W0e.toDataURL(),R0e/t0e,T0e/t0e]}return x_}function useRafDebounce(x_){const e0e=React$1.useRef(!1),$P=React$1.useRef(),t0e=useEvent(x_);return()=>{e0e.current||(e0e.current=!0,t0e(),$P.current=wrapperRaf$1(()=>{e0e.current=!1}))}}function toLowercaseSeparator(x_){return x_.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(x_){return Object.keys(x_).map(e0e=>`${toLowercaseSeparator(e0e)}: ${x_[e0e]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(x_,e0e)=>{let $P=!1;return x_.removedNodes.length&&($P=Array.from(x_.removedNodes).some(t0e=>e0e(t0e))),x_.type==="attributes"&&e0e(x_.target)&&($P=!0),$P},EmphasizedStyles={visibility:"visible !important"};function useWatermark(x_){const[e0e]=reactExports.useState(()=>new Map);return[(n0e,a0e,o0e)=>{if(o0e){if(!e0e.get(o0e)){const s0e=document.createElement("div");e0e.set(o0e,s0e)}const i0e=e0e.get(o0e);i0e.setAttribute("style",getStyleStr(Object.assign(Object.assign(Object.assign({},x_),{backgroundImage:`url('${n0e}')`,backgroundSize:`${Math.floor(a0e)}px`}),EmphasizedStyles))),i0e.removeAttribute("class"),o0e.append(i0e)}},n0e=>{const a0e=e0e.get(n0e);a0e&&n0e&&n0e.removeChild(a0e),e0e.delete(n0e)},n0e=>Array.from(e0e.values()).includes(n0e)]}function getSizeDiff(x_,e0e){return x_.size===e0e.size?x_:e0e}const DEFAULT_GAP_X=100,DEFAULT_GAP_Y=100,Watermark$1=x_=>{var e0e,$P;const{zIndex:t0e=9,rotate:r0e=-22,width:n0e,height:a0e,image:o0e,content:i0e,font:s0e={},style:l0e,className:c0e,rootClassName:u0e,gap:d0e=[DEFAULT_GAP_X,DEFAULT_GAP_Y],offset:p0e,children:f0e,inherit:h0e=!0}=x_,[,b0e]=useToken$1(),{color:m0e=b0e.colorFill,fontSize:v0e=b0e.fontSizeLG,fontWeight:g0e="normal",fontStyle:y0e="normal",fontFamily:M0e="sans-serif",textAlign:O0e="center"}=s0e,[z0e=DEFAULT_GAP_X,_0e=DEFAULT_GAP_Y]=d0e,A0e=z0e/2,$0e=_0e/2,S0e=(e0e=p0e==null?void 0:p0e[0])!==null&&e0e!==void 0?e0e:A0e,C0e=($P=p0e==null?void 0:p0e[1])!==null&&$P!==void 0?$P:$0e,E0e=React$1.useMemo(()=>{const B0e={zIndex:t0e,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let U0e=S0e-A0e,X0e=C0e-$0e;return U0e>0&&(B0e.left=`${U0e}px`,B0e.width=`calc(100% - ${U0e}px)`,U0e=0),X0e>0&&(B0e.top=`${X0e}px`,B0e.height=`calc(100% - ${X0e}px)`,X0e=0),B0e.backgroundPosition=`${U0e}px ${X0e}px`,B0e},[t0e,S0e,A0e,C0e,$0e]),[w0e,R0e]=React$1.useState(),[T0e,D0e]=React$1.useState(new Set),W0e=React$1.useMemo(()=>{const B0e=w0e?[w0e]:[];return[].concat(B0e,_toConsumableArray$2(Array.from(T0e)))},[w0e,T0e]),k0e=B0e=>{let U0e=120,X0e=64;if(!o0e&&B0e.measureText){B0e.font=`${Number(v0e)}px ${M0e}`;const Z0e=Array.isArray(i0e)?i0e:[i0e],e1e=Z0e.map(n1e=>{const t1e=B0e.measureText(n1e);return[t1e.width,t1e.fontBoundingBoxAscent+t1e.fontBoundingBoxDescent]});U0e=Math.ceil(Math.max.apply(Math,_toConsumableArray$2(e1e.map(n1e=>n1e[0])))),X0e=Math.ceil(Math.max.apply(Math,_toConsumableArray$2(e1e.map(n1e=>n1e[1]))))*Z0e.length+(Z0e.length-1)*FontGap}return[n0e??U0e,a0e??X0e]},q0e=useClips(),[N0e,j0e]=React$1.useState(null),I0e=useRafDebounce(()=>{const U0e=document.createElement("canvas").getContext("2d");if(U0e){const X0e=getPixelRatio(),[Z0e,e1e]=k0e(U0e),n1e=t1e=>{const[r1e,a1e]=q0e(t1e||"",r0e,X0e,Z0e,e1e,{color:m0e,fontSize:v0e,fontStyle:y0e,fontWeight:g0e,fontFamily:M0e,textAlign:O0e},z0e,_0e);j0e([r1e,a1e])};if(o0e){const t1e=new Image;t1e.onload=()=>{n1e(t1e)},t1e.onerror=()=>{n1e(i0e)},t1e.crossOrigin="anonymous",t1e.referrerPolicy="no-referrer",t1e.src=o0e}else n1e(i0e)}}),[F0e,V0e,H0e]=useWatermark(E0e);reactExports.useEffect(()=>{N0e&&W0e.forEach(B0e=>{F0e(N0e[0],N0e[1],B0e)})},[N0e,W0e]),useMutateObserver(W0e,B0e=>{B0e.forEach(U0e=>{reRendering(U0e,H0e)&&I0e()})}),reactExports.useEffect(I0e,[r0e,t0e,n0e,a0e,o0e,i0e,m0e,v0e,g0e,y0e,M0e,O0e,z0e,_0e,S0e,C0e]);const Y0e=React$1.useMemo(()=>({add:B0e=>{D0e(U0e=>{const X0e=new Set(U0e);return X0e.add(B0e),getSizeDiff(U0e,X0e)})},remove:B0e=>{V0e(B0e),D0e(U0e=>{const X0e=new Set(U0e);return X0e.delete(B0e),getSizeDiff(U0e,X0e)})}}),[]),G0e=h0e?jsx(WatermarkContext$1.Provider,{value:Y0e,children:f0e}):f0e;return jsx("div",{ref:R0e,className:cx$1(c0e,u0e),style:Object.assign({position:"relative"},l0e),children:G0e})},AntdWatermark=Watermark$1;class CustomAxiosInstance{constructor(e0e){E2e(this,"instance");this.instance=axios$1.create(e0e),this.setInterceptor()}setInterceptor(){this.instance.interceptors.request.use(async e0e=>{const $P={...e0e},t0e=Token().value;return $P.headers.Authorization=`Bearer ${t0e}`,$P},e0e=>{var $P,t0e;return{data:{status:1,msg:((t0e=($P=e0e.response)==null?void 0:$P.data)==null?void 0:t0e.message)||e0e.message}}}),this.instance.interceptors.response.use(async e0e=>{const{status:$P}=e0e;if($P===200||$P<300||$P===304){const t0e=e0e.data;return t0e.status===0?(t0e!=null&&t0e.msg&&(t0e==null?void 0:t0e.doNotDisplayToast)==0&&msgHandler(t0e.msg,()=>message$1.success(t0e.msg)),t0e):(t0e!=null&&t0e.msg&&(t0e==null?void 0:t0e.doNotDisplayToast)==0&&msgHandler(t0e.msg,()=>message$1.error(t0e.msg)),(t0e==null?void 0:t0e.code)==401&&!inLoginPage()&&(Token().clear(),goToLoginPage()),e0e)}return e0e},e0e=>{var t0e,r0e;const $P=((r0e=(t0e=e0e.response)==null?void 0:t0e.data)==null?void 0:r0e.message)||e0e.message;return $P&&msgHandler($P,message$1.error($P)),{data:{status:1,msg:$P}}})}}const config$1={baseURL:window.$adminApiPrefix||"/admin-api",proxyURL:"http://owl-admin.test",changeOrigin:!0},request$1=new CustomAxiosInstance(config$1).instance,initPageSchema=x_=>request$1.get(x_),amisRequest=(x_,e0e,$P)=>request$1[e0e](x_,$P),fetchSettings=()=>request$1.get("/_settings"),saveSettings=x_=>request$1.post("/_settings",x_),fetchLogin=x_=>request$1.post("/login",x_),fetchUserInfo=()=>request$1.get("/current-user"),fetchUserRoutes=()=>request$1.get("/menus"),fetchLogout=()=>request$1.get("/logout"),fetchCaptcha=()=>request$1.get("/captcha"),index$d="";var OBFUSCATED_ERROR="An invariant failed, however the error is obfuscated because this is an production build.",EMPTY_ARRAY$1=[];Object.freeze(EMPTY_ARRAY$1);var EMPTY_OBJECT$2={};Object.freeze(EMPTY_OBJECT$2);var mockGlobal$1={};function getGlobal$1(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:mockGlobal$1}function getNextId(){return++globalState.mobxGuid}function fail(x_){throw invariant$3(!1,x_),"X"}function invariant$3(x_,e0e){if(!x_)throw new Error("[mobx] "+(e0e||OBFUSCATED_ERROR))}function once(x_){var e0e=!1;return function(){if(!e0e)return e0e=!0,x_.apply(this,arguments)}}var noop$b=function(){};function unique(x_){var e0e=[];return x_.forEach(function($P){e0e.indexOf($P)===-1&&e0e.push($P)}),e0e}function isObject$f(x_){return x_!==null&&typeof x_=="object"}function isPlainObject$5(x_){if(x_===null||typeof x_!="object")return!1;var e0e=Object.getPrototypeOf(x_);return e0e===Object.prototype||e0e===null}function convertToMap(x_){if(isES6Map(x_)||isObservableMap(x_))return x_;if(Array.isArray(x_))return new Map(x_);if(isPlainObject$5(x_)){var e0e=new Map;for(var $P in x_)e0e.set($P,x_[$P]);return e0e}else return fail("Cannot convert to map from '"+x_+"'")}function makeNonEnumerable(x_,e0e){for(var $P=0;$P=x_.length)return{type:TokenName[6],value:void 0,start:u0e(),end:u0e()}}function p0e(){if(n0e!==mainStates.START)return null;for(var A0e="",$0e=rawStates.START,S0e=r0e;S0er0e?{type:TokenName[2],value:escapeString(A0e,["`","$"]),raw:A0e,start:u0e(),end:u0e(A0e)}:o0e.length?o0e.shift():null}function f0e(){if(n0e===mainStates.Template||n0e===mainStates.EXPRESSION)return null;var A0e=x_[r0e];if(A0e==="$"){var $0e=x_[r0e+1];if($0e==="{"){l0e(mainStates.SCRIPT);var S0e=x_.substring(r0e,r0e+2);return{type:TokenName[4],value:S0e,start:u0e(),end:u0e(S0e)}}}return null}function h0e(){if(n0e!==mainStates.SCRIPT&&n0e!==mainStates.EXPRESSION&&n0e!==mainStates.BLOCK&&n0e!==mainStates.Filter)return null;var A0e=y0e()||z0e()||M0e()||O0e()||g0e()||b0e();if((A0e==null?void 0:A0e.value)==="{"&&A0e.type=="Punctuator")l0e(mainStates.BLOCK);else if((A0e==null?void 0:A0e.value)==="}"&&A0e.type=="Punctuator"){n0e===mainStates.Filter&&c0e();var $0e=n0e;if(c0e(),$0e===mainStates.SCRIPT||$0e===mainStates.EXPRESSION)return{type:TokenName[$0e===mainStates.EXPRESSION?15:5],value:A0e.value,start:u0e(),end:u0e(A0e.value)}}if(n0e===mainStates.SCRIPT&&(A0e==null?void 0:A0e.type)=="Punctuator"&&A0e.value==="|"&&i0e){if(e0e!=null&&e0e.isFilter){var S0e=x_.substring(A0e.start.index+1).trim(),C0e=/^[A-Za-z0-9_$@][A-Za-z0-9_\-$@]*/.exec(S0e);if(!C0e||!e0e.isFilter(C0e[0]))return A0e}return l0e(mainStates.Filter),{type:TokenName[16],value:"|",start:u0e(),end:u0e("|")}}else if(n0e===mainStates.Filter&&(A0e==null?void 0:A0e.value)==="|"&&A0e.type=="Punctuator")return{type:TokenName[16],value:"|",start:u0e(),end:u0e("|")};return!A0e&&x_[r0e]==="`"?(l0e(mainStates.Template),{type:TokenName[10],value:"`",start:u0e(),end:u0e("`")}):A0e}function b0e(){if(n0e!==mainStates.Filter)return null;var A0e=r0e,$0e=x_[A0e];if($0e==="\\"){var S0e=x_[A0e+1];if(S0e==="$"||~punctuatorList.indexOf(S0e)||escapes.hasOwnProperty(S0e))A0e++,$0e=S0e==="b"?"\b":S0e==="f"?"\f":S0e==="n"?` `:S0e==="r"?"\r":S0e==="t"?" ":S0e==="v"?"\v":S0e;else{var C0e=u0e(x_.substring(r0e,r0e+2));throw new SyntaxError("Unexpected token ".concat(S0e," in ").concat(C0e.line,":").concat(C0e.column))}}var E0e={type:TokenName[17],value:$0e,start:u0e(),end:u0e(x_.substring(r0e,A0e+1))};return E0e}function m0e(){if(n0e!==mainStates.Template)return null;for(var A0e=stringStates.START,$0e=r0e;$0er0e){var w0e=x_.substring(r0e,$0e);return{type:TokenName[13],value:escapeString(w0e,["`","$"]),raw:w0e,start:u0e(),end:u0e(w0e)}}return o0e.length?o0e.shift():null}function v0e(){for(;r0e0){var E0e=x_.slice(r0e,$0e);return{type:TokenName[9],value:formatNumber(E0e),raw:E0e,start:u0e(),end:u0e(E0e)}}return null}function O0e(){for(var A0e='"',$0e=stringStates.START,S0e=r0e;S0er0e){var w0e=x_.substring(r0e,S0e);return{type:TokenName[11],value:escapeString(w0e.substring(1,w0e.length-1),[A0e]),raw:w0e,start:u0e(),end:u0e(w0e)}}return null}function z0e(){var A0e=e0e!=null&&e0e.variableMode?/^[\u4e00-\u9fa5A-Za-z0-9_$@][\u4e00-\u9fa5A-Za-z0-9_\-$@]*/:/^(?:[\u4e00-\u9fa5A-Za-z_$@]([\u4e00-\u9fa5A-Za-z0-9_$@]|\\(?:\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,))*|\d+[\u4e00-\u9fa5A-Za-z_$@](?:[\u4e00-\u9fa5A-Za-z0-9_$@]|\\(?:\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,))*)/,$0e=A0e.exec(x_.substring(r0e,r0e+256));return $0e?{type:TokenName[7],value:$0e[0].replace(/\\(\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,)/g,function(S0e,C0e){return C0e}),start:u0e(),end:u0e($0e[0])}:null}function _0e(){return o0e.length?o0e.shift():((n0e===mainStates.SCRIPT||n0e===mainStates.EXPRESSION||n0e===mainStates.BLOCK)&&v0e(),d0e()||p0e()||f0e()||h0e()||m0e())}return{next:function(){var A0e=_0e();if(A0e)return r0e=A0e.end.index,$P=A0e.end.line,t0e=A0e.end.column,A0e;var $0e=u0e();throw new SyntaxError('unexpected character "'.concat(x_[r0e],'" at ').concat($0e.line,":").concat($0e.column))}}}var argListStates={START:0,COMMA:1,SET:2},tempalteStates={START:0,SCRIPTING:1},objectStates={START:0,KEY:1,COLON:2,VALUE:3,COMMA:4};function parse$1(x_,e0e){var $P,t0e,r0e=lexer(x_,e0e),n0e=[],a0e=[],o0e=($P=e0e==null?void 0:e0e.variableNamespaces)!==null&&$P!==void 0?$P:["window","cookie","ls","ss"];Array.isArray(o0e)||(o0e=[]);function i0e(){if(t0e=a0e.length?a0e.shift():r0e.next(),!t0e)throw new TypeError("next token is undefined");n0e.push(t0e)}function s0e(){a0e.unshift(n0e.pop()),t0e=n0e[n0e.length-1]}function l0e(t1e){return t0e.type===TokenName[10]&&(Array.isArray(t1e)?~t1e.indexOf(t0e.value):t0e.value===t1e)}function c0e(){throw TypeError("Unexpected token ".concat(t0e.value," in ").concat(t0e.start.line,":").concat(t0e.start.column))}function u0e(t1e){return t1e||c0e(),t1e}function d0e(){return G0e()}function p0e(){for(;t0e.type===TokenName[17]&&/^\s+$/m.test(t0e.value);)i0e()}function f0e(){for(var t1e=[];!l0e(":")&&t0e.type!==TokenName[16]&&t0e.type!==TokenName[5];){var r1e=I0e()||q0e()||k0e()||N0e()||V0e()||X0e()||Y0e();r1e?t1e.push(r1e):(u0e(~[TokenName[7],TokenName[10],TokenName[17]].indexOf(t0e.type)),t1e.length&&typeof t1e[t1e.length-1]=="string"?t1e[t1e.length-1]+=t0e.raw||t0e.value:t1e.push(t0e.raw||t0e.value),i0e())}return t1e.length&&typeof t1e[t1e.length-1]=="string"&&(t1e[t1e.length-1]=t1e[t1e.length-1].replace(/\s+$/,""),t1e[t1e.length-1]||t1e.pop()),t1e}function h0e(){for(var t1e=d0e(),r1e=[];t0e.type===TokenName[16];){i0e(),p0e();var a1e=u0e(j0e()),l1e=a1e.name,s1e=[];for(p0e();l0e(":");){i0e(),p0e();var g1e=f0e();g1e.length===1?g1e=g1e[0]:g1e.length||(g1e=""),s1e.push(Array.isArray(g1e)?{type:"mixed",body:g1e}:g1e)}r1e.push({name:l1e,args:s1e})}return r1e.length&&(t1e={type:"filter",input:t1e,filters:r1e,start:t1e.start,end:r1e[r1e.length-1].end}),t1e}function b0e(){var t1e=Q0e()||J0e(),r1e=[],a1e;if((t1e==null?void 0:t1e.type)==="variable"?(r1e=[t1e],a1e=t1e.start):(t1e==null?void 0:t1e.type)==="arg-list"&&(a1e=t1e.start,r1e=t1e.body),Array.isArray(r1e)&&l0e("="))if(i0e(),l0e(">")){i0e();var l1e=u0e(d0e());return{type:"anonymous_function",args:r1e,return:l1e,start:a1e,end:l1e.end}}else s0e();return t1e}function m0e(){var t1e=g0e();if(!t1e)return null;if(l0e("?")){i0e();var r1e=G0e();u0e(r1e),u0e(l0e(":")),i0e();var a1e=G0e();return u0e(a1e),{type:"conditional",test:t1e,consequent:r1e,alternate:a1e,start:t1e.start,end:a1e.end}}return t1e}function v0e(t1e,r1e,a1e,l1e,s1e,g1e){var $1e;l1e===void 0&&(l1e=a1e),s1e===void 0&&(s1e="left"),g1e===void 0&&(g1e="right");var _1e=a1e();if(!_1e)return null;if(l0e(r1e))for(;l0e(r1e);){i0e();var p1e=u0e(l1e());_1e=($1e={type:t1e,op:r1e},$1e[s1e]=_1e,$1e[g1e]=p1e,$1e.start=_1e.start,$1e.end=p1e.end,$1e)}return _1e}function g0e(){return v0e("or","||",y0e)}function y0e(){return v0e("and","&&",M0e)}function M0e(){return v0e("binary","|",O0e)}function O0e(){return v0e("binary","^",z0e)}function z0e(){return v0e("binary","&",_0e)}function _0e(){return v0e("eq","==",function(){return v0e("ne","!=",function(){return v0e("streq","===",function(){return v0e("strneq","!==",A0e)})})})}function A0e(){return v0e("lt","<",function(){return v0e("gt",">",function(){return v0e("le","<=",function(){return v0e("ge",">=",$0e)})})})}function $0e(){return v0e("shift","<<",function(){return v0e("shift",">>",function(){return v0e("shift",">>>",S0e)})})}function S0e(){return v0e("add","+",function(){return v0e("minus","-",C0e)})}function C0e(){return v0e("multiply","*",function(){return v0e("divide","/",function(){return v0e("remainder","%",E0e)})})}function E0e(){return v0e("power","**",w0e)}function w0e(){for(var t1e=["+","-","~","!"],r1e=[];l0e(t1e);)r1e.push(t0e),i0e();var a1e=R0e();for(u0e(!r1e.length||a1e);r1e.length;){var l1e=r1e.pop();a1e={type:"unary",op:l1e.value,value:a1e,start:l1e.start,end:l1e.end}}return a1e}function R0e(t1e){t1e===void 0&&(t1e=T0e);var r1e=t1e();if(!r1e)return null;for(;l0e("[")||l0e(".");){var a1e=l0e(".");i0e();var l1e=u0e(a1e?j0e()||q0e()||X0e():d0e());a1e||(u0e(l0e("]")),i0e()),r1e={type:"getter",host:r1e,key:l1e,start:r1e.start,end:l1e.end}}return r1e}function T0e(){return F0e()||b0e()||P0e()}function D0e(t1e,r1e){return t1e===void 0&&(t1e=!1),r1e===void 0&&(r1e=!1),(t1e?J0e():j0e())||k0e()||q0e()||(r1e?W0e():N0e())}function W0e(){if(l0e("[")){i0e();var t1e=u0e(N0e());return u0e(l0e("]")),i0e(),t1e}return null}function k0e(){if(t0e.type===TokenName[11]){var t1e=t0e;return i0e(),{type:"string",value:t1e.value,start:t1e.start,end:t1e.end}}return null}function q0e(){if(t0e.type===TokenName[9]){var t1e=t0e.value,r1e=t0e;return i0e(),{type:"literal",value:t1e,start:r1e.start,end:r1e.end}}return null}function N0e(){if(l0e("`")){var t1e=t0e,r1e=t1e;i0e();for(var a1e=tempalteStates.START,l1e={type:"template",body:[],start:t1e.start,end:t1e.end};;)if(a1e===tempalteStates.SCRIPTING){var s1e=u0e(d0e());l1e.body.push(s1e),u0e(t0e.type===TokenName[15]),i0e(),a1e=tempalteStates.START}else if(l0e("`")){r1e=t0e,i0e();break}else t0e.type===TokenName[14]?(i0e(),a1e=tempalteStates.SCRIPTING):t0e.type===TokenName[13]?(l1e.body.push({type:"template_raw",value:t0e.value,start:t0e.start,end:t0e.end}),i0e()):c0e();return l1e.end=r1e.end,l1e}return null}function j0e(){if(t0e.type===TokenName[7]){var t1e=t0e;return i0e(),{type:"identifier",name:t1e.value,start:t1e.start,end:t1e.end}}return null}function P0e(){return J0e()||I0e()||q0e()||k0e()||N0e()||V0e()||Y0e()||function(){var t1e=H0e();return(t1e==null?void 0:t1e.body.length)===1?t1e.body[0]:t1e}()||X0e()}function I0e(){if(t0e.type===TokenName[8]||t0e.type===TokenName[1]){var t1e=t0e.value,r1e=t0e;return i0e(),{type:"literal",value:t1e,start:r1e.start,end:r1e.end}}return null}function F0e(){if(t0e.type===TokenName[7]){var t1e=t0e;if(i0e(),l0e("(")){var r1e=H0e();return u0e(r1e),{type:"func_call",identifier:t1e.value,args:r1e==null?void 0:r1e.body,start:t1e.start,end:r1e.end}}else s0e()}return null}function V0e(){if(l0e("[")){var t1e=H0e("[","]");return u0e(t1e),{type:"array",members:t1e==null?void 0:t1e.body,start:t1e.start,end:t1e.end}}return null}function H0e(t1e,r1e){if(t1e===void 0&&(t1e="("),r1e===void 0&&(r1e=")"),l0e(t1e)){var a1e=t0e,l1e=void 0;i0e();for(var s1e=[],g1e=argListStates.START;;)if(g1e===argListStates.COMMA||!l0e(r1e)){var $1e=u0e(d0e());s1e.push($1e),g1e=argListStates.START,l0e(",")&&(i0e(),g1e=argListStates.COMMA)}else if(l0e(r1e)){l1e=t0e,i0e();break}return{type:"expression-list",body:s1e,start:a1e.start,end:l1e.end}}return null}function Q0e(t1e,r1e){t1e===void 0&&(t1e="("),r1e===void 0&&(r1e=")");var a1e=0,l1e=function(){for(;a1e-- >0;)s0e();return null};if(l0e(t1e)){var s1e=t0e,g1e=s1e;i0e(),a1e++;for(var $1e=[],_1e=argListStates.START;!l0e(r1e);)if(_1e===argListStates.COMMA||_1e===argListStates.START){var p1e=J0e(!1);if(!p1e)return l1e();a1e++,$1e.push(p1e),_1e=argListStates.SET}else if(_1e===argListStates.SET&&l0e(","))i0e(),a1e++,_1e=argListStates.COMMA;else return l1e();return l0e(r1e)?(g1e=t0e,i0e(),{type:"arg-list",body:$1e,start:s1e.start,end:g1e.end}):l1e()}return null}function Y0e(){if(l0e("{")){var t1e=t0e,r1e=t1e;i0e();for(var a1e={type:"object",members:[],start:t1e.start,end:t1e.end},l1e=objectStates.START,s1e=void 0,g1e=void 0;;)if(l1e===objectStates.KEY)u0e(l0e(":")),i0e(),l1e=objectStates.COLON;else if(l1e===objectStates.COLON)g1e=u0e(d0e()),a1e.members.push({key:s1e,value:g1e}),l1e=objectStates.VALUE;else if(l1e===objectStates.VALUE)if(l0e(","))i0e(),l1e=objectStates.COMMA;else if(l0e("}")){r1e=t0e,i0e();break}else c0e();else{if(l1e!=objectStates.COMMA&&l0e("}")){r1e=t0e,i0e();break}s1e=u0e(D0e(!1,!0)),l1e=objectStates.KEY}return a1e.end=r1e.end,a1e}return null}function G0e(){return m0e()}function B0e(){for(var t1e={type:"document",body:[],start:t0e.start,end:t0e.end};t0e.type!==TokenName[6];){var r1e=U0e()||X0e()||e1e();if(!r1e)break;t1e.body.push(r1e)}return t1e.body.length&&(t1e.end=t1e.body[t1e.body.length-1].end),t1e}function U0e(){if(t0e.type!==TokenName[2])return null;var t1e=t0e;return i0e(),{type:"raw",value:t1e.value,start:t1e.start,end:t1e.end}}function X0e(){if(t0e.type!==TokenName[4])return null;var t1e=t0e,r1e=t1e;i0e();var a1e=u0e(h0e());return u0e(t0e.type===TokenName[5]),r1e=t0e,i0e(),{type:"script",body:a1e,start:t1e.start,end:r1e.end}}function J0e(t1e){if(t1e===void 0&&(t1e=!0),t0e.type===TokenName[7]){var r1e=t0e;if(i0e(),t1e&&l0e(":")&&~o0e.indexOf(r1e.value)){i0e();var a1e=u0e(R0e());return{type:"ns-variable",namespace:r1e.value,body:a1e,start:r1e.start,end:a1e.end}}return{type:"variable",name:r1e.value,start:r1e.start,end:r1e.end}}else if(l0e("&")){var l1e=t0e;return i0e(),{type:"variable",name:"&",start:l1e.start,end:l1e.end}}return null}function e1e(){if(t0e.type!==TokenName[3])return null;var t1e=t0e;return i0e(),{type:"script",body:t1e.value.split(".").reduce(function(r1e,a1e){return r1e?{type:"getter",host:r1e,key:a1e,start:t1e.start,end:t1e.end}:{type:"variable",name:a1e,start:t1e.start,end:t1e.end}},null),start:t1e.start,end:t1e.end}}i0e();var n1e=e0e!=null&&e0e.variableMode?R0e(J0e):e0e!=null&&e0e.evalMode?d0e():B0e();return u0e((t0e==null?void 0:t0e.type)===TokenName[6]),n1e}var functions={};function registerFunction(x_,e0e){functions["fn".concat(x_)]=e0e,Evaluator.setDefaultFunctions(functions)}var functionDocs={};function evaluate(x_,e0e,$P){var t0e=x_;return typeof x_=="string"&&(t0e=parse$1(x_,$P)),new Evaluator(e0e,$P).evalute(t0e)}Evaluator.setDefaultFilters(getFilters());AsyncEvaluator.setDefaultFilters(getFilters());var tokenize=function(x_,e0e,$P){if($P===void 0&&($P="| html"),!x_||typeof x_!="string")return x_;try{var t0e=parse$1(x_,{evalMode:!1,allowFilter:!0}),r0e=new Evaluator(e0e,{defaultFilter:$P}).evalute(t0e);return"".concat(r0e??"")}catch(n0e){return console.warn(n0e),x_}},cache$2={};function memoryParse(x_,e0e){if(e0e===void 0&&(e0e={evalMode:!1}),typeof x_=="string"){var $P=x_+JSON.stringify(e0e);if(cache$2[$P])return cache$2[$P];var t0e=parse$1(x_,e0e);return cache$2[$P]=t0e,t0e}}var resolveVariableAndFilterForAsync=function(x_,e0e,$P,t0e,r0e){return e0e===void 0&&(e0e={}),$P===void 0&&($P="| html"),t0e===void 0&&(t0e=function(n0e){return n0e}),r0e===void 0&&(r0e=!1),__awaiter(void 0,void 0,void 0,function(){var n0e,a0e,o0e;return __generator(this,function(i0e){switch(i0e.label){case 0:if(!x_||typeof x_!="string")return[2,void 0];i0e.label=1;case 1:return i0e.trys.push([1,3,,4]),n0e=memoryParse(x_,{evalMode:!1,allowFilter:!0}),[4,new AsyncEvaluator(e0e,{defaultFilter:$P}).evalute(n0e)];case 2:return a0e=i0e.sent(),[2,a0e==null&&!~x_.indexOf("default")&&!~x_.indexOf("now")?t0e(a0e):a0e];case 3:if(o0e=i0e.sent(),o0e.name==="FormulaEvalError"){if(!r0e)return[2,void 0];throw o0e}return console.warn(o0e),[2,void 0];case 4:return[2]}})})},keyToPath=function(x_){x_===void 0&&(x_="");var e0e=[];return x_.charCodeAt(0)===".".charCodeAt(0)&&e0e.push(""),x_.replace(new RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),function($P,t0e,r0e,n0e){var a0e=$P;return r0e?a0e=n0e.replace(/\\(\\)?/g,"$1"):t0e&&(a0e=t0e.trim()),e0e.push(a0e),""}),e0e};function getVariable(x_,e0e,$P){if($P===void 0&&($P=!0),!(!x_||!e0e||typeof x_!="object"))return($P?e0e in x_:x_.hasOwnProperty(e0e))?x_[e0e]:keyToPath(e0e).reduce(function(t0e,r0e){return t0e&&typeof t0e=="object"&&($P?r0e in t0e:t0e.hasOwnProperty(r0e))?t0e[r0e]:void 0},x_)}function resolveVariable(x_,e0e,$P){if(e0e===void 0&&(e0e={}),x_==="&"||x_=="$$")return e0e;if(!x_||typeof x_!="string")return;if(!~x_.indexOf(":"))return getVariable(e0e,x_[0]==="$"?x_.substring(1):x_,$P);try{return new Evaluator(e0e).evalute(memoryParse(x_,{variableMode:!0,allowFilter:!1}))}catch{return}}function makeSorter(x_,e0e,$P){return function(t0e,r0e){if(!t0e||!r0e)return 0;var n0e=resolveVariable(x_,t0e),a0e=resolveVariable(x_,r0e),o0e=0;return e0e==="numerical"?o0e=(parseFloat(n0e)||0)-(parseFloat(a0e)||0):o0e=String(n0e).localeCompare(String(a0e)),o0e*($P==="desc"?-1:1)}}function arrayEach$3(x_,e0e){for(var $P=-1,t0e=x_==null?0:x_.length;++$P":">",'"':""","'":"'","/":"/"},escapeHtml=function(x_){return String(x_).replace(/[&<>"'\/]/g,function(e0e){return entityMap[e0e]})};function formatDuration(x_){for(var e0e=["秒","分","时","天","月","季","年"],$P=[1,60,3600,86400,2592e3,7776e3,31104e3],t0e=$P.length,r0e=[];t0e--;)$P[t0e]&&x_>=$P[t0e]?(r0e.push(Math.floor(x_/$P[t0e])+e0e[t0e]),x_%=$P[t0e]):t0e===0&&x_&&r0e.push((x_.toFixed?x_.toFixed(2):"0")+e0e[0]);return r0e.join("")}var UNITS=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],prettyBytes=function(x_,e0e){if(e0e===void 0&&(e0e=1e3),x_&&typeof x_=="string"){if(x_.endsWith("B"))return x_;x_=parseFloat(x_)}if(!Number.isFinite(x_))throw new TypeError("Expected a finite number, got ".concat(typeof x_,": ").concat(x_));var $P=x_<0;if($P&&(x_=-x_),x_<1)return($P?"-":"")+x_+" B";var t0e=Math.min(Math.floor(Math.log(x_)/Math.log(e0e)),UNITS.length-1),r0e=Number((x_/Math.pow(e0e,t0e)).toPrecision(3)),n0e=UNITS[t0e];return($P?"-":"")+r0e+" "+n0e};function stripNumber(x_){return typeof x_=="number"&&!Number.isInteger(x_)?parseFloat(x_.toPrecision(16)):x_}var timeUnitMap={year:"Y",month:"M",week:"w",weekday:"W",day:"d",hour:"h",minute:"m",min:"m",second:"s",millisecond:"ms"},relativeValueRe=/^(.+)?(\+|-)(\d+)(minute|min|hour|day|week|month|year|weekday|second|millisecond)s?$/i,filterDate=function(x_,e0e,$P,t0e){e0e===void 0&&(e0e={}),$P===void 0&&($P="X"),t0e===void 0&&(t0e=!1);var r0e,n0e=t0e?hooks.utc:hooks;typeof x_=="string"&&(x_=x_.trim());var a0e=new Date;if(x_=tokenize(x_,createObject(e0e,{now:n0e().toDate(),today:n0e([a0e.getFullYear(),a0e.getMonth(),a0e.getDate()])}),"| raw"),x_&&typeof x_=="string"&&(r0e=relativeValueRe.exec(x_))){var o0e=new Date,i0e=parseInt(r0e[3],10),s0e=r0e[1]?filterDate(r0e[1],e0e,$P,t0e):n0e(/(minute|min|hour|second)s?/.test(r0e[4])?[o0e.getFullYear(),o0e.getMonth(),o0e.getDate(),o0e.getHours(),o0e.getMinutes(),o0e.getSeconds()]:[o0e.getFullYear(),o0e.getMonth(),o0e.getDate()]);return r0e[2]==="-"?s0e.subtract(i0e,timeUnitMap[r0e[4]]):s0e.add(i0e,timeUnitMap[r0e[4]])}else{if(x_==="now")return n0e();if(x_==="today"){var l0e=new Date;return n0e([l0e.getFullYear(),l0e.getMonth(),l0e.getDate()])}else{var c0e=n0e(x_);return c0e.isValid()?c0e:n0e(x_,$P)}}};function parseDuration(x_){var e0e=/^((?:\-|\+)?(?:\d*\.)?\d+)(minute|min|hour|day|week|month|quarter|year|weekday|second|millisecond)s?$/.exec(x_);if(e0e){var $P=hooks.duration(parseFloat(e0e[1]),e0e[2]);if(hooks.isDuration($P))return $P}}function normalizeDate$1(x_,e0e){if(!(!x_||x_==="0")){var $P=hooks(x_,e0e,!0);if($P.isValid())return $P;if(typeof x_=="string"||typeof x_=="number"){var t0e=["","YYYY-MM-DD HH:mm:ss","X"];for(/^\d{10}((\.\d+)*)$/.test(x_.toString())?t0e=["X","x","YYYY-MM-DD HH:mm:ss",""]:/^\d{13}((\.\d+)*)$/.test(x_.toString())&&(t0e=["x","X","YYYY-MM-DD HH:mm:ss",""]);t0e.length;){var r0e=t0e.shift(),n0e=hooks(x_,r0e);if(n0e.isValid())return n0e}}}}function conditionalFilter(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e,i0e,s0e;a0e===void 0&&(a0e=1),(e0e||t0e)&&skipRestTest($P.restFilters);var l0e=t0e?r0e:n0e,c0e=t0e?(o0e=$P.filter)===null||o0e===void 0?void 0:o0e.args[0+a0e]:(i0e=$P.filter)===null||i0e===void 0?void 0:i0e.args[1+a0e];return t0e||e0e?(s0e=getStrOrVariable(l0e,$P.data,c0e))!==null&&s0e!==void 0?s0e:l0e:x_}function getStrOrVariable(x_,e0e,$P){return $P!=null&&$P.type&&$P.type!=="literal"?x_:typeof x_=="string"&&/,/.test(x_)?x_.split(/\s*,\s*/).filter(function(t0e){return t0e}):typeof x_=="string"?resolveVariable(x_,e0e):x_}function str2array(x_){return x_&&typeof x_=="string"?/^\[.*\]$/.test(x_)?x_.substring(1,x_.length-1).split(/\s*,\s*/).filter(function(e0e){return e0e}):x_.split(/\s*,\s*/).filter(function(e0e){return e0e}):x_}function skipRestTest(x_){for(var e0e;~["isTrue","isFalse","isMatch","isEquals","notMatch","notEquals"].indexOf((e0e=x_[0])===null||e0e===void 0?void 0:e0e.name);)x_.shift()}extendsFilters({map:function(x_,e0e){for(var $P=this,t0e=[],r0e=2;r0ee0e?$P:""))},url_encode:function(x_){return x_==null?"":encodeURIComponent(x_)},url_decode:function(x_){var e0e,$P;try{$P=decodeURIComponent(x_)}catch(t0e){console.warn("[amis] ".concat((e0e=t0e==null?void 0:t0e.name)!==null&&e0e!==void 0?e0e:"URIError",": input string is not valid."))}return $P},default:function(x_,e0e,$P){var t0e;return $P===void 0&&($P=!1),(t0e=$P?x_:x_||void 0)!==null&&t0e!==void 0?t0e:function(){try{return e0e==="undefined"?void 0:JSON.parse(e0e)}catch{return e0e}}()},join:function(x_,e0e){return x_&&x_.join?x_.join(e0e):x_},split:function(x_,e0e){return e0e===void 0&&(e0e=","),typeof x_=="string"?x_.split(e0e):x_},sortBy:function(x_,e0e,$P,t0e){return e0e===void 0&&(e0e="&"),$P===void 0&&($P="alpha"),Array.isArray(x_)?x_.sort(makeSorter(e0e,$P,t0e)):x_},objectToArray:function(x_,e0e,$P){return e0e===void 0&&(e0e="label"),$P===void 0&&($P="value"),transform$1(x_,function(t0e,r0e,n0e){var a0e;(t0e||(t0e=[])).push((a0e={},a0e[e0e]=r0e,a0e[$P]=n0e,a0e))},[])},unique:function(x_,e0e){return Array.isArray(x_)?e0e?uniqBy$1(x_,e0e):uniq$1(x_):x_},topAndOther:function(x_,e0e,$P,t0e){if(e0e===void 0&&(e0e=10),$P===void 0&&($P="name"),t0e===void 0&&(t0e="其他"),Array.isArray(x_)&&e0e){var r0e=groupBy$1(x_,function(n0e){var a0e=x_.indexOf(n0e)+1;return a0e>=e0e?e0e:a0e});return Object.keys(r0e).map(function(n0e,a0e){var o0e=r0e[n0e],i0e=o0e.reduce(function(s0e,l0e){return Object.keys(l0e).forEach(function(c0e){!s0e.hasOwnProperty(c0e)||c0e==="labelField"?s0e[c0e]=l0e[c0e]:typeof l0e[c0e]=="number"&&typeof s0e[c0e]=="number"?s0e[c0e]+=l0e[c0e]:typeof l0e[c0e]=="string"&&/^(?:\-|\.)\d/.test(l0e[c0e])&&typeof s0e[c0e]=="number"?s0e[c0e]+=parseFloat(l0e[c0e])||0:typeof l0e[c0e]=="string"&&typeof s0e[c0e]=="string"?s0e[c0e]+=", ".concat(l0e[c0e]):s0e[c0e]=l0e[c0e]}),s0e},{});return a0e===e0e-1&&(i0e[$P]=t0e||"其他"),i0e})}return x_},first:function(x_){return x_&&x_[0]},nth:function(x_,e0e){return e0e===void 0&&(e0e=0),x_&&x_[e0e]},last:function(x_){return x_&&(x_.length?x_[x_.length-1]:null)},minus:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)-Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},plus:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)+Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},times:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)*Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},division:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)/Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},count:function(x_){return Array.isArray(x_)||typeof x_=="string"?x_.length:0},sum:function(x_,e0e){if(!Array.isArray(x_))return x_;var $P=x_.reduce(function(t0e,r0e){return t0e+(parseFloat(e0e?pickValues(e0e,r0e):r0e)||0)},0);return stripNumber($P)},abs:function(x_){return typeof x_=="number"?Math.abs(x_):x_},pick:function(x_,e0e){return e0e===void 0&&(e0e="&"),Array.isArray(x_)&&!/^\d+$/.test(e0e)?x_.map(function($P,t0e){return pickValues(e0e,createObject({index:t0e},$P))}):pickValues(e0e,x_)},pick_if_exist:function(x_,e0e){return e0e===void 0&&(e0e="&"),Array.isArray(x_)?x_.map(function($P){return resolveVariable(e0e,$P)||$P}):resolveVariable(e0e,x_)||x_},str2date:function(x_,e0e,$P){return e0e===void 0&&(e0e="X"),$P===void 0&&($P="X"),x_?filterDate(x_,this.data,e0e).format($P):""},asArray:function(x_){return Array.isArray(x_)?x_:x_&&[x_]},concat:function(x_){for(var e0e=this,$P=[],t0e=1;t0e2;return conditionalFilter(x_,t0e,this,!!x_,e0e,$P,0)},isFalse:function(x_,e0e,$P){var t0e=arguments.length>2;return conditionalFilter(x_,t0e,this,!x_,e0e,$P,0)},isMatch:function(x_,e0e,$P,t0e){var r0e,n0e,a0e=arguments.length>3;return e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e,conditionalFilter(x_,a0e,this,e0e&&string2regExp("".concat(e0e),!1).test(String(x_)),$P,t0e)},notMatch:function(x_,e0e,$P,t0e){var r0e,n0e,a0e=arguments.length>3;return e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e,conditionalFilter(x_,a0e,this,e0e&&!string2regExp("".concat(e0e),!1).test(String(x_)),$P,t0e)},isEquals:function(x_,e0e,$P,t0e){var r0e,n0e;e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e;var a0e=arguments.length>3;return conditionalFilter(x_,a0e,this,x_===e0e,$P,t0e)},notEquals:function(x_,e0e,$P,t0e){var r0e,n0e;e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e;var a0e=arguments.length>3;return conditionalFilter(x_,a0e,this,x_!==e0e,$P,t0e)}});function matchSynatax(x_){for(var e0e=0;;){var $P=x_.indexOf("$",e0e);if(~$P){var t0e=x_[$P+1];if(!t0e||~['"',"'"," "].indexOf(t0e)){e0e=$P+1;continue}var r0e=x_[$P-1];if(r0e&&r0e==="\\"){e0e=$P+1;continue}return!0}else break}return!1}function register$2(){var x_=this;return{name:"builtin",test:function(e0e){return typeof e0e=="string"&&matchSynatax(e0e)},removeEscapeToken:function(e0e){return typeof e0e=="string"?e0e.replace(/\\\$/g,"$"):e0e},compile:function(e0e,$P,t0e){t0e===void 0&&(t0e="| html");try{return tokenize(e0e,$P,t0e)}catch(r0e){return"error: ".concat(r0e.message)}},asyncCompile:function(e0e,$P,t0e){return t0e===void 0&&(t0e="| html"),__awaiter(x_,void 0,void 0,function(){return __generator(this,function(r0e){try{return[2,resolveVariableAndFilterForAsync(e0e,$P,t0e)]}catch(n0e){return[2,"error: ".concat(n0e.message)]}return[2]})})}}}var copyObject$7=_copyObject,createAssigner$3=_createAssigner,keysIn$4=keysIn_1,assignInWith$1=createAssigner$3(function(x_,e0e,$P,t0e){copyObject$7(e0e,keysIn$4(e0e),x_,t0e)}),assignInWith_1=assignInWith$1,baseGetTag=_baseGetTag,isObjectLike$3=isObjectLike_1,isPlainObject$2=isPlainObject_1,domExcTag="[object DOMException]",errorTag$1="[object Error]";function isError$2(x_){if(!isObjectLike$3(x_))return!1;var e0e=baseGetTag(x_);return e0e==errorTag$1||e0e==domExcTag||typeof x_.message=="string"&&typeof x_.name=="string"&&!isPlainObject$2(x_)}var isError_1=isError$2,apply=_apply,baseRest$8=_baseRest,isError$1=isError_1,attempt$1=baseRest$8(function(x_,e0e){try{return apply(x_,void 0,e0e)}catch($P){return isError$1($P)?$P:new Error($P)}}),attempt_1=attempt$1,arrayMap$a=_arrayMap;function baseValues$2(x_,e0e){return arrayMap$a(e0e,function($P){return x_[$P]})}var _baseValues=baseValues$2,eq$1=eq_1,objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function customDefaultsAssignIn$1(x_,e0e,$P,t0e){return x_===void 0||eq$1(x_,objectProto$5[$P])&&!hasOwnProperty$6.call(t0e,$P)?e0e:x_}var _customDefaultsAssignIn=customDefaultsAssignIn$1,stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar$1(x_){return"\\"+stringEscapes[x_]}var _escapeStringChar=escapeStringChar$1,reInterpolate$2=/<%=([\s\S]+?)%>/g,_reInterpolate=reInterpolate$2,reEscape$1=/<%-([\s\S]+?)%>/g,_reEscape=reEscape$1,reEvaluate$1=/<%([\s\S]+?)%>/g,_reEvaluate=reEvaluate$1,escape$1=_escape,reEscape=_reEscape,reEvaluate=_reEvaluate,reInterpolate$1=_reInterpolate,templateSettings$1={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate$1,variable:"",imports:{_:{escape:escape$1}}},templateSettings_1=templateSettings$1,assignInWith=assignInWith_1,attempt=attempt_1,baseValues$1=_baseValues,customDefaultsAssignIn=_customDefaultsAssignIn,escapeStringChar=_escapeStringChar,isError=isError_1,isIterateeCall$3=_isIterateeCall,keys$6=keys_1,reInterpolate=_reInterpolate,templateSettings=templateSettings_1,toString$4=toString_1,INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$4=Object.prototype,hasOwnProperty$5=objectProto$4.hasOwnProperty;function template(x_,e0e,$P){var t0e=templateSettings.imports._.templateSettings||templateSettings;$P&&isIterateeCall$3(x_,e0e,$P)&&(e0e=void 0),x_=toString$4(x_),e0e=assignInWith({},e0e,t0e,customDefaultsAssignIn);var r0e=assignInWith({},e0e.imports,t0e.imports,customDefaultsAssignIn),n0e=keys$6(r0e),a0e=baseValues$1(r0e,n0e),o0e,i0e,s0e=0,l0e=e0e.interpolate||reNoMatch,c0e="__p += '",u0e=RegExp((e0e.escape||reNoMatch).source+"|"+l0e.source+"|"+(l0e===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(e0e.evaluate||reNoMatch).source+"|$","g"),d0e=hasOwnProperty$5.call(e0e,"sourceURL")?"//# sourceURL="+(e0e.sourceURL+"").replace(/\s/g," ")+` +`)r0e++,$P++,t0e=1;else if(A0e===" "||A0e===" ")r0e++,t0e++;else break}}function g0e(){var A0e=punctuatorList.find(function($0e){return x_.substring(r0e,r0e+$0e.length)===$0e});return A0e?{type:TokenName[10],value:A0e,start:u0e(),end:u0e(A0e)}:null}function y0e(){var A0e=x_.substring(r0e).match(/^\w{4,10}/);if(!A0e)return null;var $0e=A0e[0].toLowerCase(),S0e=$0e,C0e=!1;return $0e==="true"||$0e==="null"?(C0e=!0,S0e=$0e==="true"?!0:null):$0e==="false"?(C0e=!0,S0e=!1):$0e==="undefined"&&(C0e=!0,S0e=void 0),C0e?{type:S0e===!0||S0e===!1?TokenName[1]:TokenName[8],value:S0e,raw:$0e,start:u0e(),end:u0e($0e)}:null}function M0e(){var A0e=r0e,$0e=A0e,S0e=numberStates.START;e:for(;A0e0){var E0e=x_.slice(r0e,$0e);return{type:TokenName[9],value:formatNumber(E0e),raw:E0e,start:u0e(),end:u0e(E0e)}}return null}function O0e(){for(var A0e='"',$0e=stringStates.START,S0e=r0e;S0er0e){var w0e=x_.substring(r0e,S0e);return{type:TokenName[11],value:escapeString(w0e.substring(1,w0e.length-1),[A0e]),raw:w0e,start:u0e(),end:u0e(w0e)}}return null}function z0e(){var A0e=e0e!=null&&e0e.variableMode?/^[\u4e00-\u9fa5A-Za-z0-9_$@][\u4e00-\u9fa5A-Za-z0-9_\-$@]*/:/^(?:[\u4e00-\u9fa5A-Za-z_$@]([\u4e00-\u9fa5A-Za-z0-9_$@]|\\(?:\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,))*|\d+[\u4e00-\u9fa5A-Za-z_$@](?:[\u4e00-\u9fa5A-Za-z0-9_$@]|\\(?:\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,))*)/,$0e=A0e.exec(x_.substring(r0e,r0e+256));return $0e?{type:TokenName[7],value:$0e[0].replace(/\\(\.|\[|\]|\(|\)|\{|\}|\s|=|!|>|<|\||&|\+|-|\*|\/|\^|~|%|&|\?|:|;|,)/g,function(S0e,C0e){return C0e}),start:u0e(),end:u0e($0e[0])}:null}function _0e(){return o0e.length?o0e.shift():((n0e===mainStates.SCRIPT||n0e===mainStates.EXPRESSION||n0e===mainStates.BLOCK)&&v0e(),d0e()||p0e()||f0e()||h0e()||m0e())}return{next:function(){var A0e=_0e();if(A0e)return r0e=A0e.end.index,$P=A0e.end.line,t0e=A0e.end.column,A0e;var $0e=u0e();throw new SyntaxError('unexpected character "'.concat(x_[r0e],'" at ').concat($0e.line,":").concat($0e.column))}}}var argListStates={START:0,COMMA:1,SET:2},tempalteStates={START:0,SCRIPTING:1},objectStates={START:0,KEY:1,COLON:2,VALUE:3,COMMA:4};function parse$1(x_,e0e){var $P,t0e,r0e=lexer(x_,e0e),n0e=[],a0e=[],o0e=($P=e0e==null?void 0:e0e.variableNamespaces)!==null&&$P!==void 0?$P:["window","cookie","ls","ss"];Array.isArray(o0e)||(o0e=[]);function i0e(){if(t0e=a0e.length?a0e.shift():r0e.next(),!t0e)throw new TypeError("next token is undefined");n0e.push(t0e)}function s0e(){a0e.unshift(n0e.pop()),t0e=n0e[n0e.length-1]}function l0e(t1e){return t0e.type===TokenName[10]&&(Array.isArray(t1e)?~t1e.indexOf(t0e.value):t0e.value===t1e)}function c0e(){throw TypeError("Unexpected token ".concat(t0e.value," in ").concat(t0e.start.line,":").concat(t0e.start.column))}function u0e(t1e){return t1e||c0e(),t1e}function d0e(){return G0e()}function p0e(){for(;t0e.type===TokenName[17]&&/^\s+$/m.test(t0e.value);)i0e()}function f0e(){for(var t1e=[];!l0e(":")&&t0e.type!==TokenName[16]&&t0e.type!==TokenName[5];){var r1e=I0e()||q0e()||k0e()||N0e()||V0e()||X0e()||Y0e();r1e?t1e.push(r1e):(u0e(~[TokenName[7],TokenName[10],TokenName[17]].indexOf(t0e.type)),t1e.length&&typeof t1e[t1e.length-1]=="string"?t1e[t1e.length-1]+=t0e.raw||t0e.value:t1e.push(t0e.raw||t0e.value),i0e())}return t1e.length&&typeof t1e[t1e.length-1]=="string"&&(t1e[t1e.length-1]=t1e[t1e.length-1].replace(/\s+$/,""),t1e[t1e.length-1]||t1e.pop()),t1e}function h0e(){for(var t1e=d0e(),r1e=[];t0e.type===TokenName[16];){i0e(),p0e();var a1e=u0e(j0e()),l1e=a1e.name,s1e=[];for(p0e();l0e(":");){i0e(),p0e();var g1e=f0e();g1e.length===1?g1e=g1e[0]:g1e.length||(g1e=""),s1e.push(Array.isArray(g1e)?{type:"mixed",body:g1e}:g1e)}r1e.push({name:l1e,args:s1e})}return r1e.length&&(t1e={type:"filter",input:t1e,filters:r1e,start:t1e.start,end:r1e[r1e.length-1].end}),t1e}function b0e(){var t1e=Q0e()||Z0e(),r1e=[],a1e;if((t1e==null?void 0:t1e.type)==="variable"?(r1e=[t1e],a1e=t1e.start):(t1e==null?void 0:t1e.type)==="arg-list"&&(a1e=t1e.start,r1e=t1e.body),Array.isArray(r1e)&&l0e("="))if(i0e(),l0e(">")){i0e();var l1e=u0e(d0e());return{type:"anonymous_function",args:r1e,return:l1e,start:a1e,end:l1e.end}}else s0e();return t1e}function m0e(){var t1e=g0e();if(!t1e)return null;if(l0e("?")){i0e();var r1e=G0e();u0e(r1e),u0e(l0e(":")),i0e();var a1e=G0e();return u0e(a1e),{type:"conditional",test:t1e,consequent:r1e,alternate:a1e,start:t1e.start,end:a1e.end}}return t1e}function v0e(t1e,r1e,a1e,l1e,s1e,g1e){var $1e;l1e===void 0&&(l1e=a1e),s1e===void 0&&(s1e="left"),g1e===void 0&&(g1e="right");var _1e=a1e();if(!_1e)return null;if(l0e(r1e))for(;l0e(r1e);){i0e();var p1e=u0e(l1e());_1e=($1e={type:t1e,op:r1e},$1e[s1e]=_1e,$1e[g1e]=p1e,$1e.start=_1e.start,$1e.end=p1e.end,$1e)}return _1e}function g0e(){return v0e("or","||",y0e)}function y0e(){return v0e("and","&&",M0e)}function M0e(){return v0e("binary","|",O0e)}function O0e(){return v0e("binary","^",z0e)}function z0e(){return v0e("binary","&",_0e)}function _0e(){return v0e("eq","==",function(){return v0e("ne","!=",function(){return v0e("streq","===",function(){return v0e("strneq","!==",A0e)})})})}function A0e(){return v0e("lt","<",function(){return v0e("gt",">",function(){return v0e("le","<=",function(){return v0e("ge",">=",$0e)})})})}function $0e(){return v0e("shift","<<",function(){return v0e("shift",">>",function(){return v0e("shift",">>>",S0e)})})}function S0e(){return v0e("add","+",function(){return v0e("minus","-",C0e)})}function C0e(){return v0e("multiply","*",function(){return v0e("divide","/",function(){return v0e("remainder","%",E0e)})})}function E0e(){return v0e("power","**",w0e)}function w0e(){for(var t1e=["+","-","~","!"],r1e=[];l0e(t1e);)r1e.push(t0e),i0e();var a1e=R0e();for(u0e(!r1e.length||a1e);r1e.length;){var l1e=r1e.pop();a1e={type:"unary",op:l1e.value,value:a1e,start:l1e.start,end:l1e.end}}return a1e}function R0e(t1e){t1e===void 0&&(t1e=T0e);var r1e=t1e();if(!r1e)return null;for(;l0e("[")||l0e(".");){var a1e=l0e(".");i0e();var l1e=u0e(a1e?j0e()||q0e()||X0e():d0e());a1e||(u0e(l0e("]")),i0e()),r1e={type:"getter",host:r1e,key:l1e,start:r1e.start,end:l1e.end}}return r1e}function T0e(){return F0e()||b0e()||P0e()}function D0e(t1e,r1e){return t1e===void 0&&(t1e=!1),r1e===void 0&&(r1e=!1),(t1e?Z0e():j0e())||k0e()||q0e()||(r1e?W0e():N0e())}function W0e(){if(l0e("[")){i0e();var t1e=u0e(N0e());return u0e(l0e("]")),i0e(),t1e}return null}function k0e(){if(t0e.type===TokenName[11]){var t1e=t0e;return i0e(),{type:"string",value:t1e.value,start:t1e.start,end:t1e.end}}return null}function q0e(){if(t0e.type===TokenName[9]){var t1e=t0e.value,r1e=t0e;return i0e(),{type:"literal",value:t1e,start:r1e.start,end:r1e.end}}return null}function N0e(){if(l0e("`")){var t1e=t0e,r1e=t1e;i0e();for(var a1e=tempalteStates.START,l1e={type:"template",body:[],start:t1e.start,end:t1e.end};;)if(a1e===tempalteStates.SCRIPTING){var s1e=u0e(d0e());l1e.body.push(s1e),u0e(t0e.type===TokenName[15]),i0e(),a1e=tempalteStates.START}else if(l0e("`")){r1e=t0e,i0e();break}else t0e.type===TokenName[14]?(i0e(),a1e=tempalteStates.SCRIPTING):t0e.type===TokenName[13]?(l1e.body.push({type:"template_raw",value:t0e.value,start:t0e.start,end:t0e.end}),i0e()):c0e();return l1e.end=r1e.end,l1e}return null}function j0e(){if(t0e.type===TokenName[7]){var t1e=t0e;return i0e(),{type:"identifier",name:t1e.value,start:t1e.start,end:t1e.end}}return null}function P0e(){return Z0e()||I0e()||q0e()||k0e()||N0e()||V0e()||Y0e()||function(){var t1e=H0e();return(t1e==null?void 0:t1e.body.length)===1?t1e.body[0]:t1e}()||X0e()}function I0e(){if(t0e.type===TokenName[8]||t0e.type===TokenName[1]){var t1e=t0e.value,r1e=t0e;return i0e(),{type:"literal",value:t1e,start:r1e.start,end:r1e.end}}return null}function F0e(){if(t0e.type===TokenName[7]){var t1e=t0e;if(i0e(),l0e("(")){var r1e=H0e();return u0e(r1e),{type:"func_call",identifier:t1e.value,args:r1e==null?void 0:r1e.body,start:t1e.start,end:r1e.end}}else s0e()}return null}function V0e(){if(l0e("[")){var t1e=H0e("[","]");return u0e(t1e),{type:"array",members:t1e==null?void 0:t1e.body,start:t1e.start,end:t1e.end}}return null}function H0e(t1e,r1e){if(t1e===void 0&&(t1e="("),r1e===void 0&&(r1e=")"),l0e(t1e)){var a1e=t0e,l1e=void 0;i0e();for(var s1e=[],g1e=argListStates.START;;)if(g1e===argListStates.COMMA||!l0e(r1e)){var $1e=u0e(d0e());s1e.push($1e),g1e=argListStates.START,l0e(",")&&(i0e(),g1e=argListStates.COMMA)}else if(l0e(r1e)){l1e=t0e,i0e();break}return{type:"expression-list",body:s1e,start:a1e.start,end:l1e.end}}return null}function Q0e(t1e,r1e){t1e===void 0&&(t1e="("),r1e===void 0&&(r1e=")");var a1e=0,l1e=function(){for(;a1e-- >0;)s0e();return null};if(l0e(t1e)){var s1e=t0e,g1e=s1e;i0e(),a1e++;for(var $1e=[],_1e=argListStates.START;!l0e(r1e);)if(_1e===argListStates.COMMA||_1e===argListStates.START){var p1e=Z0e(!1);if(!p1e)return l1e();a1e++,$1e.push(p1e),_1e=argListStates.SET}else if(_1e===argListStates.SET&&l0e(","))i0e(),a1e++,_1e=argListStates.COMMA;else return l1e();return l0e(r1e)?(g1e=t0e,i0e(),{type:"arg-list",body:$1e,start:s1e.start,end:g1e.end}):l1e()}return null}function Y0e(){if(l0e("{")){var t1e=t0e,r1e=t1e;i0e();for(var a1e={type:"object",members:[],start:t1e.start,end:t1e.end},l1e=objectStates.START,s1e=void 0,g1e=void 0;;)if(l1e===objectStates.KEY)u0e(l0e(":")),i0e(),l1e=objectStates.COLON;else if(l1e===objectStates.COLON)g1e=u0e(d0e()),a1e.members.push({key:s1e,value:g1e}),l1e=objectStates.VALUE;else if(l1e===objectStates.VALUE)if(l0e(","))i0e(),l1e=objectStates.COMMA;else if(l0e("}")){r1e=t0e,i0e();break}else c0e();else{if(l1e!=objectStates.COMMA&&l0e("}")){r1e=t0e,i0e();break}s1e=u0e(D0e(!1,!0)),l1e=objectStates.KEY}return a1e.end=r1e.end,a1e}return null}function G0e(){return m0e()}function B0e(){for(var t1e={type:"document",body:[],start:t0e.start,end:t0e.end};t0e.type!==TokenName[6];){var r1e=U0e()||X0e()||e1e();if(!r1e)break;t1e.body.push(r1e)}return t1e.body.length&&(t1e.end=t1e.body[t1e.body.length-1].end),t1e}function U0e(){if(t0e.type!==TokenName[2])return null;var t1e=t0e;return i0e(),{type:"raw",value:t1e.value,start:t1e.start,end:t1e.end}}function X0e(){if(t0e.type!==TokenName[4])return null;var t1e=t0e,r1e=t1e;i0e();var a1e=u0e(h0e());return u0e(t0e.type===TokenName[5]),r1e=t0e,i0e(),{type:"script",body:a1e,start:t1e.start,end:r1e.end}}function Z0e(t1e){if(t1e===void 0&&(t1e=!0),t0e.type===TokenName[7]){var r1e=t0e;if(i0e(),t1e&&l0e(":")&&~o0e.indexOf(r1e.value)){i0e();var a1e=u0e(R0e());return{type:"ns-variable",namespace:r1e.value,body:a1e,start:r1e.start,end:a1e.end}}return{type:"variable",name:r1e.value,start:r1e.start,end:r1e.end}}else if(l0e("&")){var l1e=t0e;return i0e(),{type:"variable",name:"&",start:l1e.start,end:l1e.end}}return null}function e1e(){if(t0e.type!==TokenName[3])return null;var t1e=t0e;return i0e(),{type:"script",body:t1e.value.split(".").reduce(function(r1e,a1e){return r1e?{type:"getter",host:r1e,key:a1e,start:t1e.start,end:t1e.end}:{type:"variable",name:a1e,start:t1e.start,end:t1e.end}},null),start:t1e.start,end:t1e.end}}i0e();var n1e=e0e!=null&&e0e.variableMode?R0e(Z0e):e0e!=null&&e0e.evalMode?d0e():B0e();return u0e((t0e==null?void 0:t0e.type)===TokenName[6]),n1e}var functions={};function registerFunction(x_,e0e){functions["fn".concat(x_)]=e0e,Evaluator.setDefaultFunctions(functions)}var functionDocs={};function evaluate(x_,e0e,$P){var t0e=x_;return typeof x_=="string"&&(t0e=parse$1(x_,$P)),new Evaluator(e0e,$P).evalute(t0e)}Evaluator.setDefaultFilters(getFilters());AsyncEvaluator.setDefaultFilters(getFilters());var tokenize=function(x_,e0e,$P){if($P===void 0&&($P="| html"),!x_||typeof x_!="string")return x_;try{var t0e=parse$1(x_,{evalMode:!1,allowFilter:!0}),r0e=new Evaluator(e0e,{defaultFilter:$P}).evalute(t0e);return"".concat(r0e??"")}catch(n0e){return console.warn(n0e),x_}},cache$2={};function memoryParse(x_,e0e){if(e0e===void 0&&(e0e={evalMode:!1}),typeof x_=="string"){var $P=x_+JSON.stringify(e0e);if(cache$2[$P])return cache$2[$P];var t0e=parse$1(x_,e0e);return cache$2[$P]=t0e,t0e}}var resolveVariableAndFilterForAsync=function(x_,e0e,$P,t0e,r0e){return e0e===void 0&&(e0e={}),$P===void 0&&($P="| html"),t0e===void 0&&(t0e=function(n0e){return n0e}),r0e===void 0&&(r0e=!1),__awaiter(void 0,void 0,void 0,function(){var n0e,a0e,o0e;return __generator(this,function(i0e){switch(i0e.label){case 0:if(!x_||typeof x_!="string")return[2,void 0];i0e.label=1;case 1:return i0e.trys.push([1,3,,4]),n0e=memoryParse(x_,{evalMode:!1,allowFilter:!0}),[4,new AsyncEvaluator(e0e,{defaultFilter:$P}).evalute(n0e)];case 2:return a0e=i0e.sent(),[2,a0e==null&&!~x_.indexOf("default")&&!~x_.indexOf("now")?t0e(a0e):a0e];case 3:if(o0e=i0e.sent(),o0e.name==="FormulaEvalError"){if(!r0e)return[2,void 0];throw o0e}return console.warn(o0e),[2,void 0];case 4:return[2]}})})},keyToPath=function(x_){x_===void 0&&(x_="");var e0e=[];return x_.charCodeAt(0)===".".charCodeAt(0)&&e0e.push(""),x_.replace(new RegExp(`[^.[\\]]+|\\[(?:([^"'][^[]*)|(["'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))`,"g"),function($P,t0e,r0e,n0e){var a0e=$P;return r0e?a0e=n0e.replace(/\\(\\)?/g,"$1"):t0e&&(a0e=t0e.trim()),e0e.push(a0e),""}),e0e};function getVariable(x_,e0e,$P){if($P===void 0&&($P=!0),!(!x_||!e0e||typeof x_!="object"))return($P?e0e in x_:x_.hasOwnProperty(e0e))?x_[e0e]:keyToPath(e0e).reduce(function(t0e,r0e){return t0e&&typeof t0e=="object"&&($P?r0e in t0e:t0e.hasOwnProperty(r0e))?t0e[r0e]:void 0},x_)}function resolveVariable(x_,e0e,$P){if(e0e===void 0&&(e0e={}),x_==="&"||x_=="$$")return e0e;if(!x_||typeof x_!="string")return;if(!~x_.indexOf(":"))return getVariable(e0e,x_[0]==="$"?x_.substring(1):x_,$P);try{return new Evaluator(e0e).evalute(memoryParse(x_,{variableMode:!0,allowFilter:!1}))}catch{return}}function makeSorter(x_,e0e,$P){return function(t0e,r0e){if(!t0e||!r0e)return 0;var n0e=resolveVariable(x_,t0e),a0e=resolveVariable(x_,r0e),o0e=0;return e0e==="numerical"?o0e=(parseFloat(n0e)||0)-(parseFloat(a0e)||0):o0e=String(n0e).localeCompare(String(a0e)),o0e*($P==="desc"?-1:1)}}function arrayEach$3(x_,e0e){for(var $P=-1,t0e=x_==null?0:x_.length;++$P":">",'"':""","'":"'","/":"/"},escapeHtml=function(x_){return String(x_).replace(/[&<>"'\/]/g,function(e0e){return entityMap[e0e]})};function formatDuration(x_){for(var e0e=["秒","分","时","天","月","季","年"],$P=[1,60,3600,86400,2592e3,7776e3,31104e3],t0e=$P.length,r0e=[];t0e--;)$P[t0e]&&x_>=$P[t0e]?(r0e.push(Math.floor(x_/$P[t0e])+e0e[t0e]),x_%=$P[t0e]):t0e===0&&x_&&r0e.push((x_.toFixed?x_.toFixed(2):"0")+e0e[0]);return r0e.join("")}var UNITS=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],prettyBytes=function(x_,e0e){if(e0e===void 0&&(e0e=1e3),x_&&typeof x_=="string"){if(x_.endsWith("B"))return x_;x_=parseFloat(x_)}if(!Number.isFinite(x_))throw new TypeError("Expected a finite number, got ".concat(typeof x_,": ").concat(x_));var $P=x_<0;if($P&&(x_=-x_),x_<1)return($P?"-":"")+x_+" B";var t0e=Math.min(Math.floor(Math.log(x_)/Math.log(e0e)),UNITS.length-1),r0e=Number((x_/Math.pow(e0e,t0e)).toPrecision(3)),n0e=UNITS[t0e];return($P?"-":"")+r0e+" "+n0e};function stripNumber(x_){return typeof x_=="number"&&!Number.isInteger(x_)?parseFloat(x_.toPrecision(16)):x_}var timeUnitMap={year:"Y",month:"M",week:"w",weekday:"W",day:"d",hour:"h",minute:"m",min:"m",second:"s",millisecond:"ms"},relativeValueRe=/^(.+)?(\+|-)(\d+)(minute|min|hour|day|week|month|year|weekday|second|millisecond)s?$/i,filterDate=function(x_,e0e,$P,t0e){e0e===void 0&&(e0e={}),$P===void 0&&($P="X"),t0e===void 0&&(t0e=!1);var r0e,n0e=t0e?hooks.utc:hooks;typeof x_=="string"&&(x_=x_.trim());var a0e=new Date;if(x_=tokenize(x_,createObject(e0e,{now:n0e().toDate(),today:n0e([a0e.getFullYear(),a0e.getMonth(),a0e.getDate()])}),"| raw"),x_&&typeof x_=="string"&&(r0e=relativeValueRe.exec(x_))){var o0e=new Date,i0e=parseInt(r0e[3],10),s0e=r0e[1]?filterDate(r0e[1],e0e,$P,t0e):n0e(/(minute|min|hour|second)s?/.test(r0e[4])?[o0e.getFullYear(),o0e.getMonth(),o0e.getDate(),o0e.getHours(),o0e.getMinutes(),o0e.getSeconds()]:[o0e.getFullYear(),o0e.getMonth(),o0e.getDate()]);return r0e[2]==="-"?s0e.subtract(i0e,timeUnitMap[r0e[4]]):s0e.add(i0e,timeUnitMap[r0e[4]])}else{if(x_==="now")return n0e();if(x_==="today"){var l0e=new Date;return n0e([l0e.getFullYear(),l0e.getMonth(),l0e.getDate()])}else{var c0e=n0e(x_);return c0e.isValid()?c0e:n0e(x_,$P)}}};function parseDuration(x_){var e0e=/^((?:\-|\+)?(?:\d*\.)?\d+)(minute|min|hour|day|week|month|quarter|year|weekday|second|millisecond)s?$/.exec(x_);if(e0e){var $P=hooks.duration(parseFloat(e0e[1]),e0e[2]);if(hooks.isDuration($P))return $P}}function normalizeDate$1(x_,e0e){if(!(!x_||x_==="0")){var $P=hooks(x_,e0e,!0);if($P.isValid())return $P;if(typeof x_=="string"||typeof x_=="number"){var t0e=["","YYYY-MM-DD HH:mm:ss","X"];for(/^\d{10}((\.\d+)*)$/.test(x_.toString())?t0e=["X","x","YYYY-MM-DD HH:mm:ss",""]:/^\d{13}((\.\d+)*)$/.test(x_.toString())&&(t0e=["x","X","YYYY-MM-DD HH:mm:ss",""]);t0e.length;){var r0e=t0e.shift(),n0e=hooks(x_,r0e);if(n0e.isValid())return n0e}}}}function conditionalFilter(x_,e0e,$P,t0e,r0e,n0e,a0e){var o0e,i0e,s0e;a0e===void 0&&(a0e=1),(e0e||t0e)&&skipRestTest($P.restFilters);var l0e=t0e?r0e:n0e,c0e=t0e?(o0e=$P.filter)===null||o0e===void 0?void 0:o0e.args[0+a0e]:(i0e=$P.filter)===null||i0e===void 0?void 0:i0e.args[1+a0e];return t0e||e0e?(s0e=getStrOrVariable(l0e,$P.data,c0e))!==null&&s0e!==void 0?s0e:l0e:x_}function getStrOrVariable(x_,e0e,$P){return $P!=null&&$P.type&&$P.type!=="literal"?x_:typeof x_=="string"&&/,/.test(x_)?x_.split(/\s*,\s*/).filter(function(t0e){return t0e}):typeof x_=="string"?resolveVariable(x_,e0e):x_}function str2array(x_){return x_&&typeof x_=="string"?/^\[.*\]$/.test(x_)?x_.substring(1,x_.length-1).split(/\s*,\s*/).filter(function(e0e){return e0e}):x_.split(/\s*,\s*/).filter(function(e0e){return e0e}):x_}function skipRestTest(x_){for(var e0e;~["isTrue","isFalse","isMatch","isEquals","notMatch","notEquals"].indexOf((e0e=x_[0])===null||e0e===void 0?void 0:e0e.name);)x_.shift()}extendsFilters({map:function(x_,e0e){for(var $P=this,t0e=[],r0e=2;r0ee0e?$P:""))},url_encode:function(x_){return x_==null?"":encodeURIComponent(x_)},url_decode:function(x_){var e0e,$P;try{$P=decodeURIComponent(x_)}catch(t0e){console.warn("[amis] ".concat((e0e=t0e==null?void 0:t0e.name)!==null&&e0e!==void 0?e0e:"URIError",": input string is not valid."))}return $P},default:function(x_,e0e,$P){var t0e;return $P===void 0&&($P=!1),(t0e=$P?x_:x_||void 0)!==null&&t0e!==void 0?t0e:function(){try{return e0e==="undefined"?void 0:JSON.parse(e0e)}catch{return e0e}}()},join:function(x_,e0e){return x_&&x_.join?x_.join(e0e):x_},split:function(x_,e0e){return e0e===void 0&&(e0e=","),typeof x_=="string"?x_.split(e0e):x_},sortBy:function(x_,e0e,$P,t0e){return e0e===void 0&&(e0e="&"),$P===void 0&&($P="alpha"),Array.isArray(x_)?x_.sort(makeSorter(e0e,$P,t0e)):x_},objectToArray:function(x_,e0e,$P){return e0e===void 0&&(e0e="label"),$P===void 0&&($P="value"),transform$1(x_,function(t0e,r0e,n0e){var a0e;(t0e||(t0e=[])).push((a0e={},a0e[e0e]=r0e,a0e[$P]=n0e,a0e))},[])},unique:function(x_,e0e){return Array.isArray(x_)?e0e?uniqBy$1(x_,e0e):uniq$1(x_):x_},topAndOther:function(x_,e0e,$P,t0e){if(e0e===void 0&&(e0e=10),$P===void 0&&($P="name"),t0e===void 0&&(t0e="其他"),Array.isArray(x_)&&e0e){var r0e=groupBy$1(x_,function(n0e){var a0e=x_.indexOf(n0e)+1;return a0e>=e0e?e0e:a0e});return Object.keys(r0e).map(function(n0e,a0e){var o0e=r0e[n0e],i0e=o0e.reduce(function(s0e,l0e){return Object.keys(l0e).forEach(function(c0e){!s0e.hasOwnProperty(c0e)||c0e==="labelField"?s0e[c0e]=l0e[c0e]:typeof l0e[c0e]=="number"&&typeof s0e[c0e]=="number"?s0e[c0e]+=l0e[c0e]:typeof l0e[c0e]=="string"&&/^(?:\-|\.)\d/.test(l0e[c0e])&&typeof s0e[c0e]=="number"?s0e[c0e]+=parseFloat(l0e[c0e])||0:typeof l0e[c0e]=="string"&&typeof s0e[c0e]=="string"?s0e[c0e]+=", ".concat(l0e[c0e]):s0e[c0e]=l0e[c0e]}),s0e},{});return a0e===e0e-1&&(i0e[$P]=t0e||"其他"),i0e})}return x_},first:function(x_){return x_&&x_[0]},nth:function(x_,e0e){return e0e===void 0&&(e0e=0),x_&&x_[e0e]},last:function(x_){return x_&&(x_.length?x_[x_.length-1]:null)},minus:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)-Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},plus:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)+Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},times:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)*Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},division:function(x_,e0e){var $P;return e0e===void 0&&(e0e=1),stripNumber((Number(x_)||0)/Number(getStrOrVariable(e0e,this.data,($P=this.filter)===null||$P===void 0?void 0:$P.args[0])))},count:function(x_){return Array.isArray(x_)||typeof x_=="string"?x_.length:0},sum:function(x_,e0e){if(!Array.isArray(x_))return x_;var $P=x_.reduce(function(t0e,r0e){return t0e+(parseFloat(e0e?pickValues(e0e,r0e):r0e)||0)},0);return stripNumber($P)},abs:function(x_){return typeof x_=="number"?Math.abs(x_):x_},pick:function(x_,e0e){return e0e===void 0&&(e0e="&"),Array.isArray(x_)&&!/^\d+$/.test(e0e)?x_.map(function($P,t0e){return pickValues(e0e,createObject({index:t0e},$P))}):pickValues(e0e,x_)},pick_if_exist:function(x_,e0e){return e0e===void 0&&(e0e="&"),Array.isArray(x_)?x_.map(function($P){return resolveVariable(e0e,$P)||$P}):resolveVariable(e0e,x_)||x_},str2date:function(x_,e0e,$P){return e0e===void 0&&(e0e="X"),$P===void 0&&($P="X"),x_?filterDate(x_,this.data,e0e).format($P):""},asArray:function(x_){return Array.isArray(x_)?x_:x_&&[x_]},concat:function(x_){for(var e0e=this,$P=[],t0e=1;t0e2;return conditionalFilter(x_,t0e,this,!!x_,e0e,$P,0)},isFalse:function(x_,e0e,$P){var t0e=arguments.length>2;return conditionalFilter(x_,t0e,this,!x_,e0e,$P,0)},isMatch:function(x_,e0e,$P,t0e){var r0e,n0e,a0e=arguments.length>3;return e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e,conditionalFilter(x_,a0e,this,e0e&&string2regExp("".concat(e0e),!1).test(String(x_)),$P,t0e)},notMatch:function(x_,e0e,$P,t0e){var r0e,n0e,a0e=arguments.length>3;return e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e,conditionalFilter(x_,a0e,this,e0e&&!string2regExp("".concat(e0e),!1).test(String(x_)),$P,t0e)},isEquals:function(x_,e0e,$P,t0e){var r0e,n0e;e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e;var a0e=arguments.length>3;return conditionalFilter(x_,a0e,this,x_===e0e,$P,t0e)},notEquals:function(x_,e0e,$P,t0e){var r0e,n0e;e0e=(n0e=getStrOrVariable(e0e,this.data,(r0e=this.filter)===null||r0e===void 0?void 0:r0e.args[0]))!==null&&n0e!==void 0?n0e:e0e;var a0e=arguments.length>3;return conditionalFilter(x_,a0e,this,x_!==e0e,$P,t0e)}});function matchSynatax(x_){for(var e0e=0;;){var $P=x_.indexOf("$",e0e);if(~$P){var t0e=x_[$P+1];if(!t0e||~['"',"'"," "].indexOf(t0e)){e0e=$P+1;continue}var r0e=x_[$P-1];if(r0e&&r0e==="\\"){e0e=$P+1;continue}return!0}else break}return!1}function register$2(){var x_=this;return{name:"builtin",test:function(e0e){return typeof e0e=="string"&&matchSynatax(e0e)},removeEscapeToken:function(e0e){return typeof e0e=="string"?e0e.replace(/\\\$/g,"$"):e0e},compile:function(e0e,$P,t0e){t0e===void 0&&(t0e="| html");try{return tokenize(e0e,$P,t0e)}catch(r0e){return"error: ".concat(r0e.message)}},asyncCompile:function(e0e,$P,t0e){return t0e===void 0&&(t0e="| html"),__awaiter(x_,void 0,void 0,function(){return __generator(this,function(r0e){try{return[2,resolveVariableAndFilterForAsync(e0e,$P,t0e)]}catch(n0e){return[2,"error: ".concat(n0e.message)]}return[2]})})}}}var copyObject$7=_copyObject,createAssigner$3=_createAssigner,keysIn$4=keysIn_1,assignInWith$1=createAssigner$3(function(x_,e0e,$P,t0e){copyObject$7(e0e,keysIn$4(e0e),x_,t0e)}),assignInWith_1=assignInWith$1,baseGetTag=_baseGetTag,isObjectLike$3=isObjectLike_1,isPlainObject$2=isPlainObject_1,domExcTag="[object DOMException]",errorTag$1="[object Error]";function isError$2(x_){if(!isObjectLike$3(x_))return!1;var e0e=baseGetTag(x_);return e0e==errorTag$1||e0e==domExcTag||typeof x_.message=="string"&&typeof x_.name=="string"&&!isPlainObject$2(x_)}var isError_1=isError$2,apply=_apply,baseRest$8=_baseRest,isError$1=isError_1,attempt$1=baseRest$8(function(x_,e0e){try{return apply(x_,void 0,e0e)}catch($P){return isError$1($P)?$P:new Error($P)}}),attempt_1=attempt$1,arrayMap$a=_arrayMap;function baseValues$2(x_,e0e){return arrayMap$a(e0e,function($P){return x_[$P]})}var _baseValues=baseValues$2,eq$1=eq_1,objectProto$5=Object.prototype,hasOwnProperty$6=objectProto$5.hasOwnProperty;function customDefaultsAssignIn$1(x_,e0e,$P,t0e){return x_===void 0||eq$1(x_,objectProto$5[$P])&&!hasOwnProperty$6.call(t0e,$P)?e0e:x_}var _customDefaultsAssignIn=customDefaultsAssignIn$1,stringEscapes={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function escapeStringChar$1(x_){return"\\"+stringEscapes[x_]}var _escapeStringChar=escapeStringChar$1,reInterpolate$2=/<%=([\s\S]+?)%>/g,_reInterpolate=reInterpolate$2,reEscape$1=/<%-([\s\S]+?)%>/g,_reEscape=reEscape$1,reEvaluate$1=/<%([\s\S]+?)%>/g,_reEvaluate=reEvaluate$1,escape$1=_escape,reEscape=_reEscape,reEvaluate=_reEvaluate,reInterpolate$1=_reInterpolate,templateSettings$1={escape:reEscape,evaluate:reEvaluate,interpolate:reInterpolate$1,variable:"",imports:{_:{escape:escape$1}}},templateSettings_1=templateSettings$1,assignInWith=assignInWith_1,attempt=attempt_1,baseValues$1=_baseValues,customDefaultsAssignIn=_customDefaultsAssignIn,escapeStringChar=_escapeStringChar,isError=isError_1,isIterateeCall$3=_isIterateeCall,keys$6=keys_1,reInterpolate=_reInterpolate,templateSettings=templateSettings_1,toString$4=toString_1,INVALID_TEMPL_VAR_ERROR_TEXT="Invalid `variable` option passed into `_.template`",reEmptyStringLeading=/\b__p \+= '';/g,reEmptyStringMiddle=/\b(__p \+=) '' \+/g,reEmptyStringTrailing=/(__e\(.*?\)|\b__t\)) \+\n'';/g,reForbiddenIdentifierChars=/[()=,{}\[\]\/\s]/,reEsTemplate=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,reNoMatch=/($^)/,reUnescapedString=/['\n\r\u2028\u2029\\]/g,objectProto$4=Object.prototype,hasOwnProperty$5=objectProto$4.hasOwnProperty;function template(x_,e0e,$P){var t0e=templateSettings.imports._.templateSettings||templateSettings;$P&&isIterateeCall$3(x_,e0e,$P)&&(e0e=void 0),x_=toString$4(x_),e0e=assignInWith({},e0e,t0e,customDefaultsAssignIn);var r0e=assignInWith({},e0e.imports,t0e.imports,customDefaultsAssignIn),n0e=keys$6(r0e),a0e=baseValues$1(r0e,n0e),o0e,i0e,s0e=0,l0e=e0e.interpolate||reNoMatch,c0e="__p += '",u0e=RegExp((e0e.escape||reNoMatch).source+"|"+l0e.source+"|"+(l0e===reInterpolate?reEsTemplate:reNoMatch).source+"|"+(e0e.evaluate||reNoMatch).source+"|$","g"),d0e=hasOwnProperty$5.call(e0e,"sourceURL")?"//# sourceURL="+(e0e.sourceURL+"").replace(/\s/g," ")+` `:"";x_.replace(u0e,function(h0e,b0e,m0e,v0e,g0e,y0e){return m0e||(m0e=v0e),c0e+=x_.slice(s0e,y0e).replace(reUnescapedString,escapeStringChar),b0e&&(o0e=!0,c0e+=`' + __e(`+b0e+`) + '`),g0e&&(i0e=!0,c0e+=`'; @@ -445,7 +445,7 @@ function print() { __p += __j.call(arguments, '') } See https://github.com/jayphelps/core-decorators.js/issues/20`));mapStore||(mapStore=new WeakMap),mapStore.has(x_)||mapStore.set(x_,new WeakMap);var $P=mapStore.get(x_);return $P.has(e0e)||$P.set(e0e,bind(e0e,x_)),$P.get(e0e)}function createDefaultSetter(x_){return function($P){return defineProperty$1(this,x_,{configurable:!0,writable:!0,enumerable:!0,value:$P}),$P}}function autobindMethod(x_,e0e,$P){var t0e=$P.value,r0e=$P.configurable,n0e=$P.enumerable;if(typeof t0e!="function")throw new SyntaxError("@autobind can only be used on functions, not: ".concat(t0e));var a0e=x_.constructor;return{configurable:r0e,enumerable:n0e,get:function(){if(this===x_||this.constructor!==a0e&&getPrototypeOf$1(this).constructor===a0e)return t0e;if(this.constructor!==a0e&&e0e in this.constructor.prototype)return getBoundSuper(this,t0e);var o0e=bind(t0e,this);return defineProperty$1(this,e0e,{configurable:!0,writable:!0,enumerable:!1,value:o0e}),o0e},set:createDefaultSetter(e0e)}}function isPureVariable(x_){if(typeof x_=="string")try{var e0e=memoryParse(x_);return e0e.body.length===1&&e0e.body[0].type==="script"}catch{return!1}return!1}var resolveVariableAndFilter=function(x_,e0e,$P,t0e){if(e0e===void 0&&(e0e={}),$P===void 0&&($P="| html"),t0e===void 0&&(t0e=function(a0e){return a0e}),!(!x_||typeof x_!="string"))try{var r0e=parse$1(x_,{evalMode:!1,allowFilter:!0}),n0e=new Evaluator(e0e,{defaultFilter:$P}).evalute(r0e);return n0e==null&&!~x_.indexOf("default")&&!~x_.indexOf("now")?t0e(n0e):n0e}catch(a0e){console.warn(a0e);return}};function traverseAst(x_,e0e){!x_||!x_.type||(e0e(x_),Object.keys(x_).forEach(function($P){var t0e=x_[$P];Array.isArray(t0e)?t0e.forEach(function(r0e){return traverseAst(r0e,e0e)}):traverseAst(t0e,e0e)}))}var COLLECT_EXPRESSION_CACHE={};function collectVariables(x_,e0e){var $P=[];if(typeof x_=="string"&&COLLECT_EXPRESSION_CACHE[x_])return COLLECT_EXPRESSION_CACHE[x_];var t0e=typeof x_=="string"?memoryParse(x_,{evalMode:e0e??!1}):x_;return traverseAst(t0e,function(r0e){r0e.type==="variable"&&$P.push(r0e.name)}),typeof x_=="string"&&(COLLECT_EXPRESSION_CACHE[x_]=$P),$P}var FORMULA_EVAL_CACHE={},FormulaExec={tpl:function(x_,e0e){var $P=e0e||{};return filter$1(x_,$P)},formula:function(x_,e0e){if(/^\$\{([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((.[a-zA-Z0-9_-]{2,3}){1,2})\}$/.test(x_))return x_.substring(2,x_.length-1);var $P=e0e||{},t0e=void 0;try{t0e=resolveVariableAndFilter(x_,$P,"| raw")}catch{return console.warn("[formula]表达式执行异常,当前表达式: ",x_,",当前上下文数据: ",e0e),x_}return t0e},evalFormula:function(x_,e0e){var $P=e0e||{},t0e=void 0;try{t0e=evaluate(x_,$P,{evalMode:!0,allowFilter:!1})}catch{return console.warn("[evalFormula]表达式执行异常,当前表达式: ",x_,",当前上下文数据: ",e0e),x_}return t0e??x_},js:function(x_,e0e){var $P=!1,t0e=x_.indexOf("debugger");~t0e&&($P=!0,x_=x_.replace(/debugger;?/,""));var r0e;x_ in FORMULA_EVAL_CACHE?r0e=FORMULA_EVAL_CACHE[x_]:(r0e=new Function("data","utils","with(data) {".concat($P?"debugger;":"","return (").concat(x_,");}")),FORMULA_EVAL_CACHE[x_]=r0e),e0e=e0e||{};var n0e=void 0;try{n0e=r0e.call(e0e,e0e,getFilters())}catch{return console.warn("[formula:js]表达式执行异常,当前表达式: ",x_,",当前上下文数据: ",e0e),x_}return n0e},var:function(x_,e0e){var $P=e0e||{},t0e=getVariable($P,x_);return t0e??x_},collect:function(x_){var e0e=[];return isObject$o(x_)||isString$6(x_)?e0e=collectVariables(x_):e0e=[],e0e}};function isExpression(x_){return!x_||!isString$6(x_)?!1:/(^|[^\\])\$\{.+\}/.test(x_)}function isNeedFormula(x_,e0e,$P){try{var t0e=FormulaExec.collect(x_);return t0e.some(function(r0e){return FormulaExec.var(r0e,e0e)!==FormulaExec.var(r0e,$P)})}catch{return console.warn("[isNeedFormula]表达式执行异常,当前表达式: ",x_,",当前上下文数据: ",$P),!1}}function replaceExpression(x_){return x_&&isString$6(x_)&&/(\\)(\${).+(\})/.test(x_)?x_.replace(/\\\$\{/g,"${"):x_}function preventDefault(x_){(typeof x_.cancelable!="boolean"||x_.cancelable)&&x_.preventDefault()}function isMobile$2(){var x_,e0e;return(e0e=(x_=window).matchMedia)===null||e0e===void 0?void 0:e0e.call(x_,"(max-width: 768px)").matches}function range$2(x_,e0e,$P){return Math.min(Math.max(x_,e0e),$P)}function injectPropsToObject(x_,e0e){var $P=Object.create(x_.__super||null);Object.keys(e0e).forEach(function(r0e){return $P[r0e]=e0e[r0e]});var t0e=Object.create($P);return Object.keys(x_).forEach(function(r0e){return t0e[r0e]=x_[r0e]}),t0e}function isSuperDataModified(x_,e0e,$P){var t0e;return $P&&$P.storeType==="FormStore"?t0e=uniq$1($P.items.map(function(r0e){return"".concat(r0e.name).replace(/\..*$/,"")}).concat(Object.keys($P.data))):t0e=Object.keys($P.data),Array.isArray(t0e)&&t0e.length?t0e.some(function(r0e){return x_[r0e]!==e0e[r0e]}):!1}function syncDataFromSuper(x_,e0e,$P,t0e,r0e){var n0e=__assign$3({},x_),a0e=[];return t0e&&t0e.storeType==="FormStore"?a0e=uniq$1(t0e.items.map(function(o0e){return"".concat(o0e.name).replace(/\..*$/,"")}).concat(Object.keys(n0e))):r0e&&(a0e=Object.keys(n0e)),(e0e||$P)&&a0e.forEach(function(o0e){o0e&&(e0e&&typeof e0e[o0e]<"u"||$P&&typeof $P[o0e]<"u")&&($P&&!e0e||!$P&&e0e||$P[o0e]!==e0e[o0e])&&(n0e[o0e]=e0e[o0e])}),n0e}function guid(){function x_(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return x_()+x_()+x_()}function findIndex$3(x_,e0e){for(var $P=0,t0e=x_.length;$P=0;o0e--){var i0e=n0e[o0e];if(isObjectShallowModified(x_[i0e],e0e[i0e],$P,t0e,r0e))return!0}return!1}function isArrayChildrenModified(x_,e0e,$P){if($P===void 0&&($P=!0),!Array.isArray(x_)||!Array.isArray(e0e))return $P?x_!==e0e:x_!=e0e;if(x_.length!==e0e.length)return!0;for(var t0e=x_.length-1;t0e>=0;t0e--)if($P?x_[t0e]!==e0e[t0e]:x_[t0e]!=e0e[t0e]||isArrayChildrenModified(x_[t0e].children,e0e[t0e].children,$P))return!0;return!1}function immutableExtends(x_,e0e,$P){if(!isObject$5(x_)||!isObject$5(e0e))return x_;var t0e=x_;return Object.keys(e0e).forEach(function(r0e){var n0e=x_[r0e],a0e=e0e[r0e];n0e!==a0e&&(t0e=t0e!==x_?t0e:__assign$3({},x_),t0e[r0e]=a0e)}),t0e}function hasVisibleExpression(x_){return!!(x_.visibleOn||x_.hiddenOn)}function isVisible(x_,e0e){return!(x_.hidden||x_.visible===!1||x_.hiddenOn&&evalExpression(x_.hiddenOn,e0e)||x_.visibleOn&&!evalExpression(x_.visibleOn,e0e))}function isUnfolded(x_,e0e){var $P=e0e.foldedField,t0e=e0e.unfoldedField;return t0e||(t0e="unfolded"),$P||($P="folded"),t0e&&typeof x_[t0e]<"u"?!!x_[t0e]:$P&&typeof x_[$P]<"u"?!x_[$P]:!1}function visibilityFilter(x_,e0e){return x_.filter(function($P){return isVisible($P,e0e)})}function isDisabled(x_,e0e){return x_.disabled||x_.disabledOn&&evalExpression(x_.disabledOn,e0e)}function hasAbility(x_,e0e,$P,t0e){return t0e===void 0&&(t0e=!0),x_.hasOwnProperty(e0e)?x_[e0e]:x_.hasOwnProperty("".concat(e0e,"On"))?evalExpression(x_["".concat(e0e,"On")],$P||x_):t0e}function makeHorizontalDeeper(x_,e0e){if(e0e>1&&/\bcol-(xs|sm|md|lg)-(\d+)\b/.test(x_.left)){var $P=parseInt(RegExp.$2,10)*e0e;return{leftFixed:x_.leftFixed,left:$P,right:12-$P,offset:$P}}else if(e0e>1&&typeof x_.left=="number"){var $P=x_.left*e0e;return{leftFixed:x_.leftFixed,left:$P,right:12-$P,offset:$P}}return x_}function promisify(x_){if(x_._promisified)return x_;var e0e=function(){try{var $P=x_.apply(null,arguments);return $P&&$P.then?$P:typeof $P=="function"?new Promise(function(t0e,r0e){return $P(function(n0e,a0e){return n0e?r0e(n0e):t0e(a0e)})}):Promise.resolve($P)}catch(t0e){return Promise.reject(t0e)}};return e0e.raw=x_,e0e._promisified=!0,e0e}function getScrollParent(x_,e0e){if(e0e===void 0&&(e0e=function(){return!0}),x_==null)return null;var $P=getComputedStyle(x_);if(!$P)return null;var t0e=$P.getPropertyValue("overflow")+$P.getPropertyValue("overflow-x")+$P.getPropertyValue("overflow-y");return x_.nodeName==="BODY"||/auto|scroll/.test(t0e)&&e0e(x_)?x_:getScrollParent(x_.parentNode,e0e)}function difference$2(x_,e0e,$P){function t0e(r0e,n0e){if(isObject$5(r0e)&&isObject$5(n0e)){var a0e=uniq$1(Object.keys(r0e).concat(Object.keys(n0e))),o0e={};return a0e.forEach(function(i0e){var s0e=r0e[i0e],l0e=n0e[i0e];$P&&~$P.indexOf(i0e)&&(o0e[i0e]=s0e),!isEqual$2(s0e,l0e)&&(r0e.hasOwnProperty(i0e)?Array.isArray(s0e)&&Array.isArray(l0e)?o0e[i0e]=s0e:o0e[i0e]=t0e(s0e,l0e):o0e[i0e]=void 0)}),o0e}return r0e}return t0e(x_,e0e)}var padArr=function(x_,e0e,$P){e0e===void 0&&(e0e=4),$P===void 0&&($P=!1);for(var t0e=[[]],r0e=x_.concat(),n0e=0;r0e.length||$P&&t0e[t0e.length-1].length=e0e){n0e+=1;continue}a0e.push(r0e.shift())}return t0e};function isBreakpoint(x_){if(typeof x_!="string")return!!x_;var e0e=x_.split(/\s*,\s*|\s+/);if(window.matchMedia)return e0e.some(function(t0e){return t0e==="*"||t0e==="xs"&&matchMedia("screen and (max-width: 767px)").matches||t0e==="sm"&&matchMedia("screen and (min-width: 768px) and (max-width: 991px)").matches||t0e==="md"&&matchMedia("screen and (min-width: 992px) and (max-width: 1199px)").matches||t0e==="lg"&&matchMedia("screen and (min-width: 1200px)").matches});var $P=window.innerWidth;return e0e.some(function(t0e){return t0e==="*"||t0e==="xs"&&$P<768||t0e==="sm"&&$P>=768&&$P<992||t0e==="md"&&$P>=992&&$P<1200||t0e==="lg"&&$P>=1200})}function until(x_,e0e,$P,t0e){var r0e=this;t0e===void 0&&(t0e=5e3);var n0e,a0e=!1;return new Promise(function(o0e,i0e){var s0e=function(){clearTimeout(n0e),a0e=!0},l0e=function(){return __awaiter(r0e,void 0,void 0,function(){var c0e,u0e;return __generator(this,function(d0e){switch(d0e.label){case 0:return d0e.trys.push([0,2,,3]),[4,x_()];case 1:return c0e=d0e.sent(),a0e?[2]:(e0e(c0e)?(a0e=!0,o0e(c0e)):n0e=setTimeout(l0e,t0e),[3,3]);case 2:return u0e=d0e.sent(),i0e(u0e),[3,3];case 3:return[2]}})})};l0e(),$P&&$P(s0e)})}function isEmpty$1(x_){return!(isObject$5(x_)&&Object.keys(x_).length)}var uuid$1=function(){return(+new Date).toString(36)},createStr=function(){return("00000000000000000"+(Math.random()*18446744073709552e3).toString(16)).slice(-16)},uuidv4=function(){var x_=createStr(),e0e=createStr();return x_.slice(0,8)+"-"+x_.slice(8,12)+"-4"+x_.slice(13)+"-a"+e0e.slice(1,4)+"-"+e0e.slice(4)};function mapTree(x_,e0e,$P,t0e,r0e,n0e){return $P===void 0&&($P=1),t0e===void 0&&(t0e=!1),r0e===void 0&&(r0e=[]),n0e===void 0&&(n0e=[]),x_.map(function(a0e,o0e){if(t0e){var i0e=a0e.children?mapTree(a0e.children,e0e,$P+1,t0e,r0e.concat(a0e),n0e.concat(o0e)):void 0;return i0e&&(a0e=__assign$3(__assign$3({},a0e),{children:i0e})),a0e=e0e(a0e,o0e,$P,r0e,n0e.concat(o0e))||__assign$3({},a0e),a0e}return a0e=e0e(a0e,o0e,$P,r0e,n0e.concat(o0e))||__assign$3({},a0e),a0e.children&&a0e.children.splice&&(a0e.children=mapTree(a0e.children,e0e,$P+1,t0e,r0e.concat(a0e),n0e.concat(o0e))),a0e})}function eachTree(x_,e0e,$P,t0e){var r0e;$P===void 0&&($P=1),t0e===void 0&&(t0e=[]);for(var n0e=x_.length,a0e=0;a0e0;s0e--){var l0e=i0e[s0e-1],c0e=i0e[s0e];t0e.unshift(l0e.children.indexOf(c0e))}};return findTree(x_,function(n0e,a0e,o0e,i0e){return e0e(n0e,a0e,o0e,i0e)?(r0e(n0e,a0e,o0e,i0e),!0):!1},$P?__assign$3(__assign$3({},$P),{foundEffect:r0e}):void 0),t0e.length?t0e:void 0}function getTree(x_,e0e){for(var $P=Array.isArray(e0e)?e0e.concat():[e0e],t0e=$P.pop(),r0e=x_,n0e=0,a0e=$P.length;n0e0;){var o0e=a0e.pop(),i0e=o0e.item,s0e=o0e.index,l0e=o0e.level,c0e=o0e.paths,u0e=o0e.indexes;if(s0e>=0){var d0e=e0e(i0e,s0e,l0e,c0e,u0e);if(d0e&&(!((n0e=i0e.children)===null||n0e===void 0)&&n0e.splice))for(var p0e=i0e.children,f0e=p0e.length-1;f0e>=0;f0e--)a0e.push({item:p0e[f0e],index:f0e,level:l0e+1,paths:c0e.concat(i0e),indexes:u0e.concat(s0e)});else if(!d0e)return!1}else{if(!Array.isArray(x_)&&!isObservableArray(x_))return!1;for(var f0e=x_.length-1;f0e>=0;f0e--)a0e.push({item:x_[f0e],index:f0e,level:1,paths:[],indexes:[]})}}return!0}function someTree(x_,e0e){var $P=!1;return everyTree(x_,function(t0e,r0e,n0e,a0e){return e0e(t0e,r0e,n0e,a0e)?($P=!0,!1):!0}),$P}function flattenTree(x_,e0e){var $P=[];return eachTree(x_,function(t0e,r0e,n0e,a0e){return $P.push(e0e?e0e(t0e,r0e,n0e,a0e):t0e)}),$P}function flattenTreeWithLeafNodes(x_,e0e){var $P=[];return eachTree(x_,function(t0e,r0e){t0e.hasOwnProperty("children")||$P.push(e0e?e0e(t0e,r0e):t0e)}),$P}function spliceTree(x_,e0e,$P){$P===void 0&&($P=0);for(var t0e=[],r0e=3;r0e]+(>|$)/g,""):x_}function normalizeNodePath(x_,e0e,$P,t0e,r0e,n0e){var a0e;$P===void 0&&($P="label"),t0e===void 0&&(t0e="value"),r0e===void 0&&(r0e="/"),n0e===void 0&&(n0e=",");var o0e=[],i0e=[],s0e=function(l0e){return last$6(l0e?l0e.toString().split(r0e):[])};return typeof x_>"u"||!e0e?{nodeValueArray:o0e,nodePathArray:i0e}:(Array.isArray(x_)?x_.forEach(function(l0e){var c0e;l0e&&l0e.hasOwnProperty(t0e)?(o0e.push(__assign$3(__assign$3({},l0e),(c0e={},c0e[$P]=s0e(l0e[$P]),c0e[t0e]=s0e(l0e[t0e]),c0e))),i0e.push(l0e[t0e])):(o0e.push(s0e(l0e)),i0e.push(l0e))}):typeof x_=="string"?x_.toString().split(n0e).forEach(function(l0e){o0e.push(s0e(l0e)),i0e.push(l0e)}):(o0e.push(__assign$3(__assign$3({},x_),(a0e={},a0e[$P]=s0e(x_[$P]),a0e[t0e||"value"]=s0e(x_[t0e]),a0e))),i0e.push(x_[t0e])),{nodeValueArray:o0e,nodePathArray:i0e})}function isClickOnInput(x_){var e0e=x_.target,$P;return!!(!x_.currentTarget.contains(e0e)||~["INPUT","TEXTAREA"].indexOf(e0e.tagName)||($P=e0e.closest('button, a, [data-role="form-item"], label[data-role="checkbox"]'))&&x_.currentTarget.contains($P))}function hashCode(x_){return x_.split("").reduce(function(e0e,$P){return e0e=(e0e<<5)-e0e+$P.charCodeAt(0),e0e&e0e},0)}function JSONTraverse(x_,e0e,$P){$P===void 0&&($P=Number.MAX_VALUE),!($P<=0)&&Object.keys(x_).forEach(function(t0e){var r0e=x_[t0e];isObservable(r0e)||(isPlainObject$8(r0e)||Array.isArray(r0e)?JSONTraverse(r0e,e0e,$P-1):e0e(r0e,t0e,x_))})}function JSONValueMap(x_,e0e,$P,t0e){if($P===void 0&&($P=!1),t0e===void 0&&(t0e=[]),!isPlainObject$8(x_)&&!Array.isArray(x_))return x_;var r0e=function(s0e,l0e,c0e,u0e){var d0e,p0e;if(u0e===void 0&&(u0e=[]),$P){var f0e=JSONValueMap(s0e,e0e,$P,u0e);return(d0e=e0e(f0e,l0e,c0e,u0e))!==null&&d0e!==void 0?d0e:f0e}var h0e=(p0e=e0e(s0e,l0e,c0e,u0e))!==null&&p0e!==void 0?p0e:s0e;return h0e===s0e?JSONValueMap(s0e,e0e,$P,u0e):h0e};if(Array.isArray(x_)){var n0e=!1,a0e=x_.map(function(s0e,l0e){var c0e=r0e(s0e,l0e,x_,[x_].concat(t0e));return n0e=n0e||c0e!==s0e,c0e});return n0e?a0e:x_}var o0e=!1,i0e={};return Object.keys(x_).forEach(function(s0e){var l0e=x_[s0e],c0e=r0e(l0e,s0e,x_,[x_].concat(t0e));c0e!==l0e&&(o0e=!0,i0e[s0e]=c0e)}),o0e?__assign$3(__assign$3({},x_),i0e):x_}function convertArrayValueToMoment(x_,e0e,$P){if(x_.length===0)return $P;for(var t0e=0;t0e".concat($P,"<\/script>")):$P.includes("$")&&e0e.push($P))},10),e0e.join("|")}function evalTrackExpression(x_,e0e){if(typeof x_!="string")return"";for(var $P=[];;){var t0e=x_.indexOf("